@inploi/plugin-job-search 0.6.0 → 0.7.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 +978 -6
- package/cdn/style.css +1 -0
- package/dist/job-search.d.ts +3 -1
- package/dist/plugin-job-alerts-6f9c4ee3.js +6084 -0
- package/dist/plugin-job-alerts-e872a753.cjs +6084 -0
- package/dist/plugin-job-search.cjs +79 -23
- package/dist/plugin-job-search.js +79 -23
- package/dist/style.css +1538 -0
- package/package.json +2 -1
package/cdn/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Fi=Object.defineProperty;var Ui=(F,U,ge)=>U in F?Fi(F,U,{enumerable:!0,configurable:!0,writable:!0,value:ge}):F[U]=ge;var ur=(F,U,ge)=>(Ui(F,typeof U!="symbol"?U+"":U,ge),ge);(function(){"use strict";var F=e=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(e)}`)};function U(e,t){if(!e)throw new Error(t)}function ge(e,t){return e in t}var wo=e=>e,Me,w,dr,ve,fr,pr,mt,_r,Ie={},hr=[],mo=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Xe=Array.isArray;function J(e,t){for(var r in t)e[r]=t[r];return e}function gr(e){var t=e.parentNode;t&&t.removeChild(e)}function V(e,t,r){var n,o,a,i={};for(a in t)a=="key"?n=t[a]:a=="ref"?o=t[a]:i[a]=t[a];if(arguments.length>2&&(i.children=arguments.length>3?Me.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(a in e.defaultProps)i[a]===void 0&&(i[a]=e.defaultProps[a]);return He(e,i,n,o,null)}function He(e,t,r,n,o){var a={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++dr,__i:-1,__u:0};return o==null&&w.vnode!=null&&w.vnode(a),a}function vr(){return{current:null}}function R(e){return e.children}function W(e,t){this.props=e,this.context=t}function Ce(e,t){if(t==null)return e.__?Ce(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?Ce(e):null}function wr(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return wr(e)}}function yt(e){(!e.__d&&(e.__d=!0)&&ve.push(e)&&!Qe.__r++||fr!==w.debounceRendering)&&((fr=w.debounceRendering)||pr)(Qe)}function Qe(){var e,t,r,n,o,a,i,l,d;for(ve.sort(mt);e=ve.shift();)e.__d&&(t=ve.length,n=void 0,a=(o=(r=e).__v).__e,l=[],d=[],(i=r.__P)&&((n=J({},o)).__v=o.__v+1,w.vnode&&w.vnode(n),bt(i,n,o,r.__n,i.ownerSVGElement!==void 0,32&o.__u?[a]:null,l,a??Ce(o),!!(32&o.__u),d),n.__.__k[n.__i]=n,jr(l,n,d),n.__e!=a&&wr(n)),ve.length>t&&ve.sort(mt));Qe.__r=0}function mr(e,t,r,n,o,a,i,l,d,u,f){var s,p,_,v,g,m=n&&n.__k||hr,h=t.length;for(r.__d=d,yo(r,t,m),d=r.__d,s=0;s<h;s++)(_=r.__k[s])!=null&&typeof _!="boolean"&&typeof _!="function"&&(p=_.__i===-1?Ie:m[_.__i]||Ie,_.__i=s,bt(e,_,p,o,a,i,l,d,u,f),v=_.__e,_.ref&&p.ref!=_.ref&&(p.ref&&xt(p.ref,null,_),f.push(_.ref,_.__c||v,_)),g==null&&v!=null&&(g=v),65536&_.__u||p.__k===_.__k?d=yr(_,d,e):typeof _.type=="function"&&_.__d!==void 0?d=_.__d:v&&(d=v.nextSibling),_.__d=void 0,_.__u&=-196609);r.__d=d,r.__e=g}function yo(e,t,r){var n,o,a,i,l,d=t.length,u=r.length,f=u,s=0;for(e.__k=[],n=0;n<d;n++)(o=e.__k[n]=(o=t[n])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?He(null,o,null,null,o):Xe(o)?He(R,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?He(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,l=bo(o,r,i=n+s,f),o.__i=l,a=null,l!==-1&&(f--,(a=r[l])&&(a.__u|=131072)),a==null||a.__v===null?(l==-1&&s--,typeof o.type!="function"&&(o.__u|=65536)):l!==i&&(l===i+1?s++:l>i?f>d-i?s+=l-i:s--:s=l<i&&l==i-1?l-i:0,l!==n+s&&(o.__u|=65536))):(a=r[n])&&a.key==null&&a.__e&&(a.__e==e.__d&&(e.__d=Ce(a)),kt(a,a,!1),r[n]=null,f--);if(f)for(n=0;n<u;n++)(a=r[n])!=null&&!(131072&a.__u)&&(a.__e==e.__d&&(e.__d=Ce(a)),kt(a,a))}function yr(e,t,r){var n,o;if(typeof e.type=="function"){for(n=e.__k,o=0;n&&o<n.length;o++)n[o]&&(n[o].__=e,t=yr(n[o],t,r));return t}return e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function X(e,t){return t=t||[],e==null||typeof e=="boolean"||(Xe(e)?e.some(function(r){X(r,t)}):t.push(e)),t}function bo(e,t,r,n){var o=e.key,a=e.type,i=r-1,l=r+1,d=t[r];if(d===null||d&&o==d.key&&a===d.type)return r;if(n>(d!=null&&!(131072&d.__u)?1:0))for(;i>=0||l<t.length;){if(i>=0){if((d=t[i])&&!(131072&d.__u)&&o==d.key&&a===d.type)return i;i--}if(l<t.length){if((d=t[l])&&!(131072&d.__u)&&o==d.key&&a===d.type)return l;l++}}return-1}function br(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||mo.test(t)?r:r+"px"}function et(e,t,r,n,o){var a;e:if(t==="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||br(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||br(e.style,t,r[t])}else if(t[0]==="o"&&t[1]==="n")a=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=r,r?n?r.u=n.u:(r.u=Date.now(),e.addEventListener(t,a?kr:xr,a)):e.removeEventListener(t,a?kr:xr,a);else{if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="width"&&t!=="height"&&t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t!=="rowSpan"&&t!=="colSpan"&&t!=="role"&&t in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,r))}}function xr(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(w.event?w.event(e):e)}function kr(e){return this.l[e.type+!0](w.event?w.event(e):e)}function bt(e,t,r,n,o,a,i,l,d,u){var f,s,p,_,v,g,m,h,E,y,k,S,j,C,b,x=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(d=!!(32&r.__u),a=[l=t.__e=r.__e]),(f=w.__b)&&f(t);e:if(typeof x=="function")try{if(h=t.props,E=(f=x.contextType)&&n[f.__c],y=f?E?E.props.value:f.__:n,r.__c?m=(s=t.__c=r.__c).__=s.__E:("prototype"in x&&x.prototype.render?t.__c=s=new x(h,y):(t.__c=s=new W(h,y),s.constructor=x,s.render=ko),E&&E.sub(s),s.props=h,s.state||(s.state={}),s.context=y,s.__n=n,p=s.__d=!0,s.__h=[],s._sb=[]),s.__s==null&&(s.__s=s.state),x.getDerivedStateFromProps!=null&&(s.__s==s.state&&(s.__s=J({},s.__s)),J(s.__s,x.getDerivedStateFromProps(h,s.__s))),_=s.props,v=s.state,s.__v=t,p)x.getDerivedStateFromProps==null&&s.componentWillMount!=null&&s.componentWillMount(),s.componentDidMount!=null&&s.__h.push(s.componentDidMount);else{if(x.getDerivedStateFromProps==null&&h!==_&&s.componentWillReceiveProps!=null&&s.componentWillReceiveProps(h,y),!s.__e&&(s.shouldComponentUpdate!=null&&s.shouldComponentUpdate(h,s.__s,y)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(s.props=h,s.state=s.__s,s.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(A){A&&(A.__=t)}),k=0;k<s._sb.length;k++)s.__h.push(s._sb[k]);s._sb=[],s.__h.length&&i.push(s);break e}s.componentWillUpdate!=null&&s.componentWillUpdate(h,s.__s,y),s.componentDidUpdate!=null&&s.__h.push(function(){s.componentDidUpdate(_,v,g)})}if(s.context=y,s.props=h,s.__P=e,s.__e=!1,S=w.__r,j=0,"prototype"in x&&x.prototype.render){for(s.state=s.__s,s.__d=!1,S&&S(t),f=s.render(s.props,s.state,s.context),C=0;C<s._sb.length;C++)s.__h.push(s._sb[C]);s._sb=[]}else do s.__d=!1,S&&S(t),f=s.render(s.props,s.state,s.context),s.state=s.__s;while(s.__d&&++j<25);s.state=s.__s,s.getChildContext!=null&&(n=J(J({},n),s.getChildContext())),p||s.getSnapshotBeforeUpdate==null||(g=s.getSnapshotBeforeUpdate(_,v)),mr(e,Xe(b=f!=null&&f.type===R&&f.key==null?f.props.children:f)?b:[b],t,r,n,o,a,i,l,d,u),s.base=t.__e,t.__u&=-161,s.__h.length&&i.push(s),m&&(s.__E=s.__=null)}catch(A){t.__v=null,d||a!=null?(t.__e=l,t.__u|=d?160:32,a[a.indexOf(l)]=null):(t.__e=r.__e,t.__k=r.__k),w.__e(A,t,r)}else a==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=xo(r.__e,t,r,n,o,a,i,d,u);(f=w.diffed)&&f(t)}function jr(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)xt(r[n],r[++n],r[++n]);w.__c&&w.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(a){a.call(o)})}catch(a){w.__e(a,o.__v)}})}function xo(e,t,r,n,o,a,i,l,d){var u,f,s,p,_,v,g,m=r.props,h=t.props,E=t.type;if(E==="svg"&&(o=!0),a!=null){for(u=0;u<a.length;u++)if((_=a[u])&&"setAttribute"in _==!!E&&(E?_.localName===E:_.nodeType===3)){e=_,a[u]=null;break}}if(e==null){if(E===null)return document.createTextNode(h);e=o?document.createElementNS("http://www.w3.org/2000/svg",E):document.createElement(E,h.is&&h),a=null,l=!1}if(E===null)m===h||l&&e.data===h||(e.data=h);else{if(a=a&&Me.call(e.childNodes),m=r.props||Ie,!l&&a!=null)for(m={},u=0;u<e.attributes.length;u++)m[(_=e.attributes[u]).name]=_.value;for(u in m)_=m[u],u=="children"||(u=="dangerouslySetInnerHTML"?s=_:u==="key"||u in h||et(e,u,null,_,o));for(u in h)_=h[u],u=="children"?p=_:u=="dangerouslySetInnerHTML"?f=_:u=="value"?v=_:u=="checked"?g=_:u==="key"||l&&typeof _!="function"||m[u]===_||et(e,u,_,m[u],o);if(f)l||s&&(f.__html===s.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(s&&(e.innerHTML=""),mr(e,Xe(p)?p:[p],t,r,n,o&&E!=="foreignObject",a,i,a?a[0]:r.__k&&Ce(r,0),l,d),a!=null)for(u=a.length;u--;)a[u]!=null&&gr(a[u]);l||(u="value",v!==void 0&&(v!==e[u]||E==="progress"&&!v||E==="option"&&v!==m[u])&&et(e,u,v,m[u],!1),u="checked",g!==void 0&&g!==e[u]&&et(e,u,g,m[u],!1))}return e}function xt(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){w.__e(n,r)}}function kt(e,t,r){var n,o;if(w.unmount&&w.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||xt(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(a){w.__e(a,t)}n.base=n.__P=null,e.__c=void 0}if(n=e.__k)for(o=0;o<n.length;o++)n[o]&&kt(n[o],t,r||typeof e.type!="function");r||e.__e==null||gr(e.__e),e.__=e.__e=e.__d=void 0}function ko(e,t,r){return this.constructor(e,r)}function Oe(e,t,r){var n,o,a,i;w.__&&w.__(e,t),o=(n=typeof r=="function")?null:r&&r.__k||t.__k,a=[],i=[],bt(t,e=(!n&&r||t).__k=V(R,null,[e]),o||Ie,Ie,t.ownerSVGElement!==void 0,!n&&r?[r]:o?null:t.firstChild?Me.call(t.childNodes):null,a,!n&&r?r:o?o.__e:t.firstChild,n,i),jr(a,e,i)}function jt(e,t){Oe(e,t,jt)}function jo(e,t,r){var n,o,a,i,l=J({},e.props);for(a in e.type&&e.type.defaultProps&&(i=e.type.defaultProps),t)a=="key"?n=t[a]:a=="ref"?o=t[a]:l[a]=t[a]===void 0&&i!==void 0?i[a]:t[a];return arguments.length>2&&(l.children=arguments.length>3?Me.call(arguments,2):r),He(e.type,l,n||e.key,o||e.ref,null)}function Et(e,t){var r={__c:t="__cC"+_r++,__:e,Consumer:function(n,o){return n.children(o)},Provider:function(n){var o,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(l){l.__e=!0,yt(l)})},this.sub=function(i){o.push(i);var l=i.componentWillUnmount;i.componentWillUnmount=function(){o.splice(o.indexOf(i),1),l&&l.call(i)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}Me=hr.slice,w={__e:function(e,t,r,n){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,n||{}),i=o.__d),i)return o.__E=o}catch(l){e=l}throw e}},dr=0,W.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=J({},this.state),typeof e=="function"&&(e=e(J({},r),this.props)),e&&J(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),yt(this))},W.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),yt(this))},W.prototype.render=R,ve=[],pr=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,mt=function(e,t){return e.__v.__b-t.__v.__b},Qe.__r=0,_r=0;var Er=/[\s\n\\/='"\0<>]/,Sr=/^(xlink|xmlns|xml)([A-Z])/,Eo=/^accessK|^auto[A-Z]|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|readO|rowS|spellC|src[A-Z]|tabI|item[A-Z]/,So=/^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/,Co=/["&<]/;function tt(e){if(e.length===0||Co.test(e)===!1)return e;for(var t=0,r=0,n="",o="";r<e.length;r++){switch(e.charCodeAt(r)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}r!==t&&(n+=e.slice(t,r)),n+=o,t=r+1}return r!==t&&(n+=e.slice(t,r)),n}var Cr={},Oo=new Set(["animation-iteration-count","border-image-outset","border-image-slice","border-image-width","box-flex","box-flex-group","box-ordinal-group","column-count","fill-opacity","flex","flex-grow","flex-negative","flex-order","flex-positive","flex-shrink","flood-opacity","font-weight","grid-column","grid-row","line-clamp","line-height","opacity","order","orphans","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","widows","z-index","zoom"]),Ro=/[A-Z]/g;function To(e){var t="";for(var r in e){var n=e[r];if(n!=null&&n!==""){var o=r[0]=="-"?r:Cr[r]||(Cr[r]=r.replace(Ro,"-$&").toLowerCase()),a=";";typeof n!="number"||o.startsWith("--")||Oo.has(o)||(a="px;"),t=t+o+":"+n+a}}return t||void 0}var St,we,Fe,me,Or=[],Rr=Array.isArray,Ct=Object.assign;function Ao(e,t){var r=w.__s;w.__s=!0,St=w.__b,we=w.diffed,Fe=w.__r,me=w.unmount;var n=V(R,null);n.__k=[e];try{return ye(e,t||Ar,!1,void 0,n)}finally{w.__c&&w.__c(e,Or),w.__s=r,Or.length=0}}function Tr(){this.__d=!0}var Ar={};function Dr(e,t){var r,n=e.type,o=!0;return e.__c?(o=!1,(r=e.__c).state=r.__s):r=new n(e.props,t),e.__c=r,r.__v=e,r.props=e.props,r.context=t,r.__d=!0,r.state==null&&(r.state=Ar),r.__s==null&&(r.__s=r.state),n.getDerivedStateFromProps?r.state=Ct({},r.state,n.getDerivedStateFromProps(r.props,r.state)):o&&r.componentWillMount?(r.componentWillMount(),r.state=r.__s!==r.state?r.__s:r.state):!o&&r.componentWillUpdate&&r.componentWillUpdate(),Fe&&Fe(e),r.render(r.props,r.state,t)}function ye(e,t,r,n,o){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":tt(e+"");if(Rr(e)){var a="";o.__k=e;for(var i=0;i<e.length;i++){var l=e[i];l!=null&&typeof l!="boolean"&&(a+=ye(l,t,r,n,o))}return a}if(e.constructor!==void 0)return"";e.__=o,St&&St(e);var d,u,f,s=e.type,p=e.props,_=t;if(typeof s=="function"){if(s===R){if(p.tpl){for(var v="",g=0;g<p.tpl.length;g++)if(v+=p.tpl[g],p.exprs&&g<p.exprs.length){var m=p.exprs[g];if(m==null)continue;typeof m!="object"||m.constructor!==void 0&&!Rr(m)?v+=m:v+=ye(m,t,r,n,e)}return v}if(p.UNSTABLE_comment)return"<!--"+tt(p.UNSTABLE_comment||"")+"-->";u=p.children}else{if((d=s.contextType)!=null){var h=t[d.__c];_=h?h.props.value:d.__}if(s.prototype&&typeof s.prototype.render=="function")u=Dr(e,_),f=e.__c;else{e.__c=f={__v:e,props:p,context:_,setState:Tr,forceUpdate:Tr,__d:!0,__h:[]};for(var E=0;f.__d&&E++<25;)f.__d=!1,Fe&&Fe(e),u=s.call(f,p,_);f.__d=!0}if(f.getChildContext!=null&&(t=Ct({},t,f.getChildContext())),(s.getDerivedStateFromError||f.componentDidCatch)&&w.errorBoundaries){var y="";u=u!=null&&u.type===R&&u.key==null?u.props.children:u;try{return y=ye(u,t,r,n,e)}catch(A){return s.getDerivedStateFromError&&(f.__s=s.getDerivedStateFromError(A)),f.componentDidCatch&&f.componentDidCatch(A,{}),f.__d&&(u=Dr(e,t),(f=e.__c).getChildContext!=null&&(t=Ct({},t,f.getChildContext())),y=ye(u=u!=null&&u.type===R&&u.key==null?u.props.children:u,t,r,n,e)),y}finally{we&&we(e),e.__=void 0,me&&me(e)}}}var k=ye(u=u!=null&&u.type===R&&u.key==null?u.props.children:u,t,r,n,e);return we&&we(e),e.__=void 0,me&&me(e),k}var S,j="<"+s,C="";for(var b in p){var x=p[b];switch(b){case"children":S=x;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in p)continue;b="for";break;case"className":if("class"in p)continue;b="class";break;case"defaultChecked":b="checked";break;case"defaultSelected":b="selected";break;case"defaultValue":case"value":switch(b="value",s){case"textarea":S=x;continue;case"select":n=x;continue;case"option":n!=x||"selected"in p||(j+=" selected")}break;case"dangerouslySetInnerHTML":C=x&&x.__html;continue;case"style":typeof x=="object"&&(x=To(x));break;case"acceptCharset":b="accept-charset";break;case"httpEquiv":b="http-equiv";break;default:if(Sr.test(b))b=b.replace(Sr,"$1:$2").toLowerCase();else{if(Er.test(b))continue;b[4]!=="-"&&b!=="draggable"||x==null?r?So.test(b)&&(b=b==="panose1"?"panose-1":b.replace(/([A-Z])/g,"-$1").toLowerCase()):Eo.test(b)&&(b=b.toLowerCase()):x+=""}}x!=null&&x!==!1&&typeof x!="function"&&(j=x===!0||x===""?j+" "+b:j+" "+b+'="'+tt(x+"")+'"')}if(Er.test(s))throw new Error(s+" is not a valid HTML tag name in "+j+">");return C||(typeof S=="string"?C=tt(S):S!=null&&S!==!1&&S!==!0&&(C=ye(S,t,s==="svg"||s!=="foreignObject"&&r,n,e))),we&&we(e),e.__=void 0,me&&me(e),!C&&Do.has(s)?j+"/>":j+">"+C+"</"+s+">"}var Do=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),rt=class extends Error{constructor(t){super(t[0].message);ur(this,"issues");this.name="ValiError",this.issues=t}};function Lr(e,t){return{...e,_parse(r,n){return e._parse(t(r),n)}}}function Ue(e){return{issues:e}}function be(e){return{output:e}}function Lo(e,t){return{reason:e==null?void 0:e.reason,validation:t.validation,origin:(e==null?void 0:e.origin)||"value",message:t.message,input:t.input,path:t.path,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}}function $o(e,t){return{reason:t,origin:e==null?void 0:e.origin,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}}function se(e,t,r,n){if(!t||!t.length||r!=null&&r.skipPipe)return be(e);let o,a,i=e;for(const l of t){const d=l._parse(i);if(d.issues){o=o||$o(r,n);for(const u of d.issues){const f=Lo(o,u);a?a.push(f):a=[f]}if(o.abortEarly||o.abortPipeEarly)break}else i=d.output}return a?Ue(a):be(i)}function le(e,t){return Array.isArray(e)?[void 0,e]:[e,t]}function $r(e){return typeof e=="function"?e():e}function Po(e,t,r,n){return Ue([{validation:e,message:$r(t),input:r,requirement:n}])}function Vo(e,t,r){if(!e||typeof e=="object"&&!Array.isArray(e)){const[a,i]=le(t,r);return[e,a,i]}const[n,o]=le(e,t);return[void 0,n,o]}function ce(e,t,r,n,o,a){return{issues:[{reason:t,validation:r,origin:(e==null?void 0:e.origin)||"value",message:$r(n),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 Pr(e){return typeof e.default=="function"?e.default():e.default}function No(e){return{type:"any",async:!1,pipe:e,_parse(t,r){return se(t,this.pipe,r,"any")}}}function Vr(e,t,r){const[n="Invalid type",o]=le(t,r);return{type:"array",async:!1,item:e,message:n,pipe:o,_parse(a,i){if(!Array.isArray(a))return ce(i,"type","array",this.message,a);let l;const d=[];for(let u=0;u<a.length;u++){const f=a[u],s=this.item._parse(f,i);if(s.issues){const p={type:"array",input:a,key:u,value:f};for(const _ of s.issues)_.path?_.path.unshift(p):_.path=[p],l==null||l.push(_);if(l||(l=s.issues),i!=null&&i.abortEarly)break}else d.push(s.output)}return l?Ue(l):se(d,this.pipe,i,"array")}}}function Nr(e,t){const[r="Invalid type",n]=le(e,t);return{type:"boolean",async:!1,message:r,pipe:n,_parse(o,a){return typeof o!="boolean"?ce(a,"type","boolean",this.message,o):se(o,this.pipe,a,"boolean")}}}function ue(e,t="Invalid type"){return{type:"literal",async:!1,literal:e,message:t,_parse(r,n){return r!==this.literal?ce(n,"type","literal",this.message,r):be(r)}}}function Re(e,t){return{type:"nullable",async:!1,wrapped:e,default:t,_parse(r,n){if(r===null){const o=Pr(this);if(o===void 0)return be(r);r=o}return this.wrapped._parse(r,n)}}}function ze(e,t){const[r="Invalid type",n]=le(e,t);return{type:"number",async:!1,message:r,pipe:n,_parse(o,a){return typeof o!="number"||isNaN(o)?ce(a,"type","number",this.message,o):se(o,this.pipe,a,"number")}}}function nt(e,t,r,n){const[o,a="Invalid type",i]=Vo(t,r,n);let l;return{type:"object",async:!1,entries:e,rest:o,message:a,pipe:i,_parse(d,u){if(!d||typeof d!="object")return ce(u,"type","object",this.message,d);l=l||Object.entries(this.entries);let f;const s={};for(const[p,_]of l){const v=d[p],g=_._parse(v,u);if(g.issues){const m={type:"object",input:d,key:p,value:v};for(const h of g.issues)h.path?h.path.unshift(m):h.path=[m],f==null||f.push(h);if(f||(f=g.issues),u!=null&&u.abortEarly)break}else(g.output!==void 0||p in d)&&(s[p]=g.output)}if(this.rest&&!(u!=null&&u.abortEarly&&f)){for(const p in d)if(!(p in this.entries)){const _=d[p],v=this.rest._parse(_,u);if(v.issues){const g={type:"object",input:d,key:p,value:_};for(const m of v.issues)m.path?m.path.unshift(g):m.path=[g],f==null||f.push(m);if(f||(f=v.issues),u!=null&&u.abortEarly)break}else s[p]=v.output}}return f?Ue(f):se(s,this.pipe,u,"object")}}}function xe(e,t){return{type:"optional",async:!1,wrapped:e,default:t,_parse(r,n){if(r===void 0){const o=Pr(this);if(o===void 0)return be(r);r=o}return this.wrapped._parse(r,n)}}}function $(e,t){const[r="Invalid type",n]=le(e,t);return{type:"string",async:!1,message:r,pipe:n,_parse(o,a){return typeof o!="string"?ce(a,"type","string",this.message,o):se(o,this.pipe,a,"string")}}}function Mo(e,t,r,n){if(typeof t=="object"&&!Array.isArray(t)){const[i,l]=le(r,n);return[e,t,i,l]}const[o,a]=le(t,r);return[$(),e,o,a]}var Io=["__proto__","prototype","constructor"];function Mr(e,t,r,n){const[o,a,i="Invalid type",l]=Mo(e,t,r,n);return{type:"record",async:!1,key:o,value:a,message:i,pipe:l,_parse(d,u){if(!d||typeof d!="object")return ce(u,"type","record",this.message,d);let f;const s={};for(const[p,_]of Object.entries(d))if(!Io.includes(p)){let v;const g=this.key._parse(p,{origin:"key",abortEarly:u==null?void 0:u.abortEarly,abortPipeEarly:u==null?void 0:u.abortPipeEarly,skipPipe:u==null?void 0:u.skipPipe});if(g.issues){v={type:"record",input:d,key:p,value:_};for(const h of g.issues)h.path=[v],f==null||f.push(h);if(f||(f=g.issues),u!=null&&u.abortEarly)break}const m=this.value._parse(_,u);if(m.issues){v=v||{type:"record",input:d,key:p,value:_};for(const h of m.issues)h.path?h.path.unshift(v):h.path=[v],f==null||f.push(h);if(f||(f=m.issues),u!=null&&u.abortEarly)break}!g.issues&&!m.issues&&(s[g.output]=m.output)}return f?Ue(f):se(s,this.pipe,u,"record")}}}function Ir(e,t="Invalid type"){return{type:"union",async:!1,options:e,message:t,_parse(r,n){let o,a;for(const i of this.options){const l=i._parse(r,n);if(l.issues)if(o)for(const d of l.issues)o.push(d);else o=l.issues;else{a=[l.output];break}}return a?be(a[0]):ce(n,"type","union",this.message,r,o)}}}function Hr(e,t,r){const n=e._parse(t,r);if(n.issues)throw new rt(n.issues);return n.output}function Ho(e,t,r){const n=e._parse(t,r);return n.issues?{success:!1,error:new rt(n.issues),issues:n.issues}:{success:!0,data:n.output,output:n.output}}function Fr(e,t,r){return{...e,_parse(n,o){const a=e._parse(n,o);if(a.issues)return a;const i=t(a.output);return r&&!Array.isArray(r)?r._parse(i,o):se(i,r,o,typeof i)}}}function Fo(e="Invalid URL"){return{type:"url",async:!1,message:e,requirement(t){try{return new URL(t),!0}catch{return!1}},_parse(t){return this.requirement(t)?be(t):Po(this.type,this.message,t,this.requirement)}}}const Ur="inploi-job-search",zr="ijs",ot=10,at={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},Uo=e=>{const{salary:t,config:r}=e,n=new Intl.NumberFormat(r.locales,{style:"currency",currency:t.pay_currency,trailingZeroDisplay:"stripIfInteger"});if(t.pay_display!==!1)return t.pay_mask?"Competitive":t.pay_max&&isNaN(+t.pay_max)||t.pay_min&&isNaN(+t.pay_min)||t.pay&&isNaN(+t.pay)?"Invalid salary":t.pay?[n.format(+t.pay),at[t.pay_type]].join(" "):t.pay_max&&t.pay_min?[n.formatRange(+t.pay_min,+t.pay_max),at[t.pay_type]].join(" "):t.pay_max?"Up to "+[n.format(+t.pay_max),at[t.pay_type]].join(" "):t.pay_min?"From "+[n.format(+t.pay_min),at[t.pay_type]].join(" "):"Invalid salary"},zo=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),Wo=({from:e=new Date,to:t,formatter:r=zo})=>{const o=(t instanceof Date?t:new Date(t)).getTime()-e.getTime(),a={days:Math.round(o/1e3/60/60/24),months:Math.round(o/1e3/60/60/24/30)};return a.days===0?"today":Math.abs(a.days)<30?r.format(a.days,"days"):Math.abs(a.days)<3?r.format(a.months,"months"):a.months<0?"a long time ago":"in a long time"},Bo=1e3*60*60*24*7,Ko=Mr(Vr(nt({label:Lr($(),String),value:Lr($(),String)}))),qo=$([Fo()]),Yo=nt({total:ze(),current_page:ze(),per_page:ze(),last_page:ze()}),Zo=nt({id:ze(),company_name:$(),company_logo:xe($()),employment_type:$(),location_type:Ir([ue("LOCATION"),ue("REMOTE"),ue("HYBRID")]),pay_type:Ir([ue("ANNUALLY"),ue("HOURLY"),ue("MONTHLY"),ue("WEEKLY"),ue("DAILY")]),pay_currency:$(),pay_mask:Nr(),pay_display:Nr(),pay:Re($()),pay_min:Re($()),pay_max:Re($()),description:$(),title:$(),contract_type:Re($()),created_at:Re($()),custom_data:Re(Mr(No())),href:$(),industry:xe($()),category:xe($()),skills:xe($()),town:xe($()),city:xe($()),country:xe($())}),Go=Fr(Zo,e=>{const t=e.created_at?new Date(e.created_at).getTime()>Date.now()-Bo:!1,r=Ho(qo,e.company_logo);return{raw:e,id:e.id,isNew:t,company:{name:e.company_name,logo:r.success?r.output:void 0},employmentType:e.employment_type,locationType:e.location_type,pay:Uo({salary:e,config:{locales:void 0}}),description:e.description,title:e.title,contractType:e.contract_type,href:e.href,relativePostedDate:e.created_at?Wo({to:new Date(e.created_at)}):"INVALID DATE",customData:e.custom_data}}),Jo=Fr(nt({data:Vr(Go),pagination:Yo}),e=>({pagination:e.pagination,results:e.data})),Wr=e=>Object.fromEntries(Object.entries(e).map(([t,r])=>[t,(r==null?void 0:r.value)??null])),Br=async({apiClient:e,filters:t,logger:r,signal:n})=>{try{const o=await e.fetch("/search/filters",{method:"POST",body:JSON.stringify({filters:Wr(t)}),signal:n});return Hr(Ko,o)}catch(o){throw o instanceof rt?r.error(o.message,o.issues):r.error(o),o}},Kr=async({apiClient:e,logger:t,signal:r,filters:n,page:o=1})=>{try{const a=await e.fetch(`/search/results?page=${o}&per_page=${ot}`,{method:"POST",body:JSON.stringify({filters:Wr(n)}),signal:r});return Hr(Jo,a)}catch(a){throw a instanceof rt?t.error(a.message,a.issues):t.error(a),a}},Ot=e=>{if(e.error)return{state:"error",error:e.error,swr:e};if(e.isLoading&&e.data===void 0)return{state:"loading",swr:e};if((e.isLoading||e.isValidating)&&e.data)return{state:"revalidating",data:e.data,swr:e};if(!e.isLoading&&e.data)return{state:"loaded",data:e.data,swr:e};throw new Error("Unhandled data state")},Rt={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};function qr(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=qr(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function it(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=qr(e))&&(n&&(n+=" "),n+=t);return n}const Yr=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,Xo=e=>{const t=function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];var l,d;return typeof(e==null||(l=e.hooks)===null||l===void 0?void 0:l["cx:done"])<"u"?e==null?void 0:e.hooks["cx:done"](it(a)):typeof(e==null||(d=e.hooks)===null||d===void 0?void 0:d.onComplete)<"u"?e==null?void 0:e.hooks.onComplete(it(a)):it(a)};return{compose:function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return l=>{const d=Object.fromEntries(Object.entries(l||{}).filter(u=>{let[f]=u;return!["class","className"].includes(f)}));return t(a.map(u=>u(d)),l==null?void 0:l.class,l==null?void 0:l.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:l,defaultVariants:d}=o,u=Object.keys(l).map(p=>{const _=a==null?void 0:a[p],v=d==null?void 0:d[p],g=Yr(_)||Yr(v);return l[p][g]}),f={...d,...a&&Object.entries(a).reduce((p,_)=>{let[v,g]=_;return typeof g>"u"?p:{...p,[v]:g}},{})},s=o==null||(i=o.compoundVariants)===null||i===void 0?void 0:i.reduce((p,_)=>{let{class:v,className:g,...m}=_;return Object.entries(m).every(h=>{let[E,y]=h;const k=f[E];return Array.isArray(y)?y.includes(k):k===y})?[...p,v,g]:p},[]);return t(o==null?void 0:o.base,u,s,a==null?void 0:a.class,a==null?void 0:a.className)},cx:t}},{compose:zi,cva:de,cx:Wi}=Xo(),We=de({base:"fr animate-selected-tag justify-center touch-hitbox text-style-filter ease-expo-out rounded-interactive relative flex cursor-pointer items-center py-1 transition-all duration-snappy active:scale-95",variants:{variant:{neutral:"bg-interactive-neutral-bg pointer-fine:hover:bg-interactive-neutral-bg-hover text-interactive-neutral-text",accent:"bg-interactive-accent-bg pointer-fine:hover:bg-interactive-accent-bg-hover text-interactive-accent-text"},icon:{none:"",right:"",left:""},size:{sm:"py-1",lg:"py-2"}},compoundVariants:[{size:"sm",icon:"right",class:"pl-3 pr-1"},{size:"sm",icon:"left",class:"pl-1 pr-3"},{size:"sm",icon:"none",class:"px-3"},{size:"lg",icon:"none",class:"px-5"},{size:"lg",icon:"right",class:"pl-5 pr-3"}],defaultVariants:{variant:"neutral",icon:"none",size:"sm"}});var Qo=0;function c(e,t,r,n,o,a){var i,l,d={};for(l in t)l=="ref"?i=t[l]:d[l]=t[l];var u={type:e,props:d,key:r,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Qo,__i:-1,__u:0,__source:o,__self:a};if(typeof e=="function"&&(i=e.defaultProps))for(l in i)d[l]===void 0&&(d[l]=i[l]);return w.vnode&&w.vnode(u),u}const ea=({error:e,resetError:t})=>c("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:[c("p",{children:e.message}),c("button",{onClick:t,style:{background:"white",border:"none",cursor:"pointer",textAlign:"center",borderRadius:"4px",padding:"0.5rem 1rem"},children:"Retry"})]}),fe=({error:e,resetError:t,class:r,...n})=>c("div",{class:it("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center",r),...n,children:[c("div",{class:"flex flex-col gap-1",children:[c("p",{class:"text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]",children:"Sorry, this widget is unavailable at the moment."}),c("p",{class:"text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",children:e.message})]}),c("button",{class:We({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:t,children:"Retry"})]});class Be extends W{constructor(){super(...arguments);ur(this,"state",{error:null})}static getDerivedStateFromError(r){return{error:r.message}}componentDidCatch(r){this.setState({error:r})}render(){if(this.state.error){const{Fallback:r}=this.props;return c(r,{error:this.state.error,resetError:()=>{console.log("resetting error"),this.setState({error:null})}})}return this.props.children}}const ta={briefcase:c(R,{children:[c("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"}),c("path",{d:"M4.75 11.75H19.25"}),c("path",{d:"M13.25 12.25V13.25H10.75V12.25H13.25Z"}),c("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:c(R,{children:[c("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"}),c("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"}),c("path",{d:"M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"}),c("path",{d:"M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"}),c("path",{d:"M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"}),c("circle",{cx:"18.75",cy:"12",r:"2"}),c("circle",{cx:"5.25",cy:"12",r:"2"})]}),building:c(R,{children:[c("path",{d:"M16.75 10.25H13.75"}),c("path",{d:"M16.75 13.25H13.75"}),c("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"}),c("path",{d:"M10.25 12.25V18.25"})]}),circles:c(R,{children:[c("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"}),c("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:c(R,{children:[c("path",{d:"M14 9L12 13L9.5 12"}),c("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:c(R,{children:c("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:c(R,{children:[c("path",{d:"M5 13.75H19"}),c("path",{d:"M5 10.25H19"}),c("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"}),c("circle",{cx:"12",cy:"12",r:"7.25"})]}),magnifier:c(R,{children:[c("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"}),c("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"}),c("path",{d:"M16 16L19 19"})]}),mapPin:c(R,{children:c(R,{children:[c("circle",{cx:"12",cy:"9",r:"2"}),c("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"}),c("path",{d:"M17.25 9C17.25 13.3995 12 16.75 12 16.75C12 16.75 6.75 13.3995 6.75 9C6.75 6.10051 9.10051 3.75 12 3.75C14.8995 3.75 17.25 6.10051 17.25 9Z"})]})}),sunset:c(R,{children:[c("path",{d:"M18.5 8.5L17.5 9.5"}),c("path",{d:"M5.5 8.5L6.5 9.5"}),c("path",{d:"M12 6L12 7.5"}),c("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"}),c("path",{d:"M20.25 15.25H12H3.75"}),c("path",{d:"M16.25 18.25H12L7.75 18.25"})]}),x:c("path",{d:"M8 8l8 8M8 16l8 -8"}),plus:c("path",{d:"M12 8V16M8 12H16"}),"chevron-right":c("path",{d:"M11 8L15 12L11 16"})},ra=({theme:e})=>c("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:c("defs",{children:Object.entries(ta).map(([t,r])=>{var n;return c("symbol",{id:`i-icon-${t}`,children:c("g",{fill:"none","stroke-width":e.mode==="dark"&&((n=e.accessibility)==null?void 0:n.highContrast)!=!0?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:r})})})})}),pe=({name:e,...t})=>c("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:c("use",{href:`#i-icon-${e}`})});var Q,T,Tt,Zr,Te=0,Gr=[],st=[],Jr=w.__b,Xr=w.__r,Qr=w.diffed,en=w.__c,tn=w.unmount;function ke(e,t){w.__h&&w.__h(T,e,Te||t),Te=0;var r=T.__H||(T.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:st}),r.__[e]}function Z(e){return Te=1,At(an,e)}function At(e,t,r){var n=ke(Q++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):an(void 0,t),function(l){var d=n.__N?n.__N[0]:n.__[0],u=n.t(d,l);d!==u&&(n.__N=[u,n.__[1]],n.__c.setState({}))}],n.__c=T,!T.u)){var o=function(l,d,u){if(!n.__c.__H)return!0;var f=n.__c.__H.__.filter(function(p){return p.__c});if(f.every(function(p){return!p.__N}))return!a||a.call(this,l,d,u);var s=!1;return f.forEach(function(p){if(p.__N){var _=p.__[0];p.__=p.__N,p.__N=void 0,_!==p.__[0]&&(s=!0)}}),!(!s&&n.__c.props===l)&&(!a||a.call(this,l,d,u))};T.u=!0;var a=T.shouldComponentUpdate,i=T.componentWillUpdate;T.componentWillUpdate=function(l,d,u){if(this.__e){var f=a;a=void 0,o(l,d,u),a=f}i&&i.call(this,l,d,u)},T.shouldComponentUpdate=o}return n.__N||n.__}function je(e,t){var r=ke(Q++,3);!w.__s&&Pt(r.__H,t)&&(r.__=e,r.i=t,T.__H.__h.push(r))}function Ee(e,t){var r=ke(Q++,4);!w.__s&&Pt(r.__H,t)&&(r.__=e,r.i=t,T.__h.push(r))}function B(e){return Te=5,Se(function(){return{current:e}},[])}function rn(e,t,r){Te=6,Ee(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},r==null?r:r.concat(e))}function Se(e,t){var r=ke(Q++,7);return Pt(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function Ae(e,t){return Te=8,Se(function(){return e},t)}function Dt(e){var t=T.context[e.__c],r=ke(Q++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(T)),t.props.value):e.__}function Lt(e,t){w.useDebugValue&&w.useDebugValue(t?t(e):e)}function na(e){var t=ke(Q++,10),r=Z();return t.__=e,T.componentDidCatch||(T.componentDidCatch=function(n,o){t.__&&t.__(n,o),r[1](n)}),[r[0],function(){r[1](void 0)}]}function nn(){var e=ke(Q++,11);if(!e.__){for(var t=T.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function oa(){for(var e;e=Gr.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(lt),e.__H.__h.forEach($t),e.__H.__h=[]}catch(t){e.__H.__h=[],w.__e(t,e.__v)}}w.__b=function(e){T=null,Jr&&Jr(e)},w.__r=function(e){Xr&&Xr(e),Q=0;var t=(T=e.__c).__H;t&&(Tt===T?(t.__h=[],T.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=st,r.__N=r.i=void 0})):(t.__h.forEach(lt),t.__h.forEach($t),t.__h=[],Q=0)),Tt=T},w.diffed=function(e){Qr&&Qr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Gr.push(t)!==1&&Zr===w.requestAnimationFrame||((Zr=w.requestAnimationFrame)||aa)(oa)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==st&&(r.__=r.__V),r.i=void 0,r.__V=st})),Tt=T=null},w.__c=function(e,t){t.some(function(r){try{r.__h.forEach(lt),r.__h=r.__h.filter(function(n){return!n.__||$t(n)})}catch(n){t.some(function(o){o.__h&&(o.__h=[])}),t=[],w.__e(n,r.__v)}}),en&&en(e,t)},w.unmount=function(e){tn&&tn(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{lt(n)}catch(o){t=o}}),r.__H=void 0,t&&w.__e(t,r.__v))};var on=typeof requestAnimationFrame=="function";function aa(e){var t,r=function(){clearTimeout(n),on&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);on&&(t=requestAnimationFrame(r))}function lt(e){var t=T,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),T=t}function $t(e){var t=T;e.__c=e.__(),T=t}function Pt(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function an(e,t){return typeof t=="function"?t(e):t}const ct=e=>{const t=Object.entries(e.filter).sort(([r],[n])=>r.localeCompare(n)).map(([r,n])=>{var o;return(n==null?void 0:n.select)==="many"?`${r}=${(o=n.value)==null?void 0:o.sort().join("|")}`:`${r}=${n==null?void 0:n.value}`}).join("&");return`${e.baseKey}::${t}`};function sn(e,t){for(var r in t)e[r]=t[r];return e}function Vt(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function ut(e){this.props=e}function ln(e,t){function r(o){var a=this.props.ref,i=a==o.ref;return!i&&a&&(a.call?a(null):a.current=null),t?!t(this.props,o)||!i:Vt(this.props,o)}function n(o){return this.shouldComponentUpdate=r,V(e,o)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(ut.prototype=new W).isPureReactComponent=!0,ut.prototype.shouldComponentUpdate=function(e,t){return Vt(this.props,e)||Vt(this.state,t)};var cn=w.__b;w.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),cn&&cn(e)};var ia=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function un(e){function t(r){var n=sn({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=ia,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var dn=function(e,t){return e==null?null:X(X(e).map(t))},fn={map:dn,forEach:dn,count:function(e){return e?X(e).length:0},only:function(e){var t=X(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:X},sa=w.__e;w.__e=function(e,t,r,n){if(e.then){for(var o,a=t;a=a.__;)if((o=a.__c)&&o.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),o.__c(e,t)}sa(e,t,r,n)};var pn=w.unmount;function _n(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=sn({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return _n(n,t,r)})),e}function hn(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return hn(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function Ke(){this.__u=0,this.t=null,this.__b=null}function gn(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function vn(e){var t,r,n;function o(a){if(t||(t=e()).then(function(i){r=i.default||i},function(i){n=i}),n)throw n;if(!r)throw t;return V(r,a)}return o.displayName="Lazy",o.__f=!0,o}function De(){this.u=null,this.o=null}w.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),pn&&pn(e)},(Ke.prototype=new W).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var o=gn(n.__v),a=!1,i=function(){a||(a=!0,r.__R=null,o?o(l):l())};r.__R=i;var l=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=hn(d,d.__c.__P,d.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.t.pop();)u.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(i,i)},Ke.prototype.componentWillUnmount=function(){this.t=[]},Ke.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=_n(this.__b,r,n.__O=n.__P)}this.__b=null}var o=t.__a&&V(R,null,e.fallback);return o&&(o.__u&=-33),[V(R,null,t.__a?null:e.children),o]};var wn=function(e,t,r){if(++r[1]===r[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(r=e.u;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.u=r=r[2]}};function la(e){return this.getChildContext=function(){return e.context},e.children}function ca(e){var t=this,r=e.i;t.componentWillUnmount=function(){Oe(null,t.l),t.l=null,t.i=null},t.i&&t.i!==r&&t.componentWillUnmount(),t.l||(t.i=r,t.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),t.i.appendChild(n)},insertBefore:function(n,o){this.childNodes.push(n),t.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.i.removeChild(n)}}),Oe(V(la,{context:t.context},e.__v),t.l)}function mn(e,t){var r=V(ca,{__v:e,i:t});return r.containerInfo=t,r}(De.prototype=new W).__a=function(e){var t=this,r=gn(t.__v),n=t.o.get(e);return n[0]++,function(o){var a=function(){t.props.revealOrder?(n.push(o),wn(t,e,n)):o()};r?r(a):a()}},De.prototype.render=function(e){this.u=null,this.o=new Map;var t=X(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.o.set(t[r],this.u=[1,0,this.u]);return e.children},De.prototype.componentDidUpdate=De.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){wn(e,r,t)})};var yn=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,ua=/^(?: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]/,da=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,fa=/[A-Z0-9]/g,pa=typeof document<"u",_a=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function bn(e,t,r){return t.__k==null&&(t.textContent=""),Oe(e,t),typeof r=="function"&&r(),e?e.__c:null}function xn(e,t,r){return jt(e,t),typeof r=="function"&&r(),e?e.__c:null}W.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(W.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var kn=w.event;function ha(){}function ga(){return this.cancelBubble}function va(){return this.defaultPrevented}w.event=function(e){return kn&&(e=kn(e)),e.persist=ha,e.isPropagationStopped=ga,e.isDefaultPrevented=va,e.nativeEvent=e};var Nt,wa={enumerable:!1,configurable:!0,get:function(){return this.class}},jn=w.vnode;w.vnode=function(e){typeof e.type=="string"&&function(t){var r=t.props,n=t.type,o={};for(var a in r){var i=r[a];if(!(a==="value"&&"defaultValue"in r&&i==null||pa&&a==="children"&&n==="noscript"||a==="class"||a==="className")){var l=a.toLowerCase();a==="defaultValue"&&"value"in r&&r.value==null?a="value":a==="download"&&i===!0?i="":l==="ondoubleclick"?a="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||_a(r.type)?l==="onfocus"?a="onfocusin":l==="onblur"?a="onfocusout":da.test(a)?a=l:n.indexOf("-")===-1&&ua.test(a)?a=a.replace(fa,"-$&").toLowerCase():i===null&&(i=void 0):l=a="oninput",l==="oninput"&&o[a=l]&&(a="oninputCapture"),o[a]=i}}n=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=X(r.children).forEach(function(d){d.props.selected=o.value.indexOf(d.props.value)!=-1})),n=="select"&&o.defaultValue!=null&&(o.value=X(r.children).forEach(function(d){d.props.selected=o.multiple?o.defaultValue.indexOf(d.props.value)!=-1:o.defaultValue==d.props.value})),r.class&&!r.className?(o.class=r.class,Object.defineProperty(o,"className",wa)):(r.className&&!r.class||r.class&&r.className)&&(o.class=o.className=r.className),t.props=o}(e),e.$$typeof=yn,jn&&jn(e)};var En=w.__r;w.__r=function(e){En&&En(e),Nt=e.__c};var Sn=w.diffed;w.diffed=function(e){Sn&&Sn(e);var t=e.props,r=e.__e;r!=null&&e.type==="textarea"&&"value"in t&&t.value!==r.value&&(r.value=t.value==null?"":t.value),Nt=null};var Cn={ReactCurrentDispatcher:{current:{readContext:function(e){return Nt.__n[e.__c].props.value}}}},ma="17.0.2";function On(e){return V.bind(null,e)}function qe(e){return!!e&&e.$$typeof===yn}function Rn(e){return qe(e)&&e.type===R}function Tn(e){return qe(e)?jo.apply(null,arguments):e}function An(e){return!!e.__k&&(Oe(null,e),!0)}function Dn(e){return e&&(e.base||e.nodeType===1&&e)||null}var Ln=function(e,t){return e(t)},$n=function(e,t){return e(t)},Pn=R;function Mt(e){e()}function Vn(e){return e}function Nn(){return[!1,Mt]}var Mn=Ee,In=qe;function Hn(e,t){var r=t(),n=Z({h:{__:r,v:t}}),o=n[0].h,a=n[1];return Ee(function(){o.__=r,o.v=t,It(o)&&a({h:o})},[e,r,t]),je(function(){return It(o)&&a({h:o}),e(function(){It(o)&&a({h:o})})},[e]),r}function It(e){var t,r,n=e.v,o=e.__;try{var a=n();return!((t=o)===(r=a)&&(t!==0||1/t==1/r)||t!=t&&r!=r)}catch{return!0}}var dt={useState:Z,useId:nn,useReducer:At,useEffect:je,useLayoutEffect:Ee,useInsertionEffect:Mn,useTransition:Nn,useDeferredValue:Vn,useSyncExternalStore:Hn,startTransition:Mt,useRef:B,useImperativeHandle:rn,useMemo:Se,useCallback:Ae,useContext:Dt,useDebugValue:Lt,version:"17.0.2",Children:fn,render:bn,hydrate:xn,unmountComponentAtNode:An,createPortal:mn,createElement:V,createContext:Et,createFactory:On,cloneElement:Tn,createRef:vr,Fragment:R,isValidElement:qe,isElement:In,isFragment:Rn,findDOMNode:Dn,Component:W,PureComponent:ut,memo:ln,forwardRef:un,flushSync:$n,unstable_batchedUpdates:Ln,StrictMode:Pn,Suspense:Ke,SuspenseList:De,lazy:vn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Cn};const ya=Object.freeze(Object.defineProperty({__proto__:null,Children:fn,Component:W,Fragment:R,PureComponent:ut,StrictMode:Pn,Suspense:Ke,SuspenseList:De,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Cn,cloneElement:Tn,createContext:Et,createElement:V,createFactory:On,createPortal:mn,createRef:vr,default:dt,findDOMNode:Dn,flushSync:$n,forwardRef:un,hydrate:xn,isElement:In,isFragment:Rn,isValidElement:qe,lazy:vn,memo:ln,render:bn,startTransition:Mt,unmountComponentAtNode:An,unstable_batchedUpdates:Ln,useCallback:Ae,useContext:Dt,useDebugValue:Lt,useDeferredValue:Vn,useEffect:je,useErrorBoundary:na,useId:nn,useImperativeHandle:rn,useInsertionEffect:Mn,useLayoutEffect:Ee,useMemo:Se,useReducer:At,useRef:B,useState:Z,useSyncExternalStore:Hn,useTransition:Nn,version:ma},Symbol.toStringTag,{value:"Module"}));function ba(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var Ht={exports:{}},Ft={};const Fn=ba(ya);/**
|
|
1
|
+
var P_=Object.defineProperty;var T_=(ct,lt,le)=>lt in ct?P_(ct,lt,{enumerable:!0,configurable:!0,writable:!0,value:le}):ct[lt]=le;var li=(ct,lt,le)=>(T_(ct,typeof lt!="symbol"?lt+"":lt,le),le);(function(){"use strict";var ct=t=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(t)}`)};function lt(t,e){if(!t)throw new Error(e)}function le(t,e){return t in e}var ui=t=>t,Qe,C,di,ue,fi,pi,jr,hi,tn={},_i=[],Al=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,On=Array.isArray;function St(t,e){for(var n in e)t[n]=e[n];return t}function vi(t){var e=t.parentNode;e&&e.removeChild(t)}function G(t,e,n){var r,o,i,a={};for(i in e)i=="key"?r=e[i]:i=="ref"?o=e[i]:a[i]=e[i];if(arguments.length>2&&(a.children=arguments.length>3?Qe.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)a[i]===void 0&&(a[i]=t.defaultProps[i]);return en(t,a,r,o,null)}function en(t,e,n,r,o){var i={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++di,__i:-1,__u:0};return o==null&&C.vnode!=null&&C.vnode(i),i}function gi(){return{current:null}}function D(t){return t.children}function ht(t,e){this.props=t,this.context=e}function Pe(t,e){if(e==null)return t.__?Pe(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?Pe(t):null}function wi(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return wi(t)}}function Er(t){(!t.__d&&(t.__d=!0)&&ue.push(t)&&!An.__r++||fi!==C.debounceRendering)&&((fi=C.debounceRendering)||pi)(An)}function An(){var t,e,n,r,o,i,a,s,u;for(ue.sort(jr);t=ue.shift();)t.__d&&(e=ue.length,r=void 0,i=(o=(n=t).__v).__e,s=[],u=[],(a=n.__P)&&((r=St({},o)).__v=o.__v+1,C.vnode&&C.vnode(r),Sr(a,r,o,n.__n,a.ownerSVGElement!==void 0,32&o.__u?[i]:null,s,i??Pe(o),!!(32&o.__u),u),r.__.__k[r.__i]=r,$i(s,r,u),r.__e!=i&&wi(r)),ue.length>e&&ue.sort(jr));An.__r=0}function mi(t,e,n,r,o,i,a,s,u,l,d){var c,p,f,v,h,g=r&&r.__k||_i,_=e.length;for(n.__d=u,Pl(n,e,g),u=n.__d,c=0;c<_;c++)(f=n.__k[c])!=null&&typeof f!="boolean"&&typeof f!="function"&&(p=f.__i===-1?tn:g[f.__i]||tn,f.__i=c,Sr(t,f,p,o,i,a,s,u,l,d),v=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&Cr(p.ref,null,f),d.push(f.ref,f.__c||v,f)),h==null&&v!=null&&(h=v),65536&f.__u||p.__k===f.__k?u=yi(f,u,t):typeof f.type=="function"&&f.__d!==void 0?u=f.__d:v&&(u=v.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=u,n.__e=h}function Pl(t,e,n){var r,o,i,a,s,u=e.length,l=n.length,d=l,c=0;for(t.__k=[],r=0;r<u;r++)(o=t.__k[r]=(o=e[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?en(null,o,null,null,o):On(o)?en(D,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?en(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=t,o.__b=t.__b+1,s=Tl(o,n,a=r+c,d),o.__i=s,i=null,s!==-1&&(d--,(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?d>u-a?c+=s-a:c--:c=s<a&&s==a-1?s-a:0,s!==r+c&&(o.__u|=65536))):(i=n[r])&&i.key==null&&i.__e&&(i.__e==t.__d&&(t.__d=Pe(i)),Or(i,i,!1),n[r]=null,d--);if(d)for(r=0;r<l;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==t.__d&&(t.__d=Pe(i)),Or(i,i))}function yi(t,e,n){var r,o;if(typeof t.type=="function"){for(r=t.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=t,e=yi(r[o],e,n));return e}return t.__e!=e&&(n.insertBefore(t.__e,e||null),e=t.__e),e&&e.nextSibling}function Ct(t,e){return e=e||[],t==null||typeof t=="boolean"||(On(t)?t.some(function(n){Ct(n,e)}):e.push(t)),e}function Tl(t,e,n,r){var o=t.key,i=t.type,a=n-1,s=n+1,u=e[n];if(u===null||u&&o==u.key&&i===u.type)return n;if(r>(u!=null&&!(131072&u.__u)?1:0))for(;a>=0||s<e.length;){if(a>=0){if((u=e[a])&&!(131072&u.__u)&&o==u.key&&i===u.type)return a;a--}if(s<e.length){if((u=e[s])&&!(131072&u.__u)&&o==u.key&&i===u.type)return s;s++}}return-1}function bi(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||Al.test(e)?n:n+"px"}function Pn(t,e,n,r,o){var i;t:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||bi(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||bi(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")i=e!==(e=e.replace(/(PointerCapture)$|Capture$/,"$1")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r?n.u=r.u:(n.u=Date.now(),t.addEventListener(e,i?ki:xi,i)):t.removeEventListener(e,i?ki:xi,i);else{if(o)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="width"&&e!=="height"&&e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e!=="rowSpan"&&e!=="colSpan"&&e!=="role"&&e in t)try{t[e]=n??"";break t}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,n))}}function xi(t){var e=this.l[t.type+!1];if(t.t){if(t.t<=e.u)return}else t.t=Date.now();return e(C.event?C.event(t):t)}function ki(t){return this.l[t.type+!0](C.event?C.event(t):t)}function Sr(t,e,n,r,o,i,a,s,u,l){var d,c,p,f,v,h,g,_,y,m,x,k,j,E,b,$=e.type;if(e.constructor!==void 0)return null;128&n.__u&&(u=!!(32&n.__u),i=[s=e.__e=n.__e]),(d=C.__b)&&d(e);t:if(typeof $=="function")try{if(_=e.props,y=(d=$.contextType)&&r[d.__c],m=d?y?y.props.value:d.__:r,n.__c?g=(c=e.__c=n.__c).__=c.__E:("prototype"in $&&$.prototype.render?e.__c=c=new $(_,m):(e.__c=c=new ht(_,m),c.constructor=$,c.render=Dl),y&&y.sub(c),c.props=_,c.state||(c.state={}),c.context=m,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=St({},c.__s)),St(c.__s,$.getDerivedStateFromProps(_,c.__s))),f=c.props,v=c.state,c.__v=e,p)$.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if($.getDerivedStateFromProps==null&&_!==f&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,m),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,m)===!1||e.__v===n.__v)){for(e.__v!==n.__v&&(c.props=_,c.state=c.__s,c.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(A){A&&(A.__=e)}),x=0;x<c._sb.length;x++)c.__h.push(c._sb[x]);c._sb=[],c.__h.length&&a.push(c);break t}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,m),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(f,v,h)})}if(c.context=m,c.props=_,c.__P=t,c.__e=!1,k=C.__r,j=0,"prototype"in $&&$.prototype.render){for(c.state=c.__s,c.__d=!1,k&&k(e),d=c.render(c.props,c.state,c.context),E=0;E<c._sb.length;E++)c.__h.push(c._sb[E]);c._sb=[]}else do c.__d=!1,k&&k(e),d=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++j<25);c.state=c.__s,c.getChildContext!=null&&(r=St(St({},r),c.getChildContext())),p||c.getSnapshotBeforeUpdate==null||(h=c.getSnapshotBeforeUpdate(f,v)),mi(t,On(b=d!=null&&d.type===D&&d.key==null?d.props.children:d)?b:[b],e,n,r,o,i,a,s,u,l),c.base=e.__e,e.__u&=-161,c.__h.length&&a.push(c),g&&(c.__E=c.__=null)}catch(A){e.__v=null,u||i!=null?(e.__e=s,e.__u|=u?160:32,i[i.indexOf(s)]=null):(e.__e=n.__e,e.__k=n.__k),C.__e(A,e,n)}else i==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=Rl(n.__e,e,n,r,o,i,a,u,l);(d=C.diffed)&&d(e)}function $i(t,e,n){e.__d=void 0;for(var r=0;r<n.length;r++)Cr(n[r],n[++r],n[++r]);C.__c&&C.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(i){i.call(o)})}catch(i){C.__e(i,o.__v)}})}function Rl(t,e,n,r,o,i,a,s,u){var l,d,c,p,f,v,h,g=n.props,_=e.props,y=e.type;if(y==="svg"&&(o=!0),i!=null){for(l=0;l<i.length;l++)if((f=i[l])&&"setAttribute"in f==!!y&&(y?f.localName===y:f.nodeType===3)){t=f,i[l]=null;break}}if(t==null){if(y===null)return document.createTextNode(_);t=o?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,_.is&&_),i=null,s=!1}if(y===null)g===_||s&&t.data===_||(t.data=_);else{if(i=i&&Qe.call(t.childNodes),g=n.props||tn,!s&&i!=null)for(g={},l=0;l<t.attributes.length;l++)g[(f=t.attributes[l]).name]=f.value;for(l in g)f=g[l],l=="children"||(l=="dangerouslySetInnerHTML"?c=f:l==="key"||l in _||Pn(t,l,null,f,o));for(l in _)f=_[l],l=="children"?p=f:l=="dangerouslySetInnerHTML"?d=f:l=="value"?v=f:l=="checked"?h=f:l==="key"||s&&typeof f!="function"||g[l]===f||Pn(t,l,f,g[l],o);if(d)s||c&&(d.__html===c.__html||d.__html===t.innerHTML)||(t.innerHTML=d.__html),e.__k=[];else if(c&&(t.innerHTML=""),mi(t,On(p)?p:[p],e,n,r,o&&y!=="foreignObject",i,a,i?i[0]:n.__k&&Pe(n,0),s,u),i!=null)for(l=i.length;l--;)i[l]!=null&&vi(i[l]);s||(l="value",v!==void 0&&(v!==t[l]||y==="progress"&&!v||y==="option"&&v!==g[l])&&Pn(t,l,v,g[l],!1),l="checked",h!==void 0&&h!==t[l]&&Pn(t,l,h,g[l],!1))}return t}function Cr(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(r){C.__e(r,n)}}function Or(t,e,n){var r,o;if(C.unmount&&C.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||Cr(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){C.__e(i,e)}r.base=r.__P=null,t.__c=void 0}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&Or(r[o],e,n||typeof t.type!="function");n||t.__e==null||vi(t.__e),t.__=t.__e=t.__d=void 0}function Dl(t,e,n){return this.constructor(t,n)}function Te(t,e,n){var r,o,i,a;C.__&&C.__(t,e),o=(r=typeof n=="function")?null:n&&n.__k||e.__k,i=[],a=[],Sr(e,t=(!r&&n||e).__k=G(D,null,[t]),o||tn,tn,e.ownerSVGElement!==void 0,!r&&n?[n]:o?null:e.firstChild?Qe.call(e.childNodes):null,i,!r&&n?n:o?o.__e:e.firstChild,r,a),$i(i,t,a)}function Ar(t,e){Te(t,e,Ar)}function Ll(t,e,n){var r,o,i,a,s=St({},t.props);for(i in t.type&&t.type.defaultProps&&(a=t.type.defaultProps),e)i=="key"?r=e[i]:i=="ref"?o=e[i]:s[i]=e[i]===void 0&&a!==void 0?a[i]:e[i];return arguments.length>2&&(s.children=arguments.length>3?Qe.call(arguments,2):n),en(t.type,s,r||t.key,o||t.ref,null)}function Pr(t,e){var n={__c:e="__cC"+hi++,__:t,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[e]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(function(s){s.__e=!0,Er(s)})},this.sub=function(a){o.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o.splice(o.indexOf(a),1),s&&s.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}Qe=_i.slice,C={__e:function(t,e,n,r){for(var o,i,a;e=e.__;)if((o=e.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(t)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,r||{}),a=o.__d),a)return o.__E=o}catch(s){t=s}throw t}},di=0,ht.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=St({},this.state),typeof t=="function"&&(t=t(St({},n),this.props)),t&&St(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),Er(this))},ht.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Er(this))},ht.prototype.render=D,ue=[],pi=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,jr=function(t,e){return t.__v.__b-e.__v.__b},An.__r=0,hi=0;var ji=/[\s\n\\/='"\0<>]/,Ei=/^(xlink|xmlns|xml)([A-Z])/,Nl=/^accessK|^auto[A-Z]|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|readO|rowS|spellC|src[A-Z]|tabI|item[A-Z]/,Ml=/^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/,Fl=/["&<]/;function Tn(t){if(t.length===0||Fl.test(t)===!1)return t;for(var e=0,n=0,r="",o="";n<t.length;n++){switch(t.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==e&&(r+=t.slice(e,n)),r+=o,e=n+1}return n!==e&&(r+=t.slice(e,n)),r}var Si={},Vl=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"]),Hl=/[A-Z]/g;function Il(t){var e="";for(var n in t){var r=t[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:Si[n]||(Si[n]=n.replace(Hl,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||Vl.has(o)||(i="px;"),e=e+o+":"+r+i}}return e||void 0}var Tr,de,nn,fe,Ci=[],Oi=Array.isArray,Rr=Object.assign;function Ul(t,e){var n=C.__s;C.__s=!0,Tr=C.__b,de=C.diffed,nn=C.__r,fe=C.unmount;var r=G(D,null);r.__k=[t];try{return pe(t,e||Pi,!1,void 0,r)}finally{C.__c&&C.__c(t,Ci),C.__s=n,Ci.length=0}}function Ai(){this.__d=!0}var Pi={};function Ti(t,e){var n,r=t.type,o=!0;return t.__c?(o=!1,(n=t.__c).state=n.__s):n=new r(t.props,e),t.__c=n,n.__v=t,n.props=t.props,n.context=e,n.__d=!0,n.state==null&&(n.state=Pi),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=Rr({},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(),nn&&nn(t),n.render(n.props,n.state,e)}function pe(t,e,n,r,o){if(t==null||t===!0||t===!1||t==="")return"";if(typeof t!="object")return typeof t=="function"?"":Tn(t+"");if(Oi(t)){var i="";o.__k=t;for(var a=0;a<t.length;a++){var s=t[a];s!=null&&typeof s!="boolean"&&(i+=pe(s,e,n,r,o))}return i}if(t.constructor!==void 0)return"";t.__=o,Tr&&Tr(t);var u,l,d,c=t.type,p=t.props,f=e;if(typeof c=="function"){if(c===D){if(p.tpl){for(var v="",h=0;h<p.tpl.length;h++)if(v+=p.tpl[h],p.exprs&&h<p.exprs.length){var g=p.exprs[h];if(g==null)continue;typeof g!="object"||g.constructor!==void 0&&!Oi(g)?v+=g:v+=pe(g,e,n,r,t)}return v}if(p.UNSTABLE_comment)return"<!--"+Tn(p.UNSTABLE_comment||"")+"-->";l=p.children}else{if((u=c.contextType)!=null){var _=e[u.__c];f=_?_.props.value:u.__}if(c.prototype&&typeof c.prototype.render=="function")l=Ti(t,f),d=t.__c;else{t.__c=d={__v:t,props:p,context:f,setState:Ai,forceUpdate:Ai,__d:!0,__h:[]};for(var y=0;d.__d&&y++<25;)d.__d=!1,nn&&nn(t),l=c.call(d,p,f);d.__d=!0}if(d.getChildContext!=null&&(e=Rr({},e,d.getChildContext())),(c.getDerivedStateFromError||d.componentDidCatch)&&C.errorBoundaries){var m="";l=l!=null&&l.type===D&&l.key==null?l.props.children:l;try{return m=pe(l,e,n,r,t)}catch(A){return c.getDerivedStateFromError&&(d.__s=c.getDerivedStateFromError(A)),d.componentDidCatch&&d.componentDidCatch(A,{}),d.__d&&(l=Ti(t,e),(d=t.__c).getChildContext!=null&&(e=Rr({},e,d.getChildContext())),m=pe(l=l!=null&&l.type===D&&l.key==null?l.props.children:l,e,n,r,t)),m}finally{de&&de(t),t.__=void 0,fe&&fe(t)}}}var x=pe(l=l!=null&&l.type===D&&l.key==null?l.props.children:l,e,n,r,t);return de&&de(t),t.__=void 0,fe&&fe(t),x}var k,j="<"+c,E="";for(var b in p){var $=p[b];switch(b){case"children":k=$;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in p)continue;b="for";break;case"className":if("class"in p)continue;b="class";break;case"defaultChecked":b="checked";break;case"defaultSelected":b="selected";break;case"defaultValue":case"value":switch(b="value",c){case"textarea":k=$;continue;case"select":r=$;continue;case"option":r!=$||"selected"in p||(j+=" selected")}break;case"dangerouslySetInnerHTML":E=$&&$.__html;continue;case"style":typeof $=="object"&&($=Il($));break;case"acceptCharset":b="accept-charset";break;case"httpEquiv":b="http-equiv";break;default:if(Ei.test(b))b=b.replace(Ei,"$1:$2").toLowerCase();else{if(ji.test(b))continue;b[4]!=="-"&&b!=="draggable"||$==null?n?Ml.test(b)&&(b=b==="panose1"?"panose-1":b.replace(/([A-Z])/g,"-$1").toLowerCase()):Nl.test(b)&&(b=b.toLowerCase()):$+=""}}$!=null&&$!==!1&&typeof $!="function"&&(j=$===!0||$===""?j+" "+b:j+" "+b+'="'+Tn($+"")+'"')}if(ji.test(c))throw new Error(c+" is not a valid HTML tag name in "+j+">");return E||(typeof k=="string"?E=Tn(k):k!=null&&k!==!1&&k!==!0&&(E=pe(k,e,c==="svg"||c!=="foreignObject"&&n,r,t))),de&&de(t),t.__=void 0,fe&&fe(t),!E&&Wl.has(c)?j+"/>":j+">"+E+"</"+c+">"}var Wl=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Rn=class extends Error{constructor(e){super(e[0].message);li(this,"issues");this.name="ValiError",this.issues=e}};function Ri(t,e){return{...t,_parse(n,r){return t._parse(e(n),r)}}}function rn(t){return{issues:t}}function he(t){return{output:t}}function zl(t,e){return{reason:t==null?void 0:t.reason,validation:e.validation,origin:(t==null?void 0:t.origin)||"value",message:e.message,input:e.input,path:e.path,abortEarly:t==null?void 0:t.abortEarly,abortPipeEarly:t==null?void 0:t.abortPipeEarly,skipPipe:t==null?void 0:t.skipPipe}}function Bl(t,e){return{reason:e,origin:t==null?void 0:t.origin,abortEarly:t==null?void 0:t.abortEarly,abortPipeEarly:t==null?void 0:t.abortPipeEarly,skipPipe:t==null?void 0:t.skipPipe}}function Yt(t,e,n,r){if(!e||!e.length||n!=null&&n.skipPipe)return he(t);let o,i,a=t;for(const s of e){const u=s._parse(a);if(u.issues){o=o||Bl(n,r);for(const l of u.issues){const d=zl(o,l);i?i.push(d):i=[d]}if(o.abortEarly||o.abortPipeEarly)break}else a=u.output}return i?rn(i):he(a)}function qt(t,e){return Array.isArray(t)?[void 0,t]:[t,e]}function Di(t){return typeof t=="function"?t():t}function Yl(t,e,n,r){return rn([{validation:t,message:Di(e),input:n,requirement:r}])}function ql(t,e,n){if(!t||typeof t=="object"&&!Array.isArray(t)){const[i,a]=qt(e,n);return[t,i,a]}const[r,o]=qt(t,e);return[void 0,r,o]}function Kt(t,e,n,r,o,i){return{issues:[{reason:e,validation:n,origin:(t==null?void 0:t.origin)||"value",message:Di(r),input:o,issues:i,abortEarly:t==null?void 0:t.abortEarly,abortPipeEarly:t==null?void 0:t.abortPipeEarly,skipPipe:t==null?void 0:t.skipPipe}]}}function Li(t){return typeof t.default=="function"?t.default():t.default}function Kl(t){return{type:"any",async:!1,pipe:t,_parse(e,n){return Yt(e,this.pipe,n,"any")}}}function Ni(t,e,n){const[r="Invalid type",o]=qt(e,n);return{type:"array",async:!1,item:t,message:r,pipe:o,_parse(i,a){if(!Array.isArray(i))return Kt(a,"type","array",this.message,i);let s;const u=[];for(let l=0;l<i.length;l++){const d=i[l],c=this.item._parse(d,a);if(c.issues){const p={type:"array",input:i,key:l,value:d};for(const f of c.issues)f.path?f.path.unshift(p):f.path=[p],s==null||s.push(f);if(s||(s=c.issues),a!=null&&a.abortEarly)break}else u.push(c.output)}return s?rn(s):Yt(u,this.pipe,a,"array")}}}function Mi(t,e){const[n="Invalid type",r]=qt(t,e);return{type:"boolean",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="boolean"?Kt(i,"type","boolean",this.message,o):Yt(o,this.pipe,i,"boolean")}}}function Xt(t,e="Invalid type"){return{type:"literal",async:!1,literal:t,message:e,_parse(n,r){return n!==this.literal?Kt(r,"type","literal",this.message,n):he(n)}}}function Re(t,e){return{type:"nullable",async:!1,wrapped:t,default:e,_parse(n,r){if(n===null){const o=Li(this);if(o===void 0)return he(n);n=o}return this.wrapped._parse(n,r)}}}function on(t,e){const[n="Invalid type",r]=qt(t,e);return{type:"number",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="number"||isNaN(o)?Kt(i,"type","number",this.message,o):Yt(o,this.pipe,i,"number")}}}function Dn(t,e,n,r){const[o,i="Invalid type",a]=ql(e,n,r);let s;return{type:"object",async:!1,entries:t,rest:o,message:i,pipe:a,_parse(u,l){if(!u||typeof u!="object")return Kt(l,"type","object",this.message,u);s=s||Object.entries(this.entries);let d;const c={};for(const[p,f]of s){const v=u[p],h=f._parse(v,l);if(h.issues){const g={type:"object",input:u,key:p,value:v};for(const _ of h.issues)_.path?_.path.unshift(g):_.path=[g],d==null||d.push(_);if(d||(d=h.issues),l!=null&&l.abortEarly)break}else(h.output!==void 0||p in u)&&(c[p]=h.output)}if(this.rest&&!(l!=null&&l.abortEarly&&d)){for(const p in u)if(!(p in this.entries)){const f=u[p],v=this.rest._parse(f,l);if(v.issues){const h={type:"object",input:u,key:p,value:f};for(const g of v.issues)g.path?g.path.unshift(h):g.path=[h],d==null||d.push(g);if(d||(d=v.issues),l!=null&&l.abortEarly)break}else c[p]=v.output}}return d?rn(d):Yt(c,this.pipe,l,"object")}}}function _e(t,e){return{type:"optional",async:!1,wrapped:t,default:e,_parse(n,r){if(n===void 0){const o=Li(this);if(o===void 0)return he(n);n=o}return this.wrapped._parse(n,r)}}}function Y(t,e){const[n="Invalid type",r]=qt(t,e);return{type:"string",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="string"?Kt(i,"type","string",this.message,o):Yt(o,this.pipe,i,"string")}}}function Xl(t,e,n,r){if(typeof e=="object"&&!Array.isArray(e)){const[a,s]=qt(n,r);return[t,e,a,s]}const[o,i]=qt(e,n);return[Y(),t,o,i]}var Zl=["__proto__","prototype","constructor"];function Fi(t,e,n,r){const[o,i,a="Invalid type",s]=Xl(t,e,n,r);return{type:"record",async:!1,key:o,value:i,message:a,pipe:s,_parse(u,l){if(!u||typeof u!="object")return Kt(l,"type","record",this.message,u);let d;const c={};for(const[p,f]of Object.entries(u))if(!Zl.includes(p)){let v;const h=this.key._parse(p,{origin:"key",abortEarly:l==null?void 0:l.abortEarly,abortPipeEarly:l==null?void 0:l.abortPipeEarly,skipPipe:l==null?void 0:l.skipPipe});if(h.issues){v={type:"record",input:u,key:p,value:f};for(const _ of h.issues)_.path=[v],d==null||d.push(_);if(d||(d=h.issues),l!=null&&l.abortEarly)break}const g=this.value._parse(f,l);if(g.issues){v=v||{type:"record",input:u,key:p,value:f};for(const _ of g.issues)_.path?_.path.unshift(v):_.path=[v],d==null||d.push(_);if(d||(d=g.issues),l!=null&&l.abortEarly)break}!h.issues&&!g.issues&&(c[h.output]=g.output)}return d?rn(d):Yt(c,this.pipe,l,"record")}}}function Vi(t,e="Invalid type"){return{type:"union",async:!1,options:t,message:e,_parse(n,r){let o,i;for(const a of this.options){const s=a._parse(n,r);if(s.issues)if(o)for(const u of s.issues)o.push(u);else o=s.issues;else{i=[s.output];break}}return i?he(i[0]):Kt(r,"type","union",this.message,n,o)}}}function Hi(t,e,n){const r=t._parse(e,n);if(r.issues)throw new Rn(r.issues);return r.output}function Gl(t,e,n){const r=t._parse(e,n);return r.issues?{success:!1,error:new Rn(r.issues),issues:r.issues}:{success:!0,data:r.output,output:r.output}}function Ii(t,e,n){return{...t,_parse(r,o){const i=t._parse(r,o);if(i.issues)return i;const a=e(i.output);return n&&!Array.isArray(n)?n._parse(a,o):Yt(a,n,o,typeof a)}}}function Jl(t="Invalid URL"){return{type:"url",async:!1,message:t,requirement(e){try{return new URL(e),!0}catch{return!1}},_parse(e){return this.requirement(e)?he(e):Yl(this.type,this.message,e,this.requirement)}}}const Ui="inploi-job-search",Wi="ijs",Ln=10,Nn={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},Ql=t=>{const{salary:e,config:n}=t,r=new Intl.NumberFormat(n.locales,{style:"currency",currency:e.pay_currency,trailingZeroDisplay:"stripIfInteger"});if(e.pay_display!==!1)return e.pay_mask?"Competitive":e.pay_max&&isNaN(+e.pay_max)||e.pay_min&&isNaN(+e.pay_min)||e.pay&&isNaN(+e.pay)?"Invalid salary":e.pay?[r.format(+e.pay),Nn[e.pay_type]].join(" "):e.pay_max&&e.pay_min?[r.formatRange(+e.pay_min,+e.pay_max),Nn[e.pay_type]].join(" "):e.pay_max?"Up to "+[r.format(+e.pay_max),Nn[e.pay_type]].join(" "):e.pay_min?"From "+[r.format(+e.pay_min),Nn[e.pay_type]].join(" "):"Invalid salary"},tu=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),eu=({from:t=new Date,to:e,formatter:n=tu})=>{const o=(e instanceof Date?e:new Date(e)).getTime()-t.getTime(),i={days:Math.round(o/1e3/60/60/24),months:Math.round(o/1e3/60/60/24/30)};return i.days===0?"today":Math.abs(i.days)<30?n.format(i.days,"days"):Math.abs(i.days)<3?n.format(i.months,"months"):i.months<0?"a long time ago":"in a long time"},nu=1e3*60*60*24*7,ru=Fi(Ni(Dn({label:Ri(Y(),String),value:Ri(Y(),String)}))),ou=Y([Jl()]),iu=Dn({total:on(),current_page:on(),per_page:on(),last_page:on()}),au=Dn({id:on(),company_name:Y(),company_logo:_e(Y()),employment_type:Y(),location_type:Vi([Xt("LOCATION"),Xt("REMOTE"),Xt("HYBRID")]),pay_type:Vi([Xt("ANNUALLY"),Xt("HOURLY"),Xt("MONTHLY"),Xt("WEEKLY"),Xt("DAILY")]),pay_currency:Y(),pay_mask:Mi(),pay_display:Mi(),pay:Re(Y()),pay_min:Re(Y()),pay_max:Re(Y()),description:Y(),title:Y(),contract_type:Re(Y()),created_at:Re(Y()),custom_data:Re(Fi(Kl())),href:Y(),industry:_e(Y()),category:_e(Y()),skills:_e(Y()),town:_e(Y()),city:_e(Y()),country:_e(Y())}),su=Ii(au,t=>{const e=t.created_at?new Date(t.created_at).getTime()>Date.now()-nu:!1,n=Gl(ou,t.company_logo);return{raw:t,id:t.id,isNew:e,company:{name:t.company_name,logo:n.success?n.output:void 0},employmentType:t.employment_type,locationType:t.location_type,pay:Ql({salary:t,config:{locales:void 0}}),description:t.description,title:t.title,contractType:t.contract_type,href:t.href,relativePostedDate:t.created_at?eu({to:new Date(t.created_at)}):"INVALID DATE",customData:t.custom_data}}),cu=Ii(Dn({data:Ni(su),pagination:iu}),t=>({pagination:t.pagination,results:t.data})),zi=t=>Object.fromEntries(Object.entries(t).map(([e,n])=>[e,(n==null?void 0:n.value)??null])),Bi=async({apiClient:t,filters:e,logger:n,signal:r})=>{try{const o=await t.fetch("/search/filters",{method:"POST",body:JSON.stringify({filters:zi(e)}),signal:r});return Hi(ru,o)}catch(o){throw o instanceof Rn?n.error(o.message,o.issues):n.error(o),o}},Yi=async({apiClient:t,logger:e,signal:n,filters:r,page:o=1})=>{try{const i=await t.fetch(`/search/results?page=${o}&per_page=${Ln}`,{method:"POST",body:JSON.stringify({filters:zi(r)}),signal:n});return Hi(cu,i)}catch(i){throw i instanceof Rn?e.error(i.message,i.issues):e.error(i),i}},Dr=t=>{if(t.error)return{state:"error",error:t.error,swr:t};if(t.isLoading&&t.data===void 0)return{state:"loading",swr:t};if((t.isLoading||t.isValidating)&&t.data)return{state:"revalidating",data:t.data,swr:t};if(!t.isLoading&&t.data)return{state:"loaded",data:t.data,swr:t};throw new Error("Unhandled data state")},Lr={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};function qi(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=qi(t[e]))&&(r&&(r+=" "),r+=n);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}function Mn(){for(var t,e,n=0,r="";n<arguments.length;)(t=arguments[n++])&&(e=qi(t))&&(r&&(r+=" "),r+=e);return r}const Ki=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,lu=t=>{const e=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s,u;return typeof(t==null||(s=t.hooks)===null||s===void 0?void 0:s["cx:done"])<"u"?t==null?void 0:t.hooks["cx:done"](Mn(i)):typeof(t==null||(u=t.hooks)===null||u===void 0?void 0:u.onComplete)<"u"?t==null?void 0:t.hooks.onComplete(Mn(i)):Mn(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 u=Object.fromEntries(Object.entries(s||{}).filter(l=>{let[d]=l;return!["class","className"].includes(d)}));return e(i.map(l=>l(u)),s==null?void 0:s.class,s==null?void 0:s.className)}},cva:o=>i=>{var a;if((o==null?void 0:o.variants)==null)return e(o==null?void 0:o.base,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:s,defaultVariants:u}=o,l=Object.keys(s).map(p=>{const f=i==null?void 0:i[p],v=u==null?void 0:u[p],h=Ki(f)||Ki(v);return s[p][h]}),d={...u,...i&&Object.entries(i).reduce((p,f)=>{let[v,h]=f;return typeof h>"u"?p:{...p,[v]:h}},{})},c=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,f)=>{let{class:v,className:h,...g}=f;return Object.entries(g).every(_=>{let[y,m]=_;const x=d[y];return Array.isArray(m)?m.includes(x):x===m})?[...p,v,h]:p},[]);return e(o==null?void 0:o.base,l,c,i==null?void 0:i.class,i==null?void 0:i.className)},cx:e}},{compose:R_,cva:Zt,cx:D_}=lu(),an=Zt({base:"fr animate-selected-tag justify-center touch-hitbox text-style-filter ease-expo-out rounded-interactive relative flex cursor-pointer items-center py-1 transition-all duration-snappy active:scale-95",variants:{variant:{neutral:"bg-interactive-neutral-bg pointer-fine:hover:bg-interactive-neutral-bg-hover text-interactive-neutral-text",accent:"bg-interactive-accent-bg pointer-fine:hover:bg-interactive-accent-bg-hover text-interactive-accent-text"},icon:{none:"",right:"",left:""},size:{sm:"py-1",lg:"py-2"}},compoundVariants:[{size:"sm",icon:"right",class:"pl-3 pr-1"},{size:"sm",icon:"left",class:"pl-1 pr-3"},{size:"sm",icon:"none",class:"px-3"},{size:"lg",icon:"none",class:"px-5"},{size:"lg",icon:"right",class:"pl-5 pr-3"}],defaultVariants:{variant:"neutral",icon:"none",size:"sm"}});var uu=0;function w(t,e,n,r,o,i){var a,s,u={};for(s in e)s=="ref"?a=e[s]:u[s]=e[s];var l={type:t,props:u,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--uu,__i:-1,__u:0,__source:o,__self:i};if(typeof t=="function"&&(a=t.defaultProps))for(s in a)u[s]===void 0&&(u[s]=a[s]);return C.vnode&&C.vnode(l),l}const du=({error:t,resetError:e})=>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:t.message}),w("button",{onClick:e,style:{background:"white",border:"none",cursor:"pointer",textAlign:"center",borderRadius:"4px",padding:"0.5rem 1rem"},children:"Retry"})]}),Gt=({error:t,resetError:e,class:n,...r})=>w("div",{class:Mn("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:"Sorry, this widget is unavailable at the moment."}),w("p",{class:"text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",children:t.message})]}),w("button",{class:an({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:e,children:"Retry"})]});class sn extends ht{constructor(){super(...arguments);li(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:()=>{console.log("resetting error"),this.setState({error:null})}})}return this.props.children}}const fu={briefcase:w(D,{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(D,{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(D,{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(D,{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(D,{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(D,{children:w("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:w(D,{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(D,{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"})]}),mapPin:w(D,{children:w(D,{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"})]})}),sunset:w(D,{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"})},pu=({theme:t})=>w("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:w("defs",{children:Object.entries(fu).map(([e,n])=>{var r;return w("symbol",{id:`i-icon-${e}`,children:w("g",{fill:"none","stroke-width":t.mode==="dark"&&((r=t.accessibility)==null?void 0:r.highContrast)!=!0?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})})})})}),Jt=({name:t,...e})=>w("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:w("use",{href:`#i-icon-${t}`})});var Ot,F,Nr,Xi,De=0,Zi=[],Fn=[],Gi=C.__b,Ji=C.__r,Qi=C.diffed,ta=C.__c,ea=C.unmount;function ve(t,e){C.__h&&C.__h(F,t,De||e),De=0;var n=F.__H||(F.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:Fn}),n.__[t]}function bt(t){return De=1,Mr(ia,t)}function Mr(t,e,n){var r=ve(Ot++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):ia(void 0,e),function(s){var u=r.__N?r.__N[0]:r.__[0],l=r.t(u,s);u!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=F,!F.u)){var o=function(s,u,l){if(!r.__c.__H)return!0;var d=r.__c.__H.__.filter(function(p){return p.__c});if(d.every(function(p){return!p.__N}))return!i||i.call(this,s,u,l);var c=!1;return d.forEach(function(p){if(p.__N){var f=p.__[0];p.__=p.__N,p.__N=void 0,f!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,u,l))};F.u=!0;var i=F.shouldComponentUpdate,a=F.componentWillUpdate;F.componentWillUpdate=function(s,u,l){if(this.__e){var d=i;i=void 0,o(s,u,l),i=d}a&&a.call(this,s,u,l)},F.shouldComponentUpdate=o}return r.__N||r.__}function $t(t,e){var n=ve(Ot++,3);!C.__s&&Ir(n.__H,e)&&(n.__=t,n.i=e,F.__H.__h.push(n))}function ge(t,e){var n=ve(Ot++,4);!C.__s&&Ir(n.__H,e)&&(n.__=t,n.i=e,F.__h.push(n))}function _t(t){return De=5,we(function(){return{current:t}},[])}function na(t,e,n){De=6,ge(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},n==null?n:n.concat(t))}function we(t,e){var n=ve(Ot++,7);return Ir(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__}function Le(t,e){return De=8,we(function(){return t},e)}function Fr(t){var e=F.context[t.__c],n=ve(Ot++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(F)),e.props.value):t.__}function Vr(t,e){C.useDebugValue&&C.useDebugValue(e?e(t):t)}function hu(t){var e=ve(Ot++,10),n=bt();return e.__=t,F.componentDidCatch||(F.componentDidCatch=function(r,o){e.__&&e.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function ra(){var t=ve(Ot++,11);if(!t.__){for(var e=F.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function _u(){for(var t;t=Zi.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Vn),t.__H.__h.forEach(Hr),t.__H.__h=[]}catch(e){t.__H.__h=[],C.__e(e,t.__v)}}C.__b=function(t){F=null,Gi&&Gi(t)},C.__r=function(t){Ji&&Ji(t),Ot=0;var e=(F=t.__c).__H;e&&(Nr===F?(e.__h=[],F.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Fn,n.__N=n.i=void 0})):(e.__h.forEach(Vn),e.__h.forEach(Hr),e.__h=[],Ot=0)),Nr=F},C.diffed=function(t){Qi&&Qi(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(Zi.push(e)!==1&&Xi===C.requestAnimationFrame||((Xi=C.requestAnimationFrame)||vu)(_u)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Fn&&(n.__=n.__V),n.i=void 0,n.__V=Fn})),Nr=F=null},C.__c=function(t,e){e.some(function(n){try{n.__h.forEach(Vn),n.__h=n.__h.filter(function(r){return!r.__||Hr(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],C.__e(r,n.__v)}}),ta&&ta(t,e)},C.unmount=function(t){ea&&ea(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Vn(r)}catch(o){e=o}}),n.__H=void 0,e&&C.__e(e,n.__v))};var oa=typeof requestAnimationFrame=="function";function vu(t){var e,n=function(){clearTimeout(r),oa&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);oa&&(e=requestAnimationFrame(n))}function Vn(t){var e=F,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),F=e}function Hr(t){var e=F;t.__c=t.__(),F=e}function Ir(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function ia(t,e){return typeof e=="function"?e(t):e}const Hn=t=>{const e=Object.entries(t.filter).sort(([n],[r])=>n.localeCompare(r)).map(([n,r])=>{var o;return(r==null?void 0:r.select)==="many"?`${n}=${(o=r.value)==null?void 0:o.sort().join("|")}`:`${n}=${r==null?void 0:r.value}`}).join("&");return`${t.baseKey}::${e}`},L_="",gu=t=>{const e=Object.entries(t).map(([n,r])=>(r==null?void 0:r.select)==="many"?[n.toString(),r.value??[]]:[n.toString(),(r==null?void 0:r.value)??""]);return Object.fromEntries(e)},wu=({analytics:t,apiClient:e,logger:n,theme:r,appliedFilters:o})=>{const[i,a]=bt();return $t(()=>{Promise.resolve().then(()=>O_).then(s=>a(s.jobAlertsPlugin()({analytics:t,apiClient:e,logger:n})))},[t,e,n]),$t(()=>{i==null||i.render({config:{label:"Create alert",headerText:"asd"},initialFilters:{},theme:r})}),$t(()=>{i==null||i.setFilters(gu(o))},[o,i]),w("div",{id:"inploi-job-alerts",class:"min-h-[36px]"})};function aa(t,e){for(var n in e)t[n]=e[n];return t}function Ur(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var r in e)if(r!=="__source"&&t[r]!==e[r])return!0;return!1}function In(t){this.props=t}function sa(t,e){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),e?!e(this.props,o)||!a:Ur(this.props,o)}function r(o){return this.shouldComponentUpdate=n,G(t,o)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(In.prototype=new ht).isPureReactComponent=!0,In.prototype.shouldComponentUpdate=function(t,e){return Ur(this.props,t)||Ur(this.state,e)};var ca=C.__b;C.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),ca&&ca(t)};var mu=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function la(t){function e(n){var r=aa({},n);return delete r.ref,t(r,n.ref||null)}return e.$$typeof=mu,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var ua=function(t,e){return t==null?null:Ct(Ct(t).map(e))},da={map:ua,forEach:ua,count:function(t){return t?Ct(t).length:0},only:function(t){var e=Ct(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:Ct},yu=C.__e;C.__e=function(t,e,n,r){if(t.then){for(var o,i=e;i=i.__;)if((o=i.__c)&&o.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),o.__c(t,e)}yu(t,e,n,r)};var fa=C.unmount;function pa(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),t.__c.__H=null),(t=aa({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return pa(r,e,n)})),t}function ha(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return ha(r,e,n)}),t.__c&&t.__c.__P===e&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}function cn(){this.__u=0,this.t=null,this.__b=null}function _a(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function va(t){var e,n,r;function o(i){if(e||(e=t()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw e;return G(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Ne(){this.u=null,this.o=null}C.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),fa&&fa(t)},(cn.prototype=new ht).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=_a(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 u=r.state.__a;r.__v.__k[0]=ha(u,u.__c.__P,u.__c.__O)}var l;for(r.setState({__a:r.__b=null});l=r.t.pop();)l.forceUpdate()}};r.__u++||32&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),t.then(a,a)},cn.prototype.componentWillUnmount=function(){this.t=[]},cn.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=pa(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__a&&G(D,null,t.fallback);return o&&(o.__u&=-33),[G(D,null,e.__a?null:t.children),o]};var ga=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function bu(t){return this.getChildContext=function(){return t.context},t.children}function xu(t){var e=this,n=t.i;e.componentWillUnmount=function(){Te(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(r){this.childNodes.push(r),e.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),e.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),e.i.removeChild(r)}}),Te(G(bu,{context:e.context},t.__v),e.l)}function wa(t,e){var n=G(xu,{__v:t,i:e});return n.containerInfo=e,n}(Ne.prototype=new ht).__a=function(t){var e=this,n=_a(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),ga(e,t,r)):o()};n?n(i):i()}},Ne.prototype.render=function(t){this.u=null,this.o=new Map;var e=Ct(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},Ne.prototype.componentDidUpdate=Ne.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){ga(t,n,e)})};var ma=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,ku=/^(?: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]/,$u=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ju=/[A-Z0-9]/g,Eu=typeof document<"u",Su=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function ya(t,e,n){return e.__k==null&&(e.textContent=""),Te(t,e),typeof n=="function"&&n(),t?t.__c:null}function ba(t,e,n){return Ar(t,e),typeof n=="function"&&n(),t?t.__c:null}ht.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(ht.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var xa=C.event;function Cu(){}function Ou(){return this.cancelBubble}function Au(){return this.defaultPrevented}C.event=function(t){return xa&&(t=xa(t)),t.persist=Cu,t.isPropagationStopped=Ou,t.isDefaultPrevented=Au,t.nativeEvent=t};var Wr,Pu={enumerable:!1,configurable:!0,get:function(){return this.class}},ka=C.vnode;C.vnode=function(t){typeof t.type=="string"&&function(e){var n=e.props,r=e.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||Eu&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var s=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&a===!0?a="":s==="ondoubleclick"?i="ondblclick":s!=="onchange"||r!=="input"&&r!=="textarea"||Su(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":$u.test(i)?i=s:r.indexOf("-")===-1&&ku.test(i)?i=i.replace(ju,"-$&").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=Ct(n.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Ct(n.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Pu)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(t),t.$$typeof=ma,ka&&ka(t)};var $a=C.__r;C.__r=function(t){$a&&$a(t),Wr=t.__c};var ja=C.diffed;C.diffed=function(t){ja&&ja(t);var e=t.props,n=t.__e;n!=null&&t.type==="textarea"&&"value"in e&&e.value!==n.value&&(n.value=e.value==null?"":e.value),Wr=null};var Ea={ReactCurrentDispatcher:{current:{readContext:function(t){return Wr.__n[t.__c].props.value}}}},Tu="17.0.2";function Sa(t){return G.bind(null,t)}function ln(t){return!!t&&t.$$typeof===ma}function Ca(t){return ln(t)&&t.type===D}function Oa(t){return ln(t)?Ll.apply(null,arguments):t}function Aa(t){return!!t.__k&&(Te(null,t),!0)}function Pa(t){return t&&(t.base||t.nodeType===1&&t)||null}var Ta=function(t,e){return t(e)},Ra=function(t,e){return t(e)},Da=D;function zr(t){t()}function La(t){return t}function Na(){return[!1,zr]}var Ma=ge,Fa=ln;function Va(t,e){var n=e(),r=bt({h:{__:n,v:e}}),o=r[0].h,i=r[1];return ge(function(){o.__=n,o.v=e,Br(o)&&i({h:o})},[t,n,e]),$t(function(){return Br(o)&&i({h:o}),t(function(){Br(o)&&i({h:o})})},[t]),n}function Br(t){var e,n,r=t.v,o=t.__;try{var i=r();return!((e=o)===(n=i)&&(e!==0||1/e==1/n)||e!=e&&n!=n)}catch{return!0}}var Un={useState:bt,useId:ra,useReducer:Mr,useEffect:$t,useLayoutEffect:ge,useInsertionEffect:Ma,useTransition:Na,useDeferredValue:La,useSyncExternalStore:Va,startTransition:zr,useRef:_t,useImperativeHandle:na,useMemo:we,useCallback:Le,useContext:Fr,useDebugValue:Vr,version:"17.0.2",Children:da,render:ya,hydrate:ba,unmountComponentAtNode:Aa,createPortal:wa,createElement:G,createContext:Pr,createFactory:Sa,cloneElement:Oa,createRef:gi,Fragment:D,isValidElement:ln,isElement:Fa,isFragment:Ca,findDOMNode:Pa,Component:ht,PureComponent:In,memo:sa,forwardRef:la,flushSync:Ra,unstable_batchedUpdates:Ta,StrictMode:Da,Suspense:cn,SuspenseList:Ne,lazy:va,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ea};const Ru=Object.freeze(Object.defineProperty({__proto__:null,Children:da,Component:ht,Fragment:D,PureComponent:In,StrictMode:Da,Suspense:cn,SuspenseList:Ne,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ea,cloneElement:Oa,createContext:Pr,createElement:G,createFactory:Sa,createPortal:wa,createRef:gi,default:Un,findDOMNode:Pa,flushSync:Ra,forwardRef:la,hydrate:ba,isElement:Fa,isFragment:Ca,isValidElement:ln,lazy:va,memo:sa,render:ya,startTransition:zr,unmountComponentAtNode:Aa,unstable_batchedUpdates:Ta,useCallback:Le,useContext:Fr,useDebugValue:Vr,useDeferredValue:La,useEffect:$t,useErrorBoundary:hu,useId:ra,useImperativeHandle:na,useInsertionEffect:Ma,useLayoutEffect:ge,useMemo:we,useReducer:Mr,useRef:_t,useState:bt,useSyncExternalStore:Va,useTransition:Na,version:Tu},Symbol.toStringTag,{value:"Module"}));function Du(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return t[r]}})}),n}var Yr={exports:{}},qr={};const Ha=Du(Ru);/**
|
|
2
2
|
* @license React
|
|
3
3
|
* use-sync-external-store-shim.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@ var Fi=Object.defineProperty;var Ui=(F,U,ge)=>U in F?Fi(F,U,{enumerable:!0,confi
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var Ia;function Lu(){if(Ia)return qr;Ia=1;var t=Ha;function e(c,p){return c===p&&(c!==0||1/c===1/p)||c!==c&&p!==p}var n=typeof Object.is=="function"?Object.is:e,r=t.useState,o=t.useEffect,i=t.useLayoutEffect,a=t.useDebugValue;function s(c,p){var f=p(),v=r({inst:{value:f,getSnapshot:p}}),h=v[0].inst,g=v[1];return i(function(){h.value=f,h.getSnapshot=p,u(h)&&g({inst:h})},[c,f,p]),o(function(){return u(h)&&g({inst:h}),c(function(){u(h)&&g({inst:h})})},[c]),a(f),f}function u(c){var p=c.getSnapshot;c=c.value;try{var f=p();return!n(c,f)}catch{return!0}}function l(c,p){return p()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:s;return qr.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:d,qr}var Kr={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* use-sync-external-store-shim.development.js
|
|
12
12
|
*
|
|
@@ -14,8 +14,980 @@ var Fi=Object.defineProperty;var Ui=(F,U,ge)=>U in F?Fi(F,U,{enumerable:!0,confi
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var zn;function ka(){return zn||(zn=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=Fn,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(y){{for(var k=arguments.length,S=new Array(k>1?k-1:0),j=1;j<k;j++)S[j-1]=arguments[j];n("error",y,S)}}function n(y,k,S){{var j=t.ReactDebugCurrentFrame,C=j.getStackAddendum();C!==""&&(k+="%s",S=S.concat([C]));var b=S.map(function(x){return String(x)});b.unshift("Warning: "+k),Function.prototype.apply.call(console[y],console,b)}}function o(y,k){return y===k&&(y!==0||1/y===1/k)||y!==y&&k!==k}var a=typeof Object.is=="function"?Object.is:o,i=e.useState,l=e.useEffect,d=e.useLayoutEffect,u=e.useDebugValue,f=!1,s=!1;function p(y,k,S){f||e.startTransition!==void 0&&(f=!0,r("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var j=k();if(!s){var C=k();a(j,C)||(r("The result of getSnapshot should be cached to avoid an infinite loop"),s=!0)}var b=i({inst:{value:j,getSnapshot:k}}),x=b[0].inst,A=b[1];return d(function(){x.value=j,x.getSnapshot=k,_(x)&&A({inst:x})},[y,j,k]),l(function(){_(x)&&A({inst:x});var Y=function(){_(x)&&A({inst:x})};return y(Y)},[y]),u(j),j}function _(y){var k=y.getSnapshot,S=y.value;try{var j=k();return!a(S,j)}catch{return!0}}function v(y,k,S){return k()}var g=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",m=!g,h=m?v:p,E=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:h;Ut.useSyncExternalStore=E,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ut}process.env.NODE_ENV==="production"?Ht.exports=xa():Ht.exports=ka();var ja=Ht.exports;const _e=()=>{},z=_e(),zt=Object,O=e=>e===z,ee=e=>typeof e=="function",he=(e,t)=>({...e,...t}),Ea=e=>ee(e.then),ft=new WeakMap;let Sa=0;const Ye=e=>{const t=typeof e,r=e&&e.constructor,n=r==Date;let o,a;if(zt(e)===e&&!n&&r!=RegExp){if(o=ft.get(e),o)return o;if(o=++Sa+"~",ft.set(e,o),r==Array){for(o="@",a=0;a<e.length;a++)o+=Ye(e[a])+",";ft.set(e,o)}if(r==zt){o="#";const i=zt.keys(e).sort();for(;!O(a=i.pop());)O(e[a])||(o+=a+":"+Ye(e[a])+",");ft.set(e,o)}}else o=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return o},te=new WeakMap,Wt={},pt={},Bt="undefined",_t=typeof window!=Bt,Kt=typeof document!=Bt,Ca=()=>_t&&typeof window.requestAnimationFrame!=Bt,Wn=(e,t)=>{const r=te.get(e);return[()=>!O(t)&&e.get(t)||Wt,n=>{if(!O(t)){const o=e.get(t);t in pt||(pt[t]=o),r[5](t,he(o,n),o||Wt)}},r[6],()=>!O(t)&&t in pt?pt[t]:!O(t)&&e.get(t)||Wt]};let qt=!0;const Oa=()=>qt,[Yt,Zt]=_t&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[_e,_e],Ra=()=>{const e=Kt&&document.visibilityState;return O(e)||e!=="hidden"},Ta=e=>(Kt&&document.addEventListener("visibilitychange",e),Yt("focus",e),()=>{Kt&&document.removeEventListener("visibilitychange",e),Zt("focus",e)}),Aa=e=>{const t=()=>{qt=!0,e()},r=()=>{qt=!1};return Yt("online",t),Yt("offline",r),()=>{Zt("online",t),Zt("offline",r)}},Da={isOnline:Oa,isVisible:Ra},La={initFocus:Ta,initReconnect:Aa},Bn=!dt.useId,Ze=!_t||"Deno"in window,$a=e=>Ca()?window.requestAnimationFrame(e):setTimeout(e,1),Gt=Ze?je:Ee,Jt=typeof navigator<"u"&&navigator.connection,Kn=!Ze&&Jt&&(["slow-2g","2g"].includes(Jt.effectiveType)||Jt.saveData),Xt=e=>{if(ee(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Ye(e):"",[e,t]};let Pa=0;const Qt=()=>++Pa,qn=0,Yn=1,Zn=2;var Ge={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:qn,MUTATE_EVENT:Zn,RECONNECT_EVENT:Yn};async function Gn(...e){const[t,r,n,o]=e,a=he({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let i=a.populateCache;const l=a.rollbackOnError;let d=a.optimisticData;const u=a.revalidate!==!1,f=_=>typeof l=="function"?l(_):l!==!1,s=a.throwOnError;if(ee(r)){const _=r,v=[],g=t.keys();for(const m of g)!/^\$(inf|sub)\$/.test(m)&&_(t.get(m)._k)&&v.push(m);return Promise.all(v.map(p))}return p(r);async function p(_){const[v]=Xt(_);if(!v)return;const[g,m]=Wn(t,v),[h,E,y,k]=te.get(t),S=()=>{const I=h[v];return u&&(delete y[v],delete k[v],I&&I[0])?I[0](Zn).then(()=>g().data):g().data};if(e.length<3)return S();let j=n,C;const b=Qt();E[v]=[b,0];const x=!O(d),A=g(),Y=A.data,Le=A._c,oe=O(Le)?Y:Le;if(x&&(d=ee(d)?d(oe,Y):d,m({data:d,_c:oe})),ee(j))try{j=j(oe)}catch(I){C=I}if(j&&Ea(j))if(j=await j.catch(I=>{C=I}),b!==E[v][0]){if(C)throw C;return j}else C&&x&&f(C)&&(i=!0,m({data:oe,_c:z}));if(i&&!C)if(ee(i)){const I=i(j,oe);m({data:I,error:z,_c:z})}else m({data:j,error:z,_c:z});if(E[v][1]=Qt(),Promise.resolve(S()).then(()=>{m({_c:z})}),C){if(s)throw C;return}return j}}const Jn=(e,t)=>{for(const r in e)e[r][0]&&e[r][0](t)},Va=(e,t)=>{if(!te.has(e)){const r=he(La,t),n={},o=Gn.bind(z,e);let a=_e;const i={},l=(f,s)=>{const p=i[f]||[];return i[f]=p,p.push(s),()=>p.splice(p.indexOf(s),1)},d=(f,s,p)=>{e.set(f,s);const _=i[f];if(_)for(const v of _)v(s,p)},u=()=>{if(!te.has(e)&&(te.set(e,[n,{},{},{},o,d,l]),!Ze)){const f=r.initFocus(setTimeout.bind(z,Jn.bind(z,n,qn))),s=r.initReconnect(setTimeout.bind(z,Jn.bind(z,n,Yn)));a=()=>{f&&f(),s&&s(),te.delete(e)}}};return u(),[e,o,u,a]}return[e,te.get(e)[4]]},Na=(e,t,r,n,o)=>{const a=r.errorRetryCount,i=o.retryCount,l=~~((Math.random()+.5)*(1<<(i<8?i:8)))*r.errorRetryInterval;!O(a)&&i>a||setTimeout(n,l,o)},Ma=(e,t)=>Ye(e)==Ye(t),[Xn,Ia]=Va(new Map),Ha=he({onLoadingSlow:_e,onSuccess:_e,onError:_e,onErrorRetry:Na,onDiscarded:_e,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Kn?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Kn?5e3:3e3,compare:Ma,isPaused:()=>!1,cache:Xn,mutate:Ia,fallback:{}},Da),Fa=(e,t)=>{const r=he(e,t);if(t){const{use:n,fallback:o}=e,{use:a,fallback:i}=t;n&&a&&(r.use=n.concat(a)),o&&i&&(r.fallback=he(o,i))}return r},Ua=Et({}),za="$inf$",Qn=_t&&window.__SWR_DEVTOOLS_USE__,Wa=Qn?window.__SWR_DEVTOOLS_USE__:[],Ba=()=>{Qn&&(window.__SWR_DEVTOOLS_REACT__=dt)},Ka=e=>ee(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],qa=()=>he(Ha,Dt(Ua)),Ya=e=>(t,r,n)=>e(t,r&&((...a)=>{const[i]=Xt(t),[,,,l]=te.get(Xn);if(i.startsWith(za))return r(...a);const d=l[i];return O(d)?r(...a):(delete l[i],d)}),n),Za=Wa.concat(Ya),Ga=e=>function(...r){const n=qa(),[o,a,i]=Ka(r),l=Fa(n,i);let d=e;const{use:u}=l,f=(u||[]).concat(Za);for(let s=f.length;s--;)d=f[s](d);return d(o,a||l.fetcher||null,l)},Ja=(e,t,r)=>{const n=t[e]||(t[e]=[]);return n.push(r),()=>{const o=n.indexOf(r);o>=0&&(n[o]=n[n.length-1],n.pop())}};Ba();const eo=dt.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),er={dedupe:!0},tr=Ga((e,t,r)=>{const{cache:n,compare:o,suspense:a,fallbackData:i,revalidateOnMount:l,revalidateIfStale:d,refreshInterval:u,refreshWhenHidden:f,refreshWhenOffline:s,keepPreviousData:p}=r,[_,v,g,m]=te.get(n),[h,E]=Xt(e),y=B(!1),k=B(!1),S=B(h),j=B(t),C=B(r),b=()=>C.current,x=()=>b().isVisible()&&b().isOnline(),[A,Y,Le,oe]=Wn(n,h),I=B({}).current,Vi=O(i)?r.fallback[h]:i,so=(D,L)=>{for(const M in I){const P=M;if(P==="data"){if(!o(D[P],L[P])&&(!O(D[P])||!o(wt,L[P])))return!1}else if(L[P]!==D[P])return!1}return!0},lo=Se(()=>{const D=(()=>!h||!t?!1:O(l)?b().isPaused()||a?!1:O(d)?!0:d:l)(),L=H=>{const ae=he(H);return delete ae._k,D?{isValidating:!0,isLoading:!0,...ae}:ae},M=A(),P=oe(),G=L(M),Ne=M===P?G:L(P);let N=G;return[()=>{const H=L(A());return so(H,N)?(N.data=H.data,N.isLoading=H.isLoading,N.isValidating=H.isValidating,N.error=H.error,N):(N=H,H)},()=>Ne]},[n,h]),$e=ja.useSyncExternalStore(Ae(D=>Le(h,(L,M)=>{so(M,L)||D()}),[n,h]),lo[0],lo[1]),co=!y.current,Ni=_[h]&&_[h].length>0,Pe=$e.data,Ve=O(Pe)?Vi:Pe,vt=$e.error,uo=B(Ve),wt=p?O(Pe)?uo.current:Pe:Ve,fo=(()=>Ni&&!O(vt)?!1:co&&!O(l)?l:b().isPaused()?!1:a?O(Ve)?!1:d:O(Ve)||d)(),po=!!(h&&t&&co&&fo),Mi=O($e.isValidating)?po:$e.isValidating,Ii=O($e.isLoading)?po:$e.isLoading,Je=Ae(async D=>{const L=j.current;if(!h||!L||k.current||b().isPaused())return!1;let M,P,G=!0;const Ne=D||{},N=!g[h]||!Ne.dedupe,H=()=>Bn?!k.current&&h===S.current&&y.current:h===S.current,ae={isValidating:!1,isLoading:!1},ho=()=>{Y(ae)},go=()=>{const q=g[h];q&&q[1]===P&&delete g[h]},vo={isValidating:!0};O(A().data)&&(vo.isLoading=!0);try{if(N&&(Y(vo),r.loadingTimeout&&O(A().data)&&setTimeout(()=>{G&&H()&&b().onLoadingSlow(h,r)},r.loadingTimeout),g[h]=[L(E),Qt()]),[M,P]=g[h],M=await M,N&&setTimeout(go,r.dedupingInterval),!g[h]||g[h][1]!==P)return N&&H()&&b().onDiscarded(h),!1;ae.error=z;const q=v[h];if(!O(q)&&(P<=q[0]||P<=q[1]||q[1]===0))return ho(),N&&H()&&b().onDiscarded(h),!1;const ie=A().data;ae.data=o(ie,M)?ie:M,N&&H()&&b().onSuccess(M,h,r)}catch(q){go();const ie=b(),{shouldRetryOnError:lr}=ie;ie.isPaused()||(ae.error=q,N&&H()&&(ie.onError(q,h,ie),(lr===!0||ee(lr)&&lr(q))&&x()&&ie.onErrorRetry(q,h,ie,Hi=>{const cr=_[h];cr&&cr[0]&&cr[0](Ge.ERROR_REVALIDATE_EVENT,Hi)},{retryCount:(Ne.retryCount||0)+1,dedupe:!0})))}return G=!1,ho(),!0},[h,n]),_o=Ae((...D)=>Gn(n,S.current,...D),[]);if(Gt(()=>{j.current=t,C.current=r,O(Pe)||(uo.current=Pe)}),Gt(()=>{if(!h)return;const D=Je.bind(z,er);let L=0;const P=Ja(h,_,(G,Ne={})=>{if(G==Ge.FOCUS_EVENT){const N=Date.now();b().revalidateOnFocus&&N>L&&x()&&(L=N+b().focusThrottleInterval,D())}else if(G==Ge.RECONNECT_EVENT)b().revalidateOnReconnect&&x()&&D();else{if(G==Ge.MUTATE_EVENT)return Je();if(G==Ge.ERROR_REVALIDATE_EVENT)return Je(Ne)}});return k.current=!1,S.current=h,y.current=!0,Y({_k:E}),fo&&(O(Ve)||Ze?D():$a(D)),()=>{k.current=!0,P()}},[h]),Gt(()=>{let D;function L(){const P=ee(u)?u(A().data):u;P&&D!==-1&&(D=setTimeout(M,P))}function M(){!A().error&&(f||b().isVisible())&&(s||b().isOnline())?Je(er).then(L):L()}return L(),()=>{D&&(clearTimeout(D),D=-1)}},[u,f,s,h]),Lt(wt),a&&O(Ve)&&h){if(!Bn&&Ze)throw new Error("Fallback data is required when using suspense in SSR.");j.current=t,C.current=r,k.current=!1;const D=m[h];if(!O(D)){const L=_o(D);eo(L)}if(O(vt)){const L=Je(er);O(wt)||(L.status="fulfilled",L.value=!0),eo(L)}else throw vt}return{mutate:_o,get data(){return I.data=!0,wt},get error(){return I.error=!0,vt},get isValidating(){return I.isValidating=!0,Mi},get isLoading(){return I.isLoading=!0,Ii}}}),re=de({base:"truncate max-w-full block fr font-style-tag font-family-tag font-weight-tag text-style-tag",variants:{variant:{neutralWeak:"bg-tag-neutral-weak-bg border-solid border-px text-tag-neutral-weak-copy border-tag-neutral-weak-stroke",neutralStrong:"text-tag-neutral-strong-copy border-solid border-px bg-tag-neutral-strong-bg border-tag-neutral-strong-stroke",accentStrong:"text-tag-accent-strong-copy border-solid border-px bg-tag-accent-strong-bg border-tag-accent-strong-stroke",monetaryWeak:"bg-tag-monetary-weak-bg text-tag-monetary-weak-copy 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}}),Xa=({query:e,property:t,selectedValues:r})=>{switch(e.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const o=(e.data[t.key]??[]).filter(a=>r.includes(a.value));switch(o.length){case 0:return null;case 1:{const a=o[0];return U(a),c("span",{class:re({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:a.label})}default:return c("span",{class:re({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current truncate tabular-nums"}),children:o.length})}}default:F(e)}},to=8,ro=42,Qa=8,ei=6,ti=4,ri=de({base:"py-2 fr bg-lowest caret-accent-11 placeholder:text-neutral-10 ring-job-card-stroke ring-width-section px-4 ease-expo-out duration-snappy transition-all rounded-input font-style-input text-style-input font-weight-input",variants:{hasValue:{false:"text-copy-neutral",true:"text-copy-accent"}}}),ni=(e,t)=>{const r=e.indexOf(t);return r===-1?[...e,t]:e.filter((n,o)=>o!==r)},oi=({value:e,property:t,onSkip:r,useQuery:n,onValueChange:o,unfilteredQuery:a,onRender:i})=>{const l=Ot(n()),d=Se(()=>{switch(l.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const g=l.data[t.key]??[];return Object.fromEntries(g.map(m=>[m.value,!0]))}default:F(l)}},[l,t.key]),u=no(e),f=u.length>0,[s,p]=Z(to),[_,v]=Z();return je(()=>{i()}),l.state==="error"?c(fe,{error:new Error("We’re having trouble loading available filters.",{cause:l.error}),resetError:()=>l.swr.mutate()}):c("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[t.searchable&&c("div",{class:"top-0 px-4 py-1",children:c("input",{type:"text",class:ri({hasValue:f}),value:_,onInput:g=>v(g.currentTarget.value),placeholder:"Type to search"})}),(()=>{switch(a.state){case"error":return c(fe,{error:new Error("We’re having trouble loading available filters.",{cause:a.error}),resetError:()=>a.swr.mutate()});case"loading":return c("div",{class:"flex px-4",children:c("div",{"aria-hidden":!0,class:re({size:"lg",variant:"neutralStrong",interactive:!0,class:"animate-skeleton cursor-default opacity-20 active:-scale-100"}),children:c("span",{class:"inline-block w-[10ch]"})})});case"revalidating":case"loaded":{const g=a.data[t.key]??[],h=(_&&_.length>1?g.filter(y=>y.label.toLowerCase().includes(_.toLowerCase())):g).map(y=>({...y,disabled:d===null?!1:d[y.value]!==!0}));return h.find(y=>!y.disabled)?c("div",{class:"pointer-fine:px-4",children:c("ul",{style:{maxHeight:(ro+Qa)*(ei-1)+ro/2+2*ti},class:"hide-scrollbars pointer-fine:flex-wrap pointer-fine:p-2 pointer-fine:ring-width-section ring-section-weak-stroke pointer-fine:bg-app pointer-fine:rounded-section pointer-coarse:overflow-x-auto flex max-w-full gap-2 overflow-y-auto px-4",children:[h.slice(0,s).map(y=>{const k=u.includes(y.value);return c("li",{class:"animate-appear-tag max-w-full origin-top",children:c("button",{disabled:y.disabled,"data-filter":!0,"data-current-value":k?"true":void 0,onClick:()=>{switch(e.select){case"many":{const S=ni(u,y.value);o({select:"many",value:S});break}case"one":o({select:"one",value:y.value});break;default:F(e)}},class:re({size:"lg",variant:k?"accentStrong":"neutralStrong",interactive:!0,disabled:y.disabled,class:"ijs-filter-tag"}),children:y.label})},y.value)}),h.length>s&&c("li",{class:"animate-appear-tag pointer-fine:w-full max-w-full flex-none origin-top",children:c("button",{class:We({variant:"neutral",icon:"right",size:"lg",class:"border-px flex w-full max-w-full flex-none flex-nowrap justify-center truncate border-transparent"}),onClick:()=>{p(s+to)},children:[c("span",{class:"font-style-tag font-family-tag font-weight-tag text-style-tag",children:"Show More"}),c(pe,{"aria-hidden":!0,name:"plus"})]})})]})}):c("p",{class:"font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",children:"No filter options available."})}default:F(a)}})(),c("footer",{class:"flex justify-end p-2",children:[c("div",{class:"flex-1",children:f&&c("button",{class:We({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[c(pe,{"aria-hidden":!0,name:"x"})," Clear"]})}),e.select==="many"&&c("div",{class:"flex items-center overflow-hidden",children:c("p",{class:"font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",children:[u.length," selected"]})}),c("div",{class:"flex-1",children:c("button",{class:We({variant:f?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:r,children:[f?"Done":"Skip"," ",c(pe,{name:"chevron-right"})]},f?"done":"skip")})]})]})},ai={contract_type:"clock",title:"magnifier",city:"mapPin",town:"mapPin",address_1:"mapPin",address_2:"mapPin",country:"mapPin",company_name:"briefcase",category:"briefcase"},ii=de({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"}}}),si=de({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"}}}),li=de({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),ci=e=>{const t=B(null),[r,n]=Z(0),o=()=>{var a;return n(((a=t.current)==null?void 0:a.clientHeight)??0)};return Ee(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),e),{height:r,ref:t,updateHeight:o}},no=e=>typeof e.value=="string"?[e.value]:e.value??[],ui=({active:e,value:t,onActiveChange:r,property:n,onSkip:o,onValueChange:a,unfilteredQuery:i,useQuery:l})=>{const d=n.icon??ai[n.key]??"filter",u=no(t),{height:f,ref:s,updateHeight:p}=ci([e]),_=u.length>0;return c("section",{"data-filter-key":n.key,role:"tab","aria-label":n.label,"aria-selected":e?"true":void 0,class:ii({hasValue:_}),onTouchStart:_i,children:[c("div",{class:"min-w-0 max-w-full shrink-0 flex-grow",children:[c("button",{"aria-label":e?"Close filter":"Open filter",class:si({state:e?"active":_?"filled":"default",class:"ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"}),onClick:()=>r(!e),children:[c(pe,{"aria-hidden":!0,class:"flex-none",name:d}),c("p",{children:n.label})]}),c("div",{class:"ease-expo-out duration-snappy relative overflow-hidden transition-all",style:{height:f},children:c("div",{class:"w-full",ref:s,children:e&&c(oi,{useQuery:l,onRender:p,onSkip:o,onValueChange:a,unfilteredQuery:i,property:n,value:t})})})]}),!e&&c("button",{tabIndex:-1,class:"fr-child flex flex-shrink flex-grow cursor-pointer select-none items-center justify-end gap-2 overflow-hidden pl-2 pr-3 focus:outline-none",onClick:()=>r(!0),children:[c("div",{"aria-label":"Current value",class:"flex max-w-full gap-1 overflow-hidden",children:c(Xa,{property:n,query:i,selectedValues:u})}),c(pe,{"aria-hidden":!0,class:li(),name:"chevron-right"})]})]})},di=e=>{const t=B();return je(()=>{t.current=e},[e]),t.current},fi=(e,t)=>{var o;const r=(o=t.current)==null?void 0:o.querySelector(`[data-filter-key="${e}"]`),n=(r==null?void 0:r.querySelector("[data-current-value]"))??(r==null?void 0:r.querySelector("[data-filter]"));n&&(U(n instanceof HTMLButtonElement,"option must be button"),n.focus())},pi=(e,t)=>{const r=di(e);je(()=>{if(r===e)return;const n=e??r;n&&fi(n,t)},[e,r,t])};function _i(){}const hi=({property:e,value:t,activeKey:r,properties:n,appliedFilters:o})=>{var a,i;switch(t==null?void 0:t.select){case void 0:return{newValue:void 0,newActiveKey:r};case"many":return{newValue:t,newActiveKey:r};case"one":{const l=n.findIndex(s=>s.key===e.key),d=l!==-1?(a=n[l+1])==null?void 0:a.key:void 0,f=(d?((i=o[d])==null?void 0:i.value)!==void 0:!1)?void 0:d;return{newValue:t,newActiveKey:f}}default:F(t)}},gi=({properties:e,parentRef:t,appliedFilters:r,onFilterValueChange:n,apiClient:o,logger:a})=>{var s;const[i,l]=Z((s=e[0])==null?void 0:s.key);pi(i,t);const d=Se(()=>rr(e.map(({value:p,..._})=>_)),[e]),u=Ot(tr(ct({filter:d,baseKey:"filters"}),()=>Br({apiClient:o,logger:a,filters:d}),Rt)),f=Ae(p=>()=>{const _={...r,[p]:d[p]};return tr(ct({filter:_,baseKey:"filters"}),()=>Br({apiClient:o,logger:a,filters:_}),Rt)},[o,r,d,a]);return u.state==="error"?c(fe,{error:new Error("We’re having trouble loading available filters.",{cause:u.error}),resetError:()=>u.swr.mutate()}):c("aside",{children:c("div",{role:"tablist",class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:e.map(p=>{const _=i===p.key,v=r[p.key]??{select:p.select,value:void 0},g=E=>{const{newActiveKey:y,newValue:k}=hi({property:p,activeKey:i,value:E,properties:e,appliedFilters:r});return l(y),n(p.key,k)},m=E=>l(E?p.key:void 0),h=f(p.key);return c(Be,{Fallback:fe,children:c(ui,{unfilteredQuery:u,active:_,property:p,onActiveChange:m,value:v,onSkip:()=>{var k;const E=e.findIndex(S=>S.key===i),y=E!==-1?(k=e[E+1])==null?void 0:k.key:void 0;l(y)},useQuery:h,onValueChange:g})},p.key)})})})},ht=({chars:e})=>c("span",{style:{width:e+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),oo=de({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}}),vi=de({base:"bg-tag-accent-strong-bg rounded-job-tag text-style-tag text-tag-accent-strong-copy font-weight-tag flex items-center justify-center px-2"}),ao=({job:e,property:t})=>{switch(typeof t){case"string":return ge(t,e.raw)?e.raw[t]:null;case"object":return e.customData&&t.transform(e.customData[t.key]);default:F(t)}},wi=({job:e,config:t})=>{const r=t.subheading?ao({job:e,property:t.subheading}):null,n=t.infoTags.map(o=>ao({job:e,property:o})).filter(Boolean);return c("a",{href:e.href,class:oo(),children:[c("div",{class:"flex min-w-0 flex-1 flex-col gap-4",children:[c("div",{class:"gap-logo flex items-center",children:[!t.logo||t.logo==="hidden"?null:c("div",{class:"rounded-logo bg-neutral-1 h-12 flex-none overflow-hidden",style:{aspectRatio:t.logo.replace(":","/")},children:e.company.logo?c("img",{src:e.company.logo,alt:e.company.name,class:"h-full w-full select-none object-contain [-webkit-user-drag:none]"}):null}),c("div",{class:"flex flex-col items-start gap-1",children:[c("div",{class:"order-2 flex flex-col gap-1",children:[c("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:e.title}),r?c("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:r}):null]}),e.isNew?c("span",{class:vi({class:"order-1"}),children:"NEW"}):c("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:["Posted ",e.relativePostedDate]})]})]}),c("div",{class:"flex min-w-0 flex-col items-start gap-2",children:[e.pay&&c("span",{class:re({variant:"monetaryWeak",size:"xs"}),children:e.pay}),n.length>0&&c("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:n.map(o=>c("li",{class:re({size:"xs"}),children:o},o))})]})]}),c("div",{"aria-hidden":!0,class:"flex items-center",children:c(pe,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},io=({config:e,animationDelay:t,seed:r})=>c("div",{"aria-hidden":!0,style:{animationDelay:t+"s"},class:oo({interactive:!1}),children:[c("div",{class:"flex flex-1 flex-col gap-4",children:[c("div",{class:"flex items-center gap-4",children:[!e.logo||e.logo==="hidden"?null:c("div",{class:"rounded-logo bg-copy-neutral h-12 opacity-25",style:{aspectRatio:e.logo.replace(":","/")}}),c("div",{class:"flex flex-col items-start gap-1",children:[c("p",{class:"text-style-job-card-info text-copy-job-info",children:c(ht,{chars:12})}),c("div",{class:"flex flex-col gap-1",children:[c("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:c(ht,{chars:13+(r+5)*r%7})}),e.subheading!==null?c("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:c(ht,{chars:7+r*r%3})}):null]})]})]}),c("div",{class:"flex flex-col items-start gap-2",children:[r%2===0&&c("span",{class:re({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),c("div",{class:"flex items-center gap-2",children:[c("span",{class:re({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),c("span",{class:re({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),c("div",{"aria-hidden":!0,class:"flex items-center",children:c(pe,{name:"chevron-right",class:"text-copy-neutral-icon"})})]}),mi=({state:e,fetchNextPage:t,config:r})=>e==="revalidating"?c("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:ot}).map((n,o)=>c("li",{children:c(io,{seed:o,animationDelay:(o-4)*.1,config:r})},o))}):c("button",{class:We({variant:"neutral",class:"py-2"}),onClick:t,children:"Load More"}),yi=({pagination:e})=>(U(e.total>=0),e.total===1?"1 job found":`${e.total} jobs found`),bi=({appliedFilters:e,apiClient:t,logger:r,jobCardConfig:n,initialData:o})=>{const[a,i]=Z(1);return c(R,{children:Array.from({length:a}).map((l,d)=>{const u=d===a-1;return c(Be,{Fallback:fe,children:c(xi,{appliedFilters:e,apiClient:t,logger:r,page:d+1,isFirst:d===0,isLast:u,fetchNextPage:()=>i(a+1),jobCardConfig:n,initialData:o},d)},d)})})},xi=({appliedFilters:e,apiClient:t,logger:r,page:n,isFirst:o,isLast:a,fetchNextPage:i,jobCardConfig:l,initialData:d})=>{const u=n===1?d:void 0,{data:f,error:s,state:p,swr:_}=Ot(tr(ct({filter:e,baseKey:n.toString()}),()=>Kr({apiClient:t,logger:r,filters:e,page:n}),{...Rt,fallbackData:u}));switch(p){case"loading":return c(R,{children:[o&&c("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:c(ht,{chars:8})}),c("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:ot}).map((v,g)=>c("li",{children:c(io,{seed:g,animationDelay:(g-ot)*.1,config:l})},g))})]});case"error":return c(fe,{class:"-m-4",error:new Error("We’re having trouble loading available jobs.",{cause:s}),resetError:()=>_.mutate()});case"revalidating":case"loaded":{if(U(f.pagination.current_page===n,"Received wrong page from server"),f.pagination.total===0)return c("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[c(pe,{"aria-hidden":!0,name:"magnifier",class:"text-copy-neutral-lowcontrast"}),c("div",{class:"flex flex-col items-center gap-1",children:[c("p",{class:"text-copy-neutral text-style-job-heading",children:"No jobs found"}),c("p",{class:"text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",children:"We could not find any jobs matching your filtering criteria."})]})]});const v=f.pagination.last_page!==f.pagination.current_page;return c(R,{children:[o&&c("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:yi({pagination:f.pagination})}),c("ul",{"aria-label":`Page ${n}`,class:"flex flex-col gap-3",children:f.results.map(g=>c("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:p==="revalidating"?.33:1},children:c(wi,{job:g,config:l})},g.id))}),v&&a&&c(mi,{state:p,fetchNextPage:i,config:l})]})}default:F(p)}},rr=e=>e.reduce((t,r)=>{switch(r.select){case"one":t[r.key]={select:r.select,value:r.value};break;case"many":t[r.key]={select:r.select,value:r.value?[r.value]:[]};break;default:F(r.select)}return t},{}),ki=({apiClient:e,logger:t,properties:r,class:n,jobCardConfig:o,initialData:a,onFilterChange:i})=>{const l=B(null),[d,u]=Z(()=>rr(r));return c("div",{ref:l,class:n,id:zr,children:c("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:[c(Be,{Fallback:fe,children:c(gi,{appliedFilters:d,onFilterValueChange:(f,s)=>{u(p=>(i==null||i({...p,[f]:s}),{...p,[f]:s}))},properties:r,parentRef:l,logger:t,apiClient:e})}),c("div",{class:"md:col-span-2",children:c("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:c(Be,{Fallback:fe,children:c(bi,{appliedFilters:d,logger:t,apiClient:e,jobCardConfig:o,initialData:a==null?void 0:a.jobs},ct({filter:d,baseKey:"resultsSection"}))})})})]})})},ji=`#ijs{font-size:16px;--tw-content: ""}#ijs *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}#ijs :before,#ijs :after{box-sizing:border-box}#ijs :is(a){text-decoration:none}#ijs :is(ul,ol){list-style:none;padding:0;margin:0}#ijs :is(p){margin:0;padding:0}#ijs :is(li){margin:0;padding:0;list-style:none}#ijs :is(button),#ijs :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ijs :is(input),#ijs :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}#ijs :is(svg){display:block}#ijs.reduced-motion *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}@media (prefers-reduced-motion){#ijs *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}#ijs *,#ijs :before,#ijs :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }#ijs ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }#ijs .container{width:100%}@media (min-width: 640px){#ijs .container{max-width:640px}}@media (min-width: 768px){#ijs .container{max-width:768px}}@media (min-width: 1024px){#ijs .container{max-width:1024px}}@media (min-width: 1280px){#ijs .container{max-width:1280px}}@media (min-width: 1536px){#ijs .container{max-width:1536px}}#ijs .pointer-events-none{pointer-events:none}#ijs .visible{visibility:visible}#ijs .invisible{visibility:hidden}#ijs .collapse{visibility:collapse}#ijs .static{position:static}#ijs .fixed{position:fixed}#ijs .absolute{position:absolute}#ijs .relative{position:relative}#ijs .sticky{position:sticky}#ijs .top-0{top:0}#ijs .isolate{isolation:isolate}#ijs .order-1{order:1}#ijs .order-2{order:2}#ijs .-m-4{margin:-1rem}#ijs .m-0{margin:0}#ijs .m-11{margin:2.75rem}#ijs .m-3{margin:.75rem}#ijs .m-4{margin:1rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .ml-auto{margin-left:auto}#ijs .block{display:block}#ijs .inline-block{display:inline-block}#ijs .inline{display:inline}#ijs .flex{display:flex}#ijs .inline-flex{display:inline-flex}#ijs .table{display:table}#ijs .table-row{display:table-row}#ijs .flow-root{display:flow-root}#ijs .grid{display:grid}#ijs .inline-grid{display:inline-grid}#ijs .contents{display:contents}#ijs .list-item{display:list-item}#ijs .\\!hidden{display:none!important}#ijs .hidden{display:none}#ijs .h-12{height:3rem}#ijs .h-8{height:2rem}#ijs .h-\\[1lh\\]{height:1lh}#ijs .h-full{height:100%}#ijs .min-h-\\[1em\\]{min-height:1em}#ijs .min-h-screen{min-height:100vh}#ijs .w-\\[10ch\\]{width:10ch}#ijs .w-\\[6ch\\]{width:6ch}#ijs .w-\\[8ch\\]{width:8ch}#ijs .w-full{width:100%}#ijs .min-w-0{min-width:0px}#ijs .max-w-full{max-width:100%}#ijs .max-w-screen-lg{max-width:1024px}#ijs .flex-1{flex:1 1 0%}#ijs .flex-none{flex:none}#ijs .flex-shrink,#ijs .shrink{flex-shrink:1}#ijs .shrink-0{flex-shrink:0}#ijs .flex-grow,#ijs .grow{flex-grow:1}#ijs .border-collapse{border-collapse:collapse}#ijs .origin-\\[50\\%_1\\.75rem\\]{transform-origin:50% 1.75rem}#ijs .origin-top{transform-origin:top}#ijs .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes appear-tag{0%{transform:scale(.9)}to{transform:scale(1)}}#ijs .animate-appear-tag{animation:appear-tag .6s cubic-bezier(.16,1,.3,1) both}@keyframes selected-tag{0%{transform:scale(1.11)}to{transform:scale(1)}}#ijs .animate-selected-tag{animation:selected-tag .9s cubic-bezier(.16,1,.3,1)}@keyframes skeleton{0%{opacity:.2}50%{opacity:.6}to{opacity:.25}}#ijs .animate-skeleton{animation:skeleton 1.2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-50%)}to{transform:translateY(0)}}#ijs .animate-slide-in-bottom{animation:slide-in-bottom .4s cubic-bezier(.16,1,.3,1) both}#ijs .cursor-default{cursor:default}#ijs .cursor-pointer{cursor:pointer}#ijs .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}#ijs .resize{resize:both}#ijs .flex-col{flex-direction:column}#ijs .flex-wrap{flex-wrap:wrap}#ijs .flex-nowrap{flex-wrap:nowrap}#ijs .items-start{align-items:flex-start}#ijs .items-center{align-items:center}#ijs .justify-end{justify-content:flex-end}#ijs .justify-center{justify-content:center}#ijs .gap-1{gap:.25rem}#ijs .gap-2{gap:.5rem}#ijs .gap-3{gap:.75rem}#ijs .gap-4{gap:1rem}#ijs .gap-logo{gap:var(--i-logo-gap)}#ijs .self-center{align-self:center}#ijs .overflow-hidden{overflow:hidden}#ijs .overflow-y-auto{overflow-y:auto}#ijs .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#ijs .rounded-app{border-radius:var(--i-radius-app)}#ijs .rounded-input{border-radius:var(--i-radius-input)}#ijs .rounded-interactive{border-radius:var(--i-radius-interactive)}#ijs .rounded-job-card{border-radius:var(--i-radius-job-card)}#ijs .rounded-job-tag{border-radius:var(--i-radius-job-tag)}#ijs .rounded-logo{border-radius:var(--i-radius-logo)}#ijs .rounded-section{border-radius:var(--i-radius-section)}#ijs .rounded-tag{border-radius:var(--i-radius-job-tag)}#ijs .border-px{border-width:1px}#ijs .border-solid{border-style:solid}#ijs .border-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-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-section-strong-bg{background-color:var(--i-section-strong-bg)}#ijs .bg-section-weak-bg{background-color:var(--i-section-weak-bg)}#ijs .bg-tag-accent-strong-bg{background-color:var(--i-tag-accent-strong-bg)}#ijs .bg-tag-monetary-weak-bg{background-color:var(--i-tag-monetary-weak-bg)}#ijs .bg-tag-neutral-strong-bg{background-color:var(--i-tag-neutral-strong-bg)}#ijs .bg-tag-neutral-weak-bg{background-color:var(--i-tag-neutral-weak-bg)}#ijs .object-contain{-o-object-fit:contain;object-fit:contain}#ijs .p-0{padding:0}#ijs .p-2{padding:.5rem}#ijs .p-4{padding:1rem}#ijs .p-6{padding:1.5rem}#ijs .px-2{padding-left:.5rem;padding-right:.5rem}#ijs .px-3{padding-left:.75rem;padding-right:.75rem}#ijs .px-4{padding-left:1rem;padding-right:1rem}#ijs .px-5{padding-left:1.25rem;padding-right:1.25rem}#ijs .py-1{padding-top:.25rem;padding-bottom:.25rem}#ijs .py-2{padding-top:.5rem;padding-bottom:.5rem}#ijs .py-4{padding-top:1rem;padding-bottom:1rem}#ijs .pl-1{padding-left:.25rem}#ijs .pl-2{padding-left:.5rem}#ijs .pl-3{padding-left:.75rem}#ijs .pl-4{padding-left:1rem}#ijs .pl-5{padding-left:1.25rem}#ijs .pr-1{padding-right:.25rem}#ijs .pr-3{padding-right:.75rem}#ijs .pr-5{padding-right:1.25rem}#ijs .pt-1{padding-top:.25rem}#ijs .text-center{text-align:center}#ijs .text-justify{text-align:justify}#ijs .font-family-default{font-family:var(--i-font)}#ijs .font-family-filter{font-family:var(--i-font-filter)}#ijs .font-family-job-heading{font-family:var(--i-font-job-heading)}#ijs .font-family-tag{font-family:var(--i-font-tag)}#ijs .text-style-filter{font-size:1rem;line-height:1.5rem;letter-spacing:-.01em}#ijs .text-style-input{font-size:1rem;line-height:1.5rem}#ijs .text-style-job-card{font-size:.875rem;line-height:1.125rem}#ijs .text-style-job-card-info{font-size:.75rem;line-height:1.125rem}#ijs .text-style-job-heading{font-size:1.125rem;line-height:1.5rem}#ijs .text-style-tag{font-size:.875rem;line-height:1.5rem}#ijs .font-weight-default{font-weight:var(--i-weight-default)}#ijs .font-weight-filter{font-weight:var(--i-weight-filter)}#ijs .font-weight-input{font-weight:var(--i-weight-input)}#ijs .font-weight-job-heading{font-weight:var(--i-weight-job-heading)}#ijs .font-weight-tag{font-weight:var(--i-weight-tag)}#ijs .uppercase{text-transform:uppercase}#ijs .lowercase{text-transform:lowercase}#ijs .capitalize{text-transform:capitalize}#ijs .italic{font-style:italic}#ijs .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .leading-snug{line-height:1.375}#ijs .text-copy-accent{color:var(--i-copy-accent)}#ijs .text-copy-job-info{color:var(--i-copy-info)}#ijs .text-copy-neutral{color:var(--i-copy)}#ijs .text-copy-neutral-icon{color:var(--i-copy-icon)}#ijs .text-copy-neutral-lowcontrast{color:var(--i-copy-lowcontrast)}#ijs .text-interactive-accent-text{color:var(--i-interactive-accent-text)}#ijs .text-interactive-neutral-bg{color:var(--i-interactive-neutral-bg)}#ijs .text-interactive-neutral-text{color:var(--i-interactive-neutral-text)}#ijs .text-neutral-1{color:var(--i-color-n-1)}#ijs .text-neutral-8{color:var(--i-color-n-8)}#ijs .text-tag-accent-strong-copy{color:var(--i-tag-accent-strong-copy)}#ijs .text-tag-monetary-weak-copy{color:var(--i-tag-monetary-weak-copy)}#ijs .text-tag-neutral-strong-copy{color:var(--i-tag-neutral-strong-copy)}#ijs .text-tag-neutral-weak-copy{color:var(--i-tag-neutral-weak-copy)}#ijs .caret-accent-11{caret-color:var(--i-color-a-11)}#ijs .opacity-20{opacity:.2}#ijs .opacity-25{opacity:.25}#ijs .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .outline-none{outline:2px solid transparent;outline-offset:2px}#ijs .outline{outline-style:solid}#ijs .ring-px{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-job-card{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-job-card-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-job-card-stroke{--tw-ring-color: var(--i-job-card-stroke-color)}#ijs .ring-section-strong-stroke{--tw-ring-color: var(--i-section-strong-stroke-color)}#ijs .ring-section-weak-stroke{--tw-ring-color: var(--i-section-weak-stroke-color)}#ijs .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}#ijs .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .duration-medium{transition-duration:.6s}#ijs .duration-slow{transition-duration:.9s}#ijs .duration-snappy{transition-duration:.4s}#ijs .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ijs .font-style-default{font-style:var(--i-font-style)}#ijs .font-style-filter{font-style:var(--i-style-filter)}#ijs .font-style-input{font-style:var(--i-style-input)}#ijs .font-style-job-heading{font-style:var(--i-style-job-heading)}#ijs .font-style-tag{font-style:var(--i-style-tag)}#ijs .top-filters{top:var(--i-filters-offset-top)}#ijs .fr{outline:none}#ijs .fr:focus{outline:none}#ijs .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .fr-parent:has(.fr-child:focus-visible){outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .hide-scrollbars::-webkit-scrollbar{display:none}#ijs .hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}#ijs .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}#ijs .\\[-webkit-user-drag\\:none\\]{-webkit-user-drag:none}#ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#ijs .\\[text-wrap\\:balance\\]{text-wrap:balance}#ijs .\\[text-wrap\\:pretty\\]{text-wrap:pretty}#ijs .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}#ijs .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}#ijs .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#ijs .active\\:-scale-100:active{--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[0\\.975\\]:active{--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:bg-job-card-bg-active:active{background-color:var(--i-job-card-bg-active)}#ijs .active\\:ring-job-card-stroke-active:active{--tw-ring-color: var(--i-job-card-stroke-color-active)}@media (pointer: coarse){#ijs .pointer-coarse\\:overflow-x-auto{overflow-x:auto}}@media (pointer: fine){#ijs .pointer-fine\\:w-full{width:100%}}@media (pointer: fine){#ijs .pointer-fine\\:flex-wrap{flex-wrap:wrap}}@media (pointer: fine){#ijs .pointer-fine\\:rounded-section{border-radius:var(--i-radius-section)}}@media (pointer: fine){#ijs .pointer-fine\\:bg-app{background-color:var(--i-app-bg)}}@media (pointer: fine){#ijs .pointer-fine\\:p-2{padding:.5rem}}@media (pointer: fine){#ijs .pointer-fine\\:px-4{padding-left:1rem;padding-right:1rem}}@media (pointer: fine){#ijs .pointer-fine\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-accent-bg-hover:hover{background-color:var(--i-interactive-accent-bg-hover)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-neutral-bg-hover:hover{background-color:var(--i-interactive-neutral-bg-hover)}}@media (pointer: fine){#ijs .group:hover .pointer-fine\\:group-hover\\:text-copy-neutral{color:var(--i-copy)}}@media (min-width: 768px){#ijs .md\\:col-span-2{grid-column:span 2 / span 2}}@media (min-width: 768px){#ijs .md\\:grid{display:grid}}@media (min-width: 768px){#ijs .md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 768px){#ijs .md\\:px-0{padding-left:0;padding-right:0}}@media (min-width: 768px){#ijs .md\\:px-4{padding-left:1rem;padding-right:1rem}}@media (min-width: 1024px){#ijs .lg\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}#ijs .\\[\\&\\:has\\(\\.fr-child\\:active\\)\\]\\:scale-\\[0\\.975\\]:has(.fr-child:active){--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}
|
|
18
|
-
`;var
|
|
19
|
-
${
|
|
17
|
+
*/var Ua;function Nu(){return Ua||(Ua=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var t=Ha,e=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(m){{for(var x=arguments.length,k=new Array(x>1?x-1:0),j=1;j<x;j++)k[j-1]=arguments[j];r("error",m,k)}}function r(m,x,k){{var j=e.ReactDebugCurrentFrame,E=j.getStackAddendum();E!==""&&(x+="%s",k=k.concat([E]));var b=k.map(function($){return String($)});b.unshift("Warning: "+x),Function.prototype.apply.call(console[m],console,b)}}function o(m,x){return m===x&&(m!==0||1/m===1/x)||m!==m&&x!==x}var i=typeof Object.is=="function"?Object.is:o,a=t.useState,s=t.useEffect,u=t.useLayoutEffect,l=t.useDebugValue,d=!1,c=!1;function p(m,x,k){d||t.startTransition!==void 0&&(d=!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 j=x();if(!c){var E=x();i(j,E)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var b=a({inst:{value:j,getSnapshot:x}}),$=b[0].inst,A=b[1];return u(function(){$.value=j,$.getSnapshot=x,f($)&&A({inst:$})},[m,j,x]),s(function(){f($)&&A({inst:$});var H=function(){f($)&&A({inst:$})};return m(H)},[m]),l(j),j}function f(m){var x=m.getSnapshot,k=m.value;try{var j=x();return!i(k,j)}catch{return!0}}function v(m,x,k){return x()}var h=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",g=!h,_=g?v:p,y=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:_;Kr.useSyncExternalStore=y,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Kr}process.env.NODE_ENV==="production"?Yr.exports=Lu():Yr.exports=Nu();var Mu=Yr.exports;const Qt=()=>{},ut=Qt(),Xr=Object,R=t=>t===ut,At=t=>typeof t=="function",te=(t,e)=>({...t,...e}),Fu=t=>At(t.then),Wn=new WeakMap;let Vu=0;const un=t=>{const e=typeof t,n=t&&t.constructor,r=n==Date;let o,i;if(Xr(t)===t&&!r&&n!=RegExp){if(o=Wn.get(t),o)return o;if(o=++Vu+"~",Wn.set(t,o),n==Array){for(o="@",i=0;i<t.length;i++)o+=un(t[i])+",";Wn.set(t,o)}if(n==Xr){o="#";const a=Xr.keys(t).sort();for(;!R(i=a.pop());)R(t[i])||(o+=i+":"+un(t[i])+",");Wn.set(t,o)}}else o=r?t.toJSON():e=="symbol"?t.toString():e=="string"?JSON.stringify(t):""+t;return o},Pt=new WeakMap,Zr={},zn={},Gr="undefined",Bn=typeof window!=Gr,Jr=typeof document!=Gr,Hu=()=>Bn&&typeof window.requestAnimationFrame!=Gr,Wa=(t,e)=>{const n=Pt.get(t);return[()=>!R(e)&&t.get(e)||Zr,r=>{if(!R(e)){const o=t.get(e);e in zn||(zn[e]=o),n[5](e,te(o,r),o||Zr)}},n[6],()=>!R(e)&&e in zn?zn[e]:!R(e)&&t.get(e)||Zr]};let Qr=!0;const Iu=()=>Qr,[to,eo]=Bn&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Qt,Qt],Uu=()=>{const t=Jr&&document.visibilityState;return R(t)||t!=="hidden"},Wu=t=>(Jr&&document.addEventListener("visibilitychange",t),to("focus",t),()=>{Jr&&document.removeEventListener("visibilitychange",t),eo("focus",t)}),zu=t=>{const e=()=>{Qr=!0,t()},n=()=>{Qr=!1};return to("online",e),to("offline",n),()=>{eo("online",e),eo("offline",n)}},Bu={isOnline:Iu,isVisible:Uu},Yu={initFocus:Wu,initReconnect:zu},za=!Un.useId,dn=!Bn||"Deno"in window,qu=t=>Hu()?window.requestAnimationFrame(t):setTimeout(t,1),no=dn?$t:ge,ro=typeof navigator<"u"&&navigator.connection,Ba=!dn&&ro&&(["slow-2g","2g"].includes(ro.effectiveType)||ro.saveData),oo=t=>{if(At(t))try{t=t()}catch{t=""}const e=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?un(t):"",[t,e]};let Ku=0;const io=()=>++Ku,Ya=0,qa=1,Ka=2;var fn={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:Ya,MUTATE_EVENT:Ka,RECONNECT_EVENT:qa};async function Xa(...t){const[e,n,r,o]=t,i=te({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const s=i.rollbackOnError;let u=i.optimisticData;const l=i.revalidate!==!1,d=f=>typeof s=="function"?s(f):s!==!1,c=i.throwOnError;if(At(n)){const f=n,v=[],h=e.keys();for(const g of h)!/^\$(inf|sub)\$/.test(g)&&f(e.get(g)._k)&&v.push(g);return Promise.all(v.map(p))}return p(n);async function p(f){const[v]=oo(f);if(!v)return;const[h,g]=Wa(e,v),[_,y,m,x]=Pt.get(e),k=()=>{const T=_[v];return l&&(delete m[v],delete x[v],T&&T[0])?T[0](Ka).then(()=>h().data):h().data};if(t.length<3)return k();let j=r,E;const b=io();y[v]=[b,0];const $=!R(u),A=h(),H=A.data,N=A._c,Z=R(N)?H:N;if($&&(u=At(u)?u(Z,H):u,g({data:u,_c:Z})),At(j))try{j=j(Z)}catch(T){E=T}if(j&&Fu(j))if(j=await j.catch(T=>{E=T}),b!==y[v][0]){if(E)throw E;return j}else E&&$&&d(E)&&(a=!0,g({data:Z,_c:ut}));if(a&&!E)if(At(a)){const T=a(j,Z);g({data:T,error:ut,_c:ut})}else g({data:j,error:ut,_c:ut});if(y[v][1]=io(),Promise.resolve(k()).then(()=>{g({_c:ut})}),E){if(c)throw E;return}return j}}const Za=(t,e)=>{for(const n in t)t[n][0]&&t[n][0](e)},Xu=(t,e)=>{if(!Pt.has(t)){const n=te(Yu,e),r={},o=Xa.bind(ut,t);let i=Qt;const a={},s=(d,c)=>{const p=a[d]||[];return a[d]=p,p.push(c),()=>p.splice(p.indexOf(c),1)},u=(d,c,p)=>{t.set(d,c);const f=a[d];if(f)for(const v of f)v(c,p)},l=()=>{if(!Pt.has(t)&&(Pt.set(t,[r,{},{},{},o,u,s]),!dn)){const d=n.initFocus(setTimeout.bind(ut,Za.bind(ut,r,Ya))),c=n.initReconnect(setTimeout.bind(ut,Za.bind(ut,r,qa)));i=()=>{d&&d(),c&&c(),Pt.delete(t)}}};return l(),[t,o,l,i]}return[t,Pt.get(t)[4]]},Zu=(t,e,n,r,o)=>{const i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!R(i)&&a>i||setTimeout(r,s,o)},Gu=(t,e)=>un(t)==un(e),[Ga,Ju]=Xu(new Map),Qu=te({onLoadingSlow:Qt,onSuccess:Qt,onError:Qt,onErrorRetry:Zu,onDiscarded:Qt,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Ba?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Ba?5e3:3e3,compare:Gu,isPaused:()=>!1,cache:Ga,mutate:Ju,fallback:{}},Bu),td=(t,e)=>{const n=te(t,e);if(e){const{use:r,fallback:o}=t,{use:i,fallback:a}=e;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=te(o,a))}return n},ed=Pr({}),nd="$inf$",Ja=Bn&&window.__SWR_DEVTOOLS_USE__,rd=Ja?window.__SWR_DEVTOOLS_USE__:[],od=()=>{Ja&&(window.__SWR_DEVTOOLS_REACT__=Un)},id=t=>At(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],ad=()=>te(Qu,Fr(ed)),sd=t=>(e,n,r)=>t(e,n&&((...i)=>{const[a]=oo(e),[,,,s]=Pt.get(Ga);if(a.startsWith(nd))return n(...i);const u=s[a];return R(u)?n(...i):(delete s[a],u)}),r),cd=rd.concat(sd),ld=t=>function(...n){const r=ad(),[o,i,a]=id(n),s=td(r,a);let u=t;const{use:l}=s,d=(l||[]).concat(cd);for(let c=d.length;c--;)u=d[c](u);return u(o,i||s.fetcher||null,s)},ud=(t,e,n)=>{const r=e[t]||(e[t]=[]);return r.push(n),()=>{const o=r.indexOf(n);o>=0&&(r[o]=r[r.length-1],r.pop())}};od();const Qa=Un.use||(t=>{if(t.status==="pending")throw t;if(t.status==="fulfilled")return t.value;throw t.status==="rejected"?t.reason:(t.status="pending",t.then(e=>{t.status="fulfilled",t.value=e},e=>{t.status="rejected",t.reason=e}),t)}),ao={dedupe:!0},so=ld((t,e,n)=>{const{cache:r,compare:o,suspense:i,fallbackData:a,revalidateOnMount:s,revalidateIfStale:u,refreshInterval:l,refreshWhenHidden:d,refreshWhenOffline:c,keepPreviousData:p}=n,[f,v,h,g]=Pt.get(r),[_,y]=oo(t),m=_t(!1),x=_t(!1),k=_t(_),j=_t(e),E=_t(n),b=()=>E.current,$=()=>b().isVisible()&&b().isOnline(),[A,H,N,Z]=Wa(r,_),T=_t({}).current,K=R(a)?n.fallback[_]:a,J=(I,U)=>{for(const et in T){const W=et;if(W==="data"){if(!o(I[W],U[W])&&(!R(I[W])||!o(Wt,U[W])))return!1}else if(U[W]!==I[W])return!1}return!0},L=we(()=>{const I=(()=>!_||!e?!1:R(s)?b().isPaused()||i?!1:R(u)?!0:u:s)(),U=rt=>{const kt=te(rt);return delete kt._k,I?{isValidating:!0,isLoading:!0,...kt}:kt},et=A(),W=Z(),pt=U(et),ce=et===W?pt:U(W);let Q=pt;return[()=>{const rt=U(A());return J(rt,Q)?(Q.data=rt.data,Q.isLoading=rt.isLoading,Q.isValidating=rt.isValidating,Q.error=rt.error,Q):(Q=rt,rt)},()=>ce]},[r,_]),st=Mu.useSyncExternalStore(Le(I=>N(_,(U,et)=>{J(et,U)||I()}),[r,_]),L[0],L[1]),mt=!m.current,ii=f[_]&&f[_].length>0,xt=st.data,se=R(xt)?K:xt,Ce=st.error,kr=_t(se),Wt=p?R(xt)?kr.current:xt:se,zt=(()=>ii&&!R(Ce)?!1:mt&&!R(s)?s:b().isPaused()?!1:i?R(se)?!1:u:R(se)||u)(),Cn=!!(_&&e&&mt&&zt),ai=R(st.isValidating)?Cn:st.isValidating,Je=R(st.isLoading)?Cn:st.isLoading,Oe=Le(async I=>{const U=j.current;if(!_||!U||x.current||b().isPaused())return!1;let et,W,pt=!0;const ce=I||{},Q=!h[_]||!ce.dedupe,rt=()=>za?!x.current&&_===k.current&&m.current:_===k.current,kt={isValidating:!1,isLoading:!1},Ae=()=>{H(kt)},Cl=()=>{const yt=h[_];yt&&yt[1]===W&&delete h[_]},Ol={isValidating:!0};R(A().data)&&(Ol.isLoading=!0);try{if(Q&&(H(Ol),n.loadingTimeout&&R(A().data)&&setTimeout(()=>{pt&&rt()&&b().onLoadingSlow(_,n)},n.loadingTimeout),h[_]=[U(y),io()]),[et,W]=h[_],et=await et,Q&&setTimeout(Cl,n.dedupingInterval),!h[_]||h[_][1]!==W)return Q&&rt()&&b().onDiscarded(_),!1;kt.error=ut;const yt=v[_];if(!R(yt)&&(W<=yt[0]||W<=yt[1]||yt[1]===0))return Ae(),Q&&rt()&&b().onDiscarded(_),!1;const Bt=A().data;kt.data=o(Bt,et)?Bt:et,Q&&rt()&&b().onSuccess(et,_,n)}catch(yt){Cl();const Bt=b(),{shouldRetryOnError:si}=Bt;Bt.isPaused()||(kt.error=yt,Q&&rt()&&(Bt.onError(yt,_,Bt),(si===!0||At(si)&&si(yt))&&$()&&Bt.onErrorRetry(yt,_,Bt,A_=>{const ci=f[_];ci&&ci[0]&&ci[0](fn.ERROR_REVALIDATE_EVENT,A_)},{retryCount:(ce.retryCount||0)+1,dedupe:!0})))}return pt=!1,Ae(),!0},[_,r]),$r=Le((...I)=>Xa(r,k.current,...I),[]);if(no(()=>{j.current=e,E.current=n,R(xt)||(kr.current=xt)}),no(()=>{if(!_)return;const I=Oe.bind(ut,ao);let U=0;const W=ud(_,f,(pt,ce={})=>{if(pt==fn.FOCUS_EVENT){const Q=Date.now();b().revalidateOnFocus&&Q>U&&$()&&(U=Q+b().focusThrottleInterval,I())}else if(pt==fn.RECONNECT_EVENT)b().revalidateOnReconnect&&$()&&I();else{if(pt==fn.MUTATE_EVENT)return Oe();if(pt==fn.ERROR_REVALIDATE_EVENT)return Oe(ce)}});return x.current=!1,k.current=_,m.current=!0,H({_k:y}),zt&&(R(se)||dn?I():qu(I)),()=>{x.current=!0,W()}},[_]),no(()=>{let I;function U(){const W=At(l)?l(A().data):l;W&&I!==-1&&(I=setTimeout(et,W))}function et(){!A().error&&(d||b().isVisible())&&(c||b().isOnline())?Oe(ao).then(U):U()}return U(),()=>{I&&(clearTimeout(I),I=-1)}},[l,d,c,_]),Vr(Wt),i&&R(se)&&_){if(!za&&dn)throw new Error("Fallback data is required when using suspense in SSR.");j.current=e,E.current=n,x.current=!1;const I=g[_];if(!R(I)){const U=$r(I);Qa(U)}if(R(Ce)){const U=Oe(ao);R(Wt)||(U.status="fulfilled",U.value=!0),Qa(U)}else throw Ce}return{mutate:$r,get data(){return T.data=!0,Wt},get error(){return T.error=!0,Ce},get isValidating(){return T.isValidating=!0,ai},get isLoading(){return T.isLoading=!0,Je}}}),Tt=Zt({base:"truncate max-w-full block fr font-style-tag font-family-tag font-weight-tag text-style-tag",variants:{variant:{neutralWeak:"bg-tag-neutral-weak-bg border-solid border-px text-tag-neutral-weak-copy border-tag-neutral-weak-stroke",neutralStrong:"text-tag-neutral-strong-copy border-solid border-px bg-tag-neutral-strong-bg border-tag-neutral-strong-stroke",accentStrong:"text-tag-accent-strong-copy border-solid border-px bg-tag-accent-strong-bg border-tag-accent-strong-stroke",monetaryWeak:"bg-tag-monetary-weak-bg text-tag-monetary-weak-copy 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}}),dd=({query:t,property:e,selectedValues:n})=>{switch(t.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const o=(t.data[e.key]??[]).filter(i=>n.includes(i.value));switch(o.length){case 0:return null;case 1:{const i=o[0];return lt(i),w("span",{class:Tt({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:i.label})}default:return w("span",{class:Tt({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current truncate tabular-nums"}),children:o.length})}}default:ct(t)}},ts=8,es=42,fd=8,pd=6,hd=4,_d=Zt({base:"py-2 fr bg-lowest caret-accent-11 placeholder:text-neutral-10 ring-job-card-stroke ring-width-section px-4 ease-expo-out duration-snappy transition-all rounded-input font-style-input text-style-input font-weight-input",variants:{hasValue:{false:"text-copy-neutral",true:"text-copy-accent"}}}),vd=(t,e)=>{const n=t.indexOf(e);return n===-1?[...t,e]:t.filter((r,o)=>o!==n)},gd=({value:t,property:e,onSkip:n,useQuery:r,onValueChange:o,unfilteredQuery:i,onRender:a})=>{const s=Dr(r()),u=we(()=>{switch(s.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const h=s.data[e.key]??[];return Object.fromEntries(h.map(g=>[g.value,!0]))}default:ct(s)}},[s,e.key]),l=ns(t),d=l.length>0,[c,p]=bt(ts),[f,v]=bt();return $t(()=>{a()}),s.state==="error"?w(Gt,{error:new Error("We’re having trouble loading available filters.",{cause:s.error}),resetError:()=>s.swr.mutate()}):w("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[e.searchable&&w("div",{class:"top-0 px-4 py-1",children:w("input",{type:"text",class:_d({hasValue:d}),value:f,onInput:h=>v(h.currentTarget.value),placeholder:"Type to search"})}),(()=>{switch(i.state){case"error":return w(Gt,{error:new Error("We’re having trouble loading available filters.",{cause:i.error}),resetError:()=>i.swr.mutate()});case"loading":return w("div",{class:"flex px-4",children:w("div",{"aria-hidden":!0,class:Tt({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[e.key]??[],_=(f&&f.length>1?h.filter(m=>m.label.toLowerCase().includes(f.toLowerCase())):h).map(m=>({...m,disabled:u===null?!1:u[m.value]!==!0}));return _.find(m=>!m.disabled)?w("div",{class:"pointer-fine:px-4",children:w("ul",{style:{maxHeight:(es+fd)*(pd-1)+es/2+2*hd},class:"hide-scrollbars pointer-fine:flex-wrap pointer-fine:p-2 pointer-fine:ring-width-section ring-section-weak-stroke pointer-fine:bg-app pointer-fine:rounded-section pointer-coarse:overflow-x-auto flex max-w-full gap-2 overflow-y-auto px-4",children:[_.slice(0,c).map(m=>{const x=l.includes(m.value);return w("li",{class:"animate-appear-tag max-w-full origin-top",children:w("button",{disabled:m.disabled,"data-filter":!0,"data-current-value":x?"true":void 0,onClick:()=>{switch(t.select){case"many":{const k=vd(l,m.value);o({select:"many",value:k});break}case"one":o({select:"one",value:m.value});break;default:ct(t)}},class:Tt({size:"lg",variant:x?"accentStrong":"neutralStrong",interactive:!0,disabled:m.disabled,class:"ijs-filter-tag"}),children:m.label})},m.value)}),_.length>c&&w("li",{class:"animate-appear-tag pointer-fine:w-full max-w-full flex-none origin-top",children:w("button",{class:an({variant:"neutral",icon:"right",size:"lg",class:"border-px flex w-full max-w-full flex-none flex-nowrap justify-center truncate border-transparent"}),onClick:()=>{p(c+ts)},children:[w("span",{class:"font-style-tag font-family-tag font-weight-tag text-style-tag",children:"Show More"}),w(Jt,{"aria-hidden":!0,name:"plus"})]})})]})}):w("p",{class:"font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",children:"No filter options available."})}default:ct(i)}})(),w("footer",{class:"flex justify-end p-2",children:[w("div",{class:"flex-1",children:d&&w("button",{class:an({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[w(Jt,{"aria-hidden":!0,name:"x"})," Clear"]})}),t.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:[l.length," selected"]})}),w("div",{class:"flex-1",children:w("button",{class:an({variant:d?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[d?"Done":"Skip"," ",w(Jt,{name:"chevron-right"})]},d?"done":"skip")})]})]})},wd={contract_type:"clock",title:"magnifier",city:"mapPin",town:"mapPin",address_1:"mapPin",address_2:"mapPin",country:"mapPin",company_name:"briefcase",category:"briefcase"},md=Zt({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"}}}),yd=Zt({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"}}}),bd=Zt({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),xd=t=>{const e=_t(null),[n,r]=bt(0),o=()=>{var i;return r(((i=e.current)==null?void 0:i.clientHeight)??0)};return ge(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),t),{height:n,ref:e,updateHeight:o}},ns=t=>typeof t.value=="string"?[t.value]:t.value??[],kd=({active:t,value:e,onActiveChange:n,property:r,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:s})=>{const u=r.icon??wd[r.key]??"filter",l=ns(e),{height:d,ref:c,updateHeight:p}=xd([t]),f=l.length>0;return w("section",{"data-filter-key":r.key,role:"tab","aria-label":r.label,"aria-selected":t?"true":void 0,class:md({hasValue:f}),onTouchStart:Sd,children:[w("div",{class:"min-w-0 max-w-full shrink-0 flex-grow",children:[w("button",{"aria-label":t?"Close filter":"Open filter",class:yd({state:t?"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(!t),children:[w(Jt,{"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:d},children:w("div",{class:"w-full",ref:c,children:t&&w(gd,{useQuery:s,onRender:p,onSkip:o,onValueChange:i,unfilteredQuery:a,property:r,value:e})})})]}),!t&&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(dd,{property:r,query:a,selectedValues:l})}),w(Jt,{"aria-hidden":!0,class:bd(),name:"chevron-right"})]})]})},$d=t=>{const e=_t();return $t(()=>{e.current=t},[t]),e.current},jd=(t,e)=>{var o;const n=(o=e.current)==null?void 0:o.querySelector(`[data-filter-key="${t}"]`),r=(n==null?void 0:n.querySelector("[data-current-value]"))??(n==null?void 0:n.querySelector("[data-filter]"));r&&(lt(r instanceof HTMLButtonElement,"option must be button"),r.focus())},Ed=(t,e)=>{const n=$d(t);$t(()=>{if(n===t)return;const r=t??n;r&&jd(r,e)},[t,n,e])};function Sd(){}const Cd=({property:t,value:e,activeKey:n,properties:r,appliedFilters:o})=>{var i,a;switch(e==null?void 0:e.select){case void 0:return{newValue:void 0,newActiveKey:n};case"many":return{newValue:e,newActiveKey:n};case"one":{const s=r.findIndex(c=>c.key===t.key),u=s!==-1?(i=r[s+1])==null?void 0:i.key:void 0,d=(u?((a=o[u])==null?void 0:a.value)!==void 0:!1)?void 0:u;return{newValue:e,newActiveKey:d}}default:ct(e)}},Od=({properties:t,parentRef:e,appliedFilters:n,onFilterValueChange:r,apiClient:o,logger:i})=>{var c;const[a,s]=bt((c=t[0])==null?void 0:c.key);Ed(a,e);const u=we(()=>co(t.map(({value:p,...f})=>f)),[t]),l=Dr(so(Hn({filter:u,baseKey:"filters"}),()=>Bi({apiClient:o,logger:i,filters:u}),Lr)),d=Le(p=>()=>{const f={...n,[p]:u[p]};return so(Hn({filter:f,baseKey:"filters"}),()=>Bi({apiClient:o,logger:i,filters:f}),Lr)},[o,n,u,i]);return l.state==="error"?w(Gt,{error:new Error("We’re having trouble loading available filters.",{cause:l.error}),resetError:()=>l.swr.mutate()}):w("aside",{children:w("div",{role:"tablist",class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:t.map(p=>{const f=a===p.key,v=n[p.key]??{select:p.select,value:void 0},h=y=>{const{newActiveKey:m,newValue:x}=Cd({property:p,activeKey:a,value:y,properties:t,appliedFilters:n});return s(m),r(p.key,x)},g=y=>s(y?p.key:void 0),_=d(p.key);return w(sn,{Fallback:Gt,children:w(kd,{unfilteredQuery:l,active:f,property:p,onActiveChange:g,value:v,onSkip:()=>{var x;const y=t.findIndex(k=>k.key===a),m=y!==-1?(x=t[y+1])==null?void 0:x.key:void 0;s(m)},useQuery:_,onValueChange:h})},p.key)})})})},Yn=({chars:t})=>w("span",{style:{width:t+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),rs=Zt({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}}),Ad=Zt({base:"bg-tag-accent-strong-bg rounded-job-tag text-style-tag text-tag-accent-strong-copy font-weight-tag flex items-center justify-center px-2"}),os=({job:t,property:e})=>{switch(typeof e){case"string":return le(e,t.raw)?t.raw[e]:null;case"object":return t.customData&&e.transform(t.customData[e.key]);default:ct(e)}},Pd=({job:t,config:e})=>{const n=e.subheading?os({job:t,property:e.subheading}):null,r=e.infoTags.map(o=>os({job:t,property:o})).filter(Boolean);return w("a",{href:t.href,class:rs(),children:[w("div",{class:"flex min-w-0 flex-1 flex-col gap-4",children:[w("div",{class:"gap-logo flex items-center",children:[!e.logo||e.logo==="hidden"?null:w("div",{class:"rounded-logo bg-neutral-1 h-12 flex-none overflow-hidden",style:{aspectRatio:e.logo.replace(":","/")},children:t.company.logo?w("img",{src:t.company.logo,alt:t.company.name,class:"h-full w-full select-none object-contain [-webkit-user-drag:none]"}):null}),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",children:t.title}),n?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:n}):null]}),t.isNew?w("span",{class:Ad({class:"order-1"}),children:"NEW"}):w("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:["Posted ",t.relativePostedDate]})]})]}),w("div",{class:"flex min-w-0 flex-col items-start gap-2",children:[t.pay&&w("span",{class:Tt({variant:"monetaryWeak",size:"xs"}),children:t.pay}),r.length>0&&w("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:r.map(o=>w("li",{class:Tt({size:"xs"}),children:o},o))})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(Jt,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},is=({config:t,animationDelay:e,seed:n})=>w("div",{"aria-hidden":!0,style:{animationDelay:e+"s"},class:rs({interactive:!1}),children:[w("div",{class:"flex flex-1 flex-col gap-4",children:[w("div",{class:"flex items-center gap-4",children:[!t.logo||t.logo==="hidden"?null:w("div",{class:"rounded-logo bg-copy-neutral h-12 opacity-25",style:{aspectRatio:t.logo.replace(":","/")}}),w("div",{class:"flex flex-col items-start gap-1",children:[w("p",{class:"text-style-job-card-info text-copy-job-info",children:w(Yn,{chars:12})}),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(Yn,{chars:13+(n+5)*n%7})}),t.subheading!==null?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:w(Yn,{chars:7+n*n%3})}):null]})]})]}),w("div",{class:"flex flex-col items-start gap-2",children:[n%2===0&&w("span",{class:Tt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),w("div",{class:"flex items-center gap-2",children:[w("span",{class:Tt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),w("span",{class:Tt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(Jt,{name:"chevron-right",class:"text-copy-neutral-icon"})})]}),Td=({state:t,fetchNextPage:e,config:n})=>t==="revalidating"?w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Ln}).map((r,o)=>w("li",{children:w(is,{seed:o,animationDelay:(o-4)*.1,config:n})},o))}):w("button",{class:an({variant:"neutral",class:"py-2"}),onClick:e,children:"Load More"}),Rd=({pagination:t})=>(lt(t.total>=0),t.total===1?"1 job found":`${t.total} jobs found`),Dd=({appliedFilters:t,apiClient:e,logger:n,jobCardConfig:r,initialData:o})=>{const[i,a]=bt(1);return w(D,{children:Array.from({length:i}).map((s,u)=>{const l=u===i-1;return w(sn,{Fallback:Gt,children:w(Ld,{appliedFilters:t,apiClient:e,logger:n,page:u+1,isFirst:u===0,isLast:l,fetchNextPage:()=>a(i+1),jobCardConfig:r,initialData:o},u)},u)})})},Ld=({appliedFilters:t,apiClient:e,logger:n,page:r,isFirst:o,isLast:i,fetchNextPage:a,jobCardConfig:s,initialData:u})=>{const l=r===1?u:void 0,{data:d,error:c,state:p,swr:f}=Dr(so(Hn({filter:t,baseKey:r.toString()}),()=>Yi({apiClient:e,logger:n,filters:t,page:r}),{...Lr,fallbackData:l}));switch(p){case"loading":return w(D,{children:[o&&w("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:w(Yn,{chars:8})}),w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Ln}).map((v,h)=>w("li",{children:w(is,{seed:h,animationDelay:(h-Ln)*.1,config:s})},h))})]});case"error":return w(Gt,{class:"-m-4",error:new Error("We’re having trouble loading available jobs.",{cause:c}),resetError:()=>f.mutate()});case"revalidating":case"loaded":{if(lt(d.pagination.current_page===r,"Received wrong page from server"),d.pagination.total===0)return w("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[w(Jt,{"aria-hidden":!0,name:"magnifier",class:"text-copy-neutral-lowcontrast"}),w("div",{class:"flex flex-col items-center gap-1",children:[w("p",{class:"text-copy-neutral text-style-job-heading",children:"No jobs found"}),w("p",{class:"text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",children:"We could not find any jobs matching your filtering criteria."})]})]});const v=d.pagination.last_page!==d.pagination.current_page;return w(D,{children:[o&&w("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:Rd({pagination:d.pagination})}),w("ul",{"aria-label":`Page ${r}`,class:"flex flex-col gap-3",children:d.results.map(h=>w("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:p==="revalidating"?.33:1},children:w(Pd,{job:h,config:s})},h.id))}),v&&i&&w(Td,{state:p,fetchNextPage:a,config:s})]})}default:ct(p)}},co=t=>t.reduce((e,n)=>{switch(n.select){case"one":e[n.key]={select:n.select,value:n.value};break;case"many":e[n.key]={select:n.select,value:n.value?[n.value]:[]};break;default:ct(n.select)}return e},{}),Nd=({apiClient:t,logger:e,properties:n,class:r,analytics:o,initialData:i,onFilterChange:a,params:s})=>{const u=_t(null),[l,d]=bt(()=>co(n));return w("div",{ref:u,class:r,id:Wi,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(sn,{Fallback:Gt,children:w("div",{class:"flex flex-col gap-2",children:[w(Od,{appliedFilters:l,onFilterValueChange:(c,p)=>{d(f=>(a==null||a({...f,[c]:p}),{...f,[c]:p}))},properties:n,parentRef:u,logger:e,apiClient:t}),s.enableJobAlerts&&w("div",{class:"flex justify-center px-4 md:px-0",children:w(wu,{appliedFilters:l,analytics:o,apiClient:t,logger:e,theme:s.theme})})]})}),w("div",{class:"md:col-span-2",children:w("section",{class:"bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4",children:w(sn,{Fallback:Gt,children:w(Dd,{appliedFilters:l,logger:e,apiClient:t,jobCardConfig:s.jobCard,initialData:i==null?void 0:i.jobs},Hn({filter:l,baseKey:"resultsSection"}))})})})]})})},Md=`#ijs{font-size:16px;--tw-content: ""}#ijs *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}#ijs :before,#ijs :after{box-sizing:border-box}#ijs :is(a){text-decoration:none}#ijs :is(ul,ol){list-style:none;padding:0;margin:0}#ijs :is(p){margin:0;padding:0}#ijs :is(li){margin:0;padding:0;list-style:none}#ijs :is(button),#ijs :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ijs :is(input),#ijs :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}#ijs :is(svg){display:block}#ijs.reduced-motion *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}@media (prefers-reduced-motion){#ijs *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}#ijs *,#ijs :before,#ijs :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }#ijs ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }#ijs .container{width:100%}@media (min-width: 640px){#ijs .container{max-width:640px}}@media (min-width: 768px){#ijs .container{max-width:768px}}@media (min-width: 1024px){#ijs .container{max-width:1024px}}@media (min-width: 1280px){#ijs .container{max-width:1280px}}@media (min-width: 1536px){#ijs .container{max-width:1536px}}#ijs .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 .pointer-events-none{pointer-events:none}#ijs .visible{visibility:visible}#ijs .invisible{visibility:hidden}#ijs .collapse{visibility:collapse}#ijs .static{position:static}#ijs .fixed{position:fixed}#ijs .absolute{position:absolute}#ijs .relative{position:relative}#ijs .sticky{position:sticky}#ijs .top-0{top:0}#ijs .isolate{isolation:isolate}#ijs .order-1{order:1}#ijs .order-2{order:2}#ijs .col-span-full{grid-column:1 / -1}#ijs .row-span-full{grid-row:1 / -1}#ijs .-m-4{margin:-1rem}#ijs .m-0{margin:0}#ijs .m-11{margin:2.75rem}#ijs .m-3{margin:.75rem}#ijs .m-4{margin:1rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .ml-auto{margin-left:auto}#ijs .mt-0{margin-top:0}#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 .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-\\[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 appear-tag{0%{transform:scale(.9)}to{transform:scale(1)}}#ijs .animate-appear-tag{animation:appear-tag .6s cubic-bezier(.16,1,.3,1) both}@keyframes selected-tag{0%{transform:scale(1.11)}to{transform:scale(1)}}#ijs .animate-selected-tag{animation:selected-tag .9s cubic-bezier(.16,1,.3,1)}@keyframes skeleton{0%{opacity:.2}50%{opacity:.6}to{opacity:.25}}#ijs .animate-skeleton{animation:skeleton 1.2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-50%)}to{transform:translateY(0)}}#ijs .animate-slide-in-bottom{animation:slide-in-bottom .4s cubic-bezier(.16,1,.3,1) both}#ijs .cursor-default{cursor:default}#ijs .cursor-pointer{cursor:pointer}#ijs .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}#ijs .resize{resize:both}#ijs .flex-col{flex-direction:column}#ijs .flex-wrap{flex-wrap:wrap}#ijs .flex-nowrap{flex-wrap:nowrap}#ijs .items-start{align-items:flex-start}#ijs .items-center{align-items:center}#ijs .justify-end{justify-content:flex-end}#ijs .justify-center{justify-content:center}#ijs .gap-1{gap:.25rem}#ijs .gap-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 .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-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-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-section-strong-bg{background-color:var(--i-section-strong-bg)}#ijs .bg-section-weak-bg{background-color:var(--i-section-weak-bg)}#ijs .bg-tag-accent-strong-bg{background-color:var(--i-tag-accent-strong-bg)}#ijs .bg-tag-monetary-weak-bg{background-color:var(--i-tag-monetary-weak-bg)}#ijs .bg-tag-neutral-strong-bg{background-color:var(--i-tag-neutral-strong-bg)}#ijs .bg-tag-neutral-weak-bg{background-color:var(--i-tag-neutral-weak-bg)}#ijs .object-contain{-o-object-fit:contain;object-fit:contain}#ijs .p-0{padding:0}#ijs .p-2{padding:.5rem}#ijs .p-4{padding:1rem}#ijs .p-6{padding:1.5rem}#ijs .px-2{padding-left:.5rem;padding-right:.5rem}#ijs .px-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-4{padding-top:1rem;padding-bottom:1rem}#ijs .pl-1{padding-left:.25rem}#ijs .pl-2{padding-left:.5rem}#ijs .pl-2\\.5{padding-left:.625rem}#ijs .pl-3{padding-left:.75rem}#ijs .pl-4{padding-left:1rem}#ijs .pl-5{padding-left:1.25rem}#ijs .pr-1{padding-right:.25rem}#ijs .pr-3{padding-right:.75rem}#ijs .pr-5{padding-right:1.25rem}#ijs .pt-1{padding-top:.25rem}#ijs .text-center{text-align:center}#ijs .text-justify{text-align:justify}#ijs .font-family-default{font-family:var(--i-font)}#ijs .font-family-filter{font-family:var(--i-font-filter)}#ijs .font-family-job-heading{font-family:var(--i-font-job-heading)}#ijs .font-family-tag{font-family:var(--i-font-tag)}#ijs .text-style-filter{font-size:1rem;line-height:1.5rem;letter-spacing:-.01em}#ijs .text-style-input{font-size:1rem;line-height:1.5rem}#ijs .text-style-job-card{font-size:.875rem;line-height:1.125rem}#ijs .text-style-job-card-info{font-size:.75rem;line-height:1.125rem}#ijs .text-style-job-heading{font-size:1.125rem;line-height:1.5rem}#ijs .text-style-tag{font-size:.875rem;line-height:1.5rem}#ijs .font-weight-default{font-weight:var(--i-weight-default)}#ijs .font-weight-filter{font-weight:var(--i-weight-filter)}#ijs .font-weight-input{font-weight:var(--i-weight-input)}#ijs .font-weight-job-heading{font-weight:var(--i-weight-job-heading)}#ijs .font-weight-tag{font-weight:var(--i-weight-tag)}#ijs .uppercase{text-transform:uppercase}#ijs .lowercase{text-transform:lowercase}#ijs .capitalize{text-transform:capitalize}#ijs .italic{font-style:italic}#ijs .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .leading-snug{line-height:1.375}#ijs .text-\\[\\#E5484D\\]{--tw-text-opacity: 1;color:rgb(229 72 77 / var(--tw-text-opacity))}#ijs .text-accent-1{color:var(--i-color-a-1)}#ijs .text-accent-11{color:var(--i-color-a-11)}#ijs .text-copy-accent{color:var(--i-copy-accent)}#ijs .text-copy-job-info{color:var(--i-copy-info)}#ijs .text-copy-neutral{color:var(--i-copy)}#ijs .text-copy-neutral-icon{color:var(--i-copy-icon)}#ijs .text-copy-neutral-lowcontrast{color:var(--i-copy-lowcontrast)}#ijs .text-interactive-accent-text{color:var(--i-interactive-accent-text)}#ijs .text-interactive-neutral-bg{color:var(--i-interactive-neutral-bg)}#ijs .text-interactive-neutral-text{color:var(--i-interactive-neutral-text)}#ijs .text-neutral-1{color:var(--i-color-n-1)}#ijs .text-neutral-8{color:var(--i-color-n-8)}#ijs .text-tag-accent-strong-copy{color:var(--i-tag-accent-strong-copy)}#ijs .text-tag-monetary-weak-copy{color:var(--i-tag-monetary-weak-copy)}#ijs .text-tag-neutral-strong-copy{color:var(--i-tag-neutral-strong-copy)}#ijs .text-tag-neutral-weak-copy{color:var(--i-tag-neutral-weak-copy)}#ijs .caret-accent-11{caret-color:var(--i-color-a-11)}#ijs .opacity-0{opacity:0}#ijs .opacity-20{opacity:.2}#ijs .opacity-25{opacity:.25}#ijs .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .outline-none{outline:2px solid transparent;outline-offset:2px}#ijs .outline{outline-style:solid}#ijs .ring-\\[1px\\],#ijs .ring-px{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-job-card{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-job-card-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-job-card-stroke{--tw-ring-color: var(--i-job-card-stroke-color)}#ijs .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}#ijs .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}#ijs .ring-section-strong-stroke{--tw-ring-color: var(--i-section-strong-stroke-color)}#ijs .ring-section-weak-stroke{--tw-ring-color: var(--i-section-weak-stroke-color)}#ijs .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}#ijs .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .duration-medium{transition-duration:.6s}#ijs .duration-slow{transition-duration:.9s}#ijs .duration-snappy{transition-duration:.4s}#ijs .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ijs .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}#ijs .font-style-default{font-style:var(--i-font-style)}#ijs .font-style-filter{font-style:var(--i-style-filter)}#ijs .font-style-input{font-style:var(--i-style-input)}#ijs .font-style-job-heading{font-style:var(--i-style-job-heading)}#ijs .font-style-tag{font-style:var(--i-style-tag)}#ijs .top-filters{top:var(--i-filters-offset-top)}#ijs .fr{outline:none}#ijs .fr:focus{outline:none}#ijs .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .fr-parent:has(.fr-child:focus-visible){outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .hide-scrollbars::-webkit-scrollbar{display:none}#ijs .hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}#ijs .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}#ijs .\\[-webkit-user-drag\\:none\\]{-webkit-user-drag:none}#ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#ijs .\\[text-wrap\\:balance\\]{text-wrap:balance}#ijs .\\[text-wrap\\:pretty\\]{text-wrap:pretty}#ijs .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}#ijs .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}#ijs .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 .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-\\[0\\.975\\]:active{--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:bg-job-card-bg-active:active{background-color:var(--i-job-card-bg-active)}#ijs .active\\:ring-job-card-stroke-active:active{--tw-ring-color: var(--i-job-card-stroke-color-active)}#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\\:overflow-x-auto{overflow-x:auto}}@media (pointer: fine){#ijs .pointer-fine\\:w-full{width:100%}}@media (pointer: fine){#ijs .pointer-fine\\:flex-wrap{flex-wrap:wrap}}@media (pointer: fine){#ijs .pointer-fine\\:rounded-section{border-radius:var(--i-radius-section)}}@media (pointer: fine){#ijs .pointer-fine\\:bg-app{background-color:var(--i-app-bg)}}@media (pointer: fine){#ijs .pointer-fine\\:p-2{padding:.5rem}}@media (pointer: fine){#ijs .pointer-fine\\:px-4{padding-left:1rem;padding-right:1rem}}@media (pointer: fine){#ijs .pointer-fine\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-accent-bg-hover:hover{background-color:var(--i-interactive-accent-bg-hover)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-neutral-bg-hover:hover{background-color:var(--i-interactive-neutral-bg-hover)}}@media (pointer: fine){#ijs .group:hover .pointer-fine\\:group-hover\\:text-copy-neutral{color:var(--i-copy)}}@media (min-width: 768px){#ijs .md\\:col-span-2{grid-column:span 2 / span 2}}@media (min-width: 768px){#ijs .md\\:grid{display:grid}}@media (min-width: 768px){#ijs .md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 768px){#ijs .md\\:px-0{padding-left:0;padding-right:0}}@media (min-width: 768px){#ijs .md\\:px-4{padding-left:1rem;padding-right:1rem}}@media (min-width: 1024px){#ijs .lg\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}#ijs .\\[\\&\\:has\\(\\.fr-child\\:active\\)\\]\\:scale-\\[0\\.975\\]:has(.fr-child:active){--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}
|
|
18
|
+
`;var Fd=["1","2","3","4","5","6","7","8","9","10","11","12"],Vd={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]}},Hd=(t,e=1,n)=>r=>{const[o,i]=Vd[n][r];return"oklch("+o+"% "+i*e+" "+t+")"},lo=t=>{const e=Hd(t.hue,t.chroma,t.mode);return Object.fromEntries(Fd.map(n=>[t.prefix+n,t.transform(e(n))]))},uo=t=>t,Id=t=>{const e=Object.keys(t).flatMap(n=>{const r=t[n];return typeof r=="object"&&r!==null?Object.keys(r).map(o=>{const i=r[o];return[`${String(n)}.${o}`,i]}):[[n,r]]});return Object.fromEntries(e)},qn=t=>!!t&&typeof t=="object"&&!Array.isArray(t),fo=(t,...e)=>{if(!e.length)return t;const n=e.shift();if(qn(t)&&qn(n))for(const r in n){const o=n[r];if(qn(o)){t[r]||Object.assign(t,{[r]:{}});const i=t[r];qn(i)&&fo(i,o)}else Object.assign(t,{[r]:n[r]})}return fo(t,...e)},Ud=t=>{function e(n,r){const o=[t.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return e},Wd=()=>({core:t=>({semantic:e=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),s=t({theme:o}),u=e({theme:o,core:a,raw:{core:s}}),l=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:u}}),d=Id(fo(s,u,l)),c=([p,f],v)=>{const h=[v,p].filter(Boolean).join(".");return typeof f=="object"?Object.entries(f).flatMap(g=>c(g,h)):[[r.getToken("declaration",h),f]]};return{values:d,declarations:Object.fromEntries(Object.entries(d).flatMap(p=>c(p))),ref:p=>i("reference",p.toString())}}})})})});const vt=t=>{const e=[],n=r=>({with:(o,i)=>(e.push({p:o,fn:i}),n(r)),otherwise:o=>{t:for(let i=e.length-1;i>=0;i--){const a=e[i];for(const s in a.p){if(a.p[s]!==r[s])continue t;return a.fn(r)}}if(o)return o(r);throw new Error("No pattern matched")}});return n(t)},[po,ho,Rt]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],zd=Wd().core(({theme:t})=>({color:{black:po,white:ho,lowest:t.mode==="light"?ho:po,highest:t.mode==="light"?po:ho,...lo({prefix:"a-",hue:t.accent.hue,chroma:t.accent.chroma,mode:t.mode,transform:uo}),...lo({prefix:"n-",hue:t.accent.hue,chroma:.05,mode:t.mode,transform:uo}),...lo({prefix:"m-",hue:140,chroma:t.accent.chroma,mode:t.mode,transform:uo})}})).semantic(({core:t,theme:e,raw:n})=>{var s,u,l,d,c,p,f,v,h,g,_,y,m,x,k,j,E,b,$,A,H;const r=(N,Z)=>n.core.color[N].replace(")",` / ${Z})`),{typography:o,highlights:i}=e,a=((s=e.accessibility)==null?void 0:s.highContrast)??!1;return{"filters-offset-top":(e.filtersOffsetTopPx??112)+"px",font:o.fontFamily??"inherit","font-style":o.style??"inherit","font-filter":((u=o.filter)==null?void 0:u.fontFamily)??o.fontFamily??"inherit","font-job-heading":((l=e.typography.jobHeading)==null?void 0:l.fontFamily)??e.typography.fontFamily??"inherit","font-tag":((d=o.tag)==null?void 0:d.fontFamily)??o.fontFamily??"inherit","weight-default":((c=o.weight)==null?void 0:c.toString())??"inherit","style-filter":((p=o.filter)==null?void 0:p.style)??o.style??"inherit","weight-filter":((v=(f=o.filter)==null?void 0:f.weight)==null?void 0:v.toString())??((h=o.weight)==null?void 0:h.toString())??"inherit","style-tag":((g=o.tag)==null?void 0:g.style)??o.style??"inherit","style-job-heading":((_=o.jobHeading)==null?void 0:_.style)??o.style??"inherit","weight-tag":((m=(y=o.tag)==null?void 0:y.weight)==null?void 0:m.toString())??((x=o.weight)==null?void 0:x.toString())??"inherit","weight-job-heading":((j=(k=o.jobHeading)==null?void 0:k.weight)==null?void 0:j.toString())??((E=o.weight)==null?void 0:E.toString())??"inherit","style-input":((b=o.input)==null?void 0:b.style)??o.style??"inherit","weight-input":((A=($=o.input)==null?void 0:$.weight)==null?void 0:A.toString())??((H=o.weight)==null?void 0:H.toString())??"inherit","app-bg":t("color.lowest"),copy:t(a?"color.highest":"color.n-12"),"copy-lowcontrast":t("color.n-11"),"copy-info":t(a?"color.n-11":"color.n-10"),"copy-icon":t(a?"color.n-12":"color.n-11"),"copy-accent":t(a?"color.highest":"color.a-12"),"copy-accent-lowcontrast":t(a?"color.a-12":"color.a-11"),"copy-accent-icon":t(a?"color.a-12":"color.a-11"),"copy-inverted":t("color.lowest"),"copy-inverted-lowcontrast":t("color.n-4"),"copy-inverted-icon":t("color.n-3"),"tag-neutral-weak-bg":i==="fill"?t("color.n-2"):Rt,"tag-neutral-weak-copy":t("color.n-12"),"tag-neutral-weak-stroke-color":t(i==="stroke"?"color.n-5":"color.n-3"),"tag-neutral-strong-bg":i==="fill"?t("color.n-12"):Rt,"tag-neutral-strong-copy":t(i==="fill"?"color.white":"color.n-12"),"tag-neutral-strong-stroke-color":r(a?"n-12":"n-4",i==="stroke"?1:0),"tag-monetary-weak-bg":t("color.m-3"),"tag-monetary-weak-copy":t("color.m-11"),"tag-monetary-weak-stroke-color":t("color.m-4"),"tag-accent-strong-bg":e.mode==="dark"?t("color.a-9"):t("color.a-11"),"tag-accent-strong-copy":t("color.white"),"tag-accent-strong-stroke-color":Rt,"radius-app":vt(e).with({corners:"rounded"},()=>"2rem").with({corners:"soft"},()=>"2rem").otherwise(()=>"0"),"radius-section":vt(e).with({corners:"rounded"},()=>"1rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-input":vt(e).with({corners:"rounded"},()=>".5rem").with({corners:"soft"},()=>".25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-card":vt(e).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"0.5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-tag":vt(e).with({corners:"rounded"},()=>"0.5rem").with({corners:"soft"},()=>"0.25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-logo":vt(e).with({corners:"rounded"},()=>".25rem").with({corners:"soft"},()=>".125rem").with({corners:"sharp"},()=>"0").otherwise(),"logo-gap":vt(e).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"1rem").otherwise(),"interactive-neutral-bg":r(a?"n-5":"n-4",.01),"interactive-neutral-bg-hover":t(a?"color.n-5":"color.n-4"),"interactive-neutral-text":t("color.n-12"),"interactive-accent-bg":r(i==="fill"?"a-4":"a-3",.01),"interactive-accent-bg-hover":t(i==="fill"?"color.a-4":"color.a-3"),"interactive-accent-text":t("color.a-11"),"radius-interactive":vt(e).with({corners:"rounded"},()=>"1.5rem").with({corners:"soft"},()=>".5rem").with({corners:"sharp"},()=>"0").otherwise(),"section-weak-bg":i==="fill"?t("color.n-2"):Rt,"section-strong-bg":i==="fill"?t(a?"color.n-3":"color.n-2"):Rt,"section-weak-stroke-color":i==="fill"?Rt:t(a?"color.n-7":"color.n-3"),"section-strong-stroke-color":i==="fill"?Rt:t(a?"color.n-11":"color.n-4"),"section-stroke-width":vt(e).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px"),"job-card-bg":vt(e).with({highlights:"fill"},()=>t("color.lowest")).otherwise(()=>Rt),"job-card-bg-active":vt(e).with({highlights:"fill"},()=>t("color.lowest")).otherwise(()=>Rt),"job-card-stroke-color":t(a?"color.n-10":"color.n-4"),"job-card-stroke-color-active":t("color.a-9"),"job-card-stroke-width":vt(e).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px")}}).component(()=>({})),Bd=Ud({prefix:"i-"}),Yd=t=>{const e=zd.from({theme:t,getToken:Bd}),n=Object.entries(e.declarations).map(([r,o])=>`${r}: ${o};`);return`#${Wi} {
|
|
19
|
+
${n.concat(n).join(`
|
|
20
20
|
`)}
|
|
21
|
-
}`},$i=(()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${Ur}`);return U(e,`Element with id ${Ur} not found.`),e}}))(),Pi=()=>wo(({apiClient:e,logger:t,analytics:r})=>{const n=({params:o})=>{var a;return V(Be,{Fallback:ea},[[V("style",{id:"inploi-job-search-styles"},ji),V("style",{id:"inploi-job-search-theme"},Li(o.theme))],V(ra,{theme:o.theme}),V(ki,{properties:o.properties,apiClient:e,logger:t,analytics:r,class:(a=o.theme.accessibility)!=null&&a.reducedMotion?"reduced-motion":void 0,jobCardConfig:o.jobCard,initialData:o.initialData,onFilterChange:o.onFilterChange})])};return{prerender:async o=>{const a=o.withData?await Kr({filters:rr(o.properties),apiClient:e,logger:t}).then(i=>({jobs:i})).catch(()=>{}):void 0;return{html:Ao(V(R,{},V(n,{params:{...o,initialData:a}}))),data:a}},render:async o=>{const a=o.initialData?jt:Oe;U(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),a(V(n,{params:o}),$i.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=Pi})();
|
|
21
|
+
}`},qd=(()=>({getRenderTargetElement:()=>{const t=document.body.querySelector(`#${Ui}`);return lt(t,`Element with id ${Ui} not found.`),t}}))(),Kd=()=>ui(({apiClient:t,logger:e,analytics:n})=>{const r=({params:o})=>{var i;return G(sn,{Fallback:du},[[G("style",{id:"inploi-job-search-styles"},Md),G("style",{id:"inploi-job-search-theme"},Yd(o.theme))],G(pu,{theme:o.theme}),G(Nd,{properties:o.properties,apiClient:t,logger:e,analytics:n,class:(i=o.theme.accessibility)!=null&&i.reducedMotion?"reduced-motion":void 0,initialData:o.initialData,onFilterChange:o.onFilterChange,params:o})])};return{prerender:async o=>{const i=o.withData?await Yi({filters:co(o.properties),apiClient:t,logger:e}).then(a=>({jobs:a})).catch(()=>{}):void 0;return{html:Ul(G(D,{},G(r,{params:{...o,initialData:i}}))),data:i}},render:async o=>{const i=o.initialData?Ar:Te;lt(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(G(r,{params:o}),qd.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=Kd;function as(t,e){if(!t)throw new Error(e)}var pn,S,ss,cs,me,ls,us,_o,ds,hn={},fs=[],Xd=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Kn=Array.isArray;function Dt(t,e){for(var n in e)t[n]=e[n];return t}function ps(t){var e=t.parentNode;e&&e.removeChild(t)}function O(t,e,n){var r,o,i,a={};for(i in e)i=="key"?r=e[i]:i=="ref"?o=e[i]:a[i]=e[i];if(arguments.length>2&&(a.children=arguments.length>3?pn.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)a[i]===void 0&&(a[i]=t.defaultProps[i]);return _n(t,a,r,o,null)}function _n(t,e,n,r,o){var i={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++ss,__i:-1,__u:0};return o==null&&S.vnode!=null&&S.vnode(i),i}function hs(){return{current:null}}function X(t){return t.children}function gt(t,e){this.props=t,this.context=e}function Me(t,e){if(e==null)return t.__?Me(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?Me(t):null}function _s(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return _s(t)}}function vo(t){(!t.__d&&(t.__d=!0)&&me.push(t)&&!Xn.__r++||ls!==S.debounceRendering)&&((ls=S.debounceRendering)||us)(Xn)}function Xn(){var t,e,n,r,o,i,a,s,u;for(me.sort(_o);t=me.shift();)t.__d&&(e=me.length,r=void 0,i=(o=(n=t).__v).__e,s=[],u=[],(a=n.__P)&&((r=Dt({},o)).__v=o.__v+1,S.vnode&&S.vnode(r),go(a,r,o,n.__n,a.ownerSVGElement!==void 0,32&o.__u?[i]:null,s,i??Me(o),!!(32&o.__u),u),r.__.__k[r.__i]=r,bs(s,r,u),r.__e!=i&&_s(r)),me.length>e&&me.sort(_o));Xn.__r=0}function vs(t,e,n,r,o,i,a,s,u,l,d){var c,p,f,v,h,g=r&&r.__k||fs,_=e.length;for(n.__d=u,Zd(n,e,g),u=n.__d,c=0;c<_;c++)(f=n.__k[c])!=null&&typeof f!="boolean"&&typeof f!="function"&&(p=f.__i===-1?hn:g[f.__i]||hn,f.__i=c,go(t,f,p,o,i,a,s,u,l,d),v=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&wo(p.ref,null,f),d.push(f.ref,f.__c||v,f)),h==null&&v!=null&&(h=v),65536&f.__u||p.__k===f.__k?u=gs(f,u,t):typeof f.type=="function"&&f.__d!==void 0?u=f.__d:v&&(u=v.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=u,n.__e=h}function Zd(t,e,n){var r,o,i,a,s,u=e.length,l=n.length,d=l,c=0;for(t.__k=[],r=0;r<u;r++)(o=t.__k[r]=(o=e[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?_n(null,o,null,null,o):Kn(o)?_n(X,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?_n(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=t,o.__b=t.__b+1,s=Gd(o,n,a=r+c,d),o.__i=s,i=null,s!==-1&&(d--,(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?d>u-a?c+=s-a:c--:c=s<a&&s==a-1?s-a:0,s!==r+c&&(o.__u|=65536))):(i=n[r])&&i.key==null&&i.__e&&(i.__e==t.__d&&(t.__d=Me(i)),mo(i,i,!1),n[r]=null,d--);if(d)for(r=0;r<l;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==t.__d&&(t.__d=Me(i)),mo(i,i))}function gs(t,e,n){var r,o;if(typeof t.type=="function"){for(r=t.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=t,e=gs(r[o],e,n));return e}return t.__e!=e&&(n.insertBefore(t.__e,e||null),e=t.__e),e&&e.nextSibling}function Lt(t,e){return e=e||[],t==null||typeof t=="boolean"||(Kn(t)?t.some(function(n){Lt(n,e)}):e.push(t)),e}function Gd(t,e,n,r){var o=t.key,i=t.type,a=n-1,s=n+1,u=e[n];if(u===null||u&&o==u.key&&i===u.type)return n;if(r>(u!=null&&!(131072&u.__u)?1:0))for(;a>=0||s<e.length;){if(a>=0){if((u=e[a])&&!(131072&u.__u)&&o==u.key&&i===u.type)return a;a--}if(s<e.length){if((u=e[s])&&!(131072&u.__u)&&o==u.key&&i===u.type)return s;s++}}return-1}function ws(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||Xd.test(e)?n:n+"px"}function Zn(t,e,n,r,o){var i;t:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||ws(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||ws(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")i=e!==(e=e.replace(/(PointerCapture)$|Capture$/,"$1")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r?n.u=r.u:(n.u=Date.now(),t.addEventListener(e,i?ys:ms,i)):t.removeEventListener(e,i?ys:ms,i);else{if(o)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="width"&&e!=="height"&&e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e!=="rowSpan"&&e!=="colSpan"&&e!=="role"&&e in t)try{t[e]=n??"";break t}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,n))}}function ms(t){var e=this.l[t.type+!1];if(t.t){if(t.t<=e.u)return}else t.t=Date.now();return e(S.event?S.event(t):t)}function ys(t){return this.l[t.type+!0](S.event?S.event(t):t)}function go(t,e,n,r,o,i,a,s,u,l){var d,c,p,f,v,h,g,_,y,m,x,k,j,E,b,$=e.type;if(e.constructor!==void 0)return null;128&n.__u&&(u=!!(32&n.__u),i=[s=e.__e=n.__e]),(d=S.__b)&&d(e);t:if(typeof $=="function")try{if(_=e.props,y=(d=$.contextType)&&r[d.__c],m=d?y?y.props.value:d.__:r,n.__c?g=(c=e.__c=n.__c).__=c.__E:("prototype"in $&&$.prototype.render?e.__c=c=new $(_,m):(e.__c=c=new gt(_,m),c.constructor=$,c.render=Qd),y&&y.sub(c),c.props=_,c.state||(c.state={}),c.context=m,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=Dt({},c.__s)),Dt(c.__s,$.getDerivedStateFromProps(_,c.__s))),f=c.props,v=c.state,c.__v=e,p)$.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if($.getDerivedStateFromProps==null&&_!==f&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,m),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,m)===!1||e.__v===n.__v)){for(e.__v!==n.__v&&(c.props=_,c.state=c.__s,c.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(A){A&&(A.__=e)}),x=0;x<c._sb.length;x++)c.__h.push(c._sb[x]);c._sb=[],c.__h.length&&a.push(c);break t}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,m),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(f,v,h)})}if(c.context=m,c.props=_,c.__P=t,c.__e=!1,k=S.__r,j=0,"prototype"in $&&$.prototype.render){for(c.state=c.__s,c.__d=!1,k&&k(e),d=c.render(c.props,c.state,c.context),E=0;E<c._sb.length;E++)c.__h.push(c._sb[E]);c._sb=[]}else do c.__d=!1,k&&k(e),d=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++j<25);c.state=c.__s,c.getChildContext!=null&&(r=Dt(Dt({},r),c.getChildContext())),p||c.getSnapshotBeforeUpdate==null||(h=c.getSnapshotBeforeUpdate(f,v)),vs(t,Kn(b=d!=null&&d.type===X&&d.key==null?d.props.children:d)?b:[b],e,n,r,o,i,a,s,u,l),c.base=e.__e,e.__u&=-161,c.__h.length&&a.push(c),g&&(c.__E=c.__=null)}catch(A){e.__v=null,u||i!=null?(e.__e=s,e.__u|=u?160:32,i[i.indexOf(s)]=null):(e.__e=n.__e,e.__k=n.__k),S.__e(A,e,n)}else i==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=Jd(n.__e,e,n,r,o,i,a,u,l);(d=S.diffed)&&d(e)}function bs(t,e,n){e.__d=void 0;for(var r=0;r<n.length;r++)wo(n[r],n[++r],n[++r]);S.__c&&S.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(i){i.call(o)})}catch(i){S.__e(i,o.__v)}})}function Jd(t,e,n,r,o,i,a,s,u){var l,d,c,p,f,v,h,g=n.props,_=e.props,y=e.type;if(y==="svg"&&(o=!0),i!=null){for(l=0;l<i.length;l++)if((f=i[l])&&"setAttribute"in f==!!y&&(y?f.localName===y:f.nodeType===3)){t=f,i[l]=null;break}}if(t==null){if(y===null)return document.createTextNode(_);t=o?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,_.is&&_),i=null,s=!1}if(y===null)g===_||s&&t.data===_||(t.data=_);else{if(i=i&&pn.call(t.childNodes),g=n.props||hn,!s&&i!=null)for(g={},l=0;l<t.attributes.length;l++)g[(f=t.attributes[l]).name]=f.value;for(l in g)f=g[l],l=="children"||(l=="dangerouslySetInnerHTML"?c=f:l==="key"||l in _||Zn(t,l,null,f,o));for(l in _)f=_[l],l=="children"?p=f:l=="dangerouslySetInnerHTML"?d=f:l=="value"?v=f:l=="checked"?h=f:l==="key"||s&&typeof f!="function"||g[l]===f||Zn(t,l,f,g[l],o);if(d)s||c&&(d.__html===c.__html||d.__html===t.innerHTML)||(t.innerHTML=d.__html),e.__k=[];else if(c&&(t.innerHTML=""),vs(t,Kn(p)?p:[p],e,n,r,o&&y!=="foreignObject",i,a,i?i[0]:n.__k&&Me(n,0),s,u),i!=null)for(l=i.length;l--;)i[l]!=null&&ps(i[l]);s||(l="value",v!==void 0&&(v!==t[l]||y==="progress"&&!v||y==="option"&&v!==g[l])&&Zn(t,l,v,g[l],!1),l="checked",h!==void 0&&h!==t[l]&&Zn(t,l,h,g[l],!1))}return t}function wo(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(r){S.__e(r,n)}}function mo(t,e,n){var r,o;if(S.unmount&&S.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||wo(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){S.__e(i,e)}r.base=r.__P=null,t.__c=void 0}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&mo(r[o],e,n||typeof t.type!="function");n||t.__e==null||ps(t.__e),t.__=t.__e=t.__d=void 0}function Qd(t,e,n){return this.constructor(t,n)}function Fe(t,e,n){var r,o,i,a;S.__&&S.__(t,e),o=(r=typeof n=="function")?null:n&&n.__k||e.__k,i=[],a=[],go(e,t=(!r&&n||e).__k=O(X,null,[t]),o||hn,hn,e.ownerSVGElement!==void 0,!r&&n?[n]:o?null:e.firstChild?pn.call(e.childNodes):null,i,!r&&n?n:o?o.__e:e.firstChild,r,a),bs(i,t,a)}function yo(t,e){Fe(t,e,yo)}function tf(t,e,n){var r,o,i,a,s=Dt({},t.props);for(i in t.type&&t.type.defaultProps&&(a=t.type.defaultProps),e)i=="key"?r=e[i]:i=="ref"?o=e[i]:s[i]=e[i]===void 0&&a!==void 0?a[i]:e[i];return arguments.length>2&&(s.children=arguments.length>3?pn.call(arguments,2):n),_n(t.type,s,r||t.key,o||t.ref,null)}function vn(t,e){var n={__c:e="__cC"+ds++,__:t,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[e]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(function(s){s.__e=!0,vo(s)})},this.sub=function(a){o.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o.splice(o.indexOf(a),1),s&&s.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}pn=fs.slice,S={__e:function(t,e,n,r){for(var o,i,a;e=e.__;)if((o=e.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(t)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,r||{}),a=o.__d),a)return o.__E=o}catch(s){t=s}throw t}},ss=0,cs=function(t){return t!=null&&t.constructor==null},gt.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Dt({},this.state),typeof t=="function"&&(t=t(Dt({},n),this.props)),t&&Dt(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),vo(this))},gt.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),vo(this))},gt.prototype.render=X,me=[],us=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_o=function(t,e){return t.__v.__b-e.__v.__b},Xn.__r=0,ds=0;var xs=/[\s\n\\/='"\0<>]/,ks=/^(xlink|xmlns|xml)([A-Z])/,ef=/^accessK|^auto[A-Z]|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|readO|rowS|spellC|src[A-Z]|tabI|item[A-Z]/,nf=/^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/,rf=/["&<]/;function Gn(t){if(t.length===0||rf.test(t)===!1)return t;for(var e=0,n=0,r="",o="";n<t.length;n++){switch(t.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==e&&(r+=t.slice(e,n)),r+=o,e=n+1}return n!==e&&(r+=t.slice(e,n)),r}var $s={},of=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"]),af=/[A-Z]/g;function sf(t){var e="";for(var n in t){var r=t[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:$s[n]||($s[n]=n.replace(af,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||of.has(o)||(i="px;"),e=e+o+":"+r+i}}return e||void 0}var bo,ye,gn,be,js=[],Es=Array.isArray,xo=Object.assign;function cf(t,e){var n=S.__s;S.__s=!0,bo=S.__b,ye=S.diffed,gn=S.__r,be=S.unmount;var r=O(X,null);r.__k=[t];try{return xe(t,e||Cs,!1,void 0,r)}finally{S.__c&&S.__c(t,js),S.__s=n,js.length=0}}function Ss(){this.__d=!0}var Cs={};function Os(t,e){var n,r=t.type,o=!0;return t.__c?(o=!1,(n=t.__c).state=n.__s):n=new r(t.props,e),t.__c=n,n.__v=t,n.props=t.props,n.context=e,n.__d=!0,n.state==null&&(n.state=Cs),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=xo({},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(),gn&&gn(t),n.render(n.props,n.state,e)}function xe(t,e,n,r,o){if(t==null||t===!0||t===!1||t==="")return"";if(typeof t!="object")return typeof t=="function"?"":Gn(t+"");if(Es(t)){var i="";o.__k=t;for(var a=0;a<t.length;a++){var s=t[a];s!=null&&typeof s!="boolean"&&(i+=xe(s,e,n,r,o))}return i}if(t.constructor!==void 0)return"";t.__=o,bo&&bo(t);var u,l,d,c=t.type,p=t.props,f=e;if(typeof c=="function"){if(c===X){if(p.tpl){for(var v="",h=0;h<p.tpl.length;h++)if(v+=p.tpl[h],p.exprs&&h<p.exprs.length){var g=p.exprs[h];if(g==null)continue;typeof g!="object"||g.constructor!==void 0&&!Es(g)?v+=g:v+=xe(g,e,n,r,t)}return v}if(p.UNSTABLE_comment)return"<!--"+Gn(p.UNSTABLE_comment||"")+"-->";l=p.children}else{if((u=c.contextType)!=null){var _=e[u.__c];f=_?_.props.value:u.__}if(c.prototype&&typeof c.prototype.render=="function")l=Os(t,f),d=t.__c;else{t.__c=d={__v:t,props:p,context:f,setState:Ss,forceUpdate:Ss,__d:!0,__h:[]};for(var y=0;d.__d&&y++<25;)d.__d=!1,gn&&gn(t),l=c.call(d,p,f);d.__d=!0}if(d.getChildContext!=null&&(e=xo({},e,d.getChildContext())),(c.getDerivedStateFromError||d.componentDidCatch)&&S.errorBoundaries){var m="";l=l!=null&&l.type===X&&l.key==null?l.props.children:l;try{return m=xe(l,e,n,r,t)}catch(A){return c.getDerivedStateFromError&&(d.__s=c.getDerivedStateFromError(A)),d.componentDidCatch&&d.componentDidCatch(A,{}),d.__d&&(l=Os(t,e),(d=t.__c).getChildContext!=null&&(e=xo({},e,d.getChildContext())),m=xe(l=l!=null&&l.type===X&&l.key==null?l.props.children:l,e,n,r,t)),m}finally{ye&&ye(t),t.__=void 0,be&&be(t)}}}var x=xe(l=l!=null&&l.type===X&&l.key==null?l.props.children:l,e,n,r,t);return ye&&ye(t),t.__=void 0,be&&be(t),x}var k,j="<"+c,E="";for(var b in p){var $=p[b];switch(b){case"children":k=$;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in p)continue;b="for";break;case"className":if("class"in p)continue;b="class";break;case"defaultChecked":b="checked";break;case"defaultSelected":b="selected";break;case"defaultValue":case"value":switch(b="value",c){case"textarea":k=$;continue;case"select":r=$;continue;case"option":r!=$||"selected"in p||(j+=" selected")}break;case"dangerouslySetInnerHTML":E=$&&$.__html;continue;case"style":typeof $=="object"&&($=sf($));break;case"acceptCharset":b="accept-charset";break;case"httpEquiv":b="http-equiv";break;default:if(ks.test(b))b=b.replace(ks,"$1:$2").toLowerCase();else{if(xs.test(b))continue;b[4]!=="-"&&b!=="draggable"||$==null?n?nf.test(b)&&(b=b==="panose1"?"panose-1":b.replace(/([A-Z])/g,"-$1").toLowerCase()):ef.test(b)&&(b=b.toLowerCase()):$+=""}}$!=null&&$!==!1&&typeof $!="function"&&(j=$===!0||$===""?j+" "+b:j+" "+b+'="'+Gn($+"")+'"')}if(xs.test(c))throw new Error(c+" is not a valid HTML tag name in "+j+">");return E||(typeof k=="string"?E=Gn(k):k!=null&&k!==!1&&k!==!0&&(E=xe(k,e,c==="svg"||c!=="foreignObject"&&n,r,t))),ye&&ye(t),t.__=void 0,be&&be(t),!E&&lf.has(c)?j+"/>":j+">"+E+"</"+c+">"}var lf=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),uf=0;function P(t,e,n,r,o,i){var a,s,u={};for(s in e)s=="ref"?a=e[s]:u[s]=e[s];var l={type:t,props:u,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--uf,__i:-1,__u:0,__source:o,__self:i};if(typeof t=="function"&&(a=t.defaultProps))for(s in a)u[s]===void 0&&(u[s]=a[s]);return S.vnode&&S.vnode(l),l}const df={bell:P(X,{children:[P("path",{d:"M10 17C10 17.6188 10.2634 18.2123 10.7322 18.6499C11.2011 19.0875 11.837 19.3333 12.5 19.3333C13.163 19.3333 13.7989 19.0875 14.2678 18.6499C14.7366 18.2123 15 17.6188 15 17"}),P("path",{d:"M7.5 10.5C7.5 6.5 9.38614 4.5 12.5 4.5C15.6136 4.5 17.5 6.5 17.5 10.5C17.5 13.8056 18.4355 14.7938 18.9167 15.625C19.019 15.8021 19.0192 16.0302 18.9173 16.2074C18.8153 16.3847 18.6181 16.4993 18.4136 16.5H6.74694C6.54275 16.4988 6.34596 16.384 6.24439 16.2068C6.14283 16.0297 6.14317 15.8018 6.24528 15.625C6.7258 14.7938 7.5 13.7435 7.5 10.5Z"})]}),x:P("path",{d:"M8 8l8 8M8 16l8 -8"})},ff=({theme:t})=>P("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:P("defs",{children:Object.entries(df).map(([e,n])=>P("symbol",{id:`i-icon-${e}`,children:P("g",{fill:"none","stroke-width":t.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),pf=({name:t,...e})=>P("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:P("use",{href:`#i-icon-${t}`})});function ot(){return ot=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ot.apply(this,arguments)}var Nt,V,ko,As,Ve=0,Ps=[],Jn=[],Ts=S.__b,Rs=S.__r,Ds=S.diffed,Ls=S.__c,Ns=S.unmount;function ke(t,e){S.__h&&S.__h(V,t,Ve||e),Ve=0;var n=V.__H||(V.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:Jn}),n.__[t]}function z(t){return Ve=1,Qn(Is,t)}function Qn(t,e,n){var r=ke(Nt++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):Is(void 0,e),function(s){var u=r.__N?r.__N[0]:r.__[0],l=r.t(u,s);u!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=V,!V.u)){var o=function(s,u,l){if(!r.__c.__H)return!0;var d=r.__c.__H.__.filter(function(p){return p.__c});if(d.every(function(p){return!p.__N}))return!i||i.call(this,s,u,l);var c=!1;return d.forEach(function(p){if(p.__N){var f=p.__[0];p.__=p.__N,p.__N=void 0,f!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,u,l))};V.u=!0;var i=V.shouldComponentUpdate,a=V.componentWillUpdate;V.componentWillUpdate=function(s,u,l){if(this.__e){var d=i;i=void 0,o(s,u,l),i=d}a&&a.call(this,s,u,l)},V.shouldComponentUpdate=o}return r.__N||r.__}function B(t,e){var n=ke(Nt++,3);!S.__s&&jo(n.__H,e)&&(n.__=t,n.i=e,V.__H.__h.push(n))}function $e(t,e){var n=ke(Nt++,4);!S.__s&&jo(n.__H,e)&&(n.__=t,n.i=e,V.__h.push(n))}function M(t){return Ve=5,at(function(){return{current:t}},[])}function Ms(t,e,n){Ve=6,$e(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},n==null?n:n.concat(t))}function at(t,e){var n=ke(Nt++,7);return jo(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__}function tt(t,e){return Ve=8,at(function(){return t},e)}function tr(t){var e=V.context[t.__c],n=ke(Nt++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(V)),e.props.value):t.__}function Fs(t,e){S.useDebugValue&&S.useDebugValue(e?e(t):t)}function hf(t){var e=ke(Nt++,10),n=z();return e.__=t,V.componentDidCatch||(V.componentDidCatch=function(r,o){e.__&&e.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Vs(){var t=ke(Nt++,11);if(!t.__){for(var e=V.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function _f(){for(var t;t=Ps.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(er),t.__H.__h.forEach($o),t.__H.__h=[]}catch(e){t.__H.__h=[],S.__e(e,t.__v)}}S.__b=function(t){V=null,Ts&&Ts(t)},S.__r=function(t){Rs&&Rs(t),Nt=0;var e=(V=t.__c).__H;e&&(ko===V?(e.__h=[],V.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Jn,n.__N=n.i=void 0})):(e.__h.forEach(er),e.__h.forEach($o),e.__h=[],Nt=0)),ko=V},S.diffed=function(t){Ds&&Ds(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(Ps.push(e)!==1&&As===S.requestAnimationFrame||((As=S.requestAnimationFrame)||vf)(_f)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Jn&&(n.__=n.__V),n.i=void 0,n.__V=Jn})),ko=V=null},S.__c=function(t,e){e.some(function(n){try{n.__h.forEach(er),n.__h=n.__h.filter(function(r){return!r.__||$o(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],S.__e(r,n.__v)}}),Ls&&Ls(t,e)},S.unmount=function(t){Ns&&Ns(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{er(r)}catch(o){e=o}}),n.__H=void 0,e&&S.__e(e,n.__v))};var Hs=typeof requestAnimationFrame=="function";function vf(t){var e,n=function(){clearTimeout(r),Hs&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);Hs&&(e=requestAnimationFrame(n))}function er(t){var e=V,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),V=e}function $o(t){var e=V;t.__c=t.__(),V=e}function jo(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function Is(t,e){return typeof e=="function"?e(t):e}function Us(t,e){for(var n in e)t[n]=e[n];return t}function Eo(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var r in e)if(r!=="__source"&&t[r]!==e[r])return!0;return!1}function nr(t){this.props=t}function Ws(t,e){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),e?!e(this.props,o)||!a:Eo(this.props,o)}function r(o){return this.shouldComponentUpdate=n,O(t,o)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(nr.prototype=new gt).isPureReactComponent=!0,nr.prototype.shouldComponentUpdate=function(t,e){return Eo(this.props,t)||Eo(this.state,e)};var zs=S.__b;S.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),zs&&zs(t)};var gf=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function it(t){function e(n){var r=Us({},n);return delete r.ref,t(r,n.ref||null)}return e.$$typeof=gf,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var Bs=function(t,e){return t==null?null:Lt(Lt(t).map(e))},Mt={map:Bs,forEach:Bs,count:function(t){return t?Lt(t).length:0},only:function(t){var e=Lt(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:Lt},wf=S.__e;S.__e=function(t,e,n,r){if(t.then){for(var o,i=e;i=i.__;)if((o=i.__c)&&o.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),o.__c(t,e)}wf(t,e,n,r)};var Ys=S.unmount;function qs(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),t.__c.__H=null),(t=Us({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return qs(r,e,n)})),t}function Ks(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return Ks(r,e,n)}),t.__c&&t.__c.__P===e&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}function wn(){this.__u=0,this.t=null,this.__b=null}function Xs(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function Zs(t){var e,n,r;function o(i){if(e||(e=t()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw e;return O(n,i)}return o.displayName="Lazy",o.__f=!0,o}function He(){this.u=null,this.o=null}S.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),Ys&&Ys(t)},(wn.prototype=new gt).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Xs(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 u=r.state.__a;r.__v.__k[0]=Ks(u,u.__c.__P,u.__c.__O)}var l;for(r.setState({__a:r.__b=null});l=r.t.pop();)l.forceUpdate()}};r.__u++||32&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),t.then(a,a)},wn.prototype.componentWillUnmount=function(){this.t=[]},wn.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=qs(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__a&&O(X,null,t.fallback);return o&&(o.__u&=-33),[O(X,null,e.__a?null:t.children),o]};var Gs=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function mf(t){return this.getChildContext=function(){return t.context},t.children}function yf(t){var e=this,n=t.i;e.componentWillUnmount=function(){Fe(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(r){this.childNodes.push(r),e.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),e.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),e.i.removeChild(r)}}),Fe(O(mf,{context:e.context},t.__v),e.l)}function Js(t,e){var n=O(yf,{__v:t,i:e});return n.containerInfo=e,n}(He.prototype=new gt).__a=function(t){var e=this,n=Xs(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),Gs(e,t,r)):o()};n?n(i):i()}},He.prototype.render=function(t){this.u=null,this.o=new Map;var e=Lt(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},He.prototype.componentDidUpdate=He.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){Gs(t,n,e)})};var Qs=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,bf=/^(?: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]/,xf=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,kf=/[A-Z0-9]/g,$f=typeof document<"u",jf=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function tc(t,e,n){return e.__k==null&&(e.textContent=""),Fe(t,e),typeof n=="function"&&n(),t?t.__c:null}function ec(t,e,n){return yo(t,e),typeof n=="function"&&n(),t?t.__c:null}gt.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(gt.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var nc=S.event;function Ef(){}function Sf(){return this.cancelBubble}function Cf(){return this.defaultPrevented}S.event=function(t){return nc&&(t=nc(t)),t.persist=Ef,t.isPropagationStopped=Sf,t.isDefaultPrevented=Cf,t.nativeEvent=t};var So,Of={enumerable:!1,configurable:!0,get:function(){return this.class}},rc=S.vnode;S.vnode=function(t){typeof t.type=="string"&&function(e){var n=e.props,r=e.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||$f&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var s=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&a===!0?a="":s==="ondoubleclick"?i="ondblclick":s!=="onchange"||r!=="input"&&r!=="textarea"||jf(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":xf.test(i)?i=s:r.indexOf("-")===-1&&bf.test(i)?i=i.replace(kf,"-$&").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=Lt(n.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Lt(n.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Of)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(t),t.$$typeof=Qs,rc&&rc(t)};var oc=S.__r;S.__r=function(t){oc&&oc(t),So=t.__c};var ic=S.diffed;S.diffed=function(t){ic&&ic(t);var e=t.props,n=t.__e;n!=null&&t.type==="textarea"&&"value"in e&&e.value!==n.value&&(n.value=e.value==null?"":e.value),So=null};var ac={ReactCurrentDispatcher:{current:{readContext:function(t){return So.__n[t.__c].props.value}}}},Af="17.0.2";function sc(t){return O.bind(null,t)}function Ft(t){return!!t&&t.$$typeof===Qs}function cc(t){return Ft(t)&&t.type===X}function Ie(t){return Ft(t)?tf.apply(null,arguments):t}function lc(t){return!!t.__k&&(Fe(null,t),!0)}function uc(t){return t&&(t.base||t.nodeType===1&&t)||null}var dc=function(t,e){return t(e)},mn=function(t,e){return t(e)},fc=X;function Co(t){t()}function pc(t){return t}function hc(){return[!1,Co]}var _c=$e,vc=Ft;function gc(t,e){var n=e(),r=z({h:{__:n,v:e}}),o=r[0].h,i=r[1];return $e(function(){o.__=n,o.v=e,Oo(o)&&i({h:o})},[t,n,e]),B(function(){return Oo(o)&&i({h:o}),t(function(){Oo(o)&&i({h:o})})},[t]),n}function Oo(t){var e,n,r=t.v,o=t.__;try{var i=r();return!((e=o)===(n=i)&&(e!==0||1/e==1/n)||e!=e&&n!=n)}catch{return!0}}var Pf={useState:z,useId:Vs,useReducer:Qn,useEffect:B,useLayoutEffect:$e,useInsertionEffect:_c,useTransition:hc,useDeferredValue:pc,useSyncExternalStore:gc,startTransition:Co,useRef:M,useImperativeHandle:Ms,useMemo:at,useCallback:tt,useContext:tr,useDebugValue:Fs,version:"17.0.2",Children:Mt,render:tc,hydrate:ec,unmountComponentAtNode:lc,createPortal:Js,createElement:O,createContext:vn,createFactory:sc,cloneElement:Ie,createRef:hs,Fragment:X,isValidElement:Ft,isElement:vc,isFragment:cc,findDOMNode:uc,Component:gt,PureComponent:nr,memo:Ws,forwardRef:it,flushSync:mn,unstable_batchedUpdates:dc,StrictMode:fc,Suspense:wn,SuspenseList:He,lazy:Zs,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ac};const Tf=Object.freeze(Object.defineProperty({__proto__:null,Children:Mt,Component:gt,Fragment:X,PureComponent:nr,StrictMode:fc,Suspense:wn,SuspenseList:He,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ac,cloneElement:Ie,createContext:vn,createElement:O,createFactory:sc,createPortal:Js,createRef:hs,default:Pf,findDOMNode:uc,flushSync:mn,forwardRef:it,hydrate:ec,isElement:vc,isFragment:cc,isValidElement:Ft,lazy:Zs,memo:Ws,render:tc,startTransition:Co,unmountComponentAtNode:lc,unstable_batchedUpdates:dc,useCallback:tt,useContext:tr,useDebugValue:Fs,useDeferredValue:pc,useEffect:B,useErrorBoundary:hf,useId:Vs,useImperativeHandle:Ms,useInsertionEffect:_c,useLayoutEffect:$e,useMemo:at,useReducer:Qn,useRef:M,useState:z,useSyncExternalStore:gc,useTransition:hc,version:Af},Symbol.toStringTag,{value:"Module"}));function je(t,e,{checkForDefaultPrevented:n=!0}={}){return function(o){if(t==null||t(o),n===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function Rf(t,e){typeof t=="function"?t(e):t!=null&&(t.current=e)}function wc(...t){return e=>t.forEach(n=>Rf(n,e))}function Ee(...t){return tt(wc(...t),t)}function mc(t,e=[]){let n=[];function r(i,a){const s=vn(a),u=n.length;n=[...n,a];function l(c){const{scope:p,children:f,...v}=c,h=(p==null?void 0:p[t][u])||s,g=at(()=>v,Object.values(v));return O(h.Provider,{value:g},f)}function d(c,p){const f=(p==null?void 0:p[t][u])||s,v=tr(f);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${i}\``)}return l.displayName=i+"Provider",[l,d]}const o=()=>{const i=n.map(a=>vn(a));return function(s){const u=(s==null?void 0:s[t])||i;return at(()=>({[`__scope${t}`]:{...s,[t]:u}}),[s,u])}};return o.scopeName=t,[r,Df(o,...e)]}function Df(...t){const e=t[0];if(t.length===1)return e;const n=()=>{const r=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:u,scopeName:l})=>{const c=u(i)[`__scope${l}`];return{...s,...c}},{});return at(()=>({[`__scope${e.scopeName}`]:a}),[a])}};return n.scopeName=e.scopeName,n}const Ao=it((t,e)=>{const{children:n,...r}=t,o=Mt.toArray(n),i=o.find(Nf);if(i){const a=i.props.children,s=o.map(u=>u===i?Mt.count(a)>1?Mt.only(null):Ft(a)?a.props.children:null:u);return O(Po,ot({},r,{ref:e}),Ft(a)?Ie(a,void 0,s):null)}return O(Po,ot({},r,{ref:e}),n)});Ao.displayName="Slot";const Po=it((t,e)=>{const{children:n,...r}=t;return Ft(n)?Ie(n,{...Mf(r,n.props),ref:e?wc(e,n.ref):n.ref}):Mt.count(n)>1?Mt.only(null):null});Po.displayName="SlotClone";const Lf=({children:t})=>O(X,null,t);function Nf(t){return Ft(t)&&t.type===Lf}function Mf(t,e){const n={...e};for(const r in e){const o=t[r],i=e[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...t,...n}}const yn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((t,e)=>{const n=it((r,o)=>{const{asChild:i,...a}=r,s=i?Ao:e;return B(()=>{window[Symbol.for("radix-ui")]=!0},[]),O(s,ot({},a,{ref:o}))});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function Ff(t,e){t&&mn(()=>t.dispatchEvent(e))}function ee(t){const e=M(t);return B(()=>{e.current=t}),at(()=>(...n)=>{var r;return(r=e.current)===null||r===void 0?void 0:r.call(e,...n)},[])}function Vf(t,e=globalThis==null?void 0:globalThis.document){const n=ee(t);B(()=>{const r=o=>{o.key==="Escape"&&n(o)};return e.addEventListener("keydown",r),()=>e.removeEventListener("keydown",r)},[n,e])}const To="dismissableLayer.update",Hf="dismissableLayer.pointerDownOutside",If="dismissableLayer.focusOutside";let yc;const Uf=vn({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Wf=it((t,e)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:u,...l}=t,d=tr(Uf),[c,p]=z(null),f=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,v]=z({}),h=Ee(e,b=>p(b)),g=Array.from(d.layers),[_]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(_),m=c?g.indexOf(c):-1,x=d.layersWithOutsidePointerEventsDisabled.size>0,k=m>=y,j=zf(b=>{const $=b.target,A=[...d.branches].some(H=>H.contains($));!k||A||(i==null||i(b),s==null||s(b),b.defaultPrevented||u==null||u())},f),E=Bf(b=>{const $=b.target;[...d.branches].some(H=>H.contains($))||(a==null||a(b),s==null||s(b),b.defaultPrevented||u==null||u())},f);return Vf(b=>{m===d.layers.size-1&&(o==null||o(b),!b.defaultPrevented&&u&&(b.preventDefault(),u()))},f),B(()=>{if(c)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(yc=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(c)),d.layers.add(c),bc(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=yc)}},[c,f,r,d]),B(()=>()=>{c&&(d.layers.delete(c),d.layersWithOutsidePointerEventsDisabled.delete(c),bc())},[c,d]),B(()=>{const b=()=>v({});return document.addEventListener(To,b),()=>document.removeEventListener(To,b)},[]),O(yn.div,ot({},l,{ref:h,style:{pointerEvents:x?k?"auto":"none":void 0,...t.style},onFocusCapture:je(t.onFocusCapture,E.onFocusCapture),onBlurCapture:je(t.onBlurCapture,E.onBlurCapture),onPointerDownCapture:je(t.onPointerDownCapture,j.onPointerDownCapture)}))});function zf(t,e=globalThis==null?void 0:globalThis.document){const n=ee(t),r=M(!1),o=M(()=>{});return B(()=>{const i=s=>{if(s.target&&!r.current){let u=function(){xc(Hf,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(e.removeEventListener("click",o.current),o.current=u,e.addEventListener("click",o.current,{once:!0})):u()}else e.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{e.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),e.removeEventListener("pointerdown",i),e.removeEventListener("click",o.current)}},[e,n]),{onPointerDownCapture:()=>r.current=!0}}function Bf(t,e=globalThis==null?void 0:globalThis.document){const n=ee(t),r=M(!1);return B(()=>{const o=i=>{i.target&&!r.current&&xc(If,n,{originalEvent:i},{discrete:!1})};return e.addEventListener("focusin",o),()=>e.removeEventListener("focusin",o)},[e,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function bc(){const t=new CustomEvent(To);document.dispatchEvent(t)}function xc(t,e,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&o.addEventListener(t,e,{once:!0}),r?Ff(o,i):o.dispatchEvent(i)}let Ro=0;function Yf(){B(()=>{var t,e;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(t=n[0])!==null&&t!==void 0?t:kc()),document.body.insertAdjacentElement("beforeend",(e=n[1])!==null&&e!==void 0?e:kc()),Ro++,()=>{Ro===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Ro--}},[])}function kc(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",t}const Do="focusScope.autoFocusOnMount",Lo="focusScope.autoFocusOnUnmount",$c={bubbles:!1,cancelable:!0},qf=it((t,e)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=t,[s,u]=z(null),l=ee(o),d=ee(i),c=M(null),p=Ee(e,h=>u(h)),f=M({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;B(()=>{if(r){let h=function(m){if(f.paused||!s)return;const x=m.target;s.contains(x)?c.current=x:ne(c.current,{select:!0})},g=function(m){if(f.paused||!s)return;const x=m.relatedTarget;x!==null&&(s.contains(x)||ne(c.current,{select:!0}))},_=function(m){if(document.activeElement===document.body)for(const k of m)k.removedNodes.length>0&&ne(s)};document.addEventListener("focusin",h),document.addEventListener("focusout",g);const y=new MutationObserver(_);return s&&y.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",g),y.disconnect()}}},[r,s,f.paused]),B(()=>{if(s){Sc.add(f);const h=document.activeElement;if(!s.contains(h)){const _=new CustomEvent(Do,$c);s.addEventListener(Do,l),s.dispatchEvent(_),_.defaultPrevented||(Kf(Qf(jc(s)),{select:!0}),document.activeElement===h&&ne(s))}return()=>{s.removeEventListener(Do,l),setTimeout(()=>{const _=new CustomEvent(Lo,$c);s.addEventListener(Lo,d),s.dispatchEvent(_),_.defaultPrevented||ne(h??document.body,{select:!0}),s.removeEventListener(Lo,d),Sc.remove(f)},0)}}},[s,l,d,f]);const v=tt(h=>{if(!n&&!r||f.paused)return;const g=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,_=document.activeElement;if(g&&_){const y=h.currentTarget,[m,x]=Xf(y);m&&x?!h.shiftKey&&_===x?(h.preventDefault(),n&&ne(m,{select:!0})):h.shiftKey&&_===m&&(h.preventDefault(),n&&ne(x,{select:!0})):_===y&&h.preventDefault()}},[n,r,f.paused]);return O(yn.div,ot({tabIndex:-1},a,{ref:p,onKeyDown:v}))});function Kf(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(ne(r,{select:e}),document.activeElement!==n)return}function Xf(t){const e=jc(t),n=Ec(e,t),r=Ec(e.reverse(),t);return[n,r]}function jc(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function Ec(t,e){for(const n of t)if(!Zf(n,{upTo:e}))return n}function Zf(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function Gf(t){return t instanceof HTMLInputElement&&"select"in t}function ne(t,{select:e=!1}={}){if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&Gf(t)&&e&&t.select()}}const Sc=Jf();function Jf(){let t=[];return{add(e){const n=t[0];e!==n&&(n==null||n.pause()),t=Cc(t,e),t.unshift(e)},remove(e){var n;t=Cc(t,e),(n=t[0])===null||n===void 0||n.resume()}}}function Cc(t,e){const n=[...t],r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}function Qf(t){return t.filter(e=>e.tagName!=="A")}const Ue=globalThis!=null&&globalThis.document?$e:()=>{},tp=Tf["useId".toString()]||(()=>{});let ep=0;function np(t){const[e,n]=z(tp());return Ue(()=>{t||n(r=>r??String(ep++))},[t]),t||(e?`radix-${e}`:"")}const rp=["top","right","bottom","left"],re=Math.min,dt=Math.max,rr=Math.round,or=Math.floor,oe=t=>({x:t,y:t}),op={left:"right",right:"left",bottom:"top",top:"bottom"},ip={start:"end",end:"start"};function No(t,e,n){return dt(t,re(e,n))}function Vt(t,e){return typeof t=="function"?t(e):t}function Ht(t){return t.split("-")[0]}function We(t){return t.split("-")[1]}function Mo(t){return t==="x"?"y":"x"}function Fo(t){return t==="y"?"height":"width"}function ze(t){return["top","bottom"].includes(Ht(t))?"y":"x"}function Vo(t){return Mo(ze(t))}function ap(t,e,n){n===void 0&&(n=!1);const r=We(t),o=Vo(t),i=Fo(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=ir(a)),[a,ir(a)]}function sp(t){const e=ir(t);return[Ho(t),e,Ho(e)]}function Ho(t){return t.replace(/start|end/g,e=>ip[e])}function cp(t,e,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return n?e?o:r:e?r:o;case"left":case"right":return e?i:a;default:return[]}}function lp(t,e,n,r){const o=We(t);let i=cp(Ht(t),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),e&&(i=i.concat(i.map(Ho)))),i}function ir(t){return t.replace(/left|right|bottom|top/g,e=>op[e])}function up(t){return{top:0,right:0,bottom:0,left:0,...t}}function Oc(t){return typeof t!="number"?up(t):{top:t,right:t,bottom:t,left:t}}function ar(t){const{x:e,y:n,width:r,height:o}=t;return{width:r,height:o,top:n,left:e,right:e+r,bottom:n+o,x:e,y:n}}function Ac(t,e,n){let{reference:r,floating:o}=t;const i=ze(e),a=Vo(e),s=Fo(a),u=Ht(e),l=i==="y",d=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 f;switch(u){case"top":f={x:d,y:r.y-o.height};break;case"bottom":f={x:d,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:c};break;case"left":f={x:r.x-o.width,y:c};break;default:f={x:r.x,y:r.y}}switch(We(e)){case"start":f[a]-=p*(n&&l?-1:1);break;case"end":f[a]+=p*(n&&l?-1:1);break}return f}const dp=async(t,e,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(e));let l=await a.getElementRects({reference:t,floating:e,strategy:o}),{x:d,y:c}=Ac(l,r,u),p=r,f={},v=0;for(let h=0;h<s.length;h++){const{name:g,fn:_}=s[h],{x:y,y:m,data:x,reset:k}=await _({x:d,y:c,initialPlacement:r,placement:p,strategy:o,middlewareData:f,rects:l,platform:a,elements:{reference:t,floating:e}});d=y??d,c=m??c,f={...f,[g]:{...f[g],...x}},k&&v<=50&&(v++,typeof k=="object"&&(k.placement&&(p=k.placement),k.rects&&(l=k.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:o}):k.rects),{x:d,y:c}=Ac(l,p,u)),h=-1)}return{x:d,y:c,placement:p,strategy:o,middlewareData:f}};async function bn(t,e){var n;e===void 0&&(e={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:u}=t,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:c="floating",altBoundary:p=!1,padding:f=0}=Vt(e,t),v=Oc(f),g=s[p?c==="floating"?"reference":"floating":c],_=ar(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:l,rootBoundary:d,strategy:u})),y=c==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,m=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),x=await(i.isElement==null?void 0:i.isElement(m))?await(i.getScale==null?void 0:i.getScale(m))||{x:1,y:1}:{x:1,y:1},k=ar(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:m,strategy:u}):y);return{top:(_.top-k.top+v.top)/x.y,bottom:(k.bottom-_.bottom+v.bottom)/x.y,left:(_.left-k.left+v.left)/x.x,right:(k.right-_.right+v.right)/x.x}}const fp=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:u}=e,{element:l,padding:d=0}=Vt(t,e)||{};if(l==null)return{};const c=Oc(d),p={x:n,y:r},f=Vo(o),v=Fo(f),h=await a.getDimensions(l),g=f==="y",_=g?"top":"left",y=g?"bottom":"right",m=g?"clientHeight":"clientWidth",x=i.reference[v]+i.reference[f]-p[f]-i.floating[v],k=p[f]-i.reference[f],j=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l));let E=j?j[m]:0;(!E||!await(a.isElement==null?void 0:a.isElement(j)))&&(E=s.floating[m]||i.floating[v]);const b=x/2-k/2,$=E/2-h[v]/2-1,A=re(c[_],$),H=re(c[y],$),N=A,Z=E-h[v]-H,T=E/2-h[v]/2+b,K=No(N,T,Z),J=!u.arrow&&We(o)!=null&&T!==K&&i.reference[v]/2-(T<N?A:H)-h[v]/2<0,L=J?T<N?T-N:T-Z:0;return{[f]:p[f]+L,data:{[f]:K,centerOffset:T-K-L,...J&&{alignmentOffset:L}},reset:J}}}),pp=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:u,elements:l}=e,{mainAxis:d=!0,crossAxis:c=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:h=!0,...g}=Vt(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const _=Ht(o),y=Ht(s)===s,m=await(u.isRTL==null?void 0:u.isRTL(l.floating)),x=p||(y||!h?[ir(s)]:sp(s));!p&&v!=="none"&&x.push(...lp(s,h,v,m));const k=[s,...x],j=await bn(e,g),E=[];let b=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&E.push(j[_]),c){const N=ap(o,a,m);E.push(j[N[0]],j[N[1]])}if(b=[...b,{placement:o,overflows:E}],!E.every(N=>N<=0)){var $,A;const N=((($=i.flip)==null?void 0:$.index)||0)+1,Z=k[N];if(Z)return{data:{index:N,overflows:b},reset:{placement:Z}};let T=(A=b.filter(K=>K.overflows[0]<=0).sort((K,J)=>K.overflows[1]-J.overflows[1])[0])==null?void 0:A.placement;if(!T)switch(f){case"bestFit":{var H;const K=(H=b.map(J=>[J.placement,J.overflows.filter(L=>L>0).reduce((L,st)=>L+st,0)]).sort((J,L)=>J[1]-L[1])[0])==null?void 0:H[0];K&&(T=K);break}case"initialPlacement":T=s;break}if(o!==T)return{reset:{placement:T}}}return{}}}};function Pc(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Tc(t){return rp.some(e=>t[e]>=0)}const hp=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:r="referenceHidden",...o}=Vt(t,e);switch(r){case"referenceHidden":{const i=await bn(e,{...o,elementContext:"reference"}),a=Pc(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Tc(a)}}}case"escaped":{const i=await bn(e,{...o,altBoundary:!0}),a=Pc(i,n.floating);return{data:{escapedOffsets:a,escaped:Tc(a)}}}default:return{}}}}};async function _p(t,e){const{placement:n,platform:r,elements:o}=t,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=Ht(n),s=We(n),u=ze(n)==="y",l=["left","top"].includes(a)?-1:1,d=i&&u?-1:1,c=Vt(e,t);let{mainAxis:p,crossAxis:f,alignmentAxis:v}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof v=="number"&&(f=s==="end"?v*-1:v),u?{x:f*d,y:p*l}:{x:p*l,y:f*d}}const vp=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=e,u=await _p(e,t);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:a}}}}},gp=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:o}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:g=>{let{x:_,y}=g;return{x:_,y}}},...u}=Vt(t,e),l={x:n,y:r},d=await bn(e,u),c=ze(Ht(o)),p=Mo(c);let f=l[p],v=l[c];if(i){const g=p==="y"?"top":"left",_=p==="y"?"bottom":"right",y=f+d[g],m=f-d[_];f=No(y,f,m)}if(a){const g=c==="y"?"top":"left",_=c==="y"?"bottom":"right",y=v+d[g],m=v-d[_];v=No(y,v,m)}const h=s.fn({...e,[p]:f,[c]:v});return{...h,data:{x:h.x-n,y:h.y-r}}}}},wp=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=e,{offset:s=0,mainAxis:u=!0,crossAxis:l=!0}=Vt(t,e),d={x:n,y:r},c=ze(o),p=Mo(c);let f=d[p],v=d[c];const h=Vt(s,e),g=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(u){const m=p==="y"?"height":"width",x=i.reference[p]-i.floating[m]+g.mainAxis,k=i.reference[p]+i.reference[m]-g.mainAxis;f<x?f=x:f>k&&(f=k)}if(l){var _,y;const m=p==="y"?"width":"height",x=["top","left"].includes(Ht(o)),k=i.reference[c]-i.floating[m]+(x&&((_=a.offset)==null?void 0:_[c])||0)+(x?0:g.crossAxis),j=i.reference[c]+i.reference[m]+(x?0:((y=a.offset)==null?void 0:y[c])||0)-(x?g.crossAxis:0);v<k?v=k:v>j&&(v=j)}return{[p]:f,[c]:v}}}},mp=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:r,platform:o,elements:i}=e,{apply:a=()=>{},...s}=Vt(t,e),u=await bn(e,s),l=Ht(n),d=We(n),c=ze(n)==="y",{width:p,height:f}=r.floating;let v,h;l==="top"||l==="bottom"?(v=l,h=d===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=l,v=d==="end"?"top":"bottom");const g=f-u[v],_=p-u[h],y=!e.middlewareData.shift;let m=g,x=_;if(c){const j=p-u.left-u.right;x=d||y?re(_,j):j}else{const j=f-u.top-u.bottom;m=d||y?re(g,j):j}if(y&&!d){const j=dt(u.left,0),E=dt(u.right,0),b=dt(u.top,0),$=dt(u.bottom,0);c?x=p-2*(j!==0||E!==0?j+E:dt(u.left,u.right)):m=f-2*(b!==0||$!==0?b+$:dt(u.top,u.bottom))}await a({...e,availableWidth:x,availableHeight:m});const k=await o.getDimensions(i.floating);return p!==k.width||f!==k.height?{reset:{rects:!0}}:{}}}};function ie(t){return Rc(t)?(t.nodeName||"").toLowerCase():"#document"}function ft(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function It(t){var e;return(e=(Rc(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Rc(t){return t instanceof Node||t instanceof ft(t).Node}function Ut(t){return t instanceof Element||t instanceof ft(t).Element}function jt(t){return t instanceof HTMLElement||t instanceof ft(t).HTMLElement}function Dc(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ft(t).ShadowRoot}function xn(t){const{overflow:e,overflowX:n,overflowY:r,display:o}=wt(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(o)}function yp(t){return["table","td","th"].includes(ie(t))}function Io(t){const e=Uo(),n=wt(t);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function bp(t){let e=Be(t);for(;jt(e)&&!sr(e);){if(Io(e))return e;e=Be(e)}return null}function Uo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function sr(t){return["html","body","#document"].includes(ie(t))}function wt(t){return ft(t).getComputedStyle(t)}function cr(t){return Ut(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Be(t){if(ie(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Dc(t)&&t.host||It(t);return Dc(e)?e.host:e}function Lc(t){const e=Be(t);return sr(e)?t.ownerDocument?t.ownerDocument.body:t.body:jt(e)&&xn(e)?e:Lc(e)}function kn(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const o=Lc(t),i=o===((r=t.ownerDocument)==null?void 0:r.body),a=ft(o);return i?e.concat(a,a.visualViewport||[],xn(o)?o:[],a.frameElement&&n?kn(a.frameElement):[]):e.concat(o,kn(o,[],n))}function Nc(t){const e=wt(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const o=jt(t),i=o?t.offsetWidth:n,a=o?t.offsetHeight:r,s=rr(n)!==i||rr(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Wo(t){return Ut(t)?t:t.contextElement}function Ye(t){const e=Wo(t);if(!jt(e))return oe(1);const n=e.getBoundingClientRect(),{width:r,height:o,$:i}=Nc(e);let a=(i?rr(n.width):n.width)/r,s=(i?rr(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const xp=oe(0);function Mc(t){const e=ft(t);return!Uo()||!e.visualViewport?xp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function kp(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==ft(t)?!1:e}function Se(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=Wo(t);let a=oe(1);e&&(r?Ut(r)&&(a=Ye(r)):a=Ye(t));const s=kp(i,n,r)?Mc(i):oe(0);let u=(o.left+s.x)/a.x,l=(o.top+s.y)/a.y,d=o.width/a.x,c=o.height/a.y;if(i){const p=ft(i),f=r&&Ut(r)?ft(r):r;let v=p,h=v.frameElement;for(;h&&r&&f!==v;){const g=Ye(h),_=h.getBoundingClientRect(),y=wt(h),m=_.left+(h.clientLeft+parseFloat(y.paddingLeft))*g.x,x=_.top+(h.clientTop+parseFloat(y.paddingTop))*g.y;u*=g.x,l*=g.y,d*=g.x,c*=g.y,u+=m,l+=x,v=ft(h),h=v.frameElement}}return ar({width:d,height:c,x:u,y:l})}const $p=[":popover-open",":modal"];function Fc(t){return $p.some(e=>{try{return t.matches(e)}catch{return!1}})}function jp(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t;const i=o==="fixed",a=It(r),s=e?Fc(e.floating):!1;if(r===a||s&&i)return n;let u={scrollLeft:0,scrollTop:0},l=oe(1);const d=oe(0),c=jt(r);if((c||!c&&!i)&&((ie(r)!=="body"||xn(a))&&(u=cr(r)),jt(r))){const p=Se(r);l=Ye(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-u.scrollLeft*l.x+d.x,y:n.y*l.y-u.scrollTop*l.y+d.y}}function Ep(t){return Array.from(t.getClientRects())}function Vc(t){return Se(It(t)).left+cr(t).scrollLeft}function Sp(t){const e=It(t),n=cr(t),r=t.ownerDocument.body,o=dt(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=dt(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Vc(t);const s=-n.scrollTop;return wt(r).direction==="rtl"&&(a+=dt(e.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function Cp(t,e){const n=ft(t),r=It(t),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,u=0;if(o){i=o.width,a=o.height;const l=Uo();(!l||l&&e==="fixed")&&(s=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:s,y:u}}function Op(t,e){const n=Se(t,!0,e==="fixed"),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=jt(t)?Ye(t):oe(1),a=t.clientWidth*i.x,s=t.clientHeight*i.y,u=o*i.x,l=r*i.y;return{width:a,height:s,x:u,y:l}}function Hc(t,e,n){let r;if(e==="viewport")r=Cp(t,n);else if(e==="document")r=Sp(It(t));else if(Ut(e))r=Op(e,n);else{const o=Mc(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return ar(r)}function Ic(t,e){const n=Be(t);return n===e||!Ut(n)||sr(n)?!1:wt(n).position==="fixed"||Ic(n,e)}function Ap(t,e){const n=e.get(t);if(n)return n;let r=kn(t,[],!1).filter(s=>Ut(s)&&ie(s)!=="body"),o=null;const i=wt(t).position==="fixed";let a=i?Be(t):t;for(;Ut(a)&&!sr(a);){const s=wt(a),u=Io(a);!u&&s.position==="fixed"&&(o=null),(i?!u&&!o:!u&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||xn(a)&&!u&&Ic(t,a))?r=r.filter(d=>d!==a):o=s,a=Be(a)}return e.set(t,r),r}function Pp(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const a=[...n==="clippingAncestors"?Ap(e,this._c):[].concat(n),r],s=a[0],u=a.reduce((l,d)=>{const c=Hc(e,d,o);return l.top=dt(c.top,l.top),l.right=re(c.right,l.right),l.bottom=re(c.bottom,l.bottom),l.left=dt(c.left,l.left),l},Hc(e,s,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Tp(t){const{width:e,height:n}=Nc(t);return{width:e,height:n}}function Rp(t,e,n){const r=jt(e),o=It(e),i=n==="fixed",a=Se(t,!0,i,e);let s={scrollLeft:0,scrollTop:0};const u=oe(0);if(r||!r&&!i)if((ie(e)!=="body"||xn(o))&&(s=cr(e)),r){const c=Se(e,!0,i,e);u.x=c.x+e.clientLeft,u.y=c.y+e.clientTop}else o&&(u.x=Vc(o));const l=a.left+s.scrollLeft-u.x,d=a.top+s.scrollTop-u.y;return{x:l,y:d,width:a.width,height:a.height}}function Uc(t,e){return!jt(t)||wt(t).position==="fixed"?null:e?e(t):t.offsetParent}function Wc(t,e){const n=ft(t);if(!jt(t)||Fc(t))return n;let r=Uc(t,e);for(;r&&yp(r)&&wt(r).position==="static";)r=Uc(r,e);return r&&(ie(r)==="html"||ie(r)==="body"&&wt(r).position==="static"&&!Io(r))?n:r||bp(t)||n}const Dp=async function(t){const e=this.getOffsetParent||Wc,n=this.getDimensions,r=await n(t.floating);return{reference:Rp(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Lp(t){return wt(t).direction==="rtl"}const Np={convertOffsetParentRelativeRectToViewportRelativeRect:jp,getDocumentElement:It,getClippingRect:Pp,getOffsetParent:Wc,getElementRects:Dp,getClientRects:Ep,getDimensions:Tp,getScale:Ye,isElement:Ut,isRTL:Lp};function Mp(t,e){let n=null,r;const o=It(t);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,u){s===void 0&&(s=!1),u===void 0&&(u=1),i();const{left:l,top:d,width:c,height:p}=t.getBoundingClientRect();if(s||e(),!c||!p)return;const f=or(d),v=or(o.clientWidth-(l+c)),h=or(o.clientHeight-(d+p)),g=or(l),y={rootMargin:-f+"px "+-v+"px "+-h+"px "+-g+"px",threshold:dt(0,re(1,u))||1};let m=!0;function x(k){const j=k[0].intersectionRatio;if(j!==u){if(!m)return a();j?a(!1,j):r=setTimeout(()=>{a(!1,1e-7)},1e3)}m=!1}try{n=new IntersectionObserver(x,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(x,y)}n.observe(t)}return a(!0),i}function Fp(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,l=Wo(t),d=o||i?[...l?kn(l):[],...kn(e)]:[];d.forEach(_=>{o&&_.addEventListener("scroll",n,{passive:!0}),i&&_.addEventListener("resize",n)});const c=l&&s?Mp(l,n):null;let p=-1,f=null;a&&(f=new ResizeObserver(_=>{let[y]=_;y&&y.target===l&&f&&(f.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var m;(m=f)==null||m.observe(e)})),n()}),l&&!u&&f.observe(l),f.observe(e));let v,h=u?Se(t):null;u&&g();function g(){const _=Se(t);h&&(_.x!==h.x||_.y!==h.y||_.width!==h.width||_.height!==h.height)&&n(),h=_,v=requestAnimationFrame(g)}return n(),()=>{var _;d.forEach(y=>{o&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),c==null||c(),(_=f)==null||_.disconnect(),f=null,u&&cancelAnimationFrame(v)}}const Vp=vp,Hp=gp,Ip=pp,Up=mp,Wp=hp,zc=fp,zp=wp,Bp=(t,e,n)=>{const r=new Map,o={platform:Np,...n},i={...o.platform,_c:r};return dp(t,e,{...o,platform:i})},Yp=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:r,padding:o}=typeof t=="function"?t(n):t;return r&&e(r)?r.current!=null?zc({element:r.current,padding:o}).fn(n):{}:r?zc({element:r,padding:o}).fn(n):{}}}};var lr=typeof document<"u"?$e:B;function ur(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,r,o;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!ur(t[r],e[r]))return!1;return!0}if(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(e,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&t.$$typeof)&&!ur(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function Bc(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Yc(t,e){const n=Bc(t);return Math.round(e*n)/n}function qc(t){const e=M(t);return lr(()=>{e.current=t}),e}function qp(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:u,open:l}=t,[d,c]=z({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[p,f]=z(r);ur(p,r)||f(r);const[v,h]=z(null),[g,_]=z(null),y=tt(L=>{L!==j.current&&(j.current=L,h(L))},[]),m=tt(L=>{L!==E.current&&(E.current=L,_(L))},[]),x=i||v,k=a||g,j=M(null),E=M(null),b=M(d),$=u!=null,A=qc(u),H=qc(o),N=tt(()=>{if(!j.current||!E.current)return;const L={placement:e,strategy:n,middleware:p};H.current&&(L.platform=H.current),Bp(j.current,E.current,L).then(st=>{const mt={...st,isPositioned:!0};Z.current&&!ur(b.current,mt)&&(b.current=mt,mn(()=>{c(mt)}))})},[p,e,n,H]);lr(()=>{l===!1&&b.current.isPositioned&&(b.current.isPositioned=!1,c(L=>({...L,isPositioned:!1})))},[l]);const Z=M(!1);lr(()=>(Z.current=!0,()=>{Z.current=!1}),[]),lr(()=>{if(x&&(j.current=x),k&&(E.current=k),x&&k){if(A.current)return A.current(x,k,N);N()}},[x,k,N,A,$]);const T=at(()=>({reference:j,floating:E,setReference:y,setFloating:m}),[y,m]),K=at(()=>({reference:x,floating:k}),[x,k]),J=at(()=>{const L={position:n,left:0,top:0};if(!K.floating)return L;const st=Yc(K.floating,d.x),mt=Yc(K.floating,d.y);return s?{...L,transform:"translate("+st+"px, "+mt+"px)",...Bc(K.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:st,top:mt}},[n,s,K.floating,d.x,d.y]);return at(()=>({...d,update:N,refs:T,elements:K,floatingStyles:J}),[d,N,T,K,J])}function Kp(t){const[e,n]=z(void 0);return Ue(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const u=i.borderBoxSize,l=Array.isArray(u)?u[0]:u;a=l.inlineSize,s=l.blockSize}else a=t.offsetWidth,s=t.offsetHeight;n({width:a,height:s})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}const Kc="Popper",[Xc,Zc]=mc(Kc),[Xp,Gc]=Xc(Kc),Zp=t=>{const{__scopePopper:e,children:n}=t,[r,o]=z(null);return O(Xp,{scope:e,anchor:r,onAnchorChange:o},n)},Gp="PopperAnchor",Jp=it((t,e)=>{const{__scopePopper:n,virtualRef:r,...o}=t,i=Gc(Gp,n),a=M(null),s=Ee(e,a);return B(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:O(yn.div,ot({},o,{ref:s}))}),Jc="PopperContent",[Qp,H_]=Xc(Jc),th=it((t,e)=>{var n,r,o,i,a,s,u,l;const{__scopePopper:d,side:c="bottom",sideOffset:p=0,align:f="center",alignOffset:v=0,arrowPadding:h=0,avoidCollisions:g=!0,collisionBoundary:_=[],collisionPadding:y=0,sticky:m="partial",hideWhenDetached:x=!1,updatePositionStrategy:k="optimized",onPlaced:j,...E}=t,b=Gc(Jc,d),[$,A]=z(null),H=Ee(e,W=>A(W)),[N,Z]=z(null),T=Kp(N),K=(n=T==null?void 0:T.width)!==null&&n!==void 0?n:0,J=(r=T==null?void 0:T.height)!==null&&r!==void 0?r:0,L=c+(f!=="center"?"-"+f:""),st=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},mt=Array.isArray(_)?_:[_],ii=mt.length>0,xt={padding:st,boundary:mt.filter(eh),altBoundary:ii},{refs:se,floatingStyles:Ce,placement:kr,isPositioned:Wt,middlewareData:zt}=qp({strategy:"fixed",placement:L,whileElementsMounted:(...W)=>Fp(...W,{animationFrame:k==="always"}),elements:{reference:b.anchor},middleware:[Vp({mainAxis:p+J,alignmentAxis:v}),g&&Hp({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?zp():void 0,...xt}),g&&Ip({...xt}),Up({...xt,apply:({elements:W,rects:pt,availableWidth:ce,availableHeight:Q})=>{const{width:rt,height:kt}=pt.reference,Ae=W.floating.style;Ae.setProperty("--radix-popper-available-width",`${ce}px`),Ae.setProperty("--radix-popper-available-height",`${Q}px`),Ae.setProperty("--radix-popper-anchor-width",`${rt}px`),Ae.setProperty("--radix-popper-anchor-height",`${kt}px`)}}),N&&Yp({element:N,padding:h}),nh({arrowWidth:K,arrowHeight:J}),x&&Wp({strategy:"referenceHidden",...xt})]}),[Cn,ai]=Qc(kr),Je=ee(j);Ue(()=>{Wt&&(Je==null||Je())},[Wt,Je]);const Oe=(o=zt.arrow)===null||o===void 0?void 0:o.x,$r=(i=zt.arrow)===null||i===void 0?void 0:i.y,I=((a=zt.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[U,et]=z();return Ue(()=>{$&&et(window.getComputedStyle($).zIndex)},[$]),O("div",{ref:se.setFloating,"data-radix-popper-content-wrapper":"",style:{...Ce,transform:Wt?Ce.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:U,"--radix-popper-transform-origin":[(s=zt.transformOrigin)===null||s===void 0?void 0:s.x,(u=zt.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:t.dir},O(Qp,{scope:d,placedSide:Cn,onArrowChange:Z,arrowX:Oe,arrowY:$r,shouldHideArrow:I},O(yn.div,ot({"data-side":Cn,"data-align":ai},E,{ref:H,style:{...E.style,animation:Wt?void 0:"none",opacity:(l=zt.hide)!==null&&l!==void 0&&l.referenceHidden?0:void 0}}))))});function eh(t){return t!==null}const nh=t=>({name:"transformOrigin",options:t,fn(e){var n,r,o,i,a;const{placement:s,rects:u,middlewareData:l}=e,c=((n=l.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=c?0:t.arrowWidth,f=c?0:t.arrowHeight,[v,h]=Qc(s),g={start:"0%",center:"50%",end:"100%"}[h],_=((r=(o=l.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,y=((i=(a=l.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+f/2;let m="",x="";return v==="bottom"?(m=c?g:`${_}px`,x=`${-f}px`):v==="top"?(m=c?g:`${_}px`,x=`${u.floating.height+f}px`):v==="right"?(m=`${-f}px`,x=c?g:`${y}px`):v==="left"&&(m=`${u.floating.width+f}px`,x=c?g:`${y}px`),{data:{x:m,y:x}}}});function Qc(t){const[e,n="center"]=t.split("-");return[e,n]}const rh=Zp,oh=Jp,ih=th;function ah(t,e){return Qn((n,r)=>{const o=e[n][r];return o??n},t)}const tl=t=>{const{present:e,children:n}=t,r=sh(e),o=typeof n=="function"?n({present:r.isPresent}):Mt.only(n),i=Ee(r.ref,o.ref);return typeof n=="function"||r.isPresent?Ie(o,{ref:i}):null};tl.displayName="Presence";function sh(t){const[e,n]=z(),r=M({}),o=M(t),i=M("none"),a=t?"mounted":"unmounted",[s,u]=ah(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return B(()=>{const l=dr(r.current);i.current=s==="mounted"?l:"none"},[s]),Ue(()=>{const l=r.current,d=o.current;if(d!==t){const p=i.current,f=dr(l);t?u("MOUNT"):f==="none"||(l==null?void 0:l.display)==="none"?u("UNMOUNT"):u(d&&p!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,u]),Ue(()=>{if(e){const l=c=>{const f=dr(r.current).includes(c.animationName);c.target===e&&f&&mn(()=>u("ANIMATION_END"))},d=c=>{c.target===e&&(i.current=dr(r.current))};return e.addEventListener("animationstart",d),e.addEventListener("animationcancel",l),e.addEventListener("animationend",l),()=>{e.removeEventListener("animationstart",d),e.removeEventListener("animationcancel",l),e.removeEventListener("animationend",l)}}else u("ANIMATION_END")},[e,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:tt(l=>{l&&(r.current=getComputedStyle(l)),n(l)},[])}}function dr(t){return(t==null?void 0:t.animationName)||"none"}function ch({prop:t,defaultProp:e,onChange:n=()=>{}}){const[r,o]=lh({defaultProp:e,onChange:n}),i=t!==void 0,a=i?t:r,s=ee(n),u=tt(l=>{if(i){const c=typeof l=="function"?l(t):l;c!==t&&s(c)}else o(l)},[i,t,o,s]);return[a,u]}function lh({defaultProp:t,onChange:e}){const n=z(t),[r]=n,o=M(r),i=ee(e);return B(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var uh=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},qe=new WeakMap,fr=new WeakMap,pr={},zo=0,el=function(t){return t&&(t.host||el(t.parentNode))},dh=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=el(n);return r&&t.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},fh=function(t,e,n,r){var o=dh(e,Array.isArray(t)?t:[t]);pr[n]||(pr[n]=new WeakMap);var i=pr[n],a=[],s=new Set,u=new Set(o),l=function(c){!c||s.has(c)||(s.add(c),l(c.parentNode))};o.forEach(l);var d=function(c){!c||u.has(c)||Array.prototype.forEach.call(c.children,function(p){if(s.has(p))d(p);else{var f=p.getAttribute(r),v=f!==null&&f!=="false",h=(qe.get(p)||0)+1,g=(i.get(p)||0)+1;qe.set(p,h),i.set(p,g),a.push(p),h===1&&v&&fr.set(p,!0),g===1&&p.setAttribute(n,"true"),v||p.setAttribute(r,"true")}})};return d(e),s.clear(),zo++,function(){a.forEach(function(c){var p=qe.get(c)-1,f=i.get(c)-1;qe.set(c,p),i.set(c,f),p||(fr.has(c)||c.removeAttribute(r),fr.delete(c)),f||c.removeAttribute(n)}),zo--,zo||(qe=new WeakMap,qe=new WeakMap,fr=new WeakMap,pr={})}},ph=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),o=e||uh(t);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),fh(r,o,n,"aria-hidden")):function(){return null}},Et=function(){return Et=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Et.apply(this,arguments)};function nl(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function hh(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,i;r<o;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}typeof SuppressedError=="function"&&SuppressedError;var hr="right-scroll-bar-position",_r="width-before-scroll-bar",_h="with-scroll-bars-hidden",vh="--removed-body-scroll-bar-size";function gh(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function wh(t,e){var n=z(function(){return{value:t,callback:e,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=e,n.facade}function mh(t,e){return wh(e||null,function(n){return t.forEach(function(r){return gh(r,n)})})}function yh(t){return t}function bh(t,e){e===void 0&&(e=yh);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:t},useMedium:function(i){var a=e(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var u=function(){var d=a;a=[],d.forEach(i)},l=function(){return Promise.resolve().then(u)};l(),n={push:function(d){a.push(d),l()},filter:function(d){return a=a.filter(d),n}}}};return o}function xh(t){t===void 0&&(t={});var e=bh(null);return e.options=Et({async:!0,ssr:!1},t),e}var rl=function(t){var e=t.sideCar,n=nl(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=e.read();if(!r)throw new Error("Sidecar medium not found");return O(r,Et({},n))};rl.isSideCarExport=!0;function kh(t,e){return t.useMedium(e),rl}var ol=xh(),Bo=function(){},vr=it(function(t,e){var n=M(null),r=z({onScrollCapture:Bo,onWheelCapture:Bo,onTouchMoveCapture:Bo}),o=r[0],i=r[1],a=t.forwardProps,s=t.children,u=t.className,l=t.removeScrollBar,d=t.enabled,c=t.shards,p=t.sideCar,f=t.noIsolation,v=t.inert,h=t.allowPinchZoom,g=t.as,_=g===void 0?"div":g,y=nl(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),m=p,x=mh([n,e]),k=Et(Et({},y),o);return O(X,null,d&&O(m,{sideCar:ol,removeScrollBar:l,shards:c,noIsolation:f,inert:v,setCallbacks:i,allowPinchZoom:!!h,lockRef:n}),a?Ie(Mt.only(s),Et(Et({},k),{ref:x})):O(_,Et({},k,{className:u,ref:x}),s))});vr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},vr.classNames={fullWidth:_r,zeroRight:hr};var $h=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function jh(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=$h();return e&&t.setAttribute("nonce",e),t}function Eh(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function Sh(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var Ch=function(){var t=0,e=null;return{add:function(n){t==0&&(e=jh())&&(Eh(e,n),Sh(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},Oh=function(){var t=Ch();return function(e,n){B(function(){return t.add(e),function(){t.remove()}},[e&&n])}},il=function(){var t=Oh(),e=function(n){var r=n.styles,o=n.dynamic;return t(r,o),null};return e},Ah={left:0,top:0,right:0,gap:0},Yo=function(t){return parseInt(t||"",10)||0},Ph=function(t){var e=window.getComputedStyle(document.body),n=e[t==="padding"?"paddingLeft":"marginLeft"],r=e[t==="padding"?"paddingTop":"marginTop"],o=e[t==="padding"?"paddingRight":"marginRight"];return[Yo(n),Yo(r),Yo(o)]},Th=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return Ah;var e=Ph(t),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-n+e[2]-e[0])}},Rh=il(),Dh=function(t,e,n,r){var o=t.left,i=t.top,a=t.right,s=t.gap;return n===void 0&&(n="margin"),`
|
|
22
|
+
.`.concat(_h,` {
|
|
23
|
+
overflow: hidden `).concat(r,`;
|
|
24
|
+
padding-right: `).concat(s,"px ").concat(r,`;
|
|
25
|
+
}
|
|
26
|
+
body {
|
|
27
|
+
overflow: hidden `).concat(r,`;
|
|
28
|
+
overscroll-behavior: contain;
|
|
29
|
+
`).concat([e&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
30
|
+
padding-left: `.concat(o,`px;
|
|
31
|
+
padding-top: `).concat(i,`px;
|
|
32
|
+
padding-right: `).concat(a,`px;
|
|
33
|
+
margin-left:0;
|
|
34
|
+
margin-top:0;
|
|
35
|
+
margin-right: `).concat(s,"px ").concat(r,`;
|
|
36
|
+
`),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.`).concat(hr,` {
|
|
40
|
+
right: `).concat(s,"px ").concat(r,`;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.`).concat(_r,` {
|
|
44
|
+
margin-right: `).concat(s,"px ").concat(r,`;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.`).concat(hr," .").concat(hr,` {
|
|
48
|
+
right: 0 `).concat(r,`;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.`).concat(_r," .").concat(_r,` {
|
|
52
|
+
margin-right: 0 `).concat(r,`;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
body {
|
|
56
|
+
`).concat(vh,": ").concat(s,`px;
|
|
57
|
+
}
|
|
58
|
+
`)},Lh=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,o=r===void 0?"margin":r,i=at(function(){return Th(o)},[o]);return O(Rh,{styles:Dh(i,!e,o,n?"":"!important")})},qo=!1;if(typeof window<"u")try{var gr=Object.defineProperty({},"passive",{get:function(){return qo=!0,!0}});window.addEventListener("test",gr,gr),window.removeEventListener("test",gr,gr)}catch{qo=!1}var Ke=qo?{passive:!1}:!1,Nh=function(t){return t.tagName==="TEXTAREA"},al=function(t,e){var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!Nh(t)&&n[e]==="visible")},Mh=function(t){return al(t,"overflowY")},Fh=function(t){return al(t,"overflowX")},sl=function(t,e){var n=e;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=cl(t,n);if(r){var o=ll(t,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Vh=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},Hh=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},cl=function(t,e){return t==="v"?Mh(e):Fh(e)},ll=function(t,e){return t==="v"?Vh(e):Hh(e)},Ih=function(t,e){return t==="h"&&e==="rtl"?-1:1},Uh=function(t,e,n,r,o){var i=Ih(t,window.getComputedStyle(e).direction),a=i*r,s=n.target,u=e.contains(s),l=!1,d=a>0,c=0,p=0;do{var f=ll(t,s),v=f[0],h=f[1],g=f[2],_=h-g-i*v;(v||_)&&cl(t,s)&&(c+=_,p+=v),s=s.parentNode}while(!u&&s!==document.body||u&&(e.contains(s)||e===s));return(d&&(o&&c===0||!o&&a>c)||!d&&(o&&p===0||!o&&-a>p))&&(l=!0),l},wr=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},ul=function(t){return[t.deltaX,t.deltaY]},dl=function(t){return t&&"current"in t?t.current:t},Wh=function(t,e){return t[0]===e[0]&&t[1]===e[1]},zh=function(t){return`
|
|
59
|
+
.block-interactivity-`.concat(t,` {pointer-events: none;}
|
|
60
|
+
.allow-interactivity-`).concat(t,` {pointer-events: all;}
|
|
61
|
+
`)},Bh=0,Xe=[];function Yh(t){var e=M([]),n=M([0,0]),r=M(),o=z(Bh++)[0],i=z(function(){return il()})[0],a=M(t);B(function(){a.current=t},[t]),B(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(o));var h=hh([t.lockRef.current],(t.shards||[]).map(dl),!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))})}}},[t.inert,t.lockRef.current,t.shards]);var s=tt(function(h,g){if("touches"in h&&h.touches.length===2)return!a.current.allowPinchZoom;var _=wr(h),y=n.current,m="deltaX"in h?h.deltaX:y[0]-_[0],x="deltaY"in h?h.deltaY:y[1]-_[1],k,j=h.target,E=Math.abs(m)>Math.abs(x)?"h":"v";if("touches"in h&&E==="h"&&j.type==="range")return!1;var b=sl(E,j);if(!b)return!0;if(b?k=E:(k=E==="v"?"h":"v",b=sl(E,j)),!b)return!1;if(!r.current&&"changedTouches"in h&&(m||x)&&(r.current=k),!k)return!0;var $=r.current||k;return Uh($,g,h,$==="h"?m:x,!0)},[]),u=tt(function(h){var g=h;if(!(!Xe.length||Xe[Xe.length-1]!==i)){var _="deltaY"in g?ul(g):wr(g),y=e.current.filter(function(k){return k.name===g.type&&k.target===g.target&&Wh(k.delta,_)})[0];if(y&&y.should){g.cancelable&&g.preventDefault();return}if(!y){var m=(a.current.shards||[]).map(dl).filter(Boolean).filter(function(k){return k.contains(g.target)}),x=m.length>0?s(g,m[0]):!a.current.noIsolation;x&&g.cancelable&&g.preventDefault()}}},[]),l=tt(function(h,g,_,y){var m={name:h,delta:g,target:_,should:y};e.current.push(m),setTimeout(function(){e.current=e.current.filter(function(x){return x!==m})},1)},[]),d=tt(function(h){n.current=wr(h),r.current=void 0},[]),c=tt(function(h){l(h.type,ul(h),h.target,s(h,t.lockRef.current))},[]),p=tt(function(h){l(h.type,wr(h),h.target,s(h,t.lockRef.current))},[]);B(function(){return Xe.push(i),t.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:p}),document.addEventListener("wheel",u,Ke),document.addEventListener("touchmove",u,Ke),document.addEventListener("touchstart",d,Ke),function(){Xe=Xe.filter(function(h){return h!==i}),document.removeEventListener("wheel",u,Ke),document.removeEventListener("touchmove",u,Ke),document.removeEventListener("touchstart",d,Ke)}},[]);var f=t.removeScrollBar,v=t.inert;return O(X,null,v?O(i,{styles:zh(o)}):null,f?O(Lh,{gapMode:"margin"}):null)}const qh=kh(ol,Yh);var fl=it(function(t,e){return O(vr,Et({},t,{ref:e,sideCar:qh}))});fl.classNames=vr.classNames;const Kh=fl,pl="Popover",[hl,I_]=mc(pl,[Zc]),Ko=Zc(),[Xh,$n]=hl(pl),Zh=t=>{const{__scopePopover:e,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=t,s=Ko(e),u=M(null),[l,d]=z(!1),[c=!1,p]=ch({prop:r,defaultProp:o,onChange:i});return O(rh,s,O(Xh,{scope:e,contentId:np(),triggerRef:u,open:c,onOpenChange:p,onOpenToggle:tt(()=>p(f=>!f),[p]),hasCustomAnchor:l,onCustomAnchorAdd:tt(()=>d(!0),[]),onCustomAnchorRemove:tt(()=>d(!1),[]),modal:a},n))},Gh="PopoverTrigger",Jh=it((t,e)=>{const{__scopePopover:n,...r}=t,o=$n(Gh,n),i=Ko(n),a=Ee(e,o.triggerRef),s=O(yn.button,ot({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":vl(o.open)},r,{ref:a,onClick:je(t.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:O(oh,ot({asChild:!0},i),s)}),Qh="PopoverPortal",[U_,t_]=hl(Qh,{forceMount:void 0}),jn="PopoverContent",e_=it((t,e)=>{const n=t_(jn,t.__scopePopover),{forceMount:r=n.forceMount,...o}=t,i=$n(jn,t.__scopePopover);return O(tl,{present:r||i.open},i.modal?O(n_,ot({},o,{ref:e})):O(r_,ot({},o,{ref:e})))}),n_=it((t,e)=>{const n=$n(jn,t.__scopePopover),r=M(null),o=Ee(e,r),i=M(!1);return B(()=>{const a=r.current;if(a)return ph(a)},[]),O(Kh,{as:Ao,allowPinchZoom:!0},O(_l,ot({},t,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:je(t.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:je(t.onPointerDownOutside,a=>{const s=a.detail.originalEvent,u=s.button===0&&s.ctrlKey===!0,l=s.button===2||u;i.current=l},{checkForDefaultPrevented:!1}),onFocusOutside:je(t.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),r_=it((t,e)=>{const n=$n(jn,t.__scopePopover),r=M(!1),o=M(!1);return O(_l,ot({},t,{ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=t.onCloseAutoFocus)===null||a===void 0||a.call(t,i),!i.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),i.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:i=>{var a,s;(a=t.onInteractOutside)===null||a===void 0||a.call(t,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const u=i.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(u))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),_l=it((t,e)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:l,onInteractOutside:d,...c}=t,p=$n(jn,n),f=Ko(n);return Yf(),O(qf,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},O(Wf,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:d,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:l,onDismiss:()=>p.onOpenChange(!1)},O(ih,ot({"data-state":vl(p.open),role:"dialog",id:p.contentId},f,c,{ref:e,style:{...c.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function vl(t){return t?"open":"closed"}const o_=Zh,i_=Jh,a_=e_;function mr(){throw new Error("Cycle detected")}var s_=Symbol.for("preact-signals");function Xo(){if(Ze>1)Ze--;else{for(var t,e=!1;En!==void 0;){var n=En;for(En=void 0,Zo++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&wl(n))try{n.c()}catch(o){e||(t=o,e=!0)}n=r}}if(Zo=0,Ze--,e)throw t}}var q=void 0,En=void 0,Ze=0,Zo=0,yr=0;function gl(t){if(q!==void 0){var e=t.n;if(e===void 0||e.t!==q)return e={i:0,S:t,p:q.s,n:void 0,t:q,e:void 0,x:void 0,r:e},q.s!==void 0&&(q.s.n=e),q.s=e,t.n=e,32&q.f&&t.S(e),e;if(e.i===-1)return e.i=0,e.n!==void 0&&(e.n.p=e.p,e.p!==void 0&&(e.p.n=e.n),e.p=q.s,e.n=void 0,q.s.n=e,q.s=e),e}}function nt(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}nt.prototype.brand=s_,nt.prototype.h=function(){return!0},nt.prototype.S=function(t){this.t!==t&&t.e===void 0&&(t.x=this.t,this.t!==void 0&&(this.t.e=t),this.t=t)},nt.prototype.U=function(t){if(this.t!==void 0){var e=t.e,n=t.x;e!==void 0&&(e.x=n,t.e=void 0),n!==void 0&&(n.e=e,t.x=void 0),t===this.t&&(this.t=n)}},nt.prototype.subscribe=function(t){var e=this;return Qo(function(){var n=e.value,r=32&this.f;this.f&=-33;try{t(n)}finally{this.f|=r}})},nt.prototype.valueOf=function(){return this.value},nt.prototype.toString=function(){return this.value+""},nt.prototype.toJSON=function(){return this.value},nt.prototype.peek=function(){return this.v},Object.defineProperty(nt.prototype,"value",{get:function(){var t=gl(this);return t!==void 0&&(t.i=this.i),this.v},set:function(t){if(q instanceof ae&&function(){throw new Error("Computed cannot have side-effects")}(),t!==this.v){Zo>100&&mr(),this.v=t,this.i++,yr++,Ze++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N()}finally{Xo()}}}});function Go(t){return new nt(t)}function wl(t){for(var e=t.s;e!==void 0;e=e.n)if(e.S.i!==e.i||!e.S.h()||e.S.i!==e.i)return!0;return!1}function ml(t){for(var e=t.s;e!==void 0;e=e.n){var n=e.S.n;if(n!==void 0&&(e.r=n),e.S.n=e,e.i=-1,e.n===void 0){t.s=e;break}}}function yl(t){for(var e=t.s,n=void 0;e!==void 0;){var r=e.p;e.i===-1?(e.S.U(e),r!==void 0&&(r.n=e.n),e.n!==void 0&&(e.n.p=r)):n=e,e.S.n=e.r,e.r!==void 0&&(e.r=void 0),e=r}t.s=n}function ae(t){nt.call(this,void 0),this.x=t,this.s=void 0,this.g=yr-1,this.f=4}(ae.prototype=new nt).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&&!wl(this))return this.f&=-2,!0;var t=q;try{ml(this),q=this;var e=this.x();(16&this.f||this.v!==e||this.i===0)&&(this.v=e,this.f&=-17,this.i++)}catch(n){this.v=n,this.f|=16,this.i++}return q=t,yl(this),this.f&=-2,!0},ae.prototype.S=function(t){if(this.t===void 0){this.f|=36;for(var e=this.s;e!==void 0;e=e.n)e.S.S(e)}nt.prototype.S.call(this,t)},ae.prototype.U=function(t){if(this.t!==void 0&&(nt.prototype.U.call(this,t),this.t===void 0)){this.f&=-33;for(var e=this.s;e!==void 0;e=e.n)e.S.U(e)}},ae.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;t!==void 0;t=t.x)t.t.N()}},ae.prototype.peek=function(){if(this.h()||mr(),16&this.f)throw this.v;return this.v},Object.defineProperty(ae.prototype,"value",{get:function(){1&this.f&&mr();var t=gl(this);if(this.h(),t!==void 0&&(t.i=this.i),16&this.f)throw this.v;return this.v}});function c_(t){return new ae(t)}function bl(t){var e=t.u;if(t.u=void 0,typeof e=="function"){Ze++;var n=q;q=void 0;try{e()}catch(r){throw t.f&=-2,t.f|=8,Jo(t),r}finally{q=n,Xo()}}}function Jo(t){for(var e=t.s;e!==void 0;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,bl(t)}function l_(t){if(q!==this)throw new Error("Out-of-order effect");yl(this),q=t,this.f&=-2,8&this.f&&Jo(this),Xo()}function Sn(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Sn.prototype.c=function(){var t=this.S();try{if(8&this.f||this.x===void 0)return;var e=this.x();typeof e=="function"&&(this.u=e)}finally{t()}},Sn.prototype.S=function(){1&this.f&&mr(),this.f|=1,this.f&=-9,bl(this),ml(this),Ze++;var t=q;return q=this,l_.bind(this,t)},Sn.prototype.N=function(){2&this.f||(this.f|=2,this.o=En,En=this)},Sn.prototype.d=function(){this.f|=8,1&this.f||Jo(this)};function Qo(t){var e=new Sn(t);try{e.c()}catch(n){throw e.d(),n}return e.d.bind(e)}var ti;function Ge(t,e){S[t]=e.bind(null,S[t]||function(){})}function br(t){ti&&ti(),ti=t&&t.S()}function xl(t){var e=this,n=t.data,r=d_(n);r.value=n;var o=at(function(){for(var i=e.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return e.__$u.c=function(){var a;!cs(o.peek())&&((a=e.base)==null?void 0:a.nodeType)===3?e.base.data=o.peek():(e.__$f|=1,e.setState({}))},c_(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}xl.displayName="_st",Object.defineProperties(nt.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:xl},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),Ge("__b",function(t,e){if(typeof e.type=="string"){var n,r=e.props;for(var o in r)if(o!=="children"){var i=r[o];i instanceof nt&&(n||(e.__np=n={}),n[o]=i,r[o]=i.peek())}}t(e)}),Ge("__r",function(t,e){br();var n,r=e.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return Qo(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),br(n),t(e)}),Ge("__e",function(t,e,n,r){br(),t(e,n,r)}),Ge("diffed",function(t,e){br();var n;if(typeof e.type=="string"&&(n=e.__e)){var r=e.__np,o=e.props;if(r){var i=n.U;if(i)for(var a in i){var s=i[a];s!==void 0&&!(a in r)&&(s.d(),i[a]=void 0)}else n.U=i={};for(var u in r){var l=i[u],d=r[u];l===void 0?(l=u_(n,u,d,o),i[u]=l):l.o(d,o)}}}t(e)});function u_(t,e,n,r){var o=e in t&&t.ownerSVGElement===void 0,i=Go(n);return{o:function(a,s){i.value=a,r=s},d:Qo(function(){var a=i.value.value;r[e]!==a&&(r[e]=a,o?t[e]=a:a?t.setAttribute(e,a):t.removeAttribute(e))})}}Ge("unmount",function(t,e){if(typeof e.type=="string"){var n=e.__e;if(n){var r=n.U;if(r){n.U=void 0;for(var o in r){var i=r[o];i&&i.d()}}}}else{var a=e.__c;if(a){var s=a.__$u;s&&(a.__$u=void 0,s.d())}}t(e)}),Ge("__h",function(t,e,n,r){(r<3||r===9)&&(e.__$f|=2),t(e,n,r)}),gt.prototype.shouldComponentUpdate=function(t,e){var n=this.__$u;if(!(n&&n.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var r in e)return!0;for(var o in t)if(o!=="__source"&&t[o]!==this.props[o])return!0;for(var i in this.props)if(!(i in t))return!0;return!1};function d_(t){return at(function(){return Go(t)},[])}const kl={filters$:Go({})},$l="inploi-job-alerts",f_="ija";var p_=["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]}},__=(t,e=1,n)=>r=>{const[o,i]=h_[n][r];return"oklch("+o+"% "+i*e+" "+t+")"},jl=t=>{const e=__(t.hue,t.chroma,t.mode);return Object.fromEntries(p_.map(n=>[t.prefix+n,t.transform(e(n))]))},El=t=>t,v_=t=>{const e=Object.keys(t).flatMap(n=>{const r=t[n];return typeof r=="object"&&r!==null?Object.keys(r).map(o=>{const i=r[o];return[`${String(n)}.${o}`,i]}):[[n,r]]});return Object.fromEntries(e)},xr=t=>!!t&&typeof t=="object"&&!Array.isArray(t),ei=(t,...e)=>{if(!e.length)return t;const n=e.shift();if(xr(t)&&xr(n))for(const r in n){const o=n[r];if(xr(o)){t[r]||Object.assign(t,{[r]:{}});const i=t[r];xr(i)&&ei(i,o)}else Object.assign(t,{[r]:n[r]})}return ei(t,...e)},g_=t=>{function e(n,r){const o=[t.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return e},w_=()=>({core:t=>({semantic:e=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),s=t({theme:o}),u=e({theme:o,core:a,raw:{core:s}}),l=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:u}}),d=v_(ei(s,u,l)),c=([p,f],v)=>{const h=[v,p].filter(Boolean).join(".");return typeof f=="object"?Object.entries(f).flatMap(g=>c(g,h)):[[r.getToken("declaration",h),f]]};return{values:d,declarations:Object.fromEntries(Object.entries(d).flatMap(p=>c(p))),ref:p=>i("reference",p.toString())}}})})})});const[ni,ri,m_]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],y_=w_().core(({theme:t})=>({color:{transparent:m_,black:ni,white:ri,lowest:t.mode==="light"?ri:ni,highest:t.mode==="light"?ni:ri,...jl({prefix:"a-",hue:t.accent.hue,chroma:t.accent.chroma,mode:t.mode,transform:El}),...jl({prefix:"n-",hue:t.accent.hue,chroma:.05,mode:t.mode,transform:El})},radius:{base:t.corners==="rounded"?".25rem":t.corners==="soft"?".125rem":"0",multiplier:t.corners==="rounded"?"0.5rem":t.corners==="soft"?"0.175rem":"0"},duration:{snappy:".4s",medium:".6s",slow:".9s"}})).semantic(({core:t})=>({radius:{sm:`calc(${t("radius.base")} + (0 * ${t("radius.multiplier")}))`,md:`calc(${t("radius.base")} + (1 * ${t("radius.multiplier")}))`,lg:`calc(${t("radius.base")} + (2 * ${t("radius.multiplier")}))`,xl:`calc(${t("radius.base")} + (3 * ${t("radius.multiplier")}))`}})).component(()=>({})),b_=g_({prefix:"i-"}),x_=t=>{const e=y_.from({theme:t,getToken:b_}),n=Object.entries(e.declarations).map(([r,o])=>`${r}: ${o};`);return`#${f_} {
|
|
62
|
+
${n.concat(n).join(`
|
|
63
|
+
`)}
|
|
64
|
+
}`},k_=t=>{const e=[];return e.push(t.corners),e.push(t.highlights),e.push(t.mode),e},$_=({error:t})=>t?P("div",{role:"alert",class:"flex max-w-full items-start gap-1.5 px-2 py-2 text-[#E5484D]",children:[P("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:[P("circle",{cx:"8",cy:"8",r:"6.3",stroke:"currentColor","stroke-width":"1.4"}),P("rect",{x:"7",y:"4",width:"2",height:"5",fill:"currentColor"}),P("rect",{x:"7",y:"10",width:"2",height:"2",fill:"currentColor"})]}),P("p",{class:"pr-1 text-sm",children:t})]}):null,oi="rounded-field-input 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)] px-3 py-2 ring ring-[1px] focus:relative 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]",j_=t=>typeof t=="string"?t:typeof t=="object"&&t!==null&&"message"in t&&typeof t.message=="string"?t.message:"Failed to create alert. Please try again later.",E_=({theme:t,config:e,apiClient:n,logger:r})=>{const[o,i]=z("idle"),[a,s]=z(),u=async l=>{var d,c,p;if(l.preventDefault(),o!=="idle")return;const f=new FormData(l.currentTarget),v=(d=f.get("name"))==null?void 0:d.toString(),[h,...g]=(v==null?void 0:v.split(" "))??[],_=g.join(" ");i("loading"),await Promise.all([new Promise(y=>setTimeout(y,1e3)),n.fetch("/search/save",{method:"POST",body:JSON.stringify({contact:{email:(c=f.get("email"))==null?void 0:c.toString(),first_name:h,last_name:_},alerts:(p=f.get("frequency"))==null?void 0:p.toString(),filters:kl.filters$.peek()})})]).then(async()=>{i("success"),await new Promise(y=>setTimeout(y,1e3)),i("idle")}).catch(y=>{r.error(y),s(j_(y)),i("idle")})};return P("div",{id:"ija",children:P("div",{class:k_(t).join(" "),children:P(o_,{children:[P(i_,{asChild:!0,children:P("button",{class:"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-base font-medium transition-all",children:[P(pf,{class:"flex-none",name:"bell"})," ",P("span",{class:"min-w-0 truncate text-center",children:e.label})]})}),P(a_,{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:P("form",{onSubmit:u,class:"flex flex-col gap-2.5",children:[P("div",{children:[P("fieldset",{class:"fieldset",children:[P("label",{class:"sr-only",htmlFor:"ija-email",children:"Email"}),P("input",{name:"email",autocomplete:"email",class:oi,disabled:o==="loading",id:"ija-email",placeholder:"Email",type:"email",required:!0})]}),P("fieldset",{class:"fieldset",children:[P("label",{class:"sr-only",htmlFor:"ija-name",children:"Name"}),P("input",{disabled:o==="loading",name:"name",required:!0,autocomplete:"name",class:oi,id:"ija-name",placeholder:"Full Name"})]}),P("fieldset",{class:"fieldset",children:[P("label",{class:"sr-only",htmlFor:"ija-frequency",children:"Frequency"}),P("select",{disabled:o==="loading",class:oi,id:"ija-frequency",defaultValue:"WEEKLY",name:"frequency",children:[P("option",{value:"INSTANTLY",children:"Instantly"}),P("option",{value:"DAILY",children:"Daily"}),P("option",{value:"WEEKLY",children:"Weekly"}),P("option",{value:"MONTHLY",children:"Monthly"})]})]})]}),P("button",{class:"bg-accent-9 fr ease-expo-out duration-snappy text-accent-1 grid items-center overflow-hidden rounded-lg px-5 py-2 pl-2.5 text-center transition-all",children:[P("span",{"data-state":o,class:"ease-expo-out theme-dark:font-bold 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"}),P("div",{"data-state":o,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:P("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:[P("circle",{class:"loading-circle duration-snappy ease-expo-out transition-all",cx:"12",cy:"12",r:"9"}),P("path",{class:"done-checkmark",d:"M9 12L11 14L15 10"})]})})]}),P($_,{error:a})]})})]})})})},S_=`#ija {
|
|
65
|
+
font-size: 16px;
|
|
66
|
+
--tw-content: '';
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
#ija * {
|
|
70
|
+
box-sizing: border-box;
|
|
71
|
+
border-style: solid;
|
|
72
|
+
border-width: 0;
|
|
73
|
+
-webkit-tap-highlight-color: transparent;
|
|
74
|
+
font-family: inherit;
|
|
75
|
+
font-style: inherit;
|
|
76
|
+
font-weight: inherit;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
#ija ::before,
|
|
80
|
+
#ija ::after {
|
|
81
|
+
box-sizing: border-box;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
#ija :is(a) {
|
|
85
|
+
text-decoration: none;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
#ija :is(ul, ol) {
|
|
89
|
+
list-style: none;
|
|
90
|
+
padding: 0;
|
|
91
|
+
margin: 0;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
#ija :is(p) {
|
|
95
|
+
margin: 0;
|
|
96
|
+
padding: 0;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
#ija :is(li) {
|
|
100
|
+
margin: 0;
|
|
101
|
+
padding: 0;
|
|
102
|
+
list-style: none;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
#ija :is(fieldset) {
|
|
106
|
+
margin: 0;
|
|
107
|
+
padding: 0;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
#ija :is(button),
|
|
111
|
+
#ija :is(a) {
|
|
112
|
+
display: block;
|
|
113
|
+
margin: 0;
|
|
114
|
+
padding: 0;
|
|
115
|
+
border: unset;
|
|
116
|
+
background: unset;
|
|
117
|
+
text-align: unset;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
#ija :is(input),
|
|
121
|
+
#ija :is(textarea) {
|
|
122
|
+
display: block;
|
|
123
|
+
margin: 0;
|
|
124
|
+
padding: 0;
|
|
125
|
+
min-width: 0;
|
|
126
|
+
max-width: unset;
|
|
127
|
+
width: 100%;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
#ija :is(svg) {
|
|
131
|
+
display: block;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@media (prefers-reduced-motion) {
|
|
135
|
+
#ija * {
|
|
136
|
+
animation-duration: 0.01ms !important;
|
|
137
|
+
animation-iteration-count: 1 !important;
|
|
138
|
+
transition-duration: 0.01ms !important;
|
|
139
|
+
scroll-behavior: auto !important;
|
|
140
|
+
animation-delay: 0s !important;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
#ija *, #ija ::before, #ija ::after {
|
|
145
|
+
--tw-border-spacing-x: 0;
|
|
146
|
+
--tw-border-spacing-y: 0;
|
|
147
|
+
--tw-translate-x: 0;
|
|
148
|
+
--tw-translate-y: 0;
|
|
149
|
+
--tw-rotate: 0;
|
|
150
|
+
--tw-skew-x: 0;
|
|
151
|
+
--tw-skew-y: 0;
|
|
152
|
+
--tw-scale-x: 1;
|
|
153
|
+
--tw-scale-y: 1;
|
|
154
|
+
--tw-pan-x: ;
|
|
155
|
+
--tw-pan-y: ;
|
|
156
|
+
--tw-pinch-zoom: ;
|
|
157
|
+
--tw-scroll-snap-strictness: proximity;
|
|
158
|
+
--tw-gradient-from-position: ;
|
|
159
|
+
--tw-gradient-via-position: ;
|
|
160
|
+
--tw-gradient-to-position: ;
|
|
161
|
+
--tw-ordinal: ;
|
|
162
|
+
--tw-slashed-zero: ;
|
|
163
|
+
--tw-numeric-figure: ;
|
|
164
|
+
--tw-numeric-spacing: ;
|
|
165
|
+
--tw-numeric-fraction: ;
|
|
166
|
+
--tw-ring-inset: ;
|
|
167
|
+
--tw-ring-offset-width: 0px;
|
|
168
|
+
--tw-ring-offset-color: #fff;
|
|
169
|
+
--tw-ring-color: rgb(59 130 246 / 0.5);
|
|
170
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
171
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
172
|
+
--tw-shadow: 0 0 #0000;
|
|
173
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
174
|
+
--tw-blur: ;
|
|
175
|
+
--tw-brightness: ;
|
|
176
|
+
--tw-contrast: ;
|
|
177
|
+
--tw-grayscale: ;
|
|
178
|
+
--tw-hue-rotate: ;
|
|
179
|
+
--tw-invert: ;
|
|
180
|
+
--tw-saturate: ;
|
|
181
|
+
--tw-sepia: ;
|
|
182
|
+
--tw-drop-shadow: ;
|
|
183
|
+
--tw-backdrop-blur: ;
|
|
184
|
+
--tw-backdrop-brightness: ;
|
|
185
|
+
--tw-backdrop-contrast: ;
|
|
186
|
+
--tw-backdrop-grayscale: ;
|
|
187
|
+
--tw-backdrop-hue-rotate: ;
|
|
188
|
+
--tw-backdrop-invert: ;
|
|
189
|
+
--tw-backdrop-opacity: ;
|
|
190
|
+
--tw-backdrop-saturate: ;
|
|
191
|
+
--tw-backdrop-sepia: ;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
#ija ::backdrop {
|
|
195
|
+
--tw-border-spacing-x: 0;
|
|
196
|
+
--tw-border-spacing-y: 0;
|
|
197
|
+
--tw-translate-x: 0;
|
|
198
|
+
--tw-translate-y: 0;
|
|
199
|
+
--tw-rotate: 0;
|
|
200
|
+
--tw-skew-x: 0;
|
|
201
|
+
--tw-skew-y: 0;
|
|
202
|
+
--tw-scale-x: 1;
|
|
203
|
+
--tw-scale-y: 1;
|
|
204
|
+
--tw-pan-x: ;
|
|
205
|
+
--tw-pan-y: ;
|
|
206
|
+
--tw-pinch-zoom: ;
|
|
207
|
+
--tw-scroll-snap-strictness: proximity;
|
|
208
|
+
--tw-gradient-from-position: ;
|
|
209
|
+
--tw-gradient-via-position: ;
|
|
210
|
+
--tw-gradient-to-position: ;
|
|
211
|
+
--tw-ordinal: ;
|
|
212
|
+
--tw-slashed-zero: ;
|
|
213
|
+
--tw-numeric-figure: ;
|
|
214
|
+
--tw-numeric-spacing: ;
|
|
215
|
+
--tw-numeric-fraction: ;
|
|
216
|
+
--tw-ring-inset: ;
|
|
217
|
+
--tw-ring-offset-width: 0px;
|
|
218
|
+
--tw-ring-offset-color: #fff;
|
|
219
|
+
--tw-ring-color: rgb(59 130 246 / 0.5);
|
|
220
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
221
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
222
|
+
--tw-shadow: 0 0 #0000;
|
|
223
|
+
--tw-shadow-colored: 0 0 #0000;
|
|
224
|
+
--tw-blur: ;
|
|
225
|
+
--tw-brightness: ;
|
|
226
|
+
--tw-contrast: ;
|
|
227
|
+
--tw-grayscale: ;
|
|
228
|
+
--tw-hue-rotate: ;
|
|
229
|
+
--tw-invert: ;
|
|
230
|
+
--tw-saturate: ;
|
|
231
|
+
--tw-sepia: ;
|
|
232
|
+
--tw-drop-shadow: ;
|
|
233
|
+
--tw-backdrop-blur: ;
|
|
234
|
+
--tw-backdrop-brightness: ;
|
|
235
|
+
--tw-backdrop-contrast: ;
|
|
236
|
+
--tw-backdrop-grayscale: ;
|
|
237
|
+
--tw-backdrop-hue-rotate: ;
|
|
238
|
+
--tw-backdrop-invert: ;
|
|
239
|
+
--tw-backdrop-opacity: ;
|
|
240
|
+
--tw-backdrop-saturate: ;
|
|
241
|
+
--tw-backdrop-sepia: ;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
#ija .container {
|
|
245
|
+
width: 100%;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
@media (min-width: 640px) {
|
|
249
|
+
|
|
250
|
+
#ija .container {
|
|
251
|
+
max-width: 640px;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
@media (min-width: 768px) {
|
|
256
|
+
|
|
257
|
+
#ija .container {
|
|
258
|
+
max-width: 768px;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
@media (min-width: 1024px) {
|
|
263
|
+
|
|
264
|
+
#ija .container {
|
|
265
|
+
max-width: 1024px;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
@media (min-width: 1280px) {
|
|
270
|
+
|
|
271
|
+
#ija .container {
|
|
272
|
+
max-width: 1280px;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
@media (min-width: 1536px) {
|
|
277
|
+
|
|
278
|
+
#ija .container {
|
|
279
|
+
max-width: 1536px;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
#ija .sr-only {
|
|
284
|
+
position: absolute;
|
|
285
|
+
width: 1px;
|
|
286
|
+
height: 1px;
|
|
287
|
+
padding: 0;
|
|
288
|
+
margin: -1px;
|
|
289
|
+
overflow: hidden;
|
|
290
|
+
clip: rect(0, 0, 0, 0);
|
|
291
|
+
white-space: nowrap;
|
|
292
|
+
border-width: 0;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
#ija .visible {
|
|
296
|
+
visibility: visible;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
#ija .invisible {
|
|
300
|
+
visibility: hidden;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
#ija .collapse {
|
|
304
|
+
visibility: collapse;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
#ija .static {
|
|
308
|
+
position: static;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
#ija .fixed {
|
|
312
|
+
position: fixed;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
#ija .absolute {
|
|
316
|
+
position: absolute;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
#ija .relative {
|
|
320
|
+
position: relative;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
#ija .sticky {
|
|
324
|
+
position: sticky;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
#ija .isolate {
|
|
328
|
+
isolation: isolate;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
#ija .col-span-full {
|
|
332
|
+
grid-column: 1 / -1;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
#ija .row-span-full {
|
|
336
|
+
grid-row: 1 / -1;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
#ija .mt-0 {
|
|
340
|
+
margin-top: 0px;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
#ija .mt-0\\.5 {
|
|
344
|
+
margin-top: 0.125rem;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
#ija .block {
|
|
348
|
+
display: block;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
#ija .inline-block {
|
|
352
|
+
display: inline-block;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
#ija .inline {
|
|
356
|
+
display: inline;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
#ija .flex {
|
|
360
|
+
display: flex;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
#ija .inline-flex {
|
|
364
|
+
display: inline-flex;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
#ija .table {
|
|
368
|
+
display: table;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
#ija .table-row {
|
|
372
|
+
display: table-row;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
#ija .flow-root {
|
|
376
|
+
display: flow-root;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
#ija .grid {
|
|
380
|
+
display: grid;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
#ija .inline-grid {
|
|
384
|
+
display: inline-grid;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
#ija .contents {
|
|
388
|
+
display: contents;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
#ija .list-item {
|
|
392
|
+
display: list-item;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
#ija .\\!hidden {
|
|
396
|
+
display: none !important;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
#ija .hidden {
|
|
400
|
+
display: none;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
#ija .h-4 {
|
|
404
|
+
height: 1rem;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
#ija .w-4 {
|
|
408
|
+
width: 1rem;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
#ija .w-64 {
|
|
412
|
+
width: 16rem;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
#ija .w-full {
|
|
416
|
+
width: 100%;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
#ija .min-w-0 {
|
|
420
|
+
min-width: 0px;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
#ija .max-w-\\[var\\(--radix-popover-content-available-width\\)\\] {
|
|
424
|
+
max-width: var(--radix-popover-content-available-width);
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
#ija .max-w-full {
|
|
428
|
+
max-width: 100%;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
#ija .flex-none {
|
|
432
|
+
flex: none;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
#ija .flex-shrink {
|
|
436
|
+
flex-shrink: 1;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
#ija .shrink {
|
|
440
|
+
flex-shrink: 1;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
#ija .flex-grow {
|
|
444
|
+
flex-grow: 1;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
#ija .grow {
|
|
448
|
+
flex-grow: 1;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
#ija .border-collapse {
|
|
452
|
+
border-collapse: collapse;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
#ija .translate-y-0 {
|
|
456
|
+
--tw-translate-y: 0px;
|
|
457
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
#ija .transform {
|
|
461
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
#ija .resize {
|
|
465
|
+
resize: both;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
#ija .flex-col {
|
|
469
|
+
flex-direction: column;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
#ija .flex-wrap {
|
|
473
|
+
flex-wrap: wrap;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
#ija .items-start {
|
|
477
|
+
align-items: flex-start;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
#ija .items-center {
|
|
481
|
+
align-items: center;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
#ija .justify-center {
|
|
485
|
+
justify-content: center;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
#ija .gap-1 {
|
|
489
|
+
gap: 0.25rem;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
#ija .gap-1\\.5 {
|
|
493
|
+
gap: 0.375rem;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
#ija .gap-2 {
|
|
497
|
+
gap: 0.5rem;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
#ija .gap-2\\.5 {
|
|
501
|
+
gap: 0.625rem;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
#ija .overflow-hidden {
|
|
505
|
+
overflow: hidden;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
#ija .truncate {
|
|
509
|
+
overflow: hidden;
|
|
510
|
+
text-overflow: ellipsis;
|
|
511
|
+
white-space: nowrap;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
#ija .rounded-lg {
|
|
515
|
+
border-radius: var(--i-radius-lg);
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
#ija .border {
|
|
519
|
+
border-width: 1px;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
#ija .bg-accent-9 {
|
|
523
|
+
background-color: var(--i-color-a-9);
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
#ija .bg-lowest {
|
|
527
|
+
background-color: var(--i-color-lowest);
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
#ija .p-2 {
|
|
531
|
+
padding: 0.5rem;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
#ija .px-2 {
|
|
535
|
+
padding-left: 0.5rem;
|
|
536
|
+
padding-right: 0.5rem;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
#ija .px-2\\.5 {
|
|
540
|
+
padding-left: 0.625rem;
|
|
541
|
+
padding-right: 0.625rem;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
#ija .px-3 {
|
|
545
|
+
padding-left: 0.75rem;
|
|
546
|
+
padding-right: 0.75rem;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
#ija .px-4 {
|
|
550
|
+
padding-left: 1rem;
|
|
551
|
+
padding-right: 1rem;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
#ija .px-5 {
|
|
555
|
+
padding-left: 1.25rem;
|
|
556
|
+
padding-right: 1.25rem;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
#ija .py-1 {
|
|
560
|
+
padding-top: 0.25rem;
|
|
561
|
+
padding-bottom: 0.25rem;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
#ija .py-1\\.5 {
|
|
565
|
+
padding-top: 0.375rem;
|
|
566
|
+
padding-bottom: 0.375rem;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
#ija .py-2 {
|
|
570
|
+
padding-top: 0.5rem;
|
|
571
|
+
padding-bottom: 0.5rem;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
#ija .pl-2 {
|
|
575
|
+
padding-left: 0.5rem;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
#ija .pl-2\\.5 {
|
|
579
|
+
padding-left: 0.625rem;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
#ija .pr-1 {
|
|
583
|
+
padding-right: 0.25rem;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
#ija .text-center {
|
|
587
|
+
text-align: center;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
#ija .text-justify {
|
|
591
|
+
text-align: justify;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
#ija .text-base {
|
|
595
|
+
font-size: 1rem;
|
|
596
|
+
line-height: 1.5rem;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
#ija .text-sm {
|
|
600
|
+
font-size: 0.875rem;
|
|
601
|
+
line-height: 1.25rem;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
#ija .font-medium {
|
|
605
|
+
font-weight: 500;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
#ija .uppercase {
|
|
609
|
+
text-transform: uppercase;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
#ija .lowercase {
|
|
613
|
+
text-transform: lowercase;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
#ija .capitalize {
|
|
617
|
+
text-transform: capitalize;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
#ija .italic {
|
|
621
|
+
font-style: italic;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
#ija .ordinal {
|
|
625
|
+
--tw-ordinal: ordinal;
|
|
626
|
+
font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
#ija .text-\\[\\#E5484D\\] {
|
|
630
|
+
--tw-text-opacity: 1;
|
|
631
|
+
color: rgb(229 72 77 / var(--tw-text-opacity));
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
#ija .text-accent-1 {
|
|
635
|
+
color: var(--i-color-a-1);
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
#ija .text-accent-11 {
|
|
639
|
+
color: var(--i-color-a-11);
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
#ija .opacity-0 {
|
|
643
|
+
opacity: 0;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
#ija .shadow {
|
|
647
|
+
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
648
|
+
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
649
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
#ija .shadow-\\[0_0_0_1px\\] {
|
|
653
|
+
--tw-shadow: 0 0 0 1px;
|
|
654
|
+
--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);
|
|
655
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
#ija .shadow-surface-lg {
|
|
659
|
+
--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / 0.03), 0px 6px 4px 0px oklch(0% 0 0 / 0.02), 0px 11px 4px 0px oklch(0% 0 0 / 0.01), 0px 32px 24px -12px oklch(0% 0 0 / 0.06);
|
|
660
|
+
--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 11px 4px 0px var(--tw-shadow-color), 0px 32px 24px -12px var(--tw-shadow-color);
|
|
661
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
#ija .outline-none {
|
|
665
|
+
outline: 2px solid transparent;
|
|
666
|
+
outline-offset: 2px;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
#ija .outline {
|
|
670
|
+
outline-style: solid;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
#ija .ring {
|
|
674
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
675
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
676
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
#ija .ring-1 {
|
|
680
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
681
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
682
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
#ija .ring-\\[1px\\] {
|
|
686
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
687
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
688
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
#ija .ring-neutral-4 {
|
|
692
|
+
--tw-ring-color: var(--i-color-n-4);
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
#ija .ring-neutral-5 {
|
|
696
|
+
--tw-ring-color: var(--i-color-n-5);
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
#ija .blur {
|
|
700
|
+
--tw-blur: blur(8px);
|
|
701
|
+
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);
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
#ija .grayscale {
|
|
705
|
+
--tw-grayscale: grayscale(100%);
|
|
706
|
+
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);
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
#ija .invert {
|
|
710
|
+
--tw-invert: invert(100%);
|
|
711
|
+
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);
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
#ija .sepia {
|
|
715
|
+
--tw-sepia: sepia(100%);
|
|
716
|
+
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);
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
#ija .filter {
|
|
720
|
+
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);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
#ija .backdrop-filter {
|
|
724
|
+
-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);
|
|
725
|
+
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);
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
#ija .transition {
|
|
729
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
|
730
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
731
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
|
|
732
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
#ija .transition-all {
|
|
736
|
+
transition-property: all;
|
|
737
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
#ija .duration-medium {
|
|
741
|
+
transition-duration: var(--i-duration-medium);
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
#ija .duration-snappy {
|
|
745
|
+
transition-duration: var(--i-duration-snappy);
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
#ija .ease-expo-out {
|
|
749
|
+
transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
#ija .will-change-\\[transform\\2c opacity\\] {
|
|
753
|
+
will-change: transform,opacity;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
#ija .fr {
|
|
757
|
+
outline: none;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
#ija .fr:focus {
|
|
761
|
+
outline: none;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
#ija .fr:focus-visible {
|
|
765
|
+
outline: none;
|
|
766
|
+
--tw-ring-offset-width: 1px;
|
|
767
|
+
--tw-ring-offset-color: var(--i-color-lowest);
|
|
768
|
+
--tw-ring-opacity: 1;
|
|
769
|
+
--tw-ring-color: var(--i-color-a-9);
|
|
770
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
771
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
#ija .rounded-field-input {
|
|
775
|
+
border-radius: 0;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
#ija .fieldset:first-child .rounded-field-input {
|
|
779
|
+
border-top-left-radius: var(--i-radius-md);
|
|
780
|
+
border-top-right-radius: var(--i-radius-md);
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
#ija .fieldset:last-child .rounded-field-input {
|
|
784
|
+
border-bottom-left-radius: var(--i-radius-md);
|
|
785
|
+
border-bottom-right-radius: var(--i-radius-md);
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
/* perimeter = 2 * Pi * r
|
|
789
|
+
r = 9 (circle radius)
|
|
790
|
+
56.54
|
|
791
|
+
*/
|
|
792
|
+
|
|
793
|
+
@keyframes loading-circle {
|
|
794
|
+
0% {
|
|
795
|
+
stroke-dasharray: 0 56.54;
|
|
796
|
+
}
|
|
797
|
+
100% {
|
|
798
|
+
stroke-dasharray: 56.54 56.54;
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
#ija .loading-circle {
|
|
803
|
+
stroke-dasharray: 56.54 56.54;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
#ija [data-state='loading'] .loading-circle {
|
|
807
|
+
animation: loading-circle 1s linear;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
/* perimeter = 2 * Pi * r
|
|
811
|
+
r = 9 (circle radius)
|
|
812
|
+
56.54
|
|
813
|
+
*/
|
|
814
|
+
|
|
815
|
+
@keyframes done-checkmark {
|
|
816
|
+
0% {
|
|
817
|
+
stroke-dasharray: 0 8.6;
|
|
818
|
+
}
|
|
819
|
+
100% {
|
|
820
|
+
stroke-dasharray: 8.6 8.6;
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
#ija .done-checkmark {
|
|
825
|
+
stroke-dashoffset: -1;
|
|
826
|
+
stroke-dasharray: 0 8.6;
|
|
827
|
+
opacity: 0;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
#ija [data-state='success'] .done-checkmark {
|
|
831
|
+
opacity: 1;
|
|
832
|
+
animation: done-checkmark 0.9s cubic-bezier(0.16, 1, 0.3, 1);
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
#ija .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\] {
|
|
836
|
+
a-z-a--z0-9-_: .$@?;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
#ija .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill {
|
|
840
|
+
--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);
|
|
841
|
+
--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);
|
|
842
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
#ija .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill {
|
|
846
|
+
--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);
|
|
847
|
+
--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);
|
|
848
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
#ija .focus\\:relative:focus {
|
|
852
|
+
position: relative;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
#ija .focus\\:shadow-\\[0_0_0_2px\\]:focus {
|
|
856
|
+
--tw-shadow: 0 0 0 2px;
|
|
857
|
+
--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);
|
|
858
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
#ija .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill {
|
|
862
|
+
--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);
|
|
863
|
+
--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);
|
|
864
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
#ija .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill {
|
|
868
|
+
--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);
|
|
869
|
+
--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);
|
|
870
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
#ija .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle] {
|
|
874
|
+
--tw-translate-y: 100%;
|
|
875
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
#ija .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading] {
|
|
879
|
+
--tw-translate-y: -100%;
|
|
880
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
#ija .data-\\[state\\=success\\]\\:translate-y-full[data-state=success] {
|
|
884
|
+
--tw-translate-y: 100%;
|
|
885
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
@keyframes slideUpAndFade {
|
|
889
|
+
|
|
890
|
+
from {
|
|
891
|
+
opacity: 0;
|
|
892
|
+
transform: translateY(2px);
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
to {
|
|
896
|
+
opacity: 1;
|
|
897
|
+
transform: translateY(0);
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
#ija .data-\\[state\\=open\\]\\:data-\\[side\\=bottom\\]\\:animate-slideUpAndFade[data-side=bottom][data-state=open] {
|
|
902
|
+
animation: slideUpAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
@keyframes slideRightAndFade {
|
|
906
|
+
|
|
907
|
+
from {
|
|
908
|
+
opacity: 0;
|
|
909
|
+
transform: translateX(-2px);
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
to {
|
|
913
|
+
opacity: 1;
|
|
914
|
+
transform: translateX(0);
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
#ija .data-\\[state\\=open\\]\\:data-\\[side\\=left\\]\\:animate-slideRightAndFade[data-side=left][data-state=open] {
|
|
919
|
+
animation: slideRightAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
@keyframes slideLeftAndFade {
|
|
923
|
+
|
|
924
|
+
from {
|
|
925
|
+
opacity: 0;
|
|
926
|
+
transform: translateX(2px);
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
to {
|
|
930
|
+
opacity: 1;
|
|
931
|
+
transform: translateX(0);
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
#ija .data-\\[state\\=open\\]\\:data-\\[side\\=right\\]\\:animate-slideLeftAndFade[data-side=right][data-state=open] {
|
|
936
|
+
animation: slideLeftAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
@keyframes slideDownAndFade {
|
|
940
|
+
|
|
941
|
+
from {
|
|
942
|
+
opacity: 0;
|
|
943
|
+
transform: translateY(-2px);
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
to {
|
|
947
|
+
opacity: 1;
|
|
948
|
+
transform: translateY(0);
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
#ija .data-\\[state\\=open\\]\\:data-\\[side\\=top\\]\\:animate-slideDownAndFade[data-side=top][data-state=open] {
|
|
953
|
+
animation: slideDownAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
#ija .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle] {
|
|
957
|
+
opacity: 0;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
#ija .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle] {
|
|
961
|
+
opacity: 1;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
#ija .dark .theme-dark\\:font-bold {
|
|
965
|
+
font-weight: 700;
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
#ija .fill .theme-fill\\:bg-accent-2 {
|
|
969
|
+
background-color: var(--i-color-a-2);
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
#ija .fill .theme-fill\\:hover\\:bg-accent-3:hover {
|
|
973
|
+
background-color: var(--i-color-a-3);
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
#ija .fill .theme-fill\\:active\\:bg-accent-4:active {
|
|
977
|
+
background-color: var(--i-color-a-4);
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
#ija .stroke .theme-stroke\\:ring-\\[1px\\] {
|
|
981
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
982
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
983
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
#ija .stroke .theme-stroke\\:ring-accent-4 {
|
|
987
|
+
--tw-ring-color: var(--i-color-a-4);
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
#ija .stroke .theme-stroke\\:hover\\:ring-accent-9:hover {
|
|
991
|
+
--tw-ring-color: var(--i-color-a-9);
|
|
992
|
+
}
|
|
993
|
+
`,Sl=()=>({getRenderTargetElement:()=>{const t=document.body.querySelector(`#${$l}`);return as(t,`Element with id ${$l} not found.`),t}}),C_=Sl(),O_=Object.freeze(Object.defineProperty({__proto__:null,createJobAlertsDomManager:Sl,jobAlertsPlugin:()=>ui(({apiClient:t,logger:e,analytics:n})=>{let r=!1;const o=({params:a})=>O(X,{},[[O("style",{id:"inploi-job-alerts-styles"},S_),O("style",{id:"inploi-job-search-theme"},x_(a.theme))],O(ff,{theme:a.theme}),O(E_,{theme:a.theme,apiClient:t,logger:e,analytics:n,config:a.config})]),i=a=>kl.filters$.value=a;return{prerender:async a=>(r=!0,i(a.initialFilters),{html:cf(O(X,{},O(o,{params:a})))}),render:async a=>{const s=r?yo:Fe;as(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(a.initialFilters),s(O(o,{params:a}),C_.getRenderTargetElement())},setFilters:i}})},Symbol.toStringTag,{value:"Module"}))})();
|