@inploi/plugin-job-search 0.24.0 → 0.25.1

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.
Files changed (46) hide show
  1. package/cdn/index.js +17 -17
  2. package/cdn/style.css +1 -1
  3. package/dist/components/button.d.ts +1 -1
  4. package/dist/components/combobox.d.ts +25 -0
  5. package/dist/components/filter-content.active.d.ts +174 -1
  6. package/dist/components/filter-section.d.ts +3 -2
  7. package/dist/components/filter.d.ts +57 -0
  8. package/dist/components/geo-search.d.ts +22 -0
  9. package/dist/components/geo-search.locate-button.d.ts +8 -0
  10. package/dist/components/geo-search.location-input.d.ts +10 -0
  11. package/dist/components/geo-search.utils.d.ts +7 -0
  12. package/dist/components/icon.d.ts +2 -0
  13. package/dist/components/job-search.d.ts +21 -1
  14. package/dist/components/keyword-search.d.ts +3 -2
  15. package/dist/components/mode-switch.d.ts +3 -3
  16. package/dist/components/natural-language-section.d.ts +3 -2
  17. package/dist/components/results-section.d.ts +3 -3
  18. package/dist/components/tag.d.ts +1 -1
  19. package/dist/index.cjs +4 -20
  20. package/dist/index.d.ts +1 -1
  21. package/dist/index.js +1170 -4735
  22. package/dist/job-search.api-1670984d.cjs +17 -0
  23. package/dist/job-search.api-c4af53ba.js +3871 -0
  24. package/dist/job-search.api.d.ts +83 -27
  25. package/dist/job-search.d.ts +10 -3
  26. package/dist/job-search.schemas.d.ts +55 -8
  27. package/dist/lib/cache-key.d.ts +2 -3
  28. package/dist/lib/currency.d.ts +1 -1
  29. package/dist/lib/datetime.d.ts +1 -1
  30. package/dist/lib/{translation.terms.d.ts → i18n.d.ts} +118 -63
  31. package/dist/lib/type-utils.d.ts +1 -0
  32. package/dist/lib/utils.d.ts +3 -0
  33. package/dist/plugin-job-alerts-7fc7b0f9.cjs +1050 -0
  34. package/dist/{plugin-job-alerts-6f8dbd69.js → plugin-job-alerts-a5cbb5be.js} +1777 -1812
  35. package/dist/style/tokens.d.ts +3 -3
  36. package/dist/style.css +1 -1
  37. package/dist/utils.cjs +1 -1
  38. package/dist/utils.d.ts +1 -1
  39. package/dist/utils.js +5 -15
  40. package/package.json +11 -10
  41. package/dist/datetime-3eccae90.cjs +0 -1
  42. package/dist/datetime-796d4b37.js +0 -32
  43. package/dist/job-search.state.d.ts +0 -4
  44. package/dist/lib/translation.d.ts +0 -44
  45. package/dist/lib/translation.test.d.ts +0 -1
  46. package/dist/plugin-job-alerts-4b46b097.cjs +0 -1050
@@ -1,1050 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Si=require("@inploi/sdk");function Br(t,e){if(!t)throw new Error(e)}var ae,$,Vr,Yr,kt,Kn,Xr,en,yn,nn,rn,qr,te={},Kr=[],Ci=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Fe=Array.isArray;function st(t,e){for(var n in e)t[n]=e[n];return t}function Zr(t){var e=t.parentNode;e&&e.removeChild(t)}function x(t,e,n){var r,o,i,a={};for(i in e)i=="key"?r=e[i]:i=="ref"?o=e[i]:a[i]=e[i];if(arguments.length>2&&(a.children=arguments.length>3?ae.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)a[i]===void 0&&(a[i]=t.defaultProps[i]);return Gt(t,a,r,o,null)}function Gt(t,e,n,r,o){var i={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++Vr,__i:-1,__u:0};return o==null&&$.vnode!=null&&$.vnode(i),i}function Gr(){return{current:null}}function z(t){return t.children}function tt(t,e){this.props=t,this.context=e}function St(t,e){if(e==null)return t.__?St(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?St(t):null}function Qr(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return Qr(t)}}function on(t){(!t.__d&&(t.__d=!0)&&kt.push(t)&&!Ae.__r++||Kn!==$.debounceRendering)&&((Kn=$.debounceRendering)||Xr)(Ae)}function Ae(){var t,e,n,r,o,i,a,s;for(kt.sort(en);t=kt.shift();)t.__d&&(e=kt.length,r=void 0,i=(o=(n=t).__v).__e,a=[],s=[],n.__P&&((r=st({},o)).__v=o.__v+1,$.vnode&&$.vnode(r),bn(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??St(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,eo(a,r,s),r.__e!=i&&Qr(r)),kt.length>e&&kt.sort(en));Ae.__r=0}function Jr(t,e,n,r,o,i,a,s,l,u,d){var c,h,f,v,p,_=r&&r.__k||Kr,m=e.length;for(n.__d=l,Ai(n,e,_),l=n.__d,c=0;c<m;c++)(f=n.__k[c])!=null&&typeof f!="boolean"&&typeof f!="function"&&(h=f.__i===-1?te:_[f.__i]||te,f.__i=c,bn(t,f,h,o,i,a,s,l,u,d),v=f.__e,f.ref&&h.ref!=f.ref&&(h.ref&&xn(h.ref,null,f),d.push(f.ref,f.__c||v,f)),p==null&&v!=null&&(p=v),65536&f.__u||h.__k===f.__k?(l&&typeof f.type=="string"&&!t.contains(l)&&(l=St(h)),l=to(f,l,t)):typeof f.type=="function"&&f.__d!==void 0?l=f.__d:v&&(l=v.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=l,n.__e=p}function Ai(t,e,n){var r,o,i,a,s,l=e.length,u=n.length,d=u,c=0;for(t.__k=[],r=0;r<l;r++)a=r+c,(o=t.__k[r]=(o=e[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?Gt(null,o,null,null,null):Fe(o)?Gt(z,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?Gt(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=t,o.__b=t.__b+1,s=Pi(o,n,a,d),o.__i=s,i=null,s!==-1&&(d--,(i=n[s])&&(i.__u|=131072)),i==null||i.__v===null?(s==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):s!==a&&(s==a-1?c=s-a:s==a+1?c++:s>a?d>l-a?c+=s-a:c--:s<a&&c++,s!==r+c&&(o.__u|=65536))):(i=n[a])&&i.key==null&&i.__e&&!(131072&i.__u)&&(i.__e==t.__d&&(t.__d=St(i)),an(i,i,!1),n[a]=null,d--);if(d)for(r=0;r<u;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==t.__d&&(t.__d=St(i)),an(i,i))}function to(t,e,n){var r,o;if(typeof t.type=="function"){for(r=t.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=t,e=to(r[o],e,n));return e}t.__e!=e&&(n.insertBefore(t.__e,e||null),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType===8);return e}function ct(t,e){return e=e||[],t==null||typeof t=="boolean"||(Fe(t)?t.some(function(n){ct(n,e)}):e.push(t)),e}function Pi(t,e,n,r){var o=t.key,i=t.type,a=n-1,s=n+1,l=e[n];if(l===null||l&&o==l.key&&i===l.type&&!(131072&l.__u))return n;if(r>(l!=null&&!(131072&l.__u)?1:0))for(;a>=0||s<e.length;){if(a>=0){if((l=e[a])&&!(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s<e.length){if((l=e[s])&&!(131072&l.__u)&&o==l.key&&i===l.type)return s;s++}}return-1}function Zn(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||Ci.test(e)?n:n+"px"}function ve(t,e,n,r,o){var i;t:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||Zn(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||Zn(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")i=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in t||e==="onFocusOut"||e==="onFocusIn"?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r?n.u=r.u:(n.u=yn,t.addEventListener(e,i?rn:nn,i)):t.removeEventListener(e,i?rn:nn,i);else{if(o=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in t)try{t[e]=n??"";break t}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&n==1?"":n))}}function Gn(t){return function(e){if(this.l){var n=this.l[e.type+t];if(e.t==null)e.t=yn++;else if(e.t<n.u)return;return n($.event?$.event(e):e)}}}function bn(t,e,n,r,o,i,a,s,l,u){var d,c,h,f,v,p,_,m,w,y,g,b,C,P,E,T,j=e.type;if(e.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=e.__e=n.__e]),(d=$.__b)&&d(e);t:if(typeof j=="function")try{if(m=e.props,w="prototype"in j&&j.prototype.render,y=(d=j.contextType)&&r[d.__c],g=d?y?y.props.value:d.__:r,n.__c?_=(c=e.__c=n.__c).__=c.__E:(w?e.__c=c=new j(m,g):(e.__c=c=new tt(m,g),c.constructor=j,c.render=Oi),y&&y.sub(c),c.props=m,c.state||(c.state={}),c.context=g,c.__n=r,h=c.__d=!0,c.__h=[],c._sb=[]),w&&c.__s==null&&(c.__s=c.state),w&&j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=st({},c.__s)),st(c.__s,j.getDerivedStateFromProps(m,c.__s))),f=c.props,v=c.state,c.__v=e,h)w&&j.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),w&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(w&&j.getDerivedStateFromProps==null&&m!==f&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(m,g),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(m,c.__s,g)===!1||e.__v===n.__v)){for(e.__v!==n.__v&&(c.props=m,c.state=c.__s,c.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(F){F&&(F.__=e)}),b=0;b<c._sb.length;b++)c.__h.push(c._sb[b]);c._sb=[],c.__h.length&&a.push(c);break t}c.componentWillUpdate!=null&&c.componentWillUpdate(m,c.__s,g),w&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(f,v,p)})}if(c.context=g,c.props=m,c.__P=t,c.__e=!1,C=$.__r,P=0,w){for(c.state=c.__s,c.__d=!1,C&&C(e),d=c.render(c.props,c.state,c.context),E=0;E<c._sb.length;E++)c.__h.push(c._sb[E]);c._sb=[]}else do c.__d=!1,C&&C(e),d=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++P<25);c.state=c.__s,c.getChildContext!=null&&(r=st(st({},r),c.getChildContext())),w&&!h&&c.getSnapshotBeforeUpdate!=null&&(p=c.getSnapshotBeforeUpdate(f,v)),Jr(t,Fe(T=d!=null&&d.type===z&&d.key==null?d.props.children:d)?T:[T],e,n,r,o,i,a,s,l,u),c.base=e.__e,e.__u&=-161,c.__h.length&&a.push(c),_&&(c.__E=c.__=null)}catch(F){e.__v=null,l||i!=null?(e.__e=s,e.__u|=l?160:32,i[i.indexOf(s)]=null):(e.__e=n.__e,e.__k=n.__k),$.__e(F,e,n)}else i==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=ji(n.__e,e,n,r,o,i,a,l,u);(d=$.diffed)&&d(e)}function eo(t,e,n){e.__d=void 0;for(var r=0;r<n.length;r++)xn(n[r],n[++r],n[++r]);$.__c&&$.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(i){i.call(o)})}catch(i){$.__e(i,o.__v)}})}function ji(t,e,n,r,o,i,a,s,l){var u,d,c,h,f,v,p,_=n.props,m=e.props,w=e.type;if(w==="svg"?o="http://www.w3.org/2000/svg":w==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(u=0;u<i.length;u++)if((f=i[u])&&"setAttribute"in f==!!w&&(w?f.localName===w:f.nodeType===3)){t=f,i[u]=null;break}}if(t==null){if(w===null)return document.createTextNode(m);t=document.createElementNS(o,w,m.is&&m),i=null,s=!1}if(w===null)_===m||s&&t.data===m||(t.data=m);else{if(i=i&&ae.call(t.childNodes),_=n.props||te,!s&&i!=null)for(_={},u=0;u<t.attributes.length;u++)_[(f=t.attributes[u]).name]=f.value;for(u in _)if(f=_[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=f;else if(u!=="key"&&!(u in m)){if(u=="value"&&"defaultValue"in m||u=="checked"&&"defaultChecked"in m)continue;ve(t,u,null,f,o)}}for(u in m)f=m[u],u=="children"?h=f:u=="dangerouslySetInnerHTML"?d=f:u=="value"?v=f:u=="checked"?p=f:u==="key"||s&&typeof f!="function"||_[u]===f||ve(t,u,f,_[u],o);if(d)s||c&&(d.__html===c.__html||d.__html===t.innerHTML)||(t.innerHTML=d.__html),e.__k=[];else if(c&&(t.innerHTML=""),Jr(t,Fe(h)?h:[h],e,n,r,w==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&St(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&Zr(i[u]);s||(u="value",v!==void 0&&(v!==t[u]||w==="progress"&&!v||w==="option"&&v!==_[u])&&ve(t,u,v,_[u],o),u="checked",p!==void 0&&p!==t[u]&&ve(t,u,p,_[u],o))}return t}function xn(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(r){$.__e(r,n)}}function an(t,e,n){var r,o;if($.unmount&&$.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||xn(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){$.__e(i,e)}r.base=r.__P=null}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&an(r[o],e,n||typeof t.type!="function");n||t.__e==null||Zr(t.__e),t.__c=t.__=t.__e=t.__d=void 0}function Oi(t,e,n){return this.constructor(t,n)}function It(t,e,n){var r,o,i,a;$.__&&$.__(t,e),o=(r=typeof n=="function")?null:n&&n.__k||e.__k,i=[],a=[],bn(e,t=(!r&&n||e).__k=x(z,null,[t]),o||te,te,e.namespaceURI,!r&&n?[n]:o?null:e.firstChild?ae.call(e.childNodes):null,i,!r&&n?n:o?o.__e:e.firstChild,r,a),eo(i,t,a)}function $n(t,e){It(t,e,$n)}function Ti(t,e,n){var r,o,i,a,s=st({},t.props);for(i in t.type&&t.type.defaultProps&&(a=t.type.defaultProps),e)i=="key"?r=e[i]:i=="ref"?o=e[i]:s[i]=e[i]===void 0&&a!==void 0?a[i]:e[i];return arguments.length>2&&(s.children=arguments.length>3?ae.call(arguments,2):n),Gt(t.type,s,r||t.key,o||t.ref,null)}function ee(t,e){var n={__c:e="__cC"+qr++,__:t,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[e]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(function(s){s.__e=!0,on(s)})},this.sub=function(a){o.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o&&o.splice(o.indexOf(a),1),s&&s.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}ae=Kr.slice,$={__e:function(t,e,n,r){for(var o,i,a;e=e.__;)if((o=e.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(t)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,r||{}),a=o.__d),a)return o.__E=o}catch(s){t=s}throw t}},Vr=0,Yr=function(t){return t!=null&&t.constructor==null},tt.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=st({},this.state),typeof t=="function"&&(t=t(st({},n),this.props)),t&&st(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),on(this))},tt.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),on(this))},tt.prototype.render=z,kt=[],Xr=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,en=function(t,e){return t.__v.__b-e.__v.__b},Ae.__r=0,yn=0,nn=Gn(!1),rn=Gn(!0),qr=0;var Qn=/[\s\n\\/='"\0<>]/,Jn=/^(xlink|xmlns|xml)([A-Z])/,Ri=/^accessK|^auto[A-Z]|^cell|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|spellC|src[A-Z]|tabI|useM|item[A-Z]/,Ni=/^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/,Di=/["&<]/;function _e(t){if(t.length===0||Di.test(t)===!1)return t;for(var e=0,n=0,r="",o="";n<t.length;n++){switch(t.charCodeAt(n)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 60:o="&lt;";break;default:continue}n!==e&&(r+=t.slice(e,n)),r+=o,e=n+1}return n!==e&&(r+=t.slice(e,n)),r}var tr={},Li=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"]),Fi=/[A-Z]/g;function Mi(t){var e="";for(var n in t){var r=t[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:tr[n]||(tr[n]=n.replace(Fi,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||Li.has(o)||(i="px;"),e=e+o+":"+r+i}}return e||void 0}var sn,$t,ne,Zt,er=[],nr=Array.isArray,cn=Object.assign;function Ii(t,e,n){var r=$.__s;$.__s=!0,sn=$.__b,$t=$.diffed,ne=$.__r,Zt=$.unmount;var o=x(z,null);o.__k=[t];try{var i=rt(t,e||no,!1,void 0,o,!1,n);return Array.isArray(i)?i.join(""):i}catch(a){throw a.then?new Error('Use "renderToStringAsync" for suspenseful rendering.'):a}finally{$.__c&&$.__c(t,er),$.__s=r,er.length=0}}function rr(){this.__d=!0}var no={};function or(t,e){var n,r=t.type,o=!0;return t.__c?(o=!1,(n=t.__c).state=n.__s):n=new r(t.props,e),t.__c=n,n.__v=t,n.props=t.props,n.context=e,n.__d=!0,n.state==null&&(n.state=no),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=cn({},n.state,r.getDerivedStateFromProps(n.props,n.state)):o&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!o&&n.componentWillUpdate&&n.componentWillUpdate(),ne&&ne(t),n.render(n.props,n.state,e)}function rt(t,e,n,r,o,i,a){if(t==null||t===!0||t===!1||t==="")return"";if(typeof t!="object")return typeof t=="function"?"":_e(t+"");if(nr(t)){var s,l="";o.__k=t;for(var u=0;u<t.length;u++){var d=t[u];if(d!=null&&typeof d!="boolean"){var c,h=rt(d,e,n,r,o,i,a);typeof h=="string"?l+=h:(s=s||[],l&&s.push(l),l="",Array.isArray(h)?(c=s).push.apply(c,h):s.push(h))}}return s?(l&&s.push(l),s):l}if(t.constructor!==void 0)return"";t.__=o,sn&&sn(t);var f,v,p,_=t.type,m=t.props,w=e;if(typeof _=="function"){if(_===z){if(m.tpl){for(var y="",g=0;g<m.tpl.length;g++)if(y+=m.tpl[g],m.exprs&&g<m.exprs.length){var b=m.exprs[g];if(b==null)continue;typeof b!="object"||b.constructor!==void 0&&!nr(b)?y+=b:y+=rt(b,e,n,r,t,i,a)}return y}if(m.UNSTABLE_comment)return"<!--"+_e(m.UNSTABLE_comment||"")+"-->";v=m.children}else{if((f=_.contextType)!=null){var C=e[f.__c];w=C?C.props.value:f.__}if(_.prototype&&typeof _.prototype.render=="function")v=or(t,w),p=t.__c;else{t.__c=p={__v:t,props:m,context:w,setState:rr,forceUpdate:rr,__d:!0,__h:[]};for(var P=0;p.__d&&P++<25;)p.__d=!1,ne&&ne(t),v=_.call(p,m,w);p.__d=!0}if(p.getChildContext!=null&&(e=cn({},e,p.getChildContext())),(_.getDerivedStateFromError||p.componentDidCatch)&&$.errorBoundaries){var E="";v=v!=null&&v.type===z&&v.key==null?v.props.children:v;try{return E=rt(v,e,n,r,t,i,a)}catch(G){return _.getDerivedStateFromError&&(p.__s=_.getDerivedStateFromError(G)),p.componentDidCatch&&p.componentDidCatch(G,{}),p.__d&&(v=or(t,e),(p=t.__c).getChildContext!=null&&(e=cn({},e,p.getChildContext())),E=rt(v=v!=null&&v.type===z&&v.key==null?v.props.children:v,e,n,r,t,i,a)),E}finally{$t&&$t(t),t.__=null,Zt&&Zt(t)}}}v=v!=null&&v.type===z&&v.key==null&&v.props.tpl==null?v.props.children:v;try{var T=rt(v,e,n,r,t,i,a);return $t&&$t(t),t.__=null,$.unmount&&$.unmount(t),T}catch(G){if(!i&&a&&a.onError){var j=a.onError(G,t,function(vt){return rt(vt,e,n,r,t,i,a)});if(j!==void 0)return j;var F=$.__e;return F&&F(G,t),""}if(!i||!G||typeof G.then!="function")throw G;var B=function vt(){try{return rt(v,e,n,r,t,i,a)}catch(jt){if(!jt||typeof jt.then!="function")throw jt;return jt.then(function(){return rt(v,e,n,r,t,i,a)},function(){return vt()})}};return G.then(function(){return B()})}}var H,O="<"+_,N="";for(var A in m){var S=m[A];switch(A){case"children":H=S;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in m)continue;A="for";break;case"className":if("class"in m)continue;A="class";break;case"defaultChecked":A="checked";break;case"defaultSelected":A="selected";break;case"defaultValue":case"value":switch(A="value",_){case"textarea":H=S;continue;case"select":r=S;continue;case"option":r!=S||"selected"in m||(O+=" selected")}break;case"dangerouslySetInnerHTML":N=S&&S.__html;continue;case"style":typeof S=="object"&&(S=Mi(S));break;case"acceptCharset":A="accept-charset";break;case"httpEquiv":A="http-equiv";break;default:if(Jn.test(A))A=A.replace(Jn,"$1:$2").toLowerCase();else{if(Qn.test(A))continue;A[4]!=="-"&&A!=="draggable"||S==null?n?Ni.test(A)&&(A=A==="panose1"?"panose-1":A.replace(/([A-Z])/g,"-$1").toLowerCase()):Ri.test(A)&&(A=A.toLowerCase()):S+=""}}S!=null&&S!==!1&&typeof S!="function"&&(O=S===!0||S===""?O+" "+A:O+" "+A+'="'+_e(S+"")+'"')}if(Qn.test(_))throw new Error(_+" is not a valid HTML tag name in "+O+">");if(N||(typeof H=="string"?N=_e(H):H!=null&&H!==!1&&H!==!0&&(N=rt(H,e,_==="svg"||_!=="foreignObject"&&n,r,t,i,a))),$t&&$t(t),t.__=null,Zt&&Zt(t),!N&&Ui.has(_))return O+"/>";var V="</"+_+">",U=O+">";return Array.isArray(N)?[U].concat(N,[V]):typeof N!="string"?[U,N,V]:U+N+V}var Ui=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Wi=0;function k(t,e,n,r,o,i){e||(e={});var a,s,l=e;if("ref"in l)for(s in l={},e)s=="ref"?a=e[s]:l[s]=e[s];var u={type:t,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Wi,__i:-1,__u:0,__source:o,__self:i};if(typeof t=="function"&&(a=t.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return $.vnode&&$.vnode(u),u}const Hi={bell:k("path",{d:"M10 17a2.4 2.4 0 0 0 2.5 2.3A2.4 2.4 0 0 0 15 17m-7.5-6.5c0-4 1.9-6 5-6s5 2 5 6c0 3.3 1 4.3 1.4 5.1v.6c0 .2-.3.3-.5.3H6.7a.6.6 0 0 1-.5-.3.6.6 0 0 1 0-.6c.5-.8 1.3-1.9 1.3-5.1Z"}),x:k("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-up-down":k("path",{d:"M8 9l4 -4l4 4 M8 15l4 4l4 -4"})},zi=({theme:t})=>k("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:k("defs",{children:Object.entries(Hi).map(([e,n])=>k("symbol",{id:`i-icon-${e}`,children:k("g",{fill:"none","stroke-width":t.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),ro=({name:t,...e})=>k("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:k("use",{href:`#i-icon-${t}`})});function q(){return q=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},q.apply(this,arguments)}var ut,D,He,ir,Ut=0,oo=[],I=$,ar=I.__b,sr=I.__r,cr=I.diffed,lr=I.__c,ur=I.unmount,fr=I.__;function At(t,e){I.__h&&I.__h(D,t,Ut||e),Ut=0;var n=D.__H||(D.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function L(t){return Ut=1,se(io,t)}function se(t,e,n){var r=At(ut++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):io(void 0,e),function(s){var l=r.__N?r.__N[0]:r.__[0],u=r.t(l,s);l!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=D,!D.u)){var o=function(s,l,u){if(!r.__c.__H)return!0;var d=r.__c.__H.__.filter(function(h){return!!h.__c});if(d.every(function(h){return!h.__N}))return!i||i.call(this,s,l,u);var c=!1;return d.forEach(function(h){if(h.__N){var f=h.__[0];h.__=h.__N,h.__N=void 0,f!==h.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,l,u))};D.u=!0;var i=D.shouldComponentUpdate,a=D.componentWillUpdate;D.componentWillUpdate=function(s,l,u){if(this.__e){var d=i;i=void 0,o(s,l,u),i=d}a&&a.call(this,s,l,u)},D.shouldComponentUpdate=o}return r.__N||r.__}function M(t,e){var n=At(ut++,3);!I.__s&&Cn(n.__H,e)&&(n.__=t,n.i=e,D.__H.__h.push(n))}function bt(t,e){var n=At(ut++,4);!I.__s&&Cn(n.__H,e)&&(n.__=t,n.i=e,D.__h.push(n))}function R(t){return Ut=5,Z(function(){return{current:t}},[])}function kn(t,e,n){Ut=6,bt(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},n==null?n:n.concat(t))}function Z(t,e){var n=At(ut++,7);return Cn(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function Y(t,e){return Ut=8,Z(function(){return t},e)}function ce(t){var e=D.context[t.__c],n=At(ut++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(D)),e.props.value):t.__}function En(t,e){I.useDebugValue&&I.useDebugValue(e?e(t):t)}function Bi(t){var e=At(ut++,10),n=L();return e.__=t,D.componentDidCatch||(D.componentDidCatch=function(r,o){e.__&&e.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Sn(){var t=At(ut++,11);if(!t.__){for(var e=D.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function Vi(){for(var t;t=oo.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(ke),t.__H.__h.forEach(ln),t.__H.__h=[]}catch(e){t.__H.__h=[],I.__e(e,t.__v)}}I.__b=function(t){D=null,ar&&ar(t)},I.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),fr&&fr(t,e)},I.__r=function(t){sr&&sr(t),ut=0;var e=(D=t.__c).__H;e&&(He===D?(e.__h=[],D.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(e.__h.forEach(ke),e.__h.forEach(ln),e.__h=[],ut=0)),He=D},I.diffed=function(t){cr&&cr(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(oo.push(e)!==1&&ir===I.requestAnimationFrame||((ir=I.requestAnimationFrame)||Yi)(Vi)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),He=D=null},I.__c=function(t,e){e.some(function(n){try{n.__h.forEach(ke),n.__h=n.__h.filter(function(r){return!r.__||ln(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],I.__e(r,n.__v)}}),lr&&lr(t,e)},I.unmount=function(t){ur&&ur(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{ke(r)}catch(o){e=o}}),n.__H=void 0,e&&I.__e(e,n.__v))};var dr=typeof requestAnimationFrame=="function";function Yi(t){var e,n=function(){clearTimeout(r),dr&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);dr&&(e=requestAnimationFrame(n))}function ke(t){var e=D,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),D=e}function ln(t){var e=D;t.__c=t.__(),D=e}function Cn(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function io(t,e){return typeof e=="function"?e(t):e}function ao(t,e){for(var n in e)t[n]=e[n];return t}function un(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var r in e)if(r!=="__source"&&t[r]!==e[r])return!0;return!1}function Pe(t,e){this.props=t,this.context=e}function so(t,e){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),e?!e(this.props,o)||!a:un(this.props,o)}function r(o){return this.shouldComponentUpdate=n,x(t,o)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Pe.prototype=new tt).isPureReactComponent=!0,Pe.prototype.shouldComponentUpdate=function(t,e){return un(this.props,t)||un(this.state,e)};var pr=$.__b;$.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),pr&&pr(t)};var Xi=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function X(t){function e(n){var r=ao({},n);return delete r.ref,t(r,n.ref||null)}return e.$$typeof=Xi,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var hr=function(t,e){return t==null?null:ct(ct(t).map(e))},lt={map:hr,forEach:hr,count:function(t){return t?ct(t).length:0},only:function(t){var e=ct(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:ct},qi=$.__e;$.__e=function(t,e,n,r){if(t.then){for(var o,i=e;i=i.__;)if((o=i.__c)&&o.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),o.__c(t,e)}qi(t,e,n,r)};var vr=$.unmount;function co(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),t.__c.__H=null),(t=ao({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return co(r,e,n)})),t}function lo(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return lo(r,e,n)}),t.__c&&t.__c.__P===e&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}function Qt(){this.__u=0,this.t=null,this.__b=null}function uo(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function fo(t){var e,n,r;function o(i){if(e||(e=t()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw e;return x(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Dt(){this.u=null,this.o=null}$.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),vr&&vr(t)},(Qt.prototype=new tt).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=uo(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var l=r.state.__a;r.__v.__k[0]=lo(l,l.__c.__P,l.__c.__O)}var u;for(r.setState({__a:r.__b=null});u=r.t.pop();)u.forceUpdate()}};r.__u++||32&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),t.then(a,a)},Qt.prototype.componentWillUnmount=function(){this.t=[]},Qt.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=co(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__a&&x(z,null,t.fallback);return o&&(o.__u&=-33),[x(z,null,e.__a?null:t.children),o]};var _r=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function Ki(t){return this.getChildContext=function(){return t.context},t.children}function Zi(t){var e=this,n=t.i;e.componentWillUnmount=function(){It(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),e.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),e.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),e.i.removeChild(r)}}),It(x(Ki,{context:e.context},t.__v),e.l)}function po(t,e){var n=x(Zi,{__v:t,i:e});return n.containerInfo=e,n}(Dt.prototype=new tt).__a=function(t){var e=this,n=uo(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),_r(e,t,r)):o()};n?n(i):i()}},Dt.prototype.render=function(t){this.u=null,this.o=new Map;var e=ct(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},Dt.prototype.componentDidUpdate=Dt.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){_r(t,n,e)})};var ho=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Gi=/^(?: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]/,Qi=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ji=/[A-Z0-9]/g,ta=typeof document<"u",ea=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function vo(t,e,n){return e.__k==null&&(e.textContent=""),It(t,e),typeof n=="function"&&n(),t?t.__c:null}function _o(t,e,n){return $n(t,e),typeof n=="function"&&n(),t?t.__c:null}tt.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(tt.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var mr=$.event;function na(){}function ra(){return this.cancelBubble}function oa(){return this.defaultPrevented}$.event=function(t){return mr&&(t=mr(t)),t.persist=na,t.isPropagationStopped=ra,t.isDefaultPrevented=oa,t.nativeEvent=t};var An,ia={enumerable:!1,configurable:!0,get:function(){return this.class}},wr=$.vnode;$.vnode=function(t){typeof t.type=="string"&&function(e){var n=e.props,r=e.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||ta&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var s=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&a===!0?a="":s==="translate"&&a==="no"?a=!1:s==="ondoubleclick"?i="ondblclick":s!=="onchange"||r!=="input"&&r!=="textarea"||ea(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":Qi.test(i)?i=s:r.indexOf("-")===-1&&Gi.test(i)?i=i.replace(Ji,"-$&").toLowerCase():a===null&&(a=void 0):s=i="oninput",s==="oninput"&&o[i=s]&&(i="oninputCapture"),o[i]=a}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=ct(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=ct(n.children).forEach(function(l){l.props.selected=o.multiple?o.defaultValue.indexOf(l.props.value)!=-1:o.defaultValue==l.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",ia)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(t),t.$$typeof=ho,wr&&wr(t)};var gr=$.__r;$.__r=function(t){gr&&gr(t),An=t.__c};var yr=$.diffed;$.diffed=function(t){yr&&yr(t);var e=t.props,n=t.__e;n!=null&&t.type==="textarea"&&"value"in e&&e.value!==n.value&&(n.value=e.value==null?"":e.value),An=null};var mo={ReactCurrentDispatcher:{current:{readContext:function(t){return An.__n[t.__c].props.value},useCallback:Y,useContext:ce,useDebugValue:En,useDeferredValue:jn,useEffect:M,useId:Sn,useImperativeHandle:kn,useInsertionEffect:Tn,useLayoutEffect:bt,useMemo:Z,useReducer:se,useRef:R,useState:L,useSyncExternalStore:Rn,useTransition:On}}},aa="17.0.2";function wo(t){return x.bind(null,t)}function ft(t){return!!t&&t.$$typeof===ho}function go(t){return ft(t)&&t.type===z}function yo(t){return!!t&&!!t.displayName&&(typeof t.displayName=="string"||t.displayName instanceof String)&&t.displayName.startsWith("Memo(")}function zt(t){return ft(t)?Ti.apply(null,arguments):t}function bo(t){return!!t.__k&&(It(null,t),!0)}function xo(t){return t&&(t.base||t.nodeType===1&&t)||null}var $o=function(t,e){return t(e)},le=function(t,e){return t(e)},ko=z;function Pn(t){t()}function jn(t){return t}function On(){return[!1,Pn]}var Tn=bt,Eo=ft;function Rn(t,e){var n=e(),r=L({h:{__:n,v:e}}),o=r[0].h,i=r[1];return bt(function(){o.__=n,o.v=e,ze(o)&&i({h:o})},[t,n,e]),M(function(){return ze(o)&&i({h:o}),t(function(){ze(o)&&i({h:o})})},[t]),n}function ze(t){var e,n,r=t.v,o=t.__;try{var i=r();return!((e=o)===(n=i)&&(e!==0||1/e==1/n)||e!=e&&n!=n)}catch{return!0}}var So={useState:L,useId:Sn,useReducer:se,useEffect:M,useLayoutEffect:bt,useInsertionEffect:Tn,useTransition:On,useDeferredValue:jn,useSyncExternalStore:Rn,startTransition:Pn,useRef:R,useImperativeHandle:kn,useMemo:Z,useCallback:Y,useContext:ce,useDebugValue:En,version:"17.0.2",Children:lt,render:vo,hydrate:_o,unmountComponentAtNode:bo,createPortal:po,createElement:x,createContext:ee,createFactory:wo,cloneElement:zt,createRef:Gr,Fragment:z,isValidElement:ft,isElement:Eo,isFragment:go,isMemo:yo,findDOMNode:xo,Component:tt,PureComponent:Pe,memo:so,forwardRef:X,flushSync:le,unstable_batchedUpdates:$o,StrictMode:ko,Suspense:Qt,SuspenseList:Dt,lazy:fo,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:mo};const sa=Object.freeze(Object.defineProperty({__proto__:null,Children:lt,Component:tt,Fragment:z,PureComponent:Pe,StrictMode:ko,Suspense:Qt,SuspenseList:Dt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:mo,cloneElement:zt,createContext:ee,createElement:x,createFactory:wo,createPortal:po,createRef:Gr,default:So,findDOMNode:xo,flushSync:le,forwardRef:X,hydrate:_o,isElement:Eo,isFragment:go,isMemo:yo,isValidElement:ft,lazy:fo,memo:so,render:vo,startTransition:Pn,unmountComponentAtNode:bo,unstable_batchedUpdates:$o,useCallback:Y,useContext:ce,useDebugValue:En,useDeferredValue:jn,useEffect:M,useErrorBoundary:Bi,useId:Sn,useImperativeHandle:kn,useInsertionEffect:Tn,useLayoutEffect:bt,useMemo:Z,useReducer:se,useRef:R,useState:L,useSyncExternalStore:Rn,useTransition:On,version:aa},Symbol.toStringTag,{value:"Module"}));function Et(t,e,{checkForDefaultPrevented:n=!0}={}){return function(o){if(t==null||t(o),n===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function ca(t,e){typeof t=="function"?t(e):t!=null&&(t.current=e)}function Co(...t){return e=>t.forEach(n=>ca(n,e))}function Pt(...t){return Y(Co(...t),t)}function Ao(t,e=[]){let n=[];function r(i,a){const s=ee(a),l=n.length;n=[...n,a];function u(c){const{scope:h,children:f,...v}=c,p=(h==null?void 0:h[t][l])||s,_=Z(()=>v,Object.values(v));return x(p.Provider,{value:_},f)}function d(c,h){const f=(h==null?void 0:h[t][l])||s,v=ce(f);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,d]}const o=()=>{const i=n.map(a=>ee(a));return function(s){const l=(s==null?void 0:s[t])||i;return Z(()=>({[`__scope${t}`]:{...s,[t]:l}}),[s,l])}};return o.scopeName=t,[r,la(o,...e)]}function la(...t){const e=t[0];if(t.length===1)return e;const n=()=>{const r=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:l,scopeName:u})=>{const c=l(i)[`__scope${u}`];return{...s,...c}},{});return Z(()=>({[`__scope${e.scopeName}`]:a}),[a])}};return n.scopeName=e.scopeName,n}const Nn=X((t,e)=>{const{children:n,...r}=t,o=lt.toArray(n),i=o.find(fa);if(i){const a=i.props.children,s=o.map(l=>l===i?lt.count(a)>1?lt.only(null):ft(a)?a.props.children:null:l);return x(fn,q({},r,{ref:e}),ft(a)?zt(a,void 0,s):null)}return x(fn,q({},r,{ref:e}),n)});Nn.displayName="Slot";const fn=X((t,e)=>{const{children:n,...r}=t;return ft(n)?zt(n,{...da(r,n.props),ref:e?Co(e,n.ref):n.ref}):lt.count(n)>1?lt.only(null):null});fn.displayName="SlotClone";const ua=({children:t})=>x(z,null,t);function fa(t){return ft(t)&&t.type===ua}function da(t,e){const n={...e};for(const r in e){const o=t[r],i=e[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...t,...n}}const pa=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Bt=pa.reduce((t,e)=>{const n=X((r,o)=>{const{asChild:i,...a}=r,s=i?Nn:e;return M(()=>{window[Symbol.for("radix-ui")]=!0},[]),x(s,q({},a,{ref:o}))});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function ha(t,e){t&&le(()=>t.dispatchEvent(e))}function mt(t){const e=R(t);return M(()=>{e.current=t}),Z(()=>(...n)=>{var r;return(r=e.current)===null||r===void 0?void 0:r.call(e,...n)},[])}function va(t,e=globalThis==null?void 0:globalThis.document){const n=mt(t);M(()=>{const r=o=>{o.key==="Escape"&&n(o)};return e.addEventListener("keydown",r),()=>e.removeEventListener("keydown",r)},[n,e])}const dn="dismissableLayer.update",_a="dismissableLayer.pointerDownOutside",ma="dismissableLayer.focusOutside";let br;const wa=ee({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ga=X((t,e)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=t,d=ce(wa),[c,h]=L(null),f=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,v]=L({}),p=Pt(e,E=>h(E)),_=Array.from(d.layers),[m]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),w=_.indexOf(m),y=c?_.indexOf(c):-1,g=d.layersWithOutsidePointerEventsDisabled.size>0,b=y>=w,C=ya(E=>{const T=E.target,j=[...d.branches].some(F=>F.contains(T));!b||j||(i==null||i(E),s==null||s(E),E.defaultPrevented||l==null||l())},f),P=ba(E=>{const T=E.target;[...d.branches].some(F=>F.contains(T))||(a==null||a(E),s==null||s(E),E.defaultPrevented||l==null||l())},f);return va(E=>{y===d.layers.size-1&&(o==null||o(E),!E.defaultPrevented&&l&&(E.preventDefault(),l()))},f),M(()=>{if(c)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(br=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(c)),d.layers.add(c),xr(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=br)}},[c,f,r,d]),M(()=>()=>{c&&(d.layers.delete(c),d.layersWithOutsidePointerEventsDisabled.delete(c),xr())},[c,d]),M(()=>{const E=()=>v({});return document.addEventListener(dn,E),()=>document.removeEventListener(dn,E)},[]),x(Bt.div,q({},u,{ref:p,style:{pointerEvents:g?b?"auto":"none":void 0,...t.style},onFocusCapture:Et(t.onFocusCapture,P.onFocusCapture),onBlurCapture:Et(t.onBlurCapture,P.onBlurCapture),onPointerDownCapture:Et(t.onPointerDownCapture,C.onPointerDownCapture)}))});function ya(t,e=globalThis==null?void 0:globalThis.document){const n=mt(t),r=R(!1),o=R(()=>{});return M(()=>{const i=s=>{if(s.target&&!r.current){let l=function(){Po(_a,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(e.removeEventListener("click",o.current),o.current=l,e.addEventListener("click",o.current,{once:!0})):l()}else e.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{e.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),e.removeEventListener("pointerdown",i),e.removeEventListener("click",o.current)}},[e,n]),{onPointerDownCapture:()=>r.current=!0}}function ba(t,e=globalThis==null?void 0:globalThis.document){const n=mt(t),r=R(!1);return M(()=>{const o=i=>{i.target&&!r.current&&Po(ma,n,{originalEvent:i},{discrete:!1})};return e.addEventListener("focusin",o),()=>e.removeEventListener("focusin",o)},[e,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function xr(){const t=new CustomEvent(dn);document.dispatchEvent(t)}function Po(t,e,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&o.addEventListener(t,e,{once:!0}),r?ha(o,i):o.dispatchEvent(i)}let Be=0;function xa(){M(()=>{var t,e;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(t=n[0])!==null&&t!==void 0?t:$r()),document.body.insertAdjacentElement("beforeend",(e=n[1])!==null&&e!==void 0?e:$r()),Be++,()=>{Be===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Be--}},[])}function $r(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",t}const Ve="focusScope.autoFocusOnMount",Ye="focusScope.autoFocusOnUnmount",kr={bubbles:!1,cancelable:!0},$a=X((t,e)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=t,[s,l]=L(null),u=mt(o),d=mt(i),c=R(null),h=Pt(e,p=>l(p)),f=R({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;M(()=>{if(r){let p=function(y){if(f.paused||!s)return;const g=y.target;s.contains(g)?c.current=g:_t(c.current,{select:!0})},_=function(y){if(f.paused||!s)return;const g=y.relatedTarget;g!==null&&(s.contains(g)||_t(c.current,{select:!0}))},m=function(y){if(document.activeElement===document.body)for(const b of y)b.removedNodes.length>0&&_t(s)};document.addEventListener("focusin",p),document.addEventListener("focusout",_);const w=new MutationObserver(m);return s&&w.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",_),w.disconnect()}}},[r,s,f.paused]),M(()=>{if(s){Sr.add(f);const p=document.activeElement;if(!s.contains(p)){const m=new CustomEvent(Ve,kr);s.addEventListener(Ve,u),s.dispatchEvent(m),m.defaultPrevented||(ka(Pa(jo(s)),{select:!0}),document.activeElement===p&&_t(s))}return()=>{s.removeEventListener(Ve,u),setTimeout(()=>{const m=new CustomEvent(Ye,kr);s.addEventListener(Ye,d),s.dispatchEvent(m),m.defaultPrevented||_t(p??document.body,{select:!0}),s.removeEventListener(Ye,d),Sr.remove(f)},0)}}},[s,u,d,f]);const v=Y(p=>{if(!n&&!r||f.paused)return;const _=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,m=document.activeElement;if(_&&m){const w=p.currentTarget,[y,g]=Ea(w);y&&g?!p.shiftKey&&m===g?(p.preventDefault(),n&&_t(y,{select:!0})):p.shiftKey&&m===y&&(p.preventDefault(),n&&_t(g,{select:!0})):m===w&&p.preventDefault()}},[n,r,f.paused]);return x(Bt.div,q({tabIndex:-1},a,{ref:h,onKeyDown:v}))});function ka(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(_t(r,{select:e}),document.activeElement!==n)return}function Ea(t){const e=jo(t),n=Er(e,t),r=Er(e.reverse(),t);return[n,r]}function jo(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function Er(t,e){for(const n of t)if(!Sa(n,{upTo:e}))return n}function Sa(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function Ca(t){return t instanceof HTMLInputElement&&"select"in t}function _t(t,{select:e=!1}={}){if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&Ca(t)&&e&&t.select()}}const Sr=Aa();function Aa(){let t=[];return{add(e){const n=t[0];e!==n&&(n==null||n.pause()),t=Cr(t,e),t.unshift(e)},remove(e){var n;t=Cr(t,e),(n=t[0])===null||n===void 0||n.resume()}}}function Cr(t,e){const n=[...t],r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}function Pa(t){return t.filter(e=>e.tagName!=="A")}const Wt=globalThis!=null&&globalThis.document?bt:()=>{},ja=sa["useId".toString()]||(()=>{});let Oa=0;function Ta(t){const[e,n]=L(ja());return Wt(()=>{t||n(r=>r??String(Oa++))},[t]),t||(e?`radix-${e}`:"")}const Ra=["top","right","bottom","left"],it=Math.min,Q=Math.max,je=Math.round,me=Math.floor,wt=t=>({x:t,y:t}),Na={left:"right",right:"left",bottom:"top",top:"bottom"},Da={start:"end",end:"start"};function pn(t,e,n){return Q(t,it(e,n))}function dt(t,e){return typeof t=="function"?t(e):t}function pt(t){return t.split("-")[0]}function Vt(t){return t.split("-")[1]}function Dn(t){return t==="x"?"y":"x"}function Ln(t){return t==="y"?"height":"width"}function gt(t){return["top","bottom"].includes(pt(t))?"y":"x"}function Fn(t){return Dn(gt(t))}function La(t,e,n){n===void 0&&(n=!1);const r=Vt(t),o=Fn(t),i=Ln(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=Oe(a)),[a,Oe(a)]}function Fa(t){const e=Oe(t);return[hn(t),e,hn(e)]}function hn(t){return t.replace(/start|end/g,e=>Da[e])}function Ma(t,e,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return n?e?o:r:e?r:o;case"left":case"right":return e?i:a;default:return[]}}function Ia(t,e,n,r){const o=Vt(t);let i=Ma(pt(t),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),e&&(i=i.concat(i.map(hn)))),i}function Oe(t){return t.replace(/left|right|bottom|top/g,e=>Na[e])}function Ua(t){return{top:0,right:0,bottom:0,left:0,...t}}function Oo(t){return typeof t!="number"?Ua(t):{top:t,right:t,bottom:t,left:t}}function Te(t){const{x:e,y:n,width:r,height:o}=t;return{width:r,height:o,top:n,left:e,right:e+r,bottom:n+o,x:e,y:n}}function Ar(t,e,n){let{reference:r,floating:o}=t;const i=gt(e),a=Fn(e),s=Ln(a),l=pt(e),u=i==="y",d=r.x+r.width/2-o.width/2,c=r.y+r.height/2-o.height/2,h=r[s]/2-o[s]/2;let f;switch(l){case"top":f={x:d,y:r.y-o.height};break;case"bottom":f={x:d,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:c};break;case"left":f={x:r.x-o.width,y:c};break;default:f={x:r.x,y:r.y}}switch(Vt(e)){case"start":f[a]-=h*(n&&u?-1:1);break;case"end":f[a]+=h*(n&&u?-1:1);break}return f}const Wa=async(t,e,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(e));let u=await a.getElementRects({reference:t,floating:e,strategy:o}),{x:d,y:c}=Ar(u,r,l),h=r,f={},v=0;for(let p=0;p<s.length;p++){const{name:_,fn:m}=s[p],{x:w,y,data:g,reset:b}=await m({x:d,y:c,initialPlacement:r,placement:h,strategy:o,middlewareData:f,rects:u,platform:a,elements:{reference:t,floating:e}});d=w??d,c=y??c,f={...f,[_]:{...f[_],...g}},b&&v<=50&&(v++,typeof b=="object"&&(b.placement&&(h=b.placement),b.rects&&(u=b.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:o}):b.rects),{x:d,y:c}=Ar(u,h,l)),p=-1)}return{x:d,y:c,placement:h,strategy:o,middlewareData:f}};async function re(t,e){var n;e===void 0&&(e={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:c="floating",altBoundary:h=!1,padding:f=0}=dt(e,t),v=Oo(f),_=s[h?c==="floating"?"reference":"floating":c],m=Te(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(_)))==null||n?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:d,strategy:l})),w=c==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),g=await(i.isElement==null?void 0:i.isElement(y))?await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1}:{x:1,y:1},b=Te(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:y,strategy:l}):w);return{top:(m.top-b.top+v.top)/g.y,bottom:(b.bottom-m.bottom+v.bottom)/g.y,left:(m.left-b.left+v.left)/g.x,right:(b.right-m.right+v.right)/g.x}}const Ha=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=e,{element:u,padding:d=0}=dt(t,e)||{};if(u==null)return{};const c=Oo(d),h={x:n,y:r},f=Fn(o),v=Ln(f),p=await a.getDimensions(u),_=f==="y",m=_?"top":"left",w=_?"bottom":"right",y=_?"clientHeight":"clientWidth",g=i.reference[v]+i.reference[f]-h[f]-i.floating[v],b=h[f]-i.reference[f],C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let P=C?C[y]:0;(!P||!await(a.isElement==null?void 0:a.isElement(C)))&&(P=s.floating[y]||i.floating[v]);const E=g/2-b/2,T=P/2-p[v]/2-1,j=it(c[m],T),F=it(c[w],T),B=j,H=P-p[v]-F,O=P/2-p[v]/2+E,N=pn(B,O,H),A=!l.arrow&&Vt(o)!=null&&O!==N&&i.reference[v]/2-(O<B?j:F)-p[v]/2<0,S=A?O<B?O-B:O-H:0;return{[f]:h[f]+S,data:{[f]:N,centerOffset:O-N-S,...A&&{alignmentOffset:S}},reset:A}}}),za=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=e,{mainAxis:d=!0,crossAxis:c=!0,fallbackPlacements:h,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:p=!0,..._}=dt(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const m=pt(o),w=gt(s),y=pt(s)===s,g=await(l.isRTL==null?void 0:l.isRTL(u.floating)),b=h||(y||!p?[Oe(s)]:Fa(s)),C=v!=="none";!h&&C&&b.push(...Ia(s,p,v,g));const P=[s,...b],E=await re(e,_),T=[];let j=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&T.push(E[m]),c){const O=La(o,a,g);T.push(E[O[0]],E[O[1]])}if(j=[...j,{placement:o,overflows:T}],!T.every(O=>O<=0)){var F,B;const O=(((F=i.flip)==null?void 0:F.index)||0)+1,N=P[O];if(N)return{data:{index:O,overflows:j},reset:{placement:N}};let A=(B=j.filter(S=>S.overflows[0]<=0).sort((S,V)=>S.overflows[1]-V.overflows[1])[0])==null?void 0:B.placement;if(!A)switch(f){case"bestFit":{var H;const S=(H=j.filter(V=>{if(C){const U=gt(V.placement);return U===w||U==="y"}return!0}).map(V=>[V.placement,V.overflows.filter(U=>U>0).reduce((U,G)=>U+G,0)]).sort((V,U)=>V[1]-U[1])[0])==null?void 0:H[0];S&&(A=S);break}case"initialPlacement":A=s;break}if(o!==A)return{reset:{placement:A}}}return{}}}};function Pr(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function jr(t){return Ra.some(e=>t[e]>=0)}const Ba=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:r="referenceHidden",...o}=dt(t,e);switch(r){case"referenceHidden":{const i=await re(e,{...o,elementContext:"reference"}),a=Pr(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:jr(a)}}}case"escaped":{const i=await re(e,{...o,altBoundary:!0}),a=Pr(i,n.floating);return{data:{escapedOffsets:a,escaped:jr(a)}}}default:return{}}}}};async function Va(t,e){const{placement:n,platform:r,elements:o}=t,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=pt(n),s=Vt(n),l=gt(n)==="y",u=["left","top"].includes(a)?-1:1,d=i&&l?-1:1,c=dt(e,t);let{mainAxis:h,crossAxis:f,alignmentAxis:v}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof v=="number"&&(f=s==="end"?v*-1:v),l?{x:f*d,y:h*u}:{x:h*u,y:f*d}}const Ya=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=e,l=await Va(e,t);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},Xa=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:o}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:_=>{let{x:m,y:w}=_;return{x:m,y:w}}},...l}=dt(t,e),u={x:n,y:r},d=await re(e,l),c=gt(pt(o)),h=Dn(c);let f=u[h],v=u[c];if(i){const _=h==="y"?"top":"left",m=h==="y"?"bottom":"right",w=f+d[_],y=f-d[m];f=pn(w,f,y)}if(a){const _=c==="y"?"top":"left",m=c==="y"?"bottom":"right",w=v+d[_],y=v-d[m];v=pn(w,v,y)}const p=s.fn({...e,[h]:f,[c]:v});return{...p,data:{x:p.x-n,y:p.y-r}}}}},qa=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=e,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=dt(t,e),d={x:n,y:r},c=gt(o),h=Dn(c);let f=d[h],v=d[c];const p=dt(s,e),_=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(l){const y=h==="y"?"height":"width",g=i.reference[h]-i.floating[y]+_.mainAxis,b=i.reference[h]+i.reference[y]-_.mainAxis;f<g?f=g:f>b&&(f=b)}if(u){var m,w;const y=h==="y"?"width":"height",g=["top","left"].includes(pt(o)),b=i.reference[c]-i.floating[y]+(g&&((m=a.offset)==null?void 0:m[c])||0)+(g?0:_.crossAxis),C=i.reference[c]+i.reference[y]+(g?0:((w=a.offset)==null?void 0:w[c])||0)-(g?_.crossAxis:0);v<b?v=b:v>C&&(v=C)}return{[h]:f,[c]:v}}}},Ka=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:r,platform:o,elements:i}=e,{apply:a=()=>{},...s}=dt(t,e),l=await re(e,s),u=pt(n),d=Vt(n),c=gt(n)==="y",{width:h,height:f}=r.floating;let v,p;u==="top"||u==="bottom"?(v=u,p=d===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(p=u,v=d==="end"?"top":"bottom");const _=f-l.top-l.bottom,m=h-l.left-l.right,w=it(f-l[v],_),y=it(h-l[p],m),g=!e.middlewareData.shift;let b=w,C=y;if(c?C=d||g?it(y,m):m:b=d||g?it(w,_):_,g&&!d){const E=Q(l.left,0),T=Q(l.right,0),j=Q(l.top,0),F=Q(l.bottom,0);c?C=h-2*(E!==0||T!==0?E+T:Q(l.left,l.right)):b=f-2*(j!==0||F!==0?j+F:Q(l.top,l.bottom))}await a({...e,availableWidth:C,availableHeight:b});const P=await o.getDimensions(i.floating);return h!==P.width||f!==P.height?{reset:{rects:!0}}:{}}}};function Yt(t){return To(t)?(t.nodeName||"").toLowerCase():"#document"}function J(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ht(t){var e;return(e=(To(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function To(t){return t instanceof Node||t instanceof J(t).Node}function et(t){return t instanceof Element||t instanceof J(t).Element}function at(t){return t instanceof HTMLElement||t instanceof J(t).HTMLElement}function Or(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof J(t).ShadowRoot}function ue(t){const{overflow:e,overflowX:n,overflowY:r,display:o}=nt(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(o)}function Za(t){return["table","td","th"].includes(Yt(t))}function Me(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Mn(t){const e=In(),n=et(t)?nt(t):t;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Ga(t){let e=yt(t);for(;at(e)&&!Ht(e);){if(Mn(e))return e;if(Me(e))return null;e=yt(e)}return null}function In(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ht(t){return["html","body","#document"].includes(Yt(t))}function nt(t){return J(t).getComputedStyle(t)}function Ie(t){return et(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function yt(t){if(Yt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Or(t)&&t.host||ht(t);return Or(e)?e.host:e}function Ro(t){const e=yt(t);return Ht(e)?t.ownerDocument?t.ownerDocument.body:t.body:at(e)&&ue(e)?e:Ro(e)}function oe(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const o=Ro(t),i=o===((r=t.ownerDocument)==null?void 0:r.body),a=J(o);if(i){const s=vn(a);return e.concat(a,a.visualViewport||[],ue(o)?o:[],s&&n?oe(s):[])}return e.concat(o,oe(o,[],n))}function vn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function No(t){const e=nt(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const o=at(t),i=o?t.offsetWidth:n,a=o?t.offsetHeight:r,s=je(n)!==i||je(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Un(t){return et(t)?t:t.contextElement}function Lt(t){const e=Un(t);if(!at(e))return wt(1);const n=e.getBoundingClientRect(),{width:r,height:o,$:i}=No(e);let a=(i?je(n.width):n.width)/r,s=(i?je(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const Qa=wt(0);function Do(t){const e=J(t);return!In()||!e.visualViewport?Qa:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ja(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==J(t)?!1:e}function Ct(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=Un(t);let a=wt(1);e&&(r?et(r)&&(a=Lt(r)):a=Lt(t));const s=Ja(i,n,r)?Do(i):wt(0);let l=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,d=o.width/a.x,c=o.height/a.y;if(i){const h=J(i),f=r&&et(r)?J(r):r;let v=h,p=vn(v);for(;p&&r&&f!==v;){const _=Lt(p),m=p.getBoundingClientRect(),w=nt(p),y=m.left+(p.clientLeft+parseFloat(w.paddingLeft))*_.x,g=m.top+(p.clientTop+parseFloat(w.paddingTop))*_.y;l*=_.x,u*=_.y,d*=_.x,c*=_.y,l+=y,u+=g,v=J(p),p=vn(v)}}return Te({width:d,height:c,x:l,y:u})}function ts(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t;const i=o==="fixed",a=ht(r),s=e?Me(e.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=wt(1);const d=wt(0),c=at(r);if((c||!c&&!i)&&((Yt(r)!=="body"||ue(a))&&(l=Ie(r)),at(r))){const h=Ct(r);u=Lt(r),d.x=h.x+r.clientLeft,d.y=h.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x,y:n.y*u.y-l.scrollTop*u.y+d.y}}function es(t){return Array.from(t.getClientRects())}function Lo(t){return Ct(ht(t)).left+Ie(t).scrollLeft}function ns(t){const e=ht(t),n=Ie(t),r=t.ownerDocument.body,o=Q(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=Q(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Lo(t);const s=-n.scrollTop;return nt(r).direction==="rtl"&&(a+=Q(e.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function rs(t,e){const n=J(t),r=ht(t),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=In();(!u||u&&e==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function os(t,e){const n=Ct(t,!0,e==="fixed"),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=at(t)?Lt(t):wt(1),a=t.clientWidth*i.x,s=t.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:a,height:s,x:l,y:u}}function Tr(t,e,n){let r;if(e==="viewport")r=rs(t,n);else if(e==="document")r=ns(ht(t));else if(et(e))r=os(e,n);else{const o=Do(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return Te(r)}function Fo(t,e){const n=yt(t);return n===e||!et(n)||Ht(n)?!1:nt(n).position==="fixed"||Fo(n,e)}function is(t,e){const n=e.get(t);if(n)return n;let r=oe(t,[],!1).filter(s=>et(s)&&Yt(s)!=="body"),o=null;const i=nt(t).position==="fixed";let a=i?yt(t):t;for(;et(a)&&!Ht(a);){const s=nt(a),l=Mn(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||ue(a)&&!l&&Fo(t,a))?r=r.filter(d=>d!==a):o=s,a=yt(a)}return e.set(t,r),r}function as(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const a=[...n==="clippingAncestors"?Me(e)?[]:is(e,this._c):[].concat(n),r],s=a[0],l=a.reduce((u,d)=>{const c=Tr(e,d,o);return u.top=Q(c.top,u.top),u.right=it(c.right,u.right),u.bottom=it(c.bottom,u.bottom),u.left=Q(c.left,u.left),u},Tr(e,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function ss(t){const{width:e,height:n}=No(t);return{width:e,height:n}}function cs(t,e,n){const r=at(e),o=ht(e),i=n==="fixed",a=Ct(t,!0,i,e);let s={scrollLeft:0,scrollTop:0};const l=wt(0);if(r||!r&&!i)if((Yt(e)!=="body"||ue(o))&&(s=Ie(e)),r){const c=Ct(e,!0,i,e);l.x=c.x+e.clientLeft,l.y=c.y+e.clientTop}else o&&(l.x=Lo(o));const u=a.left+s.scrollLeft-l.x,d=a.top+s.scrollTop-l.y;return{x:u,y:d,width:a.width,height:a.height}}function Xe(t){return nt(t).position==="static"}function Rr(t,e){return!at(t)||nt(t).position==="fixed"?null:e?e(t):t.offsetParent}function Mo(t,e){const n=J(t);if(Me(t))return n;if(!at(t)){let o=yt(t);for(;o&&!Ht(o);){if(et(o)&&!Xe(o))return o;o=yt(o)}return n}let r=Rr(t,e);for(;r&&Za(r)&&Xe(r);)r=Rr(r,e);return r&&Ht(r)&&Xe(r)&&!Mn(r)?n:r||Ga(t)||n}const ls=async function(t){const e=this.getOffsetParent||Mo,n=this.getDimensions,r=await n(t.floating);return{reference:cs(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function us(t){return nt(t).direction==="rtl"}const fs={convertOffsetParentRelativeRectToViewportRelativeRect:ts,getDocumentElement:ht,getClippingRect:as,getOffsetParent:Mo,getElementRects:ls,getClientRects:es,getDimensions:ss,getScale:Lt,isElement:et,isRTL:us};function ds(t,e){let n=null,r;const o=ht(t);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),i();const{left:u,top:d,width:c,height:h}=t.getBoundingClientRect();if(s||e(),!c||!h)return;const f=me(d),v=me(o.clientWidth-(u+c)),p=me(o.clientHeight-(d+h)),_=me(u),w={rootMargin:-f+"px "+-v+"px "+-p+"px "+-_+"px",threshold:Q(0,it(1,l))||1};let y=!0;function g(b){const C=b[0].intersectionRatio;if(C!==l){if(!y)return a();C?a(!1,C):r=setTimeout(()=>{a(!1,1e-7)},1e3)}y=!1}try{n=new IntersectionObserver(g,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(g,w)}n.observe(t)}return a(!0),i}function ps(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Un(t),d=o||i?[...u?oe(u):[],...oe(e)]:[];d.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),i&&m.addEventListener("resize",n)});const c=u&&s?ds(u,n):null;let h=-1,f=null;a&&(f=new ResizeObserver(m=>{let[w]=m;w&&w.target===u&&f&&(f.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var y;(y=f)==null||y.observe(e)})),n()}),u&&!l&&f.observe(u),f.observe(e));let v,p=l?Ct(t):null;l&&_();function _(){const m=Ct(t);p&&(m.x!==p.x||m.y!==p.y||m.width!==p.width||m.height!==p.height)&&n(),p=m,v=requestAnimationFrame(_)}return n(),()=>{var m;d.forEach(w=>{o&&w.removeEventListener("scroll",n),i&&w.removeEventListener("resize",n)}),c==null||c(),(m=f)==null||m.disconnect(),f=null,l&&cancelAnimationFrame(v)}}const hs=Ya,vs=Xa,_s=za,ms=Ka,ws=Ba,Nr=Ha,gs=qa,ys=(t,e,n)=>{const r=new Map,o={platform:fs,...n},i={...o.platform,_c:r};return Wa(t,e,{...o,platform:i})};var Ee=typeof document<"u"?bt:M;function Re(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,r,o;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!Re(t[r],e[r]))return!1;return!0}if(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(e,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&t.$$typeof)&&!Re(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function Io(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Dr(t,e){const n=Io(t);return Math.round(e*n)/n}function Lr(t){const e=R(t);return Ee(()=>{e.current=t}),e}function bs(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=t,[d,c]=L({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[h,f]=L(r);Re(h,r)||f(r);const[v,p]=L(null),[_,m]=L(null),w=Y(S=>{S!==C.current&&(C.current=S,p(S))},[]),y=Y(S=>{S!==P.current&&(P.current=S,m(S))},[]),g=i||v,b=a||_,C=R(null),P=R(null),E=R(d),T=l!=null,j=Lr(l),F=Lr(o),B=Y(()=>{if(!C.current||!P.current)return;const S={placement:e,strategy:n,middleware:h};F.current&&(S.platform=F.current),ys(C.current,P.current,S).then(V=>{const U={...V,isPositioned:!0};H.current&&!Re(E.current,U)&&(E.current=U,le(()=>{c(U)}))})},[h,e,n,F]);Ee(()=>{u===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,c(S=>({...S,isPositioned:!1})))},[u]);const H=R(!1);Ee(()=>(H.current=!0,()=>{H.current=!1}),[]),Ee(()=>{if(g&&(C.current=g),b&&(P.current=b),g&&b){if(j.current)return j.current(g,b,B);B()}},[g,b,B,j,T]);const O=Z(()=>({reference:C,floating:P,setReference:w,setFloating:y}),[w,y]),N=Z(()=>({reference:g,floating:b}),[g,b]),A=Z(()=>{const S={position:n,left:0,top:0};if(!N.floating)return S;const V=Dr(N.floating,d.x),U=Dr(N.floating,d.y);return s?{...S,transform:"translate("+V+"px, "+U+"px)",...Io(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:V,top:U}},[n,s,N.floating,d.x,d.y]);return Z(()=>({...d,update:B,refs:O,elements:N,floatingStyles:A}),[d,B,O,N,A])}const xs=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:r,padding:o}=typeof t=="function"?t(n):t;return r&&e(r)?r.current!=null?Nr({element:r.current,padding:o}).fn(n):{}:r?Nr({element:r,padding:o}).fn(n):{}}}},$s=(t,e)=>({...hs(t),options:[t,e]}),ks=(t,e)=>({...vs(t),options:[t,e]}),Es=(t,e)=>({...gs(t),options:[t,e]}),Ss=(t,e)=>({..._s(t),options:[t,e]}),Cs=(t,e)=>({...ms(t),options:[t,e]}),As=(t,e)=>({...ws(t),options:[t,e]}),Ps=(t,e)=>({...xs(t),options:[t,e]});function js(t){const[e,n]=L(void 0);return Wt(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=t.offsetWidth,s=t.offsetHeight;n({width:a,height:s})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}const Uo="Popper",[Wo,Ho]=Ao(Uo),[Os,zo]=Wo(Uo),Ts=t=>{const{__scopePopper:e,children:n}=t,[r,o]=L(null);return x(Os,{scope:e,anchor:r,onAnchorChange:o},n)},Rs="PopperAnchor",Ns=X((t,e)=>{const{__scopePopper:n,virtualRef:r,...o}=t,i=zo(Rs,n),a=R(null),s=Pt(e,a);return M(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:x(Bt.div,q({},o,{ref:s}))}),Bo="PopperContent",[Ds,_l]=Wo(Bo),Ls=X((t,e)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:d,side:c="bottom",sideOffset:h=0,align:f="center",alignOffset:v=0,arrowPadding:p=0,avoidCollisions:_=!0,collisionBoundary:m=[],collisionPadding:w=0,sticky:y="partial",hideWhenDetached:g=!1,updatePositionStrategy:b="optimized",onPlaced:C,...P}=t,E=zo(Bo,d),[T,j]=L(null),F=Pt(e,Kt=>j(Kt)),[B,H]=L(null),O=js(B),N=(n=O==null?void 0:O.width)!==null&&n!==void 0?n:0,A=(r=O==null?void 0:O.height)!==null&&r!==void 0?r:0,S=c+(f!=="center"?"-"+f:""),V=typeof w=="number"?w:{top:0,right:0,bottom:0,left:0,...w},U=Array.isArray(m)?m:[m],G=U.length>0,vt={padding:V,boundary:U.filter(Fs),altBoundary:G},{refs:jt,floatingStyles:Yn,placement:vi,isPositioned:de,middlewareData:Ot}=bs({strategy:"fixed",placement:S,whileElementsMounted:(...Kt)=>ps(...Kt,{animationFrame:b==="always"}),elements:{reference:E.anchor},middleware:[$s({mainAxis:h+A,alignmentAxis:v}),_&&ks({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?Es():void 0,...vt}),_&&Ss({...vt}),Cs({...vt,apply:({elements:Kt,rects:qn,availableWidth:xi,availableHeight:$i})=>{const{width:ki,height:Ei}=qn.reference,he=Kt.floating.style;he.setProperty("--radix-popper-available-width",`${xi}px`),he.setProperty("--radix-popper-available-height",`${$i}px`),he.setProperty("--radix-popper-anchor-width",`${ki}px`),he.setProperty("--radix-popper-anchor-height",`${Ei}px`)}}),B&&Ps({element:B,padding:p}),Ms({arrowWidth:N,arrowHeight:A}),g&&As({strategy:"referenceHidden",...vt})]}),[Xn,_i]=Vo(vi),pe=mt(C);Wt(()=>{de&&(pe==null||pe())},[de,pe]);const mi=(o=Ot.arrow)===null||o===void 0?void 0:o.x,wi=(i=Ot.arrow)===null||i===void 0?void 0:i.y,gi=((a=Ot.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[yi,bi]=L();return Wt(()=>{T&&bi(window.getComputedStyle(T).zIndex)},[T]),x("div",{ref:jt.setFloating,"data-radix-popper-content-wrapper":"",style:{...Yn,transform:de?Yn.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:yi,"--radix-popper-transform-origin":[(s=Ot.transformOrigin)===null||s===void 0?void 0:s.x,(l=Ot.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:t.dir},x(Ds,{scope:d,placedSide:Xn,onArrowChange:H,arrowX:mi,arrowY:wi,shouldHideArrow:gi},x(Bt.div,q({"data-side":Xn,"data-align":_i},P,{ref:F,style:{...P.style,animation:de?void 0:"none",opacity:(u=Ot.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function Fs(t){return t!==null}const Ms=t=>({name:"transformOrigin",options:t,fn(e){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:u}=e,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,h=c?0:t.arrowWidth,f=c?0:t.arrowHeight,[v,p]=Vo(s),_={start:"0%",center:"50%",end:"100%"}[p],m=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+h/2,w=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+f/2;let y="",g="";return v==="bottom"?(y=c?_:`${m}px`,g=`${-f}px`):v==="top"?(y=c?_:`${m}px`,g=`${l.floating.height+f}px`):v==="right"?(y=`${-f}px`,g=c?_:`${w}px`):v==="left"&&(y=`${l.floating.width+f}px`,g=c?_:`${w}px`),{data:{x:y,y:g}}}});function Vo(t){const[e,n="center"]=t.split("-");return[e,n]}const Is=Ts,Us=Ns,Ws=Ls,Hs=X((t,e)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=t;return r?So.createPortal(x(Bt.div,q({},o,{ref:e})),r):null});function zs(t,e){return se((n,r)=>{const o=e[n][r];return o??n},t)}const Wn=t=>{const{present:e,children:n}=t,r=Bs(e),o=typeof n=="function"?n({present:r.isPresent}):lt.only(n),i=Pt(r.ref,o.ref);return typeof n=="function"||r.isPresent?zt(o,{ref:i}):null};Wn.displayName="Presence";function Bs(t){const[e,n]=L(),r=R({}),o=R(t),i=R("none"),a=t?"mounted":"unmounted",[s,l]=zs(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return M(()=>{const u=we(r.current);i.current=s==="mounted"?u:"none"},[s]),Wt(()=>{const u=r.current,d=o.current;if(d!==t){const h=i.current,f=we(u);t?l("MOUNT"):f==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&h!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,l]),Wt(()=>{if(e){const u=c=>{const f=we(r.current).includes(c.animationName);c.target===e&&f&&le(()=>l("ANIMATION_END"))},d=c=>{c.target===e&&(i.current=we(r.current))};return e.addEventListener("animationstart",d),e.addEventListener("animationcancel",u),e.addEventListener("animationend",u),()=>{e.removeEventListener("animationstart",d),e.removeEventListener("animationcancel",u),e.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[e,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:Y(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function we(t){return(t==null?void 0:t.animationName)||"none"}function Vs({prop:t,defaultProp:e,onChange:n=()=>{}}){const[r,o]=Ys({defaultProp:e,onChange:n}),i=t!==void 0,a=i?t:r,s=mt(n),l=Y(u=>{if(i){const c=typeof u=="function"?u(t):u;c!==t&&s(c)}else o(u)},[i,t,o,s]);return[a,l]}function Ys({defaultProp:t,onChange:e}){const n=L(t),[r]=n,o=R(r),i=mt(e);return M(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var Xs=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},Tt=new WeakMap,ge=new WeakMap,ye={},qe=0,Yo=function(t){return t&&(t.host||Yo(t.parentNode))},qs=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=Yo(n);return r&&t.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},Ks=function(t,e,n,r){var o=qs(e,Array.isArray(t)?t:[t]);ye[n]||(ye[n]=new WeakMap);var i=ye[n],a=[],s=new Set,l=new Set(o),u=function(c){!c||s.has(c)||(s.add(c),u(c.parentNode))};o.forEach(u);var d=function(c){!c||l.has(c)||Array.prototype.forEach.call(c.children,function(h){if(s.has(h))d(h);else{var f=h.getAttribute(r),v=f!==null&&f!=="false",p=(Tt.get(h)||0)+1,_=(i.get(h)||0)+1;Tt.set(h,p),i.set(h,_),a.push(h),p===1&&v&&ge.set(h,!0),_===1&&h.setAttribute(n,"true"),v||h.setAttribute(r,"true")}})};return d(e),s.clear(),qe++,function(){a.forEach(function(c){var h=Tt.get(c)-1,f=i.get(c)-1;Tt.set(c,h),i.set(c,f),h||(ge.has(c)||c.removeAttribute(r),ge.delete(c)),f||c.removeAttribute(n)}),qe--,qe||(Tt=new WeakMap,Tt=new WeakMap,ge=new WeakMap,ye={})}},Zs=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),o=e||Xs(t);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),Ks(r,o,n,"aria-hidden")):function(){return null}},ot=function(){return ot=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ot.apply(this,arguments)};function Xo(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function Gs(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,i;r<o;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}var Se="right-scroll-bar-position",Ce="width-before-scroll-bar",Qs="with-scroll-bars-hidden",Js="--removed-body-scroll-bar-size";function tc(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function ec(t,e){var n=L(function(){return{value:t,callback:e,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=e,n.facade}function nc(t,e){return ec(e||null,function(n){return t.forEach(function(r){return tc(r,n)})})}function rc(t){return t}function oc(t,e){e===void 0&&(e=rc);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:t},useMedium:function(i){var a=e(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var d=a;a=[],d.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(d){a.push(d),u()},filter:function(d){return a=a.filter(d),n}}}};return o}function ic(t){t===void 0&&(t={});var e=oc(null);return e.options=ot({async:!0,ssr:!1},t),e}var qo=function(t){var e=t.sideCar,n=Xo(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=e.read();if(!r)throw new Error("Sidecar medium not found");return x(r,ot({},n))};qo.isSideCarExport=!0;function ac(t,e){return t.useMedium(e),qo}var Ko=ic(),Ke=function(){},Ue=X(function(t,e){var n=R(null),r=L({onScrollCapture:Ke,onWheelCapture:Ke,onTouchMoveCapture:Ke}),o=r[0],i=r[1],a=t.forwardProps,s=t.children,l=t.className,u=t.removeScrollBar,d=t.enabled,c=t.shards,h=t.sideCar,f=t.noIsolation,v=t.inert,p=t.allowPinchZoom,_=t.as,m=_===void 0?"div":_,w=Xo(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),y=h,g=nc([n,e]),b=ot(ot({},w),o);return x(z,null,d&&x(y,{sideCar:Ko,removeScrollBar:u,shards:c,noIsolation:f,inert:v,setCallbacks:i,allowPinchZoom:!!p,lockRef:n}),a?zt(lt.only(s),ot(ot({},b),{ref:g})):x(m,ot({},b,{className:l,ref:g}),s))});Ue.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Ue.classNames={fullWidth:Ce,zeroRight:Se};var sc=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function cc(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=sc();return e&&t.setAttribute("nonce",e),t}function lc(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function uc(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var fc=function(){var t=0,e=null;return{add:function(n){t==0&&(e=cc())&&(lc(e,n),uc(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},dc=function(){var t=fc();return function(e,n){M(function(){return t.add(e),function(){t.remove()}},[e&&n])}},Zo=function(){var t=dc(),e=function(n){var r=n.styles,o=n.dynamic;return t(r,o),null};return e},pc={left:0,top:0,right:0,gap:0},Ze=function(t){return parseInt(t||"",10)||0},hc=function(t){var e=window.getComputedStyle(document.body),n=e[t==="padding"?"paddingLeft":"marginLeft"],r=e[t==="padding"?"paddingTop":"marginTop"],o=e[t==="padding"?"paddingRight":"marginRight"];return[Ze(n),Ze(r),Ze(o)]},vc=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return pc;var e=hc(t),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-n+e[2]-e[0])}},_c=Zo(),mc=function(t,e,n,r){var o=t.left,i=t.top,a=t.right,s=t.gap;return n===void 0&&(n="margin"),`
2
- .`.concat(Qs,` {
3
- overflow: hidden `).concat(r,`;
4
- padding-right: `).concat(s,"px ").concat(r,`;
5
- }
6
- body {
7
- overflow: hidden `).concat(r,`;
8
- overscroll-behavior: contain;
9
- `).concat([e&&"position: relative ".concat(r,";"),n==="margin"&&`
10
- padding-left: `.concat(o,`px;
11
- padding-top: `).concat(i,`px;
12
- padding-right: `).concat(a,`px;
13
- margin-left:0;
14
- margin-top:0;
15
- margin-right: `).concat(s,"px ").concat(r,`;
16
- `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
17
- }
18
-
19
- .`).concat(Se,` {
20
- right: `).concat(s,"px ").concat(r,`;
21
- }
22
-
23
- .`).concat(Ce,` {
24
- margin-right: `).concat(s,"px ").concat(r,`;
25
- }
26
-
27
- .`).concat(Se," .").concat(Se,` {
28
- right: 0 `).concat(r,`;
29
- }
30
-
31
- .`).concat(Ce," .").concat(Ce,` {
32
- margin-right: 0 `).concat(r,`;
33
- }
34
-
35
- body {
36
- `).concat(Js,": ").concat(s,`px;
37
- }
38
- `)},wc=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,o=r===void 0?"margin":r,i=Z(function(){return vc(o)},[o]);return x(_c,{styles:mc(i,!e,o,n?"":"!important")})},_n=!1;if(typeof window<"u")try{var be=Object.defineProperty({},"passive",{get:function(){return _n=!0,!0}});window.addEventListener("test",be,be),window.removeEventListener("test",be,be)}catch{_n=!1}var Rt=_n?{passive:!1}:!1,gc=function(t){return t.tagName==="TEXTAREA"},Go=function(t,e){var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!gc(t)&&n[e]==="visible")},yc=function(t){return Go(t,"overflowY")},bc=function(t){return Go(t,"overflowX")},Fr=function(t,e){var n=e;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Qo(t,n);if(r){var o=Jo(t,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},xc=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},$c=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},Qo=function(t,e){return t==="v"?yc(e):bc(e)},Jo=function(t,e){return t==="v"?xc(e):$c(e)},kc=function(t,e){return t==="h"&&e==="rtl"?-1:1},Ec=function(t,e,n,r,o){var i=kc(t,window.getComputedStyle(e).direction),a=i*r,s=n.target,l=e.contains(s),u=!1,d=a>0,c=0,h=0;do{var f=Jo(t,s),v=f[0],p=f[1],_=f[2],m=p-_-i*v;(v||m)&&Qo(t,s)&&(c+=m,h+=v),s=s.parentNode}while(!l&&s!==document.body||l&&(e.contains(s)||e===s));return(d&&(o&&c===0||!o&&a>c)||!d&&(o&&h===0||!o&&-a>h))&&(u=!0),u},xe=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},Mr=function(t){return[t.deltaX,t.deltaY]},Ir=function(t){return t&&"current"in t?t.current:t},Sc=function(t,e){return t[0]===e[0]&&t[1]===e[1]},Cc=function(t){return`
39
- .block-interactivity-`.concat(t,` {pointer-events: none;}
40
- .allow-interactivity-`).concat(t,` {pointer-events: all;}
41
- `)},Ac=0,Nt=[];function Pc(t){var e=R([]),n=R([0,0]),r=R(),o=L(Ac++)[0],i=L(function(){return Zo()})[0],a=R(t);M(function(){a.current=t},[t]),M(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(o));var p=Gs([t.lockRef.current],(t.shards||[]).map(Ir),!0).filter(Boolean);return p.forEach(function(_){return _.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),p.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(o))})}}},[t.inert,t.lockRef.current,t.shards]);var s=Y(function(p,_){if("touches"in p&&p.touches.length===2)return!a.current.allowPinchZoom;var m=xe(p),w=n.current,y="deltaX"in p?p.deltaX:w[0]-m[0],g="deltaY"in p?p.deltaY:w[1]-m[1],b,C=p.target,P=Math.abs(y)>Math.abs(g)?"h":"v";if("touches"in p&&P==="h"&&C.type==="range")return!1;var E=Fr(P,C);if(!E)return!0;if(E?b=P:(b=P==="v"?"h":"v",E=Fr(P,C)),!E)return!1;if(!r.current&&"changedTouches"in p&&(y||g)&&(r.current=b),!b)return!0;var T=r.current||b;return Ec(T,_,p,T==="h"?y:g,!0)},[]),l=Y(function(p){var _=p;if(!(!Nt.length||Nt[Nt.length-1]!==i)){var m="deltaY"in _?Mr(_):xe(_),w=e.current.filter(function(b){return b.name===_.type&&b.target===_.target&&Sc(b.delta,m)})[0];if(w&&w.should){_.cancelable&&_.preventDefault();return}if(!w){var y=(a.current.shards||[]).map(Ir).filter(Boolean).filter(function(b){return b.contains(_.target)}),g=y.length>0?s(_,y[0]):!a.current.noIsolation;g&&_.cancelable&&_.preventDefault()}}},[]),u=Y(function(p,_,m,w){var y={name:p,delta:_,target:m,should:w};e.current.push(y),setTimeout(function(){e.current=e.current.filter(function(g){return g!==y})},1)},[]),d=Y(function(p){n.current=xe(p),r.current=void 0},[]),c=Y(function(p){u(p.type,Mr(p),p.target,s(p,t.lockRef.current))},[]),h=Y(function(p){u(p.type,xe(p),p.target,s(p,t.lockRef.current))},[]);M(function(){return Nt.push(i),t.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:h}),document.addEventListener("wheel",l,Rt),document.addEventListener("touchmove",l,Rt),document.addEventListener("touchstart",d,Rt),function(){Nt=Nt.filter(function(p){return p!==i}),document.removeEventListener("wheel",l,Rt),document.removeEventListener("touchmove",l,Rt),document.removeEventListener("touchstart",d,Rt)}},[]);var f=t.removeScrollBar,v=t.inert;return x(z,null,v?x(i,{styles:Cc(o)}):null,f?x(wc,{gapMode:"margin"}):null)}const jc=ac(Ko,Pc);var ti=X(function(t,e){return x(Ue,ot({},t,{ref:e,sideCar:jc}))});ti.classNames=Ue.classNames;const Oc=ti,ei="Popover",[ni,ml]=Ao(ei,[Ho]),Hn=Ho(),[Tc,Xt]=ni(ei),Rc=t=>{const{__scopePopover:e,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=t,s=Hn(e),l=R(null),[u,d]=L(!1),[c=!1,h]=Vs({prop:r,defaultProp:o,onChange:i});return x(Is,s,x(Tc,{scope:e,contentId:Ta(),triggerRef:l,open:c,onOpenChange:h,onOpenToggle:Y(()=>h(f=>!f),[h]),hasCustomAnchor:u,onCustomAnchorAdd:Y(()=>d(!0),[]),onCustomAnchorRemove:Y(()=>d(!1),[]),modal:a},n))},Nc="PopoverTrigger",Dc=X((t,e)=>{const{__scopePopover:n,...r}=t,o=Xt(Nc,n),i=Hn(n),a=Pt(e,o.triggerRef),s=x(Bt.button,q({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":ii(o.open)},r,{ref:a,onClick:Et(t.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:x(Us,q({asChild:!0},i),s)}),ri="PopoverPortal",[Lc,Fc]=ni(ri,{forceMount:void 0}),Mc=t=>{const{__scopePopover:e,forceMount:n,children:r,container:o}=t,i=Xt(ri,e);return x(Lc,{scope:e,forceMount:n},x(Wn,{present:n||i.open},x(Hs,{asChild:!0,container:o},r)))},ie="PopoverContent",Ic=X((t,e)=>{const n=Fc(ie,t.__scopePopover),{forceMount:r=n.forceMount,...o}=t,i=Xt(ie,t.__scopePopover);return x(Wn,{present:r||i.open},i.modal?x(Uc,q({},o,{ref:e})):x(Wc,q({},o,{ref:e})))}),Uc=X((t,e)=>{const n=Xt(ie,t.__scopePopover),r=R(null),o=Pt(e,r),i=R(!1);return M(()=>{const a=r.current;if(a)return Zs(a)},[]),x(Oc,{as:Nn,allowPinchZoom:!0},x(oi,q({},t,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Et(t.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Et(t.onPointerDownOutside,a=>{const s=a.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,u=s.button===2||l;i.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:Et(t.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),Wc=X((t,e)=>{const n=Xt(ie,t.__scopePopover),r=R(!1),o=R(!1);return x(oi,q({},t,{ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=t.onCloseAutoFocus)===null||a===void 0||a.call(t,i),!i.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),i.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:i=>{var a,s;(a=t.onInteractOutside)===null||a===void 0||a.call(t,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=i.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(l))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),oi=X((t,e)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:d,...c}=t,h=Xt(ie,n),f=Hn(n);return xa(),x($a,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},x(ga,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:d,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>h.onOpenChange(!1)},x(Ws,q({"data-state":ii(h.open),role:"dialog",id:h.contentId},f,c,{ref:e,style:{...c.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function ii(t){return t?"open":"closed"}const Hc=Rc,zc=Dc,Bc=Mc,Vc=Ic;function ai(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(n=ai(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function mn(){for(var t,e,n=0,r="",o=arguments.length;n<o;n++)(t=arguments[n])&&(e=ai(t))&&(r&&(r+=" "),r+=e);return r}function We(){throw new Error("Cycle detected")}var Yc=Symbol.for("preact-signals");function zn(){if(Ft>1)Ft--;else{for(var t,e=!1;Jt!==void 0;){var n=Jt;for(Jt=void 0,wn++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&ci(n))try{n.c()}catch(o){e||(t=o,e=!0)}n=r}}if(wn=0,Ft--,e)throw t}}var W=void 0,Jt=void 0,Ft=0,wn=0,Ne=0;function si(t){if(W!==void 0){var e=t.n;if(e===void 0||e.t!==W)return e={i:0,S:t,p:W.s,n:void 0,t:W,e:void 0,x:void 0,r:e},W.s!==void 0&&(W.s.n=e),W.s=e,t.n=e,32&W.f&&t.S(e),e;if(e.i===-1)return e.i=0,e.n!==void 0&&(e.n.p=e.p,e.p!==void 0&&(e.p.n=e.n),e.p=W.s,e.n=void 0,W.s.n=e,W.s=e),e}}function K(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}K.prototype.brand=Yc;K.prototype.h=function(){return!0};K.prototype.S=function(t){this.t!==t&&t.e===void 0&&(t.x=this.t,this.t!==void 0&&(this.t.e=t),this.t=t)};K.prototype.U=function(t){if(this.t!==void 0){var e=t.e,n=t.x;e!==void 0&&(e.x=n,t.e=void 0),n!==void 0&&(n.e=e,t.x=void 0),t===this.t&&(this.t=n)}};K.prototype.subscribe=function(t){var e=this;return Vn(function(){var n=e.value,r=32&this.f;this.f&=-33;try{t(n)}finally{this.f|=r}})};K.prototype.valueOf=function(){return this.value};K.prototype.toString=function(){return this.value+""};K.prototype.toJSON=function(){return this.value};K.prototype.peek=function(){return this.v};Object.defineProperty(K.prototype,"value",{get:function(){var t=si(this);return t!==void 0&&(t.i=this.i),this.v},set:function(t){if(W instanceof xt&&function(){throw new Error("Computed cannot have side-effects")}(),t!==this.v){wn>100&&We(),this.v=t,this.i++,Ne++,Ft++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N()}finally{zn()}}}});function De(t){return new K(t)}function ci(t){for(var e=t.s;e!==void 0;e=e.n)if(e.S.i!==e.i||!e.S.h()||e.S.i!==e.i)return!0;return!1}function li(t){for(var e=t.s;e!==void 0;e=e.n){var n=e.S.n;if(n!==void 0&&(e.r=n),e.S.n=e,e.i=-1,e.n===void 0){t.s=e;break}}}function ui(t){for(var e=t.s,n=void 0;e!==void 0;){var r=e.p;e.i===-1?(e.S.U(e),r!==void 0&&(r.n=e.n),e.n!==void 0&&(e.n.p=r)):n=e,e.S.n=e.r,e.r!==void 0&&(e.r=void 0),e=r}t.s=n}function xt(t){K.call(this,void 0),this.x=t,this.s=void 0,this.g=Ne-1,this.f=4}(xt.prototype=new K).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Ne))return!0;if(this.g=Ne,this.f|=1,this.i>0&&!ci(this))return this.f&=-2,!0;var t=W;try{li(this),W=this;var e=this.x();(16&this.f||this.v!==e||this.i===0)&&(this.v=e,this.f&=-17,this.i++)}catch(n){this.v=n,this.f|=16,this.i++}return W=t,ui(this),this.f&=-2,!0};xt.prototype.S=function(t){if(this.t===void 0){this.f|=36;for(var e=this.s;e!==void 0;e=e.n)e.S.S(e)}K.prototype.S.call(this,t)};xt.prototype.U=function(t){if(this.t!==void 0&&(K.prototype.U.call(this,t),this.t===void 0)){this.f&=-33;for(var e=this.s;e!==void 0;e=e.n)e.S.U(e)}};xt.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;t!==void 0;t=t.x)t.t.N()}};xt.prototype.peek=function(){if(this.h()||We(),16&this.f)throw this.v;return this.v};Object.defineProperty(xt.prototype,"value",{get:function(){1&this.f&&We();var t=si(this);if(this.h(),t!==void 0&&(t.i=this.i),16&this.f)throw this.v;return this.v}});function Xc(t){return new xt(t)}function fi(t){var e=t.u;if(t.u=void 0,typeof e=="function"){Ft++;var n=W;W=void 0;try{e()}catch(r){throw t.f&=-2,t.f|=8,Bn(t),r}finally{W=n,zn()}}}function Bn(t){for(var e=t.s;e!==void 0;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,fi(t)}function qc(t){if(W!==this)throw new Error("Out-of-order effect");ui(this),W=t,this.f&=-2,8&this.f&&Bn(this),zn()}function fe(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}fe.prototype.c=function(){var t=this.S();try{if(8&this.f||this.x===void 0)return;var e=this.x();typeof e=="function"&&(this.u=e)}finally{t()}};fe.prototype.S=function(){1&this.f&&We(),this.f|=1,this.f&=-9,fi(this),li(this),Ft++;var t=W;return W=this,qc.bind(this,t)};fe.prototype.N=function(){2&this.f||(this.f|=2,this.o=Jt,Jt=this)};fe.prototype.d=function(){this.f|=8,1&this.f||Bn(this)};function Vn(t){var e=new fe(t);try{e.c()}catch(n){throw e.d(),n}return e.d.bind(e)}var Ge;function qt(t,e){$[t]=e.bind(null,$[t]||function(){})}function Le(t){Ge&&Ge(),Ge=t&&t.S()}function di(t){var e=this,n=t.data,r=Zc(n);r.value=n;var o=Z(function(){for(var i=e.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return e.__$u.c=function(){var a;!Yr(o.peek())&&((a=e.base)==null?void 0:a.nodeType)===3?e.base.data=o.peek():(e.__$f|=1,e.setState({}))},Xc(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}di.displayName="_st";Object.defineProperties(K.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:di},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});qt("__b",function(t,e){if(typeof e.type=="string"){var n,r=e.props;for(var o in r)if(o!=="children"){var i=r[o];i instanceof K&&(n||(e.__np=n={}),n[o]=i,r[o]=i.peek())}}t(e)});qt("__r",function(t,e){Le();var n,r=e.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return Vn(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),Le(n),t(e)});qt("__e",function(t,e,n,r){Le(),t(e,n,r)});qt("diffed",function(t,e){Le();var n;if(typeof e.type=="string"&&(n=e.__e)){var r=e.__np,o=e.props;if(r){var i=n.U;if(i)for(var a in i){var s=i[a];s!==void 0&&!(a in r)&&(s.d(),i[a]=void 0)}else n.U=i={};for(var l in r){var u=i[l],d=r[l];u===void 0?(u=Kc(n,l,d,o),i[l]=u):u.o(d,o)}}}t(e)});function Kc(t,e,n,r){var o=e in t&&t.ownerSVGElement===void 0,i=De(n);return{o:function(a,s){i.value=a,r=s},d:Vn(function(){var a=i.value.value;r[e]!==a&&(r[e]=a,o?t[e]=a:a?t.setAttribute(e,a):t.removeAttribute(e))})}}qt("unmount",function(t,e){if(typeof e.type=="string"){var n=e.__e;if(n){var r=n.U;if(r){n.U=void 0;for(var o in r){var i=r[o];i&&i.d()}}}}else{var a=e.__c;if(a){var s=a.__$u;s&&(a.__$u=void 0,s.d())}}t(e)});qt("__h",function(t,e,n,r){(r<3||r===9)&&(e.__$f|=2),t(e,n,r)});tt.prototype.shouldComponentUpdate=function(t,e){var n=this.__$u;if(!(n&&n.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var r in e)return!0;for(var o in t)if(o!=="__source"&&t[o]!==this.props[o])return!0;for(var i in this.props)if(!(i in t))return!0;return!1};function Zc(t){return Z(function(){return De(t)},[])}const Mt={config$:De({headerText:"",label:""}),filters$:De({})},Ur="inploi-job-alerts",Gc="ija";var Qc=["1","2","3","4","5","6","7","8","9","10","11","12"],Jc={light:{1:[98.8,.015],2:[97.8,.018],3:[95.8,.025],4:[92,.04],5:[89,.05],6:[85,.07],7:[80.5,.08],8:[74,.11],9:[60,.22],10:[56,.23],11:[50,.19],12:[25,.18]},dark:{1:[19,.015],2:[21,.018],3:[25.5,.055],4:[29.3,.084],5:[33.5,.098],6:[39.05,.107],7:[45,.11],8:[55,.13],9:[60,.22],10:[67,.18],11:[79.3,.12],12:[95,.04]}},tl=(t,e=1,n)=>r=>{const[o,i]=Jc[n][r];return"oklch("+o+"% "+i*e+" "+t+")"},Wr=t=>{const e=tl(t.hue,t.chroma,t.mode);return Object.fromEntries(Qc.map(n=>[t.prefix+n,t.transform(e(n))]))},Hr=t=>t,el=t=>{const e=Object.keys(t).flatMap(n=>{const r=t[n];return typeof r=="object"&&r!==null?Object.keys(r).map(o=>{const i=r[o];return[`${String(n)}.${o}`,i]}):[[n,r]]});return Object.fromEntries(e)},$e=t=>!!t&&typeof t=="object"&&!Array.isArray(t),gn=(t,...e)=>{if(!e.length)return t;const n=e.shift();if($e(t)&&$e(n))for(const r in n){const o=n[r];if($e(o)){t[r]||Object.assign(t,{[r]:{}});const i=t[r];$e(i)&&gn(i,o)}else Object.assign(t,{[r]:n[r]})}return gn(t,...e)},nl=t=>{function e(n,r){const o=[t.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return e},rl=()=>({core:t=>({semantic:e=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=h=>i("reference",h.toString()),s=t({theme:o}),l=e({theme:o,core:a,raw:{core:s}}),u=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:l}}),d=el(gn(s,l,u)),c=([h,f],v)=>{const p=[v,h].filter(Boolean).join(".");return typeof f=="object"?Object.entries(f).flatMap(_=>c(_,p)):[[r.getToken("declaration",p),f]]};return{values:d,declarations:Object.fromEntries(Object.entries(d).flatMap(h=>c(h))),ref:h=>i("reference",h.toString())}}})})})});const[Qe,Je,ol]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],il=rl().core(({theme:t})=>({color:{transparent:ol,black:Qe,white:Je,lowest:t.mode==="light"?Je:Qe,highest:t.mode==="light"?Qe:Je,...Wr({prefix:"a-",hue:t.accent.hue,chroma:t.accent.chroma,mode:t.mode,transform:Hr}),...Wr({prefix:"n-",hue:t.accent.hue,chroma:.05,mode:t.mode,transform:Hr})},radius:{base:t.corners==="rounded"?".25rem":t.corners==="soft"?".125rem":"0",multiplier:t.corners==="rounded"?"0.5rem":t.corners==="soft"?"0.175rem":"0"},duration:{snappy:".4s",medium:".6s",slow:".9s"}})).semantic(({core:t})=>({radius:{sm:`calc(${t("radius.base")} + (0 * ${t("radius.multiplier")}))`,md:`calc(${t("radius.base")} + (1 * ${t("radius.multiplier")}))`,lg:`calc(${t("radius.base")} + (2 * ${t("radius.multiplier")}))`,xl:`calc(${t("radius.base")} + (3 * ${t("radius.multiplier")}))`}})).component(()=>({})),al=nl({prefix:"i-"}),sl=t=>{const e=il.from({theme:t,getToken:al}),n=Object.entries(e.declarations).map(([r,o])=>`${r}: ${o};`);return`#${Gc} {
42
- ${n.concat(n).join(`
43
- `)}
44
- }`},zr=t=>{const e=[];return e.push(t.corners),e.push(t.highlights),e.push(t.mode),e},cl=({error:t})=>t?k("div",{role:"alert",class:"flex max-w-full items-start gap-1.5 px-2 py-2 text-[#E5484D]",children:[k("svg",{class:"mt-0.5 h-4 w-4 flex-none",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[k("circle",{cx:"8",cy:"8",r:"6.3",stroke:"currentColor","stroke-width":"1.4"}),k("rect",{x:"7",y:"4",width:"2",height:"5",fill:"currentColor"}),k("rect",{x:"7",y:"10",width:"2",height:"2",fill:"currentColor"})]}),k("p",{class:"pr-1 text-sm",children:t})]}):null,tn="rounded-field-input bg-neutral-1 text-accent-11 autofill:shadow-[inset_0_0_0_1000px_var(--i-color-a-2)] autofill:focus:shadow-[inset_0_0_0_1000px_var(--i-color-a-1)] autofill:[-webkit-text-fill-color:var(--i-color-a-11)] px-3 py-2 ring ring-[1px] transition-all ease-expo-out duration-snappy ring-neutral-4 fr inline-flex w-full items-center justify-center px-2.5 text-base shadow-[0_0_0_1px] outline-none focus:shadow-[0_0_0_2px]",ll=t=>typeof t=="string"?t:typeof t=="object"&&t!==null&&"message"in t&&typeof t.message=="string"?t.message:"Failed to create alert. Please try again later.",ul=X(({class:t,...e},n)=>k("button",{ref:n,class:mn("fr theme-stroke:ring-[1px] theme-stroke:ring-accent-4 theme-stroke:hover:ring-accent-9 theme-fill:bg-accent-2 theme-fill:hover:bg-accent-3 theme-fill:active:bg-accent-4 duration-snappy ease-expo-out text-accent-11 flex w-full items-center justify-center gap-2 overflow-hidden rounded-lg px-4 py-1.5 pl-2 text-sm font-medium transition-all active:scale-[.97]",t),onTouchStart:pi,...e,children:[k(ro,{class:"flex-none",name:"bell"})," ",k("span",{class:"min-w-0 truncate text-center",children:Mt.config$.value.label})]})),fl=()=>k("p",{class:"text-neutral-11 px-2 pb-4 pt-1 text-sm",children:Mt.config$.value.headerText});function pi(){}const dl=({theme:t,apiClient:e,logger:n})=>{const[r,o]=L("idle"),[i,a]=L(),s=async l=>{var u,d,c;if(l.preventDefault(),r!=="idle")return;const h=new FormData(l.currentTarget),f=(u=h.get("name"))==null?void 0:u.toString(),[v,...p]=(f==null?void 0:f.split(" "))??[],_=p.join(" ");o("loading"),await Promise.all([new Promise(m=>setTimeout(m,1e3)),e.fetch("/search/save",{method:"POST",body:JSON.stringify({contact:{email:(d=h.get("email"))==null?void 0:d.toString(),first_name:v,last_name:_},alerts:(c=h.get("frequency"))==null?void 0:c.toString(),filters:Mt.filters$.peek()})})]).then(async()=>{o("success"),await new Promise(m=>setTimeout(m,1e3)),o("idle")}).catch(m=>{n.error(m),a(ll(m)),o("idle")})};return k("div",{id:"ija",children:k("div",{class:zr(t).join(" "),children:k(Hc,{children:[k(zc,{asChild:!0,children:k(ul,{})}),k(Bc,{children:k("div",{id:"ija",children:k("div",{class:mn("absolute isolate z-50",zr(t).join(" ")),children:k(Vc,{collisionPadding:16,class:"data-[state=open]:data-[side=top]:animate-slideDownAndFade data-[state=open]:data-[side=right]:animate-slideLeftAndFade data-[state=open]:data-[side=bottom]:animate-slideUpAndFade data-[state=open]:data-[side=left]:animate-slideRightAndFade bg-lowest ring-neutral-5 shadow-surface-lg isolate w-64 max-w-[var(--radix-popover-content-available-width)] rounded-lg p-2 ring-1 will-change-[transform,opacity]",sideOffset:5,children:[k(fl,{}),k("form",{onSubmit:s,class:"flex flex-col gap-2.5",children:[k("div",{children:[k("fieldset",{class:"fieldset relative focus-within:z-10",children:[k("label",{class:"sr-only",htmlFor:"ija-email",children:"Email"}),k("input",{name:"email",autocomplete:"email",class:tn,disabled:r==="loading",id:"ija-email",placeholder:"Email",type:"email",required:!0})]}),k("fieldset",{class:"fieldset relative focus-within:z-10",children:[k("label",{class:"sr-only",htmlFor:"ija-name",children:"Name"}),k("input",{disabled:r==="loading",name:"name",required:!0,autocomplete:"name",class:tn,id:"ija-name",placeholder:"Full Name"})]}),k("fieldset",{class:"fieldset relative focus-within:z-10",children:[k("label",{class:"sr-only",htmlFor:"ija-frequency",children:"Frequency"}),k("select",{disabled:r==="loading",class:mn(tn,"appearance-none pr-8"),id:"ija-frequency",defaultValue:"WEEKLY",name:"frequency",children:[k("option",{value:"INSTANTLY",children:"Instantly"}),k("option",{value:"DAILY",children:"Daily"}),k("option",{value:"WEEKLY",children:"Weekly"}),k("option",{value:"MONTHLY",children:"Monthly"})]}),k("div",{class:"text-neutral-10 absolute bottom-0 right-0 top-0 flex items-center p-1","aria-hidden":!0,children:k(ro,{name:"chevron-up-down"})})]})]}),k("button",{onTouchStart:pi,class:"bg-accent-9 active:bg-accent-10 theme-dark:active:bg-accent-8 fr ease-expo-out duration-snappy text-accent-1 theme-dark:text-highest grid items-center overflow-hidden rounded-lg px-5 py-2 pl-2.5 text-center transition-all hover:scale-[1.02] active:scale-[.97]",children:[k("span",{"data-state":r,class:"ease-expo-out duration-medium col-span-full row-span-full text-base opacity-0 transition-all data-[state=loading]:-translate-y-full data-[state=success]:translate-y-full data-[state=idle]:opacity-100",children:"Create Alert"}),k("div",{"data-state":r,class:"ease-expo-out duration-medium col-span-full row-span-full flex translate-y-0 justify-center text-base transition-all data-[state=idle]:translate-y-full data-[state=idle]:opacity-0",children:k("svg",{width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[k("circle",{class:"loading-circle duration-snappy ease-expo-out transition-all",cx:"12",cy:"12",r:"9"}),k("path",{class:"done-checkmark",d:"M9 12L11 14L15 10"})]})})]}),k(cl,{error:i})]})]})})})})]})})})},pl=`#ija {
45
- font-size: 16px;
46
- --tw-content: '';
47
- }
48
-
49
- #ija * {
50
- box-sizing: border-box;
51
- border-style: solid;
52
- border-width: 0;
53
- -webkit-tap-highlight-color: transparent;
54
- font-family: inherit;
55
- font-style: inherit;
56
- font-weight: inherit;
57
- }
58
-
59
- #ija ::before,
60
- #ija ::after {
61
- box-sizing: border-box;
62
- }
63
-
64
- #ija :is(a) {
65
- text-decoration: none;
66
- }
67
-
68
- #ija :is(ul, ol) {
69
- list-style: none;
70
- padding: 0;
71
- margin: 0;
72
- }
73
-
74
- #ija :is(p) {
75
- margin: 0;
76
- padding: 0;
77
- }
78
-
79
- #ija :is(li) {
80
- margin: 0;
81
- padding: 0;
82
- list-style: none;
83
- }
84
-
85
- #ija :is(fieldset) {
86
- margin: 0;
87
- padding: 0;
88
- }
89
-
90
- #ija :is(button),
91
- #ija :is(a) {
92
- display: block;
93
- margin: 0;
94
- padding: 0;
95
- border: unset;
96
- background: unset;
97
- text-align: unset;
98
- }
99
-
100
- #ija :is(input),
101
- #ija :is(textarea) {
102
- display: block;
103
- margin: 0;
104
- padding: 0;
105
- min-width: 0;
106
- max-width: unset;
107
- width: 100%;
108
- }
109
-
110
- #ija :is(svg) {
111
- display: block;
112
- }
113
-
114
- @media (prefers-reduced-motion) {
115
- #ija * {
116
- animation-duration: 0.01ms !important;
117
- animation-iteration-count: 1 !important;
118
- transition-duration: 0.01ms !important;
119
- scroll-behavior: auto !important;
120
- animation-delay: 0s !important;
121
- }
122
- }
123
-
124
- #ija *, #ija ::before, #ija ::after {
125
- --tw-border-spacing-x: 0;
126
- --tw-border-spacing-y: 0;
127
- --tw-translate-x: 0;
128
- --tw-translate-y: 0;
129
- --tw-rotate: 0;
130
- --tw-skew-x: 0;
131
- --tw-skew-y: 0;
132
- --tw-scale-x: 1;
133
- --tw-scale-y: 1;
134
- --tw-pan-x: ;
135
- --tw-pan-y: ;
136
- --tw-pinch-zoom: ;
137
- --tw-scroll-snap-strictness: proximity;
138
- --tw-gradient-from-position: ;
139
- --tw-gradient-via-position: ;
140
- --tw-gradient-to-position: ;
141
- --tw-ordinal: ;
142
- --tw-slashed-zero: ;
143
- --tw-numeric-figure: ;
144
- --tw-numeric-spacing: ;
145
- --tw-numeric-fraction: ;
146
- --tw-ring-inset: ;
147
- --tw-ring-offset-width: 0px;
148
- --tw-ring-offset-color: #fff;
149
- --tw-ring-color: rgb(59 130 246 / 0.5);
150
- --tw-ring-offset-shadow: 0 0 #0000;
151
- --tw-ring-shadow: 0 0 #0000;
152
- --tw-shadow: 0 0 #0000;
153
- --tw-shadow-colored: 0 0 #0000;
154
- --tw-blur: ;
155
- --tw-brightness: ;
156
- --tw-contrast: ;
157
- --tw-grayscale: ;
158
- --tw-hue-rotate: ;
159
- --tw-invert: ;
160
- --tw-saturate: ;
161
- --tw-sepia: ;
162
- --tw-drop-shadow: ;
163
- --tw-backdrop-blur: ;
164
- --tw-backdrop-brightness: ;
165
- --tw-backdrop-contrast: ;
166
- --tw-backdrop-grayscale: ;
167
- --tw-backdrop-hue-rotate: ;
168
- --tw-backdrop-invert: ;
169
- --tw-backdrop-opacity: ;
170
- --tw-backdrop-saturate: ;
171
- --tw-backdrop-sepia: ;
172
- --tw-contain-size: ;
173
- --tw-contain-layout: ;
174
- --tw-contain-paint: ;
175
- --tw-contain-style: ;
176
- }
177
-
178
- #ija ::backdrop {
179
- --tw-border-spacing-x: 0;
180
- --tw-border-spacing-y: 0;
181
- --tw-translate-x: 0;
182
- --tw-translate-y: 0;
183
- --tw-rotate: 0;
184
- --tw-skew-x: 0;
185
- --tw-skew-y: 0;
186
- --tw-scale-x: 1;
187
- --tw-scale-y: 1;
188
- --tw-pan-x: ;
189
- --tw-pan-y: ;
190
- --tw-pinch-zoom: ;
191
- --tw-scroll-snap-strictness: proximity;
192
- --tw-gradient-from-position: ;
193
- --tw-gradient-via-position: ;
194
- --tw-gradient-to-position: ;
195
- --tw-ordinal: ;
196
- --tw-slashed-zero: ;
197
- --tw-numeric-figure: ;
198
- --tw-numeric-spacing: ;
199
- --tw-numeric-fraction: ;
200
- --tw-ring-inset: ;
201
- --tw-ring-offset-width: 0px;
202
- --tw-ring-offset-color: #fff;
203
- --tw-ring-color: rgb(59 130 246 / 0.5);
204
- --tw-ring-offset-shadow: 0 0 #0000;
205
- --tw-ring-shadow: 0 0 #0000;
206
- --tw-shadow: 0 0 #0000;
207
- --tw-shadow-colored: 0 0 #0000;
208
- --tw-blur: ;
209
- --tw-brightness: ;
210
- --tw-contrast: ;
211
- --tw-grayscale: ;
212
- --tw-hue-rotate: ;
213
- --tw-invert: ;
214
- --tw-saturate: ;
215
- --tw-sepia: ;
216
- --tw-drop-shadow: ;
217
- --tw-backdrop-blur: ;
218
- --tw-backdrop-brightness: ;
219
- --tw-backdrop-contrast: ;
220
- --tw-backdrop-grayscale: ;
221
- --tw-backdrop-hue-rotate: ;
222
- --tw-backdrop-invert: ;
223
- --tw-backdrop-opacity: ;
224
- --tw-backdrop-saturate: ;
225
- --tw-backdrop-sepia: ;
226
- --tw-contain-size: ;
227
- --tw-contain-layout: ;
228
- --tw-contain-paint: ;
229
- --tw-contain-style: ;
230
- }
231
-
232
- #ija .container {
233
- width: 100%;
234
- }
235
-
236
- @media (min-width: 640px) {
237
-
238
- #ija .container {
239
- max-width: 640px;
240
- }
241
- }
242
-
243
- @media (min-width: 768px) {
244
-
245
- #ija .container {
246
- max-width: 768px;
247
- }
248
- }
249
-
250
- @media (min-width: 1024px) {
251
-
252
- #ija .container {
253
- max-width: 1024px;
254
- }
255
- }
256
-
257
- @media (min-width: 1280px) {
258
-
259
- #ija .container {
260
- max-width: 1280px;
261
- }
262
- }
263
-
264
- @media (min-width: 1536px) {
265
-
266
- #ija .container {
267
- max-width: 1536px;
268
- }
269
- }
270
-
271
- #ija .sr-only {
272
- position: absolute;
273
- width: 1px;
274
- height: 1px;
275
- padding: 0;
276
- margin: -1px;
277
- overflow: hidden;
278
- clip: rect(0, 0, 0, 0);
279
- white-space: nowrap;
280
- border-width: 0;
281
- }
282
-
283
- #ija .visible {
284
- visibility: visible;
285
- }
286
-
287
- #ija .invisible {
288
- visibility: hidden;
289
- }
290
-
291
- #ija .collapse {
292
- visibility: collapse;
293
- }
294
-
295
- #ija .static {
296
- position: static;
297
- }
298
-
299
- #ija .fixed {
300
- position: fixed;
301
- }
302
-
303
- #ija .absolute {
304
- position: absolute;
305
- }
306
-
307
- #ija .relative {
308
- position: relative;
309
- }
310
-
311
- #ija .sticky {
312
- position: sticky;
313
- }
314
-
315
- #ija .bottom-0 {
316
- bottom: 0px;
317
- }
318
-
319
- #ija .right-0 {
320
- right: 0px;
321
- }
322
-
323
- #ija .top-0 {
324
- top: 0px;
325
- }
326
-
327
- #ija .isolate {
328
- isolation: isolate;
329
- }
330
-
331
- #ija .z-50 {
332
- z-index: 50;
333
- }
334
-
335
- #ija .col-span-full {
336
- grid-column: 1 / -1;
337
- }
338
-
339
- #ija .row-span-full {
340
- grid-row: 1 / -1;
341
- }
342
-
343
- #ija .mt-0\\.5 {
344
- margin-top: 0.125rem;
345
- }
346
-
347
- #ija .block {
348
- display: block;
349
- }
350
-
351
- #ija .inline-block {
352
- display: inline-block;
353
- }
354
-
355
- #ija .inline {
356
- display: inline;
357
- }
358
-
359
- #ija .flex {
360
- display: flex;
361
- }
362
-
363
- #ija .inline-flex {
364
- display: inline-flex;
365
- }
366
-
367
- #ija .table {
368
- display: table;
369
- }
370
-
371
- #ija .table-row {
372
- display: table-row;
373
- }
374
-
375
- #ija .flow-root {
376
- display: flow-root;
377
- }
378
-
379
- #ija .grid {
380
- display: grid;
381
- }
382
-
383
- #ija .inline-grid {
384
- display: inline-grid;
385
- }
386
-
387
- #ija .contents {
388
- display: contents;
389
- }
390
-
391
- #ija .list-item {
392
- display: list-item;
393
- }
394
-
395
- #ija .\\!hidden {
396
- display: none !important;
397
- }
398
-
399
- #ija .hidden {
400
- display: none;
401
- }
402
-
403
- #ija .h-4 {
404
- height: 1rem;
405
- }
406
-
407
- #ija .w-4 {
408
- width: 1rem;
409
- }
410
-
411
- #ija .w-64 {
412
- width: 16rem;
413
- }
414
-
415
- #ija .w-full {
416
- width: 100%;
417
- }
418
-
419
- #ija .min-w-0 {
420
- min-width: 0px;
421
- }
422
-
423
- #ija .max-w-\\[var\\(--radix-popover-content-available-width\\)\\] {
424
- max-width: var(--radix-popover-content-available-width);
425
- }
426
-
427
- #ija .max-w-full {
428
- max-width: 100%;
429
- }
430
-
431
- #ija .flex-none {
432
- flex: none;
433
- }
434
-
435
- #ija .flex-shrink {
436
- flex-shrink: 1;
437
- }
438
-
439
- #ija .shrink {
440
- flex-shrink: 1;
441
- }
442
-
443
- #ija .flex-grow {
444
- flex-grow: 1;
445
- }
446
-
447
- #ija .grow {
448
- flex-grow: 1;
449
- }
450
-
451
- #ija .border-collapse {
452
- border-collapse: collapse;
453
- }
454
-
455
- #ija .translate-y-0 {
456
- --tw-translate-y: 0px;
457
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
458
- }
459
-
460
- #ija .transform {
461
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
462
- }
463
-
464
- #ija .resize {
465
- resize: both;
466
- }
467
-
468
- #ija .appearance-none {
469
- -webkit-appearance: none;
470
- -moz-appearance: none;
471
- appearance: none;
472
- }
473
-
474
- #ija .flex-col {
475
- flex-direction: column;
476
- }
477
-
478
- #ija .flex-wrap {
479
- flex-wrap: wrap;
480
- }
481
-
482
- #ija .items-start {
483
- align-items: flex-start;
484
- }
485
-
486
- #ija .items-center {
487
- align-items: center;
488
- }
489
-
490
- #ija .justify-center {
491
- justify-content: center;
492
- }
493
-
494
- #ija .gap-1\\.5 {
495
- gap: 0.375rem;
496
- }
497
-
498
- #ija .gap-2 {
499
- gap: 0.5rem;
500
- }
501
-
502
- #ija .gap-2\\.5 {
503
- gap: 0.625rem;
504
- }
505
-
506
- #ija .overflow-hidden {
507
- overflow: hidden;
508
- }
509
-
510
- #ija .truncate {
511
- overflow: hidden;
512
- text-overflow: ellipsis;
513
- white-space: nowrap;
514
- }
515
-
516
- #ija .rounded-lg {
517
- border-radius: var(--i-radius-lg);
518
- }
519
-
520
- #ija .border {
521
- border-width: 1px;
522
- }
523
-
524
- #ija .bg-accent-9 {
525
- background-color: var(--i-color-a-9);
526
- }
527
-
528
- #ija .bg-lowest {
529
- background-color: var(--i-color-lowest);
530
- }
531
-
532
- #ija .bg-neutral-1 {
533
- background-color: var(--i-color-n-1);
534
- }
535
-
536
- #ija .p-1 {
537
- padding: 0.25rem;
538
- }
539
-
540
- #ija .p-2 {
541
- padding: 0.5rem;
542
- }
543
-
544
- #ija .px-2 {
545
- padding-left: 0.5rem;
546
- padding-right: 0.5rem;
547
- }
548
-
549
- #ija .px-2\\.5 {
550
- padding-left: 0.625rem;
551
- padding-right: 0.625rem;
552
- }
553
-
554
- #ija .px-3 {
555
- padding-left: 0.75rem;
556
- padding-right: 0.75rem;
557
- }
558
-
559
- #ija .px-4 {
560
- padding-left: 1rem;
561
- padding-right: 1rem;
562
- }
563
-
564
- #ija .px-5 {
565
- padding-left: 1.25rem;
566
- padding-right: 1.25rem;
567
- }
568
-
569
- #ija .py-1\\.5 {
570
- padding-top: 0.375rem;
571
- padding-bottom: 0.375rem;
572
- }
573
-
574
- #ija .py-2 {
575
- padding-top: 0.5rem;
576
- padding-bottom: 0.5rem;
577
- }
578
-
579
- #ija .pb-4 {
580
- padding-bottom: 1rem;
581
- }
582
-
583
- #ija .pl-2 {
584
- padding-left: 0.5rem;
585
- }
586
-
587
- #ija .pl-2\\.5 {
588
- padding-left: 0.625rem;
589
- }
590
-
591
- #ija .pr-1 {
592
- padding-right: 0.25rem;
593
- }
594
-
595
- #ija .pr-8 {
596
- padding-right: 2rem;
597
- }
598
-
599
- #ija .pt-1 {
600
- padding-top: 0.25rem;
601
- }
602
-
603
- #ija .text-center {
604
- text-align: center;
605
- }
606
-
607
- #ija .text-justify {
608
- text-align: justify;
609
- }
610
-
611
- #ija .text-base {
612
- font-size: 1rem;
613
- line-height: 1.5rem;
614
- }
615
-
616
- #ija .text-sm {
617
- font-size: 0.875rem;
618
- line-height: 1.25rem;
619
- }
620
-
621
- #ija .font-medium {
622
- font-weight: 500;
623
- }
624
-
625
- #ija .uppercase {
626
- text-transform: uppercase;
627
- }
628
-
629
- #ija .lowercase {
630
- text-transform: lowercase;
631
- }
632
-
633
- #ija .capitalize {
634
- text-transform: capitalize;
635
- }
636
-
637
- #ija .italic {
638
- font-style: italic;
639
- }
640
-
641
- #ija .ordinal {
642
- --tw-ordinal: ordinal;
643
- font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
644
- }
645
-
646
- #ija .text-\\[\\#E5484D\\] {
647
- --tw-text-opacity: 1;
648
- color: rgb(229 72 77 / var(--tw-text-opacity));
649
- }
650
-
651
- #ija .text-accent-1 {
652
- color: var(--i-color-a-1);
653
- }
654
-
655
- #ija .text-accent-11 {
656
- color: var(--i-color-a-11);
657
- }
658
-
659
- #ija .text-neutral-10 {
660
- color: var(--i-color-n-10);
661
- }
662
-
663
- #ija .text-neutral-11 {
664
- color: var(--i-color-n-11);
665
- }
666
-
667
- #ija .underline {
668
- text-decoration-line: underline;
669
- }
670
-
671
- #ija .opacity-0 {
672
- opacity: 0;
673
- }
674
-
675
- #ija .shadow {
676
- --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
677
- --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
678
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
679
- }
680
-
681
- #ija .shadow-\\[0_0_0_1px\\] {
682
- --tw-shadow: 0 0 0 1px;
683
- --tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);
684
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
685
- }
686
-
687
- #ija .shadow-surface-lg {
688
- --tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / 0.03), 0px 6px 4px 0px oklch(0% 0 0 / 0.02), 0px 11px 4px 0px oklch(0% 0 0 / 0.01), 0px 32px 24px -12px oklch(0% 0 0 / 0.06);
689
- --tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 11px 4px 0px var(--tw-shadow-color), 0px 32px 24px -12px var(--tw-shadow-color);
690
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
691
- }
692
-
693
- #ija .outline-none {
694
- outline: 2px solid transparent;
695
- outline-offset: 2px;
696
- }
697
-
698
- #ija .outline {
699
- outline-style: solid;
700
- }
701
-
702
- #ija .ring {
703
- --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
704
- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
705
- box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
706
- }
707
-
708
- #ija .ring-1 {
709
- --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
710
- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
711
- box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
712
- }
713
-
714
- #ija .ring-\\[1px\\] {
715
- --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
716
- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
717
- box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
718
- }
719
-
720
- #ija .ring-neutral-4 {
721
- --tw-ring-color: var(--i-color-n-4);
722
- }
723
-
724
- #ija .ring-neutral-5 {
725
- --tw-ring-color: var(--i-color-n-5);
726
- }
727
-
728
- #ija .blur {
729
- --tw-blur: blur(8px);
730
- 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);
731
- }
732
-
733
- #ija .grayscale {
734
- --tw-grayscale: grayscale(100%);
735
- 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);
736
- }
737
-
738
- #ija .invert {
739
- --tw-invert: invert(100%);
740
- 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);
741
- }
742
-
743
- #ija .sepia {
744
- --tw-sepia: sepia(100%);
745
- 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);
746
- }
747
-
748
- #ija .filter {
749
- 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);
750
- }
751
-
752
- #ija .backdrop-filter {
753
- -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);
754
- 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);
755
- }
756
-
757
- #ija .transition {
758
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
759
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
760
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
761
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
762
- }
763
-
764
- #ija .transition-all {
765
- transition-property: all;
766
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
767
- }
768
-
769
- #ija .duration-medium {
770
- transition-duration: var(--i-duration-medium);
771
- }
772
-
773
- #ija .duration-snappy {
774
- transition-duration: var(--i-duration-snappy);
775
- }
776
-
777
- #ija .ease-expo-out {
778
- transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
779
- }
780
-
781
- #ija .will-change-\\[transform\\2c opacity\\] {
782
- will-change: transform,opacity;
783
- }
784
-
785
- #ija .fr {
786
- outline: none;
787
- }
788
-
789
- #ija .fr:focus {
790
- outline: none;
791
- }
792
-
793
- #ija .fr:focus-visible {
794
- outline: none;
795
- --tw-ring-offset-width: 1px;
796
- --tw-ring-offset-color: var(--i-color-lowest);
797
- --tw-ring-opacity: 1;
798
- --tw-ring-color: var(--i-color-a-9);
799
- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
800
- box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
801
- }
802
-
803
- #ija .rounded-field-input {
804
- border-radius: 0;
805
- }
806
-
807
- #ija .fieldset:first-child .rounded-field-input {
808
- border-top-left-radius: var(--i-radius-md);
809
- border-top-right-radius: var(--i-radius-md);
810
- }
811
-
812
- #ija .fieldset:last-child .rounded-field-input {
813
- border-bottom-left-radius: var(--i-radius-md);
814
- border-bottom-right-radius: var(--i-radius-md);
815
- }
816
-
817
- /* perimeter = 2 * Pi * r
818
- r = 9 (circle radius)
819
- 56.54
820
- */
821
-
822
- @keyframes loading-circle {
823
- 0% {
824
- stroke-dasharray: 0 56.54;
825
- }
826
- 100% {
827
- stroke-dasharray: 56.54 56.54;
828
- }
829
- }
830
-
831
- #ija .loading-circle {
832
- stroke-dasharray: 56.54 56.54;
833
- }
834
-
835
- #ija [data-state='loading'] .loading-circle {
836
- animation: loading-circle 1s linear;
837
- }
838
-
839
- /* perimeter = 2 * Pi * r
840
- r = 9 (circle radius)
841
- 56.54
842
- */
843
-
844
- @keyframes done-checkmark {
845
- 0% {
846
- stroke-dasharray: 0 8.6;
847
- }
848
- 100% {
849
- stroke-dasharray: 8.6 8.6;
850
- }
851
- }
852
-
853
- #ija .done-checkmark {
854
- stroke-dashoffset: -1;
855
- stroke-dasharray: 0 8.6;
856
- opacity: 0;
857
- }
858
-
859
- #ija [data-state='success'] .done-checkmark {
860
- opacity: 1;
861
- animation: done-checkmark 0.9s cubic-bezier(0.16, 1, 0.3, 1);
862
- }
863
-
864
- #ija .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\] {
865
- a-z-a--z0-9-_: .$@?;
866
- }
867
-
868
- #ija .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill {
869
- --tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);
870
- --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);
871
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
872
- }
873
-
874
- #ija .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill {
875
- --tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);
876
- --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);
877
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
878
- }
879
-
880
- #ija .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill {
881
- -webkit-text-fill-color: var(--i-color-a-11);
882
- }
883
-
884
- #ija .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill {
885
- -webkit-text-fill-color: var(--i-color-a-11);
886
- }
887
-
888
- #ija .focus-within\\:z-10:focus-within {
889
- z-index: 10;
890
- }
891
-
892
- #ija .hover\\:scale-\\[1\\.02\\]:hover {
893
- --tw-scale-x: 1.02;
894
- --tw-scale-y: 1.02;
895
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
896
- }
897
-
898
- #ija .focus\\:shadow-\\[0_0_0_2px\\]:focus {
899
- --tw-shadow: 0 0 0 2px;
900
- --tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);
901
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
902
- }
903
-
904
- #ija .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill {
905
- --tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);
906
- --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);
907
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
908
- }
909
-
910
- #ija .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill {
911
- --tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);
912
- --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);
913
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
914
- }
915
-
916
- #ija .active\\:scale-\\[\\.97\\]:active {
917
- --tw-scale-x: .97;
918
- --tw-scale-y: .97;
919
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
920
- }
921
-
922
- #ija .active\\:bg-accent-10:active {
923
- background-color: var(--i-color-a-10);
924
- }
925
-
926
- #ija .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle] {
927
- --tw-translate-y: 100%;
928
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
929
- }
930
-
931
- #ija .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading] {
932
- --tw-translate-y: -100%;
933
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
934
- }
935
-
936
- #ija .data-\\[state\\=success\\]\\:translate-y-full[data-state=success] {
937
- --tw-translate-y: 100%;
938
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
939
- }
940
-
941
- @keyframes slideUpAndFade {
942
-
943
- from {
944
- opacity: 0;
945
- transform: translateY(2px);
946
- }
947
-
948
- to {
949
- opacity: 1;
950
- transform: translateY(0);
951
- }
952
- }
953
-
954
- #ija .data-\\[state\\=open\\]\\:data-\\[side\\=bottom\\]\\:animate-slideUpAndFade[data-side=bottom][data-state=open] {
955
- animation: slideUpAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);
956
- }
957
-
958
- @keyframes slideRightAndFade {
959
-
960
- from {
961
- opacity: 0;
962
- transform: translateX(-2px);
963
- }
964
-
965
- to {
966
- opacity: 1;
967
- transform: translateX(0);
968
- }
969
- }
970
-
971
- #ija .data-\\[state\\=open\\]\\:data-\\[side\\=left\\]\\:animate-slideRightAndFade[data-side=left][data-state=open] {
972
- animation: slideRightAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);
973
- }
974
-
975
- @keyframes slideLeftAndFade {
976
-
977
- from {
978
- opacity: 0;
979
- transform: translateX(2px);
980
- }
981
-
982
- to {
983
- opacity: 1;
984
- transform: translateX(0);
985
- }
986
- }
987
-
988
- #ija .data-\\[state\\=open\\]\\:data-\\[side\\=right\\]\\:animate-slideLeftAndFade[data-side=right][data-state=open] {
989
- animation: slideLeftAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);
990
- }
991
-
992
- @keyframes slideDownAndFade {
993
-
994
- from {
995
- opacity: 0;
996
- transform: translateY(-2px);
997
- }
998
-
999
- to {
1000
- opacity: 1;
1001
- transform: translateY(0);
1002
- }
1003
- }
1004
-
1005
- #ija .data-\\[state\\=open\\]\\:data-\\[side\\=top\\]\\:animate-slideDownAndFade[data-side=top][data-state=open] {
1006
- animation: slideDownAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1);
1007
- }
1008
-
1009
- #ija .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle] {
1010
- opacity: 0;
1011
- }
1012
-
1013
- #ija .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle] {
1014
- opacity: 1;
1015
- }
1016
-
1017
- #ija .dark .theme-dark\\:text-highest {
1018
- color: var(--i-color-highest);
1019
- }
1020
-
1021
- #ija .dark .theme-dark\\:active\\:bg-accent-8:active {
1022
- background-color: var(--i-color-a-8);
1023
- }
1024
-
1025
- #ija .fill .theme-fill\\:bg-accent-2 {
1026
- background-color: var(--i-color-a-2);
1027
- }
1028
-
1029
- #ija .fill .theme-fill\\:hover\\:bg-accent-3:hover {
1030
- background-color: var(--i-color-a-3);
1031
- }
1032
-
1033
- #ija .fill .theme-fill\\:active\\:bg-accent-4:active {
1034
- background-color: var(--i-color-a-4);
1035
- }
1036
-
1037
- #ija .stroke .theme-stroke\\:ring-\\[1px\\] {
1038
- --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1039
- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1040
- box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1041
- }
1042
-
1043
- #ija .stroke .theme-stroke\\:ring-accent-4 {
1044
- --tw-ring-color: var(--i-color-a-4);
1045
- }
1046
-
1047
- #ija .stroke .theme-stroke\\:hover\\:ring-accent-9:hover {
1048
- --tw-ring-color: var(--i-color-a-9);
1049
- }
1050
- `,hi=()=>({getRenderTargetElement:()=>{const t=document.body.querySelector(`#${Ur}`);return Br(t,`Element with id ${Ur} not found.`),t}}),hl=hi(),vl=()=>Si.createPlugin(({apiClient:t,logger:e,analytics:n})=>{let r=!1;const o=({params:s})=>x(z,{},[[x("style",{id:"inploi-job-alerts-styles"},pl),x("style",{id:"inploi-job-search-theme"},sl(s.theme))],x(zi,{theme:s.theme}),x(dl,{theme:s.theme,apiClient:t,logger:e,analytics:n})]),i=s=>Mt.filters$.value=s,a=s=>Mt.config$.value=typeof s=="function"?s(Mt.config$.peek()):s;return{prerender:async s=>(r=!0,i(s.initialFilters),{html:Ii(x(z,{},x(o,{params:s})))}),render:async s=>{const l=r?$n:It;Br(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(s.initialFilters),a(s.config),l(x(o,{params:s}),hl.getRenderTargetElement())},setFilters:i,setConfig:a}});exports.createJobAlertsDomManager=hi;exports.jobAlertsPlugin=vl;