@inploi/plugin-job-search 0.0.4 → 0.0.5
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 +6 -6
- package/dist/job-search.d.ts +21 -2
- package/dist/plugin-job-search.cjs +51 -30
- package/dist/plugin-job-search.js +51 -30
- package/package.json +2 -2
package/cdn/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var gu=Object.defineProperty;var bu=(le,Q,Re)=>Q in le?gu(le,Q,{enumerable:!0,configurable:!0,writable:!0,value:Re}):le[Q]=Re;var hi=(le,Q,Re)=>(bu(le,typeof Q!="symbol"?Q+"":Q,Re),Re);(function(){"use strict";var le=e=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(e)}`)};function Q(e,t){if(!e)throw new Error(t)}var Re=e=>e,st,w,jr,Le,Sr,Rr,on,Lr,ct={},zr=[],_i=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,St=Array.isArray;function ue(e,t){for(var n in t)e[n]=t[n];return e}function Or(e){var t=e.parentNode;t&&t.removeChild(e)}function J(e,t,n){var o,r,a,i={};for(a in t)a=="key"?o=t[a]:a=="ref"?r=t[a]:i[a]=t[a];if(arguments.length>2&&(i.children=arguments.length>3?st.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(a in e.defaultProps)i[a]===void 0&&(i[a]=e.defaultProps[a]);return lt(e,i,o,r,null)}function lt(e,t,n,o,r){var a={type:e,props:t,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:r??++jr,__i:-1,__u:0};return r==null&&w.vnode!=null&&w.vnode(a),a}function Nr(){return{current:null}}function O(e){return e.children}function re(e,t){this.props=e,this.context=t}function Ve(e,t){if(t==null)return e.__?Ve(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?Ve(e):null}function Pr(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Pr(e)}}function an(e){(!e.__d&&(e.__d=!0)&&Le.push(e)&&!Rt.__r++||Sr!==w.debounceRendering)&&((Sr=w.debounceRendering)||Rr)(Rt)}function Rt(){var e,t,n,o,r,a,i,s,u;for(Le.sort(on);e=Le.shift();)e.__d&&(t=Le.length,o=void 0,a=(r=(n=e).__v).__e,s=[],u=[],(i=n.__P)&&((o=ue({},r)).__v=r.__v+1,w.vnode&&w.vnode(o),sn(i,o,r,n.__n,i.ownerSVGElement!==void 0,32&r.__u?[a]:null,s,a??Ve(r),!!(32&r.__u),u),o.__.__k[o.__i]=o,Xr(s,o,u),o.__e!=a&&Pr(o)),Le.length>t&&Le.sort(on));Rt.__r=0}function Ar(e,t,n,o,r,a,i,s,u,l,d){var c,f,p,g,v,y=o&&o.__k||zr,_=t.length;for(n.__d=u,gi(n,t,y),u=n.__d,c=0;c<_;c++)(p=n.__k[c])!=null&&typeof p!="boolean"&&typeof p!="function"&&(f=p.__i===-1?ct:y[p.__i]||ct,p.__i=c,sn(e,p,f,r,a,i,s,u,l,d),g=p.__e,p.ref&&f.ref!=p.ref&&(f.ref&&cn(f.ref,null,p),d.push(p.ref,p.__c||g,p)),v==null&&g!=null&&(v=g),65536&p.__u||f.__k===p.__k?u=Dr(p,u,e):typeof p.type=="function"&&p.__d!==void 0?u=p.__d:g&&(u=g.nextSibling),p.__d=void 0,p.__u&=-196609);n.__d=u,n.__e=v}function gi(e,t,n){var o,r,a,i,s,u=t.length,l=n.length,d=l,c=0;for(e.__k=[],o=0;o<u;o++)(r=e.__k[o]=(r=t[o])==null||typeof r=="boolean"||typeof r=="function"?null:typeof r=="string"||typeof r=="number"||typeof r=="bigint"||r.constructor==String?lt(null,r,null,null,r):St(r)?lt(O,{children:r},null,null,null):r.constructor===void 0&&r.__b>0?lt(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)!=null?(r.__=e,r.__b=e.__b+1,s=bi(r,n,i=o+c,d),r.__i=s,a=null,s!==-1&&(d--,(a=n[s])&&(a.__u|=131072)),a==null||a.__v===null?(s==-1&&c--,typeof r.type!="function"&&(r.__u|=65536)):s!==i&&(s===i+1?c++:s>i?d>u-i?c+=s-i:c--:c=s<i&&s==i-1?s-i:0,s!==o+c&&(r.__u|=65536))):(a=n[o])&&a.key==null&&a.__e&&(a.__e==e.__d&&(e.__d=Ve(a)),ln(a,a,!1),n[o]=null,d--);if(d)for(o=0;o<l;o++)(a=n[o])!=null&&!(131072&a.__u)&&(a.__e==e.__d&&(e.__d=Ve(a)),ln(a,a))}function Dr(e,t,n){var o,r;if(typeof e.type=="function"){for(o=e.__k,r=0;o&&r<o.length;r++)o[r]&&(o[r].__=e,t=Dr(o[r],t,n));return t}return e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function de(e,t){return t=t||[],e==null||typeof e=="boolean"||(St(e)?e.some(function(n){de(n,t)}):t.push(e)),t}function bi(e,t,n,o){var r=e.key,a=e.type,i=n-1,s=n+1,u=t[n];if(u===null||u&&r==u.key&&a===u.type)return n;if(o>(u!=null&&!(131072&u.__u)?1:0))for(;i>=0||s<t.length;){if(i>=0){if((u=t[i])&&!(131072&u.__u)&&r==u.key&&a===u.type)return i;i--}if(s<t.length){if((u=t[s])&&!(131072&u.__u)&&r==u.key&&a===u.type)return s;s++}}return-1}function Hr(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||_i.test(t)?n:n+"px"}function Lt(e,t,n,o,r){var a;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof o=="string"&&(e.style.cssText=o=""),o)for(t in o)n&&t in n||Hr(e.style,t,"");if(n)for(t in n)o&&n[t]===o[t]||Hr(e.style,t,n[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]=n,n?o?n.u=o.u:(n.u=Date.now(),e.addEventListener(t,a?Vr:Ir,a)):e.removeEventListener(t,a?Vr:Ir,a);else{if(r)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]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function Ir(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 Vr(e){return this.l[e.type+!0](w.event?w.event(e):e)}function sn(e,t,n,o,r,a,i,s,u,l){var d,c,f,p,g,v,y,_,C,$,E,j,M,S,x,k=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(u=!!(32&n.__u),a=[s=t.__e=n.__e]),(d=w.__b)&&d(t);e:if(typeof k=="function")try{if(_=t.props,C=(d=k.contextType)&&o[d.__c],$=d?C?C.props.value:d.__:o,n.__c?y=(c=t.__c=n.__c).__=c.__E:("prototype"in k&&k.prototype.render?t.__c=c=new k(_,$):(t.__c=c=new re(_,$),c.constructor=k,c.render=yi),C&&C.sub(c),c.props=_,c.state||(c.state={}),c.context=$,c.__n=o,f=c.__d=!0,c.__h=[],c._sb=[]),c.__s==null&&(c.__s=c.state),k.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=ue({},c.__s)),ue(c.__s,k.getDerivedStateFromProps(_,c.__s))),p=c.props,g=c.state,c.__v=t,f)k.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(k.getDerivedStateFromProps==null&&_!==p&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,$),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,$)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=_,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(z){z&&(z.__=t)}),E=0;E<c._sb.length;E++)c.__h.push(c._sb[E]);c._sb=[],c.__h.length&&i.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,$),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(p,g,v)})}if(c.context=$,c.props=_,c.__P=e,c.__e=!1,j=w.__r,M=0,"prototype"in k&&k.prototype.render){for(c.state=c.__s,c.__d=!1,j&&j(t),d=c.render(c.props,c.state,c.context),S=0;S<c._sb.length;S++)c.__h.push(c._sb[S]);c._sb=[]}else do c.__d=!1,j&&j(t),d=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++M<25);c.state=c.__s,c.getChildContext!=null&&(o=ue(ue({},o),c.getChildContext())),f||c.getSnapshotBeforeUpdate==null||(v=c.getSnapshotBeforeUpdate(p,g)),Ar(e,St(x=d!=null&&d.type===O&&d.key==null?d.props.children:d)?x:[x],t,n,o,r,a,i,s,u,l),c.base=t.__e,t.__u&=-161,c.__h.length&&i.push(c),y&&(c.__E=c.__=null)}catch(z){t.__v=null,u||a!=null?(t.__e=s,t.__u|=u?160:32,a[a.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),w.__e(z,t,n)}else a==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=vi(n.__e,t,n,o,r,a,i,u,l);(d=w.diffed)&&d(t)}function Xr(e,t,n){t.__d=void 0;for(var o=0;o<n.length;o++)cn(n[o],n[++o],n[++o]);w.__c&&w.__c(t,e),e.some(function(r){try{e=r.__h,r.__h=[],e.some(function(a){a.call(r)})}catch(a){w.__e(a,r.__v)}})}function vi(e,t,n,o,r,a,i,s,u){var l,d,c,f,p,g,v,y=n.props,_=t.props,C=t.type;if(C==="svg"&&(r=!0),a!=null){for(l=0;l<a.length;l++)if((p=a[l])&&"setAttribute"in p==!!C&&(C?p.localName===C:p.nodeType===3)){e=p,a[l]=null;break}}if(e==null){if(C===null)return document.createTextNode(_);e=r?document.createElementNS("http://www.w3.org/2000/svg",C):document.createElement(C,_.is&&_),a=null,s=!1}if(C===null)y===_||s&&e.data===_||(e.data=_);else{if(a=a&&st.call(e.childNodes),y=n.props||ct,!s&&a!=null)for(y={},l=0;l<e.attributes.length;l++)y[(p=e.attributes[l]).name]=p.value;for(l in y)p=y[l],l=="children"||(l=="dangerouslySetInnerHTML"?c=p:l==="key"||l in _||Lt(e,l,null,p,r));for(l in _)p=_[l],l=="children"?f=p:l=="dangerouslySetInnerHTML"?d=p:l=="value"?g=p:l=="checked"?v=p:l==="key"||s&&typeof p!="function"||y[l]===p||Lt(e,l,p,y[l],r);if(d)s||c&&(d.__html===c.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(c&&(e.innerHTML=""),Ar(e,St(f)?f:[f],t,n,o,r&&C!=="foreignObject",a,i,a?a[0]:n.__k&&Ve(n,0),s,u),a!=null)for(l=a.length;l--;)a[l]!=null&&Or(a[l]);s||(l="value",g!==void 0&&(g!==e[l]||C==="progress"&&!g||C==="option"&&g!==y[l])&&Lt(e,l,g,y[l],!1),l="checked",v!==void 0&&v!==e[l]&&Lt(e,l,v,y[l],!1))}return e}function cn(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(o){w.__e(o,n)}}function ln(e,t,n){var o,r;if(w.unmount&&w.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||cn(o,null,t)),(o=e.__c)!=null){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(a){w.__e(a,t)}o.base=o.__P=null,e.__c=void 0}if(o=e.__k)for(r=0;r<o.length;r++)o[r]&&ln(o[r],t,n||typeof e.type!="function");n||e.__e==null||Or(e.__e),e.__=e.__e=e.__d=void 0}function yi(e,t,n){return this.constructor(e,n)}function Xe(e,t,n){var o,r,a,i;w.__&&w.__(e,t),r=(o=typeof n=="function")?null:n&&n.__k||t.__k,a=[],i=[],sn(t,e=(!o&&n||t).__k=J(O,null,[e]),r||ct,ct,t.ownerSVGElement!==void 0,!o&&n?[n]:r?null:t.firstChild?st.call(t.childNodes):null,a,!o&&n?n:r?r.__e:t.firstChild,o,i),Xr(a,e,i)}function Fr(e,t){Xe(e,t,Fr)}function mi(e,t,n){var o,r,a,i,s=ue({},e.props);for(a in e.type&&e.type.defaultProps&&(i=e.type.defaultProps),t)a=="key"?o=t[a]:a=="ref"?r=t[a]:s[a]=t[a]===void 0&&i!==void 0?i[a]:t[a];return arguments.length>2&&(s.children=arguments.length>3?st.call(arguments,2):n),lt(e.type,s,o||e.key,r||e.ref,null)}function un(e,t){var n={__c:t="__cC"+Lr++,__:e,Consumer:function(o,r){return o.children(r)},Provider:function(o){var r,a;return this.getChildContext||(r=[],(a={})[t]=this,this.getChildContext=function(){return a},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&r.some(function(s){s.__e=!0,an(s)})},this.sub=function(i){r.push(i);var s=i.componentWillUnmount;i.componentWillUnmount=function(){r.splice(r.indexOf(i),1),s&&s.call(i)}}),o.children}};return n.Provider.__=n.Consumer.contextType=n}st=zr.slice,w={__e:function(e,t,n,o){for(var r,a,i;t=t.__;)if((r=t.__c)&&!r.__)try{if((a=r.constructor)&&a.getDerivedStateFromError!=null&&(r.setState(a.getDerivedStateFromError(e)),i=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(e,o||{}),i=r.__d),i)return r.__E=r}catch(s){e=s}throw e}},jr=0,re.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=ue({},this.state),typeof e=="function"&&(e=e(ue({},n),this.props)),e&&ue(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),an(this))},re.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),an(this))},re.prototype.render=O,Le=[],Rr=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,on=function(e,t){return e.__v.__b-t.__v.__b},Rt.__r=0,Lr=0;var qr=/[\s\n\\/='"\0<>]/,Ur=/^(xlink|xmlns|xml)([A-Z])/,wi=/^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]/,xi=/^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/,ki=/["&<]/;function zt(e){if(e.length===0||ki.test(e)===!1)return e;for(var t=0,n=0,o="",r="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:r=""";break;case 38:r="&";break;case 60:r="<";break;default:continue}n!==t&&(o+=e.slice(t,n)),o+=r,t=n+1}return n!==t&&(o+=e.slice(t,n)),o}var Wr={},Ti=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"]),$i=/[A-Z]/g;function Mi(e){var t="";for(var n in e){var o=e[n];if(o!=null&&o!==""){var r=n[0]=="-"?n:Wr[n]||(Wr[n]=n.replace($i,"-$&").toLowerCase()),a=";";typeof o!="number"||r.startsWith("--")||Ti.has(r)||(a="px;"),t=t+r+":"+o+a}}return t||void 0}var dn,ze,ut,Oe,Yr=[],Jr=Array.isArray,fn=Object.assign;function Ei(e,t){var n=w.__s;w.__s=!0,dn=w.__b,ze=w.diffed,ut=w.__r,Oe=w.unmount;var o=J(O,null);o.__k=[e];try{return Ne(e,t||Zr,!1,void 0,o)}finally{w.__c&&w.__c(e,Yr),w.__s=n,Yr.length=0}}function Br(){this.__d=!0}var Zr={};function Kr(e,t){var n,o=e.type,r=!0;return e.__c?(r=!1,(n=e.__c).state=n.__s):n=new o(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,n.state==null&&(n.state=Zr),n.__s==null&&(n.__s=n.state),o.getDerivedStateFromProps?n.state=fn({},n.state,o.getDerivedStateFromProps(n.props,n.state)):r&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!r&&n.componentWillUpdate&&n.componentWillUpdate(),ut&&ut(e),n.render(n.props,n.state,t)}function Ne(e,t,n,o,r){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":zt(e+"");if(Jr(e)){var a="";r.__k=e;for(var i=0;i<e.length;i++){var s=e[i];s!=null&&typeof s!="boolean"&&(a+=Ne(s,t,n,o,r))}return a}if(e.constructor!==void 0)return"";e.__=r,dn&&dn(e);var u,l,d,c=e.type,f=e.props,p=t;if(typeof c=="function"){if(c===O){if(f.tpl){for(var g="",v=0;v<f.tpl.length;v++)if(g+=f.tpl[v],f.exprs&&v<f.exprs.length){var y=f.exprs[v];if(y==null)continue;typeof y!="object"||y.constructor!==void 0&&!Jr(y)?g+=y:g+=Ne(y,t,n,o,e)}return g}if(f.UNSTABLE_comment)return"<!--"+zt(f.UNSTABLE_comment||"")+"-->";l=f.children}else{if((u=c.contextType)!=null){var _=t[u.__c];p=_?_.props.value:u.__}if(c.prototype&&typeof c.prototype.render=="function")l=Kr(e,p),d=e.__c;else{e.__c=d={__v:e,props:f,context:p,setState:Br,forceUpdate:Br,__d:!0,__h:[]};for(var C=0;d.__d&&C++<25;)d.__d=!1,ut&&ut(e),l=c.call(d,f,p);d.__d=!0}if(d.getChildContext!=null&&(t=fn({},t,d.getChildContext())),(c.getDerivedStateFromError||d.componentDidCatch)&&w.errorBoundaries){var $="";l=l!=null&&l.type===O&&l.key==null?l.props.children:l;try{return $=Ne(l,t,n,o,e)}catch(z){return c.getDerivedStateFromError&&(d.__s=c.getDerivedStateFromError(z)),d.componentDidCatch&&d.componentDidCatch(z,{}),d.__d&&(l=Kr(e,t),(d=e.__c).getChildContext!=null&&(t=fn({},t,d.getChildContext())),$=Ne(l=l!=null&&l.type===O&&l.key==null?l.props.children:l,t,n,o,e)),$}finally{ze&&ze(e),e.__=void 0,Oe&&Oe(e)}}}var E=Ne(l=l!=null&&l.type===O&&l.key==null?l.props.children:l,t,n,o,e);return ze&&ze(e),e.__=void 0,Oe&&Oe(e),E}var j,M="<"+c,S="";for(var x in f){var k=f[x];switch(x){case"children":j=k;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in f)continue;x="for";break;case"className":if("class"in f)continue;x="class";break;case"defaultChecked":x="checked";break;case"defaultSelected":x="selected";break;case"defaultValue":case"value":switch(x="value",c){case"textarea":j=k;continue;case"select":o=k;continue;case"option":o!=k||"selected"in f||(M+=" selected")}break;case"dangerouslySetInnerHTML":S=k&&k.__html;continue;case"style":typeof k=="object"&&(k=Mi(k));break;case"acceptCharset":x="accept-charset";break;case"httpEquiv":x="http-equiv";break;default:if(Ur.test(x))x=x.replace(Ur,"$1:$2").toLowerCase();else{if(qr.test(x))continue;x[4]!=="-"&&x!=="draggable"||k==null?n?xi.test(x)&&(x=x==="panose1"?"panose-1":x.replace(/([A-Z])/g,"-$1").toLowerCase()):wi.test(x)&&(x=x.toLowerCase()):k+=""}}k!=null&&k!==!1&&typeof k!="function"&&(M=k===!0||k===""?M+" "+x:M+" "+x+'="'+zt(k+"")+'"')}if(qr.test(c))throw new Error(c+" is not a valid HTML tag name in "+M+">");return S||(typeof j=="string"?S=zt(j):j!=null&&j!==!1&&j!==!0&&(S=Ne(j,t,c==="svg"||c!=="foreignObject"&&n,o,e))),ze&&ze(e),e.__=void 0,Oe&&Oe(e),!S&&Ci.has(c)?M+"/>":M+">"+S+"</"+c+">"}var Ci=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),fe,N,pn,Gr,Fe=0,Qr=[],Ot=[],eo=w.__b,to=w.__r,no=w.diffed,ro=w.__c,oo=w.unmount;function Pe(e,t){w.__h&&w.__h(N,e,Fe||t),Fe=0;var n=N.__H||(N.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Ot}),n.__[e]}function qe(e){return Fe=1,hn(co,e)}function hn(e,t,n){var o=Pe(fe++,2);if(o.t=e,!o.__c&&(o.__=[n?n(t):co(void 0,t),function(s){var u=o.__N?o.__N[0]:o.__[0],l=o.t(u,s);u!==l&&(o.__N=[l,o.__[1]],o.__c.setState({}))}],o.__c=N,!N.u)){var r=function(s,u,l){if(!o.__c.__H)return!0;var d=o.__c.__H.__.filter(function(f){return f.__c});if(d.every(function(f){return!f.__N}))return!a||a.call(this,s,u,l);var c=!1;return d.forEach(function(f){if(f.__N){var p=f.__[0];f.__=f.__N,f.__N=void 0,p!==f.__[0]&&(c=!0)}}),!(!c&&o.__c.props===s)&&(!a||a.call(this,s,u,l))};N.u=!0;var a=N.shouldComponentUpdate,i=N.componentWillUpdate;N.componentWillUpdate=function(s,u,l){if(this.__e){var d=a;a=void 0,r(s,u,l),a=d}i&&i.call(this,s,u,l)},N.shouldComponentUpdate=r}return o.__N||o.__}function Ue(e,t){var n=Pe(fe++,3);!w.__s&&vn(n.__H,t)&&(n.__=e,n.i=t,N.__H.__h.push(n))}function We(e,t){var n=Pe(fe++,4);!w.__s&&vn(n.__H,t)&&(n.__=e,n.i=t,N.__h.push(n))}function ee(e){return Fe=5,dt(function(){return{current:e}},[])}function ao(e,t,n){Fe=6,We(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function dt(e,t){var n=Pe(fe++,7);return vn(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function ft(e,t){return Fe=8,dt(function(){return e},t)}function _n(e){var t=N.context[e.__c],n=Pe(fe++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(N)),t.props.value):e.__}function gn(e,t){w.useDebugValue&&w.useDebugValue(t?t(e):e)}function ji(e){var t=Pe(fe++,10),n=qe();return t.__=e,N.componentDidCatch||(N.componentDidCatch=function(o,r){t.__&&t.__(o,r),n[1](o)}),[n[0],function(){n[1](void 0)}]}function io(){var e=Pe(fe++,11);if(!e.__){for(var t=N.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Si(){for(var e;e=Qr.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Nt),e.__H.__h.forEach(bn),e.__H.__h=[]}catch(t){e.__H.__h=[],w.__e(t,e.__v)}}w.__b=function(e){N=null,eo&&eo(e)},w.__r=function(e){to&&to(e),fe=0;var t=(N=e.__c).__H;t&&(pn===N?(t.__h=[],N.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Ot,n.__N=n.i=void 0})):(t.__h.forEach(Nt),t.__h.forEach(bn),t.__h=[],fe=0)),pn=N},w.diffed=function(e){no&&no(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Qr.push(t)!==1&&Gr===w.requestAnimationFrame||((Gr=w.requestAnimationFrame)||Ri)(Si)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Ot&&(n.__=n.__V),n.i=void 0,n.__V=Ot})),pn=N=null},w.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Nt),n.__h=n.__h.filter(function(o){return!o.__||bn(o)})}catch(o){t.some(function(r){r.__h&&(r.__h=[])}),t=[],w.__e(o,n.__v)}}),ro&&ro(e,t)},w.unmount=function(e){oo&&oo(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(o){try{Nt(o)}catch(r){t=r}}),n.__H=void 0,t&&w.__e(t,n.__v))};var so=typeof requestAnimationFrame=="function";function Ri(e){var t,n=function(){clearTimeout(o),so&&cancelAnimationFrame(t),setTimeout(e)},o=setTimeout(n,100);so&&(t=requestAnimationFrame(n))}function Nt(e){var t=N,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),N=t}function bn(e){var t=N;e.__c=e.__(),N=t}function vn(e,t){return!e||e.length!==t.length||t.some(function(n,o){return n!==e[o]})}function co(e,t){return typeof t=="function"?t(e):t}function lo(e,t){for(var n in t)e[n]=t[n];return e}function yn(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var o in t)if(o!=="__source"&&e[o]!==t[o])return!0;return!1}function Pt(e){this.props=e}function uo(e,t){function n(r){var a=this.props.ref,i=a==r.ref;return!i&&a&&(a.call?a(null):a.current=null),t?!t(this.props,r)||!i:yn(this.props,r)}function o(r){return this.shouldComponentUpdate=n,J(e,r)}return o.displayName="Memo("+(e.displayName||e.name)+")",o.prototype.isReactComponent=!0,o.__f=!0,o}(Pt.prototype=new re).isPureReactComponent=!0,Pt.prototype.shouldComponentUpdate=function(e,t){return yn(this.props,e)||yn(this.state,t)};var fo=w.__b;w.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),fo&&fo(e)};var Li=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function po(e){function t(n){var o=lo({},n);return delete o.ref,e(o,n.ref||null)}return t.$$typeof=Li,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ho=function(e,t){return e==null?null:de(de(e).map(t))},_o={map:ho,forEach:ho,count:function(e){return e?de(e).length:0},only:function(e){var t=de(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:de},zi=w.__e;w.__e=function(e,t,n,o){if(e.then){for(var r,a=t;a=a.__;)if((r=a.__c)&&r.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}zi(e,t,n,o)};var go=w.unmount;function bo(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(o){typeof o.__c=="function"&&o.__c()}),e.__c.__H=null),(e=lo({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(o){return bo(o,t,n)})),e}function vo(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(o){return vo(o,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function pt(){this.__u=0,this.t=null,this.__b=null}function yo(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function mo(e){var t,n,o;function r(a){if(t||(t=e()).then(function(i){n=i.default||i},function(i){o=i}),o)throw o;if(!n)throw t;return J(n,a)}return r.displayName="Lazy",r.__f=!0,r}function Ye(){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),go&&go(e)},(pt.prototype=new re).__c=function(e,t){var n=t.__c,o=this;o.t==null&&(o.t=[]),o.t.push(n);var r=yo(o.__v),a=!1,i=function(){a||(a=!0,n.__R=null,r?r(s):s())};n.__R=i;var s=function(){if(!--o.__u){if(o.state.__a){var u=o.state.__a;o.__v.__k[0]=vo(u,u.__c.__P,u.__c.__O)}var l;for(o.setState({__a:o.__b=null});l=o.t.pop();)l.forceUpdate()}};o.__u++||32&t.__u||o.setState({__a:o.__b=o.__v.__k[0]}),e.then(i,i)},pt.prototype.componentWillUnmount=function(){this.t=[]},pt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=bo(this.__b,n,o.__O=o.__P)}this.__b=null}var r=t.__a&&J(O,null,e.fallback);return r&&(r.__u&=-33),[J(O,null,t.__a?null:e.children),r]};var wo=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Oi(e){return this.getChildContext=function(){return e.context},e.children}function Ni(e){var t=this,n=e.i;t.componentWillUnmount=function(){Xe(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(o){this.childNodes.push(o),t.i.appendChild(o)},insertBefore:function(o,r){this.childNodes.push(o),t.i.appendChild(o)},removeChild:function(o){this.childNodes.splice(this.childNodes.indexOf(o)>>>1,1),t.i.removeChild(o)}}),Xe(J(Oi,{context:t.context},e.__v),t.l)}function xo(e,t){var n=J(Ni,{__v:e,i:t});return n.containerInfo=t,n}(Ye.prototype=new re).__a=function(e){var t=this,n=yo(t.__v),o=t.o.get(e);return o[0]++,function(r){var a=function(){t.props.revealOrder?(o.push(r),wo(t,e,o)):r()};n?n(a):a()}},Ye.prototype.render=function(e){this.u=null,this.o=new Map;var t=de(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Ye.prototype.componentDidUpdate=Ye.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){wo(e,n,t)})};var ko=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Pi=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ai=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Di=/[A-Z0-9]/g,Hi=typeof document<"u",Ii=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function To(e,t,n){return t.__k==null&&(t.textContent=""),Xe(e,t),typeof n=="function"&&n(),e?e.__c:null}function $o(e,t,n){return Fr(e,t),typeof n=="function"&&n(),e?e.__c:null}re.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(re.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Mo=w.event;function Vi(){}function Xi(){return this.cancelBubble}function Fi(){return this.defaultPrevented}w.event=function(e){return Mo&&(e=Mo(e)),e.persist=Vi,e.isPropagationStopped=Xi,e.isDefaultPrevented=Fi,e.nativeEvent=e};var mn,qi={enumerable:!1,configurable:!0,get:function(){return this.class}},Eo=w.vnode;w.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,o=t.type,r={};for(var a in n){var i=n[a];if(!(a==="value"&&"defaultValue"in n&&i==null||Hi&&a==="children"&&o==="noscript"||a==="class"||a==="className")){var s=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&i===!0?i="":s==="ondoubleclick"?a="ondblclick":s!=="onchange"||o!=="input"&&o!=="textarea"||Ii(n.type)?s==="onfocus"?a="onfocusin":s==="onblur"?a="onfocusout":Ai.test(a)?a=s:o.indexOf("-")===-1&&Pi.test(a)?a=a.replace(Di,"-$&").toLowerCase():i===null&&(i=void 0):s=a="oninput",s==="oninput"&&r[a=s]&&(a="oninputCapture"),r[a]=i}}o=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=de(n.children).forEach(function(u){u.props.selected=r.value.indexOf(u.props.value)!=-1})),o=="select"&&r.defaultValue!=null&&(r.value=de(n.children).forEach(function(u){u.props.selected=r.multiple?r.defaultValue.indexOf(u.props.value)!=-1:r.defaultValue==u.props.value})),n.class&&!n.className?(r.class=n.class,Object.defineProperty(r,"className",qi)):(n.className&&!n.class||n.class&&n.className)&&(r.class=r.className=n.className),t.props=r}(e),e.$$typeof=ko,Eo&&Eo(e)};var Co=w.__r;w.__r=function(e){Co&&Co(e),mn=e.__c};var jo=w.diffed;w.diffed=function(e){jo&&jo(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),mn=null};var So={ReactCurrentDispatcher:{current:{readContext:function(e){return mn.__n[e.__c].props.value}}}},Ui="17.0.2";function Ro(e){return J.bind(null,e)}function ht(e){return!!e&&e.$$typeof===ko}function Lo(e){return ht(e)&&e.type===O}function zo(e){return ht(e)?mi.apply(null,arguments):e}function Oo(e){return!!e.__k&&(Xe(null,e),!0)}function No(e){return e&&(e.base||e.nodeType===1&&e)||null}var Po=function(e,t){return e(t)},Ao=function(e,t){return e(t)},Do=O;function wn(e){e()}function Ho(e){return e}function Io(){return[!1,wn]}var Vo=We,Xo=ht;function Fo(e,t){var n=t(),o=qe({h:{__:n,v:t}}),r=o[0].h,a=o[1];return We(function(){r.__=n,r.v=t,xn(r)&&a({h:r})},[e,n,t]),Ue(function(){return xn(r)&&a({h:r}),e(function(){xn(r)&&a({h:r})})},[e]),n}function xn(e){var t,n,o=e.v,r=e.__;try{var a=o();return!((t=r)===(n=a)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var At={useState:qe,useId:io,useReducer:hn,useEffect:Ue,useLayoutEffect:We,useInsertionEffect:Vo,useTransition:Io,useDeferredValue:Ho,useSyncExternalStore:Fo,startTransition:wn,useRef:ee,useImperativeHandle:ao,useMemo:dt,useCallback:ft,useContext:_n,useDebugValue:gn,version:"17.0.2",Children:_o,render:To,hydrate:$o,unmountComponentAtNode:Oo,createPortal:xo,createElement:J,createContext:un,createFactory:Ro,cloneElement:zo,createRef:Nr,Fragment:O,isValidElement:ht,isElement:Xo,isFragment:Lo,findDOMNode:No,Component:re,PureComponent:Pt,memo:uo,forwardRef:po,flushSync:Ao,unstable_batchedUpdates:Po,StrictMode:Do,Suspense:pt,SuspenseList:Ye,lazy:mo,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:So};const Wi=Object.freeze(Object.defineProperty({__proto__:null,Children:_o,Component:re,Fragment:O,PureComponent:Pt,StrictMode:Do,Suspense:pt,SuspenseList:Ye,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:So,cloneElement:zo,createContext:un,createElement:J,createFactory:Ro,createPortal:xo,createRef:Nr,default:At,findDOMNode:No,flushSync:Ao,forwardRef:po,hydrate:$o,isElement:Xo,isFragment:Lo,isValidElement:ht,lazy:mo,memo:uo,render:To,startTransition:wn,unmountComponentAtNode:Oo,unstable_batchedUpdates:Po,useCallback:ft,useContext:_n,useDebugValue:gn,useDeferredValue:Ho,useEffect:Ue,useErrorBoundary:ji,useId:io,useImperativeHandle:ao,useInsertionEffect:Vo,useLayoutEffect:We,useMemo:dt,useReducer:hn,useRef:ee,useState:qe,useSyncExternalStore:Fo,useTransition:Io,version:Ui},Symbol.toStringTag,{value:"Module"}));function Yi(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}),n}var kn={exports:{}},Tn={};const qo=Yi(Wi);/**
|
|
1
|
+
var vu=Object.defineProperty;var yu=(le,Q,Re)=>Q in le?vu(le,Q,{enumerable:!0,configurable:!0,writable:!0,value:Re}):le[Q]=Re;var _i=(le,Q,Re)=>(yu(le,typeof Q!="symbol"?Q+"":Q,Re),Re);(function(){"use strict";var le=e=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(e)}`)};function Q(e,t){if(!e)throw new Error(t)}var Re=e=>e,st,w,Cr,Le,Sr,Rr,on,Lr,ct={},zr=[],gi=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,St=Array.isArray;function ue(e,t){for(var n in t)e[n]=t[n];return e}function Or(e){var t=e.parentNode;t&&t.removeChild(e)}function J(e,t,n){var o,r,a,i={};for(a in t)a=="key"?o=t[a]:a=="ref"?r=t[a]:i[a]=t[a];if(arguments.length>2&&(i.children=arguments.length>3?st.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(a in e.defaultProps)i[a]===void 0&&(i[a]=e.defaultProps[a]);return lt(e,i,o,r,null)}function lt(e,t,n,o,r){var a={type:e,props:t,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:r??++Cr,__i:-1,__u:0};return r==null&&w.vnode!=null&&w.vnode(a),a}function Nr(){return{current:null}}function O(e){return e.children}function re(e,t){this.props=e,this.context=t}function Fe(e,t){if(t==null)return e.__?Fe(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?Fe(e):null}function Pr(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Pr(e)}}function an(e){(!e.__d&&(e.__d=!0)&&Le.push(e)&&!Rt.__r++||Sr!==w.debounceRendering)&&((Sr=w.debounceRendering)||Rr)(Rt)}function Rt(){var e,t,n,o,r,a,i,s,u;for(Le.sort(on);e=Le.shift();)e.__d&&(t=Le.length,o=void 0,a=(r=(n=e).__v).__e,s=[],u=[],(i=n.__P)&&((o=ue({},r)).__v=r.__v+1,w.vnode&&w.vnode(o),sn(i,o,r,n.__n,i.ownerSVGElement!==void 0,32&r.__u?[a]:null,s,a??Fe(r),!!(32&r.__u),u),o.__.__k[o.__i]=o,Xr(s,o,u),o.__e!=a&&Pr(o)),Le.length>t&&Le.sort(on));Rt.__r=0}function Ar(e,t,n,o,r,a,i,s,u,l,f){var c,d,p,_,v,y=o&&o.__k||zr,g=t.length;for(n.__d=u,bi(n,t,y),u=n.__d,c=0;c<g;c++)(p=n.__k[c])!=null&&typeof p!="boolean"&&typeof p!="function"&&(d=p.__i===-1?ct:y[p.__i]||ct,p.__i=c,sn(e,p,d,r,a,i,s,u,l,f),_=p.__e,p.ref&&d.ref!=p.ref&&(d.ref&&cn(d.ref,null,p),f.push(p.ref,p.__c||_,p)),v==null&&_!=null&&(v=_),65536&p.__u||d.__k===p.__k?u=Dr(p,u,e):typeof p.type=="function"&&p.__d!==void 0?u=p.__d:_&&(u=_.nextSibling),p.__d=void 0,p.__u&=-196609);n.__d=u,n.__e=v}function bi(e,t,n){var o,r,a,i,s,u=t.length,l=n.length,f=l,c=0;for(e.__k=[],o=0;o<u;o++)(r=e.__k[o]=(r=t[o])==null||typeof r=="boolean"||typeof r=="function"?null:typeof r=="string"||typeof r=="number"||typeof r=="bigint"||r.constructor==String?lt(null,r,null,null,r):St(r)?lt(O,{children:r},null,null,null):r.constructor===void 0&&r.__b>0?lt(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)!=null?(r.__=e,r.__b=e.__b+1,s=vi(r,n,i=o+c,f),r.__i=s,a=null,s!==-1&&(f--,(a=n[s])&&(a.__u|=131072)),a==null||a.__v===null?(s==-1&&c--,typeof r.type!="function"&&(r.__u|=65536)):s!==i&&(s===i+1?c++:s>i?f>u-i?c+=s-i:c--:c=s<i&&s==i-1?s-i:0,s!==o+c&&(r.__u|=65536))):(a=n[o])&&a.key==null&&a.__e&&(a.__e==e.__d&&(e.__d=Fe(a)),ln(a,a,!1),n[o]=null,f--);if(f)for(o=0;o<l;o++)(a=n[o])!=null&&!(131072&a.__u)&&(a.__e==e.__d&&(e.__d=Fe(a)),ln(a,a))}function Dr(e,t,n){var o,r;if(typeof e.type=="function"){for(o=e.__k,r=0;o&&r<o.length;r++)o[r]&&(o[r].__=e,t=Dr(o[r],t,n));return t}return e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function de(e,t){return t=t||[],e==null||typeof e=="boolean"||(St(e)?e.some(function(n){de(n,t)}):t.push(e)),t}function vi(e,t,n,o){var r=e.key,a=e.type,i=n-1,s=n+1,u=t[n];if(u===null||u&&r==u.key&&a===u.type)return n;if(o>(u!=null&&!(131072&u.__u)?1:0))for(;i>=0||s<t.length;){if(i>=0){if((u=t[i])&&!(131072&u.__u)&&r==u.key&&a===u.type)return i;i--}if(s<t.length){if((u=t[s])&&!(131072&u.__u)&&r==u.key&&a===u.type)return s;s++}}return-1}function Hr(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||gi.test(t)?n:n+"px"}function Lt(e,t,n,o,r){var a;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof o=="string"&&(e.style.cssText=o=""),o)for(t in o)n&&t in n||Hr(e.style,t,"");if(n)for(t in n)o&&n[t]===o[t]||Hr(e.style,t,n[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]=n,n?o?n.u=o.u:(n.u=Date.now(),e.addEventListener(t,a?Ir:Vr,a)):e.removeEventListener(t,a?Ir:Vr,a);else{if(r)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]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function Vr(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 Ir(e){return this.l[e.type+!0](w.event?w.event(e):e)}function sn(e,t,n,o,r,a,i,s,u,l){var f,c,d,p,_,v,y,g,j,$,E,C,M,S,x,k=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(u=!!(32&n.__u),a=[s=t.__e=n.__e]),(f=w.__b)&&f(t);e:if(typeof k=="function")try{if(g=t.props,j=(f=k.contextType)&&o[f.__c],$=f?j?j.props.value:f.__:o,n.__c?y=(c=t.__c=n.__c).__=c.__E:("prototype"in k&&k.prototype.render?t.__c=c=new k(g,$):(t.__c=c=new re(g,$),c.constructor=k,c.render=mi),j&&j.sub(c),c.props=g,c.state||(c.state={}),c.context=$,c.__n=o,d=c.__d=!0,c.__h=[],c._sb=[]),c.__s==null&&(c.__s=c.state),k.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=ue({},c.__s)),ue(c.__s,k.getDerivedStateFromProps(g,c.__s))),p=c.props,_=c.state,c.__v=t,d)k.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(k.getDerivedStateFromProps==null&&g!==p&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(g,$),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(g,c.__s,$)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=g,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(z){z&&(z.__=t)}),E=0;E<c._sb.length;E++)c.__h.push(c._sb[E]);c._sb=[],c.__h.length&&i.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(g,c.__s,$),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(p,_,v)})}if(c.context=$,c.props=g,c.__P=e,c.__e=!1,C=w.__r,M=0,"prototype"in k&&k.prototype.render){for(c.state=c.__s,c.__d=!1,C&&C(t),f=c.render(c.props,c.state,c.context),S=0;S<c._sb.length;S++)c.__h.push(c._sb[S]);c._sb=[]}else do c.__d=!1,C&&C(t),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++M<25);c.state=c.__s,c.getChildContext!=null&&(o=ue(ue({},o),c.getChildContext())),d||c.getSnapshotBeforeUpdate==null||(v=c.getSnapshotBeforeUpdate(p,_)),Ar(e,St(x=f!=null&&f.type===O&&f.key==null?f.props.children:f)?x:[x],t,n,o,r,a,i,s,u,l),c.base=t.__e,t.__u&=-161,c.__h.length&&i.push(c),y&&(c.__E=c.__=null)}catch(z){t.__v=null,u||a!=null?(t.__e=s,t.__u|=u?160:32,a[a.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),w.__e(z,t,n)}else a==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=yi(n.__e,t,n,o,r,a,i,u,l);(f=w.diffed)&&f(t)}function Xr(e,t,n){t.__d=void 0;for(var o=0;o<n.length;o++)cn(n[o],n[++o],n[++o]);w.__c&&w.__c(t,e),e.some(function(r){try{e=r.__h,r.__h=[],e.some(function(a){a.call(r)})}catch(a){w.__e(a,r.__v)}})}function yi(e,t,n,o,r,a,i,s,u){var l,f,c,d,p,_,v,y=n.props,g=t.props,j=t.type;if(j==="svg"&&(r=!0),a!=null){for(l=0;l<a.length;l++)if((p=a[l])&&"setAttribute"in p==!!j&&(j?p.localName===j:p.nodeType===3)){e=p,a[l]=null;break}}if(e==null){if(j===null)return document.createTextNode(g);e=r?document.createElementNS("http://www.w3.org/2000/svg",j):document.createElement(j,g.is&&g),a=null,s=!1}if(j===null)y===g||s&&e.data===g||(e.data=g);else{if(a=a&&st.call(e.childNodes),y=n.props||ct,!s&&a!=null)for(y={},l=0;l<e.attributes.length;l++)y[(p=e.attributes[l]).name]=p.value;for(l in y)p=y[l],l=="children"||(l=="dangerouslySetInnerHTML"?c=p:l==="key"||l in g||Lt(e,l,null,p,r));for(l in g)p=g[l],l=="children"?d=p:l=="dangerouslySetInnerHTML"?f=p:l=="value"?_=p:l=="checked"?v=p:l==="key"||s&&typeof p!="function"||y[l]===p||Lt(e,l,p,y[l],r);if(f)s||c&&(f.__html===c.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(c&&(e.innerHTML=""),Ar(e,St(d)?d:[d],t,n,o,r&&j!=="foreignObject",a,i,a?a[0]:n.__k&&Fe(n,0),s,u),a!=null)for(l=a.length;l--;)a[l]!=null&&Or(a[l]);s||(l="value",_!==void 0&&(_!==e[l]||j==="progress"&&!_||j==="option"&&_!==y[l])&&Lt(e,l,_,y[l],!1),l="checked",v!==void 0&&v!==e[l]&&Lt(e,l,v,y[l],!1))}return e}function cn(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(o){w.__e(o,n)}}function ln(e,t,n){var o,r;if(w.unmount&&w.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||cn(o,null,t)),(o=e.__c)!=null){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(a){w.__e(a,t)}o.base=o.__P=null,e.__c=void 0}if(o=e.__k)for(r=0;r<o.length;r++)o[r]&&ln(o[r],t,n||typeof e.type!="function");n||e.__e==null||Or(e.__e),e.__=e.__e=e.__d=void 0}function mi(e,t,n){return this.constructor(e,n)}function qe(e,t,n){var o,r,a,i;w.__&&w.__(e,t),r=(o=typeof n=="function")?null:n&&n.__k||t.__k,a=[],i=[],sn(t,e=(!o&&n||t).__k=J(O,null,[e]),r||ct,ct,t.ownerSVGElement!==void 0,!o&&n?[n]:r?null:t.firstChild?st.call(t.childNodes):null,a,!o&&n?n:r?r.__e:t.firstChild,o,i),Xr(a,e,i)}function Fr(e,t){qe(e,t,Fr)}function wi(e,t,n){var o,r,a,i,s=ue({},e.props);for(a in e.type&&e.type.defaultProps&&(i=e.type.defaultProps),t)a=="key"?o=t[a]:a=="ref"?r=t[a]:s[a]=t[a]===void 0&&i!==void 0?i[a]:t[a];return arguments.length>2&&(s.children=arguments.length>3?st.call(arguments,2):n),lt(e.type,s,o||e.key,r||e.ref,null)}function un(e,t){var n={__c:t="__cC"+Lr++,__:e,Consumer:function(o,r){return o.children(r)},Provider:function(o){var r,a;return this.getChildContext||(r=[],(a={})[t]=this,this.getChildContext=function(){return a},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&r.some(function(s){s.__e=!0,an(s)})},this.sub=function(i){r.push(i);var s=i.componentWillUnmount;i.componentWillUnmount=function(){r.splice(r.indexOf(i),1),s&&s.call(i)}}),o.children}};return n.Provider.__=n.Consumer.contextType=n}st=zr.slice,w={__e:function(e,t,n,o){for(var r,a,i;t=t.__;)if((r=t.__c)&&!r.__)try{if((a=r.constructor)&&a.getDerivedStateFromError!=null&&(r.setState(a.getDerivedStateFromError(e)),i=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(e,o||{}),i=r.__d),i)return r.__E=r}catch(s){e=s}throw e}},Cr=0,re.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=ue({},this.state),typeof e=="function"&&(e=e(ue({},n),this.props)),e&&ue(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),an(this))},re.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),an(this))},re.prototype.render=O,Le=[],Rr=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,on=function(e,t){return e.__v.__b-t.__v.__b},Rt.__r=0,Lr=0;var qr=/[\s\n\\/='"\0<>]/,Ur=/^(xlink|xmlns|xml)([A-Z])/,xi=/^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]/,ki=/^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/,Ti=/["&<]/;function zt(e){if(e.length===0||Ti.test(e)===!1)return e;for(var t=0,n=0,o="",r="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:r=""";break;case 38:r="&";break;case 60:r="<";break;default:continue}n!==t&&(o+=e.slice(t,n)),o+=r,t=n+1}return n!==t&&(o+=e.slice(t,n)),o}var Wr={},$i=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"]),Mi=/[A-Z]/g;function Ei(e){var t="";for(var n in e){var o=e[n];if(o!=null&&o!==""){var r=n[0]=="-"?n:Wr[n]||(Wr[n]=n.replace(Mi,"-$&").toLowerCase()),a=";";typeof o!="number"||r.startsWith("--")||$i.has(r)||(a="px;"),t=t+r+":"+o+a}}return t||void 0}var dn,ze,ut,Oe,Yr=[],Jr=Array.isArray,fn=Object.assign;function ji(e,t){var n=w.__s;w.__s=!0,dn=w.__b,ze=w.diffed,ut=w.__r,Oe=w.unmount;var o=J(O,null);o.__k=[e];try{return Ne(e,t||Zr,!1,void 0,o)}finally{w.__c&&w.__c(e,Yr),w.__s=n,Yr.length=0}}function Br(){this.__d=!0}var Zr={};function Kr(e,t){var n,o=e.type,r=!0;return e.__c?(r=!1,(n=e.__c).state=n.__s):n=new o(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,n.state==null&&(n.state=Zr),n.__s==null&&(n.__s=n.state),o.getDerivedStateFromProps?n.state=fn({},n.state,o.getDerivedStateFromProps(n.props,n.state)):r&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!r&&n.componentWillUpdate&&n.componentWillUpdate(),ut&&ut(e),n.render(n.props,n.state,t)}function Ne(e,t,n,o,r){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":zt(e+"");if(Jr(e)){var a="";r.__k=e;for(var i=0;i<e.length;i++){var s=e[i];s!=null&&typeof s!="boolean"&&(a+=Ne(s,t,n,o,r))}return a}if(e.constructor!==void 0)return"";e.__=r,dn&&dn(e);var u,l,f,c=e.type,d=e.props,p=t;if(typeof c=="function"){if(c===O){if(d.tpl){for(var _="",v=0;v<d.tpl.length;v++)if(_+=d.tpl[v],d.exprs&&v<d.exprs.length){var y=d.exprs[v];if(y==null)continue;typeof y!="object"||y.constructor!==void 0&&!Jr(y)?_+=y:_+=Ne(y,t,n,o,e)}return _}if(d.UNSTABLE_comment)return"<!--"+zt(d.UNSTABLE_comment||"")+"-->";l=d.children}else{if((u=c.contextType)!=null){var g=t[u.__c];p=g?g.props.value:u.__}if(c.prototype&&typeof c.prototype.render=="function")l=Kr(e,p),f=e.__c;else{e.__c=f={__v:e,props:d,context:p,setState:Br,forceUpdate:Br,__d:!0,__h:[]};for(var j=0;f.__d&&j++<25;)f.__d=!1,ut&&ut(e),l=c.call(f,d,p);f.__d=!0}if(f.getChildContext!=null&&(t=fn({},t,f.getChildContext())),(c.getDerivedStateFromError||f.componentDidCatch)&&w.errorBoundaries){var $="";l=l!=null&&l.type===O&&l.key==null?l.props.children:l;try{return $=Ne(l,t,n,o,e)}catch(z){return c.getDerivedStateFromError&&(f.__s=c.getDerivedStateFromError(z)),f.componentDidCatch&&f.componentDidCatch(z,{}),f.__d&&(l=Kr(e,t),(f=e.__c).getChildContext!=null&&(t=fn({},t,f.getChildContext())),$=Ne(l=l!=null&&l.type===O&&l.key==null?l.props.children:l,t,n,o,e)),$}finally{ze&&ze(e),e.__=void 0,Oe&&Oe(e)}}}var E=Ne(l=l!=null&&l.type===O&&l.key==null?l.props.children:l,t,n,o,e);return ze&&ze(e),e.__=void 0,Oe&&Oe(e),E}var C,M="<"+c,S="";for(var x in d){var k=d[x];switch(x){case"children":C=k;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in d)continue;x="for";break;case"className":if("class"in d)continue;x="class";break;case"defaultChecked":x="checked";break;case"defaultSelected":x="selected";break;case"defaultValue":case"value":switch(x="value",c){case"textarea":C=k;continue;case"select":o=k;continue;case"option":o!=k||"selected"in d||(M+=" selected")}break;case"dangerouslySetInnerHTML":S=k&&k.__html;continue;case"style":typeof k=="object"&&(k=Ei(k));break;case"acceptCharset":x="accept-charset";break;case"httpEquiv":x="http-equiv";break;default:if(Ur.test(x))x=x.replace(Ur,"$1:$2").toLowerCase();else{if(qr.test(x))continue;x[4]!=="-"&&x!=="draggable"||k==null?n?ki.test(x)&&(x=x==="panose1"?"panose-1":x.replace(/([A-Z])/g,"-$1").toLowerCase()):xi.test(x)&&(x=x.toLowerCase()):k+=""}}k!=null&&k!==!1&&typeof k!="function"&&(M=k===!0||k===""?M+" "+x:M+" "+x+'="'+zt(k+"")+'"')}if(qr.test(c))throw new Error(c+" is not a valid HTML tag name in "+M+">");return S||(typeof C=="string"?S=zt(C):C!=null&&C!==!1&&C!==!0&&(S=Ne(C,t,c==="svg"||c!=="foreignObject"&&n,o,e))),ze&&ze(e),e.__=void 0,Oe&&Oe(e),!S&&Ci.has(c)?M+"/>":M+">"+S+"</"+c+">"}var Ci=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),fe,N,pn,Gr,Ue=0,Qr=[],Ot=[],eo=w.__b,to=w.__r,no=w.diffed,ro=w.__c,oo=w.unmount;function Pe(e,t){w.__h&&w.__h(N,e,Ue||t),Ue=0;var n=N.__H||(N.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Ot}),n.__[e]}function Ae(e){return Ue=1,hn(co,e)}function hn(e,t,n){var o=Pe(fe++,2);if(o.t=e,!o.__c&&(o.__=[n?n(t):co(void 0,t),function(s){var u=o.__N?o.__N[0]:o.__[0],l=o.t(u,s);u!==l&&(o.__N=[l,o.__[1]],o.__c.setState({}))}],o.__c=N,!N.u)){var r=function(s,u,l){if(!o.__c.__H)return!0;var f=o.__c.__H.__.filter(function(d){return d.__c});if(f.every(function(d){return!d.__N}))return!a||a.call(this,s,u,l);var c=!1;return f.forEach(function(d){if(d.__N){var p=d.__[0];d.__=d.__N,d.__N=void 0,p!==d.__[0]&&(c=!0)}}),!(!c&&o.__c.props===s)&&(!a||a.call(this,s,u,l))};N.u=!0;var a=N.shouldComponentUpdate,i=N.componentWillUpdate;N.componentWillUpdate=function(s,u,l){if(this.__e){var f=a;a=void 0,r(s,u,l),a=f}i&&i.call(this,s,u,l)},N.shouldComponentUpdate=r}return o.__N||o.__}function De(e,t){var n=Pe(fe++,3);!w.__s&&vn(n.__H,t)&&(n.__=e,n.i=t,N.__H.__h.push(n))}function We(e,t){var n=Pe(fe++,4);!w.__s&&vn(n.__H,t)&&(n.__=e,n.i=t,N.__h.push(n))}function ee(e){return Ue=5,dt(function(){return{current:e}},[])}function ao(e,t,n){Ue=6,We(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function dt(e,t){var n=Pe(fe++,7);return vn(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function ft(e,t){return Ue=8,dt(function(){return e},t)}function _n(e){var t=N.context[e.__c],n=Pe(fe++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(N)),t.props.value):e.__}function gn(e,t){w.useDebugValue&&w.useDebugValue(t?t(e):e)}function Si(e){var t=Pe(fe++,10),n=Ae();return t.__=e,N.componentDidCatch||(N.componentDidCatch=function(o,r){t.__&&t.__(o,r),n[1](o)}),[n[0],function(){n[1](void 0)}]}function io(){var e=Pe(fe++,11);if(!e.__){for(var t=N.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Ri(){for(var e;e=Qr.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Nt),e.__H.__h.forEach(bn),e.__H.__h=[]}catch(t){e.__H.__h=[],w.__e(t,e.__v)}}w.__b=function(e){N=null,eo&&eo(e)},w.__r=function(e){to&&to(e),fe=0;var t=(N=e.__c).__H;t&&(pn===N?(t.__h=[],N.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Ot,n.__N=n.i=void 0})):(t.__h.forEach(Nt),t.__h.forEach(bn),t.__h=[],fe=0)),pn=N},w.diffed=function(e){no&&no(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Qr.push(t)!==1&&Gr===w.requestAnimationFrame||((Gr=w.requestAnimationFrame)||Li)(Ri)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Ot&&(n.__=n.__V),n.i=void 0,n.__V=Ot})),pn=N=null},w.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Nt),n.__h=n.__h.filter(function(o){return!o.__||bn(o)})}catch(o){t.some(function(r){r.__h&&(r.__h=[])}),t=[],w.__e(o,n.__v)}}),ro&&ro(e,t)},w.unmount=function(e){oo&&oo(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(o){try{Nt(o)}catch(r){t=r}}),n.__H=void 0,t&&w.__e(t,n.__v))};var so=typeof requestAnimationFrame=="function";function Li(e){var t,n=function(){clearTimeout(o),so&&cancelAnimationFrame(t),setTimeout(e)},o=setTimeout(n,100);so&&(t=requestAnimationFrame(n))}function Nt(e){var t=N,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),N=t}function bn(e){var t=N;e.__c=e.__(),N=t}function vn(e,t){return!e||e.length!==t.length||t.some(function(n,o){return n!==e[o]})}function co(e,t){return typeof t=="function"?t(e):t}function lo(e,t){for(var n in t)e[n]=t[n];return e}function yn(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var o in t)if(o!=="__source"&&e[o]!==t[o])return!0;return!1}function Pt(e){this.props=e}function uo(e,t){function n(r){var a=this.props.ref,i=a==r.ref;return!i&&a&&(a.call?a(null):a.current=null),t?!t(this.props,r)||!i:yn(this.props,r)}function o(r){return this.shouldComponentUpdate=n,J(e,r)}return o.displayName="Memo("+(e.displayName||e.name)+")",o.prototype.isReactComponent=!0,o.__f=!0,o}(Pt.prototype=new re).isPureReactComponent=!0,Pt.prototype.shouldComponentUpdate=function(e,t){return yn(this.props,e)||yn(this.state,t)};var fo=w.__b;w.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),fo&&fo(e)};var zi=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function po(e){function t(n){var o=lo({},n);return delete o.ref,e(o,n.ref||null)}return t.$$typeof=zi,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ho=function(e,t){return e==null?null:de(de(e).map(t))},_o={map:ho,forEach:ho,count:function(e){return e?de(e).length:0},only:function(e){var t=de(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:de},Oi=w.__e;w.__e=function(e,t,n,o){if(e.then){for(var r,a=t;a=a.__;)if((r=a.__c)&&r.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}Oi(e,t,n,o)};var go=w.unmount;function bo(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(o){typeof o.__c=="function"&&o.__c()}),e.__c.__H=null),(e=lo({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(o){return bo(o,t,n)})),e}function vo(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(o){return vo(o,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function pt(){this.__u=0,this.t=null,this.__b=null}function yo(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function mo(e){var t,n,o;function r(a){if(t||(t=e()).then(function(i){n=i.default||i},function(i){o=i}),o)throw o;if(!n)throw t;return J(n,a)}return r.displayName="Lazy",r.__f=!0,r}function Ye(){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),go&&go(e)},(pt.prototype=new re).__c=function(e,t){var n=t.__c,o=this;o.t==null&&(o.t=[]),o.t.push(n);var r=yo(o.__v),a=!1,i=function(){a||(a=!0,n.__R=null,r?r(s):s())};n.__R=i;var s=function(){if(!--o.__u){if(o.state.__a){var u=o.state.__a;o.__v.__k[0]=vo(u,u.__c.__P,u.__c.__O)}var l;for(o.setState({__a:o.__b=null});l=o.t.pop();)l.forceUpdate()}};o.__u++||32&t.__u||o.setState({__a:o.__b=o.__v.__k[0]}),e.then(i,i)},pt.prototype.componentWillUnmount=function(){this.t=[]},pt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=bo(this.__b,n,o.__O=o.__P)}this.__b=null}var r=t.__a&&J(O,null,e.fallback);return r&&(r.__u&=-33),[J(O,null,t.__a?null:e.children),r]};var wo=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Ni(e){return this.getChildContext=function(){return e.context},e.children}function Pi(e){var t=this,n=e.i;t.componentWillUnmount=function(){qe(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(o){this.childNodes.push(o),t.i.appendChild(o)},insertBefore:function(o,r){this.childNodes.push(o),t.i.appendChild(o)},removeChild:function(o){this.childNodes.splice(this.childNodes.indexOf(o)>>>1,1),t.i.removeChild(o)}}),qe(J(Ni,{context:t.context},e.__v),t.l)}function xo(e,t){var n=J(Pi,{__v:e,i:t});return n.containerInfo=t,n}(Ye.prototype=new re).__a=function(e){var t=this,n=yo(t.__v),o=t.o.get(e);return o[0]++,function(r){var a=function(){t.props.revealOrder?(o.push(r),wo(t,e,o)):r()};n?n(a):a()}},Ye.prototype.render=function(e){this.u=null,this.o=new Map;var t=de(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Ye.prototype.componentDidUpdate=Ye.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){wo(e,n,t)})};var ko=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Ai=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Di=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Hi=/[A-Z0-9]/g,Vi=typeof document<"u",Ii=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function To(e,t,n){return t.__k==null&&(t.textContent=""),qe(e,t),typeof n=="function"&&n(),e?e.__c:null}function $o(e,t,n){return Fr(e,t),typeof n=="function"&&n(),e?e.__c:null}re.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(re.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Mo=w.event;function Xi(){}function Fi(){return this.cancelBubble}function qi(){return this.defaultPrevented}w.event=function(e){return Mo&&(e=Mo(e)),e.persist=Xi,e.isPropagationStopped=Fi,e.isDefaultPrevented=qi,e.nativeEvent=e};var mn,Ui={enumerable:!1,configurable:!0,get:function(){return this.class}},Eo=w.vnode;w.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,o=t.type,r={};for(var a in n){var i=n[a];if(!(a==="value"&&"defaultValue"in n&&i==null||Vi&&a==="children"&&o==="noscript"||a==="class"||a==="className")){var s=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&i===!0?i="":s==="ondoubleclick"?a="ondblclick":s!=="onchange"||o!=="input"&&o!=="textarea"||Ii(n.type)?s==="onfocus"?a="onfocusin":s==="onblur"?a="onfocusout":Di.test(a)?a=s:o.indexOf("-")===-1&&Ai.test(a)?a=a.replace(Hi,"-$&").toLowerCase():i===null&&(i=void 0):s=a="oninput",s==="oninput"&&r[a=s]&&(a="oninputCapture"),r[a]=i}}o=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=de(n.children).forEach(function(u){u.props.selected=r.value.indexOf(u.props.value)!=-1})),o=="select"&&r.defaultValue!=null&&(r.value=de(n.children).forEach(function(u){u.props.selected=r.multiple?r.defaultValue.indexOf(u.props.value)!=-1:r.defaultValue==u.props.value})),n.class&&!n.className?(r.class=n.class,Object.defineProperty(r,"className",Ui)):(n.className&&!n.class||n.class&&n.className)&&(r.class=r.className=n.className),t.props=r}(e),e.$$typeof=ko,Eo&&Eo(e)};var jo=w.__r;w.__r=function(e){jo&&jo(e),mn=e.__c};var Co=w.diffed;w.diffed=function(e){Co&&Co(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),mn=null};var So={ReactCurrentDispatcher:{current:{readContext:function(e){return mn.__n[e.__c].props.value}}}},Wi="17.0.2";function Ro(e){return J.bind(null,e)}function ht(e){return!!e&&e.$$typeof===ko}function Lo(e){return ht(e)&&e.type===O}function zo(e){return ht(e)?wi.apply(null,arguments):e}function Oo(e){return!!e.__k&&(qe(null,e),!0)}function No(e){return e&&(e.base||e.nodeType===1&&e)||null}var Po=function(e,t){return e(t)},Ao=function(e,t){return e(t)},Do=O;function wn(e){e()}function Ho(e){return e}function Vo(){return[!1,wn]}var Io=We,Xo=ht;function Fo(e,t){var n=t(),o=Ae({h:{__:n,v:t}}),r=o[0].h,a=o[1];return We(function(){r.__=n,r.v=t,xn(r)&&a({h:r})},[e,n,t]),De(function(){return xn(r)&&a({h:r}),e(function(){xn(r)&&a({h:r})})},[e]),n}function xn(e){var t,n,o=e.v,r=e.__;try{var a=o();return!((t=r)===(n=a)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var At={useState:Ae,useId:io,useReducer:hn,useEffect:De,useLayoutEffect:We,useInsertionEffect:Io,useTransition:Vo,useDeferredValue:Ho,useSyncExternalStore:Fo,startTransition:wn,useRef:ee,useImperativeHandle:ao,useMemo:dt,useCallback:ft,useContext:_n,useDebugValue:gn,version:"17.0.2",Children:_o,render:To,hydrate:$o,unmountComponentAtNode:Oo,createPortal:xo,createElement:J,createContext:un,createFactory:Ro,cloneElement:zo,createRef:Nr,Fragment:O,isValidElement:ht,isElement:Xo,isFragment:Lo,findDOMNode:No,Component:re,PureComponent:Pt,memo:uo,forwardRef:po,flushSync:Ao,unstable_batchedUpdates:Po,StrictMode:Do,Suspense:pt,SuspenseList:Ye,lazy:mo,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:So};const Yi=Object.freeze(Object.defineProperty({__proto__:null,Children:_o,Component:re,Fragment:O,PureComponent:Pt,StrictMode:Do,Suspense:pt,SuspenseList:Ye,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:So,cloneElement:zo,createContext:un,createElement:J,createFactory:Ro,createPortal:xo,createRef:Nr,default:At,findDOMNode:No,flushSync:Ao,forwardRef:po,hydrate:$o,isElement:Xo,isFragment:Lo,isValidElement:ht,lazy:mo,memo:uo,render:To,startTransition:wn,unmountComponentAtNode:Oo,unstable_batchedUpdates:Po,useCallback:ft,useContext:_n,useDebugValue:gn,useDeferredValue:Ho,useEffect:De,useErrorBoundary:Si,useId:io,useImperativeHandle:ao,useInsertionEffect:Io,useLayoutEffect:We,useMemo:dt,useReducer:hn,useRef:ee,useState:Ae,useSyncExternalStore:Fo,useTransition:Vo,version:Wi},Symbol.toStringTag,{value:"Module"}));function Ji(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}),n}var kn={exports:{}},Tn={};const qo=Ji(Yi);/**
|
|
2
2
|
* @license React
|
|
3
3
|
* use-sync-external-store-shim.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@ var gu=Object.defineProperty;var bu=(le,Q,Re)=>Q in le?gu(le,Q,{enumerable:!0,co
|
|
|
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 Uo;function
|
|
9
|
+
*/var Uo;function Bi(){if(Uo)return Tn;Uo=1;var e=qo;function t(c,d){return c===d&&(c!==0||1/c===1/d)||c!==c&&d!==d}var n=typeof Object.is=="function"?Object.is:t,o=e.useState,r=e.useEffect,a=e.useLayoutEffect,i=e.useDebugValue;function s(c,d){var p=d(),_=o({inst:{value:p,getSnapshot:d}}),v=_[0].inst,y=_[1];return a(function(){v.value=p,v.getSnapshot=d,u(v)&&y({inst:v})},[c,p,d]),r(function(){return u(v)&&y({inst:v}),c(function(){u(v)&&y({inst:v})})},[c]),i(p),p}function u(c){var d=c.getSnapshot;c=c.value;try{var p=d();return!n(c,p)}catch{return!0}}function l(c,d){return d()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:s;return Tn.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,Tn}var $n={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* use-sync-external-store-shim.development.js
|
|
12
12
|
*
|
|
@@ -14,11 +14,11 @@ var gu=Object.defineProperty;var bu=(le,Q,Re)=>Q in le?gu(le,Q,{enumerable:!0,co
|
|
|
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 Wo;function Bi(){return Wo||(Wo=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=qo,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n($){{for(var E=arguments.length,j=new Array(E>1?E-1:0),M=1;M<E;M++)j[M-1]=arguments[M];o("error",$,j)}}function o($,E,j){{var M=t.ReactDebugCurrentFrame,S=M.getStackAddendum();S!==""&&(E+="%s",j=j.concat([S]));var x=j.map(function(k){return String(k)});x.unshift("Warning: "+E),Function.prototype.apply.call(console[$],console,x)}}function r($,E){return $===E&&($!==0||1/$===1/E)||$!==$&&E!==E}var a=typeof Object.is=="function"?Object.is:r,i=e.useState,s=e.useEffect,u=e.useLayoutEffect,l=e.useDebugValue,d=!1,c=!1;function f($,E,j){d||e.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 M=E();if(!c){var S=E();a(M,S)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var x=i({inst:{value:M,getSnapshot:E}}),k=x[0].inst,z=x[1];return u(function(){k.value=M,k.getSnapshot=E,p(k)&&z({inst:k})},[$,M,E]),s(function(){p(k)&&z({inst:k});var W=function(){p(k)&&z({inst:k})};return $(W)},[$]),l(M),M}function p($){var E=$.getSnapshot,j=$.value;try{var M=E();return!a(j,M)}catch{return!0}}function g($,E,j){return E()}var v=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",y=!v,_=y?g:f,C=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:_;$n.useSyncExternalStore=C,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),$n}process.env.NODE_ENV==="production"?kn.exports=Ji():kn.exports=Bi();var Zi=kn.exports;const xe=()=>{},G=xe(),Mn=Object,R=e=>e===G,pe=e=>typeof e=="function",ke=(e,t)=>({...e,...t}),Ki=e=>pe(e.then),Dt=new WeakMap;let Gi=0;const _t=e=>{const t=typeof e,n=e&&e.constructor,o=n==Date;let r,a;if(Mn(e)===e&&!o&&n!=RegExp){if(r=Dt.get(e),r)return r;if(r=++Gi+"~",Dt.set(e,r),n==Array){for(r="@",a=0;a<e.length;a++)r+=_t(e[a])+",";Dt.set(e,r)}if(n==Mn){r="#";const i=Mn.keys(e).sort();for(;!R(a=i.pop());)R(e[a])||(r+=a+":"+_t(e[a])+",");Dt.set(e,r)}}else r=o?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return r},he=new WeakMap,En={},Ht={},Cn="undefined",It=typeof window!=Cn,jn=typeof document!=Cn,Qi=()=>It&&typeof window.requestAnimationFrame!=Cn,Yo=(e,t)=>{const n=he.get(e);return[()=>!R(t)&&e.get(t)||En,o=>{if(!R(t)){const r=e.get(t);t in Ht||(Ht[t]=r),n[5](t,ke(r,o),r||En)}},n[6],()=>!R(t)&&t in Ht?Ht[t]:!R(t)&&e.get(t)||En]};let Sn=!0;const es=()=>Sn,[Rn,Ln]=It&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[xe,xe],ts=()=>{const e=jn&&document.visibilityState;return R(e)||e!=="hidden"},ns=e=>(jn&&document.addEventListener("visibilitychange",e),Rn("focus",e),()=>{jn&&document.removeEventListener("visibilitychange",e),Ln("focus",e)}),rs=e=>{const t=()=>{Sn=!0,e()},n=()=>{Sn=!1};return Rn("online",t),Rn("offline",n),()=>{Ln("online",t),Ln("offline",n)}},os={isOnline:es,isVisible:ts},as={initFocus:ns,initReconnect:rs},Jo=!At.useId,gt=!It||"Deno"in window,is=e=>Qi()?window.requestAnimationFrame(e):setTimeout(e,1),zn=gt?Ue:We,On=typeof navigator<"u"&&navigator.connection,Bo=!gt&&On&&(["slow-2g","2g"].includes(On.effectiveType)||On.saveData),Nn=e=>{if(pe(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?_t(e):"",[e,t]};let ss=0;const Pn=()=>++ss,Zo=0,Ko=1,Go=2;var bt={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:Zo,MUTATE_EVENT:Go,RECONNECT_EVENT:Ko};async function Qo(...e){const[t,n,o,r]=e,a=ke({populateCache:!0,throwOnError:!0},typeof r=="boolean"?{revalidate:r}:r||{});let i=a.populateCache;const s=a.rollbackOnError;let u=a.optimisticData;const l=a.revalidate!==!1,d=p=>typeof s=="function"?s(p):s!==!1,c=a.throwOnError;if(pe(n)){const p=n,g=[],v=t.keys();for(const y of v)!/^\$(inf|sub)\$/.test(y)&&p(t.get(y)._k)&&g.push(y);return Promise.all(g.map(f))}return f(n);async function f(p){const[g]=Nn(p);if(!g)return;const[v,y]=Yo(t,g),[_,C,$,E]=he.get(t),j=()=>{const I=_[g];return l&&(delete $[g],delete E[g],I&&I[0])?I[0](Go).then(()=>v().data):v().data};if(e.length<3)return j();let M=o,S;const x=Pn();C[g]=[x,0];const k=!R(u),z=v(),W=z.data,ae=z._c,ie=R(ae)?W:ae;if(k&&(u=pe(u)?u(ie,W):u,y({data:u,_c:ie})),pe(M))try{M=M(ie)}catch(I){S=I}if(M&&Ki(M))if(M=await M.catch(I=>{S=I}),x!==C[g][0]){if(S)throw S;return M}else S&&k&&d(S)&&(i=!0,y({data:ie,_c:G}));if(i&&!S)if(pe(i)){const I=i(M,ie);y({data:I,error:G,_c:G})}else y({data:M,error:G,_c:G});if(C[g][1]=Pn(),Promise.resolve(j()).then(()=>{y({_c:G})}),S){if(c)throw S;return}return M}}const ea=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},cs=(e,t)=>{if(!he.has(e)){const n=ke(as,t),o={},r=Qo.bind(G,e);let a=xe;const i={},s=(d,c)=>{const f=i[d]||[];return i[d]=f,f.push(c),()=>f.splice(f.indexOf(c),1)},u=(d,c,f)=>{e.set(d,c);const p=i[d];if(p)for(const g of p)g(c,f)},l=()=>{if(!he.has(e)&&(he.set(e,[o,{},{},{},r,u,s]),!gt)){const d=n.initFocus(setTimeout.bind(G,ea.bind(G,o,Zo))),c=n.initReconnect(setTimeout.bind(G,ea.bind(G,o,Ko)));a=()=>{d&&d(),c&&c(),he.delete(e)}}};return l(),[e,r,l,a]}return[e,he.get(e)[4]]},ls=(e,t,n,o,r)=>{const a=n.errorRetryCount,i=r.retryCount,s=~~((Math.random()+.5)*(1<<(i<8?i:8)))*n.errorRetryInterval;!R(a)&&i>a||setTimeout(o,s,r)},us=(e,t)=>_t(e)==_t(t),[ta,ds]=cs(new Map),fs=ke({onLoadingSlow:xe,onSuccess:xe,onError:xe,onErrorRetry:ls,onDiscarded:xe,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Bo?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Bo?5e3:3e3,compare:us,isPaused:()=>!1,cache:ta,mutate:ds,fallback:{}},os),ps=(e,t)=>{const n=ke(e,t);if(t){const{use:o,fallback:r}=e,{use:a,fallback:i}=t;o&&a&&(n.use=o.concat(a)),r&&i&&(n.fallback=ke(r,i))}return n},hs=un({}),_s="$inf$",na=It&&window.__SWR_DEVTOOLS_USE__,gs=na?window.__SWR_DEVTOOLS_USE__:[],bs=()=>{na&&(window.__SWR_DEVTOOLS_REACT__=At)},vs=e=>pe(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],ys=()=>ke(fs,_n(hs)),ms=e=>(t,n,o)=>e(t,n&&((...a)=>{const[i]=Nn(t),[,,,s]=he.get(ta);if(i.startsWith(_s))return n(...a);const u=s[i];return R(u)?n(...a):(delete s[i],u)}),o),ws=gs.concat(ms),xs=e=>function(...n){const o=ys(),[r,a,i]=vs(n),s=ps(o,i);let u=e;const{use:l}=s,d=(l||[]).concat(ws);for(let c=d.length;c--;)u=d[c](u);return u(r,a||s.fetcher||null,s)},ks=(e,t,n)=>{const o=t[e]||(t[e]=[]);return o.push(n),()=>{const r=o.indexOf(n);r>=0&&(o[r]=o[o.length-1],o.pop())}};bs();const ra=At.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)}),An={dedupe:!0},Ts=xs((e,t,n)=>{const{cache:o,compare:r,suspense:a,fallbackData:i,revalidateOnMount:s,revalidateIfStale:u,refreshInterval:l,refreshWhenHidden:d,refreshWhenOffline:c,keepPreviousData:f}=n,[p,g,v,y]=he.get(o),[_,C]=Nn(e),$=ee(!1),E=ee(!1),j=ee(_),M=ee(t),S=ee(n),x=()=>S.current,k=()=>x().isVisible()&&x().isOnline(),[z,W,ae,ie]=Yo(o,_),I=ee({}).current,$r=R(i)?n.fallback[_]:i,Et=(P,A)=>{for(const Y in I){const D=Y;if(D==="data"){if(!r(P[D],A[D])&&(!R(P[D])||!r(ot,A[D])))return!1}else if(A[D]!==P[D])return!1}return!0},tt=dt(()=>{const P=(()=>!_||!t?!1:R(s)?x().isPaused()||a?!1:R(u)?!0:u:s)(),A=K=>{const me=ke(K);return delete me._k,P?{isValidating:!0,isLoading:!0,...me}:me},Y=z(),D=ie(),ce=A(Y),it=Y===D?ce:A(D);let q=ce;return[()=>{const K=A(z());return Et(K,q)?(q.data=K.data,q.isLoading=K.isLoading,q.isValidating=K.isValidating,q.error=K.error,q):(q=K,K)},()=>it]},[o,_]),ve=Zi.useSyncExternalStore(ft(P=>ae(_,(A,Y)=>{Et(Y,A)||P()}),[o,_]),tt[0],tt[1]),nt=!$.current,Mr=p[_]&&p[_].length>0,ye=ve.data,se=R(ye)?$r:ye,Ie=ve.error,rt=ee(se),ot=f?R(ye)?rt.current:ye:se,Ct=(()=>Mr&&!R(Ie)?!1:nt&&!R(s)?s:x().isPaused()?!1:a?R(se)?!1:u:R(se)||u)(),at=!!(_&&t&&nt&&Ct),pu=R(ve.isValidating)?at:ve.isValidating,hu=R(ve.isLoading)?at:ve.isLoading,jt=ft(async P=>{const A=M.current;if(!_||!A||E.current||x().isPaused())return!1;let Y,D,ce=!0;const it=P||{},q=!v[_]||!it.dedupe,K=()=>Jo?!E.current&&_===j.current&&$.current:_===j.current,me={isValidating:!1,isLoading:!1},di=()=>{W(me)},fi=()=>{const ne=v[_];ne&&ne[1]===D&&delete v[_]},pi={isValidating:!0};R(z().data)&&(pi.isLoading=!0);try{if(q&&(W(pi),n.loadingTimeout&&R(z().data)&&setTimeout(()=>{ce&&K()&&x().onLoadingSlow(_,n)},n.loadingTimeout),v[_]=[A(C),Pn()]),[Y,D]=v[_],Y=await Y,q&&setTimeout(fi,n.dedupingInterval),!v[_]||v[_][1]!==D)return q&&K()&&x().onDiscarded(_),!1;me.error=G;const ne=g[_];if(!R(ne)&&(D<=ne[0]||D<=ne[1]||ne[1]===0))return di(),q&&K()&&x().onDiscarded(_),!1;const we=z().data;me.data=r(we,Y)?we:Y,q&&K()&&x().onSuccess(Y,_,n)}catch(ne){fi();const we=x(),{shouldRetryOnError:Er}=we;we.isPaused()||(me.error=ne,q&&K()&&(we.onError(ne,_,we),(Er===!0||pe(Er)&&Er(ne))&&k()&&we.onErrorRetry(ne,_,we,_u=>{const Cr=p[_];Cr&&Cr[0]&&Cr[0](bt.ERROR_REVALIDATE_EVENT,_u)},{retryCount:(it.retryCount||0)+1,dedupe:!0})))}return ce=!1,di(),!0},[_,o]),ui=ft((...P)=>Qo(o,j.current,...P),[]);if(zn(()=>{M.current=t,S.current=n,R(ye)||(rt.current=ye)}),zn(()=>{if(!_)return;const P=jt.bind(G,An);let A=0;const D=ks(_,p,(ce,it={})=>{if(ce==bt.FOCUS_EVENT){const q=Date.now();x().revalidateOnFocus&&q>A&&k()&&(A=q+x().focusThrottleInterval,P())}else if(ce==bt.RECONNECT_EVENT)x().revalidateOnReconnect&&k()&&P();else{if(ce==bt.MUTATE_EVENT)return jt();if(ce==bt.ERROR_REVALIDATE_EVENT)return jt(it)}});return E.current=!1,j.current=_,$.current=!0,W({_k:C}),Ct&&(R(se)||gt?P():is(P)),()=>{E.current=!0,D()}},[_]),zn(()=>{let P;function A(){const D=pe(l)?l(z().data):l;D&&P!==-1&&(P=setTimeout(Y,D))}function Y(){!z().error&&(d||x().isVisible())&&(c||x().isOnline())?jt(An).then(A):A()}return A(),()=>{P&&(clearTimeout(P),P=-1)}},[l,d,c,_]),gn(ot),a&&R(se)&&_){if(!Jo&>)throw new Error("Fallback data is required when using suspense in SSR.");M.current=t,S.current=n,E.current=!1;const P=y[_];if(!R(P)){const A=ui(P);ra(A)}if(R(Ie)){const A=jt(An);R(ot)||(A.status="fulfilled",A.value=!0),ra(A)}else throw Ie}return{mutate:ui,get data(){return I.data=!0,ot},get error(){return I.error=!0,Ie},get isValidating(){return I.isValidating=!0,pu},get isLoading(){return I.isLoading=!0,hu}}});var $s=class extends Error{constructor(t){super(t[0].message);hi(this,"issues");this.name="ValiError",this.issues=t}};function Vt(e){return{issues:e}}function vt(e){return{output:e}}function Ms(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 Es(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 Te(e,t,n,o){if(!t||!t.length||n!=null&&n.skipPipe)return vt(e);let r,a,i=e;for(const s of t){const u=s._parse(i);if(u.issues){r=r||Es(n,o);for(const l of u.issues){const d=Ms(r,l);a?a.push(d):a=[d]}if(r.abortEarly||r.abortPipeEarly)break}else i=u.output}return a?Vt(a):vt(i)}function $e(e,t){return Array.isArray(e)?[void 0,e]:[e,t]}function Cs(e){return typeof e=="function"?e():e}function js(e,t,n){if(!e||typeof e=="object"&&!Array.isArray(e)){const[a,i]=$e(t,n);return[e,a,i]}const[o,r]=$e(e,t);return[void 0,o,r]}function Me(e,t,n,o,r,a){return{issues:[{reason:t,validation:n,origin:(e==null?void 0:e.origin)||"value",message:Cs(o),input:r,issues:a,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}]}}function Ss(e){return typeof e.default=="function"?e.default():e.default}function Rs(e){return{type:"any",async:!1,pipe:e,_parse(t,n){return Te(t,this.pipe,n,"any")}}}function oa(e,t,n){const[o="Invalid type",r]=$e(t,n);return{type:"array",async:!1,item:e,message:o,pipe:r,_parse(a,i){if(!Array.isArray(a))return Me(i,"type","array",this.message,a);let s;const u=[];for(let l=0;l<a.length;l++){const d=a[l],c=this.item._parse(d,i);if(c.issues){const f={type:"array",input:a,key:l,value:d};for(const p of c.issues)p.path?p.path.unshift(f):p.path=[f],s==null||s.push(p);if(s||(s=c.issues),i!=null&&i.abortEarly)break}else u.push(c.output)}return s?Vt(s):Te(u,this.pipe,i,"array")}}}function aa(e,t){const[n="Invalid type",o]=$e(e,t);return{type:"boolean",async:!1,message:n,pipe:o,_parse(r,a){return typeof r!="boolean"?Me(a,"type","boolean",this.message,r):Te(r,this.pipe,a,"boolean")}}}function B(e,t="Invalid type"){return{type:"literal",async:!1,literal:e,message:t,_parse(n,o){return n!==this.literal?Me(o,"type","literal",this.message,n):vt(n)}}}function Dn(e,t){return{type:"nullable",async:!1,wrapped:e,default:t,_parse(n,o){if(n===null){const r=Ss(this);if(r===void 0)return vt(n);n=r}return this.wrapped._parse(n,o)}}}function Ae(e,t){const[n="Invalid type",o]=$e(e,t);return{type:"number",async:!1,message:n,pipe:o,_parse(r,a){return typeof r!="number"||isNaN(r)?Me(a,"type","number",this.message,r):Te(r,this.pipe,a,"number")}}}function yt(e,t,n,o){const[r,a="Invalid type",i]=js(t,n,o);let s;return{type:"object",async:!1,entries:e,rest:r,message:a,pipe:i,_parse(u,l){if(!u||typeof u!="object")return Me(l,"type","object",this.message,u);s=s||Object.entries(this.entries);let d;const c={};for(const[f,p]of s){const g=u[f],v=p._parse(g,l);if(v.issues){const y={type:"object",input:u,key:f,value:g};for(const _ of v.issues)_.path?_.path.unshift(y):_.path=[y],d==null||d.push(_);if(d||(d=v.issues),l!=null&&l.abortEarly)break}else(v.output!==void 0||f in u)&&(c[f]=v.output)}if(this.rest&&!(l!=null&&l.abortEarly&&d)){for(const f in u)if(!(f in this.entries)){const p=u[f],g=this.rest._parse(p,l);if(g.issues){const v={type:"object",input:u,key:f,value:p};for(const y of g.issues)y.path?y.path.unshift(v):y.path=[v],d==null||d.push(y);if(d||(d=g.issues),l!=null&&l.abortEarly)break}else c[f]=g.output}}return d?Vt(d):Te(c,this.pipe,l,"object")}}}function te(e,t){const[n="Invalid type",o]=$e(e,t);return{type:"string",async:!1,message:n,pipe:o,_parse(r,a){return typeof r!="string"?Me(a,"type","string",this.message,r):Te(r,this.pipe,a,"string")}}}function Ls(e,t,n,o){if(typeof t=="object"&&!Array.isArray(t)){const[i,s]=$e(n,o);return[e,t,i,s]}const[r,a]=$e(t,n);return[te(),e,r,a]}var zs=["__proto__","prototype","constructor"];function ia(e,t,n,o){const[r,a,i="Invalid type",s]=Ls(e,t,n,o);return{type:"record",async:!1,key:r,value:a,message:i,pipe:s,_parse(u,l){if(!u||typeof u!="object")return Me(l,"type","record",this.message,u);let d;const c={};for(const[f,p]of Object.entries(u))if(!zs.includes(f)){let g;const v=this.key._parse(f,{origin:"key",abortEarly:l==null?void 0:l.abortEarly,abortPipeEarly:l==null?void 0:l.abortPipeEarly,skipPipe:l==null?void 0:l.skipPipe});if(v.issues){g={type:"record",input:u,key:f,value:p};for(const _ of v.issues)_.path=[g],d==null||d.push(_);if(d||(d=v.issues),l!=null&&l.abortEarly)break}const y=this.value._parse(p,l);if(y.issues){g=g||{type:"record",input:u,key:f,value:p};for(const _ of y.issues)_.path?_.path.unshift(g):_.path=[g],d==null||d.push(_);if(d||(d=y.issues),l!=null&&l.abortEarly)break}!v.issues&&!y.issues&&(c[v.output]=y.output)}return d?Vt(d):Te(c,this.pipe,l,"record")}}}function Hn(e,t="Invalid type"){return{type:"union",async:!1,options:e,message:t,_parse(n,o){let r,a;for(const i of this.options){const s=i._parse(n,o);if(s.issues)if(r)for(const u of s.issues)r.push(u);else r=s.issues;else{a=[s.output];break}}return a?vt(a[0]):Me(o,"type","union",this.message,n,r)}}}function Os(e,t,n){const o=e._parse(t,n);if(o.issues)throw new $s(o.issues);return o.output}function Ns(e,t,n){return{...e,_parse(o,r){const a=e._parse(o,r);if(a.issues)return a;const i=t(a.output);return n&&!Array.isArray(n)?n._parse(i,r):Te(i,n,r,typeof i)}}}const Ps=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),As=({from:e=new Date,to:t,formatter:n=Ps})=>{const r=(t instanceof Date?t:new Date(t)).getTime()-e.getTime(),a={days:Math.round(r/1e3/60/60/24),months:Math.round(r/1e3/60/60/24/30)};return a.days===0?"today":Math.abs(a.days)<30?n.format(a.days,"days"):Math.abs(a.days)<3?n.format(a.months,"months"):a.months<0?"a long time ago":"in a long time"},Ds=1e3*60*60*24*7,Hs=ia(oa(te())),Is=yt({total:Ae(),current_page:Ae(),per_page:Ae(),last_page:Ae()}),sa={ANNUALY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},Vs=yt({id:Ae(),company_name:te(),company_logo:te(),employment_type:Hn([B("FULL_TIME"),B("PART_TIME"),B("TEMPORARY"),B("CONTRACTOR"),B("INTERN"),B("VOLUNTEER"),B("OTHER")]),location_type:Hn([B("LOCATION"),B("REMOTE"),B("HYBRID")]),pay_type:Hn([B("ANNUALY"),B("HOURLY"),B("MONTHLY"),B("WEEKLY"),B("DAILY")]),pay_currency:te(),pay_mask:aa(),pay_display:aa(),pay:te(),pay_min:Dn(te()),pay_max:Dn(te()),description:te(),title:te(),coordinates:yt({lat:Ae(),lng:Ae()}),contract_type:Dn(te()),created_at:te(),custom_data:ia(Rs())}),Xs=Ns(Vs,e=>{const t=new Date(e.created_at).getTime()>Date.now()-Ds,n=new Intl.NumberFormat(void 0,{style:"currency",currency:e.pay_currency});return{id:e.id,isNew:t,company:{name:e.company_name,logo:e.company_logo},employmentType:e.employment_type,locationType:e.location_type,pay:e.pay_display?e.pay_mask?"Competitive":e.pay_max&&e.pay_min?[n.formatRange(+e.pay_min,+e.pay_max),sa[e.pay_type]].join(" "):[n.format(+e.pay),sa[e.pay_type]].join(" "):void 0,description:e.description,title:e.title,coordinates:e.coordinates,contractType:e.contract_type,relativePostedDate:As({to:new Date(e.created_at)}),customData:e.custom_data}}),Fs=yt({data:yt({results:oa(Xs),available_properties:Hs}),pagination:Is}),qs=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[t,(n==null?void 0:n.value)??null])),Us=async({apiClient:e,logger:t,signal:n,filters:o})=>{try{console.log(o);const r=await e.fetch("/search",{method:"POST",body:JSON.stringify({query:"Customer Service",filters:qs(o)}),signal:n});return Os(Fs,r)}catch(r){throw t.error(r),r}},ca="inploi-job-search",la="ijs";function ua(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=ua(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function In(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=ua(e))&&(o&&(o+=" "),o+=t);return o}const da=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,Ws=e=>{const t=function(){for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];var s,u;return typeof(e==null||(s=e.hooks)===null||s===void 0?void 0:s["cx:done"])<"u"?e==null?void 0:e.hooks["cx:done"](In(a)):typeof(e==null||(u=e.hooks)===null||u===void 0?void 0:u.onComplete)<"u"?e==null?void 0:e.hooks.onComplete(In(a)):In(a)};return{compose:function(){for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return s=>{const u=Object.fromEntries(Object.entries(s||{}).filter(l=>{let[d]=l;return!["class","className"].includes(d)}));return t(a.map(l=>l(u)),s==null?void 0:s.class,s==null?void 0:s.className)}},cva:r=>a=>{var i;if((r==null?void 0:r.variants)==null)return t(r==null?void 0:r.base,a==null?void 0:a.class,a==null?void 0:a.className);const{variants:s,defaultVariants:u}=r,l=Object.keys(s).map(f=>{const p=a==null?void 0:a[f],g=u==null?void 0:u[f],v=da(p)||da(g);return s[f][v]}),d={...u,...a&&Object.entries(a).reduce((f,p)=>{let[g,v]=p;return typeof v>"u"?f:{...f,[g]:v}},{})},c=r==null||(i=r.compoundVariants)===null||i===void 0?void 0:i.reduce((f,p)=>{let{class:g,className:v,...y}=p;return Object.entries(y).every(_=>{let[C,$]=_;const E=d[C];return Array.isArray($)?$.includes(E):E===$})?[...f,g,v]:f},[]);return t(r==null?void 0:r.base,l,c,a==null?void 0:a.class,a==null?void 0:a.className)},cx:t}},{compose:mu,cva:Ee,cx:wu}=Ws();var Ys=0;function h(e,t,n,o,r,a){var i,s,u={};for(s in t)s=="ref"?i=t[s]:u[s]=t[s];var l={type:e,props:u,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Ys,__i:-1,__u:0,__source:r,__self:a};if(typeof e=="function"&&(i=e.defaultProps))for(s in i)u[s]===void 0&&(u[s]=i[s]);return w.vnode&&w.vnode(l),l}const Js={briefcase:h(O,{children:[h("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"}),h("path",{d:"M4.75 11.75H19.25"}),h("path",{d:"M13.25 12.25V13.25H10.75V12.25H13.25Z"}),h("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:h(O,{children:[h("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"}),h("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"}),h("path",{d:"M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"}),h("path",{d:"M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"}),h("path",{d:"M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"}),h("circle",{cx:"18.75",cy:"12",r:"2"}),h("circle",{cx:"5.25",cy:"12",r:"2"})]}),building:h(O,{children:[h("path",{d:"M16.75 10.25H13.75"}),h("path",{d:"M16.75 13.25H13.75"}),h("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"}),h("path",{d:"M10.25 12.25V18.25"})]}),circles:h(O,{children:[h("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"}),h("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:h(O,{children:[h("path",{d:"M14 9L12 13L9.5 12"}),h("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:h(O,{children:h("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:h(O,{children:[h("path",{d:"M5 13.75H19"}),h("path",{d:"M5 10.25H19"}),h("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"}),h("circle",{cx:"12",cy:"12",r:"7.25"})]}),magnifier:h(O,{children:[h("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"}),h("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"}),h("path",{d:"M16 16L19 19"})]}),mapPin:h(O,{children:h(O,{children:[h("circle",{cx:"12",cy:"9",r:"2"}),h("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"}),h("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:h(O,{children:[h("path",{d:"M18.5 8.5L17.5 9.5"}),h("path",{d:"M5.5 8.5L6.5 9.5"}),h("path",{d:"M12 6L12 7.5"}),h("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"}),h("path",{d:"M20.25 15.25H12H3.75"}),h("path",{d:"M16.25 18.25H12L7.75 18.25"})]}),x:h("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-right":h("path",{d:"M11 8L15 12L11 16"})},Bs=({theme:e})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:h("defs",{children:Object.entries(Js).map(([t,n])=>h("symbol",{id:`i-icon-${t}`,children:h("g",{fill:"none","stroke-width":e.mode==="dark"&&e.highcontrast!=!0?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),Xt=({name:e,...t})=>h("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:h("use",{href:`#i-icon-${e}`})}),Zs=Ee({base:"flex min-w-0 rounded-section ring-width-section transition-all duration-1000 ease-expo-out",variants:{hasValue:{false:"bg-section-weak-bg ring-section-weak-stroke",true:"bg-section-strong-bg ring-section-strong-stroke"}}}),Ks=Ee({base:"font-style-filter font-family-filter font-weight-filter text-style-filter",variants:{hasValue:{false:"text-copy-neutral",true:"text-copy-accent"}}}),Gs=Ee({base:"",variants:{hasValue:{false:"text-copy-neutral-icon",true:"text-copy-accent-icon"}}}),Vn=Ee({base:"ease-expo-out block cursor-pointer truncate fr ring-px font-style-tag font-family-tag font-weight-tag text-style-tag rounded-interactive whitespace-nowrap transition-all duration-300 active:scale-95",variants:{active:{false:"text-tag-neutral-strong-copy bg-tag-neutral-strong-bg ring-tag-neutral-strong-stroke",true:"text-tag-accent-strong-copy bg-tag-accent-strong-bg ring-tag-accent-strong-stroke"},size:{sm:"px-3 py-1",lg:"px-5 py-2"}}}),Qs=Ee({base:"fr animate-selected-tag touch-hitbox text-style-filter ease-expo-out rounded-interactive relative flex cursor-pointer items-center py-1 pl-3 pr-1 transition-all duration-300 active:scale-95",variants:{hasValue:{false:"hover:bg-interactive-neutral-bg-hover text-interactive-neutral-text",true:"hover:bg-interactive-accent-bg-hover text-interactive-accent-text"}}}),ec=({filterKey:e,title:t,active:n,current:o,onValueChange:r,suggestions:a,onActiveChange:i,onSkip:s,icon:u,state:l})=>{const d=typeof o.value=="string"?[o.value]:o.value??[],c=d.length>0,f=c&&n==!1;return h("section",{"data-filter-key":e,role:"tab","aria-label":t,"aria-selected":n?"true":void 0,class:Zs({hasValue:c}),children:[h("div",{class:"w-full min-w-0 flex-1",children:[h("button",{"aria-label":n?"Close filter":"Open filter",class:"ease-expo-out fr rounded-section flex w-full items-center gap-2 px-4 py-4 transition-all duration-300",onClick:()=>i(!n),children:[h(Xt,{class:Gs({hasValue:c}),name:u}),h("p",{class:Ks({hasValue:c}),children:t})]}),h(nc,{active:n,current:o,onValueChange:r,suggestions:a,onActiveChange:i,onSkip:s,state:l,selectedValues:d})]}),f&&h("div",{class:"flex flex-none items-center justify-center p-4",children:h("button",{"aria-label":"Clear",class:"fr touch-hitbox ease-expo-out hover:bg-interactive-accent-bg-hover text-interactive-accent-text rounded-interactive relative cursor-pointer p-1 transition-all duration-300 active:scale-95",onClick:()=>r(void 0),children:h(Xt,{name:"x"})})})]})},tc=(e,t)=>{const n=e.indexOf(t);return n===-1?[...e,t]:e.filter((o,r)=>r!==n)},nc=({active:e,suggestions:t,current:n,onValueChange:o,onActiveChange:r,onSkip:a,state:i,selectedValues:s})=>{const u=ee(null),l=s.length>0;return e?h("div",{class:"-mt-4 pt-2",children:[h("ul",{"aria-label":"Filter options",class:"hide-scrollbars flex select-none gap-1.5 overflow-x-auto px-4 pb-1 pt-2",children:i==="loading"?h("li",{"aria-hidden":!0,class:Vn({size:"lg",active:!1,class:"animate-skeleton"}),children:h("span",{class:"inline-block w-[10ch]"})}):t.map((d,c)=>{const f=s.includes(d.value);return h("li",{style:{animationDelay:c*.01+"s"},class:"animate-appear-tag origin-top",children:h("button",{"data-filter":!0,"data-current-value":f?"true":void 0,onClick:()=>{switch(n.select){case"many":{const p=tc(n.value??[],d.value);o({select:n.select,value:p.length>0?p:void 0});break}case"one":o({select:n.select,value:d.value});break;default:le(n)}},class:Vn({size:"lg",active:f}),children:d.label})},d.value)})}),h("div",{class:"flex justify-end p-2",children:h("button",{class:Qs({hasValue:l}),onClick:()=>a(),children:[l?"Done":"Skip"," ",h(Xt,{name:"chevron-right"})]},l?"done":"skip")})]}):l?h("button",{"aria-label":"Current value",tabIndex:-1,"data-current-value":"true",ref:u,class:"fr -mt-4 w-full select-none overflow-hidden px-4 pb-4 pt-2 focus:outline-none",onClick:()=>r(!0),children:h("ul",{class:"flex flex-wrap gap-1",children:t.filter(d=>s.includes(d.value)).map(d=>h("li",{class:"animate-selected-tag block max-w-full",children:h("span",{class:Vn({size:"sm",active:!0}),children:d.label})},d.value))})}):null},rc=e=>{const t=ee();return Ue(()=>{t.current=e},[e]),t.current},oc=(e,t)=>{var r;const n=(r=t.current)==null?void 0:r.querySelector(`[data-filter-key="${e}"]`),o=(n==null?void 0:n.querySelector("[data-current-value]"))??(n==null?void 0:n.querySelector("[data-filter]"));o&&(Q(o instanceof HTMLButtonElement,"option must be button"),o.focus())},ac=(e,t)=>{const n=rc(e);Ue(()=>{if(n===e)return;const o=e??n;o&&oc(o,t)},[e,n,t])},ic=Ee({base:"rounded-job-card bg-job-card-bg ring-width-job-card ring-job-card-stroke active:bg-job-card-bg-active active:ring-job-card-stroke-active flex gap-4 fr ease-expo-out min-w-0 p-4 transition-all duration-500"}),sc=Ee({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"}),fa=Ee({base:"rounded-tag text-style-tag font-weight-tag block px-2",variants:{colorScheme:{default:"bg-tag-neutral-weak-bg text-tag-neutral-weak-copy ring-px ring-tag-neutral-weak-stroke",monetary:"bg-tag-monetary-weak-bg text-tag-monetary-weak-copy"}},defaultVariants:{colorScheme:"default"}}),cc=({job:e})=>h("a",{href:"",class:ic(),children:[h("div",{class:"flex flex-1 flex-col gap-4",children:[h("div",{class:"flex flex-col items-start gap-1",children:[e.isNew?h("span",{class:sc(),children:"NEW"}):h("p",{class:"text-style-job-card-info text-copy-job-info",children:["Posted ",e.relativePostedDate]}),h("div",{class:"flex flex-col gap-1",children:[h("p",{class:"text-style-job-card-title text-copy-neutral",children:e.title}),h("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:e.company.name})]})]}),h("div",{class:"flex flex-col items-start gap-2",children:[e.pay&&h("span",{class:fa({colorScheme:"monetary"}),children:e.pay}),h("div",{class:"flex items-center gap-2",children:e.contractType&&h("span",{class:fa(),children:e.contractType})})]})]}),h("div",{class:"flex items-center",children:h(Xt,{name:"chevron-right",class:"text-copy-neutral-icon"})})]}),lc={contract_type:"clock",city:"mapPin",title:"magnifier"},uc=e=>e.reduce((t,n)=>{switch(n.select){case"one":t[n.key]={select:n.select,value:n.value};break;case"many":t[n.key]={select:n.select,value:n.value?[n.value]:[]};break;default:le(n.select)}return t},{}),dc=({property:e,value:t,activeKey:n,properties:o,values:r})=>{var a,i;switch(t==null?void 0:t.select){case void 0:return{newValue:void 0,newActiveKey:n};case"many":return{newValue:t,newActiveKey:n};case"one":{const s=o.findIndex(c=>c.key===e.key),u=s!==-1?(a=o[s+1])==null?void 0:a.key:void 0,d=(u?((i=r[u])==null?void 0:i.value)!==void 0:!1)?void 0:u;return{newValue:t,newActiveKey:d}}default:le(t)}throw new Error("unreachable")},fc=e=>{switch(e){case 0:return"No results";case 1:return"1 result";default:return`${e} results`}},pc=({apiClient:e,logger:t,params:n})=>{var c;const o=ee(null),[r,a]=qe(()=>uc(n.properties)),{data:i,isLoading:s}=Ts(JSON.stringify(r),()=>Us({apiClient:e,logger:t,filters:r}),{keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1}),u=i==null?void 0:i.data.available_properties,[l,d]=qe((c=n.properties[0])==null?void 0:c.key);return ac(l,o),h(O,{children:[h(Bs,{theme:n.theme}),h("div",{ref:o,id:la,children:h("div",{class:"bg-app mx-auto flex min-h-screen max-w-screen-lg flex-col gap-4 py-6 md:grid md:grid-cols-3 md:px-4",children:[h("div",{role:"tablist",class:"grid items-stretch gap-2 px-4 md:flex md:flex-col md:px-0",children:n.properties.map(f=>{var p;return h(ec,{icon:lc[f.key]??"filter",filterKey:f.key,title:f.label,suggestions:((p=u==null?void 0:u[f.key])==null?void 0:p.map(g=>({label:g,value:g})))??[],onActiveChange:g=>d(g?f.key:void 0),active:l===f.key,current:r[f.key]??{select:f.select,value:void 0},state:s&&!(i!=null&&i.data.available_properties)?"loading":"loaded",onValueChange:g=>{const{newActiveKey:v,newValue:y}=dc({property:f,activeKey:l,value:g,properties:n.properties,values:r});d(v),a({...r,[f.key]:y})},onSkip:()=>{var y;const g=n.properties.findIndex(_=>_.key===l),v=g!==-1?(y=n.properties[g+1])==null?void 0:y.key:void 0;d(v)}},f.key)})}),h("section",{class:"md:col-span-2",children:h("div",{class:"bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4",children:[i&&h("p",{class:"text-copy-accent-lowcontrast text-center",children:fc(i.pagination.total)}),h("ul",{class:"flex flex-col gap-3",children:i==null?void 0:i.data.results.map(f=>h("li",{children:h(cc,{job:f})},f.id))}),h("p",{class:"text-copy-accent-lowcontrast text-style-job-card-info text-center",children:"You've reached the end of the list."})]})})]})})]})},hc=`#ijs{font-size:16px;font-family:sans-serif;--tw-content: "";font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}#ijs *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent}#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){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ijs :is(svg){display:block}#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 .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 .isolate{isolation:isolate}#ijs .m-2{margin:.5rem}#ijs .m-9{margin:2.25rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .-mt-4{margin-top:-1rem}#ijs .block{display:block}#ijs .inline-block{display:inline-block}#ijs .inline{display:inline}#ijs .flex{display:flex}#ijs .inline-flex{display:inline-flex}#ijs .table{display:table}#ijs .table-row{display:table-row}#ijs .flow-root{display:flow-root}#ijs .grid{display:grid}#ijs .inline-grid{display:inline-grid}#ijs .contents{display:contents}#ijs .list-item{display:list-item}#ijs .\\!hidden{display:none!important}#ijs .hidden{display:none}#ijs .h-8{height:2rem}#ijs .min-h-screen{min-height:100vh}#ijs .w-\\[10ch\\]{width:10ch}#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 .flex-grow,#ijs .grow{flex-grow:1}#ijs .border-collapse{border-collapse:collapse}#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:.5}to{opacity:.3}}#ijs .animate-skeleton{animation:skeleton 1s cubic-bezier(.4,0,.6,1) infinite}#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 .items-start{align-items:flex-start}#ijs .items-center{align-items:center}#ijs .items-stretch{align-items:stretch}#ijs .justify-end{justify-content:flex-end}#ijs .justify-center{justify-content:center}#ijs .gap-1{gap:.25rem}#ijs .gap-1\\.5{gap:.375rem}#ijs .gap-2{gap:.5rem}#ijs .gap-3{gap:.75rem}#ijs .gap-4{gap:1rem}#ijs .overflow-hidden{overflow:hidden}#ijs .overflow-x-auto{overflow-x:auto}#ijs .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#ijs .whitespace-nowrap{white-space:nowrap}#ijs .rounded-interactive{border-radius:var(--i-radius-interactive)}#ijs .rounded-job-card{border-radius:var(--i-radius-job-card)}#ijs .rounded-job-tag{border-radius:var(--i-radius-job-tag)}#ijs .rounded-section{border-radius:var(--i-radius-section)}#ijs .rounded-tag{border-radius:var(--i-radius-job-tag)}#ijs .border{border-width:1px}#ijs .bg-app{--tw-bg-opacity: 1;background-color:oklch(var(--i-app-bg) / var(--tw-bg-opacity))}#ijs .bg-job-card-bg{--tw-bg-opacity: 1;background-color:oklch(var(--i-job-card-bg) / var(--tw-bg-opacity))}#ijs .bg-section-strong-bg{--tw-bg-opacity: 1;background-color:oklch(var(--i-section-strong-bg) / var(--tw-bg-opacity))}#ijs .bg-section-weak-bg{--tw-bg-opacity: 1;background-color:oklch(var(--i-section-weak-bg) / var(--tw-bg-opacity))}#ijs .bg-tag-accent-strong-bg{--tw-bg-opacity: 1;background-color:oklch(var(--i-tag-accent-strong-bg) / var(--tw-bg-opacity))}#ijs .bg-tag-monetary-weak-bg{--tw-bg-opacity: 1;background-color:oklch(var(--i-tag-monetary-weak-bg) / var(--tw-bg-opacity))}#ijs .bg-tag-neutral-strong-bg{--tw-bg-opacity: 1;background-color:oklch(var(--i-tag-neutral-strong-bg) / var(--tw-bg-opacity))}#ijs .bg-tag-neutral-weak-bg{--tw-bg-opacity: 1;background-color:oklch(var(--i-tag-neutral-weak-bg) / var(--tw-bg-opacity))}#ijs .p-1{padding:.25rem}#ijs .p-2{padding:.5rem}#ijs .p-4{padding:1rem}#ijs .px-2{padding-left:.5rem;padding-right:.5rem}#ijs .px-3{padding-left:.75rem;padding-right:.75rem}#ijs .px-4{padding-left:1rem;padding-right:1rem}#ijs .px-5{padding-left:1.25rem;padding-right:1.25rem}#ijs .py-1{padding-top:.25rem;padding-bottom:.25rem}#ijs .py-2{padding-top:.5rem;padding-bottom:.5rem}#ijs .py-4{padding-top:1rem;padding-bottom:1rem}#ijs .py-6{padding-top:1.5rem;padding-bottom:1.5rem}#ijs .pb-1{padding-bottom:.25rem}#ijs .pb-4{padding-bottom:1rem}#ijs .pl-3{padding-left:.75rem}#ijs .pr-1{padding-right:.25rem}#ijs .pt-2{padding-top:.5rem}#ijs .text-center{text-align:center}#ijs .text-justify{text-align:justify}#ijs .font-family-filter{font-family:var(--i-font-filter)}#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-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-card-title{font-size:1.125rem;line-height:1.5rem}#ijs .text-style-tag{font-size:.875rem;line-height:1.5rem}#ijs .font-weight-filter{font-weight:var(--i-weight-filter)}#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 .text-copy-accent{--tw-text-opacity: 1;color:oklch(var(--i-copy-accent) / var(--tw-text-opacity))}#ijs .text-copy-accent-icon{--tw-text-opacity: 1;color:oklch(var(--i-copy-accent-icon) / var(--tw-text-opacity))}#ijs .text-copy-accent-lowcontrast{color:oklch(var(--i-copy-accent-lowcontrast) / .67)}#ijs .text-copy-job-info{--tw-text-opacity: 1;color:oklch(var(--i-copy-info) / var(--tw-text-opacity))}#ijs .text-copy-neutral{--tw-text-opacity: 1;color:oklch(var(--i-copy) / var(--tw-text-opacity))}#ijs .text-copy-neutral-icon{--tw-text-opacity: 1;color:oklch(var(--i-copy-icon) / var(--tw-text-opacity))}#ijs .text-copy-neutral-lowcontrast{--tw-text-opacity: 1;color:oklch(var(--i-copy-lowcontrast) / var(--tw-text-opacity))}#ijs .text-interactive-accent-text{--tw-text-opacity: 1;color:oklch(var(--i-interactive-accent-text) / var(--tw-text-opacity))}#ijs .text-interactive-neutral-text{--tw-text-opacity: 1;color:oklch(var(--i-interactive-neutral-text) / var(--tw-text-opacity))}#ijs .text-tag-accent-strong-copy{--tw-text-opacity: 1;color:oklch(var(--i-tag-accent-strong-copy) / var(--tw-text-opacity))}#ijs .text-tag-monetary-weak-copy{--tw-text-opacity: 1;color:oklch(var(--i-tag-monetary-weak-copy) / var(--tw-text-opacity))}#ijs .text-tag-neutral-strong-copy{--tw-text-opacity: 1;color:oklch(var(--i-tag-neutral-strong-copy) / var(--tw-text-opacity))}#ijs .text-tag-neutral-weak-copy{--tw-text-opacity: 1;color:oklch(var(--i-tag-neutral-weak-copy) / var(--tw-text-opacity))}#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{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-opacity: 1;--tw-ring-color: oklch(var(--i-job-card-stroke-color) / var(--tw-ring-opacity))}#ijs .ring-section-strong-stroke{--tw-ring-opacity: 1;--tw-ring-color: oklch(var(--i-section-strong-stroke-color) / var(--tw-ring-opacity))}#ijs .ring-section-weak-stroke{--tw-ring-opacity: 1;--tw-ring-color: oklch(var(--i-section-weak-stroke-color) / var(--tw-ring-opacity))}#ijs .ring-tag-accent-strong-stroke{--tw-ring-opacity: 1;--tw-ring-color: oklch(var(--i-tag-accent-strong-stroke-color) / var(--tw-ring-opacity))}#ijs .ring-tag-neutral-strong-stroke{--tw-ring-opacity: 1;--tw-ring-color: oklch(var(--i-tag-neutral-strong-stroke-color) / var(--tw-ring-opacity))}#ijs .ring-tag-neutral-weak-stroke{--tw-ring-opacity: 1;--tw-ring-color: oklch(var(--i-tag-neutral-weak-stroke-color) / var(--tw-ring-opacity))}#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 .duration-1000{transition-duration:1s}#ijs .duration-300{transition-duration:.3s}#ijs .duration-500{transition-duration:.5s}#ijs .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ijs .font-style-filter,#ijs .font-style-tag{font-style:var(--i-style-filter)}#ijs .fr{outline:none}#ijs .fr:focus{outline:none}#ijs .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-opacity: 1;--tw-ring-color: oklch(var(--i-a-7) / 1);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .hide-scrollbars::-webkit-scrollbar{display:none}#ijs .hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}#ijs .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}#ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#ijs .hover\\:bg-interactive-accent-bg-hover:hover{--tw-bg-opacity: 1;background-color:oklch(var(--i-interactive-accent-bg-hover) / var(--tw-bg-opacity))}#ijs .hover\\:bg-interactive-neutral-bg-hover:hover{--tw-bg-opacity: 1;background-color:oklch(var(--i-interactive-neutral-bg-hover) / var(--tw-bg-opacity))}#ijs .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#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\\:bg-job-card-bg-active:active{--tw-bg-opacity: 1;background-color:oklch(var(--i-job-card-bg-active) / var(--tw-bg-opacity))}#ijs .active\\:ring-job-card-stroke-active:active{--tw-ring-opacity: 1;--tw-ring-color: oklch(var(--i-job-card-stroke-color-active) / var(--tw-ring-opacity))}@media (min-width: 768px){#ijs .md\\:col-span-2{grid-column:span 2 / span 2}}@media (min-width: 768px){#ijs .md\\:flex{display:flex}}@media (min-width: 768px){#ijs .md\\:grid{display:grid}}@media (min-width: 768px){#ijs .md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 768px){#ijs .md\\:flex-col{flex-direction:column}}@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)}}
|
|
18
|
-
`,U=e=>{const t=[],n=o=>({with:(r,a)=>(t.push({p:r,fn:a}),n(o)),otherwise:r=>{e:for(let a=t.length-1;a>=0;a--){const i=t[a];for(const s in i.p){if(i.p[s]!==o[s])continue e;return i.fn(o)}}if(r)return r(o);throw new Error("No pattern matched")}});return n(e)},
|
|
17
|
+
*/var Wo;function Zi(){return Wo||(Wo=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=qo,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n($){{for(var E=arguments.length,C=new Array(E>1?E-1:0),M=1;M<E;M++)C[M-1]=arguments[M];o("error",$,C)}}function o($,E,C){{var M=t.ReactDebugCurrentFrame,S=M.getStackAddendum();S!==""&&(E+="%s",C=C.concat([S]));var x=C.map(function(k){return String(k)});x.unshift("Warning: "+E),Function.prototype.apply.call(console[$],console,x)}}function r($,E){return $===E&&($!==0||1/$===1/E)||$!==$&&E!==E}var a=typeof Object.is=="function"?Object.is:r,i=e.useState,s=e.useEffect,u=e.useLayoutEffect,l=e.useDebugValue,f=!1,c=!1;function d($,E,C){f||e.startTransition!==void 0&&(f=!0,n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var M=E();if(!c){var S=E();a(M,S)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var x=i({inst:{value:M,getSnapshot:E}}),k=x[0].inst,z=x[1];return u(function(){k.value=M,k.getSnapshot=E,p(k)&&z({inst:k})},[$,M,E]),s(function(){p(k)&&z({inst:k});var W=function(){p(k)&&z({inst:k})};return $(W)},[$]),l(M),M}function p($){var E=$.getSnapshot,C=$.value;try{var M=E();return!a(C,M)}catch{return!0}}function _($,E,C){return E()}var v=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",y=!v,g=y?_:d,j=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:g;$n.useSyncExternalStore=j,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),$n}process.env.NODE_ENV==="production"?kn.exports=Bi():kn.exports=Zi();var Ki=kn.exports;const xe=()=>{},G=xe(),Mn=Object,R=e=>e===G,pe=e=>typeof e=="function",ke=(e,t)=>({...e,...t}),Gi=e=>pe(e.then),Dt=new WeakMap;let Qi=0;const _t=e=>{const t=typeof e,n=e&&e.constructor,o=n==Date;let r,a;if(Mn(e)===e&&!o&&n!=RegExp){if(r=Dt.get(e),r)return r;if(r=++Qi+"~",Dt.set(e,r),n==Array){for(r="@",a=0;a<e.length;a++)r+=_t(e[a])+",";Dt.set(e,r)}if(n==Mn){r="#";const i=Mn.keys(e).sort();for(;!R(a=i.pop());)R(e[a])||(r+=a+":"+_t(e[a])+",");Dt.set(e,r)}}else r=o?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return r},he=new WeakMap,En={},Ht={},jn="undefined",Vt=typeof window!=jn,Cn=typeof document!=jn,es=()=>Vt&&typeof window.requestAnimationFrame!=jn,Yo=(e,t)=>{const n=he.get(e);return[()=>!R(t)&&e.get(t)||En,o=>{if(!R(t)){const r=e.get(t);t in Ht||(Ht[t]=r),n[5](t,ke(r,o),r||En)}},n[6],()=>!R(t)&&t in Ht?Ht[t]:!R(t)&&e.get(t)||En]};let Sn=!0;const ts=()=>Sn,[Rn,Ln]=Vt&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[xe,xe],ns=()=>{const e=Cn&&document.visibilityState;return R(e)||e!=="hidden"},rs=e=>(Cn&&document.addEventListener("visibilitychange",e),Rn("focus",e),()=>{Cn&&document.removeEventListener("visibilitychange",e),Ln("focus",e)}),os=e=>{const t=()=>{Sn=!0,e()},n=()=>{Sn=!1};return Rn("online",t),Rn("offline",n),()=>{Ln("online",t),Ln("offline",n)}},as={isOnline:ts,isVisible:ns},is={initFocus:rs,initReconnect:os},Jo=!At.useId,gt=!Vt||"Deno"in window,ss=e=>es()?window.requestAnimationFrame(e):setTimeout(e,1),zn=gt?De:We,On=typeof navigator<"u"&&navigator.connection,Bo=!gt&&On&&(["slow-2g","2g"].includes(On.effectiveType)||On.saveData),Nn=e=>{if(pe(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?_t(e):"",[e,t]};let cs=0;const Pn=()=>++cs,Zo=0,Ko=1,Go=2;var bt={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:Zo,MUTATE_EVENT:Go,RECONNECT_EVENT:Ko};async function Qo(...e){const[t,n,o,r]=e,a=ke({populateCache:!0,throwOnError:!0},typeof r=="boolean"?{revalidate:r}:r||{});let i=a.populateCache;const s=a.rollbackOnError;let u=a.optimisticData;const l=a.revalidate!==!1,f=p=>typeof s=="function"?s(p):s!==!1,c=a.throwOnError;if(pe(n)){const p=n,_=[],v=t.keys();for(const y of v)!/^\$(inf|sub)\$/.test(y)&&p(t.get(y)._k)&&_.push(y);return Promise.all(_.map(d))}return d(n);async function d(p){const[_]=Nn(p);if(!_)return;const[v,y]=Yo(t,_),[g,j,$,E]=he.get(t),C=()=>{const V=g[_];return l&&(delete $[_],delete E[_],V&&V[0])?V[0](Go).then(()=>v().data):v().data};if(e.length<3)return C();let M=o,S;const x=Pn();j[_]=[x,0];const k=!R(u),z=v(),W=z.data,ae=z._c,ie=R(ae)?W:ae;if(k&&(u=pe(u)?u(ie,W):u,y({data:u,_c:ie})),pe(M))try{M=M(ie)}catch(V){S=V}if(M&&Gi(M))if(M=await M.catch(V=>{S=V}),x!==j[_][0]){if(S)throw S;return M}else S&&k&&f(S)&&(i=!0,y({data:ie,_c:G}));if(i&&!S)if(pe(i)){const V=i(M,ie);y({data:V,error:G,_c:G})}else y({data:M,error:G,_c:G});if(j[_][1]=Pn(),Promise.resolve(C()).then(()=>{y({_c:G})}),S){if(c)throw S;return}return M}}const ea=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},ls=(e,t)=>{if(!he.has(e)){const n=ke(is,t),o={},r=Qo.bind(G,e);let a=xe;const i={},s=(f,c)=>{const d=i[f]||[];return i[f]=d,d.push(c),()=>d.splice(d.indexOf(c),1)},u=(f,c,d)=>{e.set(f,c);const p=i[f];if(p)for(const _ of p)_(c,d)},l=()=>{if(!he.has(e)&&(he.set(e,[o,{},{},{},r,u,s]),!gt)){const f=n.initFocus(setTimeout.bind(G,ea.bind(G,o,Zo))),c=n.initReconnect(setTimeout.bind(G,ea.bind(G,o,Ko)));a=()=>{f&&f(),c&&c(),he.delete(e)}}};return l(),[e,r,l,a]}return[e,he.get(e)[4]]},us=(e,t,n,o,r)=>{const a=n.errorRetryCount,i=r.retryCount,s=~~((Math.random()+.5)*(1<<(i<8?i:8)))*n.errorRetryInterval;!R(a)&&i>a||setTimeout(o,s,r)},ds=(e,t)=>_t(e)==_t(t),[ta,fs]=ls(new Map),ps=ke({onLoadingSlow:xe,onSuccess:xe,onError:xe,onErrorRetry:us,onDiscarded:xe,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Bo?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Bo?5e3:3e3,compare:ds,isPaused:()=>!1,cache:ta,mutate:fs,fallback:{}},as),hs=(e,t)=>{const n=ke(e,t);if(t){const{use:o,fallback:r}=e,{use:a,fallback:i}=t;o&&a&&(n.use=o.concat(a)),r&&i&&(n.fallback=ke(r,i))}return n},_s=un({}),gs="$inf$",na=Vt&&window.__SWR_DEVTOOLS_USE__,bs=na?window.__SWR_DEVTOOLS_USE__:[],vs=()=>{na&&(window.__SWR_DEVTOOLS_REACT__=At)},ys=e=>pe(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],ms=()=>ke(ps,_n(_s)),ws=e=>(t,n,o)=>e(t,n&&((...a)=>{const[i]=Nn(t),[,,,s]=he.get(ta);if(i.startsWith(gs))return n(...a);const u=s[i];return R(u)?n(...a):(delete s[i],u)}),o),xs=bs.concat(ws),ks=e=>function(...n){const o=ms(),[r,a,i]=ys(n),s=hs(o,i);let u=e;const{use:l}=s,f=(l||[]).concat(xs);for(let c=f.length;c--;)u=f[c](u);return u(r,a||s.fetcher||null,s)},Ts=(e,t,n)=>{const o=t[e]||(t[e]=[]);return o.push(n),()=>{const r=o.indexOf(n);r>=0&&(o[r]=o[o.length-1],o.pop())}};vs();const ra=At.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)}),An={dedupe:!0},$s=ks((e,t,n)=>{const{cache:o,compare:r,suspense:a,fallbackData:i,revalidateOnMount:s,revalidateIfStale:u,refreshInterval:l,refreshWhenHidden:f,refreshWhenOffline:c,keepPreviousData:d}=n,[p,_,v,y]=he.get(o),[g,j]=Nn(e),$=ee(!1),E=ee(!1),C=ee(g),M=ee(t),S=ee(n),x=()=>S.current,k=()=>x().isVisible()&&x().isOnline(),[z,W,ae,ie]=Yo(o,g),V=ee({}).current,$r=R(i)?n.fallback[g]:i,Et=(P,A)=>{for(const Y in V){const D=Y;if(D==="data"){if(!r(P[D],A[D])&&(!R(P[D])||!r(ot,A[D])))return!1}else if(A[D]!==P[D])return!1}return!0},tt=dt(()=>{const P=(()=>!g||!t?!1:R(s)?x().isPaused()||a?!1:R(u)?!0:u:s)(),A=K=>{const me=ke(K);return delete me._k,P?{isValidating:!0,isLoading:!0,...me}:me},Y=z(),D=ie(),ce=A(Y),it=Y===D?ce:A(D);let q=ce;return[()=>{const K=A(z());return Et(K,q)?(q.data=K.data,q.isLoading=K.isLoading,q.isValidating=K.isValidating,q.error=K.error,q):(q=K,K)},()=>it]},[o,g]),ve=Ki.useSyncExternalStore(ft(P=>ae(g,(A,Y)=>{Et(Y,A)||P()}),[o,g]),tt[0],tt[1]),nt=!$.current,Mr=p[g]&&p[g].length>0,ye=ve.data,se=R(ye)?$r:ye,Xe=ve.error,rt=ee(se),ot=d?R(ye)?rt.current:ye:se,jt=(()=>Mr&&!R(Xe)?!1:nt&&!R(s)?s:x().isPaused()?!1:a?R(se)?!1:u:R(se)||u)(),at=!!(g&&t&&nt&&jt),_u=R(ve.isValidating)?at:ve.isValidating,gu=R(ve.isLoading)?at:ve.isLoading,Ct=ft(async P=>{const A=M.current;if(!g||!A||E.current||x().isPaused())return!1;let Y,D,ce=!0;const it=P||{},q=!v[g]||!it.dedupe,K=()=>Jo?!E.current&&g===C.current&&$.current:g===C.current,me={isValidating:!1,isLoading:!1},fi=()=>{W(me)},pi=()=>{const ne=v[g];ne&&ne[1]===D&&delete v[g]},hi={isValidating:!0};R(z().data)&&(hi.isLoading=!0);try{if(q&&(W(hi),n.loadingTimeout&&R(z().data)&&setTimeout(()=>{ce&&K()&&x().onLoadingSlow(g,n)},n.loadingTimeout),v[g]=[A(j),Pn()]),[Y,D]=v[g],Y=await Y,q&&setTimeout(pi,n.dedupingInterval),!v[g]||v[g][1]!==D)return q&&K()&&x().onDiscarded(g),!1;me.error=G;const ne=_[g];if(!R(ne)&&(D<=ne[0]||D<=ne[1]||ne[1]===0))return fi(),q&&K()&&x().onDiscarded(g),!1;const we=z().data;me.data=r(we,Y)?we:Y,q&&K()&&x().onSuccess(Y,g,n)}catch(ne){pi();const we=x(),{shouldRetryOnError:Er}=we;we.isPaused()||(me.error=ne,q&&K()&&(we.onError(ne,g,we),(Er===!0||pe(Er)&&Er(ne))&&k()&&we.onErrorRetry(ne,g,we,bu=>{const jr=p[g];jr&&jr[0]&&jr[0](bt.ERROR_REVALIDATE_EVENT,bu)},{retryCount:(it.retryCount||0)+1,dedupe:!0})))}return ce=!1,fi(),!0},[g,o]),di=ft((...P)=>Qo(o,C.current,...P),[]);if(zn(()=>{M.current=t,S.current=n,R(ye)||(rt.current=ye)}),zn(()=>{if(!g)return;const P=Ct.bind(G,An);let A=0;const D=Ts(g,p,(ce,it={})=>{if(ce==bt.FOCUS_EVENT){const q=Date.now();x().revalidateOnFocus&&q>A&&k()&&(A=q+x().focusThrottleInterval,P())}else if(ce==bt.RECONNECT_EVENT)x().revalidateOnReconnect&&k()&&P();else{if(ce==bt.MUTATE_EVENT)return Ct();if(ce==bt.ERROR_REVALIDATE_EVENT)return Ct(it)}});return E.current=!1,C.current=g,$.current=!0,W({_k:j}),jt&&(R(se)||gt?P():ss(P)),()=>{E.current=!0,D()}},[g]),zn(()=>{let P;function A(){const D=pe(l)?l(z().data):l;D&&P!==-1&&(P=setTimeout(Y,D))}function Y(){!z().error&&(f||x().isVisible())&&(c||x().isOnline())?Ct(An).then(A):A()}return A(),()=>{P&&(clearTimeout(P),P=-1)}},[l,f,c,g]),gn(ot),a&&R(se)&&g){if(!Jo&>)throw new Error("Fallback data is required when using suspense in SSR.");M.current=t,S.current=n,E.current=!1;const P=y[g];if(!R(P)){const A=di(P);ra(A)}if(R(Xe)){const A=Ct(An);R(ot)||(A.status="fulfilled",A.value=!0),ra(A)}else throw Xe}return{mutate:di,get data(){return V.data=!0,ot},get error(){return V.error=!0,Xe},get isValidating(){return V.isValidating=!0,_u},get isLoading(){return V.isLoading=!0,gu}}});var Ms=class extends Error{constructor(t){super(t[0].message);_i(this,"issues");this.name="ValiError",this.issues=t}};function Es(e,t){return{...e,_parse(n,o){return e._parse(t(n),o)}}}function It(e){return{issues:e}}function vt(e){return{output:e}}function js(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 Cs(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 Te(e,t,n,o){if(!t||!t.length||n!=null&&n.skipPipe)return vt(e);let r,a,i=e;for(const s of t){const u=s._parse(i);if(u.issues){r=r||Cs(n,o);for(const l of u.issues){const f=js(r,l);a?a.push(f):a=[f]}if(r.abortEarly||r.abortPipeEarly)break}else i=u.output}return a?It(a):vt(i)}function $e(e,t){return Array.isArray(e)?[void 0,e]:[e,t]}function Ss(e){return typeof e=="function"?e():e}function Rs(e,t,n){if(!e||typeof e=="object"&&!Array.isArray(e)){const[a,i]=$e(t,n);return[e,a,i]}const[o,r]=$e(e,t);return[void 0,o,r]}function Me(e,t,n,o,r,a){return{issues:[{reason:t,validation:n,origin:(e==null?void 0:e.origin)||"value",message:Ss(o),input:r,issues:a,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}]}}function Ls(e){return typeof e.default=="function"?e.default():e.default}function zs(e){return{type:"any",async:!1,pipe:e,_parse(t,n){return Te(t,this.pipe,n,"any")}}}function oa(e,t,n){const[o="Invalid type",r]=$e(t,n);return{type:"array",async:!1,item:e,message:o,pipe:r,_parse(a,i){if(!Array.isArray(a))return Me(i,"type","array",this.message,a);let s;const u=[];for(let l=0;l<a.length;l++){const f=a[l],c=this.item._parse(f,i);if(c.issues){const d={type:"array",input:a,key:l,value:f};for(const p of c.issues)p.path?p.path.unshift(d):p.path=[d],s==null||s.push(p);if(s||(s=c.issues),i!=null&&i.abortEarly)break}else u.push(c.output)}return s?It(s):Te(u,this.pipe,i,"array")}}}function aa(e,t){const[n="Invalid type",o]=$e(e,t);return{type:"boolean",async:!1,message:n,pipe:o,_parse(r,a){return typeof r!="boolean"?Me(a,"type","boolean",this.message,r):Te(r,this.pipe,a,"boolean")}}}function B(e,t="Invalid type"){return{type:"literal",async:!1,literal:e,message:t,_parse(n,o){return n!==this.literal?Me(o,"type","literal",this.message,n):vt(n)}}}function Dn(e,t){return{type:"nullable",async:!1,wrapped:e,default:t,_parse(n,o){if(n===null){const r=Ls(this);if(r===void 0)return vt(n);n=r}return this.wrapped._parse(n,o)}}}function He(e,t){const[n="Invalid type",o]=$e(e,t);return{type:"number",async:!1,message:n,pipe:o,_parse(r,a){return typeof r!="number"||isNaN(r)?Me(a,"type","number",this.message,r):Te(r,this.pipe,a,"number")}}}function yt(e,t,n,o){const[r,a="Invalid type",i]=Rs(t,n,o);let s;return{type:"object",async:!1,entries:e,rest:r,message:a,pipe:i,_parse(u,l){if(!u||typeof u!="object")return Me(l,"type","object",this.message,u);s=s||Object.entries(this.entries);let f;const c={};for(const[d,p]of s){const _=u[d],v=p._parse(_,l);if(v.issues){const y={type:"object",input:u,key:d,value:_};for(const g of v.issues)g.path?g.path.unshift(y):g.path=[y],f==null||f.push(g);if(f||(f=v.issues),l!=null&&l.abortEarly)break}else(v.output!==void 0||d in u)&&(c[d]=v.output)}if(this.rest&&!(l!=null&&l.abortEarly&&f)){for(const d in u)if(!(d in this.entries)){const p=u[d],_=this.rest._parse(p,l);if(_.issues){const v={type:"object",input:u,key:d,value:p};for(const y of _.issues)y.path?y.path.unshift(v):y.path=[v],f==null||f.push(y);if(f||(f=_.issues),l!=null&&l.abortEarly)break}else c[d]=_.output}}return f?It(f):Te(c,this.pipe,l,"object")}}}function te(e,t){const[n="Invalid type",o]=$e(e,t);return{type:"string",async:!1,message:n,pipe:o,_parse(r,a){return typeof r!="string"?Me(a,"type","string",this.message,r):Te(r,this.pipe,a,"string")}}}function Os(e,t,n,o){if(typeof t=="object"&&!Array.isArray(t)){const[i,s]=$e(n,o);return[e,t,i,s]}const[r,a]=$e(t,n);return[te(),e,r,a]}var Ns=["__proto__","prototype","constructor"];function ia(e,t,n,o){const[r,a,i="Invalid type",s]=Os(e,t,n,o);return{type:"record",async:!1,key:r,value:a,message:i,pipe:s,_parse(u,l){if(!u||typeof u!="object")return Me(l,"type","record",this.message,u);let f;const c={};for(const[d,p]of Object.entries(u))if(!Ns.includes(d)){let _;const v=this.key._parse(d,{origin:"key",abortEarly:l==null?void 0:l.abortEarly,abortPipeEarly:l==null?void 0:l.abortPipeEarly,skipPipe:l==null?void 0:l.skipPipe});if(v.issues){_={type:"record",input:u,key:d,value:p};for(const g of v.issues)g.path=[_],f==null||f.push(g);if(f||(f=v.issues),l!=null&&l.abortEarly)break}const y=this.value._parse(p,l);if(y.issues){_=_||{type:"record",input:u,key:d,value:p};for(const g of y.issues)g.path?g.path.unshift(_):g.path=[_],f==null||f.push(g);if(f||(f=y.issues),l!=null&&l.abortEarly)break}!v.issues&&!y.issues&&(c[v.output]=y.output)}return f?It(f):Te(c,this.pipe,l,"record")}}}function Hn(e,t="Invalid type"){return{type:"union",async:!1,options:e,message:t,_parse(n,o){let r,a;for(const i of this.options){const s=i._parse(n,o);if(s.issues)if(r)for(const u of s.issues)r.push(u);else r=s.issues;else{a=[s.output];break}}return a?vt(a[0]):Me(o,"type","union",this.message,n,r)}}}function Ps(e,t,n){const o=e._parse(t,n);if(o.issues)throw new Ms(o.issues);return o.output}function As(e,t,n){return{...e,_parse(o,r){const a=e._parse(o,r);if(a.issues)return a;const i=t(a.output);return n&&!Array.isArray(n)?n._parse(i,r):Te(i,n,r,typeof i)}}}const Ds=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),Hs=({from:e=new Date,to:t,formatter:n=Ds})=>{const r=(t instanceof Date?t:new Date(t)).getTime()-e.getTime(),a={days:Math.round(r/1e3/60/60/24),months:Math.round(r/1e3/60/60/24/30)};return a.days===0?"today":Math.abs(a.days)<30?n.format(a.days,"days"):Math.abs(a.days)<3?n.format(a.months,"months"):a.months<0?"a long time ago":"in a long time"},Vs=1e3*60*60*24*7,Is=ia(oa(Es(te(),String))),Xs=yt({total:He(),current_page:He(),per_page:He(),last_page:He()}),sa={ANNUALY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},Fs=yt({id:He(),company_name:te(),company_logo:te(),employment_type:Hn([B("FULL_TIME"),B("PART_TIME"),B("TEMPORARY"),B("CONTRACTOR"),B("INTERN"),B("VOLUNTEER"),B("OTHER")]),location_type:Hn([B("LOCATION"),B("REMOTE"),B("HYBRID")]),pay_type:Hn([B("ANNUALY"),B("HOURLY"),B("MONTHLY"),B("WEEKLY"),B("DAILY")]),pay_currency:te(),pay_mask:aa(),pay_display:aa(),pay:te(),pay_min:Dn(te()),pay_max:Dn(te()),description:te(),title:te(),coordinates:yt({lat:He(),lng:He()}),contract_type:Dn(te()),created_at:te(),custom_data:ia(zs())}),qs=As(Fs,e=>{const t=new Date(e.created_at).getTime()>Date.now()-Vs,n=new Intl.NumberFormat(void 0,{style:"currency",currency:e.pay_currency});return{id:e.id,isNew:t,company:{name:e.company_name,logo:e.company_logo},employmentType:e.employment_type,locationType:e.location_type,pay:e.pay_display?e.pay_mask?"Competitive":e.pay_max&&e.pay_min?[n.formatRange(+e.pay_min,+e.pay_max),sa[e.pay_type]].join(" "):[n.format(+e.pay),sa[e.pay_type]].join(" "):void 0,description:e.description,title:e.title,coordinates:e.coordinates,contractType:e.contract_type,relativePostedDate:Hs({to:new Date(e.created_at)}),customData:e.custom_data}}),Us=yt({data:yt({results:oa(qs),available_properties:Is}),pagination:Xs}),Ws=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[t,(n==null?void 0:n.value)??null])),Ys=async({apiClient:e,logger:t,signal:n,filters:o})=>{try{const r=await e.fetch("/search",{method:"POST",body:JSON.stringify({query:"Customer Service",filters:Ws(o)}),signal:n});return Ps(Us,r)}catch(r){throw t.error(r),r}},ca="inploi-job-search",la="ijs";function ua(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=ua(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function Vn(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=ua(e))&&(o&&(o+=" "),o+=t);return o}const da=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,Js=e=>{const t=function(){for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];var s,u;return typeof(e==null||(s=e.hooks)===null||s===void 0?void 0:s["cx:done"])<"u"?e==null?void 0:e.hooks["cx:done"](Vn(a)):typeof(e==null||(u=e.hooks)===null||u===void 0?void 0:u.onComplete)<"u"?e==null?void 0:e.hooks.onComplete(Vn(a)):Vn(a)};return{compose:function(){for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return s=>{const u=Object.fromEntries(Object.entries(s||{}).filter(l=>{let[f]=l;return!["class","className"].includes(f)}));return t(a.map(l=>l(u)),s==null?void 0:s.class,s==null?void 0:s.className)}},cva:r=>a=>{var i;if((r==null?void 0:r.variants)==null)return t(r==null?void 0:r.base,a==null?void 0:a.class,a==null?void 0:a.className);const{variants:s,defaultVariants:u}=r,l=Object.keys(s).map(d=>{const p=a==null?void 0:a[d],_=u==null?void 0:u[d],v=da(p)||da(_);return s[d][v]}),f={...u,...a&&Object.entries(a).reduce((d,p)=>{let[_,v]=p;return typeof v>"u"?d:{...d,[_]:v}},{})},c=r==null||(i=r.compoundVariants)===null||i===void 0?void 0:i.reduce((d,p)=>{let{class:_,className:v,...y}=p;return Object.entries(y).every(g=>{let[j,$]=g;const E=f[j];return Array.isArray($)?$.includes(E):E===$})?[...d,_,v]:d},[]);return t(r==null?void 0:r.base,l,c,a==null?void 0:a.class,a==null?void 0:a.className)},cx:t}},{compose:xu,cva:Ee,cx:ku}=Js();var Bs=0;function h(e,t,n,o,r,a){var i,s,u={};for(s in t)s=="ref"?i=t[s]:u[s]=t[s];var l={type:e,props:u,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Bs,__i:-1,__u:0,__source:r,__self:a};if(typeof e=="function"&&(i=e.defaultProps))for(s in i)u[s]===void 0&&(u[s]=i[s]);return w.vnode&&w.vnode(l),l}const Zs={briefcase:h(O,{children:[h("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"}),h("path",{d:"M4.75 11.75H19.25"}),h("path",{d:"M13.25 12.25V13.25H10.75V12.25H13.25Z"}),h("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:h(O,{children:[h("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"}),h("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"}),h("path",{d:"M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"}),h("path",{d:"M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"}),h("path",{d:"M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"}),h("circle",{cx:"18.75",cy:"12",r:"2"}),h("circle",{cx:"5.25",cy:"12",r:"2"})]}),building:h(O,{children:[h("path",{d:"M16.75 10.25H13.75"}),h("path",{d:"M16.75 13.25H13.75"}),h("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"}),h("path",{d:"M10.25 12.25V18.25"})]}),circles:h(O,{children:[h("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"}),h("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:h(O,{children:[h("path",{d:"M14 9L12 13L9.5 12"}),h("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:h(O,{children:h("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:h(O,{children:[h("path",{d:"M5 13.75H19"}),h("path",{d:"M5 10.25H19"}),h("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"}),h("circle",{cx:"12",cy:"12",r:"7.25"})]}),magnifier:h(O,{children:[h("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"}),h("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"}),h("path",{d:"M16 16L19 19"})]}),mapPin:h(O,{children:h(O,{children:[h("circle",{cx:"12",cy:"9",r:"2"}),h("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"}),h("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:h(O,{children:[h("path",{d:"M18.5 8.5L17.5 9.5"}),h("path",{d:"M5.5 8.5L6.5 9.5"}),h("path",{d:"M12 6L12 7.5"}),h("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"}),h("path",{d:"M20.25 15.25H12H3.75"}),h("path",{d:"M16.25 18.25H12L7.75 18.25"})]}),x:h("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-right":h("path",{d:"M11 8L15 12L11 16"})},Ks=({theme:e})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:h("defs",{children:Object.entries(Zs).map(([t,n])=>h("symbol",{id:`i-icon-${t}`,children:h("g",{fill:"none","stroke-width":e.mode==="dark"&&e.highcontrast!=!0?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),Xt=({name:e,...t})=>h("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:h("use",{href:`#i-icon-${e}`})}),Gs=Ee({base:"flex min-w-0 rounded-section ring-width-section transition-all duration-1000 ease-expo-out",variants:{hasValue:{false:"bg-section-weak-bg ring-section-weak-stroke",true:"bg-section-strong-bg ring-section-strong-stroke"}}}),Qs=Ee({base:"font-style-filter font-family-filter font-weight-filter text-style-filter",variants:{hasValue:{false:"text-copy-neutral",true:"text-copy-accent"}}}),ec=Ee({base:"",variants:{hasValue:{false:"text-copy-neutral-icon",true:"text-copy-accent-icon"}}}),In=Ee({base:"ease-expo-out block cursor-pointer truncate fr ring-px font-style-tag font-family-tag font-weight-tag text-style-tag rounded-interactive whitespace-nowrap transition-all duration-300 active:scale-95",variants:{active:{false:"text-tag-neutral-strong-copy bg-tag-neutral-strong-bg ring-tag-neutral-strong-stroke",true:"text-tag-accent-strong-copy bg-tag-accent-strong-bg ring-tag-accent-strong-stroke"},size:{sm:"px-3 py-1",lg:"px-5 py-2"}}}),tc=Ee({base:"fr animate-selected-tag touch-hitbox text-style-filter ease-expo-out rounded-interactive relative flex cursor-pointer items-center py-1 pl-3 pr-1 transition-all duration-300 active:scale-95",variants:{hasValue:{false:"hover:bg-interactive-neutral-bg-hover text-interactive-neutral-text",true:"hover:bg-interactive-accent-bg-hover text-interactive-accent-text"}}}),fa=e=>typeof e.value=="string"?[e.value]:e.value??[],nc=({filterKey:e,title:t,active:n,current:o,onValueChange:r,suggestions:a,onActiveChange:i,onSkip:s,icon:u,state:l})=>{const c=fa(o).length>0,d=c&&n==!1;return h("section",{"data-filter-key":e,role:"tab","aria-label":t,"aria-selected":n?"true":void 0,class:Gs({hasValue:c}),children:[h("div",{class:"w-full min-w-0 flex-1",children:[h("button",{"aria-label":n?"Close filter":"Open filter",class:"ease-expo-out fr rounded-section flex w-full items-center gap-2 px-4 py-4 transition-all duration-300",onClick:()=>i(!n),children:[h(Xt,{class:ec({hasValue:c}),name:u}),h("p",{class:Qs({hasValue:c}),children:t})]}),h(oc,{active:n,current:o,onValueChange:r,suggestions:a,onActiveChange:i,onSkip:s,state:l})]}),d&&h("div",{class:"flex flex-none items-center justify-center p-4",children:h("button",{"aria-label":"Clear",class:"fr touch-hitbox ease-expo-out hover:bg-interactive-accent-bg-hover text-interactive-accent-text rounded-interactive relative cursor-pointer p-1 transition-all duration-300 active:scale-95",onClick:()=>r(void 0),children:h(Xt,{name:"x"})})})]})},rc=(e,t)=>{const n=e.indexOf(t);return n===-1?[...e,t]:e.filter((o,r)=>r!==n)},oc=({active:e,suggestions:t,current:n,onValueChange:o,onActiveChange:r,onSkip:a,state:i})=>{const s=ee(null),[u,l]=Ae(n);De(()=>{l(n)},[n]);const f=fa(u),c=f.length>0;return e?h("div",{class:"-mt-4 pt-2",children:[i==="loading"?h("div",{class:"flex px-4 pb-1 pt-2",children:h("div",{"aria-hidden":!0,class:In({size:"lg",active:!1,class:"animate-skeleton"}),children:h("span",{class:"inline-block w-[10ch]"})})}):h("ul",{"aria-label":"Filter options",class:"hide-scrollbars flex select-none gap-1.5 overflow-x-auto px-4 pb-1 pt-2",children:t.map((d,p)=>{const _=f.includes(d.value);return h("li",{style:{animationDelay:p*.01+"s"},class:"animate-appear-tag origin-top",children:h("button",{"data-filter":!0,"data-current-value":_?"true":void 0,onClick:()=>{switch(n.select){case"many":{const v=rc(f,d.value);l({select:"many",value:v});break}case"one":l({select:"one",value:d.value}),o({select:n.select,value:d.value});break;default:le(n)}},class:In({size:"lg",active:_}),children:d.label})},d.value)})}),h("div",{class:"flex justify-end p-2",children:h("button",{class:tc({hasValue:c}),onClick:()=>{c&&o(u),a()},children:[c?"Done":"Skip"," ",h(Xt,{name:"chevron-right"})]},c?"done":"skip")})]}):c?h("button",{"aria-label":"Current value",tabIndex:-1,"data-current-value":"true",ref:s,class:"fr -mt-4 w-full select-none overflow-hidden px-4 pb-4 pt-2 focus:outline-none",onClick:()=>r(!0),children:h("ul",{class:"flex flex-wrap gap-1",children:t.filter(d=>f.includes(d.value)).map(d=>h("li",{class:"animate-selected-tag block max-w-full",children:h("span",{class:In({size:"sm",active:!0}),children:d.label})},d.value))})}):null},ac=e=>{const t=ee();return De(()=>{t.current=e},[e]),t.current},ic=(e,t)=>{var r;const n=(r=t.current)==null?void 0:r.querySelector(`[data-filter-key="${e}"]`),o=(n==null?void 0:n.querySelector("[data-current-value]"))??(n==null?void 0:n.querySelector("[data-filter]"));o&&(Q(o instanceof HTMLButtonElement,"option must be button"),o.focus())},sc=(e,t)=>{const n=ac(e);De(()=>{if(n===e)return;const o=e??n;o&&ic(o,t)},[e,n,t])},cc=Ee({base:"rounded-job-card bg-job-card-bg ring-width-job-card ring-job-card-stroke active:bg-job-card-bg-active active:ring-job-card-stroke-active flex gap-4 fr ease-expo-out min-w-0 p-4 transition-all duration-500"}),lc=Ee({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"}),pa=Ee({base:"rounded-tag text-style-tag font-weight-tag block px-2",variants:{colorScheme:{default:"bg-tag-neutral-weak-bg text-tag-neutral-weak-copy ring-px ring-tag-neutral-weak-stroke",monetary:"bg-tag-monetary-weak-bg text-tag-monetary-weak-copy"}},defaultVariants:{colorScheme:"default"}}),uc=({job:e})=>h("a",{href:"",class:cc(),children:[h("div",{class:"flex flex-1 flex-col gap-4",children:[h("div",{class:"flex flex-col items-start gap-1",children:[e.isNew?h("span",{class:lc(),children:"NEW"}):h("p",{class:"text-style-job-card-info text-copy-job-info",children:["Posted ",e.relativePostedDate]}),h("div",{class:"flex flex-col gap-1",children:[h("p",{class:"text-style-job-card-title text-copy-neutral",children:e.title}),h("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:e.company.name})]})]}),h("div",{class:"flex flex-col items-start gap-2",children:[e.pay&&h("span",{class:pa({colorScheme:"monetary"}),children:e.pay}),h("div",{class:"flex items-center gap-2",children:e.contractType&&h("span",{class:pa(),children:e.contractType})})]})]}),h("div",{class:"flex items-center",children:h(Xt,{name:"chevron-right",class:"text-copy-neutral-icon"})})]}),dc={contract_type:"clock",title:"magnifier",city:"mapPin",town:"mapPin",address_1:"mapPin",address_2:"mapPin",country:"mapPin",company_name:"briefcase",category:"briefcase"},fc=e=>e.reduce((t,n)=>{switch(n.select){case"one":t[n.key]={select:n.select,value:n.value};break;case"many":t[n.key]={select:n.select,value:n.value?[n.value]:[]};break;default:le(n.select)}return t},{}),pc=({property:e,value:t,activeKey:n,properties:o,values:r})=>{var a,i;switch(t==null?void 0:t.select){case void 0:return{newValue:void 0,newActiveKey:n};case"many":return{newValue:t,newActiveKey:n};case"one":{const s=o.findIndex(c=>c.key===e.key),u=s!==-1?(a=o[s+1])==null?void 0:a.key:void 0,f=(u?((i=r[u])==null?void 0:i.value)!==void 0:!1)?void 0:u;return{newValue:t,newActiveKey:f}}default:le(t)}},hc=e=>{switch(e){case 0:return"No results";case 1:return"1 result";default:return`${e} results`}},_c=({apiClient:e,logger:t,params:n})=>{var c;const o=ee(null),[r,a]=Ae(()=>fc(n.properties)),{data:i,isLoading:s}=$s(JSON.stringify(r),()=>Ys({apiClient:e,logger:t,filters:r}),{keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1}),u=i==null?void 0:i.data.available_properties,[l,f]=Ae((c=n.properties[0])==null?void 0:c.key);return sc(l,o),h(O,{children:[h(Ks,{theme:n.theme}),h("div",{ref:o,id:la,children:h("div",{class:"bg-app mx-auto flex min-h-screen max-w-screen-lg flex-col gap-4 py-6 md:grid md:grid-cols-3 md:px-4",children:[h("div",{role:"tablist",class:"grid items-stretch gap-2 px-4 md:flex md:flex-col md:px-0",children:n.properties.filter(d=>!d.hidden).map(d=>{var p;return h(nc,{icon:d.icon??dc[d.key]??"filter",filterKey:d.key,title:d.label,suggestions:((p=u==null?void 0:u[d.key])==null?void 0:p.map(_=>({label:_,value:_})))??[],onActiveChange:_=>f(_?d.key:void 0),active:l===d.key,current:r[d.key]??{select:d.select,value:void 0},state:s&&!(i!=null&&i.data.available_properties)?"loading":"loaded",onValueChange:_=>{const{newActiveKey:v,newValue:y}=pc({property:d,activeKey:l,value:_,properties:n.properties,values:r});f(v),a({...r,[d.key]:y})},onSkip:()=>{var y;const _=n.properties.findIndex(g=>g.key===l),v=_!==-1?(y=n.properties[_+1])==null?void 0:y.key:void 0;f(v)}},d.key)})}),h("section",{class:"md:col-span-2",children:h("div",{class:"bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4",children:[i&&h("p",{class:"text-copy-accent-lowcontrast text-center",children:hc(i.pagination.total)}),h("ul",{class:"flex flex-col gap-3",children:i==null?void 0:i.data.results.map(d=>h("li",{children:h(uc,{job:d})},d.id))}),h("p",{class:"text-copy-accent-lowcontrast text-style-job-card-info text-center",children:"You've reached the end of the list."})]})})]})})]})},gc=`#ijs{font-size:16px;font-family:sans-serif;--tw-content: "";font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}#ijs *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent}#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){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ijs :is(svg){display:block}#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 .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 .isolate{isolation:isolate}#ijs .m-2{margin:.5rem}#ijs .m-9{margin:2.25rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .-mt-4{margin-top:-1rem}#ijs .block{display:block}#ijs .inline-block{display:inline-block}#ijs .inline{display:inline}#ijs .flex{display:flex}#ijs .inline-flex{display:inline-flex}#ijs .table{display:table}#ijs .table-row{display:table-row}#ijs .flow-root{display:flow-root}#ijs .grid{display:grid}#ijs .inline-grid{display:inline-grid}#ijs .contents{display:contents}#ijs .list-item{display:list-item}#ijs .\\!hidden{display:none!important}#ijs .hidden{display:none}#ijs .h-8{height:2rem}#ijs .min-h-screen{min-height:100vh}#ijs .w-\\[10ch\\]{width:10ch}#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 .flex-grow,#ijs .grow{flex-grow:1}#ijs .border-collapse{border-collapse:collapse}#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:.5}to{opacity:.3}}#ijs .animate-skeleton{animation:skeleton 1s cubic-bezier(.4,0,.6,1) infinite}#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 .items-start{align-items:flex-start}#ijs .items-center{align-items:center}#ijs .items-stretch{align-items:stretch}#ijs .justify-end{justify-content:flex-end}#ijs .justify-center{justify-content:center}#ijs .gap-1{gap:.25rem}#ijs .gap-1\\.5{gap:.375rem}#ijs .gap-2{gap:.5rem}#ijs .gap-3{gap:.75rem}#ijs .gap-4{gap:1rem}#ijs .overflow-hidden{overflow:hidden}#ijs .overflow-x-auto{overflow-x:auto}#ijs .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#ijs .whitespace-nowrap{white-space:nowrap}#ijs .rounded-interactive{border-radius:var(--i-radius-interactive)}#ijs .rounded-job-card{border-radius:var(--i-radius-job-card)}#ijs .rounded-job-tag{border-radius:var(--i-radius-job-tag)}#ijs .rounded-section{border-radius:var(--i-radius-section)}#ijs .rounded-tag{border-radius:var(--i-radius-job-tag)}#ijs .border{border-width:1px}#ijs .bg-app{--tw-bg-opacity: 1;background-color:oklch(var(--i-app-bg) / var(--tw-bg-opacity))}#ijs .bg-job-card-bg{--tw-bg-opacity: 1;background-color:oklch(var(--i-job-card-bg) / var(--tw-bg-opacity))}#ijs .bg-section-strong-bg{--tw-bg-opacity: 1;background-color:oklch(var(--i-section-strong-bg) / var(--tw-bg-opacity))}#ijs .bg-section-weak-bg{--tw-bg-opacity: 1;background-color:oklch(var(--i-section-weak-bg) / var(--tw-bg-opacity))}#ijs .bg-tag-accent-strong-bg{--tw-bg-opacity: 1;background-color:oklch(var(--i-tag-accent-strong-bg) / var(--tw-bg-opacity))}#ijs .bg-tag-monetary-weak-bg{--tw-bg-opacity: 1;background-color:oklch(var(--i-tag-monetary-weak-bg) / var(--tw-bg-opacity))}#ijs .bg-tag-neutral-strong-bg{--tw-bg-opacity: 1;background-color:oklch(var(--i-tag-neutral-strong-bg) / var(--tw-bg-opacity))}#ijs .bg-tag-neutral-weak-bg{--tw-bg-opacity: 1;background-color:oklch(var(--i-tag-neutral-weak-bg) / var(--tw-bg-opacity))}#ijs .p-1{padding:.25rem}#ijs .p-2{padding:.5rem}#ijs .p-4{padding:1rem}#ijs .px-2{padding-left:.5rem;padding-right:.5rem}#ijs .px-3{padding-left:.75rem;padding-right:.75rem}#ijs .px-4{padding-left:1rem;padding-right:1rem}#ijs .px-5{padding-left:1.25rem;padding-right:1.25rem}#ijs .py-1{padding-top:.25rem;padding-bottom:.25rem}#ijs .py-2{padding-top:.5rem;padding-bottom:.5rem}#ijs .py-4{padding-top:1rem;padding-bottom:1rem}#ijs .py-6{padding-top:1.5rem;padding-bottom:1.5rem}#ijs .pb-1{padding-bottom:.25rem}#ijs .pb-4{padding-bottom:1rem}#ijs .pl-3{padding-left:.75rem}#ijs .pr-1{padding-right:.25rem}#ijs .pt-2{padding-top:.5rem}#ijs .text-center{text-align:center}#ijs .text-justify{text-align:justify}#ijs .font-family-filter{font-family:var(--i-font-filter)}#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-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-card-title{font-size:1.125rem;line-height:1.5rem}#ijs .text-style-tag{font-size:.875rem;line-height:1.5rem}#ijs .font-weight-filter{font-weight:var(--i-weight-filter)}#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 .text-copy-accent{--tw-text-opacity: 1;color:oklch(var(--i-copy-accent) / var(--tw-text-opacity))}#ijs .text-copy-accent-icon{--tw-text-opacity: 1;color:oklch(var(--i-copy-accent-icon) / var(--tw-text-opacity))}#ijs .text-copy-accent-lowcontrast{color:oklch(var(--i-copy-accent-lowcontrast) / .67)}#ijs .text-copy-job-info{--tw-text-opacity: 1;color:oklch(var(--i-copy-info) / var(--tw-text-opacity))}#ijs .text-copy-neutral{--tw-text-opacity: 1;color:oklch(var(--i-copy) / var(--tw-text-opacity))}#ijs .text-copy-neutral-icon{--tw-text-opacity: 1;color:oklch(var(--i-copy-icon) / var(--tw-text-opacity))}#ijs .text-copy-neutral-lowcontrast{--tw-text-opacity: 1;color:oklch(var(--i-copy-lowcontrast) / var(--tw-text-opacity))}#ijs .text-interactive-accent-text{--tw-text-opacity: 1;color:oklch(var(--i-interactive-accent-text) / var(--tw-text-opacity))}#ijs .text-interactive-neutral-text{--tw-text-opacity: 1;color:oklch(var(--i-interactive-neutral-text) / var(--tw-text-opacity))}#ijs .text-tag-accent-strong-copy{--tw-text-opacity: 1;color:oklch(var(--i-tag-accent-strong-copy) / var(--tw-text-opacity))}#ijs .text-tag-monetary-weak-copy{--tw-text-opacity: 1;color:oklch(var(--i-tag-monetary-weak-copy) / var(--tw-text-opacity))}#ijs .text-tag-neutral-strong-copy{--tw-text-opacity: 1;color:oklch(var(--i-tag-neutral-strong-copy) / var(--tw-text-opacity))}#ijs .text-tag-neutral-weak-copy{--tw-text-opacity: 1;color:oklch(var(--i-tag-neutral-weak-copy) / var(--tw-text-opacity))}#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{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-opacity: 1;--tw-ring-color: oklch(var(--i-job-card-stroke-color) / var(--tw-ring-opacity))}#ijs .ring-section-strong-stroke{--tw-ring-opacity: 1;--tw-ring-color: oklch(var(--i-section-strong-stroke-color) / var(--tw-ring-opacity))}#ijs .ring-section-weak-stroke{--tw-ring-opacity: 1;--tw-ring-color: oklch(var(--i-section-weak-stroke-color) / var(--tw-ring-opacity))}#ijs .ring-tag-accent-strong-stroke{--tw-ring-opacity: 1;--tw-ring-color: oklch(var(--i-tag-accent-strong-stroke-color) / var(--tw-ring-opacity))}#ijs .ring-tag-neutral-strong-stroke{--tw-ring-opacity: 1;--tw-ring-color: oklch(var(--i-tag-neutral-strong-stroke-color) / var(--tw-ring-opacity))}#ijs .ring-tag-neutral-weak-stroke{--tw-ring-opacity: 1;--tw-ring-color: oklch(var(--i-tag-neutral-weak-stroke-color) / var(--tw-ring-opacity))}#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 .duration-1000{transition-duration:1s}#ijs .duration-300{transition-duration:.3s}#ijs .duration-500{transition-duration:.5s}#ijs .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ijs .font-style-filter,#ijs .font-style-tag{font-style:var(--i-style-filter)}#ijs .fr{outline:none}#ijs .fr:focus{outline:none}#ijs .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-opacity: 1;--tw-ring-color: oklch(var(--i-a-7) / 1);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .hide-scrollbars::-webkit-scrollbar{display:none}#ijs .hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}#ijs .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}#ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#ijs .hover\\:bg-interactive-accent-bg-hover:hover{--tw-bg-opacity: 1;background-color:oklch(var(--i-interactive-accent-bg-hover) / var(--tw-bg-opacity))}#ijs .hover\\:bg-interactive-neutral-bg-hover:hover{--tw-bg-opacity: 1;background-color:oklch(var(--i-interactive-neutral-bg-hover) / var(--tw-bg-opacity))}#ijs .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#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\\:bg-job-card-bg-active:active{--tw-bg-opacity: 1;background-color:oklch(var(--i-job-card-bg-active) / var(--tw-bg-opacity))}#ijs .active\\:ring-job-card-stroke-active:active{--tw-ring-opacity: 1;--tw-ring-color: oklch(var(--i-job-card-stroke-color-active) / var(--tw-ring-opacity))}@media (min-width: 768px){#ijs .md\\:col-span-2{grid-column:span 2 / span 2}}@media (min-width: 768px){#ijs .md\\:flex{display:flex}}@media (min-width: 768px){#ijs .md\\:grid{display:grid}}@media (min-width: 768px){#ijs .md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 768px){#ijs .md\\:flex-col{flex-direction:column}}@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)}}
|
|
18
|
+
`,U=e=>{const t=[],n=o=>({with:(r,a)=>(t.push({p:r,fn:a}),n(o)),otherwise:r=>{e:for(let a=t.length-1;a>=0;a--){const i=t[a];for(const s in i.p){if(i.p[s]!==o[s])continue e;return i.fn(o)}}if(r)return r(o);throw new Error("No pattern matched")}});return n(e)},ha=(e,t)=>{if(typeof e=="number"){if(t===3)return{mode:"rgb",r:(e>>8&15|e>>4&240)/255,g:(e>>4&15|e&240)/255,b:(e&15|e<<4&240)/255};if(t===4)return{mode:"rgb",r:(e>>12&15|e>>8&240)/255,g:(e>>8&15|e>>4&240)/255,b:(e>>4&15|e&240)/255,alpha:(e&15|e<<4&240)/255};if(t===6)return{mode:"rgb",r:(e>>16&255)/255,g:(e>>8&255)/255,b:(e&255)/255};if(t===8)return{mode:"rgb",r:(e>>24&255)/255,g:(e>>16&255)/255,b:(e>>8&255)/255,alpha:(e&255)/255}}},bc={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},vc=e=>ha(bc[e.toLowerCase()],6),yc=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i,mc=e=>{let t;return(t=e.match(yc))?ha(parseInt(t[1],16),t[1].length):void 0},je="([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)",mt=`${je}%`,Xn=`(?:${je}%|${je})`,wc=`(?:${je}(deg|grad|rad|turn)|${je})`,Je="\\s*,\\s*",xc=new RegExp(`^rgba?\\(\\s*${je}${Je}${je}${Je}${je}\\s*(?:,\\s*${Xn}\\s*)?\\)$`),kc=new RegExp(`^rgba?\\(\\s*${mt}${Je}${mt}${Je}${mt}\\s*(?:,\\s*${Xn}\\s*)?\\)$`),Tc=e=>{let t={mode:"rgb"},n;if(n=e.match(xc))n[1]!==void 0&&(t.r=n[1]/255),n[2]!==void 0&&(t.g=n[2]/255),n[3]!==void 0&&(t.b=n[3]/255);else if(n=e.match(kc))n[1]!==void 0&&(t.r=n[1]/100),n[2]!==void 0&&(t.g=n[2]/100),n[3]!==void 0&&(t.b=n[3]/100);else return;return n[4]!==void 0?t.alpha=n[4]/100:n[5]!==void 0&&(t.alpha=+n[5]),t},wt=(e,t)=>e===void 0?void 0:typeof e!="object"?zc(e):e.mode!==void 0?e:t?{...e,mode:t}:void 0,_e=(e="rgb")=>t=>(t=wt(t,e))!==void 0?t.mode===e?t:oe[t.mode][e]?oe[t.mode][e](t):e==="rgb"?oe[t.mode].rgb(t):oe.rgb[e](oe[t.mode].rgb(t)):void 0,oe={},_a={},Ft=[],ga={},$c=e=>e,L=e=>(oe[e.mode]={...oe[e.mode],...e.toMode},Object.keys(e.fromMode||{}).forEach(t=>{oe[t]||(oe[t]={}),oe[t][e.mode]=e.fromMode[t]}),e.ranges||(e.ranges={}),e.difference||(e.difference={}),e.channels.forEach(t=>{if(e.ranges[t]===void 0&&(e.ranges[t]=[0,1]),!e.interpolate[t])throw new Error(`Missing interpolator for: ${t}`);typeof e.interpolate[t]=="function"&&(e.interpolate[t]={use:e.interpolate[t]}),e.interpolate[t].fixup||(e.interpolate[t].fixup=$c)}),_a[e.mode]=e,(e.parse||[]).forEach(t=>{Mc(t,e.mode)}),_e(e.mode)),Ve=e=>_a[e],Mc=(e,t)=>{if(typeof e=="string"){if(!t)throw new Error("'mode' required when 'parser' is a string");ga[e]=t}else typeof e=="function"&&Ft.indexOf(e)<0&&Ft.push(e)},Fn=/[^\x00-\x7F]|[a-zA-Z_]/,Ec=/[^\x00-\x7F]|[-\w]/,b={Function:"function",Ident:"ident",Number:"number",Percentage:"percentage",ParenClose:")",None:"none",Hue:"hue",Alpha:"alpha"};let T=0;function qt(e){let t=e[T],n=e[T+1];return t==="-"||t==="+"?/\d/.test(n)||n==="."&&/\d/.test(e[T+2]):t==="."?/\d/.test(n):/\d/.test(t)}function qn(e){if(T>=e.length)return!1;let t=e[T];if(Fn.test(t))return!0;if(t==="-"){if(e.length-T<2)return!1;let n=e[T+1];return!!(n==="-"||Fn.test(n))}return!1}const jc={deg:1,rad:180/Math.PI,grad:9/10,turn:360};function xt(e){let t="";if((e[T]==="-"||e[T]==="+")&&(t+=e[T++]),t+=Ut(e),e[T]==="."&&/\d/.test(e[T+1])&&(t+=e[T++]+Ut(e)),(e[T]==="e"||e[T]==="E")&&((e[T+1]==="-"||e[T+1]==="+")&&/\d/.test(e[T+2])?t+=e[T++]+e[T++]+Ut(e):/\d/.test(e[T+1])&&(t+=e[T++]+Ut(e))),qn(e)){let n=Wt(e);return n==="deg"||n==="rad"||n==="turn"||n==="grad"?{type:b.Hue,value:t*jc[n]}:void 0}return e[T]==="%"?(T++,{type:b.Percentage,value:+t}):{type:b.Number,value:+t}}function Ut(e){let t="";for(;/\d/.test(e[T]);)t+=e[T++];return t}function Wt(e){let t="";for(;T<e.length&&Ec.test(e[T]);)t+=e[T++];return t}function Cc(e){let t=Wt(e);return e[T]==="("?(T++,{type:b.Function,value:t}):t==="none"?{type:b.None,value:void 0}:{type:b.Ident,value:t}}function Sc(e=""){let t=e.trim(),n=[],o;for(T=0;T<t.length;){if(o=t[T++],o===`
|
|
19
19
|
`||o===" "||o===" "){for(;T<t.length&&(t[T]===`
|
|
20
20
|
`||t[T]===" "||t[T]===" ");)T++;continue}if(o===",")return;if(o===")"){n.push({type:b.ParenClose});continue}if(o==="+"){if(T--,qt(t)){n.push(xt(t));continue}return}if(o==="-"){if(T--,qt(t)){n.push(xt(t));continue}if(qn(t)){n.push({type:b.Ident,value:Wt(t)});continue}return}if(o==="."){if(T--,qt(t)){n.push(xt(t));continue}return}if(o==="/"){for(;T<t.length&&(t[T]===`
|
|
21
|
-
`||t[T]===" "||t[T]===" ");)T++;let r;if(qt(t)&&(r=xt(t),r.type!==b.Hue)){n.push({type:b.Alpha,value:r});continue}if(qn(t)&&Wt(t)==="none"){n.push({type:b.Alpha,value:{type:b.None,value:void 0}});continue}return}if(/\d/.test(o)){T--,n.push(xt(t));continue}if(Fn.test(o)){T--,n.push(Ec(t));continue}return}return n}function jc(e){e._i=0;let t=e[e._i++];if(!t||t.type!==b.Function||t.value!=="color"||(t=e[e._i++],t.type!==b.Ident))return;const n=_a[t.value];if(!n)return;const o={mode:n},r=ga(e,!1);if(!r)return;const a=De(n).channels;for(let i=0,s;i<a.length;i++)s=r[i],s.type!==b.None&&(o[a[i]]=s.type===b.Number?s.value:s.value/100);return o}function ga(e,t){const n=[];let o;for(;e._i<e.length;){if(o=e[e._i++],o.type===b.None||o.type===b.Number||o.type===b.Alpha||o.type===b.Percentage||t&&o.type===b.Hue){n.push(o);continue}if(o.type===b.ParenClose){if(e._i<e.length)return;continue}return}if(!(n.length<3||n.length>4)){if(n.length===4){if(n[3].type!==b.Alpha)return;n[3]=n[3].value}return n.length===3&&n.push({type:b.None,value:void 0}),n.every(r=>r.type!==b.Alpha)?n:void 0}}function Sc(e,t){e._i=0;let n=e[e._i++];if(!n||n.type!==b.Function)return;let o=ga(e,t);if(o)return o.unshift(n.value),o}const Rc=e=>{if(typeof e!="string")return;const t=Cc(e),n=t?Sc(t,!0):void 0;let o,r=0,a=Ft.length;for(;r<a;)if((o=Ft[r++](e,n))!==void 0)return o;return t?jc(t):void 0};function Lc(e,t){if(!t||t[0]!=="rgb"&&t[0]!=="rgba")return;const n={mode:"rgb"},[,o,r,a,i]=t;if(!(o.type===b.Hue||r.type===b.Hue||a.type===b.Hue))return o.type!==b.None&&(n.r=o.type===b.Number?o.value/255:o.value/100),r.type!==b.None&&(n.g=r.type===b.Number?r.value/255:r.value/100),a.type!==b.None&&(n.b=a.type===b.Number?a.value/255:a.value/100),i.type!==b.None&&(n.alpha=i.type===b.Number?i.value:i.value/100),n}const zc=e=>e==="transparent"?{mode:"rgb",r:0,g:0,b:0,alpha:0}:void 0,Oc=(e,t,n)=>e+n*(t-e),Nc=e=>{let t=[];for(let n=0;n<e.length-1;n++){let o=e[n],r=e[n+1];o===void 0&&r===void 0?t.push(void 0):o!==void 0&&r!==void 0?t.push([o,r]):t.push(o!==void 0?[o,o]:[r,r])}return t},m=(e=>t=>{let n=Nc(t);return o=>{let r=o*n.length,a=o>=1?n.length-1:Math.max(Math.floor(r),0),i=n[a];return i===void 0?void 0:e(i[0],i[1],r-a)}})(Oc),V=e=>{let t=!1,n=e.map(o=>o!==void 0?(t=!0,o):1);return t?n:e},Be={mode:"rgb",channels:["r","g","b","alpha"],parse:[Lc,vc,xc,gc,zc,"srgb"],serialize:"srgb",interpolate:{r:m,g:m,b:m,alpha:{use:m,fixup:V}},gamut:!0},Un=e=>Math.pow(Math.abs(e),563/256)*Math.sign(e),ba=e=>{let t=Un(e.r),n=Un(e.g),o=Un(e.b),r={mode:"xyz65",x:.5766690429101305*t+.1855582379065463*n+.1882286462349947*o,y:.297344975250536*t+.6273635662554661*n+.0752914584939979*o,z:.0270313613864123*t+.0706888525358272*n+.9913375368376386*o};return e.alpha!==void 0&&(r.alpha=e.alpha),r},Wn=e=>Math.pow(Math.abs(e),256/563)*Math.sign(e),va=({x:e,y:t,z:n,alpha:o})=>{let r={mode:"a98",r:Wn(e*2.0415879038107465-t*.5650069742788597-.3447313507783297*n),g:Wn(e*-.9692436362808798+t*1.8759675015077206+.0415550574071756*n),b:Wn(e*.0134442806320312-t*.1183623922310184+1.0151749943912058*n)};return o!==void 0&&(r.alpha=o),r},Yn=e=>{const t=Math.abs(e);return t<=.04045?e/12.92:(Math.sign(e)||1)*Math.pow((t+.055)/1.055,2.4)},Ze=({r:e,g:t,b:n,alpha:o})=>{let r={mode:"lrgb",r:Yn(e),g:Yn(t),b:Yn(n)};return o!==void 0&&(r.alpha=o),r},Ke=e=>{let{r:t,g:n,b:o,alpha:r}=Ze(e),a={mode:"xyz65",x:.4123907992659593*t+.357584339383878*n+.1804807884018343*o,y:.2126390058715102*t+.715168678767756*n+.0721923153607337*o,z:.0193308187155918*t+.119194779794626*n+.9505321522496607*o};return r!==void 0&&(a.alpha=r),a},Jn=e=>{const t=Math.abs(e);return t>.0031308?(Math.sign(e)||1)*(1.055*Math.pow(t,1/2.4)-.055):e*12.92},Ge=({r:e,g:t,b:n,alpha:o},r="rgb")=>{let a={mode:r,r:Jn(e),g:Jn(t),b:Jn(n)};return o!==void 0&&(a.alpha=o),a},Qe=({x:e,y:t,z:n,alpha:o})=>{let r=Ge({r:e*3.2409699419045226-t*1.537383177570094-.4986107602930034*n,g:e*-.9692436362808796+t*1.8759675015077204+.0415550574071756*n,b:e*.0556300796969936-t*.2039769588889765+1.0569715142428784*n});return o!==void 0&&(r.alpha=o),r},Pc={...Be,mode:"a98",parse:["a98-rgb"],serialize:"a98-rgb",fromMode:{rgb:e=>va(Ke(e)),xyz65:va},toMode:{rgb:e=>Qe(ba(e)),xyz65:ba}},F=e=>(e=e%360)<0?e+360:e,Ac=(e,t)=>e.map((n,o,r)=>{if(n===void 0)return n;let a=F(n);return o===0||e[o-1]===void 0?a:t(a-F(r[o-1]))}).reduce((n,o)=>!n.length||o===void 0||n[n.length-1]===void 0?(n.push(o),n):(n.push(o+n[n.length-1]),n),[]),ge=e=>Ac(e,t=>Math.abs(t)<=180?t:t-360*Math.sign(t)),X=[-.14861,1.78277,-.29227,-.90649,1.97294,0],Dc=Math.PI/180,Hc=180/Math.PI;let ya=X[3]*X[4],ma=X[1]*X[4],wa=X[1]*X[2]-X[0]*X[3];const Ic=({r:e,g:t,b:n,alpha:o})=>{let r=(wa*n+e*ya-t*ma)/(wa+ya-ma),a=n-r,i=(X[4]*(t-r)-X[2]*a)/X[3],s={mode:"cubehelix",l:r,s:r===0||r===1?void 0:Math.sqrt(a*a+i*i)/(X[4]*r*(1-r))};return s.s&&(s.h=Math.atan2(i,a)*Hc-120),o!==void 0&&(s.alpha=o),s},Vc=({h:e,s:t,l:n,alpha:o})=>{let r={mode:"rgb"};e=(e===void 0?0:e+120)*Dc;let a=t===void 0?0:t*n*(1-n),i=Math.cos(e),s=Math.sin(e);return r.r=n+a*(X[0]*i+X[1]*s),r.g=n+a*(X[2]*i+X[3]*s),r.b=n+a*(X[4]*i+X[5]*s),o!==void 0&&(r.alpha=o),r},Yt=(e,t)=>{if(e.h===void 0||t.h===void 0||!e.s||!t.s)return 0;let n=F(e.h),o=F(t.h),r=Math.sin((o-n+360)/2*Math.PI/180);return 2*Math.sqrt(e.s*t.s)*r},Xc=(e,t)=>{if(e.h===void 0||t.h===void 0)return 0;let n=F(e.h),o=F(t.h);return Math.abs(o-n)>180?n-(o-360*Math.sign(o-n)):o-n},Jt=(e,t)=>{if(e.h===void 0||t.h===void 0||!e.c||!t.c)return 0;let n=F(e.h),o=F(t.h),r=Math.sin((o-n+360)/2*Math.PI/180);return 2*Math.sqrt(e.c*t.c)*r},xa=(e="rgb",t=[1,1,1,0])=>{let n=De(e),o=n.channels,r=n.difference,a=_e(e);return(i,s)=>{let u=a(i),l=a(s);return Math.sqrt(o.reduce((d,c,f)=>{let p=r[c]?r[c](u,l):u[c]-l[c];return d+(t[f]||0)*Math.pow(isNaN(p)?0:p,2)},0))}},be=e=>{let t=e.reduce((n,o)=>{if(o!==void 0){let r=o*Math.PI/180;n.sin+=Math.sin(r),n.cos+=Math.cos(r)}return n},{sin:0,cos:0});return Math.atan2(t.sin,t.cos)*180/Math.PI},Fc={mode:"cubehelix",channels:["h","s","l","alpha"],parse:["--cubehelix"],serialize:"--cubehelix",ranges:{h:[0,360],s:[0,4.614],l:[0,1]},fromMode:{rgb:Ic},toMode:{rgb:Vc},interpolate:{h:{use:m,fixup:ge},s:m,l:m,alpha:{use:m,fixup:V}},difference:{h:Yt},average:{h:be}},je=({l:e,a:t,b:n,alpha:o},r="lch")=>{let a=Math.sqrt(t*t+n*n),i={mode:r,l:e,c:a};return a&&(i.h=F(Math.atan2(n,t)*180/Math.PI)),o!==void 0&&(i.alpha=o),i},Se=({l:e,c:t,h:n,alpha:o},r="lab")=>{let a={mode:r,l:e,a:t?t*Math.cos(n/180*Math.PI):0,b:t?t*Math.sin(n/180*Math.PI):0};return o!==void 0&&(a.alpha=o),a},ka=Math.pow(29,3)/Math.pow(3,3),Ta=Math.pow(6,3)/Math.pow(29,3),H={X:.3457/.3585,Y:1,Z:(1-.3457-.3585)/.3585},et={X:.3127/.329,Y:1,Z:(1-.3127-.329)/.329};let Bn=e=>Math.pow(e,3)>Ta?Math.pow(e,3):(116*e-16)/ka;const $a=({l:e,a:t,b:n,alpha:o})=>{let r=(e+16)/116,a=t/500+r,i=r-n/200,s={mode:"xyz65",x:Bn(a)*et.X,y:Bn(r)*et.Y,z:Bn(i)*et.Z};return o!==void 0&&(s.alpha=o),s},Bt=e=>Qe($a(e)),Zn=e=>e>Ta?Math.cbrt(e):(ka*e+16)/116,Ma=({x:e,y:t,z:n,alpha:o})=>{let r=Zn(e/et.X),a=Zn(t/et.Y),i=Zn(n/et.Z),s={mode:"lab65",l:116*a-16,a:500*(r-a),b:200*(a-i)};return o!==void 0&&(s.alpha=o),s},Zt=e=>{let t=Ma(Ke(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},Kt=1,Ea=1,kt=26/180*Math.PI,Gt=Math.cos(kt),Qt=Math.sin(kt),Ca=100/Math.log(139/100),Kn=({l:e,c:t,h:n,alpha:o})=>{let r={mode:"lab65",l:(Math.exp(e*Kt/Ca)-1)/.0039};if(n===void 0)r.a=r.b=0;else{let a=(Math.exp(.0435*t*Ea*Kt)-1)/.075,i=a*Math.cos(n/180*Math.PI-kt),s=a*Math.sin(n/180*Math.PI-kt);r.a=i*Gt-s/.83*Qt,r.b=i*Qt+s/.83*Gt}return o!==void 0&&(r.alpha=o),r},Gn=({l:e,a:t,b:n,alpha:o})=>{let r=t*Gt+n*Qt,a=.83*(n*Gt-t*Qt),i=Math.sqrt(r*r+a*a),s={mode:"dlch",l:Ca/Kt*Math.log(1+.0039*e),c:Math.log(1+.075*i)/(.0435*Ea*Kt)};return s.c&&(s.h=F((Math.atan2(a,r)+kt)/Math.PI*180)),o!==void 0&&(s.alpha=o),s},ja=e=>Kn(je(e,"dlch")),Sa=e=>Se(Gn(e),"dlab"),qc={mode:"dlab",parse:["--din99o-lab"],serialize:"--din99o-lab",toMode:{lab65:ja,rgb:e=>Bt(ja(e))},fromMode:{lab65:Sa,rgb:e=>Sa(Zt(e))},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-40.09,45.501],b:[-40.469,44.344]},interpolate:{l:m,a:m,b:m,alpha:{use:m,fixup:V}}},Uc={mode:"dlch",parse:["--din99o-lch"],serialize:"--din99o-lch",toMode:{lab65:Kn,dlab:e=>Se(e,"dlab"),rgb:e=>Bt(Kn(e))},fromMode:{lab65:Gn,dlab:e=>je(e,"dlch"),rgb:e=>Gn(Zt(e))},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,51.484],h:[0,360]},interpolate:{l:m,c:m,h:{use:m,fixup:ge},alpha:{use:m,fixup:V}},difference:{h:Jt},average:{h:be}};function Wc({h:e,s:t,i:n,alpha:o}){e=F(e);let r=Math.abs(e/60%2-1),a;switch(Math.floor(e/60)){case 0:a={r:n*(1+t*(3/(2-r)-1)),g:n*(1+t*(3*(1-r)/(2-r)-1)),b:n*(1-t)};break;case 1:a={r:n*(1+t*(3*(1-r)/(2-r)-1)),g:n*(1+t*(3/(2-r)-1)),b:n*(1-t)};break;case 2:a={r:n*(1-t),g:n*(1+t*(3/(2-r)-1)),b:n*(1+t*(3*(1-r)/(2-r)-1))};break;case 3:a={r:n*(1-t),g:n*(1+t*(3*(1-r)/(2-r)-1)),b:n*(1+t*(3/(2-r)-1))};break;case 4:a={r:n*(1+t*(3*(1-r)/(2-r)-1)),g:n*(1-t),b:n*(1+t*(3/(2-r)-1))};break;case 5:a={r:n*(1+t*(3/(2-r)-1)),g:n*(1-t),b:n*(1+t*(3*(1-r)/(2-r)-1))};break;default:a={r:n*(1-t),g:n*(1-t),b:n*(1-t)}}return a.mode="rgb",o!==void 0&&(a.alpha=o),a}function Yc({r:e,g:t,b:n,alpha:o}){let r=Math.max(e,t,n),a=Math.min(e,t,n),i={mode:"hsi",s:e+t+n===0?0:1-3*a/(e+t+n),i:(e+t+n)/3};return r-a!==0&&(i.h=(r===e?(t-n)/(r-a)+(t<n)*6:r===t?(n-e)/(r-a)+2:(e-t)/(r-a)+4)*60),o!==void 0&&(i.alpha=o),i}const Jc={mode:"hsi",toMode:{rgb:Wc},parse:["--hsi"],serialize:"--hsi",fromMode:{rgb:Yc},channels:["h","s","i","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:m,fixup:ge},s:m,i:m,alpha:{use:m,fixup:V}},difference:{h:Yt},average:{h:be}};function Bc({h:e,s:t,l:n,alpha:o}){e=F(e);let r=n+t*(n<.5?n:1-n),a=r-(r-n)*2*Math.abs(e/60%2-1),i;switch(Math.floor(e/60)){case 0:i={r,g:a,b:2*n-r};break;case 1:i={r:a,g:r,b:2*n-r};break;case 2:i={r:2*n-r,g:r,b:a};break;case 3:i={r:2*n-r,g:a,b:r};break;case 4:i={r:a,g:2*n-r,b:r};break;case 5:i={r,g:2*n-r,b:a};break;default:i={r:2*n-r,g:2*n-r,b:2*n-r}}return i.mode="rgb",o!==void 0&&(i.alpha=o),i}function Zc({r:e,g:t,b:n,alpha:o}){let r=Math.max(e,t,n),a=Math.min(e,t,n),i={mode:"hsl",s:r===a?0:(r-a)/(1-Math.abs(r+a-1)),l:.5*(r+a)};return r-a!==0&&(i.h=(r===e?(t-n)/(r-a)+(t<n)*6:r===t?(n-e)/(r-a)+2:(e-t)/(r-a)+4)*60),o!==void 0&&(i.alpha=o),i}const Kc=(e,t)=>{switch(t){case"deg":return+e;case"rad":return e/Math.PI*180;case"grad":return e/10*9;case"turn":return e*360}},Gc=new RegExp(`^hsla?\\(\\s*${yc}${Je}${mt}${Je}${mt}\\s*(?:,\\s*${Xn}\\s*)?\\)$`),Qc=e=>{let t=e.match(Gc);if(!t)return;let n={mode:"hsl"};return t[3]!==void 0?n.h=+t[3]:t[1]!==void 0&&t[2]!==void 0&&(n.h=Kc(t[1],t[2])),t[4]!==void 0&&(n.s=Math.min(Math.max(0,t[4]/100),1)),t[5]!==void 0&&(n.l=Math.min(Math.max(0,t[5]/100),1)),t[6]!==void 0?n.alpha=t[6]/100:t[7]!==void 0&&(n.alpha=+t[7]),n};function el(e,t){if(!t||t[0]!=="hsl"&&t[0]!=="hsla")return;const n={mode:"hsl"},[,o,r,a,i]=t;if(o.type!==b.None){if(o.type===b.Percentage)return;n.h=o.value}if(r.type!==b.None){if(r.type===b.Hue)return;n.s=r.type===b.Number?r.value:r.value/100}if(a.type!==b.None){if(a.type===b.Hue)return;n.l=a.type===b.Number?a.value:a.value/100}return i.type!==b.None&&(n.alpha=i.type===b.Number?i.value:i.value/100),n}const Ra={mode:"hsl",toMode:{rgb:Bc},fromMode:{rgb:Zc},channels:["h","s","l","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[el,Qc],serialize:e=>`hsl(${e.h||0} ${e.s!==void 0?e.s*100+"%":"none"} ${e.l!==void 0?e.l*100+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:m,fixup:ge},s:m,l:m,alpha:{use:m,fixup:V}},difference:{h:Yt},average:{h:be}};function La({h:e,s:t,v:n,alpha:o}){e=F(e);let r=Math.abs(e/60%2-1),a;switch(Math.floor(e/60)){case 0:a={r:n,g:n*(1-t*r),b:n*(1-t)};break;case 1:a={r:n*(1-t*r),g:n,b:n*(1-t)};break;case 2:a={r:n*(1-t),g:n,b:n*(1-t*r)};break;case 3:a={r:n*(1-t),g:n*(1-t*r),b:n};break;case 4:a={r:n*(1-t*r),g:n*(1-t),b:n};break;case 5:a={r:n,g:n*(1-t),b:n*(1-t*r)};break;default:a={r:n*(1-t),g:n*(1-t),b:n*(1-t)}}return a.mode="rgb",o!==void 0&&(a.alpha=o),a}function za({r:e,g:t,b:n,alpha:o}){let r=Math.max(e,t,n),a=Math.min(e,t,n),i={mode:"hsv",s:r===0?0:1-a/r,v:r};return r-a!==0&&(i.h=(r===e?(t-n)/(r-a)+(t<n)*6:r===t?(n-e)/(r-a)+2:(e-t)/(r-a)+4)*60),o!==void 0&&(i.alpha=o),i}const Oa={mode:"hsv",toMode:{rgb:La},parse:["--hsv"],serialize:"--hsv",fromMode:{rgb:za},channels:["h","s","v","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:m,fixup:ge},s:m,v:m,alpha:{use:m,fixup:V}},difference:{h:Yt},average:{h:be}};function tl({h:e,w:t,b:n,alpha:o}){if(t+n>1){let r=t+n;t/=r,n/=r}return La({h:e,s:n===1?1:1-t/(1-n),v:1-n,alpha:o})}function nl(e){let t=za(e);if(t===void 0)return;let n={mode:"hwb",w:(1-t.s)*t.v,b:1-t.v};return t.h!==void 0&&(n.h=t.h),t.alpha!==void 0&&(n.alpha=t.alpha),n}function rl(e,t){if(!t||t[0]!=="hwb")return;const n={mode:"hwb"},[,o,r,a,i]=t;if(o.type!==b.None){if(o.type===b.Percentage)return;n.h=o.value}if(r.type!==b.None){if(r.type===b.Hue)return;n.w=r.type===b.Number?r.value:r.value/100}if(a.type!==b.None){if(a.type===b.Hue)return;n.b=a.type===b.Number?a.value:a.value/100}return i.type!==b.None&&(n.alpha=i.type===b.Number?i.value:i.value/100),n}const ol={mode:"hwb",toMode:{rgb:tl},fromMode:{rgb:nl},channels:["h","w","b","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[rl],serialize:e=>`hwb(${e.h||0} ${e.w*100}% ${e.b*100}%${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:m,fixup:ge},w:m,b:m,alpha:{use:m,fixup:V}},difference:{h:Xc},average:{h:be}},al=.1593017578125,il=134.03437499999998,sl=.8359375,cl=18.8515625,ll=18.6875,ul=16295499532821565e-27,Qn=e=>{let t=Math.pow(e/1e4,al);return Math.pow((sl+cl*t)/(1+ll*t),il)||0},er=e=>Math.max(e*203,0),Na=({x:e,y:t,z:n,alpha:o})=>{e=er(e),t=er(t),n=er(n);let r=1.15*e-.15*n,a=.66*t+.34*e,i=Qn(.41478972*r+.579999*a+.014648*n),s=Qn(-.20151*r+1.120649*a+.0531008*n),u=Qn(-.0166008*r+.2648*a+.6684799*n),l=(i+s)/2,d={mode:"jab",j:.44*l/(1-.56*l)-ul,a:3.524*i-4.066708*s+.542708*u,b:.199076*i+1.096799*s-1.295875*u};return o!==void 0&&(d.alpha=o),d},dl=.1593017578125,fl=134.03437499999998,pl=.8359375,hl=18.8515625,_l=18.6875,Pa=16295499532821565e-27,tr=e=>{let t=Math.pow(e,1/fl);return 1e4*Math.pow((pl-t)/(_l*t-hl),1/dl)||0},nr=e=>e/203,Aa=({j:e,a:t,b:n,alpha:o})=>{let r=(e+Pa)/(.44+.56*(e+Pa)),a=tr(r+.13860504*t+.058047316*n),i=tr(r-.13860504*t-.058047316*n),s=tr(r-.096019242*t-.8118919*n),u={mode:"xyz65",x:nr(1.661373024652174*a-.914523081304348*i+.23136208173913045*s),y:nr(-.3250758611844533*a+1.571847026732543*i-.21825383453227928*s),z:nr(-.090982811*a-.31272829*i+1.5227666*s)};return o!==void 0&&(u.alpha=o),u},Da=e=>{let t=Na(Ke(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},Ha=e=>Qe(Aa(e)),gl={mode:"jab",channels:["j","a","b","alpha"],parse:["--jzazbz"],serialize:"--jzazbz",fromMode:{rgb:Da,xyz65:Na},toMode:{rgb:Ha,xyz65:Aa},ranges:{j:[0,.222],a:[-.109,.129],b:[-.185,.134]},interpolate:{j:m,a:m,b:m,alpha:{use:m,fixup:V}}},Ia=({j:e,a:t,b:n,alpha:o})=>{let r=Math.sqrt(t*t+n*n),a={mode:"jch",j:e,c:r};return r&&(a.h=F(Math.atan2(n,t)*180/Math.PI)),o!==void 0&&(a.alpha=o),a},Va=({j:e,c:t,h:n,alpha:o})=>{let r={mode:"jab",j:e,a:t?t*Math.cos(n/180*Math.PI):0,b:t?t*Math.sin(n/180*Math.PI):0};return o!==void 0&&(r.alpha=o),r},bl={mode:"jch",parse:["--jzczhz"],serialize:"--jzczhz",toMode:{jab:Va,rgb:e=>Ha(Va(e))},fromMode:{rgb:e=>Ia(Da(e)),jab:Ia},channels:["j","c","h","alpha"],ranges:{j:[0,.221],c:[0,.19],h:[0,360]},interpolate:{h:{use:m,fixup:ge},c:m,j:m,alpha:{use:m,fixup:V}},difference:{h:Jt},average:{h:be}},en=Math.pow(29,3)/Math.pow(3,3),rr=Math.pow(6,3)/Math.pow(29,3);let or=e=>Math.pow(e,3)>rr?Math.pow(e,3):(116*e-16)/en;const ar=({l:e,a:t,b:n,alpha:o})=>{let r=(e+16)/116,a=t/500+r,i=r-n/200,s={mode:"xyz50",x:or(a)*H.X,y:or(r)*H.Y,z:or(i)*H.Z};return o!==void 0&&(s.alpha=o),s},Tt=({x:e,y:t,z:n,alpha:o})=>{let r=Ge({r:e*3.1341359569958707-t*1.6173863321612538-.4906619460083532*n,g:e*-.978795502912089+t*1.916254567259524+.03344273116131949*n,b:e*.07195537988411677-t*.2289768264158322+1.405386058324125*n});return o!==void 0&&(r.alpha=o),r},Xa=e=>Tt(ar(e)),$t=e=>{let{r:t,g:n,b:o,alpha:r}=Ze(e),a={mode:"xyz50",x:.436065742824811*t+.3851514688337912*n+.14307845442264197*o,y:.22249319175623702*t+.7168870538238823*n+.06061979053616537*o,z:.013923904500943465*t+.09708128566574634*n+.7140993584005155*o};return r!==void 0&&(a.alpha=r),a},ir=e=>e>rr?Math.cbrt(e):(en*e+16)/116,sr=({x:e,y:t,z:n,alpha:o})=>{let r=ir(e/H.X),a=ir(t/H.Y),i=ir(n/H.Z),s={mode:"lab",l:116*a-16,a:500*(r-a),b:200*(a-i)};return o!==void 0&&(s.alpha=o),s},Fa=e=>{let t=sr($t(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t};function vl(e,t){if(!t||t[0]!=="lab")return;const n={mode:"lab"},[,o,r,a,i]=t;if(!(o.type===b.Hue||r.type===b.Hue||a.type===b.Hue))return o.type!==b.None&&(n.l=o.value),r.type!==b.None&&(n.a=r.type===b.Number?r.value:r.value*125/100),a.type!==b.None&&(n.b=a.type===b.Number?a.value:a.value*125/100),i.type!==b.None&&(n.alpha=i.type===b.Number?i.value:i.value/100),n}const cr={mode:"lab",toMode:{xyz50:ar,rgb:Xa},fromMode:{xyz50:sr,rgb:Fa},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-100,100],b:[-100,100]},parse:[vl],serialize:e=>`lab(${e.l!==void 0?e.l:"none"} ${e.a!==void 0?e.a:"none"} ${e.b!==void 0?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{l:m,a:m,b:m,alpha:{use:m,fixup:V}}},yl={...cr,mode:"lab65",parse:["--lab-d65"],serialize:"--lab-d65",toMode:{xyz65:$a,rgb:Bt},fromMode:{xyz65:Ma,rgb:Zt},ranges:{l:[0,100],a:[-86.182,98.234],b:[-107.86,94.477]}};function ml(e,t){if(!t||t[0]!=="lch")return;const n={mode:"lch"},[,o,r,a,i]=t;if(o.type!==b.None){if(o.type===b.Hue)return;n.l=o.value}if(r.type!==b.None&&(n.c=Math.max(0,r.type===b.Number?r.value:r.value*150/100)),a.type!==b.None){if(a.type===b.Percentage)return;n.h=a.value}return i.type!==b.None&&(n.alpha=i.type===b.Number?i.value:i.value/100),n}const lr={mode:"lch",toMode:{lab:Se,rgb:e=>Xa(Se(e))},fromMode:{rgb:e=>je(Fa(e)),lab:je},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,150],h:[0,360]},parse:[ml],serialize:e=>`lch(${e.l!==void 0?e.l:"none"} ${e.c!==void 0?e.c:"none"} ${e.h||0}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:m,fixup:ge},c:m,l:m,alpha:{use:m,fixup:V}},difference:{h:Jt},average:{h:be}},wl={...lr,mode:"lch65",parse:["--lch-d65"],serialize:"--lch-d65",toMode:{lab65:e=>Se(e,"lab65"),rgb:e=>Bt(Se(e,"lab65"))},fromMode:{rgb:e=>je(Zt(e),"lch65"),lab65:e=>je(e,"lch65")},ranges:{l:[0,100],c:[0,133.807],h:[0,360]}},qa=({l:e,u:t,v:n,alpha:o})=>{let r=Math.sqrt(t*t+n*n),a={mode:"lchuv",l:e,c:r};return r&&(a.h=F(Math.atan2(n,t)*180/Math.PI)),o!==void 0&&(a.alpha=o),a},Ua=({l:e,c:t,h:n,alpha:o})=>{let r={mode:"luv",l:e,u:t?t*Math.cos(n/180*Math.PI):0,v:t?t*Math.sin(n/180*Math.PI):0};return o!==void 0&&(r.alpha=o),r},Wa=(e,t,n)=>4*e/(e+15*t+3*n),Ya=(e,t,n)=>9*t/(e+15*t+3*n),xl=Wa(H.X,H.Y,H.Z),kl=Ya(H.X,H.Y,H.Z),Tl=e=>e<=rr?en*e:116*Math.cbrt(e)-16,ur=({x:e,y:t,z:n,alpha:o})=>{let r=Tl(t/H.Y),a=Wa(e,t,n),i=Ya(e,t,n);!isFinite(a)||!isFinite(i)?r=a=i=0:(a=13*r*(a-xl),i=13*r*(i-kl));let s={mode:"luv",l:r,u:a,v:i};return o!==void 0&&(s.alpha=o),s},$l=(e,t,n)=>4*e/(e+15*t+3*n),Ml=(e,t,n)=>9*t/(e+15*t+3*n),El=$l(H.X,H.Y,H.Z),Cl=Ml(H.X,H.Y,H.Z),dr=({l:e,u:t,v:n,alpha:o})=>{let r=t/(13*e)+El,a=n/(13*e)+Cl,i=H.Y*(e<=8?e/en:Math.pow((e+16)/116,3)),s=i*(9*r)/(4*a),u=i*(12-3*r-20*a)/(4*a),l={mode:"xyz50",x:s,y:i,z:u};return o!==void 0&&(l.alpha=o),l},jl={mode:"lchuv",toMode:{luv:Ua,rgb:e=>Tt(dr(Ua(e)))},fromMode:{rgb:e=>qa(ur($t(e))),luv:qa},channels:["l","c","h","alpha"],parse:["--lchuv"],serialize:"--lchuv",ranges:{l:[0,100],c:[0,176.956],h:[0,360]},interpolate:{h:{use:m,fixup:ge},c:m,l:m,alpha:{use:m,fixup:V}},difference:{h:Jt},average:{h:be}},Sl={...Be,mode:"lrgb",toMode:{rgb:Ge},fromMode:{rgb:Ze},parse:["srgb-linear"],serialize:"srgb-linear"},Rl={mode:"luv",toMode:{xyz50:dr,rgb:e=>Tt(dr(e))},fromMode:{xyz50:ur,rgb:e=>ur($t(e))},channels:["l","u","v","alpha"],parse:["--luv"],serialize:"--luv",ranges:{l:[0,100],u:[-84.936,175.042],v:[-125.882,87.243]},interpolate:{l:m,u:m,v:m,alpha:{use:m,fixup:V}}},Ja=({r:e,g:t,b:n,alpha:o})=>{let r=Math.cbrt(.41222147079999993*e+.5363325363*t+.0514459929*n),a=Math.cbrt(.2119034981999999*e+.6806995450999999*t+.1073969566*n),i=Math.cbrt(.08830246189999998*e+.2817188376*t+.6299787005000002*n),s={mode:"oklab",l:.2104542553*r+.793617785*a-.0040720468*i,a:1.9779984951*r-2.428592205*a+.4505937099*i,b:.0259040371*r+.7827717662*a-.808675766*i};return o!==void 0&&(s.alpha=o),s},tn=e=>{let t=Ja(Ze(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},Mt=({l:e,a:t,b:n,alpha:o})=>{let r=Math.pow(e*.9999999984505198+.39633779217376786*t+.2158037580607588*n,3),a=Math.pow(e*1.0000000088817609-.10556134232365635*t-.06385417477170591*n,3),i=Math.pow(e*1.0000000546724108-.08948418209496575*t-1.2914855378640917*n,3),s={mode:"lrgb",r:4.076741661347994*r-3.307711590408193*a+.230969928729428*i,g:-1.2684380040921763*r+2.6097574006633715*a-.3413193963102197*i,b:-.004196086541837188*r-.7034186144594493*a+1.7076147009309444*i};return o!==void 0&&(s.alpha=o),s},nn=e=>Ge(Mt(e));function fr(e){const o=1.170873786407767;return .5*(o*e-.206+Math.sqrt((o*e-.206)*(o*e-.206)+4*.03*o*e))}function rn(e){const o=1.170873786407767;return(e*e+.206*e)/(o*(e+.03))}function Ll(e,t){let n,o,r,a,i,s,u,l;-1.88170328*e-.80936493*t>1?(n=1.19086277,o=1.76576728,r=.59662641,a=.75515197,i=.56771245,s=4.0767416621,u=-3.3077115913,l=.2309699292):1.81444104*e-1.19445276*t>1?(n=.73956515,o=-.45954404,r=.08285427,a=.1254107,i=.14503204,s=-1.2684380046,u=2.6097574011,l=-.3413193965):(n=1.35733652,o=-.00915799,r=-1.1513021,a=-.50559606,i=.00692167,s=-.0041960863,u=-.7034186147,l=1.707614701);let d=n+o*e+r*t+a*e*e+i*e*t,c=.3963377774*e+.2158037573*t,f=-.1055613458*e-.0638541728*t,p=-.0894841775*e-1.291485548*t;{let g=1+d*c,v=1+d*f,y=1+d*p,_=g*g*g,C=v*v*v,$=y*y*y,E=3*c*g*g,j=3*f*v*v,M=3*p*y*y,S=6*c*c*g,x=6*f*f*v,k=6*p*p*y,z=s*_+u*C+l*$,W=s*E+u*j+l*M,ae=s*S+u*x+l*k;d=d-z*W/(W*W-.5*z*ae)}return d}function pr(e,t){let n=Ll(e,t),o=Mt({l:1,a:n*e,b:n*t}),r=Math.cbrt(1/Math.max(o.r,o.g,o.b)),a=r*n;return[r,a]}function zl(e,t,n,o,r,a=null){a||(a=pr(e,t));let i;if((n-r)*a[1]-(a[0]-r)*o<=0)i=a[1]*r/(o*a[0]+a[1]*(r-n));else{i=a[1]*(r-1)/(o*(a[0]-1)+a[1]*(r-n));{let s=n-r,u=o,l=.3963377774*e+.2158037573*t,d=-.1055613458*e-.0638541728*t,c=-.0894841775*e-1.291485548*t,f=s+u*l,p=s+u*d,g=s+u*c;{let v=r*(1-i)+i*n,y=i*o,_=v+y*l,C=v+y*d,$=v+y*c,E=_*_*_,j=C*C*C,M=$*$*$,S=3*f*_*_,x=3*p*C*C,k=3*g*$*$,z=6*f*f*_,W=6*p*p*C,ae=6*g*g*$,ie=4.0767416621*E-3.3077115913*j+.2309699292*M-1,I=4.0767416621*S-3.3077115913*x+.2309699292*k,$r=4.0767416621*z-3.3077115913*W+.2309699292*ae,Et=I/(I*I-.5*ie*$r),tt=-ie*Et,ve=-1.2684380046*E+2.6097574011*j-.3413193965*M-1,nt=-1.2684380046*S+2.6097574011*x-.3413193965*k,Mr=-1.2684380046*z+2.6097574011*W-.3413193965*ae,ye=nt/(nt*nt-.5*ve*Mr),se=-ve*ye,Ie=-.0041960863*E-.7034186147*j+1.707614701*M-1,rt=-.0041960863*S-.7034186147*x+1.707614701*k,ot=-.0041960863*z-.7034186147*W+1.707614701*ae,Ct=rt/(rt*rt-.5*Ie*ot),at=-Ie*Ct;tt=Et>=0?tt:1e6,se=ye>=0?se:1e6,at=Ct>=0?at:1e6,i+=Math.min(tt,Math.min(se,at))}}}return i}function hr(e,t,n=null){n||(n=pr(e,t));let o=n[0],r=n[1];return[r/o,r/(1-o)]}function Ba(e,t,n){let o=pr(t,n),r=zl(t,n,e,1,e,o),a=hr(t,n,o),i=.11516993+1/(7.4477897+4.1590124*n+t*(-2.19557347+1.75198401*n+t*(-2.13704948-10.02301043*n+t*(-4.24894561+5.38770819*n+4.69891013*t)))),s=.11239642+1/(1.6132032-.68124379*n+t*(.40370612+.90148123*n+t*(-.27087943+.6122399*n+t*(.00299215-.45399568*n-.14661872*t)))),u=r/Math.min(e*a[0],(1-e)*a[1]),l=e*i,d=(1-e)*s,c=.9*u*Math.sqrt(Math.sqrt(1/(1/(l*l*l*l)+1/(d*d*d*d))));return l=e*.4,d=(1-e)*.8,[Math.sqrt(1/(1/(l*l)+1/(d*d))),c,r]}function Za(e){const t={mode:"okhsl",l:fr(e.l)};e.alpha!==void 0&&(t.alpha=e.alpha);let n=Math.sqrt(e.a*e.a+e.b*e.b);if(!n)return t.s=0,t;let[o,r,a]=Ba(e.l,e.a/n,e.b/n),i;if(n<r){let s=0,u=.8*o,l=1-u/r;i=(n-s)/(u+l*(n-s))*.8}else{let s=r,u=.2*r*r*1.25*1.25/o,l=1-u/(a-r);i=.8+.2*((n-s)/(u+l*(n-s)))}return i&&(t.s=i,t.h=F(Math.atan2(e.b,e.a)*180/Math.PI)),t}function Ka(e){let t=rn(e.l);const n={mode:"oklab",l:t};if(e.alpha!==void 0&&(n.alpha=e.alpha),!e.s||e.l===1)return n.a=n.b=0,n;let o=Math.cos(e.h/180*Math.PI),r=Math.sin(e.h/180*Math.PI),[a,i,s]=Ba(t,o,r),u,l,d,c;e.s<.8?(u=1.25*e.s,l=0,d=.8*a,c=1-d/i):(u=5*(e.s-.8),l=i,d=.2*i*i*1.25*1.25/a,c=1-d/(s-i));let f=l+u*d/(1-c*u);return n.a=f*o,n.b=f*r,n}const Ol={...Ra,mode:"okhsl",channels:["h","s","l","alpha"],parse:["--okhsl"],serialize:"--okhsl",fromMode:{oklab:Za,rgb:e=>Za(tn(e))},toMode:{oklab:Ka,rgb:e=>nn(Ka(e))}};function Ga(e){let t=Math.sqrt(e.a*e.a+e.b*e.b),n=e.l,o=t?e.a/t:1,r=t?e.b/t:1,[a,i]=hr(o,r),s=.5,u=1-s/a,l=i/(t+n*i),d=l*n,c=l*t,f=rn(d),p=c*f/d,g=Mt({l:f,a:o*p,b:r*p}),v=Math.cbrt(1/Math.max(g.r,g.g,g.b,0));n=n/v,t=t/v*fr(n)/n,n=fr(n);const y={mode:"okhsv",s:t?(s+i)*c/(i*s+i*u*c):0,v:n?n/d:0};return y.s&&(y.h=F(Math.atan2(e.b,e.a)*180/Math.PI)),e.alpha!==void 0&&(y.alpha=e.alpha),y}function Qa(e){const t={mode:"oklab"};e.alpha!==void 0&&(t.alpha=e.alpha);const n=e.h||0,o=Math.cos(n/180*Math.PI),r=Math.sin(n/180*Math.PI),[a,i]=hr(o,r),s=.5,u=1-s/a,l=1-e.s*s/(s+i-i*u*e.s),d=e.s*i*s/(s+i-i*u*e.s),c=rn(l),f=d*c/l,p=Mt({l:c,a:o*f,b:r*f}),g=Math.cbrt(1/Math.max(p.r,p.g,p.b,0)),v=rn(e.v*l),y=d*v/l;return t.l=v*g,t.a=y*o*g,t.b=y*r*g,t}const Nl={...Oa,mode:"okhsv",channels:["h","s","v","alpha"],parse:["--okhsv"],serialize:"--okhsv",fromMode:{oklab:Ga,rgb:e=>Ga(tn(e))},toMode:{oklab:Qa,rgb:e=>nn(Qa(e))}};function Pl(e,t){if(!t||t[0]!=="oklab")return;const n={mode:"oklab"},[,o,r,a,i]=t;if(!(o.type===b.Hue||r.type===b.Hue||a.type===b.Hue))return o.type!==b.None&&(n.l=o.type===b.Number?o.value:o.value/100),r.type!==b.None&&(n.a=r.type===b.Number?r.value:r.value*.4/100),a.type!==b.None&&(n.b=a.type===b.Number?a.value:a.value*.4/100),i.type!==b.None&&(n.alpha=i.type===b.Number?i.value:i.value/100),n}const Al={...cr,mode:"oklab",toMode:{lrgb:Mt,rgb:nn},fromMode:{lrgb:Ja,rgb:tn},ranges:{l:[0,1],a:[-.4,.4],b:[-.4,.4]},parse:[Pl],serialize:e=>`oklab(${e.l!==void 0?e.l:"none"} ${e.a!==void 0?e.a:"none"} ${e.b!==void 0?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`};function Dl(e,t){if(!t||t[0]!=="oklch")return;const n={mode:"oklch"},[,o,r,a,i]=t;if(o.type!==b.None){if(o.type===b.Hue)return;n.l=o.type===b.Number?o.value:o.value/100}if(r.type!==b.None&&(n.c=Math.max(0,r.type===b.Number?r.value:r.value*.4/100)),a.type!==b.None){if(a.type===b.Percentage)return;n.h=a.value}return i.type!==b.None&&(n.alpha=i.type===b.Number?i.value:i.value/100),n}const Hl={...lr,mode:"oklch",toMode:{oklab:e=>Se(e,"oklab"),rgb:e=>nn(Se(e,"oklab"))},fromMode:{rgb:e=>je(tn(e),"oklch"),oklab:e=>je(e,"oklch")},parse:[Dl],serialize:e=>`oklch(${e.l!==void 0?e.l:"none"} ${e.c!==void 0?e.c:"none"} ${e.h||0}${e.alpha<1?` / ${e.alpha}`:""})`,ranges:{l:[0,1],c:[0,.4],h:[0,360]}},ei=e=>{let{r:t,g:n,b:o,alpha:r}=Ze(e),a={mode:"xyz65",x:.486570948648216*t+.265667693169093*n+.1982172852343625*o,y:.2289745640697487*t+.6917385218365062*n+.079286914093745*o,z:0*t+.0451133818589026*n+1.043944368900976*o};return r!==void 0&&(a.alpha=r),a},ti=({x:e,y:t,z:n,alpha:o})=>{let r=Ge({r:e*2.4934969119414263-t*.9313836179191242-.402710784450717*n,g:e*-.8294889695615749+t*1.7626640603183465+.0236246858419436*n,b:e*.0358458302437845-t*.0761723892680418+.9568845240076871*n},"p3");return o!==void 0&&(r.alpha=o),r},Il={...Be,mode:"p3",parse:["display-p3"],serialize:"display-p3",fromMode:{rgb:e=>ti(Ke(e)),xyz65:ti},toMode:{rgb:e=>Qe(ei(e)),xyz65:ei}},_r=e=>{let t=Math.abs(e);return t>=1/512?Math.sign(e)*Math.pow(t,1/1.8):16*e},ni=({x:e,y:t,z:n,alpha:o})=>{let r={mode:"prophoto",r:_r(e*1.3457868816471585-t*.2555720873797946-.0511018649755453*n),g:_r(e*-.5446307051249019+t*1.5082477428451466+.0205274474364214*n),b:_r(e*0+t*0+1.2119675456389452*n)};return o!==void 0&&(r.alpha=o),r},gr=e=>{let t=Math.abs(e);return t>=16/512?Math.sign(e)*Math.pow(t,1.8):e/16},ri=e=>{let t=gr(e.r),n=gr(e.g),o=gr(e.b),r={mode:"xyz50",x:.7977666449006423*t+.1351812974005331*n+.0313477341283922*o,y:.2880748288194013*t+.7118352342418731*n+899369387256e-16*o,z:0*t+0*n+.8251046025104602*o};return e.alpha!==void 0&&(r.alpha=e.alpha),r},Vl={...Be,mode:"prophoto",parse:["prophoto-rgb"],serialize:"prophoto-rgb",fromMode:{xyz50:ni,rgb:e=>ni($t(e))},toMode:{xyz50:ri,rgb:e=>Tt(ri(e))}},oi=1.09929682680944,Xl=.018053968510807,br=e=>{const t=Math.abs(e);return t>Xl?(Math.sign(e)||1)*(oi*Math.pow(t,.45)-(oi-1)):4.5*e},ai=({x:e,y:t,z:n,alpha:o})=>{let r={mode:"rec2020",r:br(e*1.7166511879712683-t*.3556707837763925-.2533662813736599*n),g:br(e*-.6666843518324893+t*1.6164812366349395+.0157685458139111*n),b:br(e*.0176398574453108-t*.0427706132578085+.9421031212354739*n)};return o!==void 0&&(r.alpha=o),r},ii=1.09929682680944,Fl=.018053968510807,vr=e=>{let t=Math.abs(e);return t<Fl*4.5?e/4.5:(Math.sign(e)||1)*Math.pow((t+ii-1)/ii,1/.45)},si=e=>{let t=vr(e.r),n=vr(e.g),o=vr(e.b),r={mode:"xyz65",x:.6369580483012911*t+.1446169035862083*n+.1688809751641721*o,y:.262700212011267*t+.6779980715188708*n+.059301716469862*o,z:0*t+.0280726930490874*n+1.0609850577107909*o};return e.alpha!==void 0&&(r.alpha=e.alpha),r},ql={...Be,mode:"rec2020",fromMode:{xyz65:ai,rgb:e=>ai(Ke(e))},toMode:{xyz65:si,rgb:e=>Qe(si(e))},parse:["rec2020"],serialize:"rec2020"},He=.0037930732552754493,ci=Math.cbrt(He),yr=e=>Math.cbrt(e)-ci,Ul=e=>{const{r:t,g:n,b:o,alpha:r}=Ze(e),a=yr(.3*t+.622*n+.078*o+He),i=yr(.23*t+.692*n+.078*o+He),s=yr(.2434226892454782*t+.2047674442449682*n+.5518098665095535*o+He),u={mode:"xyb",x:(a-i)/2,y:(a+i)/2,b:s-(a+i)/2};return r!==void 0&&(u.alpha=r),u},mr=e=>Math.pow(e+ci,3),Wl={mode:"xyb",channels:["x","y","b","alpha"],parse:["--xyb"],serialize:"--xyb",toMode:{rgb:({x:e,y:t,b:n,alpha:o})=>{const r=mr(e+t)-He,a=mr(t-e)-He,i=mr(n+t)-He,s=Ge({r:11.031566904639861*r-9.866943908131562*a-.16462299650829934*i,g:-3.2541473810744237*r+4.418770377582723*a-.16462299650829934*i,b:-3.6588512867136815*r+2.7129230459360922*a+1.9459282407775895*i});return o!==void 0&&(s.alpha=o),s}},fromMode:{rgb:Ul},ranges:{x:[-.0154,.0281],y:[0,.8453],b:[-.2778,.388]},interpolate:{x:m,y:m,b:m,alpha:{use:m,fixup:V}}},Yl={mode:"xyz50",parse:["xyz-d50"],serialize:"xyz-d50",toMode:{rgb:Tt,lab:sr},fromMode:{rgb:$t,lab:ar},channels:["x","y","z","alpha"],ranges:{x:[0,.964],y:[0,.999],z:[0,.825]},interpolate:{x:m,y:m,z:m,alpha:{use:m,fixup:V}}},Jl={mode:"xyz65",toMode:{rgb:Qe,xyz50:e=>{let{x:t,y:n,z:o,alpha:r}=e,a={mode:"xyz50",x:1.0479298208405488*t+.0229467933410191*n-.0501922295431356*o,y:.0296278156881593*t+.990434484573249*n-.0170738250293851*o,z:-.0092430581525912*t+.0150551448965779*n+.7518742899580008*o};return r!==void 0&&(a.alpha=r),a}},fromMode:{rgb:Ke,xyz50:e=>{let{x:t,y:n,z:o,alpha:r}=e,a={mode:"xyz65",x:.9554734527042182*t-.0230985368742614*n+.0632593086610217*o,y:-.0283697069632081*t+1.0099954580058226*n+.021041398966943*o,z:.0123140016883199*t-.0205076964334779*n+1.3303659366080753*o};return r!==void 0&&(a.alpha=r),a}},ranges:{x:[0,.95],y:[0,1],z:[0,1.088]},channels:["x","y","z","alpha"],parse:["xyz","xyz-d65"],serialize:"xyz-d65",interpolate:{x:m,y:m,z:m,alpha:{use:m,fixup:V}}},Bl={mode:"yiq",toMode:{rgb:({y:e,i:t,q:n,alpha:o})=>{const r={mode:"rgb",r:e+.95608445*t+.6208885*n,g:e-.27137664*t-.6486059*n,b:e-1.10561724*t+1.70250126*n};return o!==void 0&&(r.alpha=o),r}},fromMode:{rgb:({r:e,g:t,b:n,alpha:o})=>{const r={mode:"yiq",y:.29889531*e+.58662247*t+.11448223*n,i:.59597799*e-.2741761*t-.32180189*n,q:.21147017*e-.52261711*t+.31114694*n};return o!==void 0&&(r.alpha=o),r}},channels:["y","i","q","alpha"],parse:["--yiq"],serialize:"--yiq",ranges:{i:[-.595,.595],q:[-.522,.522]},interpolate:{y:m,i:m,q:m,alpha:{use:m,fixup:V}}},Zl=(e,t)=>Math.round(e*(t=Math.pow(10,t)))/t;((e=4)=>t=>typeof t=="number"?Zl(t,e):t)(2);const Kl=e=>{const t=wt(e);if(!t)return;const n=De(t.mode);if(!n.serialize||typeof n.serialize=="string"){let o=`color(${n.serialize||`--${t.mode}`} `;return n.channels.forEach((r,a)=>{r!=="alpha"&&(o+=(a?" ":"")+(t[r]!==void 0?t[r]:"none"))}),t.alpha!==void 0&&t.alpha<1&&(o+=` / ${t.alpha}`),o+")"}if(typeof n.serialize=="function")return n.serialize(t)};_e("rgb");const Gl=e=>{const t={mode:e.mode,r:Math.max(0,Math.min(e.r,1)),g:Math.max(0,Math.min(e.g,1)),b:Math.max(0,Math.min(e.b,1))};return e.alpha!==void 0&&(t.alpha=e.alpha),t},Ql=e=>e!==void 0&&e.r>=0&&e.r<=1&&e.g>=0&&e.g<=1&&e.b>=0&&e.b<=1;function li(e="rgb"){const{gamut:t}=De(e);if(!t)return o=>!0;const n=_e(typeof t=="string"?t:e);return o=>Ql(n(o))}function eu(e="rgb"){const{gamut:t}=De(e);if(!t)return a=>wt(a);const n=typeof t=="string"?t:e,o=_e(n),r=li(n);return a=>{const i=wt(a);if(!i)return;const s=o(i);if(r(s))return i;const u=Gl(s);return i.mode===u.mode?u:_e(i.mode)(u)}}function tu(e="rgb",t="oklch",n=xa("oklch"),o=.02){const r=_e(e);if(!De(e).gamut)return c=>r(c);const a=li(e),i=eu(e),s=_e(t),{ranges:u}=De(t),l=r("white"),d=r("black");return c=>{if(c=wt(c),c===void 0)return;const f={...s(c)};if(f.l>=u.l[1]){const _={...l};return c.alpha!==void 0&&(_.alpha=c.alpha),_}if(f.l<=u.l[0]){const _={...d};return c.alpha!==void 0&&(_.alpha=c.alpha),_}if(a(f))return r(f);let p=0,g=f.c,v=(u.c[1]-u.c[0])/4e3,y=i(f);for(;g-p>v;)f.c=(p+g)*.5,y=i(f),a(f)||n&&o>0&&n(f,y)<=o?p=f.c:g=f.c;return r(a(f)?f:y)}}L(Pc),L(Fc),L(qc),L(Uc),L(Jc),L(Ra),L(Oa),L(ol),L(gl),L(bl),L(cr),L(yl),L(lr),L(wl),L(jl),L(Sl),L(Rl),L(Ol),L(Nl),L(Al),L(Hl),L(Il),L(Vl),L(ql),L(Be),L(Wl),L(Yl),L(Jl),L(Bl);const nu=_e("oklch"),ru=Object.keys({1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0,10:!0,11:!0,12:!0}),ou={light:{1:{l:95.5,c:.0108},2:{l:93.56,c:.0321},3:{l:88.11,c:.0609},4:{l:82.67,c:.0908},5:{l:74.22,c:.1398},6:{l:64.78,c:.1472},7:{l:57.33,c:.1299},8:{l:46.89,c:.1067},9:{l:39.44,c:.0898},10:{l:32,c:.0726},11:{l:23.78,c:.054},12:{l:15.56,c:.0353}},dark:{12:{l:97.78,c:.0108},11:{l:93.56,c:.0321},10:{l:88.11,c:.0609},9:{l:82.67,c:.0908},8:{l:74.22,c:.1398},7:{l:64.78,c:.1472},6:{l:57.33,c:.1299},5:{l:46.89,c:.1067},4:{l:39.44,c:.0898},3:{l:32,c:.0726},2:{l:23.78,c:.054},1:{l:15.56,c:.0353}}},au=(e,t=1,n)=>o=>{const{c:r,l:a}=ou[n][o],i="oklch("+a+"% "+r*t+" "+e+")",s=nu(tu("p3","oklch",xa("oklch"),0)(i)),u=Kl(s);if(!u)throw new Error("Could not format color");return u},wr=e=>{const t=au(e.hue,e.chroma,e.mode);return Object.fromEntries(ru.map(n=>[e.prefix+n,iu(t(n))]))},iu=e=>e.replace("oklch(","").replace(")",""),xr=e=>`--i-${e}`,su=e=>`var(${xr(e)})`,[kr,Tr]=["0 0 0","100 0 0"],cu=e=>({black:kr,white:Tr,lowest:e.mode==="light"?Tr:kr,highest:e.mode==="light"?kr:Tr,...wr({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode}),...wr({prefix:"n-",hue:e.accent.hue,chroma:.05,mode:e.mode}),...wr({prefix:"m-",hue:140,chroma:e.accent.chroma,mode:e.mode})}),Z="transparent",lu=(e,t)=>{var a,i,s,u,l,d,c,f,p;const{typography:n,highcontrast:o,highlights:r}=e;return{font:n.font_family??"inherit","font-style":n.style??"normal","font-filter":((a=n.filter)==null?void 0:a.font_family)??n.font_family??"inherit","font-job-heading":((i=e.typography.job_heading)==null?void 0:i.font_family)??e.typography.font_family??"inherit","font-tag":((s=n.tag)==null?void 0:s.font_family)??n.font_family??"inherit","style-filter":((u=n.filter)==null?void 0:u.style)??n.style??"normal","weight-filter":((l=n.filter)==null?void 0:l.weight)??n.weight??"normal","style-tag":((d=n.tag)==null?void 0:d.style)??n.style??"normal","weight-tag":((c=n.tag)==null?void 0:c.weight)??n.weight??"normal","style-input":((f=n.input)==null?void 0:f.style)??n.style??"normal","weight-input":((p=n.input)==null?void 0:p.weight)??n.weight??"normal","app-bg":t.lowest,copy:o?t["n-12"]:t["n-11"],"copy-lowcontrast":o?t["n-9"]:t["n-8"],"copy-info":o?t["n-8"]:t["n-6"],"copy-icon":o?t["n-11"]:t["n-10"],"copy-accent":t["a-12"],"copy-accent-lowcontrast":t["a-11"],"copy-accent-icon":t["a-11"],"copy-inverted":t.lowest,"copy-inverted-lowcontrast":t["n-4"],"copy-inverted-icon":t["n-3"],"tag-neutral-weak-bg":r==="fill"?t["n-2"]:Z,"tag-neutral-weak-copy":t["n-9"],"tag-neutral-weak-stroke-color":r==="stroke"?t["n-4"]:Z,"tag-neutral-strong-bg":r==="fill"?t["n-11"]:Z,"tag-neutral-strong-copy":t.white,"tag-neutral-strong-stroke-color":r==="stroke"?t.white:Z,"tag-monetary-weak-bg":t["m-2"],"tag-monetary-weak-copy":t["m-9"],"tag-accent-strong-bg":e.mode==="dark"?t["a-5"]:t["a-7"],"tag-accent-strong-copy":e.mode==="dark"?t["a-12"]:t.lowest,"tag-accent-strong-stroke-color":Z,"radius-section":U(e).with({corners:"rounded"},()=>"1rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-input":U(e).with({corners:"rounded"},()=>"999px").with({corners:"soft"},()=>".5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-card":U(e).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"0.5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-tag":U(e).with({corners:"rounded"},()=>"0.5rem").with({corners:"soft"},()=>"0.25rem").with({corners:"sharp"},()=>"0").otherwise(),"interactive-neutral-bg":r==="fill"?t["n-2"]:Z,"interactive-neutral-bg-hover":U(e).with({highlights:"fill"},()=>t["n-3"]).with({highlights:"stroke"},()=>t["n-3"]).otherwise(),"interactive-neutral-text":r==="fill"?t["n-9"]:t["n-7"],"interactive-accent-bg":r==="fill"?t["a-2"]:Z,"interactive-accent-bg-hover":t["a-3"],"interactive-accent-text":r==="fill"?t["a-10"]:t["a-7"],"radius-interactive":U(e).with({corners:"rounded"},()=>"999px").with({corners:"soft"},()=>".5rem").with({corners:"sharp"},()=>"0").otherwise(),"section-weak-bg":U(e).with({highlights:"fill",mode:"dark"},()=>t["n-2"]).with({highlights:"fill",mode:"light"},()=>t["n-1"]).otherwise(()=>Z),"section-strong-bg":U(e).with({highlights:"fill"},()=>t["a-1"]).otherwise(()=>Z),"section-weak-stroke-color":U(e).with({highlights:"stroke"},()=>t["n-5"]).otherwise(()=>Z),"section-strong-stroke-color":U(e).with({highlights:"stroke"},()=>t["n-11"]).otherwise(()=>Z),"section-stroke-width":U(e).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px"),"job-card-bg":U(e).with({highlights:"fill"},()=>t.lowest).otherwise(()=>Z),"job-card-bg-active":U(e).with({highlights:"fill"},()=>t.lowest).otherwise(()=>Z),"job-card-stroke-color":U(e).with({highlights:"stroke",highcontrast:!0},()=>t["n-8"]).with({highlights:"stroke",highcontrast:!1},()=>t["n-10"]).otherwise(()=>Z),"job-card-stroke-color-active":U(e).with({highlights:"stroke"},()=>t["a-6"]).with({highlights:"fill"},()=>t["a-3"]).otherwise(()=>Z),"job-card-stroke-width":U(e).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px")}},uu=e=>{const t=cu(e),n=new Proxy(t,{get:(a,i)=>su(i)}),o=Object.entries(lu(e,n)).map(([a,i])=>`${xr(a)}: ${i};`),r=Object.entries(t).map(([a,i])=>(Q(a),`${xr(a)}: ${i};`));return`#${la} {
|
|
21
|
+
`||t[T]===" "||t[T]===" ");)T++;let r;if(qt(t)&&(r=xt(t),r.type!==b.Hue)){n.push({type:b.Alpha,value:r});continue}if(qn(t)&&Wt(t)==="none"){n.push({type:b.Alpha,value:{type:b.None,value:void 0}});continue}return}if(/\d/.test(o)){T--,n.push(xt(t));continue}if(Fn.test(o)){T--,n.push(Cc(t));continue}return}return n}function Rc(e){e._i=0;let t=e[e._i++];if(!t||t.type!==b.Function||t.value!=="color"||(t=e[e._i++],t.type!==b.Ident))return;const n=ga[t.value];if(!n)return;const o={mode:n},r=ba(e,!1);if(!r)return;const a=Ve(n).channels;for(let i=0,s;i<a.length;i++)s=r[i],s.type!==b.None&&(o[a[i]]=s.type===b.Number?s.value:s.value/100);return o}function ba(e,t){const n=[];let o;for(;e._i<e.length;){if(o=e[e._i++],o.type===b.None||o.type===b.Number||o.type===b.Alpha||o.type===b.Percentage||t&&o.type===b.Hue){n.push(o);continue}if(o.type===b.ParenClose){if(e._i<e.length)return;continue}return}if(!(n.length<3||n.length>4)){if(n.length===4){if(n[3].type!==b.Alpha)return;n[3]=n[3].value}return n.length===3&&n.push({type:b.None,value:void 0}),n.every(r=>r.type!==b.Alpha)?n:void 0}}function Lc(e,t){e._i=0;let n=e[e._i++];if(!n||n.type!==b.Function)return;let o=ba(e,t);if(o)return o.unshift(n.value),o}const zc=e=>{if(typeof e!="string")return;const t=Sc(e),n=t?Lc(t,!0):void 0;let o,r=0,a=Ft.length;for(;r<a;)if((o=Ft[r++](e,n))!==void 0)return o;return t?Rc(t):void 0};function Oc(e,t){if(!t||t[0]!=="rgb"&&t[0]!=="rgba")return;const n={mode:"rgb"},[,o,r,a,i]=t;if(!(o.type===b.Hue||r.type===b.Hue||a.type===b.Hue))return o.type!==b.None&&(n.r=o.type===b.Number?o.value/255:o.value/100),r.type!==b.None&&(n.g=r.type===b.Number?r.value/255:r.value/100),a.type!==b.None&&(n.b=a.type===b.Number?a.value/255:a.value/100),i.type!==b.None&&(n.alpha=i.type===b.Number?i.value:i.value/100),n}const Nc=e=>e==="transparent"?{mode:"rgb",r:0,g:0,b:0,alpha:0}:void 0,Pc=(e,t,n)=>e+n*(t-e),Ac=e=>{let t=[];for(let n=0;n<e.length-1;n++){let o=e[n],r=e[n+1];o===void 0&&r===void 0?t.push(void 0):o!==void 0&&r!==void 0?t.push([o,r]):t.push(o!==void 0?[o,o]:[r,r])}return t},m=(e=>t=>{let n=Ac(t);return o=>{let r=o*n.length,a=o>=1?n.length-1:Math.max(Math.floor(r),0),i=n[a];return i===void 0?void 0:e(i[0],i[1],r-a)}})(Pc),I=e=>{let t=!1,n=e.map(o=>o!==void 0?(t=!0,o):1);return t?n:e},Be={mode:"rgb",channels:["r","g","b","alpha"],parse:[Oc,mc,Tc,vc,Nc,"srgb"],serialize:"srgb",interpolate:{r:m,g:m,b:m,alpha:{use:m,fixup:I}},gamut:!0},Un=e=>Math.pow(Math.abs(e),563/256)*Math.sign(e),va=e=>{let t=Un(e.r),n=Un(e.g),o=Un(e.b),r={mode:"xyz65",x:.5766690429101305*t+.1855582379065463*n+.1882286462349947*o,y:.297344975250536*t+.6273635662554661*n+.0752914584939979*o,z:.0270313613864123*t+.0706888525358272*n+.9913375368376386*o};return e.alpha!==void 0&&(r.alpha=e.alpha),r},Wn=e=>Math.pow(Math.abs(e),256/563)*Math.sign(e),ya=({x:e,y:t,z:n,alpha:o})=>{let r={mode:"a98",r:Wn(e*2.0415879038107465-t*.5650069742788597-.3447313507783297*n),g:Wn(e*-.9692436362808798+t*1.8759675015077206+.0415550574071756*n),b:Wn(e*.0134442806320312-t*.1183623922310184+1.0151749943912058*n)};return o!==void 0&&(r.alpha=o),r},Yn=e=>{const t=Math.abs(e);return t<=.04045?e/12.92:(Math.sign(e)||1)*Math.pow((t+.055)/1.055,2.4)},Ze=({r:e,g:t,b:n,alpha:o})=>{let r={mode:"lrgb",r:Yn(e),g:Yn(t),b:Yn(n)};return o!==void 0&&(r.alpha=o),r},Ke=e=>{let{r:t,g:n,b:o,alpha:r}=Ze(e),a={mode:"xyz65",x:.4123907992659593*t+.357584339383878*n+.1804807884018343*o,y:.2126390058715102*t+.715168678767756*n+.0721923153607337*o,z:.0193308187155918*t+.119194779794626*n+.9505321522496607*o};return r!==void 0&&(a.alpha=r),a},Jn=e=>{const t=Math.abs(e);return t>.0031308?(Math.sign(e)||1)*(1.055*Math.pow(t,1/2.4)-.055):e*12.92},Ge=({r:e,g:t,b:n,alpha:o},r="rgb")=>{let a={mode:r,r:Jn(e),g:Jn(t),b:Jn(n)};return o!==void 0&&(a.alpha=o),a},Qe=({x:e,y:t,z:n,alpha:o})=>{let r=Ge({r:e*3.2409699419045226-t*1.537383177570094-.4986107602930034*n,g:e*-.9692436362808796+t*1.8759675015077204+.0415550574071756*n,b:e*.0556300796969936-t*.2039769588889765+1.0569715142428784*n});return o!==void 0&&(r.alpha=o),r},Dc={...Be,mode:"a98",parse:["a98-rgb"],serialize:"a98-rgb",fromMode:{rgb:e=>ya(Ke(e)),xyz65:ya},toMode:{rgb:e=>Qe(va(e)),xyz65:va}},F=e=>(e=e%360)<0?e+360:e,Hc=(e,t)=>e.map((n,o,r)=>{if(n===void 0)return n;let a=F(n);return o===0||e[o-1]===void 0?a:t(a-F(r[o-1]))}).reduce((n,o)=>!n.length||o===void 0||n[n.length-1]===void 0?(n.push(o),n):(n.push(o+n[n.length-1]),n),[]),ge=e=>Hc(e,t=>Math.abs(t)<=180?t:t-360*Math.sign(t)),X=[-.14861,1.78277,-.29227,-.90649,1.97294,0],Vc=Math.PI/180,Ic=180/Math.PI;let ma=X[3]*X[4],wa=X[1]*X[4],xa=X[1]*X[2]-X[0]*X[3];const Xc=({r:e,g:t,b:n,alpha:o})=>{let r=(xa*n+e*ma-t*wa)/(xa+ma-wa),a=n-r,i=(X[4]*(t-r)-X[2]*a)/X[3],s={mode:"cubehelix",l:r,s:r===0||r===1?void 0:Math.sqrt(a*a+i*i)/(X[4]*r*(1-r))};return s.s&&(s.h=Math.atan2(i,a)*Ic-120),o!==void 0&&(s.alpha=o),s},Fc=({h:e,s:t,l:n,alpha:o})=>{let r={mode:"rgb"};e=(e===void 0?0:e+120)*Vc;let a=t===void 0?0:t*n*(1-n),i=Math.cos(e),s=Math.sin(e);return r.r=n+a*(X[0]*i+X[1]*s),r.g=n+a*(X[2]*i+X[3]*s),r.b=n+a*(X[4]*i+X[5]*s),o!==void 0&&(r.alpha=o),r},Yt=(e,t)=>{if(e.h===void 0||t.h===void 0||!e.s||!t.s)return 0;let n=F(e.h),o=F(t.h),r=Math.sin((o-n+360)/2*Math.PI/180);return 2*Math.sqrt(e.s*t.s)*r},qc=(e,t)=>{if(e.h===void 0||t.h===void 0)return 0;let n=F(e.h),o=F(t.h);return Math.abs(o-n)>180?n-(o-360*Math.sign(o-n)):o-n},Jt=(e,t)=>{if(e.h===void 0||t.h===void 0||!e.c||!t.c)return 0;let n=F(e.h),o=F(t.h),r=Math.sin((o-n+360)/2*Math.PI/180);return 2*Math.sqrt(e.c*t.c)*r},ka=(e="rgb",t=[1,1,1,0])=>{let n=Ve(e),o=n.channels,r=n.difference,a=_e(e);return(i,s)=>{let u=a(i),l=a(s);return Math.sqrt(o.reduce((f,c,d)=>{let p=r[c]?r[c](u,l):u[c]-l[c];return f+(t[d]||0)*Math.pow(isNaN(p)?0:p,2)},0))}},be=e=>{let t=e.reduce((n,o)=>{if(o!==void 0){let r=o*Math.PI/180;n.sin+=Math.sin(r),n.cos+=Math.cos(r)}return n},{sin:0,cos:0});return Math.atan2(t.sin,t.cos)*180/Math.PI},Uc={mode:"cubehelix",channels:["h","s","l","alpha"],parse:["--cubehelix"],serialize:"--cubehelix",ranges:{h:[0,360],s:[0,4.614],l:[0,1]},fromMode:{rgb:Xc},toMode:{rgb:Fc},interpolate:{h:{use:m,fixup:ge},s:m,l:m,alpha:{use:m,fixup:I}},difference:{h:Yt},average:{h:be}},Ce=({l:e,a:t,b:n,alpha:o},r="lch")=>{let a=Math.sqrt(t*t+n*n),i={mode:r,l:e,c:a};return a&&(i.h=F(Math.atan2(n,t)*180/Math.PI)),o!==void 0&&(i.alpha=o),i},Se=({l:e,c:t,h:n,alpha:o},r="lab")=>{let a={mode:r,l:e,a:t?t*Math.cos(n/180*Math.PI):0,b:t?t*Math.sin(n/180*Math.PI):0};return o!==void 0&&(a.alpha=o),a},Ta=Math.pow(29,3)/Math.pow(3,3),$a=Math.pow(6,3)/Math.pow(29,3),H={X:.3457/.3585,Y:1,Z:(1-.3457-.3585)/.3585},et={X:.3127/.329,Y:1,Z:(1-.3127-.329)/.329};let Bn=e=>Math.pow(e,3)>$a?Math.pow(e,3):(116*e-16)/Ta;const Ma=({l:e,a:t,b:n,alpha:o})=>{let r=(e+16)/116,a=t/500+r,i=r-n/200,s={mode:"xyz65",x:Bn(a)*et.X,y:Bn(r)*et.Y,z:Bn(i)*et.Z};return o!==void 0&&(s.alpha=o),s},Bt=e=>Qe(Ma(e)),Zn=e=>e>$a?Math.cbrt(e):(Ta*e+16)/116,Ea=({x:e,y:t,z:n,alpha:o})=>{let r=Zn(e/et.X),a=Zn(t/et.Y),i=Zn(n/et.Z),s={mode:"lab65",l:116*a-16,a:500*(r-a),b:200*(a-i)};return o!==void 0&&(s.alpha=o),s},Zt=e=>{let t=Ea(Ke(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},Kt=1,ja=1,kt=26/180*Math.PI,Gt=Math.cos(kt),Qt=Math.sin(kt),Ca=100/Math.log(139/100),Kn=({l:e,c:t,h:n,alpha:o})=>{let r={mode:"lab65",l:(Math.exp(e*Kt/Ca)-1)/.0039};if(n===void 0)r.a=r.b=0;else{let a=(Math.exp(.0435*t*ja*Kt)-1)/.075,i=a*Math.cos(n/180*Math.PI-kt),s=a*Math.sin(n/180*Math.PI-kt);r.a=i*Gt-s/.83*Qt,r.b=i*Qt+s/.83*Gt}return o!==void 0&&(r.alpha=o),r},Gn=({l:e,a:t,b:n,alpha:o})=>{let r=t*Gt+n*Qt,a=.83*(n*Gt-t*Qt),i=Math.sqrt(r*r+a*a),s={mode:"dlch",l:Ca/Kt*Math.log(1+.0039*e),c:Math.log(1+.075*i)/(.0435*ja*Kt)};return s.c&&(s.h=F((Math.atan2(a,r)+kt)/Math.PI*180)),o!==void 0&&(s.alpha=o),s},Sa=e=>Kn(Ce(e,"dlch")),Ra=e=>Se(Gn(e),"dlab"),Wc={mode:"dlab",parse:["--din99o-lab"],serialize:"--din99o-lab",toMode:{lab65:Sa,rgb:e=>Bt(Sa(e))},fromMode:{lab65:Ra,rgb:e=>Ra(Zt(e))},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-40.09,45.501],b:[-40.469,44.344]},interpolate:{l:m,a:m,b:m,alpha:{use:m,fixup:I}}},Yc={mode:"dlch",parse:["--din99o-lch"],serialize:"--din99o-lch",toMode:{lab65:Kn,dlab:e=>Se(e,"dlab"),rgb:e=>Bt(Kn(e))},fromMode:{lab65:Gn,dlab:e=>Ce(e,"dlch"),rgb:e=>Gn(Zt(e))},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,51.484],h:[0,360]},interpolate:{l:m,c:m,h:{use:m,fixup:ge},alpha:{use:m,fixup:I}},difference:{h:Jt},average:{h:be}};function Jc({h:e,s:t,i:n,alpha:o}){e=F(e);let r=Math.abs(e/60%2-1),a;switch(Math.floor(e/60)){case 0:a={r:n*(1+t*(3/(2-r)-1)),g:n*(1+t*(3*(1-r)/(2-r)-1)),b:n*(1-t)};break;case 1:a={r:n*(1+t*(3*(1-r)/(2-r)-1)),g:n*(1+t*(3/(2-r)-1)),b:n*(1-t)};break;case 2:a={r:n*(1-t),g:n*(1+t*(3/(2-r)-1)),b:n*(1+t*(3*(1-r)/(2-r)-1))};break;case 3:a={r:n*(1-t),g:n*(1+t*(3*(1-r)/(2-r)-1)),b:n*(1+t*(3/(2-r)-1))};break;case 4:a={r:n*(1+t*(3*(1-r)/(2-r)-1)),g:n*(1-t),b:n*(1+t*(3/(2-r)-1))};break;case 5:a={r:n*(1+t*(3/(2-r)-1)),g:n*(1-t),b:n*(1+t*(3*(1-r)/(2-r)-1))};break;default:a={r:n*(1-t),g:n*(1-t),b:n*(1-t)}}return a.mode="rgb",o!==void 0&&(a.alpha=o),a}function Bc({r:e,g:t,b:n,alpha:o}){let r=Math.max(e,t,n),a=Math.min(e,t,n),i={mode:"hsi",s:e+t+n===0?0:1-3*a/(e+t+n),i:(e+t+n)/3};return r-a!==0&&(i.h=(r===e?(t-n)/(r-a)+(t<n)*6:r===t?(n-e)/(r-a)+2:(e-t)/(r-a)+4)*60),o!==void 0&&(i.alpha=o),i}const Zc={mode:"hsi",toMode:{rgb:Jc},parse:["--hsi"],serialize:"--hsi",fromMode:{rgb:Bc},channels:["h","s","i","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:m,fixup:ge},s:m,i:m,alpha:{use:m,fixup:I}},difference:{h:Yt},average:{h:be}};function Kc({h:e,s:t,l:n,alpha:o}){e=F(e);let r=n+t*(n<.5?n:1-n),a=r-(r-n)*2*Math.abs(e/60%2-1),i;switch(Math.floor(e/60)){case 0:i={r,g:a,b:2*n-r};break;case 1:i={r:a,g:r,b:2*n-r};break;case 2:i={r:2*n-r,g:r,b:a};break;case 3:i={r:2*n-r,g:a,b:r};break;case 4:i={r:a,g:2*n-r,b:r};break;case 5:i={r,g:2*n-r,b:a};break;default:i={r:2*n-r,g:2*n-r,b:2*n-r}}return i.mode="rgb",o!==void 0&&(i.alpha=o),i}function Gc({r:e,g:t,b:n,alpha:o}){let r=Math.max(e,t,n),a=Math.min(e,t,n),i={mode:"hsl",s:r===a?0:(r-a)/(1-Math.abs(r+a-1)),l:.5*(r+a)};return r-a!==0&&(i.h=(r===e?(t-n)/(r-a)+(t<n)*6:r===t?(n-e)/(r-a)+2:(e-t)/(r-a)+4)*60),o!==void 0&&(i.alpha=o),i}const Qc=(e,t)=>{switch(t){case"deg":return+e;case"rad":return e/Math.PI*180;case"grad":return e/10*9;case"turn":return e*360}},el=new RegExp(`^hsla?\\(\\s*${wc}${Je}${mt}${Je}${mt}\\s*(?:,\\s*${Xn}\\s*)?\\)$`),tl=e=>{let t=e.match(el);if(!t)return;let n={mode:"hsl"};return t[3]!==void 0?n.h=+t[3]:t[1]!==void 0&&t[2]!==void 0&&(n.h=Qc(t[1],t[2])),t[4]!==void 0&&(n.s=Math.min(Math.max(0,t[4]/100),1)),t[5]!==void 0&&(n.l=Math.min(Math.max(0,t[5]/100),1)),t[6]!==void 0?n.alpha=t[6]/100:t[7]!==void 0&&(n.alpha=+t[7]),n};function nl(e,t){if(!t||t[0]!=="hsl"&&t[0]!=="hsla")return;const n={mode:"hsl"},[,o,r,a,i]=t;if(o.type!==b.None){if(o.type===b.Percentage)return;n.h=o.value}if(r.type!==b.None){if(r.type===b.Hue)return;n.s=r.type===b.Number?r.value:r.value/100}if(a.type!==b.None){if(a.type===b.Hue)return;n.l=a.type===b.Number?a.value:a.value/100}return i.type!==b.None&&(n.alpha=i.type===b.Number?i.value:i.value/100),n}const La={mode:"hsl",toMode:{rgb:Kc},fromMode:{rgb:Gc},channels:["h","s","l","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[nl,tl],serialize:e=>`hsl(${e.h||0} ${e.s!==void 0?e.s*100+"%":"none"} ${e.l!==void 0?e.l*100+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:m,fixup:ge},s:m,l:m,alpha:{use:m,fixup:I}},difference:{h:Yt},average:{h:be}};function za({h:e,s:t,v:n,alpha:o}){e=F(e);let r=Math.abs(e/60%2-1),a;switch(Math.floor(e/60)){case 0:a={r:n,g:n*(1-t*r),b:n*(1-t)};break;case 1:a={r:n*(1-t*r),g:n,b:n*(1-t)};break;case 2:a={r:n*(1-t),g:n,b:n*(1-t*r)};break;case 3:a={r:n*(1-t),g:n*(1-t*r),b:n};break;case 4:a={r:n*(1-t*r),g:n*(1-t),b:n};break;case 5:a={r:n,g:n*(1-t),b:n*(1-t*r)};break;default:a={r:n*(1-t),g:n*(1-t),b:n*(1-t)}}return a.mode="rgb",o!==void 0&&(a.alpha=o),a}function Oa({r:e,g:t,b:n,alpha:o}){let r=Math.max(e,t,n),a=Math.min(e,t,n),i={mode:"hsv",s:r===0?0:1-a/r,v:r};return r-a!==0&&(i.h=(r===e?(t-n)/(r-a)+(t<n)*6:r===t?(n-e)/(r-a)+2:(e-t)/(r-a)+4)*60),o!==void 0&&(i.alpha=o),i}const Na={mode:"hsv",toMode:{rgb:za},parse:["--hsv"],serialize:"--hsv",fromMode:{rgb:Oa},channels:["h","s","v","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:m,fixup:ge},s:m,v:m,alpha:{use:m,fixup:I}},difference:{h:Yt},average:{h:be}};function rl({h:e,w:t,b:n,alpha:o}){if(t+n>1){let r=t+n;t/=r,n/=r}return za({h:e,s:n===1?1:1-t/(1-n),v:1-n,alpha:o})}function ol(e){let t=Oa(e);if(t===void 0)return;let n={mode:"hwb",w:(1-t.s)*t.v,b:1-t.v};return t.h!==void 0&&(n.h=t.h),t.alpha!==void 0&&(n.alpha=t.alpha),n}function al(e,t){if(!t||t[0]!=="hwb")return;const n={mode:"hwb"},[,o,r,a,i]=t;if(o.type!==b.None){if(o.type===b.Percentage)return;n.h=o.value}if(r.type!==b.None){if(r.type===b.Hue)return;n.w=r.type===b.Number?r.value:r.value/100}if(a.type!==b.None){if(a.type===b.Hue)return;n.b=a.type===b.Number?a.value:a.value/100}return i.type!==b.None&&(n.alpha=i.type===b.Number?i.value:i.value/100),n}const il={mode:"hwb",toMode:{rgb:rl},fromMode:{rgb:ol},channels:["h","w","b","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[al],serialize:e=>`hwb(${e.h||0} ${e.w*100}% ${e.b*100}%${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:m,fixup:ge},w:m,b:m,alpha:{use:m,fixup:I}},difference:{h:qc},average:{h:be}},sl=.1593017578125,cl=134.03437499999998,ll=.8359375,ul=18.8515625,dl=18.6875,fl=16295499532821565e-27,Qn=e=>{let t=Math.pow(e/1e4,sl);return Math.pow((ll+ul*t)/(1+dl*t),cl)||0},er=e=>Math.max(e*203,0),Pa=({x:e,y:t,z:n,alpha:o})=>{e=er(e),t=er(t),n=er(n);let r=1.15*e-.15*n,a=.66*t+.34*e,i=Qn(.41478972*r+.579999*a+.014648*n),s=Qn(-.20151*r+1.120649*a+.0531008*n),u=Qn(-.0166008*r+.2648*a+.6684799*n),l=(i+s)/2,f={mode:"jab",j:.44*l/(1-.56*l)-fl,a:3.524*i-4.066708*s+.542708*u,b:.199076*i+1.096799*s-1.295875*u};return o!==void 0&&(f.alpha=o),f},pl=.1593017578125,hl=134.03437499999998,_l=.8359375,gl=18.8515625,bl=18.6875,Aa=16295499532821565e-27,tr=e=>{let t=Math.pow(e,1/hl);return 1e4*Math.pow((_l-t)/(bl*t-gl),1/pl)||0},nr=e=>e/203,Da=({j:e,a:t,b:n,alpha:o})=>{let r=(e+Aa)/(.44+.56*(e+Aa)),a=tr(r+.13860504*t+.058047316*n),i=tr(r-.13860504*t-.058047316*n),s=tr(r-.096019242*t-.8118919*n),u={mode:"xyz65",x:nr(1.661373024652174*a-.914523081304348*i+.23136208173913045*s),y:nr(-.3250758611844533*a+1.571847026732543*i-.21825383453227928*s),z:nr(-.090982811*a-.31272829*i+1.5227666*s)};return o!==void 0&&(u.alpha=o),u},Ha=e=>{let t=Pa(Ke(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},Va=e=>Qe(Da(e)),vl={mode:"jab",channels:["j","a","b","alpha"],parse:["--jzazbz"],serialize:"--jzazbz",fromMode:{rgb:Ha,xyz65:Pa},toMode:{rgb:Va,xyz65:Da},ranges:{j:[0,.222],a:[-.109,.129],b:[-.185,.134]},interpolate:{j:m,a:m,b:m,alpha:{use:m,fixup:I}}},Ia=({j:e,a:t,b:n,alpha:o})=>{let r=Math.sqrt(t*t+n*n),a={mode:"jch",j:e,c:r};return r&&(a.h=F(Math.atan2(n,t)*180/Math.PI)),o!==void 0&&(a.alpha=o),a},Xa=({j:e,c:t,h:n,alpha:o})=>{let r={mode:"jab",j:e,a:t?t*Math.cos(n/180*Math.PI):0,b:t?t*Math.sin(n/180*Math.PI):0};return o!==void 0&&(r.alpha=o),r},yl={mode:"jch",parse:["--jzczhz"],serialize:"--jzczhz",toMode:{jab:Xa,rgb:e=>Va(Xa(e))},fromMode:{rgb:e=>Ia(Ha(e)),jab:Ia},channels:["j","c","h","alpha"],ranges:{j:[0,.221],c:[0,.19],h:[0,360]},interpolate:{h:{use:m,fixup:ge},c:m,j:m,alpha:{use:m,fixup:I}},difference:{h:Jt},average:{h:be}},en=Math.pow(29,3)/Math.pow(3,3),rr=Math.pow(6,3)/Math.pow(29,3);let or=e=>Math.pow(e,3)>rr?Math.pow(e,3):(116*e-16)/en;const ar=({l:e,a:t,b:n,alpha:o})=>{let r=(e+16)/116,a=t/500+r,i=r-n/200,s={mode:"xyz50",x:or(a)*H.X,y:or(r)*H.Y,z:or(i)*H.Z};return o!==void 0&&(s.alpha=o),s},Tt=({x:e,y:t,z:n,alpha:o})=>{let r=Ge({r:e*3.1341359569958707-t*1.6173863321612538-.4906619460083532*n,g:e*-.978795502912089+t*1.916254567259524+.03344273116131949*n,b:e*.07195537988411677-t*.2289768264158322+1.405386058324125*n});return o!==void 0&&(r.alpha=o),r},Fa=e=>Tt(ar(e)),$t=e=>{let{r:t,g:n,b:o,alpha:r}=Ze(e),a={mode:"xyz50",x:.436065742824811*t+.3851514688337912*n+.14307845442264197*o,y:.22249319175623702*t+.7168870538238823*n+.06061979053616537*o,z:.013923904500943465*t+.09708128566574634*n+.7140993584005155*o};return r!==void 0&&(a.alpha=r),a},ir=e=>e>rr?Math.cbrt(e):(en*e+16)/116,sr=({x:e,y:t,z:n,alpha:o})=>{let r=ir(e/H.X),a=ir(t/H.Y),i=ir(n/H.Z),s={mode:"lab",l:116*a-16,a:500*(r-a),b:200*(a-i)};return o!==void 0&&(s.alpha=o),s},qa=e=>{let t=sr($t(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t};function ml(e,t){if(!t||t[0]!=="lab")return;const n={mode:"lab"},[,o,r,a,i]=t;if(!(o.type===b.Hue||r.type===b.Hue||a.type===b.Hue))return o.type!==b.None&&(n.l=o.value),r.type!==b.None&&(n.a=r.type===b.Number?r.value:r.value*125/100),a.type!==b.None&&(n.b=a.type===b.Number?a.value:a.value*125/100),i.type!==b.None&&(n.alpha=i.type===b.Number?i.value:i.value/100),n}const cr={mode:"lab",toMode:{xyz50:ar,rgb:Fa},fromMode:{xyz50:sr,rgb:qa},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-100,100],b:[-100,100]},parse:[ml],serialize:e=>`lab(${e.l!==void 0?e.l:"none"} ${e.a!==void 0?e.a:"none"} ${e.b!==void 0?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{l:m,a:m,b:m,alpha:{use:m,fixup:I}}},wl={...cr,mode:"lab65",parse:["--lab-d65"],serialize:"--lab-d65",toMode:{xyz65:Ma,rgb:Bt},fromMode:{xyz65:Ea,rgb:Zt},ranges:{l:[0,100],a:[-86.182,98.234],b:[-107.86,94.477]}};function xl(e,t){if(!t||t[0]!=="lch")return;const n={mode:"lch"},[,o,r,a,i]=t;if(o.type!==b.None){if(o.type===b.Hue)return;n.l=o.value}if(r.type!==b.None&&(n.c=Math.max(0,r.type===b.Number?r.value:r.value*150/100)),a.type!==b.None){if(a.type===b.Percentage)return;n.h=a.value}return i.type!==b.None&&(n.alpha=i.type===b.Number?i.value:i.value/100),n}const lr={mode:"lch",toMode:{lab:Se,rgb:e=>Fa(Se(e))},fromMode:{rgb:e=>Ce(qa(e)),lab:Ce},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,150],h:[0,360]},parse:[xl],serialize:e=>`lch(${e.l!==void 0?e.l:"none"} ${e.c!==void 0?e.c:"none"} ${e.h||0}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:m,fixup:ge},c:m,l:m,alpha:{use:m,fixup:I}},difference:{h:Jt},average:{h:be}},kl={...lr,mode:"lch65",parse:["--lch-d65"],serialize:"--lch-d65",toMode:{lab65:e=>Se(e,"lab65"),rgb:e=>Bt(Se(e,"lab65"))},fromMode:{rgb:e=>Ce(Zt(e),"lch65"),lab65:e=>Ce(e,"lch65")},ranges:{l:[0,100],c:[0,133.807],h:[0,360]}},Ua=({l:e,u:t,v:n,alpha:o})=>{let r=Math.sqrt(t*t+n*n),a={mode:"lchuv",l:e,c:r};return r&&(a.h=F(Math.atan2(n,t)*180/Math.PI)),o!==void 0&&(a.alpha=o),a},Wa=({l:e,c:t,h:n,alpha:o})=>{let r={mode:"luv",l:e,u:t?t*Math.cos(n/180*Math.PI):0,v:t?t*Math.sin(n/180*Math.PI):0};return o!==void 0&&(r.alpha=o),r},Ya=(e,t,n)=>4*e/(e+15*t+3*n),Ja=(e,t,n)=>9*t/(e+15*t+3*n),Tl=Ya(H.X,H.Y,H.Z),$l=Ja(H.X,H.Y,H.Z),Ml=e=>e<=rr?en*e:116*Math.cbrt(e)-16,ur=({x:e,y:t,z:n,alpha:o})=>{let r=Ml(t/H.Y),a=Ya(e,t,n),i=Ja(e,t,n);!isFinite(a)||!isFinite(i)?r=a=i=0:(a=13*r*(a-Tl),i=13*r*(i-$l));let s={mode:"luv",l:r,u:a,v:i};return o!==void 0&&(s.alpha=o),s},El=(e,t,n)=>4*e/(e+15*t+3*n),jl=(e,t,n)=>9*t/(e+15*t+3*n),Cl=El(H.X,H.Y,H.Z),Sl=jl(H.X,H.Y,H.Z),dr=({l:e,u:t,v:n,alpha:o})=>{let r=t/(13*e)+Cl,a=n/(13*e)+Sl,i=H.Y*(e<=8?e/en:Math.pow((e+16)/116,3)),s=i*(9*r)/(4*a),u=i*(12-3*r-20*a)/(4*a),l={mode:"xyz50",x:s,y:i,z:u};return o!==void 0&&(l.alpha=o),l},Rl={mode:"lchuv",toMode:{luv:Wa,rgb:e=>Tt(dr(Wa(e)))},fromMode:{rgb:e=>Ua(ur($t(e))),luv:Ua},channels:["l","c","h","alpha"],parse:["--lchuv"],serialize:"--lchuv",ranges:{l:[0,100],c:[0,176.956],h:[0,360]},interpolate:{h:{use:m,fixup:ge},c:m,l:m,alpha:{use:m,fixup:I}},difference:{h:Jt},average:{h:be}},Ll={...Be,mode:"lrgb",toMode:{rgb:Ge},fromMode:{rgb:Ze},parse:["srgb-linear"],serialize:"srgb-linear"},zl={mode:"luv",toMode:{xyz50:dr,rgb:e=>Tt(dr(e))},fromMode:{xyz50:ur,rgb:e=>ur($t(e))},channels:["l","u","v","alpha"],parse:["--luv"],serialize:"--luv",ranges:{l:[0,100],u:[-84.936,175.042],v:[-125.882,87.243]},interpolate:{l:m,u:m,v:m,alpha:{use:m,fixup:I}}},Ba=({r:e,g:t,b:n,alpha:o})=>{let r=Math.cbrt(.41222147079999993*e+.5363325363*t+.0514459929*n),a=Math.cbrt(.2119034981999999*e+.6806995450999999*t+.1073969566*n),i=Math.cbrt(.08830246189999998*e+.2817188376*t+.6299787005000002*n),s={mode:"oklab",l:.2104542553*r+.793617785*a-.0040720468*i,a:1.9779984951*r-2.428592205*a+.4505937099*i,b:.0259040371*r+.7827717662*a-.808675766*i};return o!==void 0&&(s.alpha=o),s},tn=e=>{let t=Ba(Ze(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},Mt=({l:e,a:t,b:n,alpha:o})=>{let r=Math.pow(e*.9999999984505198+.39633779217376786*t+.2158037580607588*n,3),a=Math.pow(e*1.0000000088817609-.10556134232365635*t-.06385417477170591*n,3),i=Math.pow(e*1.0000000546724108-.08948418209496575*t-1.2914855378640917*n,3),s={mode:"lrgb",r:4.076741661347994*r-3.307711590408193*a+.230969928729428*i,g:-1.2684380040921763*r+2.6097574006633715*a-.3413193963102197*i,b:-.004196086541837188*r-.7034186144594493*a+1.7076147009309444*i};return o!==void 0&&(s.alpha=o),s},nn=e=>Ge(Mt(e));function fr(e){const o=1.170873786407767;return .5*(o*e-.206+Math.sqrt((o*e-.206)*(o*e-.206)+4*.03*o*e))}function rn(e){const o=1.170873786407767;return(e*e+.206*e)/(o*(e+.03))}function Ol(e,t){let n,o,r,a,i,s,u,l;-1.88170328*e-.80936493*t>1?(n=1.19086277,o=1.76576728,r=.59662641,a=.75515197,i=.56771245,s=4.0767416621,u=-3.3077115913,l=.2309699292):1.81444104*e-1.19445276*t>1?(n=.73956515,o=-.45954404,r=.08285427,a=.1254107,i=.14503204,s=-1.2684380046,u=2.6097574011,l=-.3413193965):(n=1.35733652,o=-.00915799,r=-1.1513021,a=-.50559606,i=.00692167,s=-.0041960863,u=-.7034186147,l=1.707614701);let f=n+o*e+r*t+a*e*e+i*e*t,c=.3963377774*e+.2158037573*t,d=-.1055613458*e-.0638541728*t,p=-.0894841775*e-1.291485548*t;{let _=1+f*c,v=1+f*d,y=1+f*p,g=_*_*_,j=v*v*v,$=y*y*y,E=3*c*_*_,C=3*d*v*v,M=3*p*y*y,S=6*c*c*_,x=6*d*d*v,k=6*p*p*y,z=s*g+u*j+l*$,W=s*E+u*C+l*M,ae=s*S+u*x+l*k;f=f-z*W/(W*W-.5*z*ae)}return f}function pr(e,t){let n=Ol(e,t),o=Mt({l:1,a:n*e,b:n*t}),r=Math.cbrt(1/Math.max(o.r,o.g,o.b)),a=r*n;return[r,a]}function Nl(e,t,n,o,r,a=null){a||(a=pr(e,t));let i;if((n-r)*a[1]-(a[0]-r)*o<=0)i=a[1]*r/(o*a[0]+a[1]*(r-n));else{i=a[1]*(r-1)/(o*(a[0]-1)+a[1]*(r-n));{let s=n-r,u=o,l=.3963377774*e+.2158037573*t,f=-.1055613458*e-.0638541728*t,c=-.0894841775*e-1.291485548*t,d=s+u*l,p=s+u*f,_=s+u*c;{let v=r*(1-i)+i*n,y=i*o,g=v+y*l,j=v+y*f,$=v+y*c,E=g*g*g,C=j*j*j,M=$*$*$,S=3*d*g*g,x=3*p*j*j,k=3*_*$*$,z=6*d*d*g,W=6*p*p*j,ae=6*_*_*$,ie=4.0767416621*E-3.3077115913*C+.2309699292*M-1,V=4.0767416621*S-3.3077115913*x+.2309699292*k,$r=4.0767416621*z-3.3077115913*W+.2309699292*ae,Et=V/(V*V-.5*ie*$r),tt=-ie*Et,ve=-1.2684380046*E+2.6097574011*C-.3413193965*M-1,nt=-1.2684380046*S+2.6097574011*x-.3413193965*k,Mr=-1.2684380046*z+2.6097574011*W-.3413193965*ae,ye=nt/(nt*nt-.5*ve*Mr),se=-ve*ye,Xe=-.0041960863*E-.7034186147*C+1.707614701*M-1,rt=-.0041960863*S-.7034186147*x+1.707614701*k,ot=-.0041960863*z-.7034186147*W+1.707614701*ae,jt=rt/(rt*rt-.5*Xe*ot),at=-Xe*jt;tt=Et>=0?tt:1e6,se=ye>=0?se:1e6,at=jt>=0?at:1e6,i+=Math.min(tt,Math.min(se,at))}}}return i}function hr(e,t,n=null){n||(n=pr(e,t));let o=n[0],r=n[1];return[r/o,r/(1-o)]}function Za(e,t,n){let o=pr(t,n),r=Nl(t,n,e,1,e,o),a=hr(t,n,o),i=.11516993+1/(7.4477897+4.1590124*n+t*(-2.19557347+1.75198401*n+t*(-2.13704948-10.02301043*n+t*(-4.24894561+5.38770819*n+4.69891013*t)))),s=.11239642+1/(1.6132032-.68124379*n+t*(.40370612+.90148123*n+t*(-.27087943+.6122399*n+t*(.00299215-.45399568*n-.14661872*t)))),u=r/Math.min(e*a[0],(1-e)*a[1]),l=e*i,f=(1-e)*s,c=.9*u*Math.sqrt(Math.sqrt(1/(1/(l*l*l*l)+1/(f*f*f*f))));return l=e*.4,f=(1-e)*.8,[Math.sqrt(1/(1/(l*l)+1/(f*f))),c,r]}function Ka(e){const t={mode:"okhsl",l:fr(e.l)};e.alpha!==void 0&&(t.alpha=e.alpha);let n=Math.sqrt(e.a*e.a+e.b*e.b);if(!n)return t.s=0,t;let[o,r,a]=Za(e.l,e.a/n,e.b/n),i;if(n<r){let s=0,u=.8*o,l=1-u/r;i=(n-s)/(u+l*(n-s))*.8}else{let s=r,u=.2*r*r*1.25*1.25/o,l=1-u/(a-r);i=.8+.2*((n-s)/(u+l*(n-s)))}return i&&(t.s=i,t.h=F(Math.atan2(e.b,e.a)*180/Math.PI)),t}function Ga(e){let t=rn(e.l);const n={mode:"oklab",l:t};if(e.alpha!==void 0&&(n.alpha=e.alpha),!e.s||e.l===1)return n.a=n.b=0,n;let o=Math.cos(e.h/180*Math.PI),r=Math.sin(e.h/180*Math.PI),[a,i,s]=Za(t,o,r),u,l,f,c;e.s<.8?(u=1.25*e.s,l=0,f=.8*a,c=1-f/i):(u=5*(e.s-.8),l=i,f=.2*i*i*1.25*1.25/a,c=1-f/(s-i));let d=l+u*f/(1-c*u);return n.a=d*o,n.b=d*r,n}const Pl={...La,mode:"okhsl",channels:["h","s","l","alpha"],parse:["--okhsl"],serialize:"--okhsl",fromMode:{oklab:Ka,rgb:e=>Ka(tn(e))},toMode:{oklab:Ga,rgb:e=>nn(Ga(e))}};function Qa(e){let t=Math.sqrt(e.a*e.a+e.b*e.b),n=e.l,o=t?e.a/t:1,r=t?e.b/t:1,[a,i]=hr(o,r),s=.5,u=1-s/a,l=i/(t+n*i),f=l*n,c=l*t,d=rn(f),p=c*d/f,_=Mt({l:d,a:o*p,b:r*p}),v=Math.cbrt(1/Math.max(_.r,_.g,_.b,0));n=n/v,t=t/v*fr(n)/n,n=fr(n);const y={mode:"okhsv",s:t?(s+i)*c/(i*s+i*u*c):0,v:n?n/f:0};return y.s&&(y.h=F(Math.atan2(e.b,e.a)*180/Math.PI)),e.alpha!==void 0&&(y.alpha=e.alpha),y}function ei(e){const t={mode:"oklab"};e.alpha!==void 0&&(t.alpha=e.alpha);const n=e.h||0,o=Math.cos(n/180*Math.PI),r=Math.sin(n/180*Math.PI),[a,i]=hr(o,r),s=.5,u=1-s/a,l=1-e.s*s/(s+i-i*u*e.s),f=e.s*i*s/(s+i-i*u*e.s),c=rn(l),d=f*c/l,p=Mt({l:c,a:o*d,b:r*d}),_=Math.cbrt(1/Math.max(p.r,p.g,p.b,0)),v=rn(e.v*l),y=f*v/l;return t.l=v*_,t.a=y*o*_,t.b=y*r*_,t}const Al={...Na,mode:"okhsv",channels:["h","s","v","alpha"],parse:["--okhsv"],serialize:"--okhsv",fromMode:{oklab:Qa,rgb:e=>Qa(tn(e))},toMode:{oklab:ei,rgb:e=>nn(ei(e))}};function Dl(e,t){if(!t||t[0]!=="oklab")return;const n={mode:"oklab"},[,o,r,a,i]=t;if(!(o.type===b.Hue||r.type===b.Hue||a.type===b.Hue))return o.type!==b.None&&(n.l=o.type===b.Number?o.value:o.value/100),r.type!==b.None&&(n.a=r.type===b.Number?r.value:r.value*.4/100),a.type!==b.None&&(n.b=a.type===b.Number?a.value:a.value*.4/100),i.type!==b.None&&(n.alpha=i.type===b.Number?i.value:i.value/100),n}const Hl={...cr,mode:"oklab",toMode:{lrgb:Mt,rgb:nn},fromMode:{lrgb:Ba,rgb:tn},ranges:{l:[0,1],a:[-.4,.4],b:[-.4,.4]},parse:[Dl],serialize:e=>`oklab(${e.l!==void 0?e.l:"none"} ${e.a!==void 0?e.a:"none"} ${e.b!==void 0?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`};function Vl(e,t){if(!t||t[0]!=="oklch")return;const n={mode:"oklch"},[,o,r,a,i]=t;if(o.type!==b.None){if(o.type===b.Hue)return;n.l=o.type===b.Number?o.value:o.value/100}if(r.type!==b.None&&(n.c=Math.max(0,r.type===b.Number?r.value:r.value*.4/100)),a.type!==b.None){if(a.type===b.Percentage)return;n.h=a.value}return i.type!==b.None&&(n.alpha=i.type===b.Number?i.value:i.value/100),n}const Il={...lr,mode:"oklch",toMode:{oklab:e=>Se(e,"oklab"),rgb:e=>nn(Se(e,"oklab"))},fromMode:{rgb:e=>Ce(tn(e),"oklch"),oklab:e=>Ce(e,"oklch")},parse:[Vl],serialize:e=>`oklch(${e.l!==void 0?e.l:"none"} ${e.c!==void 0?e.c:"none"} ${e.h||0}${e.alpha<1?` / ${e.alpha}`:""})`,ranges:{l:[0,1],c:[0,.4],h:[0,360]}},ti=e=>{let{r:t,g:n,b:o,alpha:r}=Ze(e),a={mode:"xyz65",x:.486570948648216*t+.265667693169093*n+.1982172852343625*o,y:.2289745640697487*t+.6917385218365062*n+.079286914093745*o,z:0*t+.0451133818589026*n+1.043944368900976*o};return r!==void 0&&(a.alpha=r),a},ni=({x:e,y:t,z:n,alpha:o})=>{let r=Ge({r:e*2.4934969119414263-t*.9313836179191242-.402710784450717*n,g:e*-.8294889695615749+t*1.7626640603183465+.0236246858419436*n,b:e*.0358458302437845-t*.0761723892680418+.9568845240076871*n},"p3");return o!==void 0&&(r.alpha=o),r},Xl={...Be,mode:"p3",parse:["display-p3"],serialize:"display-p3",fromMode:{rgb:e=>ni(Ke(e)),xyz65:ni},toMode:{rgb:e=>Qe(ti(e)),xyz65:ti}},_r=e=>{let t=Math.abs(e);return t>=1/512?Math.sign(e)*Math.pow(t,1/1.8):16*e},ri=({x:e,y:t,z:n,alpha:o})=>{let r={mode:"prophoto",r:_r(e*1.3457868816471585-t*.2555720873797946-.0511018649755453*n),g:_r(e*-.5446307051249019+t*1.5082477428451466+.0205274474364214*n),b:_r(e*0+t*0+1.2119675456389452*n)};return o!==void 0&&(r.alpha=o),r},gr=e=>{let t=Math.abs(e);return t>=16/512?Math.sign(e)*Math.pow(t,1.8):e/16},oi=e=>{let t=gr(e.r),n=gr(e.g),o=gr(e.b),r={mode:"xyz50",x:.7977666449006423*t+.1351812974005331*n+.0313477341283922*o,y:.2880748288194013*t+.7118352342418731*n+899369387256e-16*o,z:0*t+0*n+.8251046025104602*o};return e.alpha!==void 0&&(r.alpha=e.alpha),r},Fl={...Be,mode:"prophoto",parse:["prophoto-rgb"],serialize:"prophoto-rgb",fromMode:{xyz50:ri,rgb:e=>ri($t(e))},toMode:{xyz50:oi,rgb:e=>Tt(oi(e))}},ai=1.09929682680944,ql=.018053968510807,br=e=>{const t=Math.abs(e);return t>ql?(Math.sign(e)||1)*(ai*Math.pow(t,.45)-(ai-1)):4.5*e},ii=({x:e,y:t,z:n,alpha:o})=>{let r={mode:"rec2020",r:br(e*1.7166511879712683-t*.3556707837763925-.2533662813736599*n),g:br(e*-.6666843518324893+t*1.6164812366349395+.0157685458139111*n),b:br(e*.0176398574453108-t*.0427706132578085+.9421031212354739*n)};return o!==void 0&&(r.alpha=o),r},si=1.09929682680944,Ul=.018053968510807,vr=e=>{let t=Math.abs(e);return t<Ul*4.5?e/4.5:(Math.sign(e)||1)*Math.pow((t+si-1)/si,1/.45)},ci=e=>{let t=vr(e.r),n=vr(e.g),o=vr(e.b),r={mode:"xyz65",x:.6369580483012911*t+.1446169035862083*n+.1688809751641721*o,y:.262700212011267*t+.6779980715188708*n+.059301716469862*o,z:0*t+.0280726930490874*n+1.0609850577107909*o};return e.alpha!==void 0&&(r.alpha=e.alpha),r},Wl={...Be,mode:"rec2020",fromMode:{xyz65:ii,rgb:e=>ii(Ke(e))},toMode:{xyz65:ci,rgb:e=>Qe(ci(e))},parse:["rec2020"],serialize:"rec2020"},Ie=.0037930732552754493,li=Math.cbrt(Ie),yr=e=>Math.cbrt(e)-li,Yl=e=>{const{r:t,g:n,b:o,alpha:r}=Ze(e),a=yr(.3*t+.622*n+.078*o+Ie),i=yr(.23*t+.692*n+.078*o+Ie),s=yr(.2434226892454782*t+.2047674442449682*n+.5518098665095535*o+Ie),u={mode:"xyb",x:(a-i)/2,y:(a+i)/2,b:s-(a+i)/2};return r!==void 0&&(u.alpha=r),u},mr=e=>Math.pow(e+li,3),Jl={mode:"xyb",channels:["x","y","b","alpha"],parse:["--xyb"],serialize:"--xyb",toMode:{rgb:({x:e,y:t,b:n,alpha:o})=>{const r=mr(e+t)-Ie,a=mr(t-e)-Ie,i=mr(n+t)-Ie,s=Ge({r:11.031566904639861*r-9.866943908131562*a-.16462299650829934*i,g:-3.2541473810744237*r+4.418770377582723*a-.16462299650829934*i,b:-3.6588512867136815*r+2.7129230459360922*a+1.9459282407775895*i});return o!==void 0&&(s.alpha=o),s}},fromMode:{rgb:Yl},ranges:{x:[-.0154,.0281],y:[0,.8453],b:[-.2778,.388]},interpolate:{x:m,y:m,b:m,alpha:{use:m,fixup:I}}},Bl={mode:"xyz50",parse:["xyz-d50"],serialize:"xyz-d50",toMode:{rgb:Tt,lab:sr},fromMode:{rgb:$t,lab:ar},channels:["x","y","z","alpha"],ranges:{x:[0,.964],y:[0,.999],z:[0,.825]},interpolate:{x:m,y:m,z:m,alpha:{use:m,fixup:I}}},Zl={mode:"xyz65",toMode:{rgb:Qe,xyz50:e=>{let{x:t,y:n,z:o,alpha:r}=e,a={mode:"xyz50",x:1.0479298208405488*t+.0229467933410191*n-.0501922295431356*o,y:.0296278156881593*t+.990434484573249*n-.0170738250293851*o,z:-.0092430581525912*t+.0150551448965779*n+.7518742899580008*o};return r!==void 0&&(a.alpha=r),a}},fromMode:{rgb:Ke,xyz50:e=>{let{x:t,y:n,z:o,alpha:r}=e,a={mode:"xyz65",x:.9554734527042182*t-.0230985368742614*n+.0632593086610217*o,y:-.0283697069632081*t+1.0099954580058226*n+.021041398966943*o,z:.0123140016883199*t-.0205076964334779*n+1.3303659366080753*o};return r!==void 0&&(a.alpha=r),a}},ranges:{x:[0,.95],y:[0,1],z:[0,1.088]},channels:["x","y","z","alpha"],parse:["xyz","xyz-d65"],serialize:"xyz-d65",interpolate:{x:m,y:m,z:m,alpha:{use:m,fixup:I}}},Kl={mode:"yiq",toMode:{rgb:({y:e,i:t,q:n,alpha:o})=>{const r={mode:"rgb",r:e+.95608445*t+.6208885*n,g:e-.27137664*t-.6486059*n,b:e-1.10561724*t+1.70250126*n};return o!==void 0&&(r.alpha=o),r}},fromMode:{rgb:({r:e,g:t,b:n,alpha:o})=>{const r={mode:"yiq",y:.29889531*e+.58662247*t+.11448223*n,i:.59597799*e-.2741761*t-.32180189*n,q:.21147017*e-.52261711*t+.31114694*n};return o!==void 0&&(r.alpha=o),r}},channels:["y","i","q","alpha"],parse:["--yiq"],serialize:"--yiq",ranges:{i:[-.595,.595],q:[-.522,.522]},interpolate:{y:m,i:m,q:m,alpha:{use:m,fixup:I}}},Gl=(e,t)=>Math.round(e*(t=Math.pow(10,t)))/t;((e=4)=>t=>typeof t=="number"?Gl(t,e):t)(2);const Ql=e=>{const t=wt(e);if(!t)return;const n=Ve(t.mode);if(!n.serialize||typeof n.serialize=="string"){let o=`color(${n.serialize||`--${t.mode}`} `;return n.channels.forEach((r,a)=>{r!=="alpha"&&(o+=(a?" ":"")+(t[r]!==void 0?t[r]:"none"))}),t.alpha!==void 0&&t.alpha<1&&(o+=` / ${t.alpha}`),o+")"}if(typeof n.serialize=="function")return n.serialize(t)};_e("rgb");const eu=e=>{const t={mode:e.mode,r:Math.max(0,Math.min(e.r,1)),g:Math.max(0,Math.min(e.g,1)),b:Math.max(0,Math.min(e.b,1))};return e.alpha!==void 0&&(t.alpha=e.alpha),t},tu=e=>e!==void 0&&e.r>=0&&e.r<=1&&e.g>=0&&e.g<=1&&e.b>=0&&e.b<=1;function ui(e="rgb"){const{gamut:t}=Ve(e);if(!t)return o=>!0;const n=_e(typeof t=="string"?t:e);return o=>tu(n(o))}function nu(e="rgb"){const{gamut:t}=Ve(e);if(!t)return a=>wt(a);const n=typeof t=="string"?t:e,o=_e(n),r=ui(n);return a=>{const i=wt(a);if(!i)return;const s=o(i);if(r(s))return i;const u=eu(s);return i.mode===u.mode?u:_e(i.mode)(u)}}function ru(e="rgb",t="oklch",n=ka("oklch"),o=.02){const r=_e(e);if(!Ve(e).gamut)return c=>r(c);const a=ui(e),i=nu(e),s=_e(t),{ranges:u}=Ve(t),l=r("white"),f=r("black");return c=>{if(c=wt(c),c===void 0)return;const d={...s(c)};if(d.l>=u.l[1]){const g={...l};return c.alpha!==void 0&&(g.alpha=c.alpha),g}if(d.l<=u.l[0]){const g={...f};return c.alpha!==void 0&&(g.alpha=c.alpha),g}if(a(d))return r(d);let p=0,_=d.c,v=(u.c[1]-u.c[0])/4e3,y=i(d);for(;_-p>v;)d.c=(p+_)*.5,y=i(d),a(d)||n&&o>0&&n(d,y)<=o?p=d.c:_=d.c;return r(a(d)?d:y)}}L(Dc),L(Uc),L(Wc),L(Yc),L(Zc),L(La),L(Na),L(il),L(vl),L(yl),L(cr),L(wl),L(lr),L(kl),L(Rl),L(Ll),L(zl),L(Pl),L(Al),L(Hl),L(Il),L(Xl),L(Fl),L(Wl),L(Be),L(Jl),L(Bl),L(Zl),L(Kl);const ou=_e("oklch"),au=Object.keys({1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0,10:!0,11:!0,12:!0}),iu={light:{1:{l:95.5,c:.0108},2:{l:93.56,c:.0321},3:{l:88.11,c:.0609},4:{l:82.67,c:.0908},5:{l:74.22,c:.1398},6:{l:64.78,c:.1472},7:{l:57.33,c:.1299},8:{l:46.89,c:.1067},9:{l:39.44,c:.0898},10:{l:32,c:.0726},11:{l:23.78,c:.054},12:{l:15.56,c:.0353}},dark:{12:{l:97.78,c:.0108},11:{l:93.56,c:.0321},10:{l:88.11,c:.0609},9:{l:82.67,c:.0908},8:{l:74.22,c:.1398},7:{l:64.78,c:.1472},6:{l:57.33,c:.1299},5:{l:46.89,c:.1067},4:{l:39.44,c:.0898},3:{l:32,c:.0726},2:{l:23.78,c:.054},1:{l:15.56,c:.0353}}},su=(e,t=1,n)=>o=>{const{c:r,l:a}=iu[n][o],i="oklch("+a+"% "+r*t+" "+e+")",s=ou(ru("p3","oklch",ka("oklch"),0)(i)),u=Ql(s);if(!u)throw new Error("Could not format color");return u},wr=e=>{const t=su(e.hue,e.chroma,e.mode);return Object.fromEntries(au.map(n=>[e.prefix+n,cu(t(n))]))},cu=e=>e.replace("oklch(","").replace(")",""),xr=e=>`--i-${e}`,lu=e=>`var(${xr(e)})`,[kr,Tr]=["0 0 0","100 0 0"],uu=e=>({black:kr,white:Tr,lowest:e.mode==="light"?Tr:kr,highest:e.mode==="light"?kr:Tr,...wr({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode}),...wr({prefix:"n-",hue:e.accent.hue,chroma:.05,mode:e.mode}),...wr({prefix:"m-",hue:140,chroma:e.accent.chroma,mode:e.mode})}),Z="transparent",du=(e,t)=>{var a,i,s,u,l,f,c,d,p;const{typography:n,highcontrast:o,highlights:r}=e;return{font:n.font_family??"inherit","font-style":n.style??"normal","font-filter":((a=n.filter)==null?void 0:a.font_family)??n.font_family??"inherit","font-job-heading":((i=e.typography.job_heading)==null?void 0:i.font_family)??e.typography.font_family??"inherit","font-tag":((s=n.tag)==null?void 0:s.font_family)??n.font_family??"inherit","style-filter":((u=n.filter)==null?void 0:u.style)??n.style??"normal","weight-filter":((l=n.filter)==null?void 0:l.weight)??n.weight??"normal","style-tag":((f=n.tag)==null?void 0:f.style)??n.style??"normal","weight-tag":((c=n.tag)==null?void 0:c.weight)??n.weight??"normal","style-input":((d=n.input)==null?void 0:d.style)??n.style??"normal","weight-input":((p=n.input)==null?void 0:p.weight)??n.weight??"normal","app-bg":t.lowest,copy:o?t["n-12"]:t["n-11"],"copy-lowcontrast":o?t["n-9"]:t["n-8"],"copy-info":o?t["n-8"]:t["n-6"],"copy-icon":o?t["n-11"]:t["n-10"],"copy-accent":t["a-12"],"copy-accent-lowcontrast":t["a-11"],"copy-accent-icon":t["a-11"],"copy-inverted":t.lowest,"copy-inverted-lowcontrast":t["n-4"],"copy-inverted-icon":t["n-3"],"tag-neutral-weak-bg":r==="fill"?t["n-2"]:Z,"tag-neutral-weak-copy":t["n-9"],"tag-neutral-weak-stroke-color":r==="stroke"?t["n-4"]:Z,"tag-neutral-strong-bg":r==="fill"?t["n-11"]:Z,"tag-neutral-strong-copy":t.white,"tag-neutral-strong-stroke-color":r==="stroke"?t.white:Z,"tag-monetary-weak-bg":t["m-2"],"tag-monetary-weak-copy":t["m-9"],"tag-accent-strong-bg":e.mode==="dark"?t["a-5"]:t["a-7"],"tag-accent-strong-copy":e.mode==="dark"?t["a-12"]:t.lowest,"tag-accent-strong-stroke-color":Z,"radius-section":U(e).with({corners:"rounded"},()=>"1rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-input":U(e).with({corners:"rounded"},()=>"999px").with({corners:"soft"},()=>".5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-card":U(e).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"0.5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-tag":U(e).with({corners:"rounded"},()=>"0.5rem").with({corners:"soft"},()=>"0.25rem").with({corners:"sharp"},()=>"0").otherwise(),"interactive-neutral-bg":r==="fill"?t["n-2"]:Z,"interactive-neutral-bg-hover":U(e).with({highlights:"fill"},()=>t["n-3"]).with({highlights:"stroke"},()=>t["n-3"]).otherwise(),"interactive-neutral-text":r==="fill"?t["n-9"]:t["n-7"],"interactive-accent-bg":r==="fill"?t["a-2"]:Z,"interactive-accent-bg-hover":t["a-3"],"interactive-accent-text":r==="fill"?t["a-10"]:t["a-7"],"radius-interactive":U(e).with({corners:"rounded"},()=>"999px").with({corners:"soft"},()=>".5rem").with({corners:"sharp"},()=>"0").otherwise(),"section-weak-bg":U(e).with({highlights:"fill",mode:"dark"},()=>t["n-2"]).with({highlights:"fill",mode:"light"},()=>t["n-1"]).otherwise(()=>Z),"section-strong-bg":U(e).with({highlights:"fill"},()=>t["a-1"]).otherwise(()=>Z),"section-weak-stroke-color":U(e).with({highlights:"stroke"},()=>t["n-5"]).otherwise(()=>Z),"section-strong-stroke-color":U(e).with({highlights:"stroke"},()=>t["n-11"]).otherwise(()=>Z),"section-stroke-width":U(e).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px"),"job-card-bg":U(e).with({highlights:"fill"},()=>t.lowest).otherwise(()=>Z),"job-card-bg-active":U(e).with({highlights:"fill"},()=>t.lowest).otherwise(()=>Z),"job-card-stroke-color":U(e).with({highlights:"stroke",highcontrast:!0},()=>t["n-8"]).with({highlights:"stroke",highcontrast:!1},()=>t["n-10"]).otherwise(()=>Z),"job-card-stroke-color-active":U(e).with({highlights:"stroke"},()=>t["a-6"]).with({highlights:"fill"},()=>t["a-3"]).otherwise(()=>Z),"job-card-stroke-width":U(e).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px")}},fu=e=>{const t=uu(e),n=new Proxy(t,{get:(a,i)=>lu(i)}),o=Object.entries(du(e,n)).map(([a,i])=>`${xr(a)}: ${i};`),r=Object.entries(t).map(([a,i])=>(Q(a),`${xr(a)}: ${i};`));return`#${la} {
|
|
22
22
|
${r.concat(o).join(`
|
|
23
23
|
`)}
|
|
24
|
-
}`},
|
|
24
|
+
}`},pu=(()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${ca}`);return Q(e,`Element with id ${ca} not found.`),e}}))(),hu=e=>Re(({apiClient:t,logger:n,analytics:o})=>{const r=[J("style",{id:"inploi-job-search-styles"},gc),J("style",{id:"inploi-job-search-theme"},fu(e.theme))],a=J(O,{},[r,J(_c,{params:e,apiClient:t,logger:n,analytics:o})]);return{renderToString:()=>ji(a),render:async()=>{Q(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `renderToString` instead."),qe(a,pu.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=hu})();
|
package/dist/job-search.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IconName } from './components/icon.tsx';
|
|
1
2
|
type FontSettings = {
|
|
2
3
|
font_family: string;
|
|
3
4
|
weight: 'normal' | 'bold' | 'lighter' | 'bolder' | number;
|
|
@@ -10,12 +11,31 @@ declare const textStyles: {
|
|
|
10
11
|
readonly job_heading: "job_heading";
|
|
11
12
|
};
|
|
12
13
|
type TextStyle = keyof typeof textStyles;
|
|
14
|
+
export declare const FILTER_KEYS: readonly ["company_id", "company_name", "industry", "employment_type", "location_type", "pay_type", "pay_currency", "pay_mask", "pay", "pay_min", "pay_max", "title", "category", "skills", "address_1", "address_2", "town", "city", "postcode", "country", "contract_type", "pay_display"];
|
|
15
|
+
export type FilterKey = (typeof FILTER_KEYS)[number] | (string & {});
|
|
13
16
|
export type FilterProperty = {
|
|
14
|
-
key:
|
|
17
|
+
key: FilterKey;
|
|
18
|
+
/** The label to display for the property.
|
|
19
|
+
* Represents a humanly readable name for the property.
|
|
20
|
+
*/
|
|
15
21
|
label: string;
|
|
22
|
+
/** Override the default icon.
|
|
23
|
+
* Icons are already suggested for each property, but you can override them.
|
|
24
|
+
*/
|
|
25
|
+
icon?: IconName;
|
|
26
|
+
/** Hides the property from the UI
|
|
27
|
+
* You can use this property to hard-code searches without allowing the user to modify or view them.
|
|
28
|
+
*/
|
|
16
29
|
hidden?: boolean;
|
|
30
|
+
/** The initial value for the filter. */
|
|
17
31
|
value?: string;
|
|
32
|
+
/** Whether users can search from the available results.
|
|
33
|
+
* @default false
|
|
34
|
+
*/
|
|
18
35
|
searchable?: boolean;
|
|
36
|
+
/** Whether users can select one or multiple values.
|
|
37
|
+
* @default `'one'`
|
|
38
|
+
*/
|
|
19
39
|
select: 'one' | 'many';
|
|
20
40
|
};
|
|
21
41
|
export type JobSearchPluginParams = {
|
|
@@ -36,7 +56,6 @@ export type JobSearchPluginParams = {
|
|
|
36
56
|
properties: FilterProperty[];
|
|
37
57
|
};
|
|
38
58
|
export declare const createJobSearchDomManager: () => {
|
|
39
|
-
addStyle: (css: string, id: string) => void;
|
|
40
59
|
getRenderTargetElement: () => Element;
|
|
41
60
|
};
|
|
42
61
|
export type ChatbotDomManager = ReturnType<typeof createJobSearchDomManager>;
|
|
@@ -2140,6 +2140,14 @@ var ValiError = class extends Error {
|
|
|
2140
2140
|
this.issues = issues;
|
|
2141
2141
|
}
|
|
2142
2142
|
};
|
|
2143
|
+
function coerce(schema, action) {
|
|
2144
|
+
return {
|
|
2145
|
+
...schema,
|
|
2146
|
+
_parse(input, info) {
|
|
2147
|
+
return schema._parse(action(input), info);
|
|
2148
|
+
}
|
|
2149
|
+
};
|
|
2150
|
+
}
|
|
2143
2151
|
function getIssues(issues) {
|
|
2144
2152
|
return { issues };
|
|
2145
2153
|
}
|
|
@@ -2613,7 +2621,7 @@ const getRelativeTimeDifference = ({
|
|
|
2613
2621
|
return diffIn.months < 0 ? "a long time ago" : "in a long time";
|
|
2614
2622
|
};
|
|
2615
2623
|
const SEVEN_DAYS_MS = 1e3 * 60 * 60 * 24 * 7;
|
|
2616
|
-
const AvailablePropertiesSchema = record(array(string()));
|
|
2624
|
+
const AvailablePropertiesSchema = record(array(coerce(string(), String)));
|
|
2617
2625
|
const PaginationSchema = object({
|
|
2618
2626
|
total: number(),
|
|
2619
2627
|
current_page: number(),
|
|
@@ -2699,7 +2707,6 @@ const getJobSearchResults = async ({
|
|
|
2699
2707
|
filters
|
|
2700
2708
|
}) => {
|
|
2701
2709
|
try {
|
|
2702
|
-
console.log(filters);
|
|
2703
2710
|
const response = await apiClient.fetch("/search", {
|
|
2704
2711
|
method: "POST",
|
|
2705
2712
|
body: JSON.stringify({
|
|
@@ -3007,6 +3014,7 @@ const btnNextClass = cva({
|
|
|
3007
3014
|
}
|
|
3008
3015
|
}
|
|
3009
3016
|
});
|
|
3017
|
+
const getSelectedValues = (current) => typeof current.value === "string" ? [current.value] : current.value ?? [];
|
|
3010
3018
|
const Filter = ({
|
|
3011
3019
|
filterKey,
|
|
3012
3020
|
title,
|
|
@@ -3019,7 +3027,7 @@ const Filter = ({
|
|
|
3019
3027
|
icon,
|
|
3020
3028
|
state
|
|
3021
3029
|
}) => {
|
|
3022
|
-
const selectedValues =
|
|
3030
|
+
const selectedValues = getSelectedValues(current);
|
|
3023
3031
|
const hasValue = selectedValues.length > 0;
|
|
3024
3032
|
const showClearButton = hasValue && active == false;
|
|
3025
3033
|
return u("section", {
|
|
@@ -3054,8 +3062,7 @@ const Filter = ({
|
|
|
3054
3062
|
suggestions,
|
|
3055
3063
|
onActiveChange,
|
|
3056
3064
|
onSkip,
|
|
3057
|
-
state
|
|
3058
|
-
selectedValues
|
|
3065
|
+
state
|
|
3059
3066
|
})]
|
|
3060
3067
|
}), showClearButton && u("div", {
|
|
3061
3068
|
class: "flex flex-none items-center justify-center p-4",
|
|
@@ -3083,18 +3090,21 @@ const FilterInner = ({
|
|
|
3083
3090
|
onValueChange,
|
|
3084
3091
|
onActiveChange,
|
|
3085
3092
|
onSkip,
|
|
3086
|
-
state
|
|
3087
|
-
selectedValues
|
|
3093
|
+
state
|
|
3088
3094
|
}) => {
|
|
3089
3095
|
const currentRef = _(null);
|
|
3096
|
+
const [internalValue, setInternalValue] = h(current);
|
|
3097
|
+
p$2(() => {
|
|
3098
|
+
setInternalValue(current);
|
|
3099
|
+
}, [current]);
|
|
3100
|
+
const selectedValues = getSelectedValues(internalValue);
|
|
3090
3101
|
const hasValue = selectedValues.length > 0;
|
|
3091
3102
|
if (active)
|
|
3092
3103
|
return u("div", {
|
|
3093
3104
|
class: "-mt-4 pt-2",
|
|
3094
|
-
children: [u("
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
children: state === "loading" ? u("li", {
|
|
3105
|
+
children: [state === "loading" ? u("div", {
|
|
3106
|
+
class: "flex px-4 pb-1 pt-2",
|
|
3107
|
+
children: u("div", {
|
|
3098
3108
|
"aria-hidden": true,
|
|
3099
3109
|
class: tagClass$1({
|
|
3100
3110
|
size: "lg",
|
|
@@ -3104,7 +3114,11 @@ const FilterInner = ({
|
|
|
3104
3114
|
children: u("span", {
|
|
3105
3115
|
class: "inline-block w-[10ch]"
|
|
3106
3116
|
})
|
|
3107
|
-
})
|
|
3117
|
+
})
|
|
3118
|
+
}) : u("ul", {
|
|
3119
|
+
"aria-label": "Filter options",
|
|
3120
|
+
class: "hide-scrollbars flex select-none gap-1.5 overflow-x-auto px-4 pb-1 pt-2",
|
|
3121
|
+
children: suggestions.map((suggestion, k2) => {
|
|
3108
3122
|
const active2 = selectedValues.includes(suggestion.value);
|
|
3109
3123
|
return u("li", {
|
|
3110
3124
|
style: {
|
|
@@ -3117,14 +3131,18 @@ const FilterInner = ({
|
|
|
3117
3131
|
onClick: () => {
|
|
3118
3132
|
switch (current.select) {
|
|
3119
3133
|
case "many": {
|
|
3120
|
-
const newValue = toggleInArray(
|
|
3121
|
-
|
|
3122
|
-
select:
|
|
3123
|
-
value: newValue
|
|
3134
|
+
const newValue = toggleInArray(selectedValues, suggestion.value);
|
|
3135
|
+
setInternalValue({
|
|
3136
|
+
select: "many",
|
|
3137
|
+
value: newValue
|
|
3124
3138
|
});
|
|
3125
3139
|
break;
|
|
3126
3140
|
}
|
|
3127
3141
|
case "one":
|
|
3142
|
+
setInternalValue({
|
|
3143
|
+
select: "one",
|
|
3144
|
+
value: suggestion.value
|
|
3145
|
+
});
|
|
3128
3146
|
onValueChange({
|
|
3129
3147
|
select: current.select,
|
|
3130
3148
|
value: suggestion.value
|
|
@@ -3148,7 +3166,12 @@ const FilterInner = ({
|
|
|
3148
3166
|
class: btnNextClass({
|
|
3149
3167
|
hasValue
|
|
3150
3168
|
}),
|
|
3151
|
-
onClick: () =>
|
|
3169
|
+
onClick: () => {
|
|
3170
|
+
if (hasValue) {
|
|
3171
|
+
onValueChange(internalValue);
|
|
3172
|
+
}
|
|
3173
|
+
onSkip();
|
|
3174
|
+
},
|
|
3152
3175
|
children: [hasValue ? "Done" : "Skip", " ", u(Icon, {
|
|
3153
3176
|
name: "chevron-right"
|
|
3154
3177
|
})]
|
|
@@ -3277,8 +3300,14 @@ const JobCard = ({
|
|
|
3277
3300
|
};
|
|
3278
3301
|
const filterIcons = {
|
|
3279
3302
|
contract_type: "clock",
|
|
3303
|
+
title: "magnifier",
|
|
3280
3304
|
city: "mapPin",
|
|
3281
|
-
|
|
3305
|
+
town: "mapPin",
|
|
3306
|
+
address_1: "mapPin",
|
|
3307
|
+
address_2: "mapPin",
|
|
3308
|
+
country: "mapPin",
|
|
3309
|
+
company_name: "briefcase",
|
|
3310
|
+
category: "briefcase"
|
|
3282
3311
|
};
|
|
3283
3312
|
const propertiesToDefaultValues = (properties) => properties.reduce((acc, property) => {
|
|
3284
3313
|
switch (property.select) {
|
|
@@ -3333,7 +3362,6 @@ const nextStateFromValue = ({
|
|
|
3333
3362
|
default:
|
|
3334
3363
|
exhaustive(value);
|
|
3335
3364
|
}
|
|
3336
|
-
throw new Error("unreachable");
|
|
3337
3365
|
};
|
|
3338
3366
|
const resultCountString = (results) => {
|
|
3339
3367
|
switch (results) {
|
|
@@ -3380,10 +3408,10 @@ const JobSearch = ({
|
|
|
3380
3408
|
children: [u("div", {
|
|
3381
3409
|
role: "tablist",
|
|
3382
3410
|
class: "grid items-stretch gap-2 px-4 md:flex md:flex-col md:px-0",
|
|
3383
|
-
children: params.properties.map((property) => {
|
|
3411
|
+
children: params.properties.filter((p2) => !p2.hidden).map((property) => {
|
|
3384
3412
|
var _a2;
|
|
3385
3413
|
return u(Filter, {
|
|
3386
|
-
icon: filterIcons[property.key] ?? "filter",
|
|
3414
|
+
icon: property.icon ?? filterIcons[property.key] ?? "filter",
|
|
3387
3415
|
filterKey: property.key,
|
|
3388
3416
|
title: property.label,
|
|
3389
3417
|
suggestions: ((_a2 = availableProperties == null ? void 0 : availableProperties[property.key]) == null ? void 0 : _a2.map((property2) => ({
|
|
@@ -6845,17 +6873,9 @@ const generateColorThemeCss = (theme) => {
|
|
|
6845
6873
|
${colorsCss.concat(tokenCss).join("\n")}
|
|
6846
6874
|
}`;
|
|
6847
6875
|
};
|
|
6876
|
+
const FILTER_KEYS = ["company_id", "company_name", "industry", "employment_type", "location_type", "pay_type", "pay_currency", "pay_mask", "pay", "pay_min", "pay_max", "title", "category", "skills", "address_1", "address_2", "town", "city", "postcode", "country", "contract_type", "pay_display"];
|
|
6848
6877
|
const createJobSearchDomManager = () => {
|
|
6849
6878
|
return {
|
|
6850
|
-
addStyle: (css, id) => {
|
|
6851
|
-
const head = document.head;
|
|
6852
|
-
const existing = head.querySelector(`style#${id}`);
|
|
6853
|
-
existing == null ? void 0 : existing.remove();
|
|
6854
|
-
const element = document.createElement("style");
|
|
6855
|
-
element.id = id;
|
|
6856
|
-
element.innerHTML = css;
|
|
6857
|
-
head.appendChild(element);
|
|
6858
|
-
},
|
|
6859
6879
|
getRenderTargetElement: () => {
|
|
6860
6880
|
const element = document.body.querySelector(`#${JOB_SEARCH_ELEMENT_ID}`);
|
|
6861
6881
|
invariant(element, `Element with id ${JOB_SEARCH_ELEMENT_ID} not found.`);
|
|
@@ -6894,5 +6914,6 @@ const jobSearchPlugin = (params) => sdk.createPlugin(({
|
|
|
6894
6914
|
}
|
|
6895
6915
|
};
|
|
6896
6916
|
});
|
|
6917
|
+
exports.FILTER_KEYS = FILTER_KEYS;
|
|
6897
6918
|
exports.createJobSearchDomManager = createJobSearchDomManager;
|
|
6898
6919
|
exports.jobSearchPlugin = jobSearchPlugin;
|
|
@@ -2138,6 +2138,14 @@ var ValiError = class extends Error {
|
|
|
2138
2138
|
this.issues = issues;
|
|
2139
2139
|
}
|
|
2140
2140
|
};
|
|
2141
|
+
function coerce(schema, action) {
|
|
2142
|
+
return {
|
|
2143
|
+
...schema,
|
|
2144
|
+
_parse(input, info) {
|
|
2145
|
+
return schema._parse(action(input), info);
|
|
2146
|
+
}
|
|
2147
|
+
};
|
|
2148
|
+
}
|
|
2141
2149
|
function getIssues(issues) {
|
|
2142
2150
|
return { issues };
|
|
2143
2151
|
}
|
|
@@ -2611,7 +2619,7 @@ const getRelativeTimeDifference = ({
|
|
|
2611
2619
|
return diffIn.months < 0 ? "a long time ago" : "in a long time";
|
|
2612
2620
|
};
|
|
2613
2621
|
const SEVEN_DAYS_MS = 1e3 * 60 * 60 * 24 * 7;
|
|
2614
|
-
const AvailablePropertiesSchema = record(array(string()));
|
|
2622
|
+
const AvailablePropertiesSchema = record(array(coerce(string(), String)));
|
|
2615
2623
|
const PaginationSchema = object({
|
|
2616
2624
|
total: number(),
|
|
2617
2625
|
current_page: number(),
|
|
@@ -2697,7 +2705,6 @@ const getJobSearchResults = async ({
|
|
|
2697
2705
|
filters
|
|
2698
2706
|
}) => {
|
|
2699
2707
|
try {
|
|
2700
|
-
console.log(filters);
|
|
2701
2708
|
const response = await apiClient.fetch("/search", {
|
|
2702
2709
|
method: "POST",
|
|
2703
2710
|
body: JSON.stringify({
|
|
@@ -3005,6 +3012,7 @@ const btnNextClass = cva({
|
|
|
3005
3012
|
}
|
|
3006
3013
|
}
|
|
3007
3014
|
});
|
|
3015
|
+
const getSelectedValues = (current) => typeof current.value === "string" ? [current.value] : current.value ?? [];
|
|
3008
3016
|
const Filter = ({
|
|
3009
3017
|
filterKey,
|
|
3010
3018
|
title,
|
|
@@ -3017,7 +3025,7 @@ const Filter = ({
|
|
|
3017
3025
|
icon,
|
|
3018
3026
|
state
|
|
3019
3027
|
}) => {
|
|
3020
|
-
const selectedValues =
|
|
3028
|
+
const selectedValues = getSelectedValues(current);
|
|
3021
3029
|
const hasValue = selectedValues.length > 0;
|
|
3022
3030
|
const showClearButton = hasValue && active == false;
|
|
3023
3031
|
return u("section", {
|
|
@@ -3052,8 +3060,7 @@ const Filter = ({
|
|
|
3052
3060
|
suggestions,
|
|
3053
3061
|
onActiveChange,
|
|
3054
3062
|
onSkip,
|
|
3055
|
-
state
|
|
3056
|
-
selectedValues
|
|
3063
|
+
state
|
|
3057
3064
|
})]
|
|
3058
3065
|
}), showClearButton && u("div", {
|
|
3059
3066
|
class: "flex flex-none items-center justify-center p-4",
|
|
@@ -3081,18 +3088,21 @@ const FilterInner = ({
|
|
|
3081
3088
|
onValueChange,
|
|
3082
3089
|
onActiveChange,
|
|
3083
3090
|
onSkip,
|
|
3084
|
-
state
|
|
3085
|
-
selectedValues
|
|
3091
|
+
state
|
|
3086
3092
|
}) => {
|
|
3087
3093
|
const currentRef = _(null);
|
|
3094
|
+
const [internalValue, setInternalValue] = h(current);
|
|
3095
|
+
p$2(() => {
|
|
3096
|
+
setInternalValue(current);
|
|
3097
|
+
}, [current]);
|
|
3098
|
+
const selectedValues = getSelectedValues(internalValue);
|
|
3088
3099
|
const hasValue = selectedValues.length > 0;
|
|
3089
3100
|
if (active)
|
|
3090
3101
|
return u("div", {
|
|
3091
3102
|
class: "-mt-4 pt-2",
|
|
3092
|
-
children: [u("
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
children: state === "loading" ? u("li", {
|
|
3103
|
+
children: [state === "loading" ? u("div", {
|
|
3104
|
+
class: "flex px-4 pb-1 pt-2",
|
|
3105
|
+
children: u("div", {
|
|
3096
3106
|
"aria-hidden": true,
|
|
3097
3107
|
class: tagClass$1({
|
|
3098
3108
|
size: "lg",
|
|
@@ -3102,7 +3112,11 @@ const FilterInner = ({
|
|
|
3102
3112
|
children: u("span", {
|
|
3103
3113
|
class: "inline-block w-[10ch]"
|
|
3104
3114
|
})
|
|
3105
|
-
})
|
|
3115
|
+
})
|
|
3116
|
+
}) : u("ul", {
|
|
3117
|
+
"aria-label": "Filter options",
|
|
3118
|
+
class: "hide-scrollbars flex select-none gap-1.5 overflow-x-auto px-4 pb-1 pt-2",
|
|
3119
|
+
children: suggestions.map((suggestion, k2) => {
|
|
3106
3120
|
const active2 = selectedValues.includes(suggestion.value);
|
|
3107
3121
|
return u("li", {
|
|
3108
3122
|
style: {
|
|
@@ -3115,14 +3129,18 @@ const FilterInner = ({
|
|
|
3115
3129
|
onClick: () => {
|
|
3116
3130
|
switch (current.select) {
|
|
3117
3131
|
case "many": {
|
|
3118
|
-
const newValue = toggleInArray(
|
|
3119
|
-
|
|
3120
|
-
select:
|
|
3121
|
-
value: newValue
|
|
3132
|
+
const newValue = toggleInArray(selectedValues, suggestion.value);
|
|
3133
|
+
setInternalValue({
|
|
3134
|
+
select: "many",
|
|
3135
|
+
value: newValue
|
|
3122
3136
|
});
|
|
3123
3137
|
break;
|
|
3124
3138
|
}
|
|
3125
3139
|
case "one":
|
|
3140
|
+
setInternalValue({
|
|
3141
|
+
select: "one",
|
|
3142
|
+
value: suggestion.value
|
|
3143
|
+
});
|
|
3126
3144
|
onValueChange({
|
|
3127
3145
|
select: current.select,
|
|
3128
3146
|
value: suggestion.value
|
|
@@ -3146,7 +3164,12 @@ const FilterInner = ({
|
|
|
3146
3164
|
class: btnNextClass({
|
|
3147
3165
|
hasValue
|
|
3148
3166
|
}),
|
|
3149
|
-
onClick: () =>
|
|
3167
|
+
onClick: () => {
|
|
3168
|
+
if (hasValue) {
|
|
3169
|
+
onValueChange(internalValue);
|
|
3170
|
+
}
|
|
3171
|
+
onSkip();
|
|
3172
|
+
},
|
|
3150
3173
|
children: [hasValue ? "Done" : "Skip", " ", u(Icon, {
|
|
3151
3174
|
name: "chevron-right"
|
|
3152
3175
|
})]
|
|
@@ -3275,8 +3298,14 @@ const JobCard = ({
|
|
|
3275
3298
|
};
|
|
3276
3299
|
const filterIcons = {
|
|
3277
3300
|
contract_type: "clock",
|
|
3301
|
+
title: "magnifier",
|
|
3278
3302
|
city: "mapPin",
|
|
3279
|
-
|
|
3303
|
+
town: "mapPin",
|
|
3304
|
+
address_1: "mapPin",
|
|
3305
|
+
address_2: "mapPin",
|
|
3306
|
+
country: "mapPin",
|
|
3307
|
+
company_name: "briefcase",
|
|
3308
|
+
category: "briefcase"
|
|
3280
3309
|
};
|
|
3281
3310
|
const propertiesToDefaultValues = (properties) => properties.reduce((acc, property) => {
|
|
3282
3311
|
switch (property.select) {
|
|
@@ -3331,7 +3360,6 @@ const nextStateFromValue = ({
|
|
|
3331
3360
|
default:
|
|
3332
3361
|
exhaustive(value);
|
|
3333
3362
|
}
|
|
3334
|
-
throw new Error("unreachable");
|
|
3335
3363
|
};
|
|
3336
3364
|
const resultCountString = (results) => {
|
|
3337
3365
|
switch (results) {
|
|
@@ -3378,10 +3406,10 @@ const JobSearch = ({
|
|
|
3378
3406
|
children: [u("div", {
|
|
3379
3407
|
role: "tablist",
|
|
3380
3408
|
class: "grid items-stretch gap-2 px-4 md:flex md:flex-col md:px-0",
|
|
3381
|
-
children: params.properties.map((property) => {
|
|
3409
|
+
children: params.properties.filter((p2) => !p2.hidden).map((property) => {
|
|
3382
3410
|
var _a2;
|
|
3383
3411
|
return u(Filter, {
|
|
3384
|
-
icon: filterIcons[property.key] ?? "filter",
|
|
3412
|
+
icon: property.icon ?? filterIcons[property.key] ?? "filter",
|
|
3385
3413
|
filterKey: property.key,
|
|
3386
3414
|
title: property.label,
|
|
3387
3415
|
suggestions: ((_a2 = availableProperties == null ? void 0 : availableProperties[property.key]) == null ? void 0 : _a2.map((property2) => ({
|
|
@@ -6843,17 +6871,9 @@ const generateColorThemeCss = (theme) => {
|
|
|
6843
6871
|
${colorsCss.concat(tokenCss).join("\n")}
|
|
6844
6872
|
}`;
|
|
6845
6873
|
};
|
|
6874
|
+
const FILTER_KEYS = ["company_id", "company_name", "industry", "employment_type", "location_type", "pay_type", "pay_currency", "pay_mask", "pay", "pay_min", "pay_max", "title", "category", "skills", "address_1", "address_2", "town", "city", "postcode", "country", "contract_type", "pay_display"];
|
|
6846
6875
|
const createJobSearchDomManager = () => {
|
|
6847
6876
|
return {
|
|
6848
|
-
addStyle: (css, id) => {
|
|
6849
|
-
const head = document.head;
|
|
6850
|
-
const existing = head.querySelector(`style#${id}`);
|
|
6851
|
-
existing == null ? void 0 : existing.remove();
|
|
6852
|
-
const element = document.createElement("style");
|
|
6853
|
-
element.id = id;
|
|
6854
|
-
element.innerHTML = css;
|
|
6855
|
-
head.appendChild(element);
|
|
6856
|
-
},
|
|
6857
6877
|
getRenderTargetElement: () => {
|
|
6858
6878
|
const element = document.body.querySelector(`#${JOB_SEARCH_ELEMENT_ID}`);
|
|
6859
6879
|
invariant(element, `Element with id ${JOB_SEARCH_ELEMENT_ID} not found.`);
|
|
@@ -6893,6 +6913,7 @@ const jobSearchPlugin = (params) => createPlugin(({
|
|
|
6893
6913
|
};
|
|
6894
6914
|
});
|
|
6895
6915
|
export {
|
|
6916
|
+
FILTER_KEYS,
|
|
6896
6917
|
createJobSearchDomManager,
|
|
6897
6918
|
jobSearchPlugin
|
|
6898
6919
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inploi/plugin-job-search",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/plugin-job-search.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"vite": "^4.4.5",
|
|
43
43
|
"vite-plugin-dts": "^3.7.0",
|
|
44
44
|
"vite-tsconfig-paths": "^4.2.1",
|
|
45
|
-
"@inploi/sdk": "1.9.0",
|
|
46
45
|
"@inploi/core": "1.10.0",
|
|
46
|
+
"@inploi/sdk": "1.9.0",
|
|
47
47
|
"eslint-config-custom": "0.1.0"
|
|
48
48
|
},
|
|
49
49
|
"msw": {
|