@inploi/plugin-job-search 0.6.0 → 0.8.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 +1056 -6
- package/cdn/style.css +1 -0
- package/dist/job-search.d.ts +3 -1
- package/dist/plugin-job-alerts-16396947.cjs +6164 -0
- package/dist/plugin-job-alerts-2dab76ff.js +6164 -0
- package/dist/plugin-job-search.cjs +79 -23
- package/dist/plugin-job-search.js +79 -23
- package/dist/style.css +1600 -0
- package/package.json +4 -3
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 Hv=Object.defineProperty;var Iv=(ct,lt,le)=>lt in ct?Hv(ct,lt,{enumerable:!0,configurable:!0,writable:!0,value:le}):ct[lt]=le;var fi=(ct,lt,le)=>(Iv(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 pi=t=>t,nn,C,hi,ue,vi,_i,Sr,gi,rn={},wi=[],Ml=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,An=Array.isArray;function St(t,e){for(var n in e)t[n]=e[n];return t}function mi(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?nn.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 on(t,a,r,o,null)}function on(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??++hi,__i:-1,__u:0};return o==null&&C.vnode!=null&&C.vnode(i),i}function yi(){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 bi(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 bi(t)}}function Cr(t){(!t.__d&&(t.__d=!0)&&ue.push(t)&&!Pn.__r++||vi!==C.debounceRendering)&&((vi=C.debounceRendering)||_i)(Pn)}function Pn(){var t,e,n,r,o,i,a,s,u;for(ue.sort(Sr);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),Or(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,Si(s,r,u),r.__e!=i&&bi(r)),ue.length>e&&ue.sort(Sr));Pn.__r=0}function xi(t,e,n,r,o,i,a,s,u,l,d){var c,p,f,_,h,g=r&&r.__k||wi,v=e.length;for(n.__d=u,Fl(n,e,g),u=n.__d,c=0;c<v;c++)(f=n.__k[c])!=null&&typeof f!="boolean"&&typeof f!="function"&&(p=f.__i===-1?rn:g[f.__i]||rn,f.__i=c,Or(t,f,p,o,i,a,s,u,l,d),_=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&Ar(p.ref,null,f),d.push(f.ref,f.__c||_,f)),h==null&&_!=null&&(h=_),65536&f.__u||p.__k===f.__k?u=ki(f,u,t):typeof f.type=="function"&&f.__d!==void 0?u=f.__d:_&&(u=_.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=u,n.__e=h}function Fl(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?on(null,o,null,null,o):An(o)?on(D,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?on(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=t,o.__b=t.__b+1,s=Vl(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)),Pr(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)),Pr(i,i))}function ki(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=ki(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"||(An(t)?t.some(function(n){Ct(n,e)}):e.push(t)),e}function Vl(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 $i(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||Ml.test(e)?n:n+"px"}function Tn(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||$i(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||$i(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?Ei:ji,i)):t.removeEventListener(e,i?Ei:ji,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 ji(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 Ei(t){return this.l[t.type+!0](C.event?C.event(t):t)}function Or(t,e,n,r,o,i,a,s,u,l){var d,c,p,f,_,h,g,v,x,m,b,k,j,E,y,$=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(v=e.props,x=(d=$.contextType)&&r[d.__c],m=d?x?x.props.value:d.__:r,n.__c?g=(c=e.__c=n.__c).__=c.__E:("prototype"in $&&$.prototype.render?e.__c=c=new $(v,m):(e.__c=c=new ht(v,m),c.constructor=$,c.render=Il),x&&x.sub(c),c.props=v,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(v,c.__s))),f=c.props,_=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&&v!==f&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(v,m),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(v,c.__s,m)===!1||e.__v===n.__v)){for(e.__v!==n.__v&&(c.props=v,c.state=c.__s,c.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(P){P&&(P.__=e)}),b=0;b<c._sb.length;b++)c.__h.push(c._sb[b]);c._sb=[],c.__h.length&&a.push(c);break t}c.componentWillUpdate!=null&&c.componentWillUpdate(v,c.__s,m),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(f,_,h)})}if(c.context=m,c.props=v,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,_)),xi(t,An(y=d!=null&&d.type===D&&d.key==null?d.props.children:d)?y:[y],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(P){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(P,e,n)}else i==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=Hl(n.__e,e,n,r,o,i,a,u,l);(d=C.diffed)&&d(e)}function Si(t,e,n){e.__d=void 0;for(var r=0;r<n.length;r++)Ar(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 Hl(t,e,n,r,o,i,a,s,u){var l,d,c,p,f,_,h,g=n.props,v=e.props,x=e.type;if(x==="svg"&&(o=!0),i!=null){for(l=0;l<i.length;l++)if((f=i[l])&&"setAttribute"in f==!!x&&(x?f.localName===x:f.nodeType===3)){t=f,i[l]=null;break}}if(t==null){if(x===null)return document.createTextNode(v);t=o?document.createElementNS("http://www.w3.org/2000/svg",x):document.createElement(x,v.is&&v),i=null,s=!1}if(x===null)g===v||s&&t.data===v||(t.data=v);else{if(i=i&&nn.call(t.childNodes),g=n.props||rn,!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 v||Tn(t,l,null,f,o));for(l in v)f=v[l],l=="children"?p=f:l=="dangerouslySetInnerHTML"?d=f:l=="value"?_=f:l=="checked"?h=f:l==="key"||s&&typeof f!="function"||g[l]===f||Tn(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=""),xi(t,An(p)?p:[p],e,n,r,o&&x!=="foreignObject",i,a,i?i[0]:n.__k&&Pe(n,0),s,u),i!=null)for(l=i.length;l--;)i[l]!=null&&mi(i[l]);s||(l="value",_!==void 0&&(_!==t[l]||x==="progress"&&!_||x==="option"&&_!==g[l])&&Tn(t,l,_,g[l],!1),l="checked",h!==void 0&&h!==t[l]&&Tn(t,l,h,g[l],!1))}return t}function Ar(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(r){C.__e(r,n)}}function Pr(t,e,n){var r,o;if(C.unmount&&C.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||Ar(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]&&Pr(r[o],e,n||typeof t.type!="function");n||t.__e==null||mi(t.__e),t.__=t.__e=t.__d=void 0}function Il(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=[],Or(e,t=(!r&&n||e).__k=G(D,null,[t]),o||rn,rn,e.ownerSVGElement!==void 0,!r&&n?[n]:o?null:e.firstChild?nn.call(e.childNodes):null,i,!r&&n?n:o?o.__e:e.firstChild,r,a),Si(i,t,a)}function Tr(t,e){Te(t,e,Tr)}function Ul(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?nn.call(arguments,2):n),on(t.type,s,r||t.key,o||t.ref,null)}function Rr(t,e){var n={__c:e="__cC"+gi++,__: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,Cr(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}nn=wi.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}},hi=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),Cr(this))},ht.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Cr(this))},ht.prototype.render=D,ue=[],_i=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Sr=function(t,e){return t.__v.__b-e.__v.__b},Pn.__r=0,gi=0;var Ci=/[\s\n\\/='"\0<>]/,Oi=/^(xlink|xmlns|xml)([A-Z])/,zl=/^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]/,Wl=/^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/,Bl=/["&<]/;function Rn(t){if(t.length===0||Bl.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 Ai={},Yl=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"]),ql=/[A-Z]/g;function Kl(t){var e="";for(var n in t){var r=t[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:Ai[n]||(Ai[n]=n.replace(ql,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||Yl.has(o)||(i="px;"),e=e+o+":"+r+i}}return e||void 0}var Dr,de,an,fe,Pi=[],Ti=Array.isArray,Lr=Object.assign;function Xl(t,e){var n=C.__s;C.__s=!0,Dr=C.__b,de=C.diffed,an=C.__r,fe=C.unmount;var r=G(D,null);r.__k=[t];try{return pe(t,e||Di,!1,void 0,r)}finally{C.__c&&C.__c(t,Pi),C.__s=n,Pi.length=0}}function Ri(){this.__d=!0}var Di={};function Li(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=Di),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=Lr({},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(),an&&an(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"?"":Rn(t+"");if(Ti(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,Dr&&Dr(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 _="",h=0;h<p.tpl.length;h++)if(_+=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&&!Ti(g)?_+=g:_+=pe(g,e,n,r,t)}return _}if(p.UNSTABLE_comment)return"<!--"+Rn(p.UNSTABLE_comment||"")+"-->";l=p.children}else{if((u=c.contextType)!=null){var v=e[u.__c];f=v?v.props.value:u.__}if(c.prototype&&typeof c.prototype.render=="function")l=Li(t,f),d=t.__c;else{t.__c=d={__v:t,props:p,context:f,setState:Ri,forceUpdate:Ri,__d:!0,__h:[]};for(var x=0;d.__d&&x++<25;)d.__d=!1,an&&an(t),l=c.call(d,p,f);d.__d=!0}if(d.getChildContext!=null&&(e=Lr({},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(P){return c.getDerivedStateFromError&&(d.__s=c.getDerivedStateFromError(P)),d.componentDidCatch&&d.componentDidCatch(P,{}),d.__d&&(l=Li(t,e),(d=t.__c).getChildContext!=null&&(e=Lr({},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 b=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),b}var k,j="<"+c,E="";for(var y in p){var $=p[y];switch(y){case"children":k=$;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in p)continue;y="for";break;case"className":if("class"in p)continue;y="class";break;case"defaultChecked":y="checked";break;case"defaultSelected":y="selected";break;case"defaultValue":case"value":switch(y="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"&&($=Kl($));break;case"acceptCharset":y="accept-charset";break;case"httpEquiv":y="http-equiv";break;default:if(Oi.test(y))y=y.replace(Oi,"$1:$2").toLowerCase();else{if(Ci.test(y))continue;y[4]!=="-"&&y!=="draggable"||$==null?n?Wl.test(y)&&(y=y==="panose1"?"panose-1":y.replace(/([A-Z])/g,"-$1").toLowerCase()):zl.test(y)&&(y=y.toLowerCase()):$+=""}}$!=null&&$!==!1&&typeof $!="function"&&(j=$===!0||$===""?j+" "+y:j+" "+y+'="'+Rn($+"")+'"')}if(Ci.test(c))throw new Error(c+" is not a valid HTML tag name in "+j+">");return E||(typeof k=="string"?E=Rn(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&&Zl.has(c)?j+"/>":j+">"+E+"</"+c+">"}var Zl=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Dn=class extends Error{constructor(e){super(e[0].message);fi(this,"issues");this.name="ValiError",this.issues=e}};function Ni(t,e){return{...t,_parse(n,r){return t._parse(e(n),r)}}}function sn(t){return{issues:t}}function he(t){return{output:t}}function Gl(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 Jl(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||Jl(n,r);for(const l of u.issues){const d=Gl(o,l);i?i.push(d):i=[d]}if(o.abortEarly||o.abortPipeEarly)break}else a=u.output}return i?sn(i):he(a)}function qt(t,e){return Array.isArray(t)?[void 0,t]:[t,e]}function Mi(t){return typeof t=="function"?t():t}function Ql(t,e,n,r){return sn([{validation:t,message:Mi(e),input:n,requirement:r}])}function tu(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:Mi(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 Fi(t){return typeof t.default=="function"?t.default():t.default}function eu(t){return{type:"any",async:!1,pipe:t,_parse(e,n){return Yt(e,this.pipe,n,"any")}}}function Vi(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?sn(s):Yt(u,this.pipe,a,"array")}}}function Hi(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=Fi(this);if(o===void 0)return he(n);n=o}return this.wrapped._parse(n,r)}}}function cn(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 Ln(t,e,n,r){const[o,i="Invalid type",a]=tu(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 _=u[p],h=f._parse(_,l);if(h.issues){const g={type:"object",input:u,key:p,value:_};for(const v of h.issues)v.path?v.path.unshift(g):v.path=[g],d==null||d.push(v);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],_=this.rest._parse(f,l);if(_.issues){const h={type:"object",input:u,key:p,value:f};for(const g of _.issues)g.path?g.path.unshift(h):g.path=[h],d==null||d.push(g);if(d||(d=_.issues),l!=null&&l.abortEarly)break}else c[p]=_.output}}return d?sn(d):Yt(c,this.pipe,l,"object")}}}function ve(t,e){return{type:"optional",async:!1,wrapped:t,default:e,_parse(n,r){if(n===void 0){const o=Fi(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 nu(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 ru=["__proto__","prototype","constructor"];function Ii(t,e,n,r){const[o,i,a="Invalid type",s]=nu(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(!ru.includes(p)){let _;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){_={type:"record",input:u,key:p,value:f};for(const v of h.issues)v.path=[_],d==null||d.push(v);if(d||(d=h.issues),l!=null&&l.abortEarly)break}const g=this.value._parse(f,l);if(g.issues){_=_||{type:"record",input:u,key:p,value:f};for(const v of g.issues)v.path?v.path.unshift(_):v.path=[_],d==null||d.push(v);if(d||(d=g.issues),l!=null&&l.abortEarly)break}!h.issues&&!g.issues&&(c[h.output]=g.output)}return d?sn(d):Yt(c,this.pipe,l,"record")}}}function Ui(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 zi(t,e,n){const r=t._parse(e,n);if(r.issues)throw new Dn(r.issues);return r.output}function ou(t,e,n){const r=t._parse(e,n);return r.issues?{success:!1,error:new Dn(r.issues),issues:r.issues}:{success:!0,data:r.output,output:r.output}}function Wi(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 iu(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):Ql(this.type,this.message,e,this.requirement)}}}const Bi="inploi-job-search",Yi="ijs",Nn=10,Mn={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},au=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),Mn[e.pay_type]].join(" "):e.pay_max&&e.pay_min?[r.formatRange(+e.pay_min,+e.pay_max),Mn[e.pay_type]].join(" "):e.pay_max?"Up to "+[r.format(+e.pay_max),Mn[e.pay_type]].join(" "):e.pay_min?"From "+[r.format(+e.pay_min),Mn[e.pay_type]].join(" "):"Invalid salary"},su=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),cu=({from:t=new Date,to:e,formatter:n=su})=>{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"},lu=1e3*60*60*24*7,uu=Ii(Vi(Ln({label:Ni(Y(),String),value:Ni(Y(),String)}))),du=Y([iu()]),fu=Ln({total:cn(),current_page:cn(),per_page:cn(),last_page:cn()}),pu=Ln({id:cn(),company_name:Y(),company_logo:ve(Y()),employment_type:Y(),location_type:Ui([Xt("LOCATION"),Xt("REMOTE"),Xt("HYBRID")]),pay_type:Ui([Xt("ANNUALLY"),Xt("HOURLY"),Xt("MONTHLY"),Xt("WEEKLY"),Xt("DAILY")]),pay_currency:Y(),pay_mask:Hi(),pay_display:Hi(),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(Ii(eu())),href:Y(),industry:ve(Y()),category:ve(Y()),skills:ve(Y()),town:ve(Y()),city:ve(Y()),country:ve(Y())}),hu=Wi(pu,t=>{const e=t.created_at?new Date(t.created_at).getTime()>Date.now()-lu:!1,n=ou(du,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:au({salary:t,config:{locales:void 0}}),description:t.description,title:t.title,contractType:t.contract_type,href:t.href,relativePostedDate:t.created_at?cu({to:new Date(t.created_at)}):"INVALID DATE",customData:t.custom_data}}),vu=Wi(Ln({data:Vi(hu),pagination:fu}),t=>({pagination:t.pagination,results:t.data})),qi=t=>Object.fromEntries(Object.entries(t).map(([e,n])=>[e,(n==null?void 0:n.value)??null])),Ki=async({apiClient:t,filters:e,logger:n,signal:r})=>{try{const o=await t.fetch("/search/filters",{method:"POST",body:JSON.stringify({filters:qi(e)}),signal:r});return zi(uu,o)}catch(o){throw o instanceof Dn?n.error(o.message,o.issues):n.error(o),o}},Xi=async({apiClient:t,logger:e,signal:n,filters:r,page:o=1})=>{try{const i=await t.fetch(`/search/results?page=${o}&per_page=${Nn}`,{method:"POST",body:JSON.stringify({filters:qi(r)}),signal:n});return zi(vu,i)}catch(i){throw i instanceof Dn?e.error(i.message,i.issues):e.error(i),i}},Nr=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")},Mr={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};function Zi(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=Zi(t[e]))&&(r&&(r+=" "),r+=n);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}function Fn(){for(var t,e,n=0,r="";n<arguments.length;)(t=arguments[n++])&&(e=Zi(t))&&(r&&(r+=" "),r+=e);return r}const Gi=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,_u=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"](Fn(i)):typeof(t==null||(u=t.hooks)===null||u===void 0?void 0:u.onComplete)<"u"?t==null?void 0:t.hooks.onComplete(Fn(i)):Fn(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],_=u==null?void 0:u[p],h=Gi(f)||Gi(_);return s[p][h]}),d={...u,...i&&Object.entries(i).reduce((p,f)=>{let[_,h]=f;return typeof h>"u"?p:{...p,[_]:h}},{})},c=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,f)=>{let{class:_,className:h,...g}=f;return Object.entries(g).every(v=>{let[x,m]=v;const b=d[x];return Array.isArray(m)?m.includes(b):b===m})?[...p,_,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:Uv,cva:Zt,cx:zv}=_u(),ln=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 gu=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:--gu,__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 wu=({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:Fn("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:ln({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:e,children:"Retry"})]});class un extends ht{constructor(){super(...arguments);fi(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 mu={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"})},yu=({theme:t})=>w("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:w("defs",{children:Object.entries(mu).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,Fr,Ji,De=0,Qi=[],Vn=[],ta=C.__b,ea=C.__r,na=C.diffed,ra=C.__c,oa=C.unmount;function _e(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:Vn}),n.__[t]}function bt(t){return De=1,Vr(ca,t)}function Vr(t,e,n){var r=_e(Ot++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):ca(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=_e(Ot++,3);!C.__s&&zr(n.__H,e)&&(n.__=t,n.i=e,F.__H.__h.push(n))}function ge(t,e){var n=_e(Ot++,4);!C.__s&&zr(n.__H,e)&&(n.__=t,n.i=e,F.__h.push(n))}function vt(t){return De=5,we(function(){return{current:t}},[])}function ia(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=_e(Ot++,7);return zr(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 Hr(t){var e=F.context[t.__c],n=_e(Ot++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(F)),e.props.value):t.__}function Ir(t,e){C.useDebugValue&&C.useDebugValue(e?e(t):t)}function bu(t){var e=_e(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 aa(){var t=_e(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 xu(){for(var t;t=Qi.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Hn),t.__H.__h.forEach(Ur),t.__H.__h=[]}catch(e){t.__H.__h=[],C.__e(e,t.__v)}}C.__b=function(t){F=null,ta&&ta(t)},C.__r=function(t){ea&&ea(t),Ot=0;var e=(F=t.__c).__H;e&&(Fr===F?(e.__h=[],F.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Vn,n.__N=n.i=void 0})):(e.__h.forEach(Hn),e.__h.forEach(Ur),e.__h=[],Ot=0)),Fr=F},C.diffed=function(t){na&&na(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(Qi.push(e)!==1&&Ji===C.requestAnimationFrame||((Ji=C.requestAnimationFrame)||ku)(xu)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Vn&&(n.__=n.__V),n.i=void 0,n.__V=Vn})),Fr=F=null},C.__c=function(t,e){e.some(function(n){try{n.__h.forEach(Hn),n.__h=n.__h.filter(function(r){return!r.__||Ur(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],C.__e(r,n.__v)}}),ra&&ra(t,e)},C.unmount=function(t){oa&&oa(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Hn(r)}catch(o){e=o}}),n.__H=void 0,e&&C.__e(e,n.__v))};var sa=typeof requestAnimationFrame=="function";function ku(t){var e,n=function(){clearTimeout(r),sa&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);sa&&(e=requestAnimationFrame(n))}function Hn(t){var e=F,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),F=e}function Ur(t){var e=F;t.__c=t.__(),F=e}function zr(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function ca(t,e){return typeof e=="function"?e(t):e}const In=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}`},Wv="",$u=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)},ju=({analytics:t,apiClient:e,logger:n,theme:r,appliedFilters:o})=>{const[i,a]=bt();return $t(()=>{Promise.resolve().then(()=>Fv).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($u(o))},[o,i]),w("div",{id:"inploi-job-alerts",class:"min-h-[36px]"})};function la(t,e){for(var n in e)t[n]=e[n];return t}function Wr(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 Un(t){this.props=t}function ua(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:Wr(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}(Un.prototype=new ht).isPureReactComponent=!0,Un.prototype.shouldComponentUpdate=function(t,e){return Wr(this.props,t)||Wr(this.state,e)};var da=C.__b;C.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),da&&da(t)};var Eu=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function fa(t){function e(n){var r=la({},n);return delete r.ref,t(r,n.ref||null)}return e.$$typeof=Eu,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var pa=function(t,e){return t==null?null:Ct(Ct(t).map(e))},ha={map:pa,forEach:pa,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},Su=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)}Su(t,e,n,r)};var va=C.unmount;function _a(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=la({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return _a(r,e,n)})),t}function ga(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return ga(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 dn(){this.__u=0,this.t=null,this.__b=null}function wa(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function ma(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),va&&va(t)},(dn.prototype=new ht).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=wa(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]=ga(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)},dn.prototype.componentWillUnmount=function(){this.t=[]},dn.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]=_a(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 ya=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 Cu(t){return this.getChildContext=function(){return t.context},t.children}function Ou(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(Cu,{context:e.context},t.__v),e.l)}function ba(t,e){var n=G(Ou,{__v:t,i:e});return n.containerInfo=e,n}(Ne.prototype=new ht).__a=function(t){var e=this,n=wa(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),ya(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){ya(t,n,e)})};var xa=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Au=/^(?: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]/,Pu=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Tu=/[A-Z0-9]/g,Ru=typeof document<"u",Du=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function ka(t,e,n){return e.__k==null&&(e.textContent=""),Te(t,e),typeof n=="function"&&n(),t?t.__c:null}function $a(t,e,n){return Tr(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 ja=C.event;function Lu(){}function Nu(){return this.cancelBubble}function Mu(){return this.defaultPrevented}C.event=function(t){return ja&&(t=ja(t)),t.persist=Lu,t.isPropagationStopped=Nu,t.isDefaultPrevented=Mu,t.nativeEvent=t};var Br,Fu={enumerable:!1,configurable:!0,get:function(){return this.class}},Ea=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||Ru&&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"||Du(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":Pu.test(i)?i=s:r.indexOf("-")===-1&&Au.test(i)?i=i.replace(Tu,"-$&").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",Fu)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(t),t.$$typeof=xa,Ea&&Ea(t)};var Sa=C.__r;C.__r=function(t){Sa&&Sa(t),Br=t.__c};var Ca=C.diffed;C.diffed=function(t){Ca&&Ca(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),Br=null};var Oa={ReactCurrentDispatcher:{current:{readContext:function(t){return Br.__n[t.__c].props.value}}}},Vu="17.0.2";function Aa(t){return G.bind(null,t)}function fn(t){return!!t&&t.$$typeof===xa}function Pa(t){return fn(t)&&t.type===D}function Ta(t){return fn(t)?Ul.apply(null,arguments):t}function Ra(t){return!!t.__k&&(Te(null,t),!0)}function Da(t){return t&&(t.base||t.nodeType===1&&t)||null}var La=function(t,e){return t(e)},Na=function(t,e){return t(e)},Ma=D;function Yr(t){t()}function Fa(t){return t}function Va(){return[!1,Yr]}var Ha=ge,Ia=fn;function Ua(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,qr(o)&&i({h:o})},[t,n,e]),$t(function(){return qr(o)&&i({h:o}),t(function(){qr(o)&&i({h:o})})},[t]),n}function qr(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 zn={useState:bt,useId:aa,useReducer:Vr,useEffect:$t,useLayoutEffect:ge,useInsertionEffect:Ha,useTransition:Va,useDeferredValue:Fa,useSyncExternalStore:Ua,startTransition:Yr,useRef:vt,useImperativeHandle:ia,useMemo:we,useCallback:Le,useContext:Hr,useDebugValue:Ir,version:"17.0.2",Children:ha,render:ka,hydrate:$a,unmountComponentAtNode:Ra,createPortal:ba,createElement:G,createContext:Rr,createFactory:Aa,cloneElement:Ta,createRef:yi,Fragment:D,isValidElement:fn,isElement:Ia,isFragment:Pa,findDOMNode:Da,Component:ht,PureComponent:Un,memo:ua,forwardRef:fa,flushSync:Na,unstable_batchedUpdates:La,StrictMode:Ma,Suspense:dn,SuspenseList:Ne,lazy:ma,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Oa};const Hu=Object.freeze(Object.defineProperty({__proto__:null,Children:ha,Component:ht,Fragment:D,PureComponent:Un,StrictMode:Ma,Suspense:dn,SuspenseList:Ne,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Oa,cloneElement:Ta,createContext:Rr,createElement:G,createFactory:Aa,createPortal:ba,createRef:yi,default:zn,findDOMNode:Da,flushSync:Na,forwardRef:fa,hydrate:$a,isElement:Ia,isFragment:Pa,isValidElement:fn,lazy:ma,memo:ua,render:ka,startTransition:Yr,unmountComponentAtNode:Ra,unstable_batchedUpdates:La,useCallback:Le,useContext:Hr,useDebugValue:Ir,useDeferredValue:Fa,useEffect:$t,useErrorBoundary:bu,useId:aa,useImperativeHandle:ia,useInsertionEffect:Ha,useLayoutEffect:ge,useMemo:we,useReducer:Vr,useRef:vt,useState:bt,useSyncExternalStore:Ua,useTransition:Va,version:Vu},Symbol.toStringTag,{value:"Module"}));function Iu(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 Kr={exports:{}},Xr={};const za=Iu(Hu);/**
|
|
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 Wa;function Uu(){if(Wa)return Xr;Wa=1;var t=za;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(),_=r({inst:{value:f,getSnapshot:p}}),h=_[0].inst,g=_[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 Xr.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:d,Xr}var Zr={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* use-sync-external-store-shim.development.js
|
|
12
12
|
*
|
|
@@ -14,8 +14,1058 @@ 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 Ba;function zu(){return Ba||(Ba=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=za,e=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(m){{for(var b=arguments.length,k=new Array(b>1?b-1:0),j=1;j<b;j++)k[j-1]=arguments[j];r("error",m,k)}}function r(m,b,k){{var j=e.ReactDebugCurrentFrame,E=j.getStackAddendum();E!==""&&(b+="%s",k=k.concat([E]));var y=k.map(function($){return String($)});y.unshift("Warning: "+b),Function.prototype.apply.call(console[m],console,y)}}function o(m,b){return m===b&&(m!==0||1/m===1/b)||m!==m&&b!==b}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,b,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=b();if(!c){var E=b();i(j,E)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var y=a({inst:{value:j,getSnapshot:b}}),$=y[0].inst,P=y[1];return u(function(){$.value=j,$.getSnapshot=b,f($)&&P({inst:$})},[m,j,b]),s(function(){f($)&&P({inst:$});var H=function(){f($)&&P({inst:$})};return m(H)},[m]),l(j),j}function f(m){var b=m.getSnapshot,k=m.value;try{var j=b();return!i(k,j)}catch{return!0}}function _(m,b,k){return b()}var h=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",g=!h,v=g?_:p,x=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:v;Zr.useSyncExternalStore=x,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Zr}process.env.NODE_ENV==="production"?Kr.exports=Uu():Kr.exports=zu();var Wu=Kr.exports;const Qt=()=>{},ut=Qt(),Gr=Object,R=t=>t===ut,At=t=>typeof t=="function",te=(t,e)=>({...t,...e}),Bu=t=>At(t.then),Wn=new WeakMap;let Yu=0;const pn=t=>{const e=typeof t,n=t&&t.constructor,r=n==Date;let o,i;if(Gr(t)===t&&!r&&n!=RegExp){if(o=Wn.get(t),o)return o;if(o=++Yu+"~",Wn.set(t,o),n==Array){for(o="@",i=0;i<t.length;i++)o+=pn(t[i])+",";Wn.set(t,o)}if(n==Gr){o="#";const a=Gr.keys(t).sort();for(;!R(i=a.pop());)R(t[i])||(o+=i+":"+pn(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,Jr={},Bn={},Qr="undefined",Yn=typeof window!=Qr,to=typeof document!=Qr,qu=()=>Yn&&typeof window.requestAnimationFrame!=Qr,Ya=(t,e)=>{const n=Pt.get(t);return[()=>!R(e)&&t.get(e)||Jr,r=>{if(!R(e)){const o=t.get(e);e in Bn||(Bn[e]=o),n[5](e,te(o,r),o||Jr)}},n[6],()=>!R(e)&&e in Bn?Bn[e]:!R(e)&&t.get(e)||Jr]};let eo=!0;const Ku=()=>eo,[no,ro]=Yn&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Qt,Qt],Xu=()=>{const t=to&&document.visibilityState;return R(t)||t!=="hidden"},Zu=t=>(to&&document.addEventListener("visibilitychange",t),no("focus",t),()=>{to&&document.removeEventListener("visibilitychange",t),ro("focus",t)}),Gu=t=>{const e=()=>{eo=!0,t()},n=()=>{eo=!1};return no("online",e),no("offline",n),()=>{ro("online",e),ro("offline",n)}},Ju={isOnline:Ku,isVisible:Xu},Qu={initFocus:Zu,initReconnect:Gu},qa=!zn.useId,hn=!Yn||"Deno"in window,td=t=>qu()?window.requestAnimationFrame(t):setTimeout(t,1),oo=hn?$t:ge,io=typeof navigator<"u"&&navigator.connection,Ka=!hn&&io&&(["slow-2g","2g"].includes(io.effectiveType)||io.saveData),ao=t=>{if(At(t))try{t=t()}catch{t=""}const e=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?pn(t):"",[t,e]};let ed=0;const so=()=>++ed,Xa=0,Za=1,Ga=2;var vn={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:Xa,MUTATE_EVENT:Ga,RECONNECT_EVENT:Za};async function Ja(...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,_=[],h=e.keys();for(const g of h)!/^\$(inf|sub)\$/.test(g)&&f(e.get(g)._k)&&_.push(g);return Promise.all(_.map(p))}return p(n);async function p(f){const[_]=ao(f);if(!_)return;const[h,g]=Ya(e,_),[v,x,m,b]=Pt.get(e),k=()=>{const T=v[_];return l&&(delete m[_],delete b[_],T&&T[0])?T[0](Ga).then(()=>h().data):h().data};if(t.length<3)return k();let j=r,E;const y=so();x[_]=[y,0];const $=!R(u),P=h(),H=P.data,N=P._c,X=R(N)?H:N;if($&&(u=At(u)?u(X,H):u,g({data:u,_c:X})),At(j))try{j=j(X)}catch(T){E=T}if(j&&Bu(j))if(j=await j.catch(T=>{E=T}),y!==x[_][0]){if(E)throw E;return j}else E&&$&&d(E)&&(a=!0,g({data:X,_c:ut}));if(a&&!E)if(At(a)){const T=a(j,X);g({data:T,error:ut,_c:ut})}else g({data:j,error:ut,_c:ut});if(x[_][1]=so(),Promise.resolve(k()).then(()=>{g({_c:ut})}),E){if(c)throw E;return}return j}}const Qa=(t,e)=>{for(const n in t)t[n][0]&&t[n][0](e)},nd=(t,e)=>{if(!Pt.has(t)){const n=te(Qu,e),r={},o=Ja.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 _ of f)_(c,p)},l=()=>{if(!Pt.has(t)&&(Pt.set(t,[r,{},{},{},o,u,s]),!hn)){const d=n.initFocus(setTimeout.bind(ut,Qa.bind(ut,r,Xa))),c=n.initReconnect(setTimeout.bind(ut,Qa.bind(ut,r,Za)));i=()=>{d&&d(),c&&c(),Pt.delete(t)}}};return l(),[t,o,l,i]}return[t,Pt.get(t)[4]]},rd=(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)},od=(t,e)=>pn(t)==pn(e),[ts,id]=nd(new Map),ad=te({onLoadingSlow:Qt,onSuccess:Qt,onError:Qt,onErrorRetry:rd,onDiscarded:Qt,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Ka?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Ka?5e3:3e3,compare:od,isPaused:()=>!1,cache:ts,mutate:id,fallback:{}},Ju),sd=(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},cd=Rr({}),ld="$inf$",es=Yn&&window.__SWR_DEVTOOLS_USE__,ud=es?window.__SWR_DEVTOOLS_USE__:[],dd=()=>{es&&(window.__SWR_DEVTOOLS_REACT__=zn)},fd=t=>At(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],pd=()=>te(ad,Hr(cd)),hd=t=>(e,n,r)=>t(e,n&&((...i)=>{const[a]=ao(e),[,,,s]=Pt.get(ts);if(a.startsWith(ld))return n(...i);const u=s[a];return R(u)?n(...i):(delete s[a],u)}),r),vd=ud.concat(hd),_d=t=>function(...n){const r=pd(),[o,i,a]=fd(n),s=sd(r,a);let u=t;const{use:l}=s,d=(l||[]).concat(vd);for(let c=d.length;c--;)u=d[c](u);return u(o,i||s.fetcher||null,s)},gd=(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())}};dd();const ns=zn.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)}),co={dedupe:!0},lo=_d((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,_,h,g]=Pt.get(r),[v,x]=ao(t),m=vt(!1),b=vt(!1),k=vt(v),j=vt(e),E=vt(n),y=()=>E.current,$=()=>y().isVisible()&&y().isOnline(),[P,H,N,X]=Ya(r,v),T=vt({}).current,K=R(a)?n.fallback[v]:a,J=(I,U)=>{for(const nt in T){const z=nt;if(z==="data"){if(!o(I[z],U[z])&&(!R(I[z])||!o(zt,U[z])))return!1}else if(U[z]!==I[z])return!1}return!0},L=we(()=>{const I=(()=>!v||!e?!1:R(s)?y().isPaused()||i?!1:R(u)?!0:u:s)(),U=it=>{const kt=te(it);return delete kt._k,I?{isValidating:!0,isLoading:!0,...kt}:kt},nt=P(),z=X(),pt=U(nt),ce=nt===z?pt:U(z);let Q=pt;return[()=>{const it=U(P());return J(it,Q)?(Q.data=it.data,Q.isLoading=it.isLoading,Q.isValidating=it.isValidating,Q.error=it.error,Q):(Q=it,it)},()=>ce]},[r,v]),st=Wu.useSyncExternalStore(Le(I=>N(v,(U,nt)=>{J(nt,U)||I()}),[r,v]),L[0],L[1]),mt=!m.current,ci=f[v]&&f[v].length>0,xt=st.data,se=R(xt)?K:xt,Ce=st.error,jr=vt(se),zt=p?R(xt)?jr.current:xt:se,Wt=(()=>ci&&!R(Ce)?!1:mt&&!R(s)?s:y().isPaused()?!1:i?R(se)?!1:u:R(se)||u)(),On=!!(v&&e&&mt&&Wt),li=R(st.isValidating)?On:st.isValidating,en=R(st.isLoading)?On:st.isLoading,Oe=Le(async I=>{const U=j.current;if(!v||!U||b.current||y().isPaused())return!1;let nt,z,pt=!0;const ce=I||{},Q=!h[v]||!ce.dedupe,it=()=>qa?!b.current&&v===k.current&&m.current:v===k.current,kt={isValidating:!1,isLoading:!1},Ae=()=>{H(kt)},Ll=()=>{const yt=h[v];yt&&yt[1]===z&&delete h[v]},Nl={isValidating:!0};R(P().data)&&(Nl.isLoading=!0);try{if(Q&&(H(Nl),n.loadingTimeout&&R(P().data)&&setTimeout(()=>{pt&&it()&&y().onLoadingSlow(v,n)},n.loadingTimeout),h[v]=[U(x),so()]),[nt,z]=h[v],nt=await nt,Q&&setTimeout(Ll,n.dedupingInterval),!h[v]||h[v][1]!==z)return Q&&it()&&y().onDiscarded(v),!1;kt.error=ut;const yt=_[v];if(!R(yt)&&(z<=yt[0]||z<=yt[1]||yt[1]===0))return Ae(),Q&&it()&&y().onDiscarded(v),!1;const Bt=P().data;kt.data=o(Bt,nt)?Bt:nt,Q&&it()&&y().onSuccess(nt,v,n)}catch(yt){Ll();const Bt=y(),{shouldRetryOnError:ui}=Bt;Bt.isPaused()||(kt.error=yt,Q&&it()&&(Bt.onError(yt,v,Bt),(ui===!0||At(ui)&&ui(yt))&&$()&&Bt.onErrorRetry(yt,v,Bt,Vv=>{const di=f[v];di&&di[0]&&di[0](vn.ERROR_REVALIDATE_EVENT,Vv)},{retryCount:(ce.retryCount||0)+1,dedupe:!0})))}return pt=!1,Ae(),!0},[v,r]),Er=Le((...I)=>Ja(r,k.current,...I),[]);if(oo(()=>{j.current=e,E.current=n,R(xt)||(jr.current=xt)}),oo(()=>{if(!v)return;const I=Oe.bind(ut,co);let U=0;const z=gd(v,f,(pt,ce={})=>{if(pt==vn.FOCUS_EVENT){const Q=Date.now();y().revalidateOnFocus&&Q>U&&$()&&(U=Q+y().focusThrottleInterval,I())}else if(pt==vn.RECONNECT_EVENT)y().revalidateOnReconnect&&$()&&I();else{if(pt==vn.MUTATE_EVENT)return Oe();if(pt==vn.ERROR_REVALIDATE_EVENT)return Oe(ce)}});return b.current=!1,k.current=v,m.current=!0,H({_k:x}),Wt&&(R(se)||hn?I():td(I)),()=>{b.current=!0,z()}},[v]),oo(()=>{let I;function U(){const z=At(l)?l(P().data):l;z&&I!==-1&&(I=setTimeout(nt,z))}function nt(){!P().error&&(d||y().isVisible())&&(c||y().isOnline())?Oe(co).then(U):U()}return U(),()=>{I&&(clearTimeout(I),I=-1)}},[l,d,c,v]),Ir(zt),i&&R(se)&&v){if(!qa&&hn)throw new Error("Fallback data is required when using suspense in SSR.");j.current=e,E.current=n,b.current=!1;const I=g[v];if(!R(I)){const U=Er(I);ns(U)}if(R(Ce)){const U=Oe(co);R(zt)||(U.status="fulfilled",U.value=!0),ns(U)}else throw Ce}return{mutate:Er,get data(){return T.data=!0,zt},get error(){return T.error=!0,Ce},get isValidating(){return T.isValidating=!0,li},get isLoading(){return T.isLoading=!0,en}}}),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}}),wd=({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)}},rs=8,os=42,md=8,yd=6,bd=4,xd=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"}}}),kd=(t,e)=>{const n=t.indexOf(e);return n===-1?[...t,e]:t.filter((r,o)=>o!==n)},$d=({value:t,property:e,onSkip:n,useQuery:r,onValueChange:o,unfilteredQuery:i,onRender:a})=>{const s=Nr(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=is(t),d=l.length>0,[c,p]=bt(rs),[f,_]=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:xd({hasValue:d}),value:f,onInput:h=>_(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]??[],v=(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 v.find(m=>!m.disabled)?w("div",{class:"pointer-fine:px-4",children:w("ul",{style:{maxHeight:(os+md)*(yd-1)+os/2+2*bd},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:[v.slice(0,c).map(m=>{const b=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":b?"true":void 0,onClick:()=>{switch(t.select){case"many":{const k=kd(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:b?"accentStrong":"neutralStrong",interactive:!0,disabled:m.disabled,class:"ijs-filter-tag"}),children:m.label})},m.value)}),v.length>c&&w("li",{class:"animate-appear-tag pointer-fine:w-full max-w-full flex-none origin-top",children:w("button",{class:ln({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+rs)},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:ln({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:ln({variant:d?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[d?"Done":"Skip"," ",w(Jt,{name:"chevron-right"})]},d?"done":"skip")})]})]})},jd={contract_type:"clock",title:"magnifier",city:"mapPin",town:"mapPin",address_1:"mapPin",address_2:"mapPin",country:"mapPin",company_name:"briefcase",category:"briefcase"},Ed=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"}}}),Sd=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"}}}),Cd=Zt({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),Od=t=>{const e=vt(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}},is=t=>typeof t.value=="string"?[t.value]:t.value??[],Ad=({active:t,value:e,onActiveChange:n,property:r,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:s})=>{const u=r.icon??jd[r.key]??"filter",l=is(e),{height:d,ref:c,updateHeight:p}=Od([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:Ed({hasValue:f}),onTouchStart:Dd,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:Sd({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($d,{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(wd,{property:r,query:a,selectedValues:l})}),w(Jt,{"aria-hidden":!0,class:Cd(),name:"chevron-right"})]})]})},Pd=t=>{const e=vt();return $t(()=>{e.current=t},[t]),e.current},Td=(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())},Rd=(t,e)=>{const n=Pd(t);$t(()=>{if(n===t)return;const r=t??n;r&&Td(r,e)},[t,n,e])};function Dd(){}const Ld=({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)}},Nd=({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);Rd(a,e);const u=we(()=>uo(t.map(({value:p,...f})=>f)),[t]),l=Nr(lo(In({filter:u,baseKey:"filters"}),()=>Ki({apiClient:o,logger:i,filters:u}),Mr)),d=Le(p=>()=>{const f={...n,[p]:u[p]};return lo(In({filter:f,baseKey:"filters"}),()=>Ki({apiClient:o,logger:i,filters:f}),Mr)},[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,_=n[p.key]??{select:p.select,value:void 0},h=x=>{const{newActiveKey:m,newValue:b}=Ld({property:p,activeKey:a,value:x,properties:t,appliedFilters:n});return s(m),r(p.key,b)},g=x=>s(x?p.key:void 0),v=d(p.key);return w(un,{Fallback:Gt,children:w(Ad,{unfilteredQuery:l,active:f,property:p,onActiveChange:g,value:_,onSkip:()=>{var b;const x=t.findIndex(k=>k.key===a),m=x!==-1?(b=t[x+1])==null?void 0:b.key:void 0;s(m)},useQuery:v,onValueChange:h})},p.key)})})})},qn=({chars:t})=>w("span",{style:{width:t+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),as=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}}),Md=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"}),ss=({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)}},Fd=({job:t,config:e})=>{const n=e.subheading?ss({job:t,property:e.subheading}):null,r=e.infoTags.map(o=>ss({job:t,property:o})).filter(Boolean);return w("a",{href:t.href,class:as(),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:Md({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"})})]})},cs=({config:t,animationDelay:e,seed:n})=>w("div",{"aria-hidden":!0,style:{animationDelay:e+"s"},class:as({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(qn,{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(qn,{chars:13+(n+5)*n%7})}),t.subheading!==null?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:w(qn,{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"})})]}),Vd=({state:t,fetchNextPage:e,config:n})=>t==="revalidating"?w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Nn}).map((r,o)=>w("li",{children:w(cs,{seed:o,animationDelay:(o-4)*.1,config:n})},o))}):w("button",{class:ln({variant:"neutral",class:"py-2"}),onClick:e,children:"Load More"}),Hd=({pagination:t})=>(lt(t.total>=0),t.total===1?"1 job found":`${t.total} jobs found`),Id=({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(un,{Fallback:Gt,children:w(Ud,{appliedFilters:t,apiClient:e,logger:n,page:u+1,isFirst:u===0,isLast:l,fetchNextPage:()=>a(i+1),jobCardConfig:r,initialData:o},u)},u)})})},Ud=({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}=Nr(lo(In({filter:t,baseKey:r.toString()}),()=>Xi({apiClient:e,logger:n,filters:t,page:r}),{...Mr,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(qn,{chars:8})}),w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Nn}).map((_,h)=>w("li",{children:w(cs,{seed:h,animationDelay:(h-Nn)*.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 _=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:Hd({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(Fd,{job:h,config:s})},h.id))}),_&&i&&w(Vd,{state:p,fetchNextPage:a,config:s})]})}default:ct(p)}},uo=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},{}),zd=({apiClient:t,logger:e,properties:n,class:r,analytics:o,initialData:i,onFilterChange:a,params:s})=>{const u=vt(null),[l,d]=bt(()=>uo(n));return w("div",{ref:u,class:r,id:Yi,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(un,{Fallback:Gt,children:w("div",{class:"flex flex-col gap-2",children:[w(Nd,{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(ju,{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(un,{Fallback:Gt,children:w(Id,{appliedFilters:l,logger:e,apiClient:t,jobCardConfig:s.jobCard,initialData:i==null?void 0:i.jobs},In({filter:l,baseKey:"resultsSection"}))})})})]})})},Wd=`#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 .bottom-0{bottom:0}#ijs .right-0{right:0}#ijs .top-0{top:0}#ijs .isolate{isolation:isolate}#ijs .z-50{z-index:50}#ijs .order-1{order:1}#ijs .order-2{order:2}#ijs .col-span-full{grid-column:1 / -1}#ijs .row-span-full{grid-row:1 / -1}#ijs .-m-4{margin:-1rem}#ijs .m-0{margin:0}#ijs .m-11{margin:2.75rem}#ijs .m-3{margin:.75rem}#ijs .m-4{margin:1rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .ml-auto{margin-left:auto}#ijs .mt-0{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 .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}#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-1{padding:.25rem}#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 .pb-4{padding-bottom:1rem}#ijs .pl-1{padding-left:.25rem}#ijs .pl-2{padding-left:.5rem}#ijs .pl-2\\.5{padding-left:.625rem}#ijs .pl-3{padding-left:.75rem}#ijs .pl-4{padding-left:1rem}#ijs .pl-5{padding-left:1.25rem}#ijs .pr-1{padding-right:.25rem}#ijs .pr-3{padding-right:.75rem}#ijs .pr-5{padding-right:1.25rem}#ijs .pr-8{padding-right:2rem}#ijs .pt-1{padding-top:.25rem}#ijs .text-center{text-align:center}#ijs .text-justify{text-align:justify}#ijs .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-10{color:var(--i-color-n-10)}#ijs .text-neutral-11{color:var(--i-color-n-11)}#ijs .text-neutral-8{color:var(--i-color-n-8)}#ijs .text-tag-accent-strong-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 .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .focus-within\\:z-10:focus-within{z-index:10}#ijs .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .active\\:-scale-100:active{--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[0\\.975\\]:active{--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}#ijs .active\\:bg-job-card-bg-active:active{background-color:var(--i-job-card-bg-active)}#ijs .active\\:ring-job-card-stroke-active:active{--tw-ring-color: var(--i-job-card-stroke-color-active)}#ijs .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 Bd=["1","2","3","4","5","6","7","8","9","10","11","12"],Yd={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]}},qd=(t,e=1,n)=>r=>{const[o,i]=Yd[n][r];return"oklch("+o+"% "+i*e+" "+t+")"},fo=t=>{const e=qd(t.hue,t.chroma,t.mode);return Object.fromEntries(Bd.map(n=>[t.prefix+n,t.transform(e(n))]))},po=t=>t,Kd=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)},Kn=t=>!!t&&typeof t=="object"&&!Array.isArray(t),ho=(t,...e)=>{if(!e.length)return t;const n=e.shift();if(Kn(t)&&Kn(n))for(const r in n){const o=n[r];if(Kn(o)){t[r]||Object.assign(t,{[r]:{}});const i=t[r];Kn(i)&&ho(i,o)}else Object.assign(t,{[r]:n[r]})}return ho(t,...e)},Xd=t=>{function e(n,r){const o=[t.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return e},Zd=()=>({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=Kd(ho(s,u,l)),c=([p,f],_)=>{const h=[_,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 _t=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)},[vo,_o,Rt]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],Gd=Zd().core(({theme:t})=>({color:{black:vo,white:_o,lowest:t.mode==="light"?_o:vo,highest:t.mode==="light"?vo:_o,...fo({prefix:"a-",hue:t.accent.hue,chroma:t.accent.chroma,mode:t.mode,transform:po}),...fo({prefix:"n-",hue:t.accent.hue,chroma:.05,mode:t.mode,transform:po}),...fo({prefix:"m-",hue:140,chroma:t.accent.chroma,mode:t.mode,transform:po})}})).semantic(({core:t,theme:e,raw:n})=>{var s,u,l,d,c,p,f,_,h,g,v,x,m,b,k,j,E,y,$,P,H;const r=(N,X)=>n.core.color[N].replace(")",` / ${X})`),{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":((_=(f=o.filter)==null?void 0:f.weight)==null?void 0:_.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":((v=o.jobHeading)==null?void 0:v.style)??o.style??"inherit","weight-tag":((m=(x=o.tag)==null?void 0:x.weight)==null?void 0:m.toString())??((b=o.weight)==null?void 0:b.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":((y=o.input)==null?void 0:y.style)??o.style??"inherit","weight-input":((P=($=o.input)==null?void 0:$.weight)==null?void 0:P.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":_t(e).with({corners:"rounded"},()=>"2rem").with({corners:"soft"},()=>"2rem").otherwise(()=>"0"),"radius-section":_t(e).with({corners:"rounded"},()=>"1rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-input":_t(e).with({corners:"rounded"},()=>".5rem").with({corners:"soft"},()=>".25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-card":_t(e).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"0.5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-tag":_t(e).with({corners:"rounded"},()=>"0.5rem").with({corners:"soft"},()=>"0.25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-logo":_t(e).with({corners:"rounded"},()=>".25rem").with({corners:"soft"},()=>".125rem").with({corners:"sharp"},()=>"0").otherwise(),"logo-gap":_t(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":_t(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":_t(e).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px"),"job-card-bg":_t(e).with({highlights:"fill"},()=>t("color.lowest")).otherwise(()=>Rt),"job-card-bg-active":_t(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":_t(e).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px")}}).component(()=>({})),Jd=Xd({prefix:"i-"}),Qd=t=>{const e=Gd.from({theme:t,getToken:Jd}),n=Object.entries(e.declarations).map(([r,o])=>`${r}: ${o};`);return`#${Yi} {
|
|
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
|
+
}`},tf=(()=>({getRenderTargetElement:()=>{const t=document.body.querySelector(`#${Bi}`);return lt(t,`Element with id ${Bi} not found.`),t}}))(),ef=()=>pi(({apiClient:t,logger:e,analytics:n})=>{const r=({params:o})=>{var i;return G(un,{Fallback:wu},[[G("style",{id:"inploi-job-search-styles"},Wd),G("style",{id:"inploi-job-search-theme"},Qd(o.theme))],G(yu,{theme:o.theme}),G(zd,{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 Xi({filters:uo(o.properties),apiClient:t,logger:e}).then(a=>({jobs:a})).catch(()=>{}):void 0;return{html:Xl(G(D,{},G(r,{params:{...o,initialData:i}}))),data:i}},render:async o=>{const i=o.initialData?Tr: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}),tf.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=ef;function ls(t,e){if(!t)throw new Error(e)}var _n,S,us,ds,me,fs,ps,go,hs,gn={},vs=[],nf=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Xn=Array.isArray;function Dt(t,e){for(var n in e)t[n]=e[n];return t}function _s(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?_n.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 wn(t,a,r,o,null)}function wn(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??++us,__i:-1,__u:0};return o==null&&S.vnode!=null&&S.vnode(i),i}function gs(){return{current:null}}function Z(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 ws(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 ws(t)}}function wo(t){(!t.__d&&(t.__d=!0)&&me.push(t)&&!Zn.__r++||fs!==S.debounceRendering)&&((fs=S.debounceRendering)||ps)(Zn)}function Zn(){var t,e,n,r,o,i,a,s,u;for(me.sort(go);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),mo(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,$s(s,r,u),r.__e!=i&&ws(r)),me.length>e&&me.sort(go));Zn.__r=0}function ms(t,e,n,r,o,i,a,s,u,l,d){var c,p,f,_,h,g=r&&r.__k||vs,v=e.length;for(n.__d=u,rf(n,e,g),u=n.__d,c=0;c<v;c++)(f=n.__k[c])!=null&&typeof f!="boolean"&&typeof f!="function"&&(p=f.__i===-1?gn:g[f.__i]||gn,f.__i=c,mo(t,f,p,o,i,a,s,u,l,d),_=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&yo(p.ref,null,f),d.push(f.ref,f.__c||_,f)),h==null&&_!=null&&(h=_),65536&f.__u||p.__k===f.__k?u=ys(f,u,t):typeof f.type=="function"&&f.__d!==void 0?u=f.__d:_&&(u=_.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=u,n.__e=h}function rf(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?wn(null,o,null,null,o):Xn(o)?wn(Z,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?wn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=t,o.__b=t.__b+1,s=of(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)),bo(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)),bo(i,i))}function ys(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=ys(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"||(Xn(t)?t.some(function(n){Lt(n,e)}):e.push(t)),e}function of(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 bs(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||nf.test(e)?n:n+"px"}function Gn(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||bs(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||bs(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?ks:xs,i)):t.removeEventListener(e,i?ks:xs,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 xs(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 ks(t){return this.l[t.type+!0](S.event?S.event(t):t)}function mo(t,e,n,r,o,i,a,s,u,l){var d,c,p,f,_,h,g,v,x,m,b,k,j,E,y,$=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(v=e.props,x=(d=$.contextType)&&r[d.__c],m=d?x?x.props.value:d.__:r,n.__c?g=(c=e.__c=n.__c).__=c.__E:("prototype"in $&&$.prototype.render?e.__c=c=new $(v,m):(e.__c=c=new gt(v,m),c.constructor=$,c.render=sf),x&&x.sub(c),c.props=v,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(v,c.__s))),f=c.props,_=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&&v!==f&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(v,m),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(v,c.__s,m)===!1||e.__v===n.__v)){for(e.__v!==n.__v&&(c.props=v,c.state=c.__s,c.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(P){P&&(P.__=e)}),b=0;b<c._sb.length;b++)c.__h.push(c._sb[b]);c._sb=[],c.__h.length&&a.push(c);break t}c.componentWillUpdate!=null&&c.componentWillUpdate(v,c.__s,m),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(f,_,h)})}if(c.context=m,c.props=v,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,_)),ms(t,Xn(y=d!=null&&d.type===Z&&d.key==null?d.props.children:d)?y:[y],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(P){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(P,e,n)}else i==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=af(n.__e,e,n,r,o,i,a,u,l);(d=S.diffed)&&d(e)}function $s(t,e,n){e.__d=void 0;for(var r=0;r<n.length;r++)yo(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 af(t,e,n,r,o,i,a,s,u){var l,d,c,p,f,_,h,g=n.props,v=e.props,x=e.type;if(x==="svg"&&(o=!0),i!=null){for(l=0;l<i.length;l++)if((f=i[l])&&"setAttribute"in f==!!x&&(x?f.localName===x:f.nodeType===3)){t=f,i[l]=null;break}}if(t==null){if(x===null)return document.createTextNode(v);t=o?document.createElementNS("http://www.w3.org/2000/svg",x):document.createElement(x,v.is&&v),i=null,s=!1}if(x===null)g===v||s&&t.data===v||(t.data=v);else{if(i=i&&_n.call(t.childNodes),g=n.props||gn,!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 v||Gn(t,l,null,f,o));for(l in v)f=v[l],l=="children"?p=f:l=="dangerouslySetInnerHTML"?d=f:l=="value"?_=f:l=="checked"?h=f:l==="key"||s&&typeof f!="function"||g[l]===f||Gn(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=""),ms(t,Xn(p)?p:[p],e,n,r,o&&x!=="foreignObject",i,a,i?i[0]:n.__k&&Me(n,0),s,u),i!=null)for(l=i.length;l--;)i[l]!=null&&_s(i[l]);s||(l="value",_!==void 0&&(_!==t[l]||x==="progress"&&!_||x==="option"&&_!==g[l])&&Gn(t,l,_,g[l],!1),l="checked",h!==void 0&&h!==t[l]&&Gn(t,l,h,g[l],!1))}return t}function yo(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(r){S.__e(r,n)}}function bo(t,e,n){var r,o;if(S.unmount&&S.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||yo(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){S.__e(i,e)}r.base=r.__P=null,t.__c=void 0}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&bo(r[o],e,n||typeof t.type!="function");n||t.__e==null||_s(t.__e),t.__=t.__e=t.__d=void 0}function sf(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=[],mo(e,t=(!r&&n||e).__k=O(Z,null,[t]),o||gn,gn,e.ownerSVGElement!==void 0,!r&&n?[n]:o?null:e.firstChild?_n.call(e.childNodes):null,i,!r&&n?n:o?o.__e:e.firstChild,r,a),$s(i,t,a)}function xo(t,e){Fe(t,e,xo)}function cf(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?_n.call(arguments,2):n),wn(t.type,s,r||t.key,o||t.ref,null)}function mn(t,e){var n={__c:e="__cC"+hs++,__: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,wo(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}_n=vs.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}},us=0,ds=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),wo(this))},gt.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),wo(this))},gt.prototype.render=Z,me=[],ps=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,go=function(t,e){return t.__v.__b-e.__v.__b},Zn.__r=0,hs=0;var js=/[\s\n\\/='"\0<>]/,Es=/^(xlink|xmlns|xml)([A-Z])/,lf=/^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]/,uf=/^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/,df=/["&<]/;function Jn(t){if(t.length===0||df.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 Ss={},ff=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"]),pf=/[A-Z]/g;function hf(t){var e="";for(var n in t){var r=t[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:Ss[n]||(Ss[n]=n.replace(pf,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||ff.has(o)||(i="px;"),e=e+o+":"+r+i}}return e||void 0}var ko,ye,yn,be,Cs=[],Os=Array.isArray,$o=Object.assign;function vf(t,e){var n=S.__s;S.__s=!0,ko=S.__b,ye=S.diffed,yn=S.__r,be=S.unmount;var r=O(Z,null);r.__k=[t];try{return xe(t,e||Ps,!1,void 0,r)}finally{S.__c&&S.__c(t,Cs),S.__s=n,Cs.length=0}}function As(){this.__d=!0}var Ps={};function Ts(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=Ps),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=$o({},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(),yn&&yn(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"?"":Jn(t+"");if(Os(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,ko&&ko(t);var u,l,d,c=t.type,p=t.props,f=e;if(typeof c=="function"){if(c===Z){if(p.tpl){for(var _="",h=0;h<p.tpl.length;h++)if(_+=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&&!Os(g)?_+=g:_+=xe(g,e,n,r,t)}return _}if(p.UNSTABLE_comment)return"<!--"+Jn(p.UNSTABLE_comment||"")+"-->";l=p.children}else{if((u=c.contextType)!=null){var v=e[u.__c];f=v?v.props.value:u.__}if(c.prototype&&typeof c.prototype.render=="function")l=Ts(t,f),d=t.__c;else{t.__c=d={__v:t,props:p,context:f,setState:As,forceUpdate:As,__d:!0,__h:[]};for(var x=0;d.__d&&x++<25;)d.__d=!1,yn&&yn(t),l=c.call(d,p,f);d.__d=!0}if(d.getChildContext!=null&&(e=$o({},e,d.getChildContext())),(c.getDerivedStateFromError||d.componentDidCatch)&&S.errorBoundaries){var m="";l=l!=null&&l.type===Z&&l.key==null?l.props.children:l;try{return m=xe(l,e,n,r,t)}catch(P){return c.getDerivedStateFromError&&(d.__s=c.getDerivedStateFromError(P)),d.componentDidCatch&&d.componentDidCatch(P,{}),d.__d&&(l=Ts(t,e),(d=t.__c).getChildContext!=null&&(e=$o({},e,d.getChildContext())),m=xe(l=l!=null&&l.type===Z&&l.key==null?l.props.children:l,e,n,r,t)),m}finally{ye&&ye(t),t.__=void 0,be&&be(t)}}}var b=xe(l=l!=null&&l.type===Z&&l.key==null?l.props.children:l,e,n,r,t);return ye&&ye(t),t.__=void 0,be&&be(t),b}var k,j="<"+c,E="";for(var y in p){var $=p[y];switch(y){case"children":k=$;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in p)continue;y="for";break;case"className":if("class"in p)continue;y="class";break;case"defaultChecked":y="checked";break;case"defaultSelected":y="selected";break;case"defaultValue":case"value":switch(y="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"&&($=hf($));break;case"acceptCharset":y="accept-charset";break;case"httpEquiv":y="http-equiv";break;default:if(Es.test(y))y=y.replace(Es,"$1:$2").toLowerCase();else{if(js.test(y))continue;y[4]!=="-"&&y!=="draggable"||$==null?n?uf.test(y)&&(y=y==="panose1"?"panose-1":y.replace(/([A-Z])/g,"-$1").toLowerCase()):lf.test(y)&&(y=y.toLowerCase()):$+=""}}$!=null&&$!==!1&&typeof $!="function"&&(j=$===!0||$===""?j+" "+y:j+" "+y+'="'+Jn($+"")+'"')}if(js.test(c))throw new Error(c+" is not a valid HTML tag name in "+j+">");return E||(typeof k=="string"?E=Jn(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&&_f.has(c)?j+"/>":j+">"+E+"</"+c+">"}var _f=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),gf=0;function A(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:--gf,__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 wf={bell:A("path",{d:"M10 17a2.4 2.4 0 0 0 2.5 2.3A2.4 2.4 0 0 0 15 17m-7.5-6.5c0-4 1.9-6 5-6s5 2 5 6c0 3.3 1 4.3 1.4 5.1v.6c0 .2-.3.3-.5.3H6.7a.6.6 0 0 1-.5-.3.6.6 0 0 1 0-.6c.5-.8 1.3-1.9 1.3-5.1Z"}),x:A("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-up-down":A("path",{d:"M8 9l4 -4l4 4 M8 15l4 4l4 -4"})},mf=({theme:t})=>A("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:A("defs",{children:Object.entries(wf).map(([e,n])=>A("symbol",{id:`i-icon-${e}`,children:A("g",{fill:"none","stroke-width":t.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),Rs=({name:t,...e})=>A("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:A("use",{href:`#i-icon-${t}`})});function rt(){return rt=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},rt.apply(this,arguments)}var Nt,V,jo,Ds,Ve=0,Ls=[],Qn=[],Ns=S.__b,Ms=S.__r,Fs=S.diffed,Vs=S.__c,Hs=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:Qn}),n.__[t]}function W(t){return Ve=1,tr(Bs,t)}function tr(t,e,n){var r=ke(Nt++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):Bs(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&&So(n.__H,e)&&(n.__=t,n.i=e,V.__H.__h.push(n))}function $e(t,e){var n=ke(Nt++,4);!S.__s&&So(n.__H,e)&&(n.__=t,n.i=e,V.__h.push(n))}function M(t){return Ve=5,at(function(){return{current:t}},[])}function Is(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 So(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 er(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 Us(t,e){S.useDebugValue&&S.useDebugValue(e?e(t):t)}function yf(t){var e=ke(Nt++,10),n=W();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 zs(){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 bf(){for(var t;t=Ls.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(nr),t.__H.__h.forEach(Eo),t.__H.__h=[]}catch(e){t.__H.__h=[],S.__e(e,t.__v)}}S.__b=function(t){V=null,Ns&&Ns(t)},S.__r=function(t){Ms&&Ms(t),Nt=0;var e=(V=t.__c).__H;e&&(jo===V?(e.__h=[],V.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Qn,n.__N=n.i=void 0})):(e.__h.forEach(nr),e.__h.forEach(Eo),e.__h=[],Nt=0)),jo=V},S.diffed=function(t){Fs&&Fs(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(Ls.push(e)!==1&&Ds===S.requestAnimationFrame||((Ds=S.requestAnimationFrame)||xf)(bf)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Qn&&(n.__=n.__V),n.i=void 0,n.__V=Qn})),jo=V=null},S.__c=function(t,e){e.some(function(n){try{n.__h.forEach(nr),n.__h=n.__h.filter(function(r){return!r.__||Eo(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],S.__e(r,n.__v)}}),Vs&&Vs(t,e)},S.unmount=function(t){Hs&&Hs(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{nr(r)}catch(o){e=o}}),n.__H=void 0,e&&S.__e(e,n.__v))};var Ws=typeof requestAnimationFrame=="function";function xf(t){var e,n=function(){clearTimeout(r),Ws&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);Ws&&(e=requestAnimationFrame(n))}function nr(t){var e=V,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),V=e}function Eo(t){var e=V;t.__c=t.__(),V=e}function So(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function Bs(t,e){return typeof e=="function"?e(t):e}function Ys(t,e){for(var n in e)t[n]=e[n];return t}function Co(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 rr(t){this.props=t}function qs(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:Co(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}(rr.prototype=new gt).isPureReactComponent=!0,rr.prototype.shouldComponentUpdate=function(t,e){return Co(this.props,t)||Co(this.state,e)};var Ks=S.__b;S.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Ks&&Ks(t)};var kf=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function et(t){function e(n){var r=Ys({},n);return delete r.ref,t(r,n.ref||null)}return e.$$typeof=kf,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var Xs=function(t,e){return t==null?null:Lt(Lt(t).map(e))},Mt={map:Xs,forEach:Xs,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},$f=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)}$f(t,e,n,r)};var Zs=S.unmount;function Gs(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=Ys({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return Gs(r,e,n)})),t}function Js(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return Js(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 bn(){this.__u=0,this.t=null,this.__b=null}function Qs(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function tc(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),Zs&&Zs(t)},(bn.prototype=new gt).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Qs(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]=Js(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)},bn.prototype.componentWillUnmount=function(){this.t=[]},bn.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]=Gs(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__a&&O(Z,null,t.fallback);return o&&(o.__u&=-33),[O(Z,null,e.__a?null:t.children),o]};var ec=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 jf(t){return this.getChildContext=function(){return t.context},t.children}function Ef(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(jf,{context:e.context},t.__v),e.l)}function nc(t,e){var n=O(Ef,{__v:t,i:e});return n.containerInfo=e,n}(He.prototype=new gt).__a=function(t){var e=this,n=Qs(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),ec(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){ec(t,n,e)})};var rc=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Sf=/^(?: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]/,Cf=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Of=/[A-Z0-9]/g,Af=typeof document<"u",Pf=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function oc(t,e,n){return e.__k==null&&(e.textContent=""),Fe(t,e),typeof n=="function"&&n(),t?t.__c:null}function ic(t,e,n){return xo(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 ac=S.event;function Tf(){}function Rf(){return this.cancelBubble}function Df(){return this.defaultPrevented}S.event=function(t){return ac&&(t=ac(t)),t.persist=Tf,t.isPropagationStopped=Rf,t.isDefaultPrevented=Df,t.nativeEvent=t};var Oo,Lf={enumerable:!1,configurable:!0,get:function(){return this.class}},sc=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||Af&&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"||Pf(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":Cf.test(i)?i=s:r.indexOf("-")===-1&&Sf.test(i)?i=i.replace(Of,"-$&").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",Lf)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(t),t.$$typeof=rc,sc&&sc(t)};var cc=S.__r;S.__r=function(t){cc&&cc(t),Oo=t.__c};var lc=S.diffed;S.diffed=function(t){lc&&lc(t);var e=t.props,n=t.__e;n!=null&&t.type==="textarea"&&"value"in e&&e.value!==n.value&&(n.value=e.value==null?"":e.value),Oo=null};var uc={ReactCurrentDispatcher:{current:{readContext:function(t){return Oo.__n[t.__c].props.value}}}},Nf="17.0.2";function dc(t){return O.bind(null,t)}function Ft(t){return!!t&&t.$$typeof===rc}function fc(t){return Ft(t)&&t.type===Z}function Ie(t){return Ft(t)?cf.apply(null,arguments):t}function pc(t){return!!t.__k&&(Fe(null,t),!0)}function hc(t){return t&&(t.base||t.nodeType===1&&t)||null}var vc=function(t,e){return t(e)},xn=function(t,e){return t(e)},_c=Z;function Ao(t){t()}function gc(t){return t}function wc(){return[!1,Ao]}var mc=$e,yc=Ft;function bc(t,e){var n=e(),r=W({h:{__:n,v:e}}),o=r[0].h,i=r[1];return $e(function(){o.__=n,o.v=e,Po(o)&&i({h:o})},[t,n,e]),B(function(){return Po(o)&&i({h:o}),t(function(){Po(o)&&i({h:o})})},[t]),n}function Po(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 xc={useState:W,useId:zs,useReducer:tr,useEffect:B,useLayoutEffect:$e,useInsertionEffect:mc,useTransition:wc,useDeferredValue:gc,useSyncExternalStore:bc,startTransition:Ao,useRef:M,useImperativeHandle:Is,useMemo:at,useCallback:tt,useContext:er,useDebugValue:Us,version:"17.0.2",Children:Mt,render:oc,hydrate:ic,unmountComponentAtNode:pc,createPortal:nc,createElement:O,createContext:mn,createFactory:dc,cloneElement:Ie,createRef:gs,Fragment:Z,isValidElement:Ft,isElement:yc,isFragment:fc,findDOMNode:hc,Component:gt,PureComponent:rr,memo:qs,forwardRef:et,flushSync:xn,unstable_batchedUpdates:vc,StrictMode:_c,Suspense:bn,SuspenseList:He,lazy:tc,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:uc};const Mf=Object.freeze(Object.defineProperty({__proto__:null,Children:Mt,Component:gt,Fragment:Z,PureComponent:rr,StrictMode:_c,Suspense:bn,SuspenseList:He,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:uc,cloneElement:Ie,createContext:mn,createElement:O,createFactory:dc,createPortal:nc,createRef:gs,default:xc,findDOMNode:hc,flushSync:xn,forwardRef:et,hydrate:ic,isElement:yc,isFragment:fc,isValidElement:Ft,lazy:tc,memo:qs,render:oc,startTransition:Ao,unmountComponentAtNode:pc,unstable_batchedUpdates:vc,useCallback:tt,useContext:er,useDebugValue:Us,useDeferredValue:gc,useEffect:B,useErrorBoundary:yf,useId:zs,useImperativeHandle:Is,useInsertionEffect:mc,useLayoutEffect:$e,useMemo:at,useReducer:tr,useRef:M,useState:W,useSyncExternalStore:bc,useTransition:wc,version:Nf},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 Ff(t,e){typeof t=="function"?t(e):t!=null&&(t.current=e)}function kc(...t){return e=>t.forEach(n=>Ff(n,e))}function Ee(...t){return tt(kc(...t),t)}function $c(t,e=[]){let n=[];function r(i,a){const s=mn(a),u=n.length;n=[...n,a];function l(c){const{scope:p,children:f,..._}=c,h=(p==null?void 0:p[t][u])||s,g=at(()=>_,Object.values(_));return O(h.Provider,{value:g},f)}function d(c,p){const f=(p==null?void 0:p[t][u])||s,_=er(f);if(_)return _;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=>mn(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,Vf(o,...e)]}function Vf(...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 To=et((t,e)=>{const{children:n,...r}=t,o=Mt.toArray(n),i=o.find(If);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(Ro,rt({},r,{ref:e}),Ft(a)?Ie(a,void 0,s):null)}return O(Ro,rt({},r,{ref:e}),n)});To.displayName="Slot";const Ro=et((t,e)=>{const{children:n,...r}=t;return Ft(n)?Ie(n,{...Uf(r,n.props),ref:e?kc(e,n.ref):n.ref}):Mt.count(n)>1?Mt.only(null):null});Ro.displayName="SlotClone";const Hf=({children:t})=>O(Z,null,t);function If(t){return Ft(t)&&t.type===Hf}function Uf(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 Ue=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((t,e)=>{const n=et((r,o)=>{const{asChild:i,...a}=r,s=i?To:e;return B(()=>{window[Symbol.for("radix-ui")]=!0},[]),O(s,rt({},a,{ref:o}))});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function zf(t,e){t&&xn(()=>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 Wf(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 Do="dismissableLayer.update",Bf="dismissableLayer.pointerDownOutside",Yf="dismissableLayer.focusOutside";let jc;const qf=mn({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Kf=et((t,e)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:u,...l}=t,d=er(qf),[c,p]=W(null),f=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,_]=W({}),h=Ee(e,y=>p(y)),g=Array.from(d.layers),[v]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=g.indexOf(v),m=c?g.indexOf(c):-1,b=d.layersWithOutsidePointerEventsDisabled.size>0,k=m>=x,j=Xf(y=>{const $=y.target,P=[...d.branches].some(H=>H.contains($));!k||P||(i==null||i(y),s==null||s(y),y.defaultPrevented||u==null||u())},f),E=Zf(y=>{const $=y.target;[...d.branches].some(H=>H.contains($))||(a==null||a(y),s==null||s(y),y.defaultPrevented||u==null||u())},f);return Wf(y=>{m===d.layers.size-1&&(o==null||o(y),!y.defaultPrevented&&u&&(y.preventDefault(),u()))},f),B(()=>{if(c)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(jc=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(c)),d.layers.add(c),Ec(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=jc)}},[c,f,r,d]),B(()=>()=>{c&&(d.layers.delete(c),d.layersWithOutsidePointerEventsDisabled.delete(c),Ec())},[c,d]),B(()=>{const y=()=>_({});return document.addEventListener(Do,y),()=>document.removeEventListener(Do,y)},[]),O(Ue.div,rt({},l,{ref:h,style:{pointerEvents:b?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 Xf(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(){Sc(Bf,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 Zf(t,e=globalThis==null?void 0:globalThis.document){const n=ee(t),r=M(!1);return B(()=>{const o=i=>{i.target&&!r.current&&Sc(Yf,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 Ec(){const t=new CustomEvent(Do);document.dispatchEvent(t)}function Sc(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?zf(o,i):o.dispatchEvent(i)}let Lo=0;function Gf(){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:Cc()),document.body.insertAdjacentElement("beforeend",(e=n[1])!==null&&e!==void 0?e:Cc()),Lo++,()=>{Lo===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Lo--}},[])}function Cc(){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 No="focusScope.autoFocusOnMount",Mo="focusScope.autoFocusOnUnmount",Oc={bubbles:!1,cancelable:!0},Jf=et((t,e)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=t,[s,u]=W(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 b=m.target;s.contains(b)?c.current=b:ne(c.current,{select:!0})},g=function(m){if(f.paused||!s)return;const b=m.relatedTarget;b!==null&&(s.contains(b)||ne(c.current,{select:!0}))},v=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 x=new MutationObserver(v);return s&&x.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",g),x.disconnect()}}},[r,s,f.paused]),B(()=>{if(s){Tc.add(f);const h=document.activeElement;if(!s.contains(h)){const v=new CustomEvent(No,Oc);s.addEventListener(No,l),s.dispatchEvent(v),v.defaultPrevented||(Qf(op(Ac(s)),{select:!0}),document.activeElement===h&&ne(s))}return()=>{s.removeEventListener(No,l),setTimeout(()=>{const v=new CustomEvent(Mo,Oc);s.addEventListener(Mo,d),s.dispatchEvent(v),v.defaultPrevented||ne(h??document.body,{select:!0}),s.removeEventListener(Mo,d),Tc.remove(f)},0)}}},[s,l,d,f]);const _=tt(h=>{if(!n&&!r||f.paused)return;const g=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,v=document.activeElement;if(g&&v){const x=h.currentTarget,[m,b]=tp(x);m&&b?!h.shiftKey&&v===b?(h.preventDefault(),n&&ne(m,{select:!0})):h.shiftKey&&v===m&&(h.preventDefault(),n&&ne(b,{select:!0})):v===x&&h.preventDefault()}},[n,r,f.paused]);return O(Ue.div,rt({tabIndex:-1},a,{ref:p,onKeyDown:_}))});function Qf(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(ne(r,{select:e}),document.activeElement!==n)return}function tp(t){const e=Ac(t),n=Pc(e,t),r=Pc(e.reverse(),t);return[n,r]}function Ac(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 Pc(t,e){for(const n of t)if(!ep(n,{upTo:e}))return n}function ep(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 np(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&&np(t)&&e&&t.select()}}const Tc=rp();function rp(){let t=[];return{add(e){const n=t[0];e!==n&&(n==null||n.pause()),t=Rc(t,e),t.unshift(e)},remove(e){var n;t=Rc(t,e),(n=t[0])===null||n===void 0||n.resume()}}}function Rc(t,e){const n=[...t],r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}function op(t){return t.filter(e=>e.tagName!=="A")}const ze=globalThis!=null&&globalThis.document?$e:()=>{},ip=Mf["useId".toString()]||(()=>{});let ap=0;function sp(t){const[e,n]=W(ip());return ze(()=>{t||n(r=>r??String(ap++))},[t]),t||(e?`radix-${e}`:"")}const cp=["top","right","bottom","left"],re=Math.min,dt=Math.max,or=Math.round,ir=Math.floor,oe=t=>({x:t,y:t}),lp={left:"right",right:"left",bottom:"top",top:"bottom"},up={start:"end",end:"start"};function Fo(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 Vo(t){return t==="x"?"y":"x"}function Ho(t){return t==="y"?"height":"width"}function Be(t){return["top","bottom"].includes(Ht(t))?"y":"x"}function Io(t){return Vo(Be(t))}function dp(t,e,n){n===void 0&&(n=!1);const r=We(t),o=Io(t),i=Ho(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=ar(a)),[a,ar(a)]}function fp(t){const e=ar(t);return[Uo(t),e,Uo(e)]}function Uo(t){return t.replace(/start|end/g,e=>up[e])}function pp(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 hp(t,e,n,r){const o=We(t);let i=pp(Ht(t),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),e&&(i=i.concat(i.map(Uo)))),i}function ar(t){return t.replace(/left|right|bottom|top/g,e=>lp[e])}function vp(t){return{top:0,right:0,bottom:0,left:0,...t}}function Dc(t){return typeof t!="number"?vp(t):{top:t,right:t,bottom:t,left:t}}function sr(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 Lc(t,e,n){let{reference:r,floating:o}=t;const i=Be(e),a=Io(e),s=Ho(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 _p=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}=Lc(l,r,u),p=r,f={},_=0;for(let h=0;h<s.length;h++){const{name:g,fn:v}=s[h],{x,y:m,data:b,reset:k}=await v({x:d,y:c,initialPlacement:r,placement:p,strategy:o,middlewareData:f,rects:l,platform:a,elements:{reference:t,floating:e}});d=x??d,c=m??c,f={...f,[g]:{...f[g],...b}},k&&_<=50&&(_++,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}=Lc(l,p,u)),h=-1)}return{x:d,y:c,placement:p,strategy:o,middlewareData:f}};async function kn(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),_=Dc(f),g=s[p?c==="floating"?"reference":"floating":c],v=sr(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})),x=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)),b=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=sr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:x,offsetParent:m,strategy:u}):x);return{top:(v.top-k.top+_.top)/b.y,bottom:(k.bottom-v.bottom+_.bottom)/b.y,left:(v.left-k.left+_.left)/b.x,right:(k.right-v.right+_.right)/b.x}}const gp=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=Dc(d),p={x:n,y:r},f=Io(o),_=Ho(f),h=await a.getDimensions(l),g=f==="y",v=g?"top":"left",x=g?"bottom":"right",m=g?"clientHeight":"clientWidth",b=i.reference[_]+i.reference[f]-p[f]-i.floating[_],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[_]);const y=b/2-k/2,$=E/2-h[_]/2-1,P=re(c[v],$),H=re(c[x],$),N=P,X=E-h[_]-H,T=E/2-h[_]/2+y,K=Fo(N,T,X),J=!u.arrow&&We(o)!=null&&T!==K&&i.reference[_]/2-(T<N?P:H)-h[_]/2<0,L=J?T<N?T-N:T-X:0;return{[f]:p[f]+L,data:{[f]:K,centerOffset:T-K-L,...J&&{alignmentOffset:L}},reset:J}}}),wp=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:_="none",flipAlignment:h=!0,...g}=Vt(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const v=Ht(o),x=Ht(s)===s,m=await(u.isRTL==null?void 0:u.isRTL(l.floating)),b=p||(x||!h?[ar(s)]:fp(s));!p&&_!=="none"&&b.push(...hp(s,h,_,m));const k=[s,...b],j=await kn(e,g),E=[];let y=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&E.push(j[v]),c){const N=dp(o,a,m);E.push(j[N[0]],j[N[1]])}if(y=[...y,{placement:o,overflows:E}],!E.every(N=>N<=0)){var $,P;const N=((($=i.flip)==null?void 0:$.index)||0)+1,X=k[N];if(X)return{data:{index:N,overflows:y},reset:{placement:X}};let T=(P=y.filter(K=>K.overflows[0]<=0).sort((K,J)=>K.overflows[1]-J.overflows[1])[0])==null?void 0:P.placement;if(!T)switch(f){case"bestFit":{var H;const K=(H=y.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 Nc(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Mc(t){return cp.some(e=>t[e]>=0)}const mp=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 kn(e,{...o,elementContext:"reference"}),a=Nc(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Mc(a)}}}case"escaped":{const i=await kn(e,{...o,altBoundary:!0}),a=Nc(i,n.floating);return{data:{escapedOffsets:a,escaped:Mc(a)}}}default:return{}}}}};async function yp(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=Be(n)==="y",l=["left","top"].includes(a)?-1:1,d=i&&u?-1:1,c=Vt(e,t);let{mainAxis:p,crossAxis:f,alignmentAxis:_}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof _=="number"&&(f=s==="end"?_*-1:_),u?{x:f*d,y:p*l}:{x:p*l,y:f*d}}const bp=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 yp(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}}}}},xp=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:v,y:x}=g;return{x:v,y:x}}},...u}=Vt(t,e),l={x:n,y:r},d=await kn(e,u),c=Be(Ht(o)),p=Vo(c);let f=l[p],_=l[c];if(i){const g=p==="y"?"top":"left",v=p==="y"?"bottom":"right",x=f+d[g],m=f-d[v];f=Fo(x,f,m)}if(a){const g=c==="y"?"top":"left",v=c==="y"?"bottom":"right",x=_+d[g],m=_-d[v];_=Fo(x,_,m)}const h=s.fn({...e,[p]:f,[c]:_});return{...h,data:{x:h.x-n,y:h.y-r}}}}},kp=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=Be(o),p=Vo(c);let f=d[p],_=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",b=i.reference[p]-i.floating[m]+g.mainAxis,k=i.reference[p]+i.reference[m]-g.mainAxis;f<b?f=b:f>k&&(f=k)}if(l){var v,x;const m=p==="y"?"width":"height",b=["top","left"].includes(Ht(o)),k=i.reference[c]-i.floating[m]+(b&&((v=a.offset)==null?void 0:v[c])||0)+(b?0:g.crossAxis),j=i.reference[c]+i.reference[m]+(b?0:((x=a.offset)==null?void 0:x[c])||0)-(b?g.crossAxis:0);_<k?_=k:_>j&&(_=j)}return{[p]:f,[c]:_}}}},$p=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 kn(e,s),l=Ht(n),d=We(n),c=Be(n)==="y",{width:p,height:f}=r.floating;let _,h;l==="top"||l==="bottom"?(_=l,h=d===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=l,_=d==="end"?"top":"bottom");const g=f-u[_],v=p-u[h],x=!e.middlewareData.shift;let m=g,b=v;if(c){const j=p-u.left-u.right;b=d||x?re(v,j):j}else{const j=f-u.top-u.bottom;m=d||x?re(g,j):j}if(x&&!d){const j=dt(u.left,0),E=dt(u.right,0),y=dt(u.top,0),$=dt(u.bottom,0);c?b=p-2*(j!==0||E!==0?j+E:dt(u.left,u.right)):m=f-2*(y!==0||$!==0?y+$:dt(u.top,u.bottom))}await a({...e,availableWidth:b,availableHeight:m});const k=await o.getDimensions(i.floating);return p!==k.width||f!==k.height?{reset:{rects:!0}}:{}}}};function ie(t){return Fc(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=(Fc(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Fc(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 Vc(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ft(t).ShadowRoot}function $n(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 jp(t){return["table","td","th"].includes(ie(t))}function zo(t){const e=Wo(),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 Ep(t){let e=Ye(t);for(;jt(e)&&!cr(e);){if(zo(e))return e;e=Ye(e)}return null}function Wo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function cr(t){return["html","body","#document"].includes(ie(t))}function wt(t){return ft(t).getComputedStyle(t)}function lr(t){return Ut(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ye(t){if(ie(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Vc(t)&&t.host||It(t);return Vc(e)?e.host:e}function Hc(t){const e=Ye(t);return cr(e)?t.ownerDocument?t.ownerDocument.body:t.body:jt(e)&&$n(e)?e:Hc(e)}function jn(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const o=Hc(t),i=o===((r=t.ownerDocument)==null?void 0:r.body),a=ft(o);return i?e.concat(a,a.visualViewport||[],$n(o)?o:[],a.frameElement&&n?jn(a.frameElement):[]):e.concat(o,jn(o,[],n))}function Ic(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=or(n)!==i||or(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Bo(t){return Ut(t)?t:t.contextElement}function qe(t){const e=Bo(t);if(!jt(e))return oe(1);const n=e.getBoundingClientRect(),{width:r,height:o,$:i}=Ic(e);let a=(i?or(n.width):n.width)/r,s=(i?or(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const Sp=oe(0);function Uc(t){const e=ft(t);return!Wo()||!e.visualViewport?Sp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Cp(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=Bo(t);let a=oe(1);e&&(r?Ut(r)&&(a=qe(r)):a=qe(t));const s=Cp(i,n,r)?Uc(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 _=p,h=_.frameElement;for(;h&&r&&f!==_;){const g=qe(h),v=h.getBoundingClientRect(),x=wt(h),m=v.left+(h.clientLeft+parseFloat(x.paddingLeft))*g.x,b=v.top+(h.clientTop+parseFloat(x.paddingTop))*g.y;u*=g.x,l*=g.y,d*=g.x,c*=g.y,u+=m,l+=b,_=ft(h),h=_.frameElement}}return sr({width:d,height:c,x:u,y:l})}const Op=[":popover-open",":modal"];function zc(t){return Op.some(e=>{try{return t.matches(e)}catch{return!1}})}function Ap(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t;const i=o==="fixed",a=It(r),s=e?zc(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"||$n(a))&&(u=lr(r)),jt(r))){const p=Se(r);l=qe(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 Pp(t){return Array.from(t.getClientRects())}function Wc(t){return Se(It(t)).left+lr(t).scrollLeft}function Tp(t){const e=It(t),n=lr(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+Wc(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 Rp(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=Wo();(!l||l&&e==="fixed")&&(s=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:s,y:u}}function Dp(t,e){const n=Se(t,!0,e==="fixed"),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=jt(t)?qe(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 Bc(t,e,n){let r;if(e==="viewport")r=Rp(t,n);else if(e==="document")r=Tp(It(t));else if(Ut(e))r=Dp(e,n);else{const o=Uc(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return sr(r)}function Yc(t,e){const n=Ye(t);return n===e||!Ut(n)||cr(n)?!1:wt(n).position==="fixed"||Yc(n,e)}function Lp(t,e){const n=e.get(t);if(n)return n;let r=jn(t,[],!1).filter(s=>Ut(s)&&ie(s)!=="body"),o=null;const i=wt(t).position==="fixed";let a=i?Ye(t):t;for(;Ut(a)&&!cr(a);){const s=wt(a),u=zo(a);!u&&s.position==="fixed"&&(o=null),(i?!u&&!o:!u&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||$n(a)&&!u&&Yc(t,a))?r=r.filter(d=>d!==a):o=s,a=Ye(a)}return e.set(t,r),r}function Np(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const a=[...n==="clippingAncestors"?Lp(e,this._c):[].concat(n),r],s=a[0],u=a.reduce((l,d)=>{const c=Bc(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},Bc(e,s,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Mp(t){const{width:e,height:n}=Ic(t);return{width:e,height:n}}function Fp(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"||$n(o))&&(s=lr(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=Wc(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 qc(t,e){return!jt(t)||wt(t).position==="fixed"?null:e?e(t):t.offsetParent}function Kc(t,e){const n=ft(t);if(!jt(t)||zc(t))return n;let r=qc(t,e);for(;r&&jp(r)&&wt(r).position==="static";)r=qc(r,e);return r&&(ie(r)==="html"||ie(r)==="body"&&wt(r).position==="static"&&!zo(r))?n:r||Ep(t)||n}const Vp=async function(t){const e=this.getOffsetParent||Kc,n=this.getDimensions,r=await n(t.floating);return{reference:Fp(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Hp(t){return wt(t).direction==="rtl"}const Ip={convertOffsetParentRelativeRectToViewportRelativeRect:Ap,getDocumentElement:It,getClippingRect:Np,getOffsetParent:Kc,getElementRects:Vp,getClientRects:Pp,getDimensions:Mp,getScale:qe,isElement:Ut,isRTL:Hp};function Up(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=ir(d),_=ir(o.clientWidth-(l+c)),h=ir(o.clientHeight-(d+p)),g=ir(l),x={rootMargin:-f+"px "+-_+"px "+-h+"px "+-g+"px",threshold:dt(0,re(1,u))||1};let m=!0;function b(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(b,{...x,root:o.ownerDocument})}catch{n=new IntersectionObserver(b,x)}n.observe(t)}return a(!0),i}function zp(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=Bo(t),d=o||i?[...l?jn(l):[],...jn(e)]:[];d.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const c=l&&s?Up(l,n):null;let p=-1,f=null;a&&(f=new ResizeObserver(v=>{let[x]=v;x&&x.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 _,h=u?Se(t):null;u&&g();function g(){const v=Se(t);h&&(v.x!==h.x||v.y!==h.y||v.width!==h.width||v.height!==h.height)&&n(),h=v,_=requestAnimationFrame(g)}return n(),()=>{var v;d.forEach(x=>{o&&x.removeEventListener("scroll",n),i&&x.removeEventListener("resize",n)}),c==null||c(),(v=f)==null||v.disconnect(),f=null,u&&cancelAnimationFrame(_)}}const Wp=bp,Bp=xp,Yp=wp,qp=$p,Kp=mp,Xc=gp,Xp=kp,Zp=(t,e,n)=>{const r=new Map,o={platform:Ip,...n},i={...o.platform,_c:r};return _p(t,e,{...o,platform:i})},Gp=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?Xc({element:r.current,padding:o}).fn(n):{}:r?Xc({element:r,padding:o}).fn(n):{}}}};var ur=typeof document<"u"?$e:B;function dr(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(!dr(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)&&!dr(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function Zc(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Gc(t,e){const n=Zc(t);return Math.round(e*n)/n}function Jc(t){const e=M(t);return ur(()=>{e.current=t}),e}function Jp(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]=W({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[p,f]=W(r);dr(p,r)||f(r);const[_,h]=W(null),[g,v]=W(null),x=tt(L=>{L!==j.current&&(j.current=L,h(L))},[]),m=tt(L=>{L!==E.current&&(E.current=L,v(L))},[]),b=i||_,k=a||g,j=M(null),E=M(null),y=M(d),$=u!=null,P=Jc(u),H=Jc(o),N=tt(()=>{if(!j.current||!E.current)return;const L={placement:e,strategy:n,middleware:p};H.current&&(L.platform=H.current),Zp(j.current,E.current,L).then(st=>{const mt={...st,isPositioned:!0};X.current&&!dr(y.current,mt)&&(y.current=mt,xn(()=>{c(mt)}))})},[p,e,n,H]);ur(()=>{l===!1&&y.current.isPositioned&&(y.current.isPositioned=!1,c(L=>({...L,isPositioned:!1})))},[l]);const X=M(!1);ur(()=>(X.current=!0,()=>{X.current=!1}),[]),ur(()=>{if(b&&(j.current=b),k&&(E.current=k),b&&k){if(P.current)return P.current(b,k,N);N()}},[b,k,N,P,$]);const T=at(()=>({reference:j,floating:E,setReference:x,setFloating:m}),[x,m]),K=at(()=>({reference:b,floating:k}),[b,k]),J=at(()=>{const L={position:n,left:0,top:0};if(!K.floating)return L;const st=Gc(K.floating,d.x),mt=Gc(K.floating,d.y);return s?{...L,transform:"translate("+st+"px, "+mt+"px)",...Zc(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 Qp(t){const[e,n]=W(void 0);return ze(()=>{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 Qc="Popper",[tl,el]=$c(Qc),[th,nl]=tl(Qc),eh=t=>{const{__scopePopper:e,children:n}=t,[r,o]=W(null);return O(th,{scope:e,anchor:r,onAnchorChange:o},n)},nh="PopperAnchor",rh=et((t,e)=>{const{__scopePopper:n,virtualRef:r,...o}=t,i=nl(nh,n),a=M(null),s=Ee(e,a);return B(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:O(Ue.div,rt({},o,{ref:s}))}),rl="PopperContent",[oh,Xv]=tl(rl),ih=et((t,e)=>{var n,r,o,i,a,s,u,l;const{__scopePopper:d,side:c="bottom",sideOffset:p=0,align:f="center",alignOffset:_=0,arrowPadding:h=0,avoidCollisions:g=!0,collisionBoundary:v=[],collisionPadding:x=0,sticky:m="partial",hideWhenDetached:b=!1,updatePositionStrategy:k="optimized",onPlaced:j,...E}=t,y=nl(rl,d),[$,P]=W(null),H=Ee(e,z=>P(z)),[N,X]=W(null),T=Qp(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 x=="number"?x:{top:0,right:0,bottom:0,left:0,...x},mt=Array.isArray(v)?v:[v],ci=mt.length>0,xt={padding:st,boundary:mt.filter(ah),altBoundary:ci},{refs:se,floatingStyles:Ce,placement:jr,isPositioned:zt,middlewareData:Wt}=Jp({strategy:"fixed",placement:L,whileElementsMounted:(...z)=>zp(...z,{animationFrame:k==="always"}),elements:{reference:y.anchor},middleware:[Wp({mainAxis:p+J,alignmentAxis:_}),g&&Bp({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?Xp():void 0,...xt}),g&&Yp({...xt}),qp({...xt,apply:({elements:z,rects:pt,availableWidth:ce,availableHeight:Q})=>{const{width:it,height:kt}=pt.reference,Ae=z.floating.style;Ae.setProperty("--radix-popper-available-width",`${ce}px`),Ae.setProperty("--radix-popper-available-height",`${Q}px`),Ae.setProperty("--radix-popper-anchor-width",`${it}px`),Ae.setProperty("--radix-popper-anchor-height",`${kt}px`)}}),N&&Gp({element:N,padding:h}),sh({arrowWidth:K,arrowHeight:J}),b&&Kp({strategy:"referenceHidden",...xt})]}),[On,li]=ol(jr),en=ee(j);ze(()=>{zt&&(en==null||en())},[zt,en]);const Oe=(o=Wt.arrow)===null||o===void 0?void 0:o.x,Er=(i=Wt.arrow)===null||i===void 0?void 0:i.y,I=((a=Wt.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[U,nt]=W();return ze(()=>{$&&nt(window.getComputedStyle($).zIndex)},[$]),O("div",{ref:se.setFloating,"data-radix-popper-content-wrapper":"",style:{...Ce,transform:zt?Ce.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:U,"--radix-popper-transform-origin":[(s=Wt.transformOrigin)===null||s===void 0?void 0:s.x,(u=Wt.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:t.dir},O(oh,{scope:d,placedSide:On,onArrowChange:X,arrowX:Oe,arrowY:Er,shouldHideArrow:I},O(Ue.div,rt({"data-side":On,"data-align":li},E,{ref:H,style:{...E.style,animation:zt?void 0:"none",opacity:(l=Wt.hide)!==null&&l!==void 0&&l.referenceHidden?0:void 0}}))))});function ah(t){return t!==null}const sh=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,[_,h]=ol(s),g={start:"0%",center:"50%",end:"100%"}[h],v=((r=(o=l.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,x=((i=(a=l.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+f/2;let m="",b="";return _==="bottom"?(m=c?g:`${v}px`,b=`${-f}px`):_==="top"?(m=c?g:`${v}px`,b=`${u.floating.height+f}px`):_==="right"?(m=`${-f}px`,b=c?g:`${x}px`):_==="left"&&(m=`${u.floating.width+f}px`,b=c?g:`${x}px`),{data:{x:m,y:b}}}});function ol(t){const[e,n="center"]=t.split("-");return[e,n]}const ch=eh,lh=rh,uh=ih,dh=et((t,e)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=t;return r?xc.createPortal(O(Ue.div,rt({},o,{ref:e})),r):null});function fh(t,e){return tr((n,r)=>{const o=e[n][r];return o??n},t)}const Yo=t=>{const{present:e,children:n}=t,r=ph(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};Yo.displayName="Presence";function ph(t){const[e,n]=W(),r=M({}),o=M(t),i=M("none"),a=t?"mounted":"unmounted",[s,u]=fh(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return B(()=>{const l=fr(r.current);i.current=s==="mounted"?l:"none"},[s]),ze(()=>{const l=r.current,d=o.current;if(d!==t){const p=i.current,f=fr(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]),ze(()=>{if(e){const l=c=>{const f=fr(r.current).includes(c.animationName);c.target===e&&f&&xn(()=>u("ANIMATION_END"))},d=c=>{c.target===e&&(i.current=fr(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 fr(t){return(t==null?void 0:t.animationName)||"none"}function hh({prop:t,defaultProp:e,onChange:n=()=>{}}){const[r,o]=vh({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 vh({defaultProp:t,onChange:e}){const n=W(t),[r]=n,o=M(r),i=ee(e);return B(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var _h=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},Ke=new WeakMap,pr=new WeakMap,hr={},qo=0,il=function(t){return t&&(t.host||il(t.parentNode))},gh=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=il(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})},wh=function(t,e,n,r){var o=gh(e,Array.isArray(t)?t:[t]);hr[n]||(hr[n]=new WeakMap);var i=hr[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),_=f!==null&&f!=="false",h=(Ke.get(p)||0)+1,g=(i.get(p)||0)+1;Ke.set(p,h),i.set(p,g),a.push(p),h===1&&_&&pr.set(p,!0),g===1&&p.setAttribute(n,"true"),_||p.setAttribute(r,"true")}})};return d(e),s.clear(),qo++,function(){a.forEach(function(c){var p=Ke.get(c)-1,f=i.get(c)-1;Ke.set(c,p),i.set(c,f),p||(pr.has(c)||c.removeAttribute(r),pr.delete(c)),f||c.removeAttribute(n)}),qo--,qo||(Ke=new WeakMap,Ke=new WeakMap,pr=new WeakMap,hr={})}},mh=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),o=e||_h(t);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),wh(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 al(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 yh(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 vr="right-scroll-bar-position",_r="width-before-scroll-bar",bh="with-scroll-bars-hidden",xh="--removed-body-scroll-bar-size";function kh(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function $h(t,e){var n=W(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 jh(t,e){return $h(e||null,function(n){return t.forEach(function(r){return kh(r,n)})})}function Eh(t){return t}function Sh(t,e){e===void 0&&(e=Eh);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 Ch(t){t===void 0&&(t={});var e=Sh(null);return e.options=Et({async:!0,ssr:!1},t),e}var sl=function(t){var e=t.sideCar,n=al(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))};sl.isSideCarExport=!0;function Oh(t,e){return t.useMedium(e),sl}var cl=Ch(),Ko=function(){},gr=et(function(t,e){var n=M(null),r=W({onScrollCapture:Ko,onWheelCapture:Ko,onTouchMoveCapture:Ko}),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,_=t.inert,h=t.allowPinchZoom,g=t.as,v=g===void 0?"div":g,x=al(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),m=p,b=jh([n,e]),k=Et(Et({},x),o);return O(Z,null,d&&O(m,{sideCar:cl,removeScrollBar:l,shards:c,noIsolation:f,inert:_,setCallbacks:i,allowPinchZoom:!!h,lockRef:n}),a?Ie(Mt.only(s),Et(Et({},k),{ref:b})):O(v,Et({},k,{className:u,ref:b}),s))});gr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},gr.classNames={fullWidth:_r,zeroRight:vr};var Ah=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Ph(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=Ah();return e&&t.setAttribute("nonce",e),t}function Th(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function Rh(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var Dh=function(){var t=0,e=null;return{add:function(n){t==0&&(e=Ph())&&(Th(e,n),Rh(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},Lh=function(){var t=Dh();return function(e,n){B(function(){return t.add(e),function(){t.remove()}},[e&&n])}},ll=function(){var t=Lh(),e=function(n){var r=n.styles,o=n.dynamic;return t(r,o),null};return e},Nh={left:0,top:0,right:0,gap:0},Xo=function(t){return parseInt(t||"",10)||0},Mh=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[Xo(n),Xo(r),Xo(o)]},Fh=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return Nh;var e=Mh(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])}},Vh=ll(),Hh=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(bh,` {
|
|
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(vr,` {
|
|
40
|
+
right: `).concat(s,"px ").concat(r,`;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.`).concat(_r,` {
|
|
44
|
+
margin-right: `).concat(s,"px ").concat(r,`;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.`).concat(vr," .").concat(vr,` {
|
|
48
|
+
right: 0 `).concat(r,`;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.`).concat(_r," .").concat(_r,` {
|
|
52
|
+
margin-right: 0 `).concat(r,`;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
body {
|
|
56
|
+
`).concat(xh,": ").concat(s,`px;
|
|
57
|
+
}
|
|
58
|
+
`)},Ih=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,o=r===void 0?"margin":r,i=at(function(){return Fh(o)},[o]);return O(Vh,{styles:Hh(i,!e,o,n?"":"!important")})},Zo=!1;if(typeof window<"u")try{var wr=Object.defineProperty({},"passive",{get:function(){return Zo=!0,!0}});window.addEventListener("test",wr,wr),window.removeEventListener("test",wr,wr)}catch{Zo=!1}var Xe=Zo?{passive:!1}:!1,Uh=function(t){return t.tagName==="TEXTAREA"},ul=function(t,e){var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!Uh(t)&&n[e]==="visible")},zh=function(t){return ul(t,"overflowY")},Wh=function(t){return ul(t,"overflowX")},dl=function(t,e){var n=e;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=fl(t,n);if(r){var o=pl(t,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Bh=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},Yh=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},fl=function(t,e){return t==="v"?zh(e):Wh(e)},pl=function(t,e){return t==="v"?Bh(e):Yh(e)},qh=function(t,e){return t==="h"&&e==="rtl"?-1:1},Kh=function(t,e,n,r,o){var i=qh(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=pl(t,s),_=f[0],h=f[1],g=f[2],v=h-g-i*_;(_||v)&&fl(t,s)&&(c+=v,p+=_),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},mr=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},hl=function(t){return[t.deltaX,t.deltaY]},vl=function(t){return t&&"current"in t?t.current:t},Xh=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
|
+
`)},Gh=0,Ze=[];function Jh(t){var e=M([]),n=M([0,0]),r=M(),o=W(Gh++)[0],i=W(function(){return ll()})[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=yh([t.lockRef.current],(t.shards||[]).map(vl),!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 v=mr(h),x=n.current,m="deltaX"in h?h.deltaX:x[0]-v[0],b="deltaY"in h?h.deltaY:x[1]-v[1],k,j=h.target,E=Math.abs(m)>Math.abs(b)?"h":"v";if("touches"in h&&E==="h"&&j.type==="range")return!1;var y=dl(E,j);if(!y)return!0;if(y?k=E:(k=E==="v"?"h":"v",y=dl(E,j)),!y)return!1;if(!r.current&&"changedTouches"in h&&(m||b)&&(r.current=k),!k)return!0;var $=r.current||k;return Kh($,g,h,$==="h"?m:b,!0)},[]),u=tt(function(h){var g=h;if(!(!Ze.length||Ze[Ze.length-1]!==i)){var v="deltaY"in g?hl(g):mr(g),x=e.current.filter(function(k){return k.name===g.type&&k.target===g.target&&Xh(k.delta,v)})[0];if(x&&x.should){g.cancelable&&g.preventDefault();return}if(!x){var m=(a.current.shards||[]).map(vl).filter(Boolean).filter(function(k){return k.contains(g.target)}),b=m.length>0?s(g,m[0]):!a.current.noIsolation;b&&g.cancelable&&g.preventDefault()}}},[]),l=tt(function(h,g,v,x){var m={name:h,delta:g,target:v,should:x};e.current.push(m),setTimeout(function(){e.current=e.current.filter(function(b){return b!==m})},1)},[]),d=tt(function(h){n.current=mr(h),r.current=void 0},[]),c=tt(function(h){l(h.type,hl(h),h.target,s(h,t.lockRef.current))},[]),p=tt(function(h){l(h.type,mr(h),h.target,s(h,t.lockRef.current))},[]);B(function(){return Ze.push(i),t.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:p}),document.addEventListener("wheel",u,Xe),document.addEventListener("touchmove",u,Xe),document.addEventListener("touchstart",d,Xe),function(){Ze=Ze.filter(function(h){return h!==i}),document.removeEventListener("wheel",u,Xe),document.removeEventListener("touchmove",u,Xe),document.removeEventListener("touchstart",d,Xe)}},[]);var f=t.removeScrollBar,_=t.inert;return O(Z,null,_?O(i,{styles:Zh(o)}):null,f?O(Ih,{gapMode:"margin"}):null)}const Qh=Oh(cl,Jh);var _l=et(function(t,e){return O(gr,Et({},t,{ref:e,sideCar:Qh}))});_l.classNames=gr.classNames;const tv=_l,gl="Popover",[wl,Zv]=$c(gl,[el]),Go=el(),[ev,Ge]=wl(gl),nv=t=>{const{__scopePopover:e,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=t,s=Go(e),u=M(null),[l,d]=W(!1),[c=!1,p]=hh({prop:r,defaultProp:o,onChange:i});return O(ch,s,O(ev,{scope:e,contentId:sp(),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))},rv="PopoverTrigger",ov=et((t,e)=>{const{__scopePopover:n,...r}=t,o=Ge(rv,n),i=Go(n),a=Ee(e,o.triggerRef),s=O(Ue.button,rt({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":bl(o.open)},r,{ref:a,onClick:je(t.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:O(lh,rt({asChild:!0},i),s)}),ml="PopoverPortal",[iv,av]=wl(ml,{forceMount:void 0}),sv=t=>{const{__scopePopover:e,forceMount:n,children:r,container:o}=t,i=Ge(ml,e);return O(iv,{scope:e,forceMount:n},O(Yo,{present:n||i.open},O(dh,{asChild:!0,container:o},r)))},En="PopoverContent",cv=et((t,e)=>{const n=av(En,t.__scopePopover),{forceMount:r=n.forceMount,...o}=t,i=Ge(En,t.__scopePopover);return O(Yo,{present:r||i.open},i.modal?O(lv,rt({},o,{ref:e})):O(uv,rt({},o,{ref:e})))}),lv=et((t,e)=>{const n=Ge(En,t.__scopePopover),r=M(null),o=Ee(e,r),i=M(!1);return B(()=>{const a=r.current;if(a)return mh(a)},[]),O(tv,{as:To,allowPinchZoom:!0},O(yl,rt({},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})})))}),uv=et((t,e)=>{const n=Ge(En,t.__scopePopover),r=M(!1),o=M(!1);return O(yl,rt({},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()}}))}),yl=et((t,e)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:l,onInteractOutside:d,...c}=t,p=Ge(En,n),f=Go(n);return Gf(),O(Jf,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},O(Kf,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:d,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:l,onDismiss:()=>p.onOpenChange(!1)},O(uh,rt({"data-state":bl(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 bl(t){return t?"open":"closed"}const dv=nv,fv=ov,pv=sv,hv=cv;function xl(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=xl(t[e]))&&(r&&(r+=" "),r+=n);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}function Jo(){for(var t,e,n=0,r="";n<arguments.length;)(t=arguments[n++])&&(e=xl(t))&&(r&&(r+=" "),r+=e);return r}function yr(){throw new Error("Cycle detected")}var vv=Symbol.for("preact-signals");function Qo(){if(Je>1)Je--;else{for(var t,e=!1;Sn!==void 0;){var n=Sn;for(Sn=void 0,ti++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&$l(n))try{n.c()}catch(o){e||(t=o,e=!0)}n=r}}if(ti=0,Je--,e)throw t}}var q=void 0,Sn=void 0,Je=0,ti=0,br=0;function kl(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 ot(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}ot.prototype.brand=vv,ot.prototype.h=function(){return!0},ot.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)},ot.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)}},ot.prototype.subscribe=function(t){var e=this;return ni(function(){var n=e.value,r=32&this.f;this.f&=-33;try{t(n)}finally{this.f|=r}})},ot.prototype.valueOf=function(){return this.value},ot.prototype.toString=function(){return this.value+""},ot.prototype.toJSON=function(){return this.value},ot.prototype.peek=function(){return this.v},Object.defineProperty(ot.prototype,"value",{get:function(){var t=kl(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){ti>100&&yr(),this.v=t,this.i++,br++,Je++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N()}finally{Qo()}}}});function xr(t){return new ot(t)}function $l(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 jl(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 El(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){ot.call(this,void 0),this.x=t,this.s=void 0,this.g=br-1,this.f=4}(ae.prototype=new ot).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===br))return!0;if(this.g=br,this.f|=1,this.i>0&&!$l(this))return this.f&=-2,!0;var t=q;try{jl(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,El(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)}ot.prototype.S.call(this,t)},ae.prototype.U=function(t){if(this.t!==void 0&&(ot.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()||yr(),16&this.f)throw this.v;return this.v},Object.defineProperty(ae.prototype,"value",{get:function(){1&this.f&&yr();var t=kl(this);if(this.h(),t!==void 0&&(t.i=this.i),16&this.f)throw this.v;return this.v}});function _v(t){return new ae(t)}function Sl(t){var e=t.u;if(t.u=void 0,typeof e=="function"){Je++;var n=q;q=void 0;try{e()}catch(r){throw t.f&=-2,t.f|=8,ei(t),r}finally{q=n,Qo()}}}function ei(t){for(var e=t.s;e!==void 0;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,Sl(t)}function gv(t){if(q!==this)throw new Error("Out-of-order effect");El(this),q=t,this.f&=-2,8&this.f&&ei(this),Qo()}function Cn(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Cn.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()}},Cn.prototype.S=function(){1&this.f&&yr(),this.f|=1,this.f&=-9,Sl(this),jl(this),Je++;var t=q;return q=this,gv.bind(this,t)},Cn.prototype.N=function(){2&this.f||(this.f|=2,this.o=Sn,Sn=this)},Cn.prototype.d=function(){this.f|=8,1&this.f||ei(this)};function ni(t){var e=new Cn(t);try{e.c()}catch(n){throw e.d(),n}return e.d.bind(e)}var ri;function Qe(t,e){S[t]=e.bind(null,S[t]||function(){})}function kr(t){ri&&ri(),ri=t&&t.S()}function Cl(t){var e=this,n=t.data,r=mv(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;!ds(o.peek())&&((a=e.base)==null?void 0:a.nodeType)===3?e.base.data=o.peek():(e.__$f|=1,e.setState({}))},_v(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}Cl.displayName="_st",Object.defineProperties(ot.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Cl},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),Qe("__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 ot&&(n||(e.__np=n={}),n[o]=i,r[o]=i.peek())}}t(e)}),Qe("__r",function(t,e){kr();var n,r=e.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return ni(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),kr(n),t(e)}),Qe("__e",function(t,e,n,r){kr(),t(e,n,r)}),Qe("diffed",function(t,e){kr();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=wv(n,u,d,o),i[u]=l):l.o(d,o)}}}t(e)});function wv(t,e,n,r){var o=e in t&&t.ownerSVGElement===void 0,i=xr(n);return{o:function(a,s){i.value=a,r=s},d:ni(function(){var a=i.value.value;r[e]!==a&&(r[e]=a,o?t[e]=a:a?t.setAttribute(e,a):t.removeAttribute(e))})}}Qe("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)}),Qe("__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 mv(t){return at(function(){return xr(t)},[])}const tn={config$:xr({headerText:"",label:""}),filters$:xr({})},Ol="inploi-job-alerts",yv="ija";var bv=["1","2","3","4","5","6","7","8","9","10","11","12"],xv={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]}},kv=(t,e=1,n)=>r=>{const[o,i]=xv[n][r];return"oklch("+o+"% "+i*e+" "+t+")"},Al=t=>{const e=kv(t.hue,t.chroma,t.mode);return Object.fromEntries(bv.map(n=>[t.prefix+n,t.transform(e(n))]))},Pl=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)},$r=t=>!!t&&typeof t=="object"&&!Array.isArray(t),oi=(t,...e)=>{if(!e.length)return t;const n=e.shift();if($r(t)&&$r(n))for(const r in n){const o=n[r];if($r(o)){t[r]||Object.assign(t,{[r]:{}});const i=t[r];$r(i)&&oi(i,o)}else Object.assign(t,{[r]:n[r]})}return oi(t,...e)},jv=t=>{function e(n,r){const o=[t.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return e},Ev=()=>({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(oi(s,u,l)),c=([p,f],_)=>{const h=[_,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[ii,ai,Sv]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],Cv=Ev().core(({theme:t})=>({color:{transparent:Sv,black:ii,white:ai,lowest:t.mode==="light"?ai:ii,highest:t.mode==="light"?ii:ai,...Al({prefix:"a-",hue:t.accent.hue,chroma:t.accent.chroma,mode:t.mode,transform:Pl}),...Al({prefix:"n-",hue:t.accent.hue,chroma:.05,mode:t.mode,transform:Pl})},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(()=>({})),Ov=jv({prefix:"i-"}),Av=t=>{const e=Cv.from({theme:t,getToken:Ov}),n=Object.entries(e.declarations).map(([r,o])=>`${r}: ${o};`);return`#${yv} {
|
|
62
|
+
${n.concat(n).join(`
|
|
63
|
+
`)}
|
|
64
|
+
}`},Tl=t=>{const e=[];return e.push(t.corners),e.push(t.highlights),e.push(t.mode),e},Pv=({error:t})=>t?A("div",{role:"alert",class:"flex max-w-full items-start gap-1.5 px-2 py-2 text-[#E5484D]",children:[A("svg",{class:"mt-0.5 h-4 w-4 flex-none",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[A("circle",{cx:"8",cy:"8",r:"6.3",stroke:"currentColor","stroke-width":"1.4"}),A("rect",{x:"7",y:"4",width:"2",height:"5",fill:"currentColor"}),A("rect",{x:"7",y:"10",width:"2",height:"2",fill:"currentColor"})]}),A("p",{class:"pr-1 text-sm",children:t})]}):null,si="rounded-field-input bg-neutral-1 text-accent-11 autofill:shadow-[inset_0_0_0_1000px_var(--i-color-a-2)] autofill:focus:shadow-[inset_0_0_0_1000px_var(--i-color-a-1)] autofill:[-webkit-text-fill-color:var(--i-color-a-11)] px-3 py-2 ring ring-[1px] transition-all ease-expo-out duration-snappy ring-neutral-4 fr inline-flex w-full items-center justify-center px-2.5 text-base shadow-[0_0_0_1px] outline-none focus:shadow-[0_0_0_2px]",Tv=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.",Rv=et(({class:t,...e},n)=>A("button",{ref:n,class:Jo("fr theme-stroke:ring-[1px] theme-stroke:ring-accent-4 theme-stroke:hover:ring-accent-9 theme-fill:bg-accent-2 theme-fill:hover:bg-accent-3 theme-fill:active:bg-accent-4 duration-snappy ease-expo-out text-accent-11 flex w-full items-center justify-center gap-2 overflow-hidden rounded-lg px-4 py-1.5 pl-2 text-sm font-medium transition-all active:scale-[.97]",t),onTouchStart:Rl,...e,children:[A(Rs,{class:"flex-none",name:"bell"})," ",A("span",{class:"min-w-0 truncate text-center",children:tn.config$.value.label})]})),Dv=()=>A("p",{class:"text-neutral-11 px-2 pb-4 pt-1 text-sm",children:tn.config$.value.headerText});function Rl(){}const Lv=({theme:t,apiClient:e,logger:n})=>{const[r,o]=W("idle"),[i,a]=W(),s=async u=>{var l,d,c;if(u.preventDefault(),r!=="idle")return;const p=new FormData(u.currentTarget),f=(l=p.get("name"))==null?void 0:l.toString(),[_,...h]=(f==null?void 0:f.split(" "))??[],g=h.join(" ");o("loading"),await Promise.all([new Promise(v=>setTimeout(v,1e3)),e.fetch("/search/save",{method:"POST",body:JSON.stringify({contact:{email:(d=p.get("email"))==null?void 0:d.toString(),first_name:_,last_name:g},alerts:(c=p.get("frequency"))==null?void 0:c.toString(),filters:tn.filters$.peek()})})]).then(async()=>{o("success"),await new Promise(v=>setTimeout(v,1e3)),o("idle")}).catch(v=>{n.error(v),a(Tv(v)),o("idle")})};return A("div",{id:"ija",children:A("div",{class:Tl(t).join(" "),children:A(dv,{children:[A(fv,{asChild:!0,children:A(Rv,{})}),A(pv,{children:A("div",{id:"ija",children:A("div",{class:Jo("absolute isolate z-50",Tl(t).join(" ")),children:A(hv,{collisionPadding:16,class:"data-[state=open]:data-[side=top]:animate-slideDownAndFade data-[state=open]:data-[side=right]:animate-slideLeftAndFade data-[state=open]:data-[side=bottom]:animate-slideUpAndFade data-[state=open]:data-[side=left]:animate-slideRightAndFade bg-lowest ring-neutral-5 shadow-surface-lg isolate w-64 max-w-[var(--radix-popover-content-available-width)] rounded-lg p-2 ring-1 will-change-[transform,opacity]",sideOffset:5,children:[A(Dv,{}),A("form",{onSubmit:s,class:"flex flex-col gap-2.5",children:[A("div",{children:[A("fieldset",{class:"fieldset relative focus-within:z-10",children:[A("label",{class:"sr-only",htmlFor:"ija-email",children:"Email"}),A("input",{name:"email",autocomplete:"email",class:si,disabled:r==="loading",id:"ija-email",placeholder:"Email",type:"email",required:!0})]}),A("fieldset",{class:"fieldset relative focus-within:z-10",children:[A("label",{class:"sr-only",htmlFor:"ija-name",children:"Name"}),A("input",{disabled:r==="loading",name:"name",required:!0,autocomplete:"name",class:si,id:"ija-name",placeholder:"Full Name"})]}),A("fieldset",{class:"fieldset relative focus-within:z-10",children:[A("label",{class:"sr-only",htmlFor:"ija-frequency",children:"Frequency"}),A("select",{disabled:r==="loading",class:Jo(si,"appearance-none pr-8"),id:"ija-frequency",defaultValue:"WEEKLY",name:"frequency",children:[A("option",{value:"INSTANTLY",children:"Instantly"}),A("option",{value:"DAILY",children:"Daily"}),A("option",{value:"WEEKLY",children:"Weekly"}),A("option",{value:"MONTHLY",children:"Monthly"})]}),A("div",{class:"text-neutral-10 absolute bottom-0 right-0 top-0 flex items-center p-1","aria-hidden":!0,children:A(Rs,{name:"chevron-up-down"})})]})]}),A("button",{onTouchStart:Rl,class:"bg-accent-9 active:bg-accent-10 theme-dark:active:bg-accent-8 fr ease-expo-out duration-snappy text-accent-1 theme-dark:text-highest grid items-center overflow-hidden rounded-lg px-5 py-2 pl-2.5 text-center transition-all hover:scale-[1.02] active:scale-[.97]",children:[A("span",{"data-state":r,class:"ease-expo-out duration-medium col-span-full row-span-full text-base opacity-0 transition-all data-[state=loading]:-translate-y-full data-[state=success]:translate-y-full data-[state=idle]:opacity-100",children:"Create Alert"}),A("div",{"data-state":r,class:"ease-expo-out duration-medium col-span-full row-span-full flex translate-y-0 justify-center text-base transition-all data-[state=idle]:translate-y-full data-[state=idle]:opacity-0",children:A("svg",{width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[A("circle",{class:"loading-circle duration-snappy ease-expo-out transition-all",cx:"12",cy:"12",r:"9"}),A("path",{class:"done-checkmark",d:"M9 12L11 14L15 10"})]})})]}),A(Pv,{error:i})]})]})})})})]})})})},Nv=`#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 .bottom-0 {
|
|
328
|
+
bottom: 0px;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
#ija .right-0 {
|
|
332
|
+
right: 0px;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
#ija .top-0 {
|
|
336
|
+
top: 0px;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
#ija .isolate {
|
|
340
|
+
isolation: isolate;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
#ija .z-50 {
|
|
344
|
+
z-index: 50;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
#ija .col-span-full {
|
|
348
|
+
grid-column: 1 / -1;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
#ija .row-span-full {
|
|
352
|
+
grid-row: 1 / -1;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
#ija .mt-0 {
|
|
356
|
+
margin-top: 0px;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
#ija .mt-0\\.5 {
|
|
360
|
+
margin-top: 0.125rem;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
#ija .block {
|
|
364
|
+
display: block;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
#ija .inline-block {
|
|
368
|
+
display: inline-block;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
#ija .inline {
|
|
372
|
+
display: inline;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
#ija .flex {
|
|
376
|
+
display: flex;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
#ija .inline-flex {
|
|
380
|
+
display: inline-flex;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
#ija .table {
|
|
384
|
+
display: table;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
#ija .table-row {
|
|
388
|
+
display: table-row;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
#ija .flow-root {
|
|
392
|
+
display: flow-root;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
#ija .grid {
|
|
396
|
+
display: grid;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
#ija .inline-grid {
|
|
400
|
+
display: inline-grid;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
#ija .contents {
|
|
404
|
+
display: contents;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
#ija .list-item {
|
|
408
|
+
display: list-item;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
#ija .\\!hidden {
|
|
412
|
+
display: none !important;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
#ija .hidden {
|
|
416
|
+
display: none;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
#ija .h-4 {
|
|
420
|
+
height: 1rem;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
#ija .w-4 {
|
|
424
|
+
width: 1rem;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
#ija .w-64 {
|
|
428
|
+
width: 16rem;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
#ija .w-full {
|
|
432
|
+
width: 100%;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
#ija .min-w-0 {
|
|
436
|
+
min-width: 0px;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
#ija .max-w-\\[var\\(--radix-popover-content-available-width\\)\\] {
|
|
440
|
+
max-width: var(--radix-popover-content-available-width);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
#ija .max-w-full {
|
|
444
|
+
max-width: 100%;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
#ija .flex-none {
|
|
448
|
+
flex: none;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
#ija .flex-shrink {
|
|
452
|
+
flex-shrink: 1;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
#ija .shrink {
|
|
456
|
+
flex-shrink: 1;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
#ija .flex-grow {
|
|
460
|
+
flex-grow: 1;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
#ija .grow {
|
|
464
|
+
flex-grow: 1;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
#ija .border-collapse {
|
|
468
|
+
border-collapse: collapse;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
#ija .translate-y-0 {
|
|
472
|
+
--tw-translate-y: 0px;
|
|
473
|
+
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));
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
#ija .transform {
|
|
477
|
+
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));
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
#ija .resize {
|
|
481
|
+
resize: both;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
#ija .appearance-none {
|
|
485
|
+
-webkit-appearance: none;
|
|
486
|
+
-moz-appearance: none;
|
|
487
|
+
appearance: none;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
#ija .flex-col {
|
|
491
|
+
flex-direction: column;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
#ija .flex-wrap {
|
|
495
|
+
flex-wrap: wrap;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
#ija .items-start {
|
|
499
|
+
align-items: flex-start;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
#ija .items-center {
|
|
503
|
+
align-items: center;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
#ija .justify-center {
|
|
507
|
+
justify-content: center;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
#ija .gap-1 {
|
|
511
|
+
gap: 0.25rem;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
#ija .gap-1\\.5 {
|
|
515
|
+
gap: 0.375rem;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
#ija .gap-2 {
|
|
519
|
+
gap: 0.5rem;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
#ija .gap-2\\.5 {
|
|
523
|
+
gap: 0.625rem;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
#ija .overflow-hidden {
|
|
527
|
+
overflow: hidden;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
#ija .truncate {
|
|
531
|
+
overflow: hidden;
|
|
532
|
+
text-overflow: ellipsis;
|
|
533
|
+
white-space: nowrap;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
#ija .rounded-lg {
|
|
537
|
+
border-radius: var(--i-radius-lg);
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
#ija .border {
|
|
541
|
+
border-width: 1px;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
#ija .bg-accent-9 {
|
|
545
|
+
background-color: var(--i-color-a-9);
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
#ija .bg-lowest {
|
|
549
|
+
background-color: var(--i-color-lowest);
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
#ija .bg-neutral-1 {
|
|
553
|
+
background-color: var(--i-color-n-1);
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
#ija .p-1 {
|
|
557
|
+
padding: 0.25rem;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
#ija .p-2 {
|
|
561
|
+
padding: 0.5rem;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
#ija .px-2 {
|
|
565
|
+
padding-left: 0.5rem;
|
|
566
|
+
padding-right: 0.5rem;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
#ija .px-2\\.5 {
|
|
570
|
+
padding-left: 0.625rem;
|
|
571
|
+
padding-right: 0.625rem;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
#ija .px-3 {
|
|
575
|
+
padding-left: 0.75rem;
|
|
576
|
+
padding-right: 0.75rem;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
#ija .px-4 {
|
|
580
|
+
padding-left: 1rem;
|
|
581
|
+
padding-right: 1rem;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
#ija .px-5 {
|
|
585
|
+
padding-left: 1.25rem;
|
|
586
|
+
padding-right: 1.25rem;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
#ija .py-1 {
|
|
590
|
+
padding-top: 0.25rem;
|
|
591
|
+
padding-bottom: 0.25rem;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
#ija .py-1\\.5 {
|
|
595
|
+
padding-top: 0.375rem;
|
|
596
|
+
padding-bottom: 0.375rem;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
#ija .py-2 {
|
|
600
|
+
padding-top: 0.5rem;
|
|
601
|
+
padding-bottom: 0.5rem;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
#ija .pb-4 {
|
|
605
|
+
padding-bottom: 1rem;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
#ija .pl-2 {
|
|
609
|
+
padding-left: 0.5rem;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
#ija .pl-2\\.5 {
|
|
613
|
+
padding-left: 0.625rem;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
#ija .pr-1 {
|
|
617
|
+
padding-right: 0.25rem;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
#ija .pr-8 {
|
|
621
|
+
padding-right: 2rem;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
#ija .pt-1 {
|
|
625
|
+
padding-top: 0.25rem;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
#ija .text-center {
|
|
629
|
+
text-align: center;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
#ija .text-justify {
|
|
633
|
+
text-align: justify;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
#ija .text-base {
|
|
637
|
+
font-size: 1rem;
|
|
638
|
+
line-height: 1.5rem;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
#ija .text-sm {
|
|
642
|
+
font-size: 0.875rem;
|
|
643
|
+
line-height: 1.25rem;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
#ija .font-medium {
|
|
647
|
+
font-weight: 500;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
#ija .uppercase {
|
|
651
|
+
text-transform: uppercase;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
#ija .lowercase {
|
|
655
|
+
text-transform: lowercase;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
#ija .capitalize {
|
|
659
|
+
text-transform: capitalize;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
#ija .italic {
|
|
663
|
+
font-style: italic;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
#ija .ordinal {
|
|
667
|
+
--tw-ordinal: ordinal;
|
|
668
|
+
font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
#ija .text-\\[\\#E5484D\\] {
|
|
672
|
+
--tw-text-opacity: 1;
|
|
673
|
+
color: rgb(229 72 77 / var(--tw-text-opacity));
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
#ija .text-accent-1 {
|
|
677
|
+
color: var(--i-color-a-1);
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
#ija .text-accent-11 {
|
|
681
|
+
color: var(--i-color-a-11);
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
#ija .text-neutral-10 {
|
|
685
|
+
color: var(--i-color-n-10);
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
#ija .text-neutral-11 {
|
|
689
|
+
color: var(--i-color-n-11);
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
#ija .opacity-0 {
|
|
693
|
+
opacity: 0;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
#ija .shadow {
|
|
697
|
+
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
698
|
+
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
699
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
#ija .shadow-\\[0_0_0_1px\\] {
|
|
703
|
+
--tw-shadow: 0 0 0 1px;
|
|
704
|
+
--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);
|
|
705
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
#ija .shadow-surface-lg {
|
|
709
|
+
--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);
|
|
710
|
+
--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);
|
|
711
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
#ija .outline-none {
|
|
715
|
+
outline: 2px solid transparent;
|
|
716
|
+
outline-offset: 2px;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
#ija .outline {
|
|
720
|
+
outline-style: solid;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
#ija .ring {
|
|
724
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
725
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
726
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
#ija .ring-1 {
|
|
730
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
731
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
732
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
#ija .ring-\\[1px\\] {
|
|
736
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
737
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
738
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
#ija .ring-neutral-4 {
|
|
742
|
+
--tw-ring-color: var(--i-color-n-4);
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
#ija .ring-neutral-5 {
|
|
746
|
+
--tw-ring-color: var(--i-color-n-5);
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
#ija .blur {
|
|
750
|
+
--tw-blur: blur(8px);
|
|
751
|
+
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);
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
#ija .grayscale {
|
|
755
|
+
--tw-grayscale: grayscale(100%);
|
|
756
|
+
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);
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
#ija .invert {
|
|
760
|
+
--tw-invert: invert(100%);
|
|
761
|
+
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);
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
#ija .sepia {
|
|
765
|
+
--tw-sepia: sepia(100%);
|
|
766
|
+
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);
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
#ija .filter {
|
|
770
|
+
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);
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
#ija .backdrop-filter {
|
|
774
|
+
-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);
|
|
775
|
+
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);
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
#ija .transition {
|
|
779
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
|
780
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
781
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
|
|
782
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
#ija .transition-all {
|
|
786
|
+
transition-property: all;
|
|
787
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
#ija .duration-medium {
|
|
791
|
+
transition-duration: var(--i-duration-medium);
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
#ija .duration-snappy {
|
|
795
|
+
transition-duration: var(--i-duration-snappy);
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
#ija .ease-expo-out {
|
|
799
|
+
transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
#ija .will-change-\\[transform\\2c opacity\\] {
|
|
803
|
+
will-change: transform,opacity;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
#ija .fr {
|
|
807
|
+
outline: none;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
#ija .fr:focus {
|
|
811
|
+
outline: none;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
#ija .fr:focus-visible {
|
|
815
|
+
outline: none;
|
|
816
|
+
--tw-ring-offset-width: 1px;
|
|
817
|
+
--tw-ring-offset-color: var(--i-color-lowest);
|
|
818
|
+
--tw-ring-opacity: 1;
|
|
819
|
+
--tw-ring-color: var(--i-color-a-9);
|
|
820
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
821
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
#ija .rounded-field-input {
|
|
825
|
+
border-radius: 0;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
#ija .fieldset:first-child .rounded-field-input {
|
|
829
|
+
border-top-left-radius: var(--i-radius-md);
|
|
830
|
+
border-top-right-radius: var(--i-radius-md);
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
#ija .fieldset:last-child .rounded-field-input {
|
|
834
|
+
border-bottom-left-radius: var(--i-radius-md);
|
|
835
|
+
border-bottom-right-radius: var(--i-radius-md);
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
/* perimeter = 2 * Pi * r
|
|
839
|
+
r = 9 (circle radius)
|
|
840
|
+
56.54
|
|
841
|
+
*/
|
|
842
|
+
|
|
843
|
+
@keyframes loading-circle {
|
|
844
|
+
0% {
|
|
845
|
+
stroke-dasharray: 0 56.54;
|
|
846
|
+
}
|
|
847
|
+
100% {
|
|
848
|
+
stroke-dasharray: 56.54 56.54;
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
#ija .loading-circle {
|
|
853
|
+
stroke-dasharray: 56.54 56.54;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
#ija [data-state='loading'] .loading-circle {
|
|
857
|
+
animation: loading-circle 1s linear;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
/* perimeter = 2 * Pi * r
|
|
861
|
+
r = 9 (circle radius)
|
|
862
|
+
56.54
|
|
863
|
+
*/
|
|
864
|
+
|
|
865
|
+
@keyframes done-checkmark {
|
|
866
|
+
0% {
|
|
867
|
+
stroke-dasharray: 0 8.6;
|
|
868
|
+
}
|
|
869
|
+
100% {
|
|
870
|
+
stroke-dasharray: 8.6 8.6;
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
#ija .done-checkmark {
|
|
875
|
+
stroke-dashoffset: -1;
|
|
876
|
+
stroke-dasharray: 0 8.6;
|
|
877
|
+
opacity: 0;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
#ija [data-state='success'] .done-checkmark {
|
|
881
|
+
opacity: 1;
|
|
882
|
+
animation: done-checkmark 0.9s cubic-bezier(0.16, 1, 0.3, 1);
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
#ija .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\] {
|
|
886
|
+
a-z-a--z0-9-_: .$@?;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
#ija .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill {
|
|
890
|
+
--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);
|
|
891
|
+
--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);
|
|
892
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
#ija .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill {
|
|
896
|
+
--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);
|
|
897
|
+
--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);
|
|
898
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
#ija .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill {
|
|
902
|
+
-webkit-text-fill-color: var(--i-color-a-11);
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
#ija .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill {
|
|
906
|
+
-webkit-text-fill-color: var(--i-color-a-11);
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
#ija .focus-within\\:z-10:focus-within {
|
|
910
|
+
z-index: 10;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
#ija .hover\\:scale-\\[1\\.02\\]:hover {
|
|
914
|
+
--tw-scale-x: 1.02;
|
|
915
|
+
--tw-scale-y: 1.02;
|
|
916
|
+
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));
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
#ija .focus\\:shadow-\\[0_0_0_2px\\]:focus {
|
|
920
|
+
--tw-shadow: 0 0 0 2px;
|
|
921
|
+
--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);
|
|
922
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
#ija .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill {
|
|
926
|
+
--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);
|
|
927
|
+
--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);
|
|
928
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
#ija .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill {
|
|
932
|
+
--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);
|
|
933
|
+
--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);
|
|
934
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
#ija .active\\:scale-\\[\\.97\\]:active {
|
|
938
|
+
--tw-scale-x: .97;
|
|
939
|
+
--tw-scale-y: .97;
|
|
940
|
+
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));
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
#ija .active\\:bg-accent-10:active {
|
|
944
|
+
background-color: var(--i-color-a-10);
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
#ija .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle] {
|
|
948
|
+
--tw-translate-y: 100%;
|
|
949
|
+
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));
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
#ija .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading] {
|
|
953
|
+
--tw-translate-y: -100%;
|
|
954
|
+
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));
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
#ija .data-\\[state\\=success\\]\\:translate-y-full[data-state=success] {
|
|
958
|
+
--tw-translate-y: 100%;
|
|
959
|
+
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));
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
@keyframes slideUpAndFade {
|
|
963
|
+
|
|
964
|
+
from {
|
|
965
|
+
opacity: 0;
|
|
966
|
+
transform: translateY(2px);
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
to {
|
|
970
|
+
opacity: 1;
|
|
971
|
+
transform: translateY(0);
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
#ija .data-\\[state\\=open\\]\\:data-\\[side\\=bottom\\]\\:animate-slideUpAndFade[data-side=bottom][data-state=open] {
|
|
976
|
+
animation: slideUpAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
@keyframes slideRightAndFade {
|
|
980
|
+
|
|
981
|
+
from {
|
|
982
|
+
opacity: 0;
|
|
983
|
+
transform: translateX(-2px);
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
to {
|
|
987
|
+
opacity: 1;
|
|
988
|
+
transform: translateX(0);
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
#ija .data-\\[state\\=open\\]\\:data-\\[side\\=left\\]\\:animate-slideRightAndFade[data-side=left][data-state=open] {
|
|
993
|
+
animation: slideRightAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
@keyframes slideLeftAndFade {
|
|
997
|
+
|
|
998
|
+
from {
|
|
999
|
+
opacity: 0;
|
|
1000
|
+
transform: translateX(2px);
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
to {
|
|
1004
|
+
opacity: 1;
|
|
1005
|
+
transform: translateX(0);
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
#ija .data-\\[state\\=open\\]\\:data-\\[side\\=right\\]\\:animate-slideLeftAndFade[data-side=right][data-state=open] {
|
|
1010
|
+
animation: slideLeftAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
@keyframes slideDownAndFade {
|
|
1014
|
+
|
|
1015
|
+
from {
|
|
1016
|
+
opacity: 0;
|
|
1017
|
+
transform: translateY(-2px);
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
to {
|
|
1021
|
+
opacity: 1;
|
|
1022
|
+
transform: translateY(0);
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
#ija .data-\\[state\\=open\\]\\:data-\\[side\\=top\\]\\:animate-slideDownAndFade[data-side=top][data-state=open] {
|
|
1027
|
+
animation: slideDownAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
#ija .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle] {
|
|
1031
|
+
opacity: 0;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
#ija .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle] {
|
|
1035
|
+
opacity: 1;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
#ija .dark .theme-dark\\:text-highest {
|
|
1039
|
+
color: var(--i-color-highest);
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
#ija .dark .theme-dark\\:active\\:bg-accent-8:active {
|
|
1043
|
+
background-color: var(--i-color-a-8);
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
#ija .fill .theme-fill\\:bg-accent-2 {
|
|
1047
|
+
background-color: var(--i-color-a-2);
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
#ija .fill .theme-fill\\:hover\\:bg-accent-3:hover {
|
|
1051
|
+
background-color: var(--i-color-a-3);
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
#ija .fill .theme-fill\\:active\\:bg-accent-4:active {
|
|
1055
|
+
background-color: var(--i-color-a-4);
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
#ija .stroke .theme-stroke\\:ring-\\[1px\\] {
|
|
1059
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1060
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
1061
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
#ija .stroke .theme-stroke\\:ring-accent-4 {
|
|
1065
|
+
--tw-ring-color: var(--i-color-a-4);
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
#ija .stroke .theme-stroke\\:hover\\:ring-accent-9:hover {
|
|
1069
|
+
--tw-ring-color: var(--i-color-a-9);
|
|
1070
|
+
}
|
|
1071
|
+
`,Dl=()=>({getRenderTargetElement:()=>{const t=document.body.querySelector(`#${Ol}`);return ls(t,`Element with id ${Ol} not found.`),t}}),Mv=Dl(),Fv=Object.freeze(Object.defineProperty({__proto__:null,createJobAlertsDomManager:Dl,jobAlertsPlugin:()=>pi(({apiClient:t,logger:e,analytics:n})=>{let r=!1;const o=({params:s})=>O(Z,{},[[O("style",{id:"inploi-job-alerts-styles"},Nv),O("style",{id:"inploi-job-search-theme"},Av(s.theme))],O(mf,{theme:s.theme}),O(Lv,{theme:s.theme,apiClient:t,logger:e,analytics:n})]),i=s=>tn.filters$.value=s,a=s=>tn.config$.value=typeof s=="function"?s(tn.config$.peek()):s;return{prerender:async s=>(r=!0,i(s.initialFilters),{html:vf(O(Z,{},O(o,{params:s})))}),render:async s=>{const u=r?xo:Fe;ls(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(s.initialFilters),a(s.config),u(O(o,{params:s}),Mv.getRenderTargetElement())},setFilters:i,setConfig:a}})},Symbol.toStringTag,{value:"Module"}))})();
|