@inploi/plugin-job-search 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cdn/index.js CHANGED
@@ -1,4 +1,4 @@
1
- var Dl=Object.defineProperty;var Hl=(Ce,G,w)=>G in Ce?Dl(Ce,G,{enumerable:!0,configurable:!0,writable:!0,value:w}):Ce[G]=w;var Qa=(Ce,G,w)=>(Hl(Ce,typeof G!="symbol"?G+"":G,w),w);(function(){"use strict";var Ce=e=>e,G,w,wr,Re,xr,kr,Kt,Mr,rt={},Tr=[],ei=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Mt=Array.isArray;function le(e,t){for(var n in t)e[n]=t[n];return e}function $r(e){var t=e.parentNode;t&&t.removeChild(e)}function ne(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?G.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 ot(e,i,o,r,null)}function ot(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??++wr,__i:-1,__u:0};return r==null&&w.vnode!=null&&w.vnode(a),a}function Er(){return{current:null}}function A(e){return e.children}function re(e,t){this.props=e,this.context=t}function Ae(e,t){if(t==null)return e.__?Ae(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"?Ae(e):null}function jr(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 jr(e)}}function Zt(e){(!e.__d&&(e.__d=!0)&&Re.push(e)&&!Tt.__r++||xr!==w.debounceRendering)&&((xr=w.debounceRendering)||kr)(Tt)}function Tt(){var e,t,n,o,r,a,i,s,l;for(Re.sort(Kt);e=Re.shift();)e.__d&&(t=Re.length,o=void 0,a=(r=(n=e).__v).__e,s=[],l=[],(i=n.__P)&&((o=le({},r)).__v=r.__v+1,w.vnode&&w.vnode(o),Gt(i,o,r,n.__n,i.ownerSVGElement!==void 0,32&r.__u?[a]:null,s,a??Ae(r),!!(32&r.__u),l),o.__.__k[o.__i]=o,Or(s,o,l),o.__e!=a&&jr(o)),Re.length>t&&Re.sort(Kt));Tt.__r=0}function Cr(e,t,n,o,r,a,i,s,l,u,d){var c,f,p,b,v,y=o&&o.__k||Tr,_=t.length;for(n.__d=l,ti(n,t,y),l=n.__d,c=0;c<_;c++)(p=n.__k[c])!=null&&typeof p!="boolean"&&typeof p!="function"&&(f=p.__i===-1?rt:y[p.__i]||rt,p.__i=c,Gt(e,p,f,r,a,i,s,l,u,d),b=p.__e,p.ref&&f.ref!=p.ref&&(f.ref&&Qt(f.ref,null,p),d.push(p.ref,p.__c||b,p)),v==null&&b!=null&&(v=b),65536&p.__u||f.__k===p.__k?l=Rr(p,l,e):typeof p.type=="function"&&p.__d!==void 0?l=p.__d:b&&(l=b.nextSibling),p.__d=void 0,p.__u&=-196609);n.__d=l,n.__e=v}function ti(e,t,n){var o,r,a,i,s,l=t.length,u=n.length,d=u,c=0;for(e.__k=[],o=0;o<l;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?ot(null,r,null,null,r):Mt(r)?ot(A,{children:r},null,null,null):r.constructor===void 0&&r.__b>0?ot(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)!=null?(r.__=e,r.__b=e.__b+1,s=ni(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>l-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=Ae(a)),en(a,a,!1),n[o]=null,d--);if(d)for(o=0;o<u;o++)(a=n[o])!=null&&!(131072&a.__u)&&(a.__e==e.__d&&(e.__d=Ae(a)),en(a,a))}function Rr(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=Rr(o[r],t,n));return t}return e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function ue(e,t){return t=t||[],e==null||typeof e=="boolean"||(Mt(e)?e.some(function(n){ue(n,t)}):t.push(e)),t}function ni(e,t,n,o){var r=e.key,a=e.type,i=n-1,s=n+1,l=t[n];if(l===null||l&&r==l.key&&a===l.type)return n;if(o>(l!=null&&!(131072&l.__u)?1:0))for(;i>=0||s<t.length;){if(i>=0){if((l=t[i])&&!(131072&l.__u)&&r==l.key&&a===l.type)return i;i--}if(s<t.length){if((l=t[s])&&!(131072&l.__u)&&r==l.key&&a===l.type)return s;s++}}return-1}function Sr(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||ei.test(t)?n:n+"px"}function $t(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||Sr(e.style,t,"");if(n)for(t in n)o&&n[t]===o[t]||Sr(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?Lr:zr,a)):e.removeEventListener(t,a?Lr:zr,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 zr(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 Lr(e){return this.l[e.type+!0](w.event?w.event(e):e)}function Gt(e,t,n,o,r,a,i,s,l,u){var d,c,f,p,b,v,y,_,$,k,M,R,T,S,j,E=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),a=[s=t.__e=n.__e]),(d=w.__b)&&d(t);e:if(typeof E=="function")try{if(_=t.props,$=(d=E.contextType)&&o[d.__c],k=d?$?$.props.value:d.__:o,n.__c?y=(c=t.__c=n.__c).__=c.__E:("prototype"in E&&E.prototype.render?t.__c=c=new E(_,k):(t.__c=c=new re(_,k),c.constructor=E,c.render=oi),$&&$.sub(c),c.props=_,c.state||(c.state={}),c.context=k,c.__n=o,f=c.__d=!0,c.__h=[],c._sb=[]),c.__s==null&&(c.__s=c.state),E.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=le({},c.__s)),le(c.__s,E.getDerivedStateFromProps(_,c.__s))),p=c.props,b=c.state,c.__v=t,f)E.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(E.getDerivedStateFromProps==null&&_!==p&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,k),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,k)===!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(O){O&&(O.__=t)}),M=0;M<c._sb.length;M++)c.__h.push(c._sb[M]);c._sb=[],c.__h.length&&i.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,k),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(p,b,v)})}if(c.context=k,c.props=_,c.__P=e,c.__e=!1,R=w.__r,T=0,"prototype"in E&&E.prototype.render){for(c.state=c.__s,c.__d=!1,R&&R(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,R&&R(t),d=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++T<25);c.state=c.__s,c.getChildContext!=null&&(o=le(le({},o),c.getChildContext())),f||c.getSnapshotBeforeUpdate==null||(v=c.getSnapshotBeforeUpdate(p,b)),Cr(e,Mt(j=d!=null&&d.type===A&&d.key==null?d.props.children:d)?j:[j],t,n,o,r,a,i,s,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&i.push(c),y&&(c.__E=c.__=null)}catch(O){t.__v=null,l||a!=null?(t.__e=s,t.__u|=l?160:32,a[a.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),w.__e(O,t,n)}else a==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=ri(n.__e,t,n,o,r,a,i,l,u);(d=w.diffed)&&d(t)}function Or(e,t,n){t.__d=void 0;for(var o=0;o<n.length;o++)Qt(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 ri(e,t,n,o,r,a,i,s,l){var u,d,c,f,p,b,v,y=n.props,_=t.props,$=t.type;if($==="svg"&&(r=!0),a!=null){for(u=0;u<a.length;u++)if((p=a[u])&&"setAttribute"in p==!!$&&($?p.localName===$:p.nodeType===3)){e=p,a[u]=null;break}}if(e==null){if($===null)return document.createTextNode(_);e=r?document.createElementNS("http://www.w3.org/2000/svg",$):document.createElement($,_.is&&_),a=null,s=!1}if($===null)y===_||s&&e.data===_||(e.data=_);else{if(a=a&&G.call(e.childNodes),y=n.props||rt,!s&&a!=null)for(y={},u=0;u<e.attributes.length;u++)y[(p=e.attributes[u]).name]=p.value;for(u in y)p=y[u],u=="children"||(u=="dangerouslySetInnerHTML"?c=p:u==="key"||u in _||$t(e,u,null,p,r));for(u in _)p=_[u],u=="children"?f=p:u=="dangerouslySetInnerHTML"?d=p:u=="value"?b=p:u=="checked"?v=p:u==="key"||s&&typeof p!="function"||y[u]===p||$t(e,u,p,y[u],r);if(d)s||c&&(d.__html===c.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(c&&(e.innerHTML=""),Cr(e,Mt(f)?f:[f],t,n,o,r&&$!=="foreignObject",a,i,a?a[0]:n.__k&&Ae(n,0),s,l),a!=null)for(u=a.length;u--;)a[u]!=null&&$r(a[u]);s||(u="value",b!==void 0&&(b!==e[u]||$==="progress"&&!b||$==="option"&&b!==y[u])&&$t(e,u,b,y[u],!1),u="checked",v!==void 0&&v!==e[u]&&$t(e,u,v,y[u],!1))}return e}function Qt(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(o){w.__e(o,n)}}function en(e,t,n){var o,r;if(w.unmount&&w.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||Qt(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]&&en(o[r],t,n||typeof e.type!="function");n||e.__e==null||$r(e.__e),e.__=e.__e=e.__d=void 0}function oi(e,t,n){return this.constructor(e,n)}function Ie(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=[],Gt(t,e=(!o&&n||t).__k=ne(A,null,[e]),r||rt,rt,t.ownerSVGElement!==void 0,!o&&n?[n]:r?null:t.firstChild?G.call(t.childNodes):null,a,!o&&n?n:r?r.__e:t.firstChild,o,i),Or(a,e,i)}function Nr(e,t){Ie(e,t,Nr)}function ai(e,t,n){var o,r,a,i,s=le({},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?G.call(arguments,2):n),ot(e.type,s,o||e.key,r||e.ref,null)}function tn(e,t){var n={__c:t="__cC"+Mr++,__: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,Zt(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}G=Tr.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}},wr=0,re.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=le({},this.state),typeof e=="function"&&(e=e(le({},n),this.props)),e&&le(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Zt(this))},re.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Zt(this))},re.prototype.render=A,Re=[],kr=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Kt=function(e,t){return e.__v.__b-t.__v.__b},Tt.__r=0,Mr=0;const nn=e=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(e)}`)};function Pr(e,t){if(!e)throw new Error(t)}var de,L,rn,Ar,De=0,Ir=[],Et=[],Dr=w.__b,Hr=w.__r,Vr=w.diffed,Xr=w.__c,qr=w.unmount;function Se(e,t){w.__h&&w.__h(L,e,De||t),De=0;var n=L.__H||(L.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Et}),n.__[e]}function He(e){return De=1,on(Jr,e)}function on(e,t,n){var o=Se(de++,2);if(o.t=e,!o.__c&&(o.__=[n?n(t):Jr(void 0,t),function(s){var l=o.__N?o.__N[0]:o.__[0],u=o.t(l,s);l!==u&&(o.__N=[u,o.__[1]],o.__c.setState({}))}],o.__c=L,!L.u)){var r=function(s,l,u){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,l,u);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,l,u))};L.u=!0;var a=L.shouldComponentUpdate,i=L.componentWillUpdate;L.componentWillUpdate=function(s,l,u){if(this.__e){var d=a;a=void 0,r(s,l,u),a=d}i&&i.call(this,s,l,u)},L.shouldComponentUpdate=r}return o.__N||o.__}function Ve(e,t){var n=Se(de++,3);!w.__s&&ln(n.__H,t)&&(n.__=e,n.i=t,L.__H.__h.push(n))}function Xe(e,t){var n=Se(de++,4);!w.__s&&ln(n.__H,t)&&(n.__=e,n.i=t,L.__h.push(n))}function Q(e){return De=5,at(function(){return{current:e}},[])}function Fr(e,t,n){De=6,Xe(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 at(e,t){var n=Se(de++,7);return ln(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function it(e,t){return De=8,at(function(){return e},t)}function an(e){var t=L.context[e.__c],n=Se(de++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(L)),t.props.value):e.__}function sn(e,t){w.useDebugValue&&w.useDebugValue(t?t(e):e)}function ii(e){var t=Se(de++,10),n=He();return t.__=e,L.componentDidCatch||(L.componentDidCatch=function(o,r){t.__&&t.__(o,r),n[1](o)}),[n[0],function(){n[1](void 0)}]}function Ur(){var e=Se(de++,11);if(!e.__){for(var t=L.__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=Ir.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(jt),e.__H.__h.forEach(cn),e.__H.__h=[]}catch(t){e.__H.__h=[],w.__e(t,e.__v)}}w.__b=function(e){L=null,Dr&&Dr(e)},w.__r=function(e){Hr&&Hr(e),de=0;var t=(L=e.__c).__H;t&&(rn===L?(t.__h=[],L.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Et,n.__N=n.i=void 0})):(t.__h.forEach(jt),t.__h.forEach(cn),t.__h=[],de=0)),rn=L},w.diffed=function(e){Vr&&Vr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ir.push(t)!==1&&Ar===w.requestAnimationFrame||((Ar=w.requestAnimationFrame)||ci)(si)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Et&&(n.__=n.__V),n.i=void 0,n.__V=Et})),rn=L=null},w.__c=function(e,t){t.some(function(n){try{n.__h.forEach(jt),n.__h=n.__h.filter(function(o){return!o.__||cn(o)})}catch(o){t.some(function(r){r.__h&&(r.__h=[])}),t=[],w.__e(o,n.__v)}}),Xr&&Xr(e,t)},w.unmount=function(e){qr&&qr(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(o){try{jt(o)}catch(r){t=r}}),n.__H=void 0,t&&w.__e(t,n.__v))};var Wr=typeof requestAnimationFrame=="function";function ci(e){var t,n=function(){clearTimeout(o),Wr&&cancelAnimationFrame(t),setTimeout(e)},o=setTimeout(n,100);Wr&&(t=requestAnimationFrame(n))}function jt(e){var t=L,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),L=t}function cn(e){var t=L;e.__c=e.__(),L=t}function ln(e,t){return!e||e.length!==t.length||t.some(function(n,o){return n!==e[o]})}function Jr(e,t){return typeof t=="function"?t(e):t}function Yr(e,t){for(var n in t)e[n]=t[n];return e}function un(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 Ct(e){this.props=e}function Br(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:un(this.props,r)}function o(r){return this.shouldComponentUpdate=n,ne(e,r)}return o.displayName="Memo("+(e.displayName||e.name)+")",o.prototype.isReactComponent=!0,o.__f=!0,o}(Ct.prototype=new re).isPureReactComponent=!0,Ct.prototype.shouldComponentUpdate=function(e,t){return un(this.props,e)||un(this.state,t)};var Kr=w.__b;w.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Kr&&Kr(e)};var li=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Zr(e){function t(n){var o=Yr({},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 Gr=function(e,t){return e==null?null:ue(ue(e).map(t))},Qr={map:Gr,forEach:Gr,count:function(e){return e?ue(e).length:0},only:function(e){var t=ue(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:ue},ui=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)}ui(e,t,n,o)};var eo=w.unmount;function to(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=Yr({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(o){return to(o,t,n)})),e}function no(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(o){return no(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 st(){this.__u=0,this.t=null,this.__b=null}function ro(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function oo(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 ne(n,a)}return r.displayName="Lazy",r.__f=!0,r}function qe(){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),eo&&eo(e)},(st.prototype=new re).__c=function(e,t){var n=t.__c,o=this;o.t==null&&(o.t=[]),o.t.push(n);var r=ro(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 l=o.state.__a;o.__v.__k[0]=no(l,l.__c.__P,l.__c.__O)}var u;for(o.setState({__a:o.__b=null});u=o.t.pop();)u.forceUpdate()}};o.__u++||32&t.__u||o.setState({__a:o.__b=o.__v.__k[0]}),e.then(i,i)},st.prototype.componentWillUnmount=function(){this.t=[]},st.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]=to(this.__b,n,o.__O=o.__P)}this.__b=null}var r=t.__a&&ne(A,null,e.fallback);return r&&(r.__u&=-33),[ne(A,null,t.__a?null:e.children),r]};var ao=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 di(e){return this.getChildContext=function(){return e.context},e.children}function fi(e){var t=this,n=e.i;t.componentWillUnmount=function(){Ie(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)}}),Ie(ne(di,{context:t.context},e.__v),t.l)}function io(e,t){var n=ne(fi,{__v:e,i:t});return n.containerInfo=t,n}(qe.prototype=new re).__a=function(e){var t=this,n=ro(t.__v),o=t.o.get(e);return o[0]++,function(r){var a=function(){t.props.revealOrder?(o.push(r),ao(t,e,o)):r()};n?n(a):a()}},qe.prototype.render=function(e){this.u=null,this.o=new Map;var t=ue(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},qe.prototype.componentDidUpdate=qe.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){ao(e,n,t)})};var so=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]/,hi=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,_i=/[A-Z0-9]/g,gi=typeof document<"u",bi=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function co(e,t,n){return t.__k==null&&(t.textContent=""),Ie(e,t),typeof n=="function"&&n(),e?e.__c:null}function lo(e,t,n){return Nr(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 uo=w.event;function vi(){}function yi(){return this.cancelBubble}function mi(){return this.defaultPrevented}w.event=function(e){return uo&&(e=uo(e)),e.persist=vi,e.isPropagationStopped=yi,e.isDefaultPrevented=mi,e.nativeEvent=e};var dn,wi={enumerable:!1,configurable:!0,get:function(){return this.class}},fo=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||gi&&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"||bi(n.type)?s==="onfocus"?a="onfocusin":s==="onblur"?a="onfocusout":hi.test(a)?a=s:o.indexOf("-")===-1&&pi.test(a)?a=a.replace(_i,"-$&").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=ue(n.children).forEach(function(l){l.props.selected=r.value.indexOf(l.props.value)!=-1})),o=="select"&&r.defaultValue!=null&&(r.value=ue(n.children).forEach(function(l){l.props.selected=r.multiple?r.defaultValue.indexOf(l.props.value)!=-1:r.defaultValue==l.props.value})),n.class&&!n.className?(r.class=n.class,Object.defineProperty(r,"className",wi)):(n.className&&!n.class||n.class&&n.className)&&(r.class=r.className=n.className),t.props=r}(e),e.$$typeof=so,fo&&fo(e)};var po=w.__r;w.__r=function(e){po&&po(e),dn=e.__c};var ho=w.diffed;w.diffed=function(e){ho&&ho(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),dn=null};var _o={ReactCurrentDispatcher:{current:{readContext:function(e){return dn.__n[e.__c].props.value}}}},xi="17.0.2";function go(e){return ne.bind(null,e)}function ct(e){return!!e&&e.$$typeof===so}function bo(e){return ct(e)&&e.type===A}function vo(e){return ct(e)?ai.apply(null,arguments):e}function yo(e){return!!e.__k&&(Ie(null,e),!0)}function mo(e){return e&&(e.base||e.nodeType===1&&e)||null}var wo=function(e,t){return e(t)},xo=function(e,t){return e(t)},ko=A;function fn(e){e()}function Mo(e){return e}function To(){return[!1,fn]}var $o=Xe,Eo=ct;function jo(e,t){var n=t(),o=He({h:{__:n,v:t}}),r=o[0].h,a=o[1];return Xe(function(){r.__=n,r.v=t,pn(r)&&a({h:r})},[e,n,t]),Ve(function(){return pn(r)&&a({h:r}),e(function(){pn(r)&&a({h:r})})},[e]),n}function pn(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 Rt={useState:He,useId:Ur,useReducer:on,useEffect:Ve,useLayoutEffect:Xe,useInsertionEffect:$o,useTransition:To,useDeferredValue:Mo,useSyncExternalStore:jo,startTransition:fn,useRef:Q,useImperativeHandle:Fr,useMemo:at,useCallback:it,useContext:an,useDebugValue:sn,version:"17.0.2",Children:Qr,render:co,hydrate:lo,unmountComponentAtNode:yo,createPortal:io,createElement:ne,createContext:tn,createFactory:go,cloneElement:vo,createRef:Er,Fragment:A,isValidElement:ct,isElement:Eo,isFragment:bo,findDOMNode:mo,Component:re,PureComponent:Ct,memo:Br,forwardRef:Zr,flushSync:xo,unstable_batchedUpdates:wo,StrictMode:ko,Suspense:st,SuspenseList:qe,lazy:oo,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:_o};const ki=Object.freeze(Object.defineProperty({__proto__:null,Children:Qr,Component:re,Fragment:A,PureComponent:Ct,StrictMode:ko,Suspense:st,SuspenseList:qe,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:_o,cloneElement:vo,createContext:tn,createElement:ne,createFactory:go,createPortal:io,createRef:Er,default:Rt,findDOMNode:mo,flushSync:xo,forwardRef:Zr,hydrate:lo,isElement:Eo,isFragment:bo,isValidElement:ct,lazy:oo,memo:Br,render:co,startTransition:fn,unmountComponentAtNode:yo,unstable_batchedUpdates:wo,useCallback:it,useContext:an,useDebugValue:sn,useDeferredValue:Mo,useEffect:Ve,useErrorBoundary:ii,useId:Ur,useImperativeHandle:Fr,useInsertionEffect:$o,useLayoutEffect:Xe,useMemo:at,useReducer:on,useRef:Q,useState:He,useSyncExternalStore:jo,useTransition:To,version:xi},Symbol.toStringTag,{value:"Module"}));function Mi(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 hn={exports:{}},_n={};const Co=Mi(ki);/**
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="&quot;";break;case 38:r="&amp;";break;case 60:r="&lt;";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);/**
2
2
  * @license React
3
3
  * use-sync-external-store-shim.production.min.js
4
4
  *
@@ -6,7 +6,7 @@ var Dl=Object.defineProperty;var Hl=(Ce,G,w)=>G in Ce?Dl(Ce,G,{enumerable:!0,con
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 Ro;function Ti(){if(Ro)return _n;Ro=1;var e=Co;function t(c,f){return c===f&&(c!==0||1/c===1/f)||c!==c&&f!==f}var n=typeof Object.is=="function"?Object.is:t,o=e.useState,r=e.useEffect,a=e.useLayoutEffect,i=e.useDebugValue;function s(c,f){var p=f(),b=o({inst:{value:p,getSnapshot:f}}),v=b[0].inst,y=b[1];return a(function(){v.value=p,v.getSnapshot=f,l(v)&&y({inst:v})},[c,p,f]),r(function(){return l(v)&&y({inst:v}),c(function(){l(v)&&y({inst:v})})},[c]),i(p),p}function l(c){var f=c.getSnapshot;c=c.value;try{var p=f();return!n(c,p)}catch{return!0}}function u(c,f){return f()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:s;return _n.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,_n}var gn={};/**
9
+ */var Uo;function Ji(){if(Uo)return Tn;Uo=1;var e=qo;function t(c,f){return c===f&&(c!==0||1/c===1/f)||c!==c&&f!==f}var n=typeof Object.is=="function"?Object.is:t,o=e.useState,r=e.useEffect,a=e.useLayoutEffect,i=e.useDebugValue;function s(c,f){var p=f(),g=o({inst:{value:p,getSnapshot:f}}),v=g[0].inst,y=g[1];return a(function(){v.value=p,v.getSnapshot=f,u(v)&&y({inst:v})},[c,p,f]),r(function(){return u(v)&&y({inst:v}),c(function(){u(v)&&y({inst:v})})},[c]),i(p),p}function u(c){var f=c.getSnapshot;c=c.value;try{var p=f();return!n(c,p)}catch{return!0}}function l(c,f){return f()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:s;return Tn.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,Tn}var $n={};/**
10
10
  * @license React
11
11
  * use-sync-external-store-shim.development.js
12
12
  *
@@ -14,11 +14,11 @@ var Dl=Object.defineProperty;var Hl=(Ce,G,w)=>G in Ce?Dl(Ce,G,{enumerable:!0,con
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 So;function $i(){return So||(So=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=Co,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(k){{for(var M=arguments.length,R=new Array(M>1?M-1:0),T=1;T<M;T++)R[T-1]=arguments[T];o("error",k,R)}}function o(k,M,R){{var T=t.ReactDebugCurrentFrame,S=T.getStackAddendum();S!==""&&(M+="%s",R=R.concat([S]));var j=R.map(function(E){return String(E)});j.unshift("Warning: "+M),Function.prototype.apply.call(console[k],console,j)}}function r(k,M){return k===M&&(k!==0||1/k===1/M)||k!==k&&M!==M}var a=typeof Object.is=="function"?Object.is:r,i=e.useState,s=e.useEffect,l=e.useLayoutEffect,u=e.useDebugValue,d=!1,c=!1;function f(k,M,R){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 T=M();if(!c){var S=M();a(T,S)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var j=i({inst:{value:T,getSnapshot:M}}),E=j[0].inst,O=j[1];return l(function(){E.value=T,E.getSnapshot=M,p(E)&&O({inst:E})},[k,T,M]),s(function(){p(E)&&O({inst:E});var W=function(){p(E)&&O({inst:E})};return k(W)},[k]),u(T),T}function p(k){var M=k.getSnapshot,R=k.value;try{var T=M();return!a(R,T)}catch{return!0}}function b(k,M,R){return M()}var v=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",y=!v,_=y?b:f,$=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:_;gn.useSyncExternalStore=$,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),gn}process.env.NODE_ENV==="production"?hn.exports=Ti():hn.exports=$i();var Ei=hn.exports;const we=()=>{},Z=we(),bn=Object,C=e=>e===Z,fe=e=>typeof e=="function",xe=(e,t)=>({...e,...t}),ji=e=>fe(e.then),St=new WeakMap;let Ci=0;const lt=e=>{const t=typeof e,n=e&&e.constructor,o=n==Date;let r,a;if(bn(e)===e&&!o&&n!=RegExp){if(r=St.get(e),r)return r;if(r=++Ci+"~",St.set(e,r),n==Array){for(r="@",a=0;a<e.length;a++)r+=lt(e[a])+",";St.set(e,r)}if(n==bn){r="#";const i=bn.keys(e).sort();for(;!C(a=i.pop());)C(e[a])||(r+=a+":"+lt(e[a])+",");St.set(e,r)}}else r=o?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return r},pe=new WeakMap,vn={},zt={},yn="undefined",Lt=typeof window!=yn,mn=typeof document!=yn,Ri=()=>Lt&&typeof window.requestAnimationFrame!=yn,zo=(e,t)=>{const n=pe.get(e);return[()=>!C(t)&&e.get(t)||vn,o=>{if(!C(t)){const r=e.get(t);t in zt||(zt[t]=r),n[5](t,xe(r,o),r||vn)}},n[6],()=>!C(t)&&t in zt?zt[t]:!C(t)&&e.get(t)||vn]};let wn=!0;const Si=()=>wn,[xn,kn]=Lt&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[we,we],zi=()=>{const e=mn&&document.visibilityState;return C(e)||e!=="hidden"},Li=e=>(mn&&document.addEventListener("visibilitychange",e),xn("focus",e),()=>{mn&&document.removeEventListener("visibilitychange",e),kn("focus",e)}),Oi=e=>{const t=()=>{wn=!0,e()},n=()=>{wn=!1};return xn("online",t),xn("offline",n),()=>{kn("online",t),kn("offline",n)}},Ni={isOnline:Si,isVisible:zi},Pi={initFocus:Li,initReconnect:Oi},Lo=!Rt.useId,ut=!Lt||"Deno"in window,Ai=e=>Ri()?window.requestAnimationFrame(e):setTimeout(e,1),Mn=ut?Ve:Xe,Tn=typeof navigator<"u"&&navigator.connection,Oo=!ut&&Tn&&(["slow-2g","2g"].includes(Tn.effectiveType)||Tn.saveData),$n=e=>{if(fe(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?lt(e):"",[e,t]};let Ii=0;const En=()=>++Ii,No=0,Po=1,Ao=2;var dt={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:No,MUTATE_EVENT:Ao,RECONNECT_EVENT:Po};async function Io(...e){const[t,n,o,r]=e,a=xe({populateCache:!0,throwOnError:!0},typeof r=="boolean"?{revalidate:r}:r||{});let i=a.populateCache;const s=a.rollbackOnError;let l=a.optimisticData;const u=a.revalidate!==!1,d=p=>typeof s=="function"?s(p):s!==!1,c=a.throwOnError;if(fe(n)){const p=n,b=[],v=t.keys();for(const y of v)!/^\$(inf|sub)\$/.test(y)&&p(t.get(y)._k)&&b.push(y);return Promise.all(b.map(f))}return f(n);async function f(p){const[b]=$n(p);if(!b)return;const[v,y]=zo(t,b),[_,$,k,M]=pe.get(t),R=()=>{const H=_[b];return u&&(delete k[b],delete M[b],H&&H[0])?H[0](Ao).then(()=>v().data):v().data};if(e.length<3)return R();let T=o,S;const j=En();$[b]=[j,0];const E=!C(l),O=v(),W=O.data,ae=O._c,ie=C(ae)?W:ae;if(E&&(l=fe(l)?l(ie,W):l,y({data:l,_c:ie})),fe(T))try{T=T(ie)}catch(H){S=H}if(T&&ji(T))if(T=await T.catch(H=>{S=H}),j!==$[b][0]){if(S)throw S;return T}else S&&E&&d(S)&&(i=!0,y({data:ie,_c:Z}));if(i&&!S)if(fe(i)){const H=i(T,ie);y({data:H,error:Z,_c:Z})}else y({data:T,error:Z,_c:Z});if($[b][1]=En(),Promise.resolve(R()).then(()=>{y({_c:Z})}),S){if(c)throw S;return}return T}}const Do=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},Di=(e,t)=>{if(!pe.has(e)){const n=xe(Pi,t),o={},r=Io.bind(Z,e);let a=we;const i={},s=(d,c)=>{const f=i[d]||[];return i[d]=f,f.push(c),()=>f.splice(f.indexOf(c),1)},l=(d,c,f)=>{e.set(d,c);const p=i[d];if(p)for(const b of p)b(c,f)},u=()=>{if(!pe.has(e)&&(pe.set(e,[o,{},{},{},r,l,s]),!ut)){const d=n.initFocus(setTimeout.bind(Z,Do.bind(Z,o,No))),c=n.initReconnect(setTimeout.bind(Z,Do.bind(Z,o,Po)));a=()=>{d&&d(),c&&c(),pe.delete(e)}}};return u(),[e,r,u,a]}return[e,pe.get(e)[4]]},Hi=(e,t,n,o,r)=>{const a=n.errorRetryCount,i=r.retryCount,s=~~((Math.random()+.5)*(1<<(i<8?i:8)))*n.errorRetryInterval;!C(a)&&i>a||setTimeout(o,s,r)},Vi=(e,t)=>lt(e)==lt(t),[Ho,Xi]=Di(new Map),qi=xe({onLoadingSlow:we,onSuccess:we,onError:we,onErrorRetry:Hi,onDiscarded:we,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Oo?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Oo?5e3:3e3,compare:Vi,isPaused:()=>!1,cache:Ho,mutate:Xi,fallback:{}},Ni),Fi=(e,t)=>{const n=xe(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=xe(r,i))}return n},Ui=tn({}),Wi="$inf$",Vo=Lt&&window.__SWR_DEVTOOLS_USE__,Ji=Vo?window.__SWR_DEVTOOLS_USE__:[],Yi=()=>{Vo&&(window.__SWR_DEVTOOLS_REACT__=Rt)},Bi=e=>fe(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],Ki=()=>xe(qi,an(Ui)),Zi=e=>(t,n,o)=>e(t,n&&((...a)=>{const[i]=$n(t),[,,,s]=pe.get(Ho);if(i.startsWith(Wi))return n(...a);const l=s[i];return C(l)?n(...a):(delete s[i],l)}),o),Gi=Ji.concat(Zi),Qi=e=>function(...n){const o=Ki(),[r,a,i]=Bi(n),s=Fi(o,i);let l=e;const{use:u}=s,d=(u||[]).concat(Gi);for(let c=d.length;c--;)l=d[c](l);return l(r,a||s.fetcher||null,s)},es=(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())}};Yi();const Xo=Rt.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)}),jn={dedupe:!0},ts=Qi((e,t,n)=>{const{cache:o,compare:r,suspense:a,fallbackData:i,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:u,refreshWhenHidden:d,refreshWhenOffline:c,keepPreviousData:f}=n,[p,b,v,y]=pe.get(o),[_,$]=$n(e),k=Q(!1),M=Q(!1),R=Q(_),T=Q(t),S=Q(n),j=()=>S.current,E=()=>j().isVisible()&&j().isOnline(),[O,W,ae,ie]=zo(o,_),H=Q({}).current,br=C(i)?n.fallback[_]:i,wt=(N,P)=>{for(const J in H){const I=J;if(I==="data"){if(!r(N[I],P[I])&&(!C(N[I])||!r(et,P[I])))return!1}else if(P[I]!==N[I])return!1}return!0},Ze=at(()=>{const N=(()=>!_||!t?!1:C(s)?j().isPaused()||a?!1:C(l)?!0:l:s)(),P=K=>{const ye=xe(K);return delete ye._k,N?{isValidating:!0,isLoading:!0,...ye}:ye},J=O(),I=ie(),ce=P(J),nt=J===I?ce:P(I);let F=ce;return[()=>{const K=P(O());return wt(K,F)?(F.data=K.data,F.isLoading=K.isLoading,F.isValidating=K.isValidating,F.error=K.error,F):(F=K,K)},()=>nt]},[o,_]),be=Ei.useSyncExternalStore(it(N=>ae(_,(P,J)=>{wt(J,P)||N()}),[o,_]),Ze[0],Ze[1]),Ge=!k.current,vr=p[_]&&p[_].length>0,ve=be.data,se=C(ve)?br:ve,Pe=be.error,Qe=Q(se),et=f?C(ve)?Qe.current:ve:se,xt=(()=>vr&&!C(Pe)?!1:Ge&&!C(s)?s:j().isPaused()?!1:a?C(se)?!1:l:C(se)||l)(),tt=!!(_&&t&&Ge&&xt),Pl=C(be.isValidating)?tt:be.isValidating,Al=C(be.isLoading)?tt:be.isLoading,kt=it(async N=>{const P=T.current;if(!_||!P||M.current||j().isPaused())return!1;let J,I,ce=!0;const nt=N||{},F=!v[_]||!nt.dedupe,K=()=>Lo?!M.current&&_===R.current&&k.current:_===R.current,ye={isValidating:!1,isLoading:!1},Ka=()=>{W(ye)},Za=()=>{const te=v[_];te&&te[1]===I&&delete v[_]},Ga={isValidating:!0};C(O().data)&&(Ga.isLoading=!0);try{if(F&&(W(Ga),n.loadingTimeout&&C(O().data)&&setTimeout(()=>{ce&&K()&&j().onLoadingSlow(_,n)},n.loadingTimeout),v[_]=[P($),En()]),[J,I]=v[_],J=await J,F&&setTimeout(Za,n.dedupingInterval),!v[_]||v[_][1]!==I)return F&&K()&&j().onDiscarded(_),!1;ye.error=Z;const te=b[_];if(!C(te)&&(I<=te[0]||I<=te[1]||te[1]===0))return Ka(),F&&K()&&j().onDiscarded(_),!1;const me=O().data;ye.data=r(me,J)?me:J,F&&K()&&j().onSuccess(J,_,n)}catch(te){Za();const me=j(),{shouldRetryOnError:yr}=me;me.isPaused()||(ye.error=te,F&&K()&&(me.onError(te,_,me),(yr===!0||fe(yr)&&yr(te))&&E()&&me.onErrorRetry(te,_,me,Il=>{const mr=p[_];mr&&mr[0]&&mr[0](dt.ERROR_REVALIDATE_EVENT,Il)},{retryCount:(nt.retryCount||0)+1,dedupe:!0})))}return ce=!1,Ka(),!0},[_,o]),Ba=it((...N)=>Io(o,R.current,...N),[]);if(Mn(()=>{T.current=t,S.current=n,C(ve)||(Qe.current=ve)}),Mn(()=>{if(!_)return;const N=kt.bind(Z,jn);let P=0;const I=es(_,p,(ce,nt={})=>{if(ce==dt.FOCUS_EVENT){const F=Date.now();j().revalidateOnFocus&&F>P&&E()&&(P=F+j().focusThrottleInterval,N())}else if(ce==dt.RECONNECT_EVENT)j().revalidateOnReconnect&&E()&&N();else{if(ce==dt.MUTATE_EVENT)return kt();if(ce==dt.ERROR_REVALIDATE_EVENT)return kt(nt)}});return M.current=!1,R.current=_,k.current=!0,W({_k:$}),xt&&(C(se)||ut?N():Ai(N)),()=>{M.current=!0,I()}},[_]),Mn(()=>{let N;function P(){const I=fe(u)?u(O().data):u;I&&N!==-1&&(N=setTimeout(J,I))}function J(){!O().error&&(d||j().isVisible())&&(c||j().isOnline())?kt(jn).then(P):P()}return P(),()=>{N&&(clearTimeout(N),N=-1)}},[u,d,c,_]),sn(et),a&&C(se)&&_){if(!Lo&&ut)throw new Error("Fallback data is required when using suspense in SSR.");T.current=t,S.current=n,M.current=!1;const N=y[_];if(!C(N)){const P=Ba(N);Xo(P)}if(C(Pe)){const P=kt(jn);C(et)||(P.status="fulfilled",P.value=!0),Xo(P)}else throw Pe}return{mutate:Ba,get data(){return H.data=!0,et},get error(){return H.error=!0,Pe},get isValidating(){return H.isValidating=!0,Pl},get isLoading(){return H.isLoading=!0,Al}}});var ns=class extends Error{constructor(t){super(t[0].message);Qa(this,"issues");this.name="ValiError",this.issues=t}};function Ot(e){return{issues:e}}function ft(e){return{output:e}}function rs(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 os(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 ze(e,t,n,o){if(!t||!t.length||n!=null&&n.skipPipe)return ft(e);let r,a,i=e;for(const s of t){const l=s._parse(i);if(l.issues){r=r||os(n,o);for(const u of l.issues){const d=rs(r,u);a?a.push(d):a=[d]}if(r.abortEarly||r.abortPipeEarly)break}else i=l.output}return a?Ot(a):ft(i)}function ke(e,t){return Array.isArray(e)?[void 0,e]:[e,t]}function as(e){return typeof e=="function"?e():e}function is(e,t,n){if(!e||typeof e=="object"&&!Array.isArray(e)){const[a,i]=ke(t,n);return[e,a,i]}const[o,r]=ke(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:as(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 cs(e){return{type:"any",async:!1,pipe:e,_parse(t,n){return ze(t,this.pipe,n,"any")}}}function qo(e,t,n){const[o="Invalid type",r]=ke(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 l=[];for(let u=0;u<a.length;u++){const d=a[u],c=this.item._parse(d,i);if(c.issues){const f={type:"array",input:a,key:u,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 l.push(c.output)}return s?Ot(s):ze(l,this.pipe,i,"array")}}}function Fo(e,t){const[n="Invalid type",o]=ke(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):ze(r,this.pipe,a,"boolean")}}}function Y(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):ft(n)}}}function Cn(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 ft(n);n=r}return this.wrapped._parse(n,o)}}}function Le(e,t){const[n="Invalid type",o]=ke(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):ze(r,this.pipe,a,"number")}}}function pt(e,t,n,o){const[r,a="Invalid type",i]=is(t,n,o);let s;return{type:"object",async:!1,entries:e,rest:r,message:a,pipe:i,_parse(l,u){if(!l||typeof l!="object")return Me(u,"type","object",this.message,l);s=s||Object.entries(this.entries);let d;const c={};for(const[f,p]of s){const b=l[f],v=p._parse(b,u);if(v.issues){const y={type:"object",input:l,key:f,value:b};for(const _ of v.issues)_.path?_.path.unshift(y):_.path=[y],d==null||d.push(_);if(d||(d=v.issues),u!=null&&u.abortEarly)break}else(v.output!==void 0||f in l)&&(c[f]=v.output)}if(this.rest&&!(u!=null&&u.abortEarly&&d)){for(const f in l)if(!(f in this.entries)){const p=l[f],b=this.rest._parse(p,u);if(b.issues){const v={type:"object",input:l,key:f,value:p};for(const y of b.issues)y.path?y.path.unshift(v):y.path=[v],d==null||d.push(y);if(d||(d=b.issues),u!=null&&u.abortEarly)break}else c[f]=b.output}}return d?Ot(d):ze(c,this.pipe,u,"object")}}}function ee(e,t){const[n="Invalid type",o]=ke(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):ze(r,this.pipe,a,"string")}}}function ls(e,t,n,o){if(typeof t=="object"&&!Array.isArray(t)){const[i,s]=ke(n,o);return[e,t,i,s]}const[r,a]=ke(t,n);return[ee(),e,r,a]}var us=["__proto__","prototype","constructor"];function Uo(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(l,u){if(!l||typeof l!="object")return Me(u,"type","record",this.message,l);let d;const c={};for(const[f,p]of Object.entries(l))if(!us.includes(f)){let b;const v=this.key._parse(f,{origin:"key",abortEarly:u==null?void 0:u.abortEarly,abortPipeEarly:u==null?void 0:u.abortPipeEarly,skipPipe:u==null?void 0:u.skipPipe});if(v.issues){b={type:"record",input:l,key:f,value:p};for(const _ of v.issues)_.path=[b],d==null||d.push(_);if(d||(d=v.issues),u!=null&&u.abortEarly)break}const y=this.value._parse(p,u);if(y.issues){b=b||{type:"record",input:l,key:f,value:p};for(const _ of y.issues)_.path?_.path.unshift(b):_.path=[b],d==null||d.push(_);if(d||(d=y.issues),u!=null&&u.abortEarly)break}!v.issues&&!y.issues&&(c[v.output]=y.output)}return d?Ot(d):ze(c,this.pipe,u,"record")}}}function Rn(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 l of s.issues)r.push(l);else r=s.issues;else{a=[s.output];break}}return a?ft(a[0]):Me(o,"type","union",this.message,n,r)}}}function ds(e,t,n){const o=e._parse(t,n);if(o.issues)throw new ns(o.issues);return o.output}const fs=Uo(qo(ee())),ps=pt({total:Le(),current_page:Le(),per_page:Le(),last_page:Le()}),hs=pt({id:Le(),company_name:ee(),company_logo:ee(),employment_type:Rn([Y("FULL_TIME"),Y("PART_TIME"),Y("TEMPORARY"),Y("CONTRACTOR"),Y("INTERN"),Y("VOLUNTEER"),Y("OTHER")]),location_type:Rn([Y("LOCATION"),Y("REMOTE"),Y("HYBRID")]),pay_type:Rn([Y("ANNUALY"),Y("HOURLY"),Y("MONTHLY"),Y("WEEKLY"),Y("DAILY")]),pay_currency:ee(),pay_mask:Fo(),pay_display:Fo(),pay:ee(),pay_min:Cn(ee()),pay_max:Cn(ee()),description:ee(),title:ee(),coordinates:pt({lat:Le(),lng:Le()}),contract_type:Cn(ee()),created_at:ee(),custom_data:Uo(cs())}),_s=pt({data:pt({results:qo(hs),available_properties:fs}),pagination:ps}),gs=async({apiClient:e,logger:t,signal:n})=>{try{const o=await e.fetch("/search",{method:"POST",body:JSON.stringify({query:"Customer Service",filters:{title:null,city:"Galway",employment_type:["PART_TIME","FULL_TIME"]}}),signal:n});return ds(_s,o)}catch(o){throw t.error(o),o}},Wo="inploi-job-search",Jo="ijs";function Yo(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=Yo(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function Sn(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=Yo(e))&&(o&&(o+=" "),o+=t);return o}const Bo=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,bs=e=>{const t=function(){for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];var s,l;return typeof(e==null||(s=e.hooks)===null||s===void 0?void 0:s["cx:done"])<"u"?e==null?void 0:e.hooks["cx:done"](Sn(a)):typeof(e==null||(l=e.hooks)===null||l===void 0?void 0:l.onComplete)<"u"?e==null?void 0:e.hooks.onComplete(Sn(a)):Sn(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 l=Object.fromEntries(Object.entries(s||{}).filter(u=>{let[d]=u;return!["class","className"].includes(d)}));return t(a.map(u=>u(l)),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:l}=r,u=Object.keys(s).map(f=>{const p=a==null?void 0:a[f],b=l==null?void 0:l[f],v=Bo(p)||Bo(b);return s[f][v]}),d={...l,...a&&Object.entries(a).reduce((f,p)=>{let[b,v]=p;return typeof v>"u"?f:{...f,[b]:v}},{})},c=r==null||(i=r.compoundVariants)===null||i===void 0?void 0:i.reduce((f,p)=>{let{class:b,className:v,...y}=p;return Object.entries(y).every(_=>{let[$,k]=_;const M=d[$];return Array.isArray(k)?k.includes(M):M===k})?[...f,b,v]:f},[]);return t(r==null?void 0:r.base,u,c,a==null?void 0:a.class,a==null?void 0:a.className)},cx:t}},{compose:ql,cva:Te,cx:Fl}=bs();var vs=0;function h(e,t,n,o,r,a){var i,s,l={};for(s in t)s=="ref"?i=t[s]:l[s]=t[s];var u={type:e,props:l,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--vs,__i:-1,__u:0,__source:r,__self:a};if(typeof e=="function"&&(i=e.defaultProps))for(s in i)l[s]===void 0&&(l[s]=i[s]);return w.vnode&&w.vnode(u),u}const ys={briefcase:h(A,{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(A,{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(A,{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(A,{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(A,{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(A,{children:h("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:h(A,{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(A,{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(A,{children:h(A,{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(A,{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"})},ms=({theme:e})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:h("defs",{children:Object.entries(ys).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})}))})}),zn=({name:e,...t})=>h("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:h("use",{href:`#i-icon-${e}`})}),ws=Te({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"}}}),xs=Te({base:"font-style-filter font-family-filter font-weight-filter text-style-filter",variants:{hasValue:{false:"text-copy-neutral",true:"text-copy-accent"}}}),ks=Te({base:"",variants:{hasValue:{false:"text-copy-neutral-icon",true:"text-copy-accent-icon"}}}),Ln=Te({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"}}}),Ms=Te({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"}}}),Ts=({filterKey:e,title:t,active:n,current:o,onValueChange:r,suggestions:a,onActiveChange:i,onSkip:s,icon:l,state:u})=>{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:ws({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(zn,{class:ks({hasValue:c}),name:l}),h("p",{class:xs({hasValue:c}),children:t})]}),h(Es,{active:n,current:o,onValueChange:r,suggestions:a,onActiveChange:i,onSkip:s,state:u,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(zn,{name:"x"})})})]})},$s=(e,t)=>{const n=e.indexOf(t);return n===-1?[...e,t]:e.filter((o,r)=>r!==n)},Es=({active:e,suggestions:t,current:n,onValueChange:o,onActiveChange:r,onSkip:a,state:i,selectedValues:s})=>{const l=Q(null),u=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 overflow-x-auto px-4 pb-1 pt-2",children:i==="loading"?h("li",{"aria-hidden":!0,class:Ln({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",children:h("button",{"data-filter":!0,"data-current-value":f?"true":void 0,onClick:()=>{switch(n.select){case"many":{const p=$s(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:nn(n)}},class:Ln({size:"lg",active:f}),children:d.label})},d.value)})}),h("div",{class:"flex justify-end p-2",children:h("button",{class:Ms({hasValue:u}),onClick:()=>a(),children:[u?"Done":"Skip"," ",h(zn,{name:"chevron-right"})]},u?"done":"skip")})]}):u?h("button",{"aria-label":"Current value",tabIndex:-1,"data-current-value":"true",ref:l,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:Ln({size:"sm",active:!0}),children:d.label})},d.value))})}):null},js=e=>{const t=Q();return Ve(()=>{t.current=e},[e]),t.current},Cs=(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&&(Pr(o instanceof HTMLButtonElement,"option must be button"),o.focus())},Rs=(e,t)=>{const n=js(e);Ve(()=>{if(n===e)return;const o=e??n;o&&Cs(o,t)},[e,n,t])},Ss=Te({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 fr ease-expo-out flex min-w-0 flex-col gap-4 p-4 transition-all duration-500"}),zs=Te({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"}),Ko=Te({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"}}),Zo=({title:e,info:t,location:n,price:o,extras:r,badge:a})=>h("a",{href:"",class:Ss(),children:[h("div",{class:"flex flex-col items-start gap-2",children:[a&&h("span",{class:zs({}),children:a}),h("div",{class:"flex flex-col gap-1",children:[h("div",{children:[h("p",{class:"text-style-job-card-info text-copy-job-info",children:t}),h("p",{class:"text-style-job-card-title text-copy-neutral",children:e})]}),h("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:n})]})]}),h("div",{class:"flex flex-col items-start gap-2",children:[o&&h("span",{class:Ko({colorScheme:"monetary"}),children:o}),h("div",{class:"flex items-center gap-2",children:r.map(i=>h("span",{class:Ko(),children:i}))})]})]}),Ls={contract_type:"clock",city:"mapPin",title:"magnifier"},Os=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:nn(n.select)}return t},{}),Ns=({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),l=s!==-1?(a=o[s+1])==null?void 0:a.key:void 0,d=(l?((i=r[l])==null?void 0:i.value)!==void 0:!1)?void 0:l;return{newValue:t,newActiveKey:d}}default:nn(t)}throw new Error("unreachable")},Ps=({apiClient:e,logger:t,params:n})=>{var c;const o=Q(null),{data:r,isLoading:a}=ts("search",()=>gs({apiClient:e,logger:t})),i=r==null?void 0:r.data.available_properties,[s,l]=He(()=>Os(n.properties)),[u,d]=He((c=n.properties[0])==null?void 0:c.key);return Rs(u,o),h(A,{children:[h(ms,{theme:n.theme}),h("div",{ref:o,id:Jo,children:h("div",{class:"bg-app min-h-screen",children:[h("div",{role:"tablist",class:"mx-auto grid w-full max-w-screen-lg items-start gap-2 p-4 md:grid-cols-2 lg:grid-cols-3",children:n.properties.map(f=>{var p;return h(Ts,{icon:Ls[f.key]??"filter",filterKey:f.key,title:f.label,suggestions:((p=i==null?void 0:i[f.key])==null?void 0:p.map(b=>({label:b,value:b})))??[],onActiveChange:b=>d(b?f.key:void 0),active:u===f.key,current:s[f.key]??{select:f.select,value:void 0},state:a?"loading":"loaded",onValueChange:b=>{const{newActiveKey:v,newValue:y}=Ns({property:f,activeKey:u,value:b,properties:n.properties,values:s});d(v),l({...s,[f.key]:y})},onSkip:()=>{var y;const b=n.properties.findIndex(_=>_.key===u),v=b!==-1?(y=n.properties[b+1])==null?void 0:y.key:void 0;d(v)}},f.key)})}),h("section",{class:"mx-auto max-w-screen-lg lg:px-4",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:[h("p",{class:"text-copy-accent-lowcontrast text-center",children:"2 Results"}),h("ul",{class:"flex flex-col gap-3",children:[h("li",{children:h(Zo,{badge:"NEW",title:"Engineer 2X",info:"Posted now",extras:["Extra 1","Extra 2"],location:"London",price:"£10/hour"})}),h("li",{children:h(Zo,{title:"Job title",info:"Posted 7 days ago",extras:["Extra 1","Extra 2"],location:"London",price:"£10/hour"})})]}),h("p",{class:"text-copy-accent-lowcontrast text-style-job-card-info text-center",children:"You've reached the end of the list."})]})})]})})]})},As=`#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-8{margin:2rem}#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 .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:.22}to{opacity:.75}}#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 .justify-end{justify-content:flex-end}#ijs .justify-center{justify-content:center}#ijs .gap-1{gap:.25rem}#ijs .gap-2{gap:.5rem}#ijs .gap-3{gap:.75rem}#ijs .gap-4{gap:1rem}#ijs .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 .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{--tw-text-opacity: 1;color:oklch(var(--i-copy-accent) / var(--tw-text-opacity))}#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{color:oklch(var(--i-copy-lowcontrast) / .6)}#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\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1024px){#ijs .lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 1024px){#ijs .lg\\: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)},Go=(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}}},Is={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},Ds=e=>Go(Is[e.toLowerCase()],6),Hs=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i,Vs=e=>{let t;return(t=e.match(Hs))?Go(parseInt(t[1],16),t[1].length):void 0},$e="([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)",ht=`${$e}%`,On=`(?:${$e}%|${$e})`,Xs=`(?:${$e}(deg|grad|rad|turn)|${$e})`,Fe="\\s*,\\s*",qs=new RegExp(`^rgba?\\(\\s*${$e}${Fe}${$e}${Fe}${$e}\\s*(?:,\\s*${On}\\s*)?\\)$`),Fs=new RegExp(`^rgba?\\(\\s*${ht}${Fe}${ht}${Fe}${ht}\\s*(?:,\\s*${On}\\s*)?\\)$`),Us=e=>{let t={mode:"rgb"},n;if(n=e.match(qs))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(Fs))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},_t=(e,t)=>e===void 0?void 0:typeof e!="object"?ec(e):e.mode!==void 0?e:t?{...e,mode:t}:void 0,he=(e="rgb")=>t=>(t=_t(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={},Qo={},Nt=[],ea={},Ws=e=>e,z=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=Ws)}),Qo[e.mode]=e,(e.parse||[]).forEach(t=>{Js(t,e.mode)}),he(e.mode)),Oe=e=>Qo[e],Js=(e,t)=>{if(typeof e=="string"){if(!t)throw new Error("'mode' required when 'parser' is a string");ea[e]=t}else typeof e=="function"&&Nt.indexOf(e)<0&&Nt.push(e)},Nn=/[^\x00-\x7F]|[a-zA-Z_]/,Ys=/[^\x00-\x7F]|[-\w]/,g={Function:"function",Ident:"ident",Number:"number",Percentage:"percentage",ParenClose:")",None:"none",Hue:"hue",Alpha:"alpha"};let x=0;function Pt(e){let t=e[x],n=e[x+1];return t==="-"||t==="+"?/\d/.test(n)||n==="."&&/\d/.test(e[x+2]):t==="."?/\d/.test(n):/\d/.test(t)}function Pn(e){if(x>=e.length)return!1;let t=e[x];if(Nn.test(t))return!0;if(t==="-"){if(e.length-x<2)return!1;let n=e[x+1];return!!(n==="-"||Nn.test(n))}return!1}const Bs={deg:1,rad:180/Math.PI,grad:9/10,turn:360};function gt(e){let t="";if((e[x]==="-"||e[x]==="+")&&(t+=e[x++]),t+=At(e),e[x]==="."&&/\d/.test(e[x+1])&&(t+=e[x++]+At(e)),(e[x]==="e"||e[x]==="E")&&((e[x+1]==="-"||e[x+1]==="+")&&/\d/.test(e[x+2])?t+=e[x++]+e[x++]+At(e):/\d/.test(e[x+1])&&(t+=e[x++]+At(e))),Pn(e)){let n=It(e);return n==="deg"||n==="rad"||n==="turn"||n==="grad"?{type:g.Hue,value:t*Bs[n]}:void 0}return e[x]==="%"?(x++,{type:g.Percentage,value:+t}):{type:g.Number,value:+t}}function At(e){let t="";for(;/\d/.test(e[x]);)t+=e[x++];return t}function It(e){let t="";for(;x<e.length&&Ys.test(e[x]);)t+=e[x++];return t}function Ks(e){let t=It(e);return e[x]==="("?(x++,{type:g.Function,value:t}):t==="none"?{type:g.None,value:void 0}:{type:g.Ident,value:t}}function Zs(e=""){let t=e.trim(),n=[],o;for(x=0;x<t.length;){if(o=t[x++],o===`
19
- `||o===" "||o===" "){for(;x<t.length&&(t[x]===`
20
- `||t[x]===" "||t[x]===" ");)x++;continue}if(o===",")return;if(o===")"){n.push({type:g.ParenClose});continue}if(o==="+"){if(x--,Pt(t)){n.push(gt(t));continue}return}if(o==="-"){if(x--,Pt(t)){n.push(gt(t));continue}if(Pn(t)){n.push({type:g.Ident,value:It(t)});continue}return}if(o==="."){if(x--,Pt(t)){n.push(gt(t));continue}return}if(o==="/"){for(;x<t.length&&(t[x]===`
21
- `||t[x]===" "||t[x]===" ");)x++;let r;if(Pt(t)&&(r=gt(t),r.type!==g.Hue)){n.push({type:g.Alpha,value:r});continue}if(Pn(t)&&It(t)==="none"){n.push({type:g.Alpha,value:{type:g.None,value:void 0}});continue}return}if(/\d/.test(o)){x--,n.push(gt(t));continue}if(Nn.test(o)){x--,n.push(Ks(t));continue}return}return n}function Gs(e){e._i=0;let t=e[e._i++];if(!t||t.type!==g.Function||t.value!=="color"||(t=e[e._i++],t.type!==g.Ident))return;const n=ea[t.value];if(!n)return;const o={mode:n},r=ta(e,!1);if(!r)return;const a=Oe(n).channels;for(let i=0,s;i<a.length;i++)s=r[i],s.type!==g.None&&(o[a[i]]=s.type===g.Number?s.value:s.value/100);return o}function ta(e,t){const n=[];let o;for(;e._i<e.length;){if(o=e[e._i++],o.type===g.None||o.type===g.Number||o.type===g.Alpha||o.type===g.Percentage||t&&o.type===g.Hue){n.push(o);continue}if(o.type===g.ParenClose){if(e._i<e.length)return;continue}return}if(!(n.length<3||n.length>4)){if(n.length===4){if(n[3].type!==g.Alpha)return;n[3]=n[3].value}return n.length===3&&n.push({type:g.None,value:void 0}),n.every(r=>r.type!==g.Alpha)?n:void 0}}function Qs(e,t){e._i=0;let n=e[e._i++];if(!n||n.type!==g.Function)return;let o=ta(e,t);if(o)return o.unshift(n.value),o}const ec=e=>{if(typeof e!="string")return;const t=Zs(e),n=t?Qs(t,!0):void 0;let o,r=0,a=Nt.length;for(;r<a;)if((o=Nt[r++](e,n))!==void 0)return o;return t?Gs(t):void 0};function tc(e,t){if(!t||t[0]!=="rgb"&&t[0]!=="rgba")return;const n={mode:"rgb"},[,o,r,a,i]=t;if(!(o.type===g.Hue||r.type===g.Hue||a.type===g.Hue))return o.type!==g.None&&(n.r=o.type===g.Number?o.value/255:o.value/100),r.type!==g.None&&(n.g=r.type===g.Number?r.value/255:r.value/100),a.type!==g.None&&(n.b=a.type===g.Number?a.value/255:a.value/100),i.type!==g.None&&(n.alpha=i.type===g.Number?i.value:i.value/100),n}const nc=e=>e==="transparent"?{mode:"rgb",r:0,g:0,b:0,alpha:0}:void 0,rc=(e,t,n)=>e+n*(t-e),oc=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=oc(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)}})(rc),V=e=>{let t=!1,n=e.map(o=>o!==void 0?(t=!0,o):1);return t?n:e},Ue={mode:"rgb",channels:["r","g","b","alpha"],parse:[tc,Vs,Us,Ds,nc,"srgb"],serialize:"srgb",interpolate:{r:m,g:m,b:m,alpha:{use:m,fixup:V}},gamut:!0},An=e=>Math.pow(Math.abs(e),563/256)*Math.sign(e),na=e=>{let t=An(e.r),n=An(e.g),o=An(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},In=e=>Math.pow(Math.abs(e),256/563)*Math.sign(e),ra=({x:e,y:t,z:n,alpha:o})=>{let r={mode:"a98",r:In(e*2.0415879038107465-t*.5650069742788597-.3447313507783297*n),g:In(e*-.9692436362808798+t*1.8759675015077206+.0415550574071756*n),b:In(e*.0134442806320312-t*.1183623922310184+1.0151749943912058*n)};return o!==void 0&&(r.alpha=o),r},Dn=e=>{const t=Math.abs(e);return t<=.04045?e/12.92:(Math.sign(e)||1)*Math.pow((t+.055)/1.055,2.4)},We=({r:e,g:t,b:n,alpha:o})=>{let r={mode:"lrgb",r:Dn(e),g:Dn(t),b:Dn(n)};return o!==void 0&&(r.alpha=o),r},Je=e=>{let{r:t,g:n,b:o,alpha:r}=We(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},Hn=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},Ye=({r:e,g:t,b:n,alpha:o},r="rgb")=>{let a={mode:r,r:Hn(e),g:Hn(t),b:Hn(n)};return o!==void 0&&(a.alpha=o),a},Be=({x:e,y:t,z:n,alpha:o})=>{let r=Ye({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},ac={...Ue,mode:"a98",parse:["a98-rgb"],serialize:"a98-rgb",fromMode:{rgb:e=>ra(Je(e)),xyz65:ra},toMode:{rgb:e=>Be(na(e)),xyz65:na}},q=e=>(e=e%360)<0?e+360:e,ic=(e,t)=>e.map((n,o,r)=>{if(n===void 0)return n;let a=q(n);return o===0||e[o-1]===void 0?a:t(a-q(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),[]),_e=e=>ic(e,t=>Math.abs(t)<=180?t:t-360*Math.sign(t)),X=[-.14861,1.78277,-.29227,-.90649,1.97294,0],sc=Math.PI/180,cc=180/Math.PI;let oa=X[3]*X[4],aa=X[1]*X[4],ia=X[1]*X[2]-X[0]*X[3];const lc=({r:e,g:t,b:n,alpha:o})=>{let r=(ia*n+e*oa-t*aa)/(ia+oa-aa),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)*cc-120),o!==void 0&&(s.alpha=o),s},uc=({h:e,s:t,l:n,alpha:o})=>{let r={mode:"rgb"};e=(e===void 0?0:e+120)*sc;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},Dt=(e,t)=>{if(e.h===void 0||t.h===void 0||!e.s||!t.s)return 0;let n=q(e.h),o=q(t.h),r=Math.sin((o-n+360)/2*Math.PI/180);return 2*Math.sqrt(e.s*t.s)*r},dc=(e,t)=>{if(e.h===void 0||t.h===void 0)return 0;let n=q(e.h),o=q(t.h);return Math.abs(o-n)>180?n-(o-360*Math.sign(o-n)):o-n},Ht=(e,t)=>{if(e.h===void 0||t.h===void 0||!e.c||!t.c)return 0;let n=q(e.h),o=q(t.h),r=Math.sin((o-n+360)/2*Math.PI/180);return 2*Math.sqrt(e.c*t.c)*r},sa=(e="rgb",t=[1,1,1,0])=>{let n=Oe(e),o=n.channels,r=n.difference,a=he(e);return(i,s)=>{let l=a(i),u=a(s);return Math.sqrt(o.reduce((d,c,f)=>{let p=r[c]?r[c](l,u):l[c]-u[c];return d+(t[f]||0)*Math.pow(isNaN(p)?0:p,2)},0))}},ge=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:lc},toMode:{rgb:uc},interpolate:{h:{use:m,fixup:_e},s:m,l:m,alpha:{use:m,fixup:V}},difference:{h:Dt},average:{h:ge}},Ee=({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=q(Math.atan2(n,t)*180/Math.PI)),o!==void 0&&(i.alpha=o),i},je=({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},ca=Math.pow(29,3)/Math.pow(3,3),la=Math.pow(6,3)/Math.pow(29,3),D={X:.3457/.3585,Y:1,Z:(1-.3457-.3585)/.3585},Ke={X:.3127/.329,Y:1,Z:(1-.3127-.329)/.329};let Vn=e=>Math.pow(e,3)>la?Math.pow(e,3):(116*e-16)/ca;const ua=({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:Vn(a)*Ke.X,y:Vn(r)*Ke.Y,z:Vn(i)*Ke.Z};return o!==void 0&&(s.alpha=o),s},Vt=e=>Be(ua(e)),Xn=e=>e>la?Math.cbrt(e):(ca*e+16)/116,da=({x:e,y:t,z:n,alpha:o})=>{let r=Xn(e/Ke.X),a=Xn(t/Ke.Y),i=Xn(n/Ke.Z),s={mode:"lab65",l:116*a-16,a:500*(r-a),b:200*(a-i)};return o!==void 0&&(s.alpha=o),s},Xt=e=>{let t=da(Je(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},qt=1,fa=1,bt=26/180*Math.PI,Ft=Math.cos(bt),Ut=Math.sin(bt),pa=100/Math.log(139/100),qn=({l:e,c:t,h:n,alpha:o})=>{let r={mode:"lab65",l:(Math.exp(e*qt/pa)-1)/.0039};if(n===void 0)r.a=r.b=0;else{let a=(Math.exp(.0435*t*fa*qt)-1)/.075,i=a*Math.cos(n/180*Math.PI-bt),s=a*Math.sin(n/180*Math.PI-bt);r.a=i*Ft-s/.83*Ut,r.b=i*Ut+s/.83*Ft}return o!==void 0&&(r.alpha=o),r},Fn=({l:e,a:t,b:n,alpha:o})=>{let r=t*Ft+n*Ut,a=.83*(n*Ft-t*Ut),i=Math.sqrt(r*r+a*a),s={mode:"dlch",l:pa/qt*Math.log(1+.0039*e),c:Math.log(1+.075*i)/(.0435*fa*qt)};return s.c&&(s.h=q((Math.atan2(a,r)+bt)/Math.PI*180)),o!==void 0&&(s.alpha=o),s},ha=e=>qn(Ee(e,"dlch")),_a=e=>je(Fn(e),"dlab"),pc={mode:"dlab",parse:["--din99o-lab"],serialize:"--din99o-lab",toMode:{lab65:ha,rgb:e=>Vt(ha(e))},fromMode:{lab65:_a,rgb:e=>_a(Xt(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}}},hc={mode:"dlch",parse:["--din99o-lch"],serialize:"--din99o-lch",toMode:{lab65:qn,dlab:e=>je(e,"dlab"),rgb:e=>Vt(qn(e))},fromMode:{lab65:Fn,dlab:e=>Ee(e,"dlch"),rgb:e=>Fn(Xt(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:_e},alpha:{use:m,fixup:V}},difference:{h:Ht},average:{h:ge}};function _c({h:e,s:t,i:n,alpha:o}){e=q(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 gc({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 bc={mode:"hsi",toMode:{rgb:_c},parse:["--hsi"],serialize:"--hsi",fromMode:{rgb:gc},channels:["h","s","i","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:m,fixup:_e},s:m,i:m,alpha:{use:m,fixup:V}},difference:{h:Dt},average:{h:ge}};function vc({h:e,s:t,l:n,alpha:o}){e=q(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 yc({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 mc=(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}},wc=new RegExp(`^hsla?\\(\\s*${Xs}${Fe}${ht}${Fe}${ht}\\s*(?:,\\s*${On}\\s*)?\\)$`),xc=e=>{let t=e.match(wc);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=mc(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 kc(e,t){if(!t||t[0]!=="hsl"&&t[0]!=="hsla")return;const n={mode:"hsl"},[,o,r,a,i]=t;if(o.type!==g.None){if(o.type===g.Percentage)return;n.h=o.value}if(r.type!==g.None){if(r.type===g.Hue)return;n.s=r.type===g.Number?r.value:r.value/100}if(a.type!==g.None){if(a.type===g.Hue)return;n.l=a.type===g.Number?a.value:a.value/100}return i.type!==g.None&&(n.alpha=i.type===g.Number?i.value:i.value/100),n}const ga={mode:"hsl",toMode:{rgb:vc},fromMode:{rgb:yc},channels:["h","s","l","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[kc,xc],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:_e},s:m,l:m,alpha:{use:m,fixup:V}},difference:{h:Dt},average:{h:ge}};function ba({h:e,s:t,v:n,alpha:o}){e=q(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 va({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 ya={mode:"hsv",toMode:{rgb:ba},parse:["--hsv"],serialize:"--hsv",fromMode:{rgb:va},channels:["h","s","v","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:m,fixup:_e},s:m,v:m,alpha:{use:m,fixup:V}},difference:{h:Dt},average:{h:ge}};function Mc({h:e,w:t,b:n,alpha:o}){if(t+n>1){let r=t+n;t/=r,n/=r}return ba({h:e,s:n===1?1:1-t/(1-n),v:1-n,alpha:o})}function Tc(e){let t=va(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 $c(e,t){if(!t||t[0]!=="hwb")return;const n={mode:"hwb"},[,o,r,a,i]=t;if(o.type!==g.None){if(o.type===g.Percentage)return;n.h=o.value}if(r.type!==g.None){if(r.type===g.Hue)return;n.w=r.type===g.Number?r.value:r.value/100}if(a.type!==g.None){if(a.type===g.Hue)return;n.b=a.type===g.Number?a.value:a.value/100}return i.type!==g.None&&(n.alpha=i.type===g.Number?i.value:i.value/100),n}const Ec={mode:"hwb",toMode:{rgb:Mc},fromMode:{rgb:Tc},channels:["h","w","b","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[$c],serialize:e=>`hwb(${e.h||0} ${e.w*100}% ${e.b*100}%${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:m,fixup:_e},w:m,b:m,alpha:{use:m,fixup:V}},difference:{h:dc},average:{h:ge}},jc=.1593017578125,Cc=134.03437499999998,Rc=.8359375,Sc=18.8515625,zc=18.6875,Lc=16295499532821565e-27,Un=e=>{let t=Math.pow(e/1e4,jc);return Math.pow((Rc+Sc*t)/(1+zc*t),Cc)||0},Wn=e=>Math.max(e*203,0),ma=({x:e,y:t,z:n,alpha:o})=>{e=Wn(e),t=Wn(t),n=Wn(n);let r=1.15*e-.15*n,a=.66*t+.34*e,i=Un(.41478972*r+.579999*a+.014648*n),s=Un(-.20151*r+1.120649*a+.0531008*n),l=Un(-.0166008*r+.2648*a+.6684799*n),u=(i+s)/2,d={mode:"jab",j:.44*u/(1-.56*u)-Lc,a:3.524*i-4.066708*s+.542708*l,b:.199076*i+1.096799*s-1.295875*l};return o!==void 0&&(d.alpha=o),d},Oc=.1593017578125,Nc=134.03437499999998,Pc=.8359375,Ac=18.8515625,Ic=18.6875,wa=16295499532821565e-27,Jn=e=>{let t=Math.pow(e,1/Nc);return 1e4*Math.pow((Pc-t)/(Ic*t-Ac),1/Oc)||0},Yn=e=>e/203,xa=({j:e,a:t,b:n,alpha:o})=>{let r=(e+wa)/(.44+.56*(e+wa)),a=Jn(r+.13860504*t+.058047316*n),i=Jn(r-.13860504*t-.058047316*n),s=Jn(r-.096019242*t-.8118919*n),l={mode:"xyz65",x:Yn(1.661373024652174*a-.914523081304348*i+.23136208173913045*s),y:Yn(-.3250758611844533*a+1.571847026732543*i-.21825383453227928*s),z:Yn(-.090982811*a-.31272829*i+1.5227666*s)};return o!==void 0&&(l.alpha=o),l},ka=e=>{let t=ma(Je(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},Ma=e=>Be(xa(e)),Dc={mode:"jab",channels:["j","a","b","alpha"],parse:["--jzazbz"],serialize:"--jzazbz",fromMode:{rgb:ka,xyz65:ma},toMode:{rgb:Ma,xyz65:xa},ranges:{j:[0,.222],a:[-.109,.129],b:[-.185,.134]},interpolate:{j:m,a:m,b:m,alpha:{use:m,fixup:V}}},Ta=({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=q(Math.atan2(n,t)*180/Math.PI)),o!==void 0&&(a.alpha=o),a},$a=({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},Hc={mode:"jch",parse:["--jzczhz"],serialize:"--jzczhz",toMode:{jab:$a,rgb:e=>Ma($a(e))},fromMode:{rgb:e=>Ta(ka(e)),jab:Ta},channels:["j","c","h","alpha"],ranges:{j:[0,.221],c:[0,.19],h:[0,360]},interpolate:{h:{use:m,fixup:_e},c:m,j:m,alpha:{use:m,fixup:V}},difference:{h:Ht},average:{h:ge}},Wt=Math.pow(29,3)/Math.pow(3,3),Bn=Math.pow(6,3)/Math.pow(29,3);let Kn=e=>Math.pow(e,3)>Bn?Math.pow(e,3):(116*e-16)/Wt;const Zn=({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:Kn(a)*D.X,y:Kn(r)*D.Y,z:Kn(i)*D.Z};return o!==void 0&&(s.alpha=o),s},vt=({x:e,y:t,z:n,alpha:o})=>{let r=Ye({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},Ea=e=>vt(Zn(e)),yt=e=>{let{r:t,g:n,b:o,alpha:r}=We(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},Gn=e=>e>Bn?Math.cbrt(e):(Wt*e+16)/116,Qn=({x:e,y:t,z:n,alpha:o})=>{let r=Gn(e/D.X),a=Gn(t/D.Y),i=Gn(n/D.Z),s={mode:"lab",l:116*a-16,a:500*(r-a),b:200*(a-i)};return o!==void 0&&(s.alpha=o),s},ja=e=>{let t=Qn(yt(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t};function Vc(e,t){if(!t||t[0]!=="lab")return;const n={mode:"lab"},[,o,r,a,i]=t;if(!(o.type===g.Hue||r.type===g.Hue||a.type===g.Hue))return o.type!==g.None&&(n.l=o.value),r.type!==g.None&&(n.a=r.type===g.Number?r.value:r.value*125/100),a.type!==g.None&&(n.b=a.type===g.Number?a.value:a.value*125/100),i.type!==g.None&&(n.alpha=i.type===g.Number?i.value:i.value/100),n}const er={mode:"lab",toMode:{xyz50:Zn,rgb:Ea},fromMode:{xyz50:Qn,rgb:ja},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-100,100],b:[-100,100]},parse:[Vc],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}}},Xc={...er,mode:"lab65",parse:["--lab-d65"],serialize:"--lab-d65",toMode:{xyz65:ua,rgb:Vt},fromMode:{xyz65:da,rgb:Xt},ranges:{l:[0,100],a:[-86.182,98.234],b:[-107.86,94.477]}};function qc(e,t){if(!t||t[0]!=="lch")return;const n={mode:"lch"},[,o,r,a,i]=t;if(o.type!==g.None){if(o.type===g.Hue)return;n.l=o.value}if(r.type!==g.None&&(n.c=Math.max(0,r.type===g.Number?r.value:r.value*150/100)),a.type!==g.None){if(a.type===g.Percentage)return;n.h=a.value}return i.type!==g.None&&(n.alpha=i.type===g.Number?i.value:i.value/100),n}const tr={mode:"lch",toMode:{lab:je,rgb:e=>Ea(je(e))},fromMode:{rgb:e=>Ee(ja(e)),lab:Ee},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,150],h:[0,360]},parse:[qc],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:_e},c:m,l:m,alpha:{use:m,fixup:V}},difference:{h:Ht},average:{h:ge}},Fc={...tr,mode:"lch65",parse:["--lch-d65"],serialize:"--lch-d65",toMode:{lab65:e=>je(e,"lab65"),rgb:e=>Vt(je(e,"lab65"))},fromMode:{rgb:e=>Ee(Xt(e),"lch65"),lab65:e=>Ee(e,"lch65")},ranges:{l:[0,100],c:[0,133.807],h:[0,360]}},Ca=({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=q(Math.atan2(n,t)*180/Math.PI)),o!==void 0&&(a.alpha=o),a},Ra=({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},Sa=(e,t,n)=>4*e/(e+15*t+3*n),za=(e,t,n)=>9*t/(e+15*t+3*n),Uc=Sa(D.X,D.Y,D.Z),Wc=za(D.X,D.Y,D.Z),Jc=e=>e<=Bn?Wt*e:116*Math.cbrt(e)-16,nr=({x:e,y:t,z:n,alpha:o})=>{let r=Jc(t/D.Y),a=Sa(e,t,n),i=za(e,t,n);!isFinite(a)||!isFinite(i)?r=a=i=0:(a=13*r*(a-Uc),i=13*r*(i-Wc));let s={mode:"luv",l:r,u:a,v:i};return o!==void 0&&(s.alpha=o),s},Yc=(e,t,n)=>4*e/(e+15*t+3*n),Bc=(e,t,n)=>9*t/(e+15*t+3*n),Kc=Yc(D.X,D.Y,D.Z),Zc=Bc(D.X,D.Y,D.Z),rr=({l:e,u:t,v:n,alpha:o})=>{let r=t/(13*e)+Kc,a=n/(13*e)+Zc,i=D.Y*(e<=8?e/Wt:Math.pow((e+16)/116,3)),s=i*(9*r)/(4*a),l=i*(12-3*r-20*a)/(4*a),u={mode:"xyz50",x:s,y:i,z:l};return o!==void 0&&(u.alpha=o),u},Gc={mode:"lchuv",toMode:{luv:Ra,rgb:e=>vt(rr(Ra(e)))},fromMode:{rgb:e=>Ca(nr(yt(e))),luv:Ca},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:_e},c:m,l:m,alpha:{use:m,fixup:V}},difference:{h:Ht},average:{h:ge}},Qc={...Ue,mode:"lrgb",toMode:{rgb:Ye},fromMode:{rgb:We},parse:["srgb-linear"],serialize:"srgb-linear"},el={mode:"luv",toMode:{xyz50:rr,rgb:e=>vt(rr(e))},fromMode:{xyz50:nr,rgb:e=>nr(yt(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}}},La=({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},Jt=e=>{let t=La(We(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},Yt=e=>Ye(mt(e));function or(e){const o=1.170873786407767;return .5*(o*e-.206+Math.sqrt((o*e-.206)*(o*e-.206)+4*.03*o*e))}function Bt(e){const o=1.170873786407767;return(e*e+.206*e)/(o*(e+.03))}function tl(e,t){let n,o,r,a,i,s,l,u;-1.88170328*e-.80936493*t>1?(n=1.19086277,o=1.76576728,r=.59662641,a=.75515197,i=.56771245,s=4.0767416621,l=-3.3077115913,u=.2309699292):1.81444104*e-1.19445276*t>1?(n=.73956515,o=-.45954404,r=.08285427,a=.1254107,i=.14503204,s=-1.2684380046,l=2.6097574011,u=-.3413193965):(n=1.35733652,o=-.00915799,r=-1.1513021,a=-.50559606,i=.00692167,s=-.0041960863,l=-.7034186147,u=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 b=1+d*c,v=1+d*f,y=1+d*p,_=b*b*b,$=v*v*v,k=y*y*y,M=3*c*b*b,R=3*f*v*v,T=3*p*y*y,S=6*c*c*b,j=6*f*f*v,E=6*p*p*y,O=s*_+l*$+u*k,W=s*M+l*R+u*T,ae=s*S+l*j+u*E;d=d-O*W/(W*W-.5*O*ae)}return d}function ar(e,t){let n=tl(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=ar(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,l=o,u=.3963377774*e+.2158037573*t,d=-.1055613458*e-.0638541728*t,c=-.0894841775*e-1.291485548*t,f=s+l*u,p=s+l*d,b=s+l*c;{let v=r*(1-i)+i*n,y=i*o,_=v+y*u,$=v+y*d,k=v+y*c,M=_*_*_,R=$*$*$,T=k*k*k,S=3*f*_*_,j=3*p*$*$,E=3*b*k*k,O=6*f*f*_,W=6*p*p*$,ae=6*b*b*k,ie=4.0767416621*M-3.3077115913*R+.2309699292*T-1,H=4.0767416621*S-3.3077115913*j+.2309699292*E,br=4.0767416621*O-3.3077115913*W+.2309699292*ae,wt=H/(H*H-.5*ie*br),Ze=-ie*wt,be=-1.2684380046*M+2.6097574011*R-.3413193965*T-1,Ge=-1.2684380046*S+2.6097574011*j-.3413193965*E,vr=-1.2684380046*O+2.6097574011*W-.3413193965*ae,ve=Ge/(Ge*Ge-.5*be*vr),se=-be*ve,Pe=-.0041960863*M-.7034186147*R+1.707614701*T-1,Qe=-.0041960863*S-.7034186147*j+1.707614701*E,et=-.0041960863*O-.7034186147*W+1.707614701*ae,xt=Qe/(Qe*Qe-.5*Pe*et),tt=-Pe*xt;Ze=wt>=0?Ze:1e6,se=ve>=0?se:1e6,tt=xt>=0?tt:1e6,i+=Math.min(Ze,Math.min(se,tt))}}}return i}function ir(e,t,n=null){n||(n=ar(e,t));let o=n[0],r=n[1];return[r/o,r/(1-o)]}function Oa(e,t,n){let o=ar(t,n),r=nl(t,n,e,1,e,o),a=ir(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)))),l=r/Math.min(e*a[0],(1-e)*a[1]),u=e*i,d=(1-e)*s,c=.9*l*Math.sqrt(Math.sqrt(1/(1/(u*u*u*u)+1/(d*d*d*d))));return u=e*.4,d=(1-e)*.8,[Math.sqrt(1/(1/(u*u)+1/(d*d))),c,r]}function Na(e){const t={mode:"okhsl",l:or(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]=Oa(e.l,e.a/n,e.b/n),i;if(n<r){let s=0,l=.8*o,u=1-l/r;i=(n-s)/(l+u*(n-s))*.8}else{let s=r,l=.2*r*r*1.25*1.25/o,u=1-l/(a-r);i=.8+.2*((n-s)/(l+u*(n-s)))}return i&&(t.s=i,t.h=q(Math.atan2(e.b,e.a)*180/Math.PI)),t}function Pa(e){let t=Bt(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]=Oa(t,o,r),l,u,d,c;e.s<.8?(l=1.25*e.s,u=0,d=.8*a,c=1-d/i):(l=5*(e.s-.8),u=i,d=.2*i*i*1.25*1.25/a,c=1-d/(s-i));let f=u+l*d/(1-c*l);return n.a=f*o,n.b=f*r,n}const rl={...ga,mode:"okhsl",channels:["h","s","l","alpha"],parse:["--okhsl"],serialize:"--okhsl",fromMode:{oklab:Na,rgb:e=>Na(Jt(e))},toMode:{oklab:Pa,rgb:e=>Yt(Pa(e))}};function Aa(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]=ir(o,r),s=.5,l=1-s/a,u=i/(t+n*i),d=u*n,c=u*t,f=Bt(d),p=c*f/d,b=mt({l:f,a:o*p,b:r*p}),v=Math.cbrt(1/Math.max(b.r,b.g,b.b,0));n=n/v,t=t/v*or(n)/n,n=or(n);const y={mode:"okhsv",s:t?(s+i)*c/(i*s+i*l*c):0,v:n?n/d:0};return y.s&&(y.h=q(Math.atan2(e.b,e.a)*180/Math.PI)),e.alpha!==void 0&&(y.alpha=e.alpha),y}function Ia(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]=ir(o,r),s=.5,l=1-s/a,u=1-e.s*s/(s+i-i*l*e.s),d=e.s*i*s/(s+i-i*l*e.s),c=Bt(u),f=d*c/u,p=mt({l:c,a:o*f,b:r*f}),b=Math.cbrt(1/Math.max(p.r,p.g,p.b,0)),v=Bt(e.v*u),y=d*v/u;return t.l=v*b,t.a=y*o*b,t.b=y*r*b,t}const ol={...ya,mode:"okhsv",channels:["h","s","v","alpha"],parse:["--okhsv"],serialize:"--okhsv",fromMode:{oklab:Aa,rgb:e=>Aa(Jt(e))},toMode:{oklab:Ia,rgb:e=>Yt(Ia(e))}};function al(e,t){if(!t||t[0]!=="oklab")return;const n={mode:"oklab"},[,o,r,a,i]=t;if(!(o.type===g.Hue||r.type===g.Hue||a.type===g.Hue))return o.type!==g.None&&(n.l=o.type===g.Number?o.value:o.value/100),r.type!==g.None&&(n.a=r.type===g.Number?r.value:r.value*.4/100),a.type!==g.None&&(n.b=a.type===g.Number?a.value:a.value*.4/100),i.type!==g.None&&(n.alpha=i.type===g.Number?i.value:i.value/100),n}const il={...er,mode:"oklab",toMode:{lrgb:mt,rgb:Yt},fromMode:{lrgb:La,rgb:Jt},ranges:{l:[0,1],a:[-.4,.4],b:[-.4,.4]},parse:[al],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 sl(e,t){if(!t||t[0]!=="oklch")return;const n={mode:"oklch"},[,o,r,a,i]=t;if(o.type!==g.None){if(o.type===g.Hue)return;n.l=o.type===g.Number?o.value:o.value/100}if(r.type!==g.None&&(n.c=Math.max(0,r.type===g.Number?r.value:r.value*.4/100)),a.type!==g.None){if(a.type===g.Percentage)return;n.h=a.value}return i.type!==g.None&&(n.alpha=i.type===g.Number?i.value:i.value/100),n}const cl={...tr,mode:"oklch",toMode:{oklab:e=>je(e,"oklab"),rgb:e=>Yt(je(e,"oklab"))},fromMode:{rgb:e=>Ee(Jt(e),"oklch"),oklab:e=>Ee(e,"oklch")},parse:[sl],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]}},Da=e=>{let{r:t,g:n,b:o,alpha:r}=We(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},Ha=({x:e,y:t,z:n,alpha:o})=>{let r=Ye({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},ll={...Ue,mode:"p3",parse:["display-p3"],serialize:"display-p3",fromMode:{rgb:e=>Ha(Je(e)),xyz65:Ha},toMode:{rgb:e=>Be(Da(e)),xyz65:Da}},sr=e=>{let t=Math.abs(e);return t>=1/512?Math.sign(e)*Math.pow(t,1/1.8):16*e},Va=({x:e,y:t,z:n,alpha:o})=>{let r={mode:"prophoto",r:sr(e*1.3457868816471585-t*.2555720873797946-.0511018649755453*n),g:sr(e*-.5446307051249019+t*1.5082477428451466+.0205274474364214*n),b:sr(e*0+t*0+1.2119675456389452*n)};return o!==void 0&&(r.alpha=o),r},cr=e=>{let t=Math.abs(e);return t>=16/512?Math.sign(e)*Math.pow(t,1.8):e/16},Xa=e=>{let t=cr(e.r),n=cr(e.g),o=cr(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},ul={...Ue,mode:"prophoto",parse:["prophoto-rgb"],serialize:"prophoto-rgb",fromMode:{xyz50:Va,rgb:e=>Va(yt(e))},toMode:{xyz50:Xa,rgb:e=>vt(Xa(e))}},qa=1.09929682680944,dl=.018053968510807,lr=e=>{const t=Math.abs(e);return t>dl?(Math.sign(e)||1)*(qa*Math.pow(t,.45)-(qa-1)):4.5*e},Fa=({x:e,y:t,z:n,alpha:o})=>{let r={mode:"rec2020",r:lr(e*1.7166511879712683-t*.3556707837763925-.2533662813736599*n),g:lr(e*-.6666843518324893+t*1.6164812366349395+.0157685458139111*n),b:lr(e*.0176398574453108-t*.0427706132578085+.9421031212354739*n)};return o!==void 0&&(r.alpha=o),r},Ua=1.09929682680944,fl=.018053968510807,ur=e=>{let t=Math.abs(e);return t<fl*4.5?e/4.5:(Math.sign(e)||1)*Math.pow((t+Ua-1)/Ua,1/.45)},Wa=e=>{let t=ur(e.r),n=ur(e.g),o=ur(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},pl={...Ue,mode:"rec2020",fromMode:{xyz65:Fa,rgb:e=>Fa(Je(e))},toMode:{xyz65:Wa,rgb:e=>Be(Wa(e))},parse:["rec2020"],serialize:"rec2020"},Ne=.0037930732552754493,Ja=Math.cbrt(Ne),dr=e=>Math.cbrt(e)-Ja,hl=e=>{const{r:t,g:n,b:o,alpha:r}=We(e),a=dr(.3*t+.622*n+.078*o+Ne),i=dr(.23*t+.692*n+.078*o+Ne),s=dr(.2434226892454782*t+.2047674442449682*n+.5518098665095535*o+Ne),l={mode:"xyb",x:(a-i)/2,y:(a+i)/2,b:s-(a+i)/2};return r!==void 0&&(l.alpha=r),l},fr=e=>Math.pow(e+Ja,3),_l={mode:"xyb",channels:["x","y","b","alpha"],parse:["--xyb"],serialize:"--xyb",toMode:{rgb:({x:e,y:t,b:n,alpha:o})=>{const r=fr(e+t)-Ne,a=fr(t-e)-Ne,i=fr(n+t)-Ne,s=Ye({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:hl},ranges:{x:[-.0154,.0281],y:[0,.8453],b:[-.2778,.388]},interpolate:{x:m,y:m,b:m,alpha:{use:m,fixup:V}}},gl={mode:"xyz50",parse:["xyz-d50"],serialize:"xyz-d50",toMode:{rgb:vt,lab:Qn},fromMode:{rgb:yt,lab:Zn},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}}},bl={mode:"xyz65",toMode:{rgb:Be,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:Je,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}}},vl={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}}},yl=(e,t)=>Math.round(e*(t=Math.pow(10,t)))/t;((e=4)=>t=>typeof t=="number"?yl(t,e):t)(2);const ml=e=>{const t=_t(e);if(!t)return;const n=Oe(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)};he("rgb");const wl=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},xl=e=>e!==void 0&&e.r>=0&&e.r<=1&&e.g>=0&&e.g<=1&&e.b>=0&&e.b<=1;function Ya(e="rgb"){const{gamut:t}=Oe(e);if(!t)return o=>!0;const n=he(typeof t=="string"?t:e);return o=>xl(n(o))}function kl(e="rgb"){const{gamut:t}=Oe(e);if(!t)return a=>_t(a);const n=typeof t=="string"?t:e,o=he(n),r=Ya(n);return a=>{const i=_t(a);if(!i)return;const s=o(i);if(r(s))return i;const l=wl(s);return i.mode===l.mode?l:he(i.mode)(l)}}function Ml(e="rgb",t="oklch",n=sa("oklch"),o=.02){const r=he(e);if(!Oe(e).gamut)return c=>r(c);const a=Ya(e),i=kl(e),s=he(t),{ranges:l}=Oe(t),u=r("white"),d=r("black");return c=>{if(c=_t(c),c===void 0)return;const f={...s(c)};if(f.l>=l.l[1]){const _={...u};return c.alpha!==void 0&&(_.alpha=c.alpha),_}if(f.l<=l.l[0]){const _={...d};return c.alpha!==void 0&&(_.alpha=c.alpha),_}if(a(f))return r(f);let p=0,b=f.c,v=(l.c[1]-l.c[0])/4e3,y=i(f);for(;b-p>v;)f.c=(p+b)*.5,y=i(f),a(f)||n&&o>0&&n(f,y)<=o?p=f.c:b=f.c;return r(a(f)?f:y)}}z(ac),z(fc),z(pc),z(hc),z(bc),z(ga),z(ya),z(Ec),z(Dc),z(Hc),z(er),z(Xc),z(tr),z(Fc),z(Gc),z(Qc),z(el),z(rl),z(ol),z(il),z(cl),z(ll),z(ul),z(pl),z(Ue),z(_l),z(gl),z(bl),z(vl);const Tl=he("oklch"),$l=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}),El={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}}},jl=(e,t=1,n)=>o=>{const{c:r,l:a}=El[n][o],i="oklch("+a+"% "+r*t+" "+e+")",s=Tl(Ml("p3","oklch",sa("oklch"),0)(i)),l=ml(s);if(!l)throw new Error("Could not format color");return l},pr=e=>{const t=jl(e.hue,e.chroma,e.mode);return Object.fromEntries($l.map(n=>[e.prefix+n,Cl(t(n))]))},Cl=e=>e.replace("oklch(","").replace(")",""),hr=e=>`--i-${e}`,Rl=e=>`var(${hr(e)})`,[_r,gr]=["0 0 0","100 0 0"],Sl=e=>({black:_r,white:gr,lowest:e.mode==="light"?gr:_r,highest:e.mode==="light"?_r:gr,...pr({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode}),...pr({prefix:"n-",hue:e.accent.hue,chroma:.05,mode:e.mode}),...pr({prefix:"m-",hue:140,chroma:e.accent.chroma,mode:e.mode})}),B="transparent",zl=(e,t)=>{var a,i,s,l,u,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":((l=n.filter)==null?void 0:l.style)??n.style??"normal","weight-filter":((u=n.filter)==null?void 0:u.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-9"],"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"]:B,"tag-neutral-weak-copy":t["n-9"],"tag-neutral-weak-stroke-color":r==="stroke"?t["n-4"]:B,"tag-neutral-strong-bg":r==="fill"?t["n-11"]:B,"tag-neutral-strong-copy":t.white,"tag-neutral-strong-stroke-color":r==="stroke"?t.white:B,"tag-monetary-weak-bg":t["m-2"],"tag-monetary-weak-copy":t["m-8"],"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":B,"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"]:B,"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"]:B,"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(()=>B),"section-strong-bg":U(e).with({highlights:"fill"},()=>t["a-1"]).otherwise(()=>B),"section-weak-stroke-color":U(e).with({highlights:"stroke"},()=>t["n-5"]).otherwise(()=>B),"section-strong-stroke-color":U(e).with({highlights:"stroke"},()=>t["n-11"]).otherwise(()=>B),"section-stroke-width":U(e).with({highlights:"stroke",highcontrast:!0},()=>"2px").otherwise(()=>"1px"),"job-card-bg":U(e).with({highlights:"fill"},()=>t.lowest).otherwise(()=>B),"job-card-bg-active":U(e).with({highlights:"fill"},()=>t.lowest).otherwise(()=>B),"job-card-stroke-color":U(e).with({highlights:"stroke",highcontrast:!0},()=>t["n-8"]).with({highlights:"stroke",highcontrast:!1},()=>t["n-10"]).otherwise(()=>B),"job-card-stroke-color-active":U(e).with({highlights:"stroke"},()=>t["a-6"]).with({highlights:"fill"},()=>t["a-4"]).otherwise(()=>B),"job-card-stroke-width":U(e).with({highlights:"stroke",highcontrast:!0},()=>"2px").otherwise(()=>"1px")}},Ll=e=>{const t=Sl(e),n=new Proxy(t,{get:(a,i)=>Rl(i)}),o=Object.entries(zl(e,n)).map(([a,i])=>`${hr(a)}: ${i};`),r=Object.entries(t).map(([a,i])=>(Pr(a),`${hr(a)}: ${i};`));return`#${Jo} {
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&&gt)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)},pa=(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}}},_c={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},gc=e=>pa(_c[e.toLowerCase()],6),bc=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i,vc=e=>{let t;return(t=e.match(bc))?pa(parseInt(t[1],16),t[1].length):void 0},Ce="([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)",mt=`${Ce}%`,Xn=`(?:${Ce}%|${Ce})`,yc=`(?:${Ce}(deg|grad|rad|turn)|${Ce})`,Je="\\s*,\\s*",mc=new RegExp(`^rgba?\\(\\s*${Ce}${Je}${Ce}${Je}${Ce}\\s*(?:,\\s*${Xn}\\s*)?\\)$`),wc=new RegExp(`^rgba?\\(\\s*${mt}${Je}${mt}${Je}${mt}\\s*(?:,\\s*${Xn}\\s*)?\\)$`),xc=e=>{let t={mode:"rgb"},n;if(n=e.match(mc))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(wc))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"?Rc(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={},ha={},Ft=[],_a={},kc=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=kc)}),ha[e.mode]=e,(e.parse||[]).forEach(t=>{Tc(t,e.mode)}),_e(e.mode)),De=e=>ha[e],Tc=(e,t)=>{if(typeof e=="string"){if(!t)throw new Error("'mode' required when 'parser' is a string");_a[e]=t}else typeof e=="function"&&Ft.indexOf(e)<0&&Ft.push(e)},Fn=/[^\x00-\x7F]|[a-zA-Z_]/,$c=/[^\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 Mc={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*Mc[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&&$c.test(e[T]);)t+=e[T++];return t}function Ec(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 Cc(e=""){let t=e.trim(),n=[],o;for(T=0;T<t.length;){if(o=t[T++],o===`
19
+ `||o===" "||o===" "){for(;T<t.length&&(t[T]===`
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} {
22
22
  ${r.concat(o).join(`
23
23
  `)}
24
- }`},Ol=()=>({addStyle:(e,t)=>{const n=document.head,o=n.querySelector(`style#${t}`);o==null||o.remove();const r=document.createElement("style");r.id=t,r.innerHTML=e,n.appendChild(r)},getRenderTargetElement:()=>{const e=document.body.querySelector(`#${Wo}`);if(!e)throw new Error(`Element with id ${Wo} not found.`);return e}}),Nl=()=>Ce(({apiClient:e,logger:t,analytics:n})=>{const o=Ol();return{render:async r=>{o.addStyle(As,"inploi-job-search-styles"),o.addStyle(Ll(r.theme),"inploi-job-search-theme"),t.info("Job Search Plugin Rendered."),Ie(ne(Ps,{params:r,apiClient:e,logger:t,analytics:n}),o.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=Nl})();
24
+ }`},du=(()=>({addStyle:(e,t)=>{const n=document.head,o=n.querySelector(`style#${t}`);o==null||o.remove();const r=document.createElement("style");r.id=t,r.innerHTML=e,n.appendChild(r)},getRenderTargetElement:()=>{const e=document.body.querySelector(`#${ca}`);return Q(e,`Element with id ${ca} not found.`),e}}))(),fu=e=>Re(({apiClient:t,logger:n,analytics:o})=>{const r=[J("style",{id:"inploi-job-search-styles"},hc),J("style",{id:"inploi-job-search-theme"},uu(e.theme))],a=J(O,{},[r,J(pc,{params:e,apiClient:t,logger:n,analytics:o})]);return{renderToString:()=>Ei(a),render:async()=>{Q(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `renderToString` instead."),Xe(a,du.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=fu})();