@inploi/plugin-job-alerts 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cdn/index.js CHANGED
@@ -1,9 +1,9 @@
1
- (function(){"use strict";function Ni(e,t){if(!e)throw new Error(t)}var Li=e=>e;function Fi(){return{"~standard":{vendor:"inploi",version:1,validate:e=>({value:e})}}}function Zl(e){return e}var et,x,Yn,qn,Ee,Kn,Xn,Kt,Zn,Te={},Gn=[],Mi=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,vt=Array.isArray;function se(e,t){for(var n in t)e[n]=t[n];return e}function Qn(e){var t=e.parentNode;t&&t.removeChild(e)}function $(e,t,n){var r,o,i,a={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?et.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return tt(e,a,r,o,null)}function tt(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:o??++Yn};return o==null&&x.vnode!=null&&x.vnode(i),i}function Jn(){return{current:null}}function B(e){return e.children}function J(e,t){this.props=e,this.context=t}function _t(e,t){if(t==null)return e.__?_t(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?_t(e):null}function er(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return er(e)}}function Xt(e){(!e.__d&&(e.__d=!0)&&Ee.push(e)&&!mt.__r++||Kn!==x.debounceRendering)&&((Kn=x.debounceRendering)||Xn)(mt)}function mt(){var e,t,n,r,o,i,a,s,l;for(Ee.sort(Kt);e=Ee.shift();)e.__d&&(t=Ee.length,r=void 0,o=void 0,i=void 0,s=(a=(n=e).__v).__e,(l=n.__P)&&(r=[],o=[],(i=se({},a)).__v=a.__v+1,Zt(l,a,i,n.__n,l.ownerSVGElement!==void 0,a.__h!=null?[s]:null,r,s??_t(a),a.__h,o),sr(r,a,o),a.__e!=s&&er(a)),Ee.length>t&&Ee.sort(Kt));mt.__r=0}function tr(e,t,n,r,o,i,a,s,l,u,f){var c,v,p,h,d,m,_,w,g,y,b=0,S=r&&r.__k||Gn,j=S.length,E=j,P=t.length;for(n.__k=[],c=0;c<P;c++)(h=n.__k[c]=(h=t[c])==null||typeof h=="boolean"||typeof h=="function"?null:typeof h=="string"||typeof h=="number"||typeof h=="bigint"?tt(null,h,null,null,h):vt(h)?tt(B,{children:h},null,null,null):h.__b>0?tt(h.type,h.props,h.key,h.ref?h.ref:null,h.__v):h)!=null&&(h.__=n,h.__b=n.__b+1,(w=Ii(h,S,_=c+b,E))===-1?p=Te:(p=S[w]||Te,S[w]=void 0,E--),Zt(e,h,p,o,i,a,s,l,u,f),d=h.__e,(v=h.ref)&&p.ref!=v&&(p.ref&&Gt(p.ref,null,h),f.push(v,h.__c||d,h)),d!=null&&(m==null&&(m=d),y=!(g=p===Te||p.__v===null)&&w===_,g?w==-1&&b--:w!==_&&(w===_+1?(b++,y=!0):w>_?E>P-_?(b+=w-_,y=!0):b--:b=w<_&&w==_-1?w-_:0),_=c+b,y=y||w==c&&!g,typeof h.type!="function"||w===_&&p.__k!==h.__k?typeof h.type=="function"||y?h.__d!==void 0?(l=h.__d,h.__d=void 0):l=d.nextSibling:l=rr(e,d,l):l=nr(h,l,e),typeof n.type=="function"&&(n.__d=l)));for(n.__e=m,c=j;c--;)S[c]!=null&&(typeof n.type=="function"&&S[c].__e!=null&&S[c].__e==n.__d&&(n.__d=S[c].__e.nextSibling),cr(S[c],S[c]))}function nr(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t=typeof r.type=="function"?nr(r,t,n):rr(n,r.__e,t));return t}function ce(e,t){return t=t||[],e==null||typeof e=="boolean"||(vt(e)?e.some(function(n){ce(n,t)}):t.push(e)),t}function rr(e,t,n){return n==null||n.parentNode!==e?e.insertBefore(t,null):t==n&&t.parentNode!=null||e.insertBefore(t,n),t.nextSibling}function Ii(e,t,n,r){var o=e.key,i=e.type,a=n-1,s=n+1,l=t[n];if(l===null||l&&o==l.key&&i===l.type)return n;if(r>(l!=null?1:0))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&o==l.key&&i===l.type)return a;a--}if(s<t.length){if((l=t[s])&&o==l.key&&i===l.type)return s;s++}}return-1}function Ui(e,t,n,r,o){var i;for(i in n)i==="children"||i==="key"||i in t||wt(e,i,null,n[i],r);for(i in t)o&&typeof t[i]!="function"||i==="children"||i==="key"||i==="value"||i==="checked"||n[i]===t[i]||wt(e,i,t[i],n[i],r)}function or(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Mi.test(t)?n:n+"px"}function wt(e,t,n,r,o){var i;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||or(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||or(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?ar:ir,i):e.removeEventListener(t,i?ar:ir,i);else if(t!=="dangerouslySetInnerHTML"){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="width"&&t!=="height"&&t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t!=="rowSpan"&&t!=="colSpan"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function ir(e){return this.l[e.type+!1](x.event?x.event(e):e)}function ar(e){return this.l[e.type+!0](x.event?x.event(e):e)}function Zt(e,t,n,r,o,i,a,s,l,u){var f,c,v,p,h,d,m,_,w,g,y,b,S,j,E,P=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(l=n.__h,s=t.__e=n.__e,t.__h=null,i=[s]),(f=x.__b)&&f(t);try{e:if(typeof P=="function"){if(_=t.props,w=(f=P.contextType)&&r[f.__c],g=f?w?w.props.value:f.__:r,n.__c?m=(c=t.__c=n.__c).__=c.__E:("prototype"in P&&P.prototype.render?t.__c=c=new P(_,g):(t.__c=c=new J(_,g),c.constructor=P,c.render=Hi),w&&w.sub(c),c.props=_,c.state||(c.state={}),c.context=g,c.__n=r,v=c.__d=!0,c.__h=[],c._sb=[]),c.__s==null&&(c.__s=c.state),P.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=se({},c.__s)),se(c.__s,P.getDerivedStateFromProps(_,c.__s))),p=c.props,h=c.state,c.__v=t,v)P.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(P.getDerivedStateFromProps==null&&_!==p&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,g),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,g)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=_,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(D){D&&(D.__=t)}),y=0;y<c._sb.length;y++)c.__h.push(c._sb[y]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,g),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(p,h,d)})}if(c.context=g,c.props=_,c.__P=e,c.__e=!1,b=x.__r,S=0,"prototype"in P&&P.prototype.render){for(c.state=c.__s,c.__d=!1,b&&b(t),f=c.render(c.props,c.state,c.context),j=0;j<c._sb.length;j++)c.__h.push(c._sb[j]);c._sb=[]}else do c.__d=!1,b&&b(t),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++S<25);c.state=c.__s,c.getChildContext!=null&&(r=se(se({},r),c.getChildContext())),v||c.getSnapshotBeforeUpdate==null||(d=c.getSnapshotBeforeUpdate(p,h)),tr(e,vt(E=f!=null&&f.type===B&&f.key==null?f.props.children:f)?E:[E],t,n,r,o,i,a,s,l,u),c.base=t.__e,t.__h=null,c.__h.length&&a.push(c),m&&(c.__E=c.__=null)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Wi(n.__e,t,n,r,o,i,a,l,u);(f=x.diffed)&&f(t)}catch(D){t.__v=null,(l||i!=null)&&(t.__e=s,t.__h=!!l,i[i.indexOf(s)]=null),x.__e(D,t,n)}}function sr(e,t,n){for(var r=0;r<n.length;r++)Gt(n[r],n[++r],n[++r]);x.__c&&x.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){x.__e(i,o.__v)}})}function Wi(e,t,n,r,o,i,a,s,l){var u,f,c,v=n.props,p=t.props,h=t.type,d=0;if(h==="svg"&&(o=!0),i!=null){for(;d<i.length;d++)if((u=i[d])&&"setAttribute"in u==!!h&&(h?u.localName===h:u.nodeType===3)){e=u,i[d]=null;break}}if(e==null){if(h===null)return document.createTextNode(p);e=o?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,p.is&&p),i=null,s=!1}if(h===null)v===p||s&&e.data===p||(e.data=p);else{if(i=i&&et.call(e.childNodes),f=(v=n.props||Te).dangerouslySetInnerHTML,c=p.dangerouslySetInnerHTML,!s){if(i!=null)for(v={},d=0;d<e.attributes.length;d++)v[e.attributes[d].name]=e.attributes[d].value;(c||f)&&(c&&(f&&c.__html==f.__html||c.__html===e.innerHTML)||(e.innerHTML=c&&c.__html||""))}if(Ui(e,p,v,o,s),c)t.__k=[];else if(tr(e,vt(d=t.props.children)?d:[d],t,n,r,o&&h!=="foreignObject",i,a,i?i[0]:n.__k&&_t(n,0),s,l),i!=null)for(d=i.length;d--;)i[d]!=null&&Qn(i[d]);s||("value"in p&&(d=p.value)!==void 0&&(d!==e.value||h==="progress"&&!d||h==="option"&&d!==v.value)&&wt(e,"value",d,v.value,!1),"checked"in p&&(d=p.checked)!==void 0&&d!==e.checked&&wt(e,"checked",d,v.checked,!1))}return e}function Gt(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){x.__e(r,n)}}function cr(e,t,n){var r,o;if(x.unmount&&x.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Gt(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){x.__e(i,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&cr(r[o],t,n||typeof e.type!="function");n||e.__e==null||Qn(e.__e),e.__=e.__e=e.__d=void 0}function Hi(e,t,n){return this.constructor(e,n)}function De(e,t,n){var r,o,i,a;x.__&&x.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],Zt(t,e=(!r&&n||t).__k=$(B,null,[e]),o||Te,Te,t.ownerSVGElement!==void 0,!r&&n?[n]:o?null:t.firstChild?et.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),sr(i,e,a)}function Qt(e,t){De(e,t,Qt)}function zi(e,t,n){var r,o,i,a,s=se({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)i=="key"?r=t[i]:i=="ref"?o=t[i]:s[i]=t[i]===void 0&&a!==void 0?a[i]:t[i];return arguments.length>2&&(s.children=arguments.length>3?et.call(arguments,2):n),tt(e.type,s,r||e.key,o||e.ref,null)}function Re(e,t){var n={__c:t="__cC"+Zn++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[t]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(function(s){s.__e=!0,Xt(s)})},this.sub=function(a){o.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o.splice(o.indexOf(a),1),s&&s.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}et=Gn.slice,x={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(s){e=s}throw e}},Yn=0,qn=function(e){return e!=null&&e.constructor===void 0},J.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=se({},this.state),typeof e=="function"&&(e=e(se({},n),this.props)),e&&se(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Xt(this))},J.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Xt(this))},J.prototype.render=B,Ee=[],Xn=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Kt=function(e,t){return e.__v.__b-t.__v.__b},mt.__r=0,Zn=0;var lr=/[\s\n\\/='"\0<>]/,ur=/^(xlink|xmlns|xml)([A-Z])/,Bi=/^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]/,Vi=/^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/,Yi=/["&<]/;function gt(e){if(e.length===0||Yi.test(e)===!1)return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 60:o="&lt;";break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=o,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var fr={},qi=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"]),Ki=/[A-Z]/g;function Xi(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:fr[n]||(fr[n]=n.replace(Ki,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||qi.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var Jt,Se,nt,rt,dr=[],pr=Array.isArray,en=Object.assign;function Zi(e,t,n){var r=x.__s;x.__s=!0,Jt=x.__b,Se=x.diffed,nt=x.__r,rt=x.unmount;var o=$(B,null);o.__k=[e];try{var i=ne(e,t||vr,!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{x.__c&&x.__c(e,dr),x.__s=r,dr.length=0}}function hr(){this.__d=!0}var vr={};function _r(e,t){var n,r=e.type,o=!0;return e.__c?(o=!1,(n=e.__c).state=n.__s):n=new r(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,n.state==null&&(n.state=vr),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=en({},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(),nt&&nt(e),n.render(n.props,n.state,t)}function ne(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":gt(e+"");if(pr(e)){var s,l="";o.__k=e;for(var u=0;u<e.length;u++){var f=e[u];if(f!=null&&typeof f!="boolean"){var c,v=ne(f,t,n,r,o,i,a);typeof v=="string"?l+=v:(s=s||[],l&&s.push(l),l="",Array.isArray(v)?(c=s).push.apply(c,v):s.push(v))}}return s?(l&&s.push(l),s):l}if(e.constructor!==void 0)return"";e.__=o,Jt&&Jt(e);var p,h,d,m=e.type,_=e.props,w=t;if(typeof m=="function"){if(m===B){if(_.tpl){for(var g="",y=0;y<_.tpl.length;y++)if(g+=_.tpl[y],_.exprs&&y<_.exprs.length){var b=_.exprs[y];if(b==null)continue;typeof b!="object"||b.constructor!==void 0&&!pr(b)?g+=b:g+=ne(b,t,n,r,e,i,a)}return g}if(_.UNSTABLE_comment)return"<!--"+gt(_.UNSTABLE_comment||"")+"-->";h=_.children}else{if((p=m.contextType)!=null){var S=t[p.__c];w=S?S.props.value:p.__}if(m.prototype&&typeof m.prototype.render=="function")h=_r(e,w),d=e.__c;else{e.__c=d={__v:e,props:_,context:w,setState:hr,forceUpdate:hr,__d:!0,__h:[]};for(var j=0;d.__d&&j++<25;)d.__d=!1,nt&&nt(e),h=m.call(d,_,w);d.__d=!0}if(d.getChildContext!=null&&(t=en({},t,d.getChildContext())),(m.getDerivedStateFromError||d.componentDidCatch)&&x.errorBoundaries){var E="";h=h!=null&&h.type===B&&h.key==null?h.props.children:h;try{return E=ne(h,t,n,r,e,i,a)}catch(Z){return m.getDerivedStateFromError&&(d.__s=m.getDerivedStateFromError(Z)),d.componentDidCatch&&d.componentDidCatch(Z,{}),d.__d&&(h=_r(e,t),(d=e.__c).getChildContext!=null&&(t=en({},t,d.getChildContext())),E=ne(h=h!=null&&h.type===B&&h.key==null?h.props.children:h,t,n,r,e,i,a)),E}finally{Se&&Se(e),e.__=null,rt&&rt(e)}}}h=h!=null&&h.type===B&&h.key==null&&h.props.tpl==null?h.props.children:h;try{var P=ne(h,t,n,r,e,i,a);return Se&&Se(e),e.__=null,x.unmount&&x.unmount(e),P}catch(Z){if(!i&&a&&a.onError){var D=a.onError(Z,e,function(ke){return ne(ke,t,n,r,e,i,a)});if(D!==void 0)return D;var U=x.__e;return U&&U(Z,e),""}if(!i||!Z||typeof Z.then!="function")throw Z;var H=function ke(){try{return ne(h,t,n,r,e,i,a)}catch(Qe){if(!Qe||typeof Qe.then!="function")throw Qe;return Qe.then(function(){return ne(h,t,n,r,e,i,a)},function(){return ke()})}};return Z.then(function(){return H()})}}var W,O="<"+m,N="";for(var A in _){var C=_[A];switch(A){case"children":W=C;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in _)continue;A="for";break;case"className":if("class"in _)continue;A="class";break;case"defaultChecked":A="checked";break;case"defaultSelected":A="selected";break;case"defaultValue":case"value":switch(A="value",m){case"textarea":W=C;continue;case"select":r=C;continue;case"option":r!=C||"selected"in _||(O+=" selected")}break;case"dangerouslySetInnerHTML":N=C&&C.__html;continue;case"style":typeof C=="object"&&(C=Xi(C));break;case"acceptCharset":A="accept-charset";break;case"httpEquiv":A="http-equiv";break;default:if(ur.test(A))A=A.replace(ur,"$1:$2").toLowerCase();else{if(lr.test(A))continue;A[4]!=="-"&&A!=="draggable"||C==null?n?Vi.test(A)&&(A=A==="panose1"?"panose-1":A.replace(/([A-Z])/g,"-$1").toLowerCase()):Bi.test(A)&&(A=A.toLowerCase()):C+=""}}C!=null&&C!==!1&&typeof C!="function"&&(O=C===!0||C===""?O+" "+A:O+" "+A+'="'+gt(C+"")+'"')}if(lr.test(m))throw new Error(m+" is not a valid HTML tag name in "+O+">");if(N||(typeof W=="string"?N=gt(W):W!=null&&W!==!1&&W!==!0&&(N=ne(W,t,m==="svg"||m!=="foreignObject"&&n,r,e,i,a))),Se&&Se(e),e.__=null,rt&&rt(e),!N&&Gi.has(m))return O+"/>";var z="</"+m+">",I=O+">";return Array.isArray(N)?[I].concat(N,[z]):typeof N!="string"?[I,N,z]:I+N+z}var Gi=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Qi=0;function k(e,t,n,r,o,i){var a,s,l={};for(s in t)s=="ref"?a=t[s]:l[s]=t[s];var u={type:e,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Qi,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return x.vnode&&x.vnode(u),u}const Ji={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"})},ea=({theme:e})=>k("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:k("defs",{children:Object.entries(Ji).map(([t,n])=>k("symbol",{id:`i-icon-${t}`,children:k("g",{fill:"none","stroke-width":e.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),mr=({name:e,...t})=>k("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:k("use",{href:`#i-icon-${e}`})});function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},q.apply(this,arguments)}var le,R,tn,wr,Ne=0,gr=[],yt=[],yr=x.__b,br=x.__r,xr=x.diffed,$r=x.__c,kr=x.unmount;function Ce(e,t){x.__h&&x.__h(R,e,Ne||t),Ne=0;var n=R.__H||(R.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:yt}),n.__[e]}function L(e){return Ne=1,bt(Ar,e)}function bt(e,t,n){var r=Ce(le++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Ar(void 0,t),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=R,!R.u)){var o=function(s,l,u){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(v){return v.__c});if(f.every(function(v){return!v.__N}))return!i||i.call(this,s,l,u);var c=!1;return f.forEach(function(v){if(v.__N){var p=v.__[0];v.__=v.__N,v.__N=void 0,p!==v.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,l,u))};R.u=!0;var i=R.shouldComponentUpdate,a=R.componentWillUpdate;R.componentWillUpdate=function(s,l,u){if(this.__e){var f=i;i=void 0,o(s,l,u),i=f}a&&a.call(this,s,l,u)},R.shouldComponentUpdate=o}return r.__N||r.__}function F(e,t){var n=Ce(le++,3);!x.__s&&rn(n.__H,t)&&(n.__=e,n.i=t,R.__H.__h.push(n))}function _e(e,t){var n=Ce(le++,4);!x.__s&&rn(n.__H,t)&&(n.__=e,n.i=t,R.__h.push(n))}function T(e){return Ne=5,X(function(){return{current:e}},[])}function Er(e,t,n){Ne=6,_e(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function X(e,t){var n=Ce(le++,7);return rn(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function V(e,t){return Ne=8,X(function(){return e},t)}function ot(e){var t=R.context[e.__c],n=Ce(le++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(R)),t.props.value):e.__}function Sr(e,t){x.useDebugValue&&x.useDebugValue(t?t(e):e)}function ta(e){var t=Ce(le++,10),n=L();return t.__=e,R.componentDidCatch||(R.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Cr(){var e=Ce(le++,11);if(!e.__){for(var t=R.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function na(){for(var e;e=gr.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(xt),e.__H.__h.forEach(nn),e.__H.__h=[]}catch(t){e.__H.__h=[],x.__e(t,e.__v)}}x.__b=function(e){R=null,yr&&yr(e)},x.__r=function(e){br&&br(e),le=0;var t=(R=e.__c).__H;t&&(tn===R?(t.__h=[],R.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=yt,n.__N=n.i=void 0})):(t.__h.forEach(xt),t.__h.forEach(nn),t.__h=[],le=0)),tn=R},x.diffed=function(e){xr&&xr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(gr.push(t)!==1&&wr===x.requestAnimationFrame||((wr=x.requestAnimationFrame)||ra)(na)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==yt&&(n.__=n.__V),n.i=void 0,n.__V=yt})),tn=R=null},x.__c=function(e,t){t.some(function(n){try{n.__h.forEach(xt),n.__h=n.__h.filter(function(r){return!r.__||nn(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],x.__e(r,n.__v)}}),$r&&$r(e,t)},x.unmount=function(e){kr&&kr(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{xt(r)}catch(o){t=o}}),n.__H=void 0,t&&x.__e(t,n.__v))};var Pr=typeof requestAnimationFrame=="function";function ra(e){var t,n=function(){clearTimeout(r),Pr&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Pr&&(t=requestAnimationFrame(n))}function xt(e){var t=R,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),R=t}function nn(e){var t=R;e.__c=e.__(),R=t}function rn(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Ar(e,t){return typeof t=="function"?t(e):t}function jr(e,t){for(var n in t)e[n]=t[n];return e}function on(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function an(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function $t(e){this.props=e}function Or(e,t){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a:on(this.props,o)}function r(o){return this.shouldComponentUpdate=n,$(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}($t.prototype=new J).isPureReactComponent=!0,$t.prototype.shouldComponentUpdate=function(e,t){return on(this.props,e)||on(this.state,t)};var Tr=x.__b;x.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Tr&&Tr(e)};var oa=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Y(e){function t(n){var r=jr({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=oa,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Dr=function(e,t){return e==null?null:ce(ce(e).map(t))},ue={map:Dr,forEach:Dr,count:function(e){return e?ce(e).length:0},only:function(e){var t=ce(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:ce},ia=x.__e;x.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}ia(e,t,n,r)};var Rr=x.unmount;function Nr(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=jr({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Nr(r,t,n)})),e}function Lr(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Lr(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function it(){this.__u=0,this.t=null,this.__b=null}function Fr(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Mr(e){var t,n,r;function o(i){if(t||(t=e()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw t;return $(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Le(){this.u=null,this.o=null}x.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Rr&&Rr(e)},(it.prototype=new J).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Fr(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var u=r.state.__a;r.__v.__k[0]=Lr(u,u.__c.__P,u.__c.__O)}var f;for(r.setState({__a:r.__b=null});f=r.t.pop();)f.forceUpdate()}},l=t.__h===!0;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},it.prototype.componentWillUnmount=function(){this.t=[]},it.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Nr(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&$(B,null,e.fallback);return o&&(o.__h=null),[$(B,null,t.__a?null:e.children),o]};var Ir=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function aa(e){return this.getChildContext=function(){return e.context},e.children}function sa(e){var t=this,n=e.i;t.componentWillUnmount=function(){De(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),De($(aa,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function Ur(e,t){var n=$(sa,{__v:e,i:t});return n.containerInfo=t,n}(Le.prototype=new J).__a=function(e){var t=this,n=Fr(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Ir(t,e,r)):o()};n?n(i):i()}},Le.prototype.render=function(e){this.u=null,this.o=new Map;var t=ce(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Le.prototype.componentDidUpdate=Le.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Ir(e,n,t)})};var Wr=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,ca=/^(?: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]/,la=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ua=/[A-Z0-9]/g,fa=typeof document<"u",da=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Hr(e,t,n){return t.__k==null&&(t.textContent=""),De(e,t),typeof n=="function"&&n(),e?e.__c:null}function zr(e,t,n){return Qt(e,t),typeof n=="function"&&n(),e?e.__c:null}J.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(J.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Br=x.event;function pa(){}function ha(){return this.cancelBubble}function va(){return this.defaultPrevented}x.event=function(e){return Br&&(e=Br(e)),e.persist=pa,e.isPropagationStopped=ha,e.isDefaultPrevented=va,e.nativeEvent=e};var sn,_a={enumerable:!1,configurable:!0,get:function(){return this.class}},Vr=x.vnode;x.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||fa&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var s=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&a===!0?a="":s==="ondoubleclick"?i="ondblclick":s!=="onchange"||r!=="input"&&r!=="textarea"||da(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":la.test(i)?i=s:r.indexOf("-")===-1&&ca.test(i)?i=i.replace(ua,"-$&").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=ce(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=ce(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",_a)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Wr,Vr&&Vr(e)};var Yr=x.__r;x.__r=function(e){Yr&&Yr(e),sn=e.__c};var qr=x.diffed;x.diffed=function(e){qr&&qr(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),sn=null};var Kr={ReactCurrentDispatcher:{current:{readContext:function(e){return sn.__n[e.__c].props.value}}}},ma="17.0.2";function Xr(e){return $.bind(null,e)}function Pe(e){return!!e&&e.$$typeof===Wr}function Fe(e){return Pe(e)?zi.apply(null,arguments):e}function Zr(e){return!!e.__k&&(De(null,e),!0)}function Gr(e){return e&&(e.base||e.nodeType===1&&e)||null}var Qr=function(e,t){return e(t)},at=function(e,t){return e(t)},Jr=B;function cn(e){e()}function eo(e){return e}function to(){return[!1,cn]}var no=_e;function ro(e,t){var n=t(),r=L({h:{__:n,v:t}}),o=r[0].h,i=r[1];return _e(function(){o.__=n,o.v=t,an(o.__,t())||i({h:o})},[e,n,t]),F(function(){return an(o.__,o.v())||i({h:o}),e(function(){an(o.__,o.v())||i({h:o})})},[e]),n}var oo={useState:L,useId:Cr,useReducer:bt,useEffect:F,useLayoutEffect:_e,useInsertionEffect:no,useTransition:to,useDeferredValue:eo,useSyncExternalStore:ro,startTransition:cn,useRef:T,useImperativeHandle:Er,useMemo:X,useCallback:V,useContext:ot,useDebugValue:Sr,version:"17.0.2",Children:ue,render:Hr,hydrate:zr,unmountComponentAtNode:Zr,createPortal:Ur,createElement:$,createContext:Re,createFactory:Xr,cloneElement:Fe,createRef:Jn,Fragment:B,isValidElement:Pe,findDOMNode:Gr,Component:J,PureComponent:$t,memo:Or,forwardRef:Y,flushSync:at,unstable_batchedUpdates:Qr,StrictMode:Jr,Suspense:it,SuspenseList:Le,lazy:Mr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Kr};const wa=Object.freeze(Object.defineProperty({__proto__:null,Children:ue,Component:J,Fragment:B,PureComponent:$t,StrictMode:Jr,Suspense:it,SuspenseList:Le,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Kr,cloneElement:Fe,createContext:Re,createElement:$,createFactory:Xr,createPortal:Ur,createRef:Jn,default:oo,findDOMNode:Gr,flushSync:at,forwardRef:Y,hydrate:zr,isValidElement:Pe,lazy:Mr,memo:Or,render:Hr,startTransition:cn,unmountComponentAtNode:Zr,unstable_batchedUpdates:Qr,useCallback:V,useContext:ot,useDebugValue:Sr,useDeferredValue:eo,useEffect:F,useErrorBoundary:ta,useId:Cr,useImperativeHandle:Er,useInsertionEffect:no,useLayoutEffect:_e,useMemo:X,useReducer:bt,useRef:T,useState:L,useSyncExternalStore:ro,useTransition:to,version:ma},Symbol.toStringTag,{value:"Module"}));function Ae(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function ga(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function io(...e){return t=>e.forEach(n=>ga(n,t))}function je(...e){return V(io(...e),e)}function ao(e,t=[]){let n=[];function r(i,a){const s=Re(a),l=n.length;n=[...n,a];function u(c){const{scope:v,children:p,...h}=c,d=(v==null?void 0:v[e][l])||s,m=X(()=>h,Object.values(h));return $(d.Provider,{value:m},p)}function f(c,v){const p=(v==null?void 0:v[e][l])||s,h=ot(p);if(h)return h;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,f]}const o=()=>{const i=n.map(a=>Re(a));return function(s){const l=(s==null?void 0:s[e])||i;return X(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,ya(o,...t)]}function ya(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.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 X(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const ln=Y((e,t)=>{const{children:n,...r}=e,o=ue.toArray(n),i=o.find(xa);if(i){const a=i.props.children,s=o.map(l=>l===i?ue.count(a)>1?ue.only(null):Pe(a)?a.props.children:null:l);return $(un,q({},r,{ref:t}),Pe(a)?Fe(a,void 0,s):null)}return $(un,q({},r,{ref:t}),n)});ln.displayName="Slot";const un=Y((e,t)=>{const{children:n,...r}=e;return Pe(n)?Fe(n,{...$a(r,n.props),ref:t?io(t,n.ref):n.ref}):ue.count(n)>1?ue.only(null):null});un.displayName="SlotClone";const ba=({children:e})=>$(B,null,e);function xa(e){return Pe(e)&&e.type===ba}function $a(e,t){const n={...t};for(const r in t){const o=e[r],i=t[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{...e,...n}}const Me=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=Y((r,o)=>{const{asChild:i,...a}=r,s=i?ln:t;return F(()=>{window[Symbol.for("radix-ui")]=!0},[]),$(s,q({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function ka(e,t){e&&at(()=>e.dispatchEvent(t))}function me(e){const t=T(e);return F(()=>{t.current=e}),X(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function Ea(e,t=globalThis==null?void 0:globalThis.document){const n=me(e);F(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const fn="dismissableLayer.update",Sa="dismissableLayer.pointerDownOutside",Ca="dismissableLayer.focusOutside";let so;const Pa=Re({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Aa=Y((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,f=ot(Pa),[c,v]=L(null),p=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,h]=L({}),d=je(t,E=>v(E)),m=Array.from(f.layers),[_]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),w=m.indexOf(_),g=c?m.indexOf(c):-1,y=f.layersWithOutsidePointerEventsDisabled.size>0,b=g>=w,S=ja(E=>{const P=E.target,D=[...f.branches].some(U=>U.contains(P));!b||D||(i==null||i(E),s==null||s(E),E.defaultPrevented||l==null||l())},p),j=Oa(E=>{const P=E.target;[...f.branches].some(U=>U.contains(P))||(a==null||a(E),s==null||s(E),E.defaultPrevented||l==null||l())},p);return Ea(E=>{g===f.layers.size-1&&(o==null||o(E),!E.defaultPrevented&&l&&(E.preventDefault(),l()))},p),F(()=>{if(c)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(so=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(c)),f.layers.add(c),co(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=so)}},[c,p,r,f]),F(()=>()=>{c&&(f.layers.delete(c),f.layersWithOutsidePointerEventsDisabled.delete(c),co())},[c,f]),F(()=>{const E=()=>h({});return document.addEventListener(fn,E),()=>document.removeEventListener(fn,E)},[]),$(Me.div,q({},u,{ref:d,style:{pointerEvents:y?b?"auto":"none":void 0,...e.style},onFocusCapture:Ae(e.onFocusCapture,j.onFocusCapture),onBlurCapture:Ae(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:Ae(e.onPointerDownCapture,S.onPointerDownCapture)}))});function ja(e,t=globalThis==null?void 0:globalThis.document){const n=me(e),r=T(!1),o=T(()=>{});return F(()=>{const i=s=>{if(s.target&&!r.current){let u=function(){lo(Sa,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Oa(e,t=globalThis==null?void 0:globalThis.document){const n=me(e),r=T(!1);return F(()=>{const o=i=>{i.target&&!r.current&&lo(Ca,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function co(){const e=new CustomEvent(fn);document.dispatchEvent(e)}function lo(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?ka(o,i):o.dispatchEvent(i)}let dn=0;function Ta(){F(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:uo()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:uo()),dn++,()=>{dn===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),dn--}},[])}function uo(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const pn="focusScope.autoFocusOnMount",hn="focusScope.autoFocusOnUnmount",fo={bubbles:!1,cancelable:!0},Da=Y((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=L(null),u=me(o),f=me(i),c=T(null),v=je(t,d=>l(d)),p=T({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;F(()=>{if(r){let d=function(g){if(p.paused||!s)return;const y=g.target;s.contains(y)?c.current=y:we(c.current,{select:!0})},m=function(g){if(p.paused||!s)return;const y=g.relatedTarget;y!==null&&(s.contains(y)||we(c.current,{select:!0}))},_=function(g){if(document.activeElement===document.body)for(const b of g)b.removedNodes.length>0&&we(s)};document.addEventListener("focusin",d),document.addEventListener("focusout",m);const w=new MutationObserver(_);return s&&w.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",d),document.removeEventListener("focusout",m),w.disconnect()}}},[r,s,p.paused]),F(()=>{if(s){vo.add(p);const d=document.activeElement;if(!s.contains(d)){const _=new CustomEvent(pn,fo);s.addEventListener(pn,u),s.dispatchEvent(_),_.defaultPrevented||(Ra(Ia(po(s)),{select:!0}),document.activeElement===d&&we(s))}return()=>{s.removeEventListener(pn,u),setTimeout(()=>{const _=new CustomEvent(hn,fo);s.addEventListener(hn,f),s.dispatchEvent(_),_.defaultPrevented||we(d??document.body,{select:!0}),s.removeEventListener(hn,f),vo.remove(p)},0)}}},[s,u,f,p]);const h=V(d=>{if(!n&&!r||p.paused)return;const m=d.key==="Tab"&&!d.altKey&&!d.ctrlKey&&!d.metaKey,_=document.activeElement;if(m&&_){const w=d.currentTarget,[g,y]=Na(w);g&&y?!d.shiftKey&&_===y?(d.preventDefault(),n&&we(g,{select:!0})):d.shiftKey&&_===g&&(d.preventDefault(),n&&we(y,{select:!0})):_===w&&d.preventDefault()}},[n,r,p.paused]);return $(Me.div,q({tabIndex:-1},a,{ref:v,onKeyDown:h}))});function Ra(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(we(r,{select:t}),document.activeElement!==n)return}function Na(e){const t=po(e),n=ho(t,e),r=ho(t.reverse(),e);return[n,r]}function po(e){const t=[],n=document.createTreeWalker(e,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();)t.push(n.currentNode);return t}function ho(e,t){for(const n of e)if(!La(n,{upTo:t}))return n}function La(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Fa(e){return e instanceof HTMLInputElement&&"select"in e}function we(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Fa(e)&&t&&e.select()}}const vo=Ma();function Ma(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=_o(e,t),e.unshift(t)},remove(t){var n;e=_o(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function _o(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Ia(e){return e.filter(t=>t.tagName!=="A")}const Ie=globalThis!=null&&globalThis.document?_e:()=>{},Ua=wa["useId".toString()]||(()=>{});let Wa=0;function Ha(e){const[t,n]=L(Ua());return Ie(()=>{e||n(r=>r??String(Wa++))},[e]),e||(t?`radix-${t}`:"")}const za=["top","right","bottom","left"],re=Math.min,G=Math.max,kt=Math.round,Et=Math.floor,ge=e=>({x:e,y:e}),Ba={left:"right",right:"left",bottom:"top",top:"bottom"},Va={start:"end",end:"start"};function vn(e,t,n){return G(e,re(t,n))}function fe(e,t){return typeof e=="function"?e(t):e}function de(e){return e.split("-")[0]}function Ue(e){return e.split("-")[1]}function _n(e){return e==="x"?"y":"x"}function mn(e){return e==="y"?"height":"width"}function ye(e){return["top","bottom"].includes(de(e))?"y":"x"}function wn(e){return _n(ye(e))}function Ya(e,t,n){n===void 0&&(n=!1);const r=Ue(e),o=wn(e),i=mn(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=St(a)),[a,St(a)]}function qa(e){const t=St(e);return[gn(e),t,gn(t)]}function gn(e){return e.replace(/start|end/g,t=>Va[t])}function Ka(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function Xa(e,t,n,r){const o=Ue(e);let i=Ka(de(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(gn)))),i}function St(e){return e.replace(/left|right|bottom|top/g,t=>Ba[t])}function Za(e){return{top:0,right:0,bottom:0,left:0,...e}}function mo(e){return typeof e!="number"?Za(e):{top:e,right:e,bottom:e,left:e}}function Ct(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function wo(e,t,n){let{reference:r,floating:o}=e;const i=ye(t),a=wn(t),s=mn(a),l=de(t),u=i==="y",f=r.x+r.width/2-o.width/2,c=r.y+r.height/2-o.height/2,v=r[s]/2-o[s]/2;let p;switch(l){case"top":p={x:f,y:r.y-o.height};break;case"bottom":p={x:f,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:c};break;case"left":p={x:r.x-o.width,y:c};break;default:p={x:r.x,y:r.y}}switch(Ue(t)){case"start":p[a]-=v*(n&&u?-1:1);break;case"end":p[a]+=v*(n&&u?-1:1);break}return p}const Ga=async(e,t,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(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:c}=wo(u,r,l),v=r,p={},h=0;for(let d=0;d<s.length;d++){const{name:m,fn:_}=s[d],{x:w,y:g,data:y,reset:b}=await _({x:f,y:c,initialPlacement:r,placement:v,strategy:o,middlewareData:p,rects:u,platform:a,elements:{reference:e,floating:t}});f=w??f,c=g??c,p={...p,[m]:{...p[m],...y}},b&&h<=50&&(h++,typeof b=="object"&&(b.placement&&(v=b.placement),b.rects&&(u=b.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:f,y:c}=wo(u,v,l)),d=-1)}return{x:f,y:c,placement:v,strategy:o,middlewareData:p}};async function st(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:v=!1,padding:p=0}=fe(t,e),h=mo(p),m=s[v?c==="floating"?"reference":"floating":c],_=Ct(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(m)))==null||n?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:f,strategy:l})),w=c==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,g=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),y=await(i.isElement==null?void 0:i.isElement(g))?await(i.getScale==null?void 0:i.getScale(g))||{x:1,y:1}:{x:1,y:1},b=Ct(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:g,strategy:l}):w);return{top:(_.top-b.top+h.top)/y.y,bottom:(b.bottom-_.bottom+h.bottom)/y.y,left:(_.left-b.left+h.left)/y.x,right:(b.right-_.right+h.right)/y.x}}const Qa=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:f=0}=fe(e,t)||{};if(u==null)return{};const c=mo(f),v={x:n,y:r},p=wn(o),h=mn(p),d=await a.getDimensions(u),m=p==="y",_=m?"top":"left",w=m?"bottom":"right",g=m?"clientHeight":"clientWidth",y=i.reference[h]+i.reference[p]-v[p]-i.floating[h],b=v[p]-i.reference[p],S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let j=S?S[g]:0;(!j||!await(a.isElement==null?void 0:a.isElement(S)))&&(j=s.floating[g]||i.floating[h]);const E=y/2-b/2,P=j/2-d[h]/2-1,D=re(c[_],P),U=re(c[w],P),H=D,W=j-d[h]-U,O=j/2-d[h]/2+E,N=vn(H,O,W),A=!l.arrow&&Ue(o)!=null&&O!==N&&i.reference[h]/2-(O<H?D:U)-d[h]/2<0,C=A?O<H?O-H:O-W:0;return{[p]:v[p]+C,data:{[p]:N,centerOffset:O-N-C,...A&&{alignmentOffset:C}},reset:A}}}),Ja=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:f=!0,crossAxis:c=!0,fallbackPlacements:v,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:d=!0,...m}=fe(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const _=de(o),w=ye(s),g=de(s)===s,y=await(l.isRTL==null?void 0:l.isRTL(u.floating)),b=v||(g||!d?[St(s)]:qa(s)),S=h!=="none";!v&&S&&b.push(...Xa(s,d,h,y));const j=[s,...b],E=await st(t,m),P=[];let D=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&P.push(E[_]),c){const O=Ya(o,a,y);P.push(E[O[0]],E[O[1]])}if(D=[...D,{placement:o,overflows:P}],!P.every(O=>O<=0)){var U,H;const O=(((U=i.flip)==null?void 0:U.index)||0)+1,N=j[O];if(N)return{data:{index:O,overflows:D},reset:{placement:N}};let A=(H=D.filter(C=>C.overflows[0]<=0).sort((C,z)=>C.overflows[1]-z.overflows[1])[0])==null?void 0:H.placement;if(!A)switch(p){case"bestFit":{var W;const C=(W=D.filter(z=>{if(S){const I=ye(z.placement);return I===w||I==="y"}return!0}).map(z=>[z.placement,z.overflows.filter(I=>I>0).reduce((I,Z)=>I+Z,0)]).sort((z,I)=>z[1]-I[1])[0])==null?void 0:W[0];C&&(A=C);break}case"initialPlacement":A=s;break}if(o!==A)return{reset:{placement:A}}}return{}}}};function go(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function yo(e){return za.some(t=>e[t]>=0)}const es=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=fe(e,t);switch(r){case"referenceHidden":{const i=await st(t,{...o,elementContext:"reference"}),a=go(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:yo(a)}}}case"escaped":{const i=await st(t,{...o,altBoundary:!0}),a=go(i,n.floating);return{data:{escapedOffsets:a,escaped:yo(a)}}}default:return{}}}}};async function ts(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=de(n),s=Ue(n),l=ye(n)==="y",u=["left","top"].includes(a)?-1:1,f=i&&l?-1:1,c=fe(t,e);let{mainAxis:v,crossAxis:p,alignmentAxis:h}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof h=="number"&&(p=s==="end"?h*-1:h),l?{x:p*f,y:v*u}:{x:v*u,y:p*f}}const ns=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await ts(t,e);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}}}}},rs=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:m=>{let{x:_,y:w}=m;return{x:_,y:w}}},...l}=fe(e,t),u={x:n,y:r},f=await st(t,l),c=ye(de(o)),v=_n(c);let p=u[v],h=u[c];if(i){const m=v==="y"?"top":"left",_=v==="y"?"bottom":"right",w=p+f[m],g=p-f[_];p=vn(w,p,g)}if(a){const m=c==="y"?"top":"left",_=c==="y"?"bottom":"right",w=h+f[m],g=h-f[_];h=vn(w,h,g)}const d=s.fn({...t,[v]:p,[c]:h});return{...d,data:{x:d.x-n,y:d.y-r}}}}},os=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=fe(e,t),f={x:n,y:r},c=ye(o),v=_n(c);let p=f[v],h=f[c];const d=fe(s,t),m=typeof d=="number"?{mainAxis:d,crossAxis:0}:{mainAxis:0,crossAxis:0,...d};if(l){const g=v==="y"?"height":"width",y=i.reference[v]-i.floating[g]+m.mainAxis,b=i.reference[v]+i.reference[g]-m.mainAxis;p<y?p=y:p>b&&(p=b)}if(u){var _,w;const g=v==="y"?"width":"height",y=["top","left"].includes(de(o)),b=i.reference[c]-i.floating[g]+(y&&((_=a.offset)==null?void 0:_[c])||0)+(y?0:m.crossAxis),S=i.reference[c]+i.reference[g]+(y?0:((w=a.offset)==null?void 0:w[c])||0)-(y?m.crossAxis:0);h<b?h=b:h>S&&(h=S)}return{[v]:p,[c]:h}}}},is=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=()=>{},...s}=fe(e,t),l=await st(t,s),u=de(n),f=Ue(n),c=ye(n)==="y",{width:v,height:p}=r.floating;let h,d;u==="top"||u==="bottom"?(h=u,d=f===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(d=u,h=f==="end"?"top":"bottom");const m=p-l.top-l.bottom,_=v-l.left-l.right,w=re(p-l[h],m),g=re(v-l[d],_),y=!t.middlewareData.shift;let b=w,S=g;if(c?S=f||y?re(g,_):_:b=f||y?re(w,m):m,y&&!f){const E=G(l.left,0),P=G(l.right,0),D=G(l.top,0),U=G(l.bottom,0);c?S=v-2*(E!==0||P!==0?E+P:G(l.left,l.right)):b=p-2*(D!==0||U!==0?D+U:G(l.top,l.bottom))}await a({...t,availableWidth:S,availableHeight:b});const j=await o.getDimensions(i.floating);return v!==j.width||p!==j.height?{reset:{rects:!0}}:{}}}};function We(e){return bo(e)?(e.nodeName||"").toLowerCase():"#document"}function Q(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pe(e){var t;return(t=(bo(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function bo(e){return e instanceof Node||e instanceof Q(e).Node}function ee(e){return e instanceof Element||e instanceof Q(e).Element}function oe(e){return e instanceof HTMLElement||e instanceof Q(e).HTMLElement}function xo(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Q(e).ShadowRoot}function ct(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=te(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function as(e){return["table","td","th"].includes(We(e))}function Pt(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function yn(e){const t=bn(),n=ee(e)?te(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(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 ss(e){let t=be(e);for(;oe(t)&&!He(t);){if(yn(t))return t;if(Pt(t))return null;t=be(t)}return null}function bn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function He(e){return["html","body","#document"].includes(We(e))}function te(e){return Q(e).getComputedStyle(e)}function At(e){return ee(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function be(e){if(We(e)==="html")return e;const t=e.assignedSlot||e.parentNode||xo(e)&&e.host||pe(e);return xo(t)?t.host:t}function $o(e){const t=be(e);return He(t)?e.ownerDocument?e.ownerDocument.body:e.body:oe(t)&&ct(t)?t:$o(t)}function lt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=$o(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=Q(o);if(i){const s=xn(a);return t.concat(a,a.visualViewport||[],ct(o)?o:[],s&&n?lt(s):[])}return t.concat(o,lt(o,[],n))}function xn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ko(e){const t=te(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=oe(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=kt(n)!==i||kt(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function $n(e){return ee(e)?e:e.contextElement}function ze(e){const t=$n(e);if(!oe(t))return ge(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ko(t);let a=(i?kt(n.width):n.width)/r,s=(i?kt(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const cs=ge(0);function Eo(e){const t=Q(e);return!bn()||!t.visualViewport?cs:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ls(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Q(e)?!1:t}function Oe(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=$n(e);let a=ge(1);t&&(r?ee(r)&&(a=ze(r)):a=ze(e));const s=ls(i,n,r)?Eo(i):ge(0);let l=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,f=o.width/a.x,c=o.height/a.y;if(i){const v=Q(i),p=r&&ee(r)?Q(r):r;let h=v,d=xn(h);for(;d&&r&&p!==h;){const m=ze(d),_=d.getBoundingClientRect(),w=te(d),g=_.left+(d.clientLeft+parseFloat(w.paddingLeft))*m.x,y=_.top+(d.clientTop+parseFloat(w.paddingTop))*m.y;l*=m.x,u*=m.y,f*=m.x,c*=m.y,l+=g,u+=y,h=Q(d),d=xn(h)}}return Ct({width:f,height:c,x:l,y:u})}function us(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=pe(r),s=t?Pt(t.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=ge(1);const f=ge(0),c=oe(r);if((c||!c&&!i)&&((We(r)!=="body"||ct(a))&&(l=At(r)),oe(r))){const v=Oe(r);u=ze(r),f.x=v.x+r.clientLeft,f.y=v.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+f.x,y:n.y*u.y-l.scrollTop*u.y+f.y}}function fs(e){return Array.from(e.getClientRects())}function So(e){return Oe(pe(e)).left+At(e).scrollLeft}function ds(e){const t=pe(e),n=At(e),r=e.ownerDocument.body,o=G(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=G(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+So(e);const s=-n.scrollTop;return te(r).direction==="rtl"&&(a+=G(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function ps(e,t){const n=Q(e),r=pe(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=bn();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function hs(e,t){const n=Oe(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=oe(e)?ze(e):ge(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:a,height:s,x:l,y:u}}function Co(e,t,n){let r;if(t==="viewport")r=ps(e,n);else if(t==="document")r=ds(pe(e));else if(ee(t))r=hs(t,n);else{const o=Eo(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Ct(r)}function Po(e,t){const n=be(e);return n===t||!ee(n)||He(n)?!1:te(n).position==="fixed"||Po(n,t)}function vs(e,t){const n=t.get(e);if(n)return n;let r=lt(e,[],!1).filter(s=>ee(s)&&We(s)!=="body"),o=null;const i=te(e).position==="fixed";let a=i?be(e):e;for(;ee(a)&&!He(a);){const s=te(a),l=yn(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||ct(a)&&!l&&Po(e,a))?r=r.filter(f=>f!==a):o=s,a=be(a)}return t.set(e,r),r}function _s(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?Pt(t)?[]:vs(t,this._c):[].concat(n),r],s=a[0],l=a.reduce((u,f)=>{const c=Co(t,f,o);return u.top=G(c.top,u.top),u.right=re(c.right,u.right),u.bottom=re(c.bottom,u.bottom),u.left=G(c.left,u.left),u},Co(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function ms(e){const{width:t,height:n}=ko(e);return{width:t,height:n}}function ws(e,t,n){const r=oe(t),o=pe(t),i=n==="fixed",a=Oe(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=ge(0);if(r||!r&&!i)if((We(t)!=="body"||ct(o))&&(s=At(t)),r){const c=Oe(t,!0,i,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else o&&(l.x=So(o));const u=a.left+s.scrollLeft-l.x,f=a.top+s.scrollTop-l.y;return{x:u,y:f,width:a.width,height:a.height}}function kn(e){return te(e).position==="static"}function Ao(e,t){return!oe(e)||te(e).position==="fixed"?null:t?t(e):e.offsetParent}function jo(e,t){const n=Q(e);if(Pt(e))return n;if(!oe(e)){let o=be(e);for(;o&&!He(o);){if(ee(o)&&!kn(o))return o;o=be(o)}return n}let r=Ao(e,t);for(;r&&as(r)&&kn(r);)r=Ao(r,t);return r&&He(r)&&kn(r)&&!yn(r)?n:r||ss(e)||n}const gs=async function(e){const t=this.getOffsetParent||jo,n=this.getDimensions,r=await n(e.floating);return{reference:ws(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function ys(e){return te(e).direction==="rtl"}const bs={convertOffsetParentRelativeRectToViewportRelativeRect:us,getDocumentElement:pe,getClippingRect:_s,getOffsetParent:jo,getElementRects:gs,getClientRects:fs,getDimensions:ms,getScale:ze,isElement:ee,isRTL:ys};function xs(e,t){let n=null,r;const o=pe(e);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:f,width:c,height:v}=e.getBoundingClientRect();if(s||t(),!c||!v)return;const p=Et(f),h=Et(o.clientWidth-(u+c)),d=Et(o.clientHeight-(f+v)),m=Et(u),w={rootMargin:-p+"px "+-h+"px "+-d+"px "+-m+"px",threshold:G(0,re(1,l))||1};let g=!0;function y(b){const S=b[0].intersectionRatio;if(S!==l){if(!g)return a();S?a(!1,S):r=setTimeout(()=>{a(!1,1e-7)},1e3)}g=!1}try{n=new IntersectionObserver(y,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(y,w)}n.observe(e)}return a(!0),i}function $s(e,t,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=$n(e),f=o||i?[...u?lt(u):[],...lt(t)]:[];f.forEach(_=>{o&&_.addEventListener("scroll",n,{passive:!0}),i&&_.addEventListener("resize",n)});const c=u&&s?xs(u,n):null;let v=-1,p=null;a&&(p=new ResizeObserver(_=>{let[w]=_;w&&w.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var g;(g=p)==null||g.observe(t)})),n()}),u&&!l&&p.observe(u),p.observe(t));let h,d=l?Oe(e):null;l&&m();function m(){const _=Oe(e);d&&(_.x!==d.x||_.y!==d.y||_.width!==d.width||_.height!==d.height)&&n(),d=_,h=requestAnimationFrame(m)}return n(),()=>{var _;f.forEach(w=>{o&&w.removeEventListener("scroll",n),i&&w.removeEventListener("resize",n)}),c==null||c(),(_=p)==null||_.disconnect(),p=null,l&&cancelAnimationFrame(h)}}const ks=ns,Es=rs,Ss=Ja,Cs=is,Ps=es,Oo=Qa,As=os,js=(e,t,n)=>{const r=new Map,o={platform:bs,...n},i={...o.platform,_c:r};return Ga(e,t,{...o,platform:i})};var jt=typeof document<"u"?_e:F;function Ot(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Ot(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Ot(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function To(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Do(e,t){const n=To(e);return Math.round(t*n)/n}function Ro(e){const t=T(e);return jt(()=>{t.current=e}),t}function Os(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[f,c]=L({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[v,p]=L(r);Ot(v,r)||p(r);const[h,d]=L(null),[m,_]=L(null),w=V(C=>{C!==S.current&&(S.current=C,d(C))},[]),g=V(C=>{C!==j.current&&(j.current=C,_(C))},[]),y=i||h,b=a||m,S=T(null),j=T(null),E=T(f),P=l!=null,D=Ro(l),U=Ro(o),H=V(()=>{if(!S.current||!j.current)return;const C={placement:t,strategy:n,middleware:v};U.current&&(C.platform=U.current),js(S.current,j.current,C).then(z=>{const I={...z,isPositioned:!0};W.current&&!Ot(E.current,I)&&(E.current=I,at(()=>{c(I)}))})},[v,t,n,U]);jt(()=>{u===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,c(C=>({...C,isPositioned:!1})))},[u]);const W=T(!1);jt(()=>(W.current=!0,()=>{W.current=!1}),[]),jt(()=>{if(y&&(S.current=y),b&&(j.current=b),y&&b){if(D.current)return D.current(y,b,H);H()}},[y,b,H,D,P]);const O=X(()=>({reference:S,floating:j,setReference:w,setFloating:g}),[w,g]),N=X(()=>({reference:y,floating:b}),[y,b]),A=X(()=>{const C={position:n,left:0,top:0};if(!N.floating)return C;const z=Do(N.floating,f.x),I=Do(N.floating,f.y);return s?{...C,transform:"translate("+z+"px, "+I+"px)",...To(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:z,top:I}},[n,s,N.floating,f.x,f.y]);return X(()=>({...f,update:H,refs:O,elements:N,floatingStyles:A}),[f,H,O,N,A])}const Ts=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Oo({element:r.current,padding:o}).fn(n):{}:r?Oo({element:r,padding:o}).fn(n):{}}}},Ds=(e,t)=>({...ks(e),options:[e,t]}),Rs=(e,t)=>({...Es(e),options:[e,t]}),Ns=(e,t)=>({...As(e),options:[e,t]}),Ls=(e,t)=>({...Ss(e),options:[e,t]}),Fs=(e,t)=>({...Cs(e),options:[e,t]}),Ms=(e,t)=>({...Ps(e),options:[e,t]}),Is=(e,t)=>({...Ts(e),options:[e,t]});function Us(e){const[t,n]=L(void 0);return Ie(()=>{if(e){n({width:e.offsetWidth,height:e.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=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const No="Popper",[Lo,Fo]=ao(No),[Ws,Mo]=Lo(No),Hs=e=>{const{__scopePopper:t,children:n}=e,[r,o]=L(null);return $(Ws,{scope:t,anchor:r,onAnchorChange:o},n)},zs="PopperAnchor",Bs=Y((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Mo(zs,n),a=T(null),s=je(t,a);return F(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:$(Me.div,q({},o,{ref:s}))}),Io="PopperContent",[Vs,Ql]=Lo(Io),Ys=Y((e,t)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:f,side:c="bottom",sideOffset:v=0,align:p="center",alignOffset:h=0,arrowPadding:d=0,avoidCollisions:m=!0,collisionBoundary:_=[],collisionPadding:w=0,sticky:g="partial",hideWhenDetached:y=!1,updatePositionStrategy:b="optimized",onPlaced:S,...j}=e,E=Mo(Io,f),[P,D]=L(null),U=je(t,ht=>D(ht)),[H,W]=L(null),O=Us(H),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,C=c+(p!=="center"?"-"+p:""),z=typeof w=="number"?w:{top:0,right:0,bottom:0,left:0,...w},I=Array.isArray(_)?_:[_],Z=I.length>0,ke={padding:z,boundary:I.filter(qs),altBoundary:Z},{refs:Qe,floatingStyles:Ti,placement:Il,isPositioned:Vt,middlewareData:Je}=Os({strategy:"fixed",placement:C,whileElementsMounted:(...ht)=>$s(...ht,{animationFrame:b==="always"}),elements:{reference:E.anchor},middleware:[Ds({mainAxis:v+A,alignmentAxis:h}),m&&Rs({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?Ns():void 0,...ke}),m&&Ls({...ke}),Fs({...ke,apply:({elements:ht,rects:Ri,availableWidth:Yl,availableHeight:ql})=>{const{width:Kl,height:Xl}=Ri.reference,qt=ht.floating.style;qt.setProperty("--radix-popper-available-width",`${Yl}px`),qt.setProperty("--radix-popper-available-height",`${ql}px`),qt.setProperty("--radix-popper-anchor-width",`${Kl}px`),qt.setProperty("--radix-popper-anchor-height",`${Xl}px`)}}),H&&Is({element:H,padding:d}),Ks({arrowWidth:N,arrowHeight:A}),y&&Ms({strategy:"referenceHidden",...ke})]}),[Di,Ul]=Uo(Il),Yt=me(S);Ie(()=>{Vt&&(Yt==null||Yt())},[Vt,Yt]);const Wl=(o=Je.arrow)===null||o===void 0?void 0:o.x,Hl=(i=Je.arrow)===null||i===void 0?void 0:i.y,zl=((a=Je.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Bl,Vl]=L();return Ie(()=>{P&&Vl(window.getComputedStyle(P).zIndex)},[P]),$("div",{ref:Qe.setFloating,"data-radix-popper-content-wrapper":"",style:{...Ti,transform:Vt?Ti.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Bl,"--radix-popper-transform-origin":[(s=Je.transformOrigin)===null||s===void 0?void 0:s.x,(l=Je.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},$(Vs,{scope:f,placedSide:Di,onArrowChange:W,arrowX:Wl,arrowY:Hl,shouldHideArrow:zl},$(Me.div,q({"data-side":Di,"data-align":Ul},j,{ref:U,style:{...j.style,animation:Vt?void 0:"none",opacity:(u=Je.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function qs(e){return e!==null}const Ks=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:u}=t,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,v=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[h,d]=Uo(s),m={start:"0%",center:"50%",end:"100%"}[d],_=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+v/2,w=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+p/2;let g="",y="";return h==="bottom"?(g=c?m:`${_}px`,y=`${-p}px`):h==="top"?(g=c?m:`${_}px`,y=`${l.floating.height+p}px`):h==="right"?(g=`${-p}px`,y=c?m:`${w}px`):h==="left"&&(g=`${l.floating.width+p}px`,y=c?m:`${w}px`),{data:{x:g,y}}}});function Uo(e){const[t,n="center"]=e.split("-");return[t,n]}const Xs=Hs,Zs=Bs,Gs=Ys,Qs=Y((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?oo.createPortal($(Me.div,q({},o,{ref:t})),r):null});function Js(e,t){return bt((n,r)=>{const o=t[n][r];return o??n},e)}const En=e=>{const{present:t,children:n}=e,r=ec(t),o=typeof n=="function"?n({present:r.isPresent}):ue.only(n),i=je(r.ref,o.ref);return typeof n=="function"||r.isPresent?Fe(o,{ref:i}):null};En.displayName="Presence";function ec(e){const[t,n]=L(),r=T({}),o=T(e),i=T("none"),a=e?"mounted":"unmounted",[s,l]=Js(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return F(()=>{const u=Tt(r.current);i.current=s==="mounted"?u:"none"},[s]),Ie(()=>{const u=r.current,f=o.current;if(f!==e){const v=i.current,p=Tt(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(f&&v!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Ie(()=>{if(t){const u=c=>{const p=Tt(r.current).includes(c.animationName);c.target===t&&p&&at(()=>l("ANIMATION_END"))},f=c=>{c.target===t&&(i.current=Tt(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:V(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Tt(e){return(e==null?void 0:e.animationName)||"none"}function tc({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=nc({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=me(n),l=V(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else o(u)},[i,e,o,s]);return[a,l]}function nc({defaultProp:e,onChange:t}){const n=L(e),[r]=n,o=T(r),i=me(t);return F(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var rc=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Be=new WeakMap,Dt=new WeakMap,Rt={},Sn=0,Wo=function(e){return e&&(e.host||Wo(e.parentNode))},oc=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Wo(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},ic=function(e,t,n,r){var o=oc(t,Array.isArray(e)?e:[e]);Rt[n]||(Rt[n]=new WeakMap);var i=Rt[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 f=function(c){!c||l.has(c)||Array.prototype.forEach.call(c.children,function(v){if(s.has(v))f(v);else try{var p=v.getAttribute(r),h=p!==null&&p!=="false",d=(Be.get(v)||0)+1,m=(i.get(v)||0)+1;Be.set(v,d),i.set(v,m),a.push(v),d===1&&h&&Dt.set(v,!0),m===1&&v.setAttribute(n,"true"),h||v.setAttribute(r,"true")}catch(_){console.error("aria-hidden: cannot operate on ",v,_)}})};return f(t),s.clear(),Sn++,function(){a.forEach(function(c){var v=Be.get(c)-1,p=i.get(c)-1;Be.set(c,v),i.set(c,p),v||(Dt.has(c)||c.removeAttribute(r),Dt.delete(c)),p||c.removeAttribute(n)}),Sn--,Sn||(Be=new WeakMap,Be=new WeakMap,Dt=new WeakMap,Rt={})}},ac=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||rc(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),ic(r,o,n,"aria-hidden")):function(){return null}},ie=function(){return ie=Object.assign||function(t){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)&&(t[i]=n[i])}return t},ie.apply(this,arguments)};function Ho(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function sc(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Nt="right-scroll-bar-position",Lt="width-before-scroll-bar",cc="with-scroll-bars-hidden",lc="--removed-body-scroll-bar-size";function Cn(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function uc(e,t){var n=L(function(){return{value:e,callback:t,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=t,n.facade}var fc=typeof window<"u"?_e:F,zo=new WeakMap;function dc(e,t){var n=uc(t||null,function(r){return e.forEach(function(o){return Cn(o,r)})});return fc(function(){var r=zo.get(n);if(r){var o=new Set(r),i=new Set(e),a=n.current;o.forEach(function(s){i.has(s)||Cn(s,null)}),i.forEach(function(s){o.has(s)||Cn(s,a)})}zo.set(n,e)},[e]),n}function pc(e){return e}function hc(e,t){t===void 0&&(t=pc);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]:e},useMedium:function(i){var a=t(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 f=a;a=[],f.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(f){a.push(f),u()},filter:function(f){return a=a.filter(f),n}}}};return o}function vc(e){e===void 0&&(e={});var t=hc(null);return t.options=ie({async:!0,ssr:!1},e),t}var Bo=function(e){var t=e.sideCar,n=Ho(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return $(r,ie({},n))};Bo.isSideCarExport=!0;function _c(e,t){return e.useMedium(t),Bo}var Vo=vc(),Pn=function(){},Ft=Y(function(e,t){var n=T(null),r=L({onScrollCapture:Pn,onWheelCapture:Pn,onTouchMoveCapture:Pn}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,f=e.enabled,c=e.shards,v=e.sideCar,p=e.noIsolation,h=e.inert,d=e.allowPinchZoom,m=e.as,_=m===void 0?"div":m,w=Ho(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),g=v,y=dc([n,t]),b=ie(ie({},w),o);return $(B,null,f&&$(g,{sideCar:Vo,removeScrollBar:u,shards:c,noIsolation:p,inert:h,setCallbacks:i,allowPinchZoom:!!d,lockRef:n}),a?Fe(ue.only(s),ie(ie({},b),{ref:y})):$(_,ie({},b,{className:l,ref:y}),s))});Ft.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Ft.classNames={fullWidth:Lt,zeroRight:Nt};var Yo,mc=function(){if(Yo)return Yo;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function wc(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=mc();return t&&e.setAttribute("nonce",t),e}function gc(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function yc(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var bc=function(){var e=0,t=null;return{add:function(n){e==0&&(t=wc())&&(gc(t,n),yc(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},xc=function(){var e=bc();return function(t,n){F(function(){return e.add(t),function(){e.remove()}},[t&&n])}},qo=function(){var e=xc(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},$c={left:0,top:0,right:0,gap:0},An=function(e){return parseInt(e||"",10)||0},kc=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[An(n),An(r),An(o)]},Ec=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return $c;var t=kc(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Sc=qo(),Ve="data-scroll-locked",Cc=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
2
- .`.concat(cc,` {
1
+ (function(){"use strict";function Ui(e,t){if(!e)throw new Error(t)}var Wi=e=>e;function Hi(){return{"~standard":{vendor:"inploi",version:1,validate:e=>({value:e})}}}function ru(e){return e}var nt,$,nr,rr,Se,or,ir,ar,sr,qt,Xt,Zt,cr,rt={},lr=[],zi=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,wt=Array.isArray;function se(e,t){for(var n in t)e[n]=t[n];return e}function Gt(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function x(e,t,n){var r,o,i,a={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?nt.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return ot(e,a,r,o,null)}function ot(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++nr,__i:-1,__u:0};return o==null&&$.vnode!=null&&$.vnode(i),i}function ur(){return{current:null}}function B(e){return e.children}function ee(e,t){this.props=e,this.context=t}function Te(e,t){if(t==null)return e.__?Te(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?Te(e):null}function fr(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return fr(e)}}function Qt(e){(!e.__d&&(e.__d=!0)&&Se.push(e)&&!gt.__r++||or!==$.debounceRendering)&&((or=$.debounceRendering)||ir)(gt)}function gt(){for(var e,t,n,r,o,i,a,s=1;Se.length;)Se.length>s&&Se.sort(ar),e=Se.shift(),s=Se.length,e.__d&&(n=void 0,o=(r=(t=e).__v).__e,i=[],a=[],t.__P&&((n=se({},r)).__v=r.__v+1,$.vnode&&$.vnode(n),Jt(t.__P,n,r,t.__n,t.__P.namespaceURI,32&r.__u?[o]:null,i,o??Te(r),!!(32&r.__u),a),n.__v=r.__v,n.__.__k[n.__i]=n,_r(i,n,a),n.__e!=o&&fr(n)));gt.__r=0}function dr(e,t,n,r,o,i,a,s,c,u,f){var l,p,d,v,h,_,m=r&&r.__k||lr,w=t.length;for(c=Bi(n,t,m,c,w),l=0;l<w;l++)(d=n.__k[l])!=null&&(p=d.__i===-1?rt:m[d.__i]||rt,d.__i=l,_=Jt(e,d,p,o,i,a,s,c,u,f),v=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&en(p.ref,null,d),f.push(d.ref,d.__c||v,d)),h==null&&v!=null&&(h=v),4&d.__u||p.__k===d.__k?c=pr(d,c,e):typeof d.type=="function"&&_!==void 0?c=_:v&&(c=v.nextSibling),d.__u&=-7);return n.__e=h,c}function Bi(e,t,n,r,o){var i,a,s,c,u,f=n.length,l=f,p=0;for(e.__k=new Array(o),i=0;i<o;i++)(a=t[i])!=null&&typeof a!="boolean"&&typeof a!="function"?(c=i+p,(a=e.__k[i]=typeof a=="string"||typeof a=="number"||typeof a=="bigint"||a.constructor==String?ot(null,a,null,null,null):wt(a)?ot(B,{children:a},null,null,null):a.constructor===void 0&&a.__b>0?ot(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):a).__=e,a.__b=e.__b+1,s=null,(u=a.__i=Vi(a,n,c,l))!==-1&&(l--,(s=n[u])&&(s.__u|=2)),s==null||s.__v===null?(u==-1&&(o>f?p--:o<f&&p++),typeof a.type!="function"&&(a.__u|=4)):u!=c&&(u==c-1?p--:u==c+1?p++:(u>c?p--:p++,a.__u|=4))):e.__k[i]=null;if(l)for(i=0;i<f;i++)(s=n[i])!=null&&!(2&s.__u)&&(s.__e==r&&(r=Te(s)),mr(s,s));return r}function pr(e,t,n){var r,o;if(typeof e.type=="function"){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=pr(r[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=Te(e)),n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function ce(e,t){return t=t||[],e==null||typeof e=="boolean"||(wt(e)?e.some(function(n){ce(n,t)}):t.push(e)),t}function Vi(e,t,n,r){var o,i,a=e.key,s=e.type,c=t[n];if(c===null&&e.key==null||c&&a==c.key&&s===c.type&&!(2&c.__u))return n;if(r>(c!=null&&!(2&c.__u)?1:0))for(o=n-1,i=n+1;o>=0||i<t.length;){if(o>=0){if((c=t[o])&&!(2&c.__u)&&a==c.key&&s===c.type)return o;o--}if(i<t.length){if((c=t[i])&&!(2&c.__u)&&a==c.key&&s===c.type)return i;i++}}return-1}function hr(e,t,n){t[0]=="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||zi.test(t)?n:n+"px"}function yt(e,t,n,r,o){var i;e:if(t=="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||hr(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||hr(e.style,t,n[t])}else if(t[0]=="o"&&t[1]=="n")i=t!=(t=t.replace(sr,"$1")),t=t.toLowerCase()in e||t=="onFocusOut"||t=="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=qt,e.addEventListener(t,i?Zt:Xt,i)):e.removeEventListener(t,i?Zt:Xt,i);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function vr(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=qt++;else if(t.t<n.u)return;return n($.event?$.event(t):t)}}}function Jt(e,t,n,r,o,i,a,s,c,u){var f,l,p,d,v,h,_,m,w,y,g,b,C,A,E,D,R,W,O=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(c=!!(32&n.__u),i=[s=t.__e=n.__e]),(f=$.__b)&&f(t);e:if(typeof O=="function")try{if(m=t.props,w="prototype"in O&&O.prototype.render,y=(f=O.contextType)&&r[f.__c],g=f?y?y.props.value:f.__:r,n.__c?_=(l=t.__c=n.__c).__=l.__E:(w?t.__c=l=new O(m,g):(t.__c=l=new ee(m,g),l.constructor=O,l.render=Ki),y&&y.sub(l),l.props=m,l.state||(l.state={}),l.context=g,l.__n=r,p=l.__d=!0,l.__h=[],l._sb=[]),w&&l.__s==null&&(l.__s=l.state),w&&O.getDerivedStateFromProps!=null&&(l.__s==l.state&&(l.__s=se({},l.__s)),se(l.__s,O.getDerivedStateFromProps(m,l.__s))),d=l.props,v=l.state,l.__v=t,p)w&&O.getDerivedStateFromProps==null&&l.componentWillMount!=null&&l.componentWillMount(),w&&l.componentDidMount!=null&&l.__h.push(l.componentDidMount);else{if(w&&O.getDerivedStateFromProps==null&&m!==d&&l.componentWillReceiveProps!=null&&l.componentWillReceiveProps(m,g),!l.__e&&(l.shouldComponentUpdate!=null&&l.shouldComponentUpdate(m,l.__s,g)===!1||t.__v==n.__v)){for(t.__v!=n.__v&&(l.props=m,l.state=l.__s,l.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(U){U&&(U.__=t)}),b=0;b<l._sb.length;b++)l.__h.push(l._sb[b]);l._sb=[],l.__h.length&&a.push(l);break e}l.componentWillUpdate!=null&&l.componentWillUpdate(m,l.__s,g),w&&l.componentDidUpdate!=null&&l.__h.push(function(){l.componentDidUpdate(d,v,h)})}if(l.context=g,l.props=m,l.__P=e,l.__e=!1,C=$.__r,A=0,w){for(l.state=l.__s,l.__d=!1,C&&C(t),f=l.render(l.props,l.state,l.context),E=0;E<l._sb.length;E++)l.__h.push(l._sb[E]);l._sb=[]}else do l.__d=!1,C&&C(t),f=l.render(l.props,l.state,l.context),l.state=l.__s;while(l.__d&&++A<25);l.state=l.__s,l.getChildContext!=null&&(r=se(se({},r),l.getChildContext())),w&&!p&&l.getSnapshotBeforeUpdate!=null&&(h=l.getSnapshotBeforeUpdate(d,v)),R=(D=f!=null&&f.type===B&&f.key==null)?f.props.children:f,D&&(f.props.children=null),s=dr(e,wt(R)?R:[R],t,n,r,o,i,a,s,c,u),l.base=t.__e,t.__u&=-161,l.__h.length&&a.push(l),_&&(l.__E=l.__=null)}catch(U){if(t.__v=null,c||i!=null)if(U.then){for(t.__u|=c?160:128;s&&s.nodeType==8&&s.nextSibling;)s=s.nextSibling;i[i.indexOf(s)]=null,t.__e=s}else for(W=i.length;W--;)Gt(i[W]);else t.__e=n.__e,t.__k=n.__k;$.__e(U,t,n)}else i==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):s=t.__e=Yi(n.__e,t,n,r,o,i,a,c,u);return(f=$.diffed)&&f(t),128&t.__u?void 0:s}function _r(e,t,n){for(var r=0;r<n.length;r++)en(n[r],n[++r],n[++r]);$.__c&&$.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){$.__e(i,o.__v)}})}function Yi(e,t,n,r,o,i,a,s,c){var u,f,l,p,d,v,h,_=n.props,m=t.props,w=t.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((d=i[u])&&"setAttribute"in d==!!w&&(w?d.localName==w:d.nodeType==3)){e=d,i[u]=null;break}}if(e==null){if(w==null)return document.createTextNode(m);e=document.createElementNS(o,w,m.is&&m),s&&($.__m&&$.__m(t,i),s=!1),i=null}if(w===null)_===m||s&&e.data===m||(e.data=m);else{if(i=i&&nt.call(e.childNodes),_=n.props||rt,!s&&i!=null)for(_={},u=0;u<e.attributes.length;u++)_[(d=e.attributes[u]).name]=d.value;for(u in _)if(d=_[u],u!="children"){if(u=="dangerouslySetInnerHTML")l=d;else if(!(u in m)){if(u=="value"&&"defaultValue"in m||u=="checked"&&"defaultChecked"in m)continue;yt(e,u,null,d,o)}}for(u in m)d=m[u],u=="children"?p=d:u=="dangerouslySetInnerHTML"?f=d:u=="value"?v=d:u=="checked"?h=d:s&&typeof d!="function"||_[u]===d||yt(e,u,d,_[u],o);if(f)s||l&&(f.__html===l.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(l&&(e.innerHTML=""),dr(t.type==="template"?e.content:e,wt(p)?p:[p],t,n,r,w=="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&Te(n,0),s,c),i!=null)for(u=i.length;u--;)Gt(i[u]);s||(u="value",w=="progress"&&v==null?e.removeAttribute("value"):v!==void 0&&(v!==e[u]||w=="progress"&&!v||w=="option"&&v!==_[u])&&yt(e,u,v,_[u],o),u="checked",h!==void 0&&h!==e[u]&&yt(e,u,h,_[u],o))}return e}function en(e,t,n){try{if(typeof e=="function"){var r=typeof e.__u=="function";r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(o){$.__e(o,n)}}function mr(e,t,n){var r,o;if($.unmount&&$.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||en(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){$.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&mr(r[o],t,n||typeof e.type!="function");n||Gt(e.__e),e.__c=e.__=e.__e=void 0}function Ki(e,t,n){return this.constructor(e,n)}function De(e,t,n){var r,o,i,a;t==document&&(t=document.documentElement),$.__&&$.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],Jt(t,e=(!r&&n||t).__k=x(B,null,[e]),o||rt,rt,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?nt.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),_r(i,e,a)}function tn(e,t){De(e,t,tn)}function qi(e,t,n){var r,o,i,a,s=se({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)i=="key"?r=t[i]:i=="ref"?o=t[i]:s[i]=t[i]===void 0&&a!==void 0?a[i]:t[i];return arguments.length>2&&(s.children=arguments.length>3?nt.call(arguments,2):n),ot(e.type,s,r||e.key,o||e.ref,null)}function Re(e){function t(n){var r,o;return this.getChildContext||(r=new Set,(o={})[t.__c]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&r.forEach(function(a){a.__e=!0,Qt(a)})},this.sub=function(i){r.add(i);var a=i.componentWillUnmount;i.componentWillUnmount=function(){r&&r.delete(i),a&&a.call(i)}}),n.children}return t.__c="__cC"+cr++,t.__=e,t.Provider=t.__l=(t.Consumer=function(n,r){return n.children(r)}).contextType=t,t}nt=lr.slice,$={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(s){e=s}throw e}},nr=0,rr=function(e){return e!=null&&e.constructor==null},ee.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=se({},this.state),typeof e=="function"&&(e=e(se({},n),this.props)),e&&se(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Qt(this))},ee.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Qt(this))},ee.prototype.render=B,Se=[],ir=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ar=function(e,t){return e.__v.__b-t.__v.__b},gt.__r=0,sr=/(PointerCapture)$|Capture$/i,qt=0,Xt=vr(!1),Zt=vr(!0),cr=0;var wr=/[\s\n\\/='"\0<>]/,gr=/^(xlink|xmlns|xml)([A-Z])/,Xi=/^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]/,Zi=/^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/,Gi=/["&<]/;function bt(e){if(e.length===0||Gi.test(e)===!1)return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 60:o="&lt;";break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=o,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var yr={},Qi=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"]),Ji=/[A-Z]/g;function ea(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:yr[n]||(yr[n]=n.replace(Ji,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||Qi.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var nn,Ce,it,at,br=[],xr=Array.isArray,rn=Object.assign;function ta(e,t,n){var r=$.__s;$.__s=!0,nn=$.__b,Ce=$.diffed,it=$.__r,at=$.unmount;var o=x(B,null);o.__k=[e];try{var i=re(e,t||kr,!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(e,br),$.__s=r,br.length=0}}function $r(){this.__d=!0}var kr={};function Er(e,t){var n,r=e.type,o=!0;return e.__c?(o=!1,(n=e.__c).state=n.__s):n=new r(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,n.state==null&&(n.state=kr),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=rn({},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(),it&&it(e),n.render(n.props,n.state,t)}function re(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":bt(e+"");if(xr(e)){var s,c="";o.__k=e;for(var u=0;u<e.length;u++){var f=e[u];if(f!=null&&typeof f!="boolean"){var l,p=re(f,t,n,r,o,i,a);typeof p=="string"?c+=p:(s=s||[],c&&s.push(c),c="",Array.isArray(p)?(l=s).push.apply(l,p):s.push(p))}}return s?(c&&s.push(c),s):c}if(e.constructor!==void 0)return"";e.__=o,nn&&nn(e);var d,v,h,_=e.type,m=e.props,w=t;if(typeof _=="function"){if(_===B){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&&!xr(b)?y+=b:y+=re(b,t,n,r,e,i,a)}return y}if(m.UNSTABLE_comment)return"<!--"+bt(m.UNSTABLE_comment||"")+"-->";v=m.children}else{if((d=_.contextType)!=null){var C=t[d.__c];w=C?C.props.value:d.__}if(_.prototype&&typeof _.prototype.render=="function")v=Er(e,w),h=e.__c;else{e.__c=h={__v:e,props:m,context:w,setState:$r,forceUpdate:$r,__d:!0,__h:[]};for(var A=0;h.__d&&A++<25;)h.__d=!1,it&&it(e),v=_.call(h,m,w);h.__d=!0}if(h.getChildContext!=null&&(t=rn({},t,h.getChildContext())),(_.getDerivedStateFromError||h.componentDidCatch)&&$.errorBoundaries){var E="";v=v!=null&&v.type===B&&v.key==null?v.props.children:v;try{return E=re(v,t,n,r,e,i,a)}catch(G){return _.getDerivedStateFromError&&(h.__s=_.getDerivedStateFromError(G)),h.componentDidCatch&&h.componentDidCatch(G,{}),h.__d&&(v=Er(e,t),(h=e.__c).getChildContext!=null&&(t=rn({},t,h.getChildContext())),E=re(v=v!=null&&v.type===B&&v.key==null?v.props.children:v,t,n,r,e,i,a)),E}finally{Ce&&Ce(e),e.__=null,at&&at(e)}}}v=v!=null&&v.type===B&&v.key==null&&v.props.tpl==null?v.props.children:v;try{var D=re(v,t,n,r,e,i,a);return Ce&&Ce(e),e.__=null,$.unmount&&$.unmount(e),D}catch(G){if(!i&&a&&a.onError){var R=a.onError(G,e,function(Ee){return re(Ee,t,n,r,e,i,a)});if(R!==void 0)return R;var W=$.__e;return W&&W(G,e),""}if(!i||!G||typeof G.then!="function")throw G;var O=function Ee(){try{return re(v,t,n,r,e,i,a)}catch(et){if(!et||typeof et.then!="function")throw et;return et.then(function(){return re(v,t,n,r,e,i,a)},function(){return Ee()})}};return G.then(function(){return O()})}}var U,j="<"+_,M="";for(var P in m){var S=m[P];switch(P){case"children":U=S;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in m)continue;P="for";break;case"className":if("class"in m)continue;P="class";break;case"defaultChecked":P="checked";break;case"defaultSelected":P="selected";break;case"defaultValue":case"value":switch(P="value",_){case"textarea":U=S;continue;case"select":r=S;continue;case"option":r!=S||"selected"in m||(j+=" selected")}break;case"dangerouslySetInnerHTML":M=S&&S.__html;continue;case"style":typeof S=="object"&&(S=ea(S));break;case"acceptCharset":P="accept-charset";break;case"httpEquiv":P="http-equiv";break;default:if(gr.test(P))P=P.replace(gr,"$1:$2").toLowerCase();else{if(wr.test(P))continue;P[4]!=="-"&&P!=="draggable"||S==null?n?Zi.test(P)&&(P=P==="panose1"?"panose-1":P.replace(/([A-Z])/g,"-$1").toLowerCase()):Xi.test(P)&&(P=P.toLowerCase()):S+=""}}S!=null&&S!==!1&&typeof S!="function"&&(j=S===!0||S===""?j+" "+P:j+" "+P+'="'+bt(S+"")+'"')}if(wr.test(_))throw new Error(_+" is not a valid HTML tag name in "+j+">");if(M||(typeof U=="string"?M=bt(U):U!=null&&U!==!1&&U!==!0&&(M=re(U,t,_==="svg"||_!=="foreignObject"&&n,r,e,i,a))),Ce&&Ce(e),e.__=null,at&&at(e),!M&&na.has(_))return j+"/>";var Y="</"+_+">",z=j+">";return Array.isArray(M)?[z].concat(M,[Y]):typeof M!="string"?[z,M,Y]:z+M+Y}var na=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),ra=0;function k(e,t,n,r,o,i){t||(t={});var a,s,c=t;if("ref"in c)for(s in c={},t)s=="ref"?a=t[s]:c[s]=t[s];var u={type:e,props:c,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--ra,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)c[s]===void 0&&(c[s]=a[s]);return $.vnode&&$.vnode(u),u}const oa={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"})},ia=({theme:e})=>k("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:k("defs",{children:Object.entries(oa).map(([t,n])=>k("symbol",{id:`i-icon-${t}`,children:k("g",{fill:"none","stroke-width":e.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),Sr=({name:e,...t})=>k("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:k("use",{href:`#i-icon-${e}`})});function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},q.apply(this,arguments)}var le,N,on,Cr,Ne=0,Pr=[],H=$,Ar=H.__b,jr=H.__r,Or=H.diffed,Tr=H.__c,Dr=H.unmount,Rr=H.__;function Pe(e,t){H.__h&&H.__h(N,e,Ne||t),Ne=0;var n=N.__H||(N.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function L(e){return Ne=1,st(Lr,e)}function st(e,t,n){var r=Pe(le++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Lr(void 0,t),function(s){var c=r.__N?r.__N[0]:r.__[0],u=r.t(c,s);c!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=N,!N.__f)){var o=function(s,c,u){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(p){return!!p.__c});if(f.every(function(p){return!p.__N}))return!i||i.call(this,s,c,u);var l=r.__c.props!==s;return f.forEach(function(p){if(p.__N){var d=p.__[0];p.__=p.__N,p.__N=void 0,d!==p.__[0]&&(l=!0)}}),i&&i.call(this,s,c,u)||l};N.__f=!0;var i=N.shouldComponentUpdate,a=N.componentWillUpdate;N.componentWillUpdate=function(s,c,u){if(this.__e){var f=i;i=void 0,o(s,c,u),i=f}a&&a.call(this,s,c,u)},N.shouldComponentUpdate=o}return r.__N||r.__}function I(e,t){var n=Pe(le++,3);!H.__s&&un(n.__H,t)&&(n.__=e,n.u=t,N.__H.__h.push(n))}function ue(e,t){var n=Pe(le++,4);!H.__s&&un(n.__H,t)&&(n.__=e,n.u=t,N.__h.push(n))}function T(e){return Ne=5,X(function(){return{current:e}},[])}function an(e,t,n){Ne=6,ue(function(){if(typeof e=="function"){var r=e(t());return function(){e(null),r&&typeof r=="function"&&r()}}if(e)return e.current=t(),function(){return e.current=null}},n==null?n:n.concat(e))}function X(e,t){var n=Pe(le++,7);return un(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function V(e,t){return Ne=8,X(function(){return e},t)}function Le(e){var t=N.context[e.__c],n=Pe(le++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(N)),t.props.value):e.__}function sn(e,t){H.useDebugValue&&H.useDebugValue(t?t(e):e)}function aa(e){var t=Pe(le++,10),n=L();return t.__=e,N.componentDidCatch||(N.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function cn(){var e=Pe(le++,11);if(!e.__){for(var t=N.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function sa(){for(var e;e=Pr.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(xt),e.__H.__h.forEach(ln),e.__H.__h=[]}catch(t){e.__H.__h=[],H.__e(t,e.__v)}}H.__b=function(e){N=null,Ar&&Ar(e)},H.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Rr&&Rr(e,t)},H.__r=function(e){jr&&jr(e),le=0;var t=(N=e.__c).__H;t&&(on===N?(t.__h=[],N.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(t.__h.forEach(xt),t.__h.forEach(ln),t.__h=[],le=0)),on=N},H.diffed=function(e){Or&&Or(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Pr.push(t)!==1&&Cr===H.requestAnimationFrame||((Cr=H.requestAnimationFrame)||ca)(sa)),t.__H.__.forEach(function(n){n.u&&(n.__H=n.u),n.u=void 0})),on=N=null},H.__c=function(e,t){t.some(function(n){try{n.__h.forEach(xt),n.__h=n.__h.filter(function(r){return!r.__||ln(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],H.__e(r,n.__v)}}),Tr&&Tr(e,t)},H.unmount=function(e){Dr&&Dr(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{xt(r)}catch(o){t=o}}),n.__H=void 0,t&&H.__e(t,n.__v))};var Nr=typeof requestAnimationFrame=="function";function ca(e){var t,n=function(){clearTimeout(r),Nr&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Nr&&(t=requestAnimationFrame(n))}function xt(e){var t=N,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),N=t}function ln(e){var t=N;e.__c=e.__(),N=t}function un(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Lr(e,t){return typeof t=="function"?t(e):t}function Fr(e,t){for(var n in t)e[n]=t[n];return e}function fn(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function dn(e,t){var n=t(),r=L({t:{__:n,u:t}}),o=r[0].t,i=r[1];return ue(function(){o.__=n,o.u=t,pn(o)&&i({t:o})},[e,n,t]),I(function(){return pn(o)&&i({t:o}),e(function(){pn(o)&&i({t:o})})},[e]),n}function pn(e){var t,n,r=e.u,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}function hn(e){e()}function vn(e){return e}function _n(){return[!1,hn]}var mn=ue;function $t(e,t){this.props=e,this.context=t}function Mr(e,t){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a:fn(this.props,o)}function r(o){return this.shouldComponentUpdate=n,x(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}($t.prototype=new ee).isPureReactComponent=!0,$t.prototype.shouldComponentUpdate=function(e,t){return fn(this.props,e)||fn(this.state,t)};var Ir=$.__b;$.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ir&&Ir(e)};var la=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function K(e){function t(n){var r=Fr({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=la,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Ur=function(e,t){return e==null?null:ce(ce(e).map(t))},fe={map:Ur,forEach:Ur,count:function(e){return e?ce(e).length:0},only:function(e){var t=ce(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:ce},ua=$.__e;$.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}ua(e,t,n,r)};var Wr=$.unmount;function Hr(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=Fr({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Hr(r,t,n)})),e}function zr(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return zr(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function ct(){this.__u=0,this.o=null,this.__b=null}function Br(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Vr(e){var t,n,r;function o(i){if(t||(t=e()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw t;return x(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Fe(){this.i=null,this.l=null}$.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Wr&&Wr(e)},(ct.prototype=new ee).__c=function(e,t){var n=t.__c,r=this;r.o==null&&(r.o=[]),r.o.push(n);var o=Br(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 c=r.state.__a;r.__v.__k[0]=zr(c,c.__c.__P,c.__c.__O)}var u;for(r.setState({__a:r.__b=null});u=r.o.pop();)u.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},ct.prototype.componentWillUnmount=function(){this.o=[]},ct.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Hr(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&x(B,null,e.fallback);return o&&(o.__u&=-33),[x(B,null,t.__a?null:e.children),o]};var Yr=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function fa(e){return this.getChildContext=function(){return e.context},e.children}function da(e){var t=this,n=e.h;t.componentWillUnmount=function(){De(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),t.v||(t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.h.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.h.insertBefore(r,o)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.h.removeChild(r)}}),De(x(fa,{context:t.context},e.__v),t.v)}function Kr(e,t){var n=x(da,{__v:e,h:t});return n.containerInfo=t,n}(Fe.prototype=new ee).__a=function(e){var t=this,n=Br(t.__v),r=t.l.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Yr(t,e,r)):o()};n?n(i):i()}},Fe.prototype.render=function(e){this.i=null,this.l=new Map;var t=ce(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},Fe.prototype.componentDidUpdate=Fe.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){Yr(e,n,t)})};var qr=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,pa=/^(?: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]/,ha=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,va=/[A-Z0-9]/g,_a=typeof document<"u",ma=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Xr(e,t,n){return t.__k==null&&(t.textContent=""),De(e,t),typeof n=="function"&&n(),e?e.__c:null}function Zr(e,t,n){return tn(e,t),typeof n=="function"&&n(),e?e.__c:null}ee.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ee.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Gr=$.event;function wa(){}function ga(){return this.cancelBubble}function ya(){return this.defaultPrevented}$.event=function(e){return Gr&&(e=Gr(e)),e.persist=wa,e.isPropagationStopped=ga,e.isDefaultPrevented=ya,e.nativeEvent=e};var wn,ba={enumerable:!1,configurable:!0,get:function(){return this.class}},Qr=$.vnode;$.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={},i=r.indexOf("-")===-1;for(var a in n){var s=n[a];if(!(a==="value"&&"defaultValue"in n&&s==null||_a&&a==="children"&&r==="noscript"||a==="class"||a==="className")){var c=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&s===!0?s="":c==="translate"&&s==="no"?s=!1:c[0]==="o"&&c[1]==="n"?c==="ondoubleclick"?a="ondblclick":c!=="onchange"||r!=="input"&&r!=="textarea"||ma(n.type)?c==="onfocus"?a="onfocusin":c==="onblur"?a="onfocusout":ha.test(a)&&(a=c):c=a="oninput":i&&pa.test(a)?a=a.replace(va,"-$&").toLowerCase():s===null&&(s=void 0),c==="oninput"&&o[a=c]&&(a="oninputCapture"),o[a]=s}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=ce(n.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=ce(n.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",ba)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=qr,Qr&&Qr(e)};var Jr=$.__r;$.__r=function(e){Jr&&Jr(e),wn=e.__c};var eo=$.diffed;$.diffed=function(e){eo&&eo(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),wn=null};var to={ReactCurrentDispatcher:{current:{readContext:function(e){return wn.__n[e.__c].props.value},useCallback:V,useContext:Le,useDebugValue:sn,useDeferredValue:vn,useEffect:I,useId:cn,useImperativeHandle:an,useInsertionEffect:mn,useLayoutEffect:ue,useMemo:X,useReducer:st,useRef:T,useState:L,useSyncExternalStore:dn,useTransition:_n}}},xa="18.3.1";function no(e){return x.bind(null,e)}function de(e){return!!e&&e.$$typeof===qr}function ro(e){return de(e)&&e.type===B}function oo(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Me(e){return de(e)?qi.apply(null,arguments):e}function io(e){return!!e.__k&&(De(null,e),!0)}function ao(e){return e&&(e.base||e.nodeType===1&&e)||null}var so=function(e,t){return e(t)},lt=function(e,t){return e(t)},co=B,lo=de,uo={useState:L,useId:cn,useReducer:st,useEffect:I,useLayoutEffect:ue,useInsertionEffect:mn,useTransition:_n,useDeferredValue:vn,useSyncExternalStore:dn,startTransition:hn,useRef:T,useImperativeHandle:an,useMemo:X,useCallback:V,useContext:Le,useDebugValue:sn,version:"18.3.1",Children:fe,render:Xr,hydrate:Zr,unmountComponentAtNode:io,createPortal:Kr,createElement:x,createContext:Re,createFactory:no,cloneElement:Me,createRef:ur,Fragment:B,isValidElement:de,isElement:lo,isFragment:ro,isMemo:oo,findDOMNode:ao,Component:ee,PureComponent:$t,memo:Mr,forwardRef:K,flushSync:lt,unstable_batchedUpdates:so,StrictMode:co,Suspense:ct,SuspenseList:Fe,lazy:Vr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:to};const $a=Object.freeze(Object.defineProperty({__proto__:null,Children:fe,Component:ee,Fragment:B,PureComponent:$t,StrictMode:co,Suspense:ct,SuspenseList:Fe,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:to,cloneElement:Me,createContext:Re,createElement:x,createFactory:no,createPortal:Kr,createRef:ur,default:uo,findDOMNode:ao,flushSync:lt,forwardRef:K,hydrate:Zr,isElement:lo,isFragment:ro,isMemo:oo,isValidElement:de,lazy:Vr,memo:Mr,render:Xr,startTransition:hn,unmountComponentAtNode:io,unstable_batchedUpdates:so,useCallback:V,useContext:Le,useDebugValue:sn,useDeferredValue:vn,useEffect:I,useErrorBoundary:aa,useId:cn,useImperativeHandle:an,useInsertionEffect:mn,useLayoutEffect:ue,useMemo:X,useReducer:st,useRef:T,useState:L,useSyncExternalStore:dn,useTransition:_n,version:xa},Symbol.toStringTag,{value:"Module"}));function Ae(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function ka(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function fo(...e){return t=>e.forEach(n=>ka(n,t))}function je(...e){return V(fo(...e),e)}function po(e,t=[]){let n=[];function r(i,a){const s=Re(a),c=n.length;n=[...n,a];function u(l){const{scope:p,children:d,...v}=l,h=(p==null?void 0:p[e][c])||s,_=X(()=>v,Object.values(v));return x(h.Provider,{value:_},d)}function f(l,p){const d=(p==null?void 0:p[e][c])||s,v=Le(d);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${l}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,f]}const o=()=>{const i=n.map(a=>Re(a));return function(s){const c=(s==null?void 0:s[e])||i;return X(()=>({[`__scope${e}`]:{...s,[e]:c}}),[s,c])}};return o.scopeName=e,[r,Ea(o,...t)]}function Ea(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:c,scopeName:u})=>{const l=c(i)[`__scope${u}`];return{...s,...l}},{});return X(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const gn=K((e,t)=>{const{children:n,...r}=e,o=fe.toArray(n),i=o.find(Ca);if(i){const a=i.props.children,s=o.map(c=>c===i?fe.count(a)>1?fe.only(null):de(a)?a.props.children:null:c);return x(yn,q({},r,{ref:t}),de(a)?Me(a,void 0,s):null)}return x(yn,q({},r,{ref:t}),n)});gn.displayName="Slot";const yn=K((e,t)=>{const{children:n,...r}=e;return de(n)?Me(n,{...Pa(r,n.props),ref:t?fo(t,n.ref):n.ref}):fe.count(n)>1?fe.only(null):null});yn.displayName="SlotClone";const Sa=({children:e})=>x(B,null,e);function Ca(e){return de(e)&&e.type===Sa}function Pa(e,t){const n={...t};for(const r in t){const o=e[r],i=t[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{...e,...n}}const Ie=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=K((r,o)=>{const{asChild:i,...a}=r,s=i?gn:t;return I(()=>{window[Symbol.for("radix-ui")]=!0},[]),x(s,q({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Aa(e,t){e&&lt(()=>e.dispatchEvent(t))}function we(e){const t=T(e);return I(()=>{t.current=e}),X(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function ja(e,t=globalThis==null?void 0:globalThis.document){const n=we(e);I(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const bn="dismissableLayer.update",Oa="dismissableLayer.pointerDownOutside",Ta="dismissableLayer.focusOutside";let ho;const Da=Re({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ra=K((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:c,...u}=e,f=Le(Da),[l,p]=L(null),d=(n=l==null?void 0:l.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,v]=L({}),h=je(t,E=>p(E)),_=Array.from(f.layers),[m]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),w=_.indexOf(m),y=l?_.indexOf(l):-1,g=f.layersWithOutsidePointerEventsDisabled.size>0,b=y>=w,C=Na(E=>{const D=E.target,R=[...f.branches].some(W=>W.contains(D));!b||R||(i==null||i(E),s==null||s(E),E.defaultPrevented||c==null||c())},d),A=La(E=>{const D=E.target;[...f.branches].some(W=>W.contains(D))||(a==null||a(E),s==null||s(E),E.defaultPrevented||c==null||c())},d);return ja(E=>{y===f.layers.size-1&&(o==null||o(E),!E.defaultPrevented&&c&&(E.preventDefault(),c()))},d),I(()=>{if(l)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(ho=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(l)),f.layers.add(l),vo(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=ho)}},[l,d,r,f]),I(()=>()=>{l&&(f.layers.delete(l),f.layersWithOutsidePointerEventsDisabled.delete(l),vo())},[l,f]),I(()=>{const E=()=>v({});return document.addEventListener(bn,E),()=>document.removeEventListener(bn,E)},[]),x(Ie.div,q({},u,{ref:h,style:{pointerEvents:g?b?"auto":"none":void 0,...e.style},onFocusCapture:Ae(e.onFocusCapture,A.onFocusCapture),onBlurCapture:Ae(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:Ae(e.onPointerDownCapture,C.onPointerDownCapture)}))});function Na(e,t=globalThis==null?void 0:globalThis.document){const n=we(e),r=T(!1),o=T(()=>{});return I(()=>{const i=s=>{if(s.target&&!r.current){let u=function(){_o(Oa,n,c,{discrete:!0})};const c={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function La(e,t=globalThis==null?void 0:globalThis.document){const n=we(e),r=T(!1);return I(()=>{const o=i=>{i.target&&!r.current&&_o(Ta,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function vo(){const e=new CustomEvent(bn);document.dispatchEvent(e)}function _o(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Aa(o,i):o.dispatchEvent(i)}let xn=0;function Fa(){I(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:mo()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:mo()),xn++,()=>{xn===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),xn--}},[])}function mo(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const $n="focusScope.autoFocusOnMount",kn="focusScope.autoFocusOnUnmount",wo={bubbles:!1,cancelable:!0},Ma=K((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,c]=L(null),u=we(o),f=we(i),l=T(null),p=je(t,h=>c(h)),d=T({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;I(()=>{if(r){let h=function(y){if(d.paused||!s)return;const g=y.target;s.contains(g)?l.current=g:ge(l.current,{select:!0})},_=function(y){if(d.paused||!s)return;const g=y.relatedTarget;g!==null&&(s.contains(g)||ge(l.current,{select:!0}))},m=function(y){if(document.activeElement===document.body)for(const b of y)b.removedNodes.length>0&&ge(s)};document.addEventListener("focusin",h),document.addEventListener("focusout",_);const w=new MutationObserver(m);return s&&w.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",_),w.disconnect()}}},[r,s,d.paused]),I(()=>{if(s){bo.add(d);const h=document.activeElement;if(!s.contains(h)){const m=new CustomEvent($n,wo);s.addEventListener($n,u),s.dispatchEvent(m),m.defaultPrevented||(Ia(Ba(go(s)),{select:!0}),document.activeElement===h&&ge(s))}return()=>{s.removeEventListener($n,u),setTimeout(()=>{const m=new CustomEvent(kn,wo);s.addEventListener(kn,f),s.dispatchEvent(m),m.defaultPrevented||ge(h??document.body,{select:!0}),s.removeEventListener(kn,f),bo.remove(d)},0)}}},[s,u,f,d]);const v=V(h=>{if(!n&&!r||d.paused)return;const _=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,m=document.activeElement;if(_&&m){const w=h.currentTarget,[y,g]=Ua(w);y&&g?!h.shiftKey&&m===g?(h.preventDefault(),n&&ge(y,{select:!0})):h.shiftKey&&m===y&&(h.preventDefault(),n&&ge(g,{select:!0})):m===w&&h.preventDefault()}},[n,r,d.paused]);return x(Ie.div,q({tabIndex:-1},a,{ref:p,onKeyDown:v}))});function Ia(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(ge(r,{select:t}),document.activeElement!==n)return}function Ua(e){const t=go(e),n=yo(t,e),r=yo(t.reverse(),e);return[n,r]}function go(e){const t=[],n=document.createTreeWalker(e,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();)t.push(n.currentNode);return t}function yo(e,t){for(const n of e)if(!Wa(n,{upTo:t}))return n}function Wa(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Ha(e){return e instanceof HTMLInputElement&&"select"in e}function ge(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Ha(e)&&t&&e.select()}}const bo=za();function za(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=xo(e,t),e.unshift(t)},remove(t){var n;e=xo(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function xo(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Ba(e){return e.filter(t=>t.tagName!=="A")}const Ue=globalThis!=null&&globalThis.document?ue:()=>{},Va=$a["useId".toString()]||(()=>{});let Ya=0;function Ka(e){const[t,n]=L(Va());return Ue(()=>{e||n(r=>r??String(Ya++))},[e]),e||(t?`radix-${t}`:"")}const qa=["top","right","bottom","left"],oe=Math.min,Q=Math.max,kt=Math.round,Et=Math.floor,ye=e=>({x:e,y:e}),Xa={left:"right",right:"left",bottom:"top",top:"bottom"},Za={start:"end",end:"start"};function En(e,t,n){return Q(e,oe(t,n))}function pe(e,t){return typeof e=="function"?e(t):e}function he(e){return e.split("-")[0]}function We(e){return e.split("-")[1]}function Sn(e){return e==="x"?"y":"x"}function Cn(e){return e==="y"?"height":"width"}function be(e){return["top","bottom"].includes(he(e))?"y":"x"}function Pn(e){return Sn(be(e))}function Ga(e,t,n){n===void 0&&(n=!1);const r=We(e),o=Pn(e),i=Cn(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=St(a)),[a,St(a)]}function Qa(e){const t=St(e);return[An(e),t,An(t)]}function An(e){return e.replace(/start|end/g,t=>Za[t])}function Ja(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function es(e,t,n,r){const o=We(e);let i=Ja(he(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(An)))),i}function St(e){return e.replace(/left|right|bottom|top/g,t=>Xa[t])}function ts(e){return{top:0,right:0,bottom:0,left:0,...e}}function $o(e){return typeof e!="number"?ts(e):{top:e,right:e,bottom:e,left:e}}function Ct(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function ko(e,t,n){let{reference:r,floating:o}=e;const i=be(t),a=Pn(t),s=Cn(a),c=he(t),u=i==="y",f=r.x+r.width/2-o.width/2,l=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let d;switch(c){case"top":d={x:f,y:r.y-o.height};break;case"bottom":d={x:f,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:l};break;case"left":d={x:r.x-o.width,y:l};break;default:d={x:r.x,y:r.y}}switch(We(t)){case"start":d[a]-=p*(n&&u?-1:1);break;case"end":d[a]+=p*(n&&u?-1:1);break}return d}const ns=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:l}=ko(u,r,c),p=r,d={},v=0;for(let h=0;h<s.length;h++){const{name:_,fn:m}=s[h],{x:w,y,data:g,reset:b}=await m({x:f,y:l,initialPlacement:r,placement:p,strategy:o,middlewareData:d,rects:u,platform:a,elements:{reference:e,floating:t}});f=w??f,l=y??l,d={...d,[_]:{...d[_],...g}},b&&v<=50&&(v++,typeof b=="object"&&(b.placement&&(p=b.placement),b.rects&&(u=b.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:f,y:l}=ko(u,p,c)),h=-1)}return{x:f,y:l,placement:p,strategy:o,middlewareData:d}};async function ut(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:l="floating",altBoundary:p=!1,padding:d=0}=pe(t,e),v=$o(d),_=s[p?l==="floating"?"reference":"floating":l],m=Ct(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:f,strategy:c})),w=l==="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=Ct(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:y,strategy:c}):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 rs=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:c}=t,{element:u,padding:f=0}=pe(e,t)||{};if(u==null)return{};const l=$o(f),p={x:n,y:r},d=Pn(o),v=Cn(d),h=await a.getDimensions(u),_=d==="y",m=_?"top":"left",w=_?"bottom":"right",y=_?"clientHeight":"clientWidth",g=i.reference[v]+i.reference[d]-p[d]-i.floating[v],b=p[d]-i.reference[d],C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let A=C?C[y]:0;(!A||!await(a.isElement==null?void 0:a.isElement(C)))&&(A=s.floating[y]||i.floating[v]);const E=g/2-b/2,D=A/2-h[v]/2-1,R=oe(l[m],D),W=oe(l[w],D),O=R,U=A-h[v]-W,j=A/2-h[v]/2+E,M=En(O,j,U),P=!c.arrow&&We(o)!=null&&j!==M&&i.reference[v]/2-(j<O?R:W)-h[v]/2<0,S=P?j<O?j-O:j-U:0;return{[d]:p[d]+S,data:{[d]:M,centerOffset:j-M-S,...P&&{alignmentOffset:S}},reset:P}}}),os=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:c,elements:u}=t,{mainAxis:f=!0,crossAxis:l=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:h=!0,..._}=pe(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const m=he(o),w=be(s),y=he(s)===s,g=await(c.isRTL==null?void 0:c.isRTL(u.floating)),b=p||(y||!h?[St(s)]:Qa(s)),C=v!=="none";!p&&C&&b.push(...es(s,h,v,g));const A=[s,...b],E=await ut(t,_),D=[];let R=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&D.push(E[m]),l){const j=Ga(o,a,g);D.push(E[j[0]],E[j[1]])}if(R=[...R,{placement:o,overflows:D}],!D.every(j=>j<=0)){var W,O;const j=(((W=i.flip)==null?void 0:W.index)||0)+1,M=A[j];if(M)return{data:{index:j,overflows:R},reset:{placement:M}};let P=(O=R.filter(S=>S.overflows[0]<=0).sort((S,Y)=>S.overflows[1]-Y.overflows[1])[0])==null?void 0:O.placement;if(!P)switch(d){case"bestFit":{var U;const S=(U=R.filter(Y=>{if(C){const z=be(Y.placement);return z===w||z==="y"}return!0}).map(Y=>[Y.placement,Y.overflows.filter(z=>z>0).reduce((z,G)=>z+G,0)]).sort((Y,z)=>Y[1]-z[1])[0])==null?void 0:U[0];S&&(P=S);break}case"initialPlacement":P=s;break}if(o!==P)return{reset:{placement:P}}}return{}}}};function Eo(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function So(e){return qa.some(t=>e[t]>=0)}const is=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=pe(e,t);switch(r){case"referenceHidden":{const i=await ut(t,{...o,elementContext:"reference"}),a=Eo(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:So(a)}}}case"escaped":{const i=await ut(t,{...o,altBoundary:!0}),a=Eo(i,n.floating);return{data:{escapedOffsets:a,escaped:So(a)}}}default:return{}}}}};async function as(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=he(n),s=We(n),c=be(n)==="y",u=["left","top"].includes(a)?-1:1,f=i&&c?-1:1,l=pe(t,e);let{mainAxis:p,crossAxis:d,alignmentAxis:v}=typeof l=="number"?{mainAxis:l,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...l};return s&&typeof v=="number"&&(d=s==="end"?v*-1:v),c?{x:d*f,y:p*u}:{x:p*u,y:d*f}}const ss=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,c=await as(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:a}}}}},cs=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:_=>{let{x:m,y:w}=_;return{x:m,y:w}}},...c}=pe(e,t),u={x:n,y:r},f=await ut(t,c),l=be(he(o)),p=Sn(l);let d=u[p],v=u[l];if(i){const _=p==="y"?"top":"left",m=p==="y"?"bottom":"right",w=d+f[_],y=d-f[m];d=En(w,d,y)}if(a){const _=l==="y"?"top":"left",m=l==="y"?"bottom":"right",w=v+f[_],y=v-f[m];v=En(w,v,y)}const h=s.fn({...t,[p]:d,[l]:v});return{...h,data:{x:h.x-n,y:h.y-r}}}}},ls=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:c=!0,crossAxis:u=!0}=pe(e,t),f={x:n,y:r},l=be(o),p=Sn(l);let d=f[p],v=f[l];const h=pe(s,t),_=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){const y=p==="y"?"height":"width",g=i.reference[p]-i.floating[y]+_.mainAxis,b=i.reference[p]+i.reference[y]-_.mainAxis;d<g?d=g:d>b&&(d=b)}if(u){var m,w;const y=p==="y"?"width":"height",g=["top","left"].includes(he(o)),b=i.reference[l]-i.floating[y]+(g&&((m=a.offset)==null?void 0:m[l])||0)+(g?0:_.crossAxis),C=i.reference[l]+i.reference[y]+(g?0:((w=a.offset)==null?void 0:w[l])||0)-(g?_.crossAxis:0);v<b?v=b:v>C&&(v=C)}return{[p]:d,[l]:v}}}},us=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=()=>{},...s}=pe(e,t),c=await ut(t,s),u=he(n),f=We(n),l=be(n)==="y",{width:p,height:d}=r.floating;let v,h;u==="top"||u==="bottom"?(v=u,h=f===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=u,v=f==="end"?"top":"bottom");const _=d-c.top-c.bottom,m=p-c.left-c.right,w=oe(d-c[v],_),y=oe(p-c[h],m),g=!t.middlewareData.shift;let b=w,C=y;if(l?C=f||g?oe(y,m):m:b=f||g?oe(w,_):_,g&&!f){const E=Q(c.left,0),D=Q(c.right,0),R=Q(c.top,0),W=Q(c.bottom,0);l?C=p-2*(E!==0||D!==0?E+D:Q(c.left,c.right)):b=d-2*(R!==0||W!==0?R+W:Q(c.top,c.bottom))}await a({...t,availableWidth:C,availableHeight:b});const A=await o.getDimensions(i.floating);return p!==A.width||d!==A.height?{reset:{rects:!0}}:{}}}};function He(e){return Co(e)?(e.nodeName||"").toLowerCase():"#document"}function J(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ve(e){var t;return(t=(Co(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Co(e){return e instanceof Node||e instanceof J(e).Node}function te(e){return e instanceof Element||e instanceof J(e).Element}function ie(e){return e instanceof HTMLElement||e instanceof J(e).HTMLElement}function Po(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof J(e).ShadowRoot}function ft(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ne(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function fs(e){return["table","td","th"].includes(He(e))}function Pt(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function jn(e){const t=On(),n=te(e)?ne(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(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 ds(e){let t=xe(e);for(;ie(t)&&!ze(t);){if(jn(t))return t;if(Pt(t))return null;t=xe(t)}return null}function On(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ze(e){return["html","body","#document"].includes(He(e))}function ne(e){return J(e).getComputedStyle(e)}function At(e){return te(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function xe(e){if(He(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Po(e)&&e.host||ve(e);return Po(t)?t.host:t}function Ao(e){const t=xe(e);return ze(t)?e.ownerDocument?e.ownerDocument.body:e.body:ie(t)&&ft(t)?t:Ao(t)}function dt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Ao(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=J(o);if(i){const s=Tn(a);return t.concat(a,a.visualViewport||[],ft(o)?o:[],s&&n?dt(s):[])}return t.concat(o,dt(o,[],n))}function Tn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function jo(e){const t=ne(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ie(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=kt(n)!==i||kt(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Dn(e){return te(e)?e:e.contextElement}function Be(e){const t=Dn(e);if(!ie(t))return ye(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=jo(t);let a=(i?kt(n.width):n.width)/r,s=(i?kt(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const ps=ye(0);function Oo(e){const t=J(e);return!On()||!t.visualViewport?ps:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function hs(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==J(e)?!1:t}function Oe(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Dn(e);let a=ye(1);t&&(r?te(r)&&(a=Be(r)):a=Be(e));const s=hs(i,n,r)?Oo(i):ye(0);let c=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,f=o.width/a.x,l=o.height/a.y;if(i){const p=J(i),d=r&&te(r)?J(r):r;let v=p,h=Tn(v);for(;h&&r&&d!==v;){const _=Be(h),m=h.getBoundingClientRect(),w=ne(h),y=m.left+(h.clientLeft+parseFloat(w.paddingLeft))*_.x,g=m.top+(h.clientTop+parseFloat(w.paddingTop))*_.y;c*=_.x,u*=_.y,f*=_.x,l*=_.y,c+=y,u+=g,v=J(h),h=Tn(v)}}return Ct({width:f,height:l,x:c,y:u})}function vs(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=ve(r),s=t?Pt(t.floating):!1;if(r===a||s&&i)return n;let c={scrollLeft:0,scrollTop:0},u=ye(1);const f=ye(0),l=ie(r);if((l||!l&&!i)&&((He(r)!=="body"||ft(a))&&(c=At(r)),ie(r))){const p=Oe(r);u=Be(r),f.x=p.x+r.clientLeft,f.y=p.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+f.x,y:n.y*u.y-c.scrollTop*u.y+f.y}}function _s(e){return Array.from(e.getClientRects())}function To(e){return Oe(ve(e)).left+At(e).scrollLeft}function ms(e){const t=ve(e),n=At(e),r=e.ownerDocument.body,o=Q(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Q(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+To(e);const s=-n.scrollTop;return ne(r).direction==="rtl"&&(a+=Q(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function ws(e,t){const n=J(e),r=ve(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(o){i=o.width,a=o.height;const u=On();(!u||u&&t==="fixed")&&(s=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:s,y:c}}function gs(e,t){const n=Oe(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ie(e)?Be(e):ye(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,c=o*i.x,u=r*i.y;return{width:a,height:s,x:c,y:u}}function Do(e,t,n){let r;if(t==="viewport")r=ws(e,n);else if(t==="document")r=ms(ve(e));else if(te(t))r=gs(t,n);else{const o=Oo(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Ct(r)}function Ro(e,t){const n=xe(e);return n===t||!te(n)||ze(n)?!1:ne(n).position==="fixed"||Ro(n,t)}function ys(e,t){const n=t.get(e);if(n)return n;let r=dt(e,[],!1).filter(s=>te(s)&&He(s)!=="body"),o=null;const i=ne(e).position==="fixed";let a=i?xe(e):e;for(;te(a)&&!ze(a);){const s=ne(a),c=jn(a);!c&&s.position==="fixed"&&(o=null),(i?!c&&!o:!c&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||ft(a)&&!c&&Ro(e,a))?r=r.filter(f=>f!==a):o=s,a=xe(a)}return t.set(e,r),r}function bs(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?Pt(t)?[]:ys(t,this._c):[].concat(n),r],s=a[0],c=a.reduce((u,f)=>{const l=Do(t,f,o);return u.top=Q(l.top,u.top),u.right=oe(l.right,u.right),u.bottom=oe(l.bottom,u.bottom),u.left=Q(l.left,u.left),u},Do(t,s,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function xs(e){const{width:t,height:n}=jo(e);return{width:t,height:n}}function $s(e,t,n){const r=ie(t),o=ve(t),i=n==="fixed",a=Oe(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const c=ye(0);if(r||!r&&!i)if((He(t)!=="body"||ft(o))&&(s=At(t)),r){const l=Oe(t,!0,i,t);c.x=l.x+t.clientLeft,c.y=l.y+t.clientTop}else o&&(c.x=To(o));const u=a.left+s.scrollLeft-c.x,f=a.top+s.scrollTop-c.y;return{x:u,y:f,width:a.width,height:a.height}}function Rn(e){return ne(e).position==="static"}function No(e,t){return!ie(e)||ne(e).position==="fixed"?null:t?t(e):e.offsetParent}function Lo(e,t){const n=J(e);if(Pt(e))return n;if(!ie(e)){let o=xe(e);for(;o&&!ze(o);){if(te(o)&&!Rn(o))return o;o=xe(o)}return n}let r=No(e,t);for(;r&&fs(r)&&Rn(r);)r=No(r,t);return r&&ze(r)&&Rn(r)&&!jn(r)?n:r||ds(e)||n}const ks=async function(e){const t=this.getOffsetParent||Lo,n=this.getDimensions,r=await n(e.floating);return{reference:$s(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Es(e){return ne(e).direction==="rtl"}const Ss={convertOffsetParentRelativeRectToViewportRelativeRect:vs,getDocumentElement:ve,getClippingRect:bs,getOffsetParent:Lo,getElementRects:ks,getClientRects:_s,getDimensions:xs,getScale:Be,isElement:te,isRTL:Es};function Cs(e,t){let n=null,r;const o=ve(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),i();const{left:u,top:f,width:l,height:p}=e.getBoundingClientRect();if(s||t(),!l||!p)return;const d=Et(f),v=Et(o.clientWidth-(u+l)),h=Et(o.clientHeight-(f+p)),_=Et(u),w={rootMargin:-d+"px "+-v+"px "+-h+"px "+-_+"px",threshold:Q(0,oe(1,c))||1};let y=!0;function g(b){const C=b[0].intersectionRatio;if(C!==c){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(e)}return a(!0),i}function Ps(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Dn(e),f=o||i?[...u?dt(u):[],...dt(t)]:[];f.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),i&&m.addEventListener("resize",n)});const l=u&&s?Cs(u,n):null;let p=-1,d=null;a&&(d=new ResizeObserver(m=>{let[w]=m;w&&w.target===u&&d&&(d.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var y;(y=d)==null||y.observe(t)})),n()}),u&&!c&&d.observe(u),d.observe(t));let v,h=c?Oe(e):null;c&&_();function _(){const m=Oe(e);h&&(m.x!==h.x||m.y!==h.y||m.width!==h.width||m.height!==h.height)&&n(),h=m,v=requestAnimationFrame(_)}return n(),()=>{var m;f.forEach(w=>{o&&w.removeEventListener("scroll",n),i&&w.removeEventListener("resize",n)}),l==null||l(),(m=d)==null||m.disconnect(),d=null,c&&cancelAnimationFrame(v)}}const As=ss,js=cs,Os=os,Ts=us,Ds=is,Fo=rs,Rs=ls,Ns=(e,t,n)=>{const r=new Map,o={platform:Ss,...n},i={...o.platform,_c:r};return ns(e,t,{...o,platform:i})};var jt=typeof document<"u"?ue:I;function Ot(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Ot(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Ot(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Mo(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Io(e,t){const n=Mo(e);return Math.round(t*n)/n}function Uo(e){const t=T(e);return jt(()=>{t.current=e}),t}function Ls(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:c,open:u}=e,[f,l]=L({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,d]=L(r);Ot(p,r)||d(r);const[v,h]=L(null),[_,m]=L(null),w=V(S=>{S!==C.current&&(C.current=S,h(S))},[]),y=V(S=>{S!==A.current&&(A.current=S,m(S))},[]),g=i||v,b=a||_,C=T(null),A=T(null),E=T(f),D=c!=null,R=Uo(c),W=Uo(o),O=V(()=>{if(!C.current||!A.current)return;const S={placement:t,strategy:n,middleware:p};W.current&&(S.platform=W.current),Ns(C.current,A.current,S).then(Y=>{const z={...Y,isPositioned:!0};U.current&&!Ot(E.current,z)&&(E.current=z,lt(()=>{l(z)}))})},[p,t,n,W]);jt(()=>{u===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,l(S=>({...S,isPositioned:!1})))},[u]);const U=T(!1);jt(()=>(U.current=!0,()=>{U.current=!1}),[]),jt(()=>{if(g&&(C.current=g),b&&(A.current=b),g&&b){if(R.current)return R.current(g,b,O);O()}},[g,b,O,R,D]);const j=X(()=>({reference:C,floating:A,setReference:w,setFloating:y}),[w,y]),M=X(()=>({reference:g,floating:b}),[g,b]),P=X(()=>{const S={position:n,left:0,top:0};if(!M.floating)return S;const Y=Io(M.floating,f.x),z=Io(M.floating,f.y);return s?{...S,transform:"translate("+Y+"px, "+z+"px)",...Mo(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:Y,top:z}},[n,s,M.floating,f.x,f.y]);return X(()=>({...f,update:O,refs:j,elements:M,floatingStyles:P}),[f,O,j,M,P])}const Fs=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Fo({element:r.current,padding:o}).fn(n):{}:r?Fo({element:r,padding:o}).fn(n):{}}}},Ms=(e,t)=>({...As(e),options:[e,t]}),Is=(e,t)=>({...js(e),options:[e,t]}),Us=(e,t)=>({...Rs(e),options:[e,t]}),Ws=(e,t)=>({...Os(e),options:[e,t]}),Hs=(e,t)=>({...Ts(e),options:[e,t]}),zs=(e,t)=>({...Ds(e),options:[e,t]}),Bs=(e,t)=>({...Fs(e),options:[e,t]});function Vs(e){const[t,n]=L(void 0);return Ue(()=>{if(e){n({width:e.offsetWidth,height:e.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 c=i.borderBoxSize,u=Array.isArray(c)?c[0]:c;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const Wo="Popper",[Ho,zo]=po(Wo),[Ys,Bo]=Ho(Wo),Ks=e=>{const{__scopePopper:t,children:n}=e,[r,o]=L(null);return x(Ys,{scope:t,anchor:r,onAnchorChange:o},n)},qs="PopperAnchor",Xs=K((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Bo(qs,n),a=T(null),s=je(t,a);return I(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:x(Ie.div,q({},o,{ref:s}))}),Vo="PopperContent",[Zs,iu]=Ho(Vo),Gs=K((e,t)=>{var n,r,o,i,a,s,c,u;const{__scopePopper:f,side:l="bottom",sideOffset:p=0,align:d="center",alignOffset:v=0,arrowPadding:h=0,avoidCollisions:_=!0,collisionBoundary:m=[],collisionPadding:w=0,sticky:y="partial",hideWhenDetached:g=!1,updatePositionStrategy:b="optimized",onPlaced:C,...A}=e,E=Bo(Vo,f),[D,R]=L(null),W=je(t,mt=>R(mt)),[O,U]=L(null),j=Vs(O),M=(n=j==null?void 0:j.width)!==null&&n!==void 0?n:0,P=(r=j==null?void 0:j.height)!==null&&r!==void 0?r:0,S=l+(d!=="center"?"-"+d:""),Y=typeof w=="number"?w:{top:0,right:0,bottom:0,left:0,...w},z=Array.isArray(m)?m:[m],G=z.length>0,Ee={padding:Y,boundary:z.filter(Qs),altBoundary:G},{refs:et,floatingStyles:Fi,placement:Yl,isPositioned:Vt,middlewareData:tt}=Ls({strategy:"fixed",placement:S,whileElementsMounted:(...mt)=>Ps(...mt,{animationFrame:b==="always"}),elements:{reference:E.anchor},middleware:[Ms({mainAxis:p+P,alignmentAxis:v}),_&&Is({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?Us():void 0,...Ee}),_&&Ws({...Ee}),Hs({...Ee,apply:({elements:mt,rects:Ii,availableWidth:Jl,availableHeight:eu})=>{const{width:tu,height:nu}=Ii.reference,Kt=mt.floating.style;Kt.setProperty("--radix-popper-available-width",`${Jl}px`),Kt.setProperty("--radix-popper-available-height",`${eu}px`),Kt.setProperty("--radix-popper-anchor-width",`${tu}px`),Kt.setProperty("--radix-popper-anchor-height",`${nu}px`)}}),O&&Bs({element:O,padding:h}),Js({arrowWidth:M,arrowHeight:P}),g&&zs({strategy:"referenceHidden",...Ee})]}),[Mi,Kl]=Yo(Yl),Yt=we(C);Ue(()=>{Vt&&(Yt==null||Yt())},[Vt,Yt]);const ql=(o=tt.arrow)===null||o===void 0?void 0:o.x,Xl=(i=tt.arrow)===null||i===void 0?void 0:i.y,Zl=((a=tt.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Gl,Ql]=L();return Ue(()=>{D&&Ql(window.getComputedStyle(D).zIndex)},[D]),x("div",{ref:et.setFloating,"data-radix-popper-content-wrapper":"",style:{...Fi,transform:Vt?Fi.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Gl,"--radix-popper-transform-origin":[(s=tt.transformOrigin)===null||s===void 0?void 0:s.x,(c=tt.transformOrigin)===null||c===void 0?void 0:c.y].join(" ")},dir:e.dir},x(Zs,{scope:f,placedSide:Mi,onArrowChange:U,arrowX:ql,arrowY:Xl,shouldHideArrow:Zl},x(Ie.div,q({"data-side":Mi,"data-align":Kl},A,{ref:W,style:{...A.style,animation:Vt?void 0:"none",opacity:(u=tt.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function Qs(e){return e!==null}const Js=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:c,middlewareData:u}=t,l=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=l?0:e.arrowWidth,d=l?0:e.arrowHeight,[v,h]=Yo(s),_={start:"0%",center:"50%",end:"100%"}[h],m=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,w=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+d/2;let y="",g="";return v==="bottom"?(y=l?_:`${m}px`,g=`${-d}px`):v==="top"?(y=l?_:`${m}px`,g=`${c.floating.height+d}px`):v==="right"?(y=`${-d}px`,g=l?_:`${w}px`):v==="left"&&(y=`${c.floating.width+d}px`,g=l?_:`${w}px`),{data:{x:y,y:g}}}});function Yo(e){const[t,n="center"]=e.split("-");return[t,n]}const ec=Ks,tc=Xs,nc=Gs,rc=K((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?uo.createPortal(x(Ie.div,q({},o,{ref:t})),r):null});function oc(e,t){return st((n,r)=>{const o=t[n][r];return o??n},e)}const Nn=e=>{const{present:t,children:n}=e,r=ic(t),o=typeof n=="function"?n({present:r.isPresent}):fe.only(n),i=je(r.ref,o.ref);return typeof n=="function"||r.isPresent?Me(o,{ref:i}):null};Nn.displayName="Presence";function ic(e){const[t,n]=L(),r=T({}),o=T(e),i=T("none"),a=e?"mounted":"unmounted",[s,c]=oc(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return I(()=>{const u=Tt(r.current);i.current=s==="mounted"?u:"none"},[s]),Ue(()=>{const u=r.current,f=o.current;if(f!==e){const p=i.current,d=Tt(u);e?c("MOUNT"):d==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(f&&p!==d?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),Ue(()=>{if(t){const u=l=>{const d=Tt(r.current).includes(l.animationName);l.target===t&&d&&lt(()=>c("ANIMATION_END"))},f=l=>{l.target===t&&(i.current=Tt(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:V(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Tt(e){return(e==null?void 0:e.animationName)||"none"}function ac({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=sc({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=we(n),c=V(u=>{if(i){const l=typeof u=="function"?u(e):u;l!==e&&s(l)}else o(u)},[i,e,o,s]);return[a,c]}function sc({defaultProp:e,onChange:t}){const n=L(e),[r]=n,o=T(r),i=we(t);return I(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var cc=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ve=new WeakMap,Dt=new WeakMap,Rt={},Ln=0,Ko=function(e){return e&&(e.host||Ko(e.parentNode))},lc=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Ko(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},uc=function(e,t,n,r){var o=lc(t,Array.isArray(e)?e:[e]);Rt[n]||(Rt[n]=new WeakMap);var i=Rt[n],a=[],s=new Set,c=new Set(o),u=function(l){!l||s.has(l)||(s.add(l),u(l.parentNode))};o.forEach(u);var f=function(l){!l||c.has(l)||Array.prototype.forEach.call(l.children,function(p){if(s.has(p))f(p);else try{var d=p.getAttribute(r),v=d!==null&&d!=="false",h=(Ve.get(p)||0)+1,_=(i.get(p)||0)+1;Ve.set(p,h),i.set(p,_),a.push(p),h===1&&v&&Dt.set(p,!0),_===1&&p.setAttribute(n,"true"),v||p.setAttribute(r,"true")}catch(m){console.error("aria-hidden: cannot operate on ",p,m)}})};return f(t),s.clear(),Ln++,function(){a.forEach(function(l){var p=Ve.get(l)-1,d=i.get(l)-1;Ve.set(l,p),i.set(l,d),p||(Dt.has(l)||l.removeAttribute(r),Dt.delete(l)),d||l.removeAttribute(n)}),Ln--,Ln||(Ve=new WeakMap,Ve=new WeakMap,Dt=new WeakMap,Rt={})}},fc=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||cc(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),uc(r,o,n,"aria-hidden")):function(){return null}},$e=function(){return $e=Object.assign||function(t){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)&&(t[i]=n[i])}return t},$e.apply(this,arguments)};function dc(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function pc(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Nt="right-scroll-bar-position",Lt="width-before-scroll-bar",hc="with-scroll-bars-hidden",vc="--removed-body-scroll-bar-size";function Fn(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function _c(e,t){var n=L(function(){return{value:e,callback:t,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=t,n.facade}var mc=typeof window<"u"?ue:I,qo=new WeakMap;function wc(e,t){var n=_c(t||null,function(r){return e.forEach(function(o){return Fn(o,r)})});return mc(function(){var r=qo.get(n);if(r){var o=new Set(r),i=new Set(e),a=n.current;o.forEach(function(s){i.has(s)||Fn(s,null)}),i.forEach(function(s){o.has(s)||Fn(s,a)})}qo.set(n,e)},[e]),n}var Ft=function(){return Ft=Object.assign||function(t){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)&&(t[i]=n[i])}return t},Ft.apply(this,arguments)};function gc(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}typeof SuppressedError=="function"&&SuppressedError;function yc(e){return e}function bc(e,t){t===void 0&&(t=yc);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]:e},useMedium:function(i){var a=t(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 c=function(){var f=a;a=[],f.forEach(i)},u=function(){return Promise.resolve().then(c)};u(),n={push:function(f){a.push(f),u()},filter:function(f){return a=a.filter(f),n}}}};return o}function xc(e){e===void 0&&(e={});var t=bc(null);return t.options=Ft({async:!0,ssr:!1},e),t}var Xo=function(e){var t=e.sideCar,n=gc(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return x(r,Ft({},n))};Xo.isSideCarExport=!0;function $c(e,t){return e.useMedium(t),Xo}var Zo=xc(),Mn=function(){},Mt=K(function(e,t){var n=T(null),r=L({onScrollCapture:Mn,onWheelCapture:Mn,onTouchMoveCapture:Mn}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,c=e.className,u=e.removeScrollBar,f=e.enabled,l=e.shards,p=e.sideCar,d=e.noIsolation,v=e.inert,h=e.allowPinchZoom,_=e.as,m=_===void 0?"div":_,w=dc(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),y=p,g=wc([n,t]),b=$e($e({},w),o);return x(B,null,f&&x(y,{sideCar:Zo,removeScrollBar:u,shards:l,noIsolation:d,inert:v,setCallbacks:i,allowPinchZoom:!!h,lockRef:n}),a?Me(fe.only(s),$e($e({},b),{ref:g})):x(m,$e({},b,{className:c,ref:g}),s))});Mt.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Mt.classNames={fullWidth:Lt,zeroRight:Nt};var Go,kc=function(){if(Go)return Go;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Ec(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=kc();return t&&e.setAttribute("nonce",t),e}function Sc(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Cc(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Pc=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Ec())&&(Sc(t,n),Cc(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Ac=function(){var e=Pc();return function(t,n){I(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Qo=function(){var e=Ac(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},jc={left:0,top:0,right:0,gap:0},In=function(e){return parseInt(e||"",10)||0},Oc=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[In(n),In(r),In(o)]},Tc=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return jc;var t=Oc(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Dc=Qo(),Ye="data-scroll-locked",Rc=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
2
+ .`.concat(hc,` {
3
3
  overflow: hidden `).concat(r,`;
4
4
  padding-right: `).concat(s,"px ").concat(r,`;
5
5
  }
6
- body[`).concat(Ve,`] {
6
+ body[`).concat(Ye,`] {
7
7
  overflow: hidden `).concat(r,`;
8
8
  overscroll-behavior: contain;
9
9
  `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
@@ -32,14 +32,14 @@
32
32
  margin-right: 0 `).concat(r,`;
33
33
  }
34
34
 
35
- body[`).concat(Ve,`] {
36
- `).concat(lc,": ").concat(s,`px;
35
+ body[`).concat(Ye,`] {
36
+ `).concat(vc,": ").concat(s,`px;
37
37
  }
38
- `)},Ko=function(){var e=parseInt(document.body.getAttribute(Ve)||"0",10);return isFinite(e)?e:0},Pc=function(){F(function(){return document.body.setAttribute(Ve,(Ko()+1).toString()),function(){var e=Ko()-1;e<=0?document.body.removeAttribute(Ve):document.body.setAttribute(Ve,e.toString())}},[])},Ac=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;Pc();var i=X(function(){return Ec(o)},[o]);return $(Sc,{styles:Cc(i,!t,o,n?"":"!important")})},jn=!1;if(typeof window<"u")try{var Mt=Object.defineProperty({},"passive",{get:function(){return jn=!0,!0}});window.addEventListener("test",Mt,Mt),window.removeEventListener("test",Mt,Mt)}catch{jn=!1}var Ye=jn?{passive:!1}:!1,jc=function(e){return e.tagName==="TEXTAREA"},Xo=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!jc(e)&&n[t]==="visible")},Oc=function(e){return Xo(e,"overflowY")},Tc=function(e){return Xo(e,"overflowX")},Zo=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Go(e,n);if(r){var o=Qo(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Dc=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Rc=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Go=function(e,t){return e==="v"?Oc(t):Tc(t)},Qo=function(e,t){return e==="v"?Dc(t):Rc(t)},Nc=function(e,t){return e==="h"&&t==="rtl"?-1:1},Lc=function(e,t,n,r,o){var i=Nc(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),u=!1,f=a>0,c=0,v=0;do{var p=Qo(e,s),h=p[0],d=p[1],m=p[2],_=d-m-i*h;(h||_)&&Go(e,s)&&(c+=_,v+=h),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(f&&(o&&c===0||!o&&a>c)||!f&&(o&&v===0||!o&&-a>v))&&(u=!0),u},It=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Jo=function(e){return[e.deltaX,e.deltaY]},ei=function(e){return e&&"current"in e?e.current:e},Fc=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Mc=function(e){return`
38
+ `)},Jo=function(){var e=parseInt(document.body.getAttribute(Ye)||"0",10);return isFinite(e)?e:0},Nc=function(){I(function(){return document.body.setAttribute(Ye,(Jo()+1).toString()),function(){var e=Jo()-1;e<=0?document.body.removeAttribute(Ye):document.body.setAttribute(Ye,e.toString())}},[])},Lc=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;Nc();var i=X(function(){return Tc(o)},[o]);return x(Dc,{styles:Rc(i,!t,o,n?"":"!important")})},Un=!1;if(typeof window<"u")try{var It=Object.defineProperty({},"passive",{get:function(){return Un=!0,!0}});window.addEventListener("test",It,It),window.removeEventListener("test",It,It)}catch{Un=!1}var Ke=Un?{passive:!1}:!1,Fc=function(e){return e.tagName==="TEXTAREA"},ei=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Fc(e)&&n[t]==="visible")},Mc=function(e){return ei(e,"overflowY")},Ic=function(e){return ei(e,"overflowX")},ti=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=ni(e,n);if(r){var o=ri(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Uc=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Wc=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},ni=function(e,t){return e==="v"?Mc(t):Ic(t)},ri=function(e,t){return e==="v"?Uc(t):Wc(t)},Hc=function(e,t){return e==="h"&&t==="rtl"?-1:1},zc=function(e,t,n,r,o){var i=Hc(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,c=t.contains(s),u=!1,f=a>0,l=0,p=0;do{var d=ri(e,s),v=d[0],h=d[1],_=d[2],m=h-_-i*v;(v||m)&&ni(e,s)&&(l+=m,p+=v),s=s.parentNode}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(f&&(o&&l===0||!o&&a>l)||!f&&(o&&p===0||!o&&-a>p))&&(u=!0),u},Ut=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},oi=function(e){return[e.deltaX,e.deltaY]},ii=function(e){return e&&"current"in e?e.current:e},Bc=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Vc=function(e){return`
39
39
  .block-interactivity-`.concat(e,` {pointer-events: none;}
40
40
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
41
- `)},Ic=0,qe=[];function Uc(e){var t=T([]),n=T([0,0]),r=T(),o=L(Ic++)[0],i=L(function(){return qo()})[0],a=T(e);F(function(){a.current=e},[e]),F(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var d=sc([e.lockRef.current],(e.shards||[]).map(ei),!0).filter(Boolean);return d.forEach(function(m){return m.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),d.forEach(function(m){return m.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=V(function(d,m){if("touches"in d&&d.touches.length===2)return!a.current.allowPinchZoom;var _=It(d),w=n.current,g="deltaX"in d?d.deltaX:w[0]-_[0],y="deltaY"in d?d.deltaY:w[1]-_[1],b,S=d.target,j=Math.abs(g)>Math.abs(y)?"h":"v";if("touches"in d&&j==="h"&&S.type==="range")return!1;var E=Zo(j,S);if(!E)return!0;if(E?b=j:(b=j==="v"?"h":"v",E=Zo(j,S)),!E)return!1;if(!r.current&&"changedTouches"in d&&(g||y)&&(r.current=b),!b)return!0;var P=r.current||b;return Lc(P,m,d,P==="h"?g:y,!0)},[]),l=V(function(d){var m=d;if(!(!qe.length||qe[qe.length-1]!==i)){var _="deltaY"in m?Jo(m):It(m),w=t.current.filter(function(b){return b.name===m.type&&b.target===m.target&&Fc(b.delta,_)})[0];if(w&&w.should){m.cancelable&&m.preventDefault();return}if(!w){var g=(a.current.shards||[]).map(ei).filter(Boolean).filter(function(b){return b.contains(m.target)}),y=g.length>0?s(m,g[0]):!a.current.noIsolation;y&&m.cancelable&&m.preventDefault()}}},[]),u=V(function(d,m,_,w){var g={name:d,delta:m,target:_,should:w};t.current.push(g),setTimeout(function(){t.current=t.current.filter(function(y){return y!==g})},1)},[]),f=V(function(d){n.current=It(d),r.current=void 0},[]),c=V(function(d){u(d.type,Jo(d),d.target,s(d,e.lockRef.current))},[]),v=V(function(d){u(d.type,It(d),d.target,s(d,e.lockRef.current))},[]);F(function(){return qe.push(i),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:v}),document.addEventListener("wheel",l,Ye),document.addEventListener("touchmove",l,Ye),document.addEventListener("touchstart",f,Ye),function(){qe=qe.filter(function(d){return d!==i}),document.removeEventListener("wheel",l,Ye),document.removeEventListener("touchmove",l,Ye),document.removeEventListener("touchstart",f,Ye)}},[]);var p=e.removeScrollBar,h=e.inert;return $(B,null,h?$(i,{styles:Mc(o)}):null,p?$(Ac,{gapMode:"margin"}):null)}const Wc=_c(Vo,Uc);var ti=Y(function(e,t){return $(Ft,ie({},e,{ref:t,sideCar:Wc}))});ti.classNames=Ft.classNames;const Hc=ti,ni="Popover",[ri,Jl]=ao(ni,[Fo]),On=Fo(),[zc,Ke]=ri(ni),Bc=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=On(t),l=T(null),[u,f]=L(!1),[c=!1,v]=tc({prop:r,defaultProp:o,onChange:i});return $(Xs,s,$(zc,{scope:t,contentId:Ha(),triggerRef:l,open:c,onOpenChange:v,onOpenToggle:V(()=>v(p=>!p),[v]),hasCustomAnchor:u,onCustomAnchorAdd:V(()=>f(!0),[]),onCustomAnchorRemove:V(()=>f(!1),[]),modal:a},n))},Vc="PopoverTrigger",Yc=Y((e,t)=>{const{__scopePopover:n,...r}=e,o=Ke(Vc,n),i=On(n),a=je(t,o.triggerRef),s=$(Me.button,q({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":ai(o.open)},r,{ref:a,onClick:Ae(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:$(Zs,q({asChild:!0},i),s)}),oi="PopoverPortal",[qc,Kc]=ri(oi,{forceMount:void 0}),Xc=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=Ke(oi,t);return $(qc,{scope:t,forceMount:n},$(En,{present:n||i.open},$(Qs,{asChild:!0,container:o},r)))},ut="PopoverContent",Zc=Y((e,t)=>{const n=Kc(ut,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=Ke(ut,e.__scopePopover);return $(En,{present:r||i.open},i.modal?$(Gc,q({},o,{ref:t})):$(Qc,q({},o,{ref:t})))}),Gc=Y((e,t)=>{const n=Ke(ut,e.__scopePopover),r=T(null),o=je(t,r),i=T(!1);return F(()=>{const a=r.current;if(a)return ac(a)},[]),$(Hc,{as:ln,allowPinchZoom:!0},$(ii,q({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ae(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Ae(e.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:Ae(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),Qc=Y((e,t)=>{const n=Ke(ut,e.__scopePopover),r=T(!1),o=T(!1);return $(ii,q({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,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=e.onInteractOutside)===null||a===void 0||a.call(e,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()}}))}),ii=Y((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:f,...c}=e,v=Ke(ut,n),p=On(n);return Ta(),$(Da,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},$(Aa,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>v.onOpenChange(!1)},$(Gs,q({"data-state":ai(v.open),role:"dialog",id:v.contentId},p,c,{ref:t,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 ai(e){return e?"open":"closed"}const Jc=Bc,el=Yc,tl=Xc,nl=Zc;function si(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=si(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Tn(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=si(e))&&(r&&(r+=" "),r+=t);return r}const ci="inploi-job-alerts",rl="ija",li=["INSTANTLY","DAILY","WEEKLY","MONTHLY"];var ol=["other","few","many","two","one","zero"],ui=({terms:e,overrides:t,locale:n})=>{const r=new Intl.PluralRules(n);function o(i,a){const s=(t==null?void 0:t[i])??e[i];switch(typeof s){case"string":return s.replace(/{{(\w+)}}/g,(l,u)=>{var f;return((f=a==null?void 0:a[u])==null?void 0:f.toString())??""});case"object":{if(typeof(a==null?void 0:a.count)!="number")throw new Error(`Missing count for translation key “${i.toString()}”`);let l=r.select(a.count);if(!(l in s)){const u=ol.find(f=>f in s);if(!u)throw new Error(`Missing plural rule for translation key “${i.toString()}”`);l=u}return s[l].replace(/{{(\w+)}}/g,(u,f)=>{var c;return((c=a==null?void 0:a[f])==null?void 0:c.toString())??""})}default:throw new Error(`Invalid translation value in dictionary for key “${i.toString()}”.`)}}return o},fi=Re(null),il=e=>({TranslationProvider:({terms:t,children:n,locale:r})=>{const o=X(()=>ui({locale:r,terms:e,overrides:t}),[t,r]);return k(fi.Provider,{value:{t:o,locale:r},children:n})},useTranslation:()=>{const t=ot(fi);if(t===null)throw new Error("Please wrap useTranslation in a TranslationProvider");return{t:t.t,locale:t.locale}},createTFunction:({overrides:t,locale:n})=>ui({terms:e,overrides:t,locale:n})});const{TranslationProvider:al,useTranslation:sl,createTFunction:eu}=il({INSTANTLY:"Instantly",DAILY:"Daily",WEEKLY:"Weekly",MONTHLY:"Monthly",email:"Email",email_placeholder:"jane.doe@example.com",name:"Name",name_placeholder:"Jane Doe",save:"Save",save_alert:"Save Alert",frequency:"Frequency",create_alert:"Create Alert"});function Ut(){throw new Error("Cycle detected")}var cl=Symbol.for("preact-signals");function Dn(){if(Xe>1)Xe--;else{for(var e,t=!1;ft!==void 0;){var n=ft;for(ft=void 0,Rn++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&pi(n))try{n.c()}catch(o){t||(e=o,t=!0)}n=r}}if(Rn=0,Xe--,t)throw e}}var M=void 0,ft=void 0,Xe=0,Rn=0,Wt=0;function di(e){if(M!==void 0){var t=e.n;if(t===void 0||t.t!==M)return t={i:0,S:e,p:M.s,n:void 0,t:M,e:void 0,x:void 0,r:t},M.s!==void 0&&(M.s.n=t),M.s=t,e.n=t,32&M.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=M.s,t.n=void 0,M.s.n=t,M.s=t),t}}function K(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}K.prototype.brand=cl,K.prototype.h=function(){return!0},K.prototype.S=function(e){this.t!==e&&e.e===void 0&&(e.x=this.t,this.t!==void 0&&(this.t.e=e),this.t=e)},K.prototype.U=function(e){if(this.t!==void 0){var t=e.e,n=e.x;t!==void 0&&(t.x=n,e.e=void 0),n!==void 0&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n)}},K.prototype.subscribe=function(e){var t=this;return Ln(function(){var n=t.value,r=32&this.f;this.f&=-33;try{e(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 e=di(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(M instanceof xe&&function(){throw new Error("Computed cannot have side-effects")}(),e!==this.v){Rn>100&&Ut(),this.v=e,this.i++,Wt++,Xe++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{Dn()}}}});function Ht(e){return new K(e)}function pi(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function hi(e){for(var t=e.s;t!==void 0;t=t.n){var n=t.S.n;if(n!==void 0&&(t.r=n),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function vi(e){for(var t=e.s,n=void 0;t!==void 0;){var r=t.p;t.i===-1?(t.S.U(t),r!==void 0&&(r.n=t.n),t.n!==void 0&&(t.n.p=r)):n=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=r}e.s=n}function xe(e){K.call(this,void 0),this.x=e,this.s=void 0,this.g=Wt-1,this.f=4}(xe.prototype=new K).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Wt))return!0;if(this.g=Wt,this.f|=1,this.i>0&&!pi(this))return this.f&=-2,!0;var e=M;try{hi(this),M=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(n){this.v=n,this.f|=16,this.i++}return M=e,vi(this),this.f&=-2,!0},xe.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}K.prototype.S.call(this,e)},xe.prototype.U=function(e){if(this.t!==void 0&&(K.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}},xe.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},xe.prototype.peek=function(){if(this.h()||Ut(),16&this.f)throw this.v;return this.v},Object.defineProperty(xe.prototype,"value",{get:function(){1&this.f&&Ut();var e=di(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function ll(e){return new xe(e)}function _i(e){var t=e.u;if(e.u=void 0,typeof t=="function"){Xe++;var n=M;M=void 0;try{t()}catch(r){throw e.f&=-2,e.f|=8,Nn(e),r}finally{M=n,Dn()}}}function Nn(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,_i(e)}function ul(e){if(M!==this)throw new Error("Out-of-order effect");vi(this),M=e,this.f&=-2,8&this.f&&Nn(this),Dn()}function dt(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}dt.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.u=t)}finally{e()}},dt.prototype.S=function(){1&this.f&&Ut(),this.f|=1,this.f&=-9,_i(this),hi(this),Xe++;var e=M;return M=this,ul.bind(this,e)},dt.prototype.N=function(){2&this.f||(this.f|=2,this.o=ft,ft=this)},dt.prototype.d=function(){this.f|=8,1&this.f||Nn(this)};function Ln(e){var t=new dt(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var Fn;function Ze(e,t){x[e]=t.bind(null,x[e]||function(){})}function zt(e){Fn&&Fn(),Fn=e&&e.S()}function mi(e){var t=this,n=e.data,r=dl(n);r.value=n;var o=X(function(){for(var i=t.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return t.__$u.c=function(){var a;!qn(o.peek())&&((a=t.base)==null?void 0:a.nodeType)===3?t.base.data=o.peek():(t.__$f|=1,t.setState({}))},ll(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}mi.displayName="_st",Object.defineProperties(K.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:mi},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),Ze("__b",function(e,t){if(typeof t.type=="string"){var n,r=t.props;for(var o in r)if(o!=="children"){var i=r[o];i instanceof K&&(n||(t.__np=n={}),n[o]=i,r[o]=i.peek())}}e(t)}),Ze("__r",function(e,t){zt();var n,r=t.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return Ln(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),zt(n),e(t)}),Ze("__e",function(e,t,n,r){zt(),e(t,n,r)}),Ze("diffed",function(e,t){zt();var n;if(typeof t.type=="string"&&(n=t.__e)){var r=t.__np,o=t.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],f=r[l];u===void 0?(u=fl(n,l,f,o),i[l]=u):u.o(f,o)}}}e(t)});function fl(e,t,n,r){var o=t in e&&e.ownerSVGElement===void 0,i=Ht(n);return{o:function(a,s){i.value=a,r=s},d:Ln(function(){var a=i.value.value;r[t]!==a&&(r[t]=a,o?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}Ze("unmount",function(e,t){if(typeof t.type=="string"){var n=t.__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=t.__c;if(a){var s=a.__$u;s&&(a.__$u=void 0,s.d())}}e(t)}),Ze("__h",function(e,t,n,r){(r<3||r===9)&&(t.__$f|=2),e(t,n,r)}),J.prototype.shouldComponentUpdate=function(e,t){var n=this.__$u;if(!(n&&n.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var r in t)return!0;for(var o in e)if(o!=="__source"&&e[o]!==this.props[o])return!0;for(var i in this.props)if(!(i in e))return!0;return!1};function dl(e){return X(function(){return Ht(e)},[])}const Ge={config$:Ht({headerText:"",label:""}),filters$:Ht({})};var he;function pl(e){return{lang:(e==null?void 0:e.lang)??(he==null?void 0:he.lang),message:e==null?void 0:e.message,abortEarly:(e==null?void 0:e.abortEarly)??(he==null?void 0:he.abortEarly),abortPipeEarly:(e==null?void 0:e.abortPipeEarly)??(he==null?void 0:he.abortPipeEarly)}}var Mn;function hl(e){return Mn==null?void 0:Mn.get(e)}var In;function vl(e){return In==null?void 0:In.get(e)}var Un;function _l(e,t){var n;return(n=Un==null?void 0:Un.get(e))==null?void 0:n.get(t)}function wi(e){var n,r;const t=typeof e;return t==="string"?`"${e}"`:t==="number"||t==="bigint"||t==="boolean"?`${e}`:t==="object"||t==="function"?(e&&((r=(n=Object.getPrototypeOf(e))==null?void 0:n.constructor)==null?void 0:r.name))??"null":t}function ve(e,t,n,r,o){const i=o&&"input"in o?o.input:n.value,a=(o==null?void 0:o.expected)??e.expects??null,s=(o==null?void 0:o.received)??wi(i),l={kind:e.kind,type:e.type,input:i,expected:a,received:s,message:`Invalid ${t}: ${a?`Expected ${a} but r`:"R"}eceived ${s}`,requirement:e.requirement,path:o==null?void 0:o.path,issues:o==null?void 0:o.issues,lang:r.lang,abortEarly:r.abortEarly,abortPipeEarly:r.abortPipeEarly},u=e.kind==="schema",f=(o==null?void 0:o.message)??e.message??_l(e.reference,l.lang)??(u?vl(l.lang):null)??r.message??hl(l.lang);f!==void 0&&(l.message=typeof f=="function"?f(l):f),u&&(n.typed=!1),n.issues?n.issues.push(l):n.issues=[l]}function $e(e){return{version:1,vendor:"valibot",validate(t){return e["~run"]({value:t},pl())}}}function ml(e,t){return Object.hasOwn(e,t)&&t!=="__proto__"&&t!=="prototype"&&t!=="constructor"}function gi(e,t){const n=[...new Set(e)];return n.length>1?`(${n.join(` ${t} `)})`:n[0]??"never"}var wl=/^[\w+-]+(?:\.[\w+-]+)*@[\da-z]+(?:[.-][\da-z]+)*\.[a-z]{2,}$/iu;function yi(e){return{kind:"validation",type:"email",reference:yi,expects:null,async:!1,requirement:wl,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&ve(this,"email",t,n),t}}}function gl(e,t,n){return typeof e.fallback=="function"?e.fallback(t,n):e.fallback}function bi(e,t,n){return typeof e.default=="function"?e.default(t,n):e.default}function xi(e,t){return{kind:"schema",type:"array",reference:xi,expects:"Array",async:!1,item:e,message:t,get"~standard"(){return $e(this)},"~run"(n,r){var i;const o=n.value;if(Array.isArray(o)){n.typed=!0,n.value=[];for(let a=0;a<o.length;a++){const s=o[a],l=this.item["~run"]({value:s},r);if(l.issues){const u={type:"array",origin:"value",input:o,key:a,value:s};for(const f of l.issues)f.path?f.path.unshift(u):f.path=[u],(i=n.issues)==null||i.push(f);if(n.issues||(n.issues=l.issues),r.abortEarly){n.typed=!1;break}}l.typed||(n.typed=!1),n.value.push(l.value)}}else ve(this,"type",n,r);return n}}}function Wn(e,t){return{kind:"schema",type:"object",reference:Wn,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return $e(this)},"~run"(n,r){var i;const o=n.value;if(o&&typeof o=="object"){n.typed=!0,n.value={};for(const a in this.entries){const s=this.entries[a];if(a in o||(s.type==="exact_optional"||s.type==="optional"||s.type==="nullish")&&s.default!==void 0){const l=a in o?o[a]:bi(s),u=s["~run"]({value:l},r);if(u.issues){const f={type:"object",origin:"value",input:o,key:a,value:l};for(const c of u.issues)c.path?c.path.unshift(f):c.path=[f],(i=n.issues)==null||i.push(c);if(n.issues||(n.issues=u.issues),r.abortEarly){n.typed=!1;break}}u.typed||(n.typed=!1),n.value[a]=u.value}else if(s.fallback!==void 0)n.value[a]=gl(s);else if(s.type!=="exact_optional"&&s.type!=="optional"&&s.type!=="nullish"&&(ve(this,"key",n,r,{input:void 0,expected:`"${a}"`,path:[{type:"object",origin:"key",input:o,key:a,value:o[a]}]}),r.abortEarly))break}}else ve(this,"type",n,r);return n}}}function pt(e,t){return{kind:"schema",type:"optional",reference:pt,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,default:t,get"~standard"(){return $e(this)},"~run"(n,r){return n.value===void 0&&(this.default!==void 0&&(n.value=bi(this,n,r)),n.value===void 0)?(n.typed=!0,n):this.wrapped["~run"](n,r)}}}function $i(e,t){return{kind:"schema",type:"picklist",reference:$i,expects:gi(e.map(wi),"|"),async:!1,options:e,message:t,get"~standard"(){return $e(this)},"~run"(n,r){return this.options.includes(n.value)?n.typed=!0:ve(this,"type",n,r),n}}}function ki(e,t,n){return{kind:"schema",type:"record",reference:ki,expects:"Object",async:!1,key:e,value:t,message:n,get"~standard"(){return $e(this)},"~run"(r,o){var a,s;const i=r.value;if(i&&typeof i=="object"){r.typed=!0,r.value={};for(const l in i)if(ml(i,l)){const u=i[l],f=this.key["~run"]({value:l},o);if(f.issues){const v={type:"object",origin:"key",input:i,key:l,value:u};for(const p of f.issues)p.path=[v],(a=r.issues)==null||a.push(p);if(r.issues||(r.issues=f.issues),o.abortEarly){r.typed=!1;break}}const c=this.value["~run"]({value:u},o);if(c.issues){const v={type:"object",origin:"value",input:i,key:l,value:u};for(const p of c.issues)p.path?p.path.unshift(v):p.path=[v],(s=r.issues)==null||s.push(p);if(r.issues||(r.issues=c.issues),o.abortEarly){r.typed=!1;break}}(!f.typed||!c.typed)&&(r.typed=!1),f.typed&&(r.value[f.value]=c.value)}}else ve(this,"type",r,o);return r}}}function ae(e){return{kind:"schema",type:"string",reference:ae,expects:"string",async:!1,message:e,get"~standard"(){return $e(this)},"~run"(t,n){return typeof t.value=="string"?t.typed=!0:ve(this,"type",t,n),t}}}function Ei(e){let t;if(e)for(const n of e)t?t.push(...n.issues):t=n.issues;return t}function Si(e,t){return{kind:"schema",type:"union",reference:Si,expects:gi(e.map(n=>n.expects),"|"),async:!1,options:e,message:t,get"~standard"(){return $e(this)},"~run"(n,r){let o,i,a;for(const s of this.options){const l=s["~run"]({value:n.value},r);if(l.typed)if(l.issues)i?i.push(l):i=[l];else{o=l;break}else a?a.push(l):a=[l]}if(o)return o;if(i){if(i.length===1)return i[0];ve(this,"type",n,r,{issues:Ei(i)}),n.typed=!0}else{if((a==null?void 0:a.length)===1)return a[0];ve(this,"type",n,r,{issues:Ei(a)})}return n}}}function Ci(...e){return{...e[0],pipe:e,get"~standard"(){return $e(this)},"~run"(t,n){for(const r of e)if(r.kind!=="metadata"){if(t.issues&&(r.kind==="schema"||r.kind==="transformation")){t.typed=!1;break}(!t.issues||!n.abortEarly&&!n.abortPipeEarly)&&(t=r["~run"](t,n))}return t}}}const yl={pathname:"/search/save",method:"POST",schema:{response:Fi(),body:Wn({contact:Wn({email:Ci(pt(ae()),ae(),yi()),first_name:pt(ae()),last_name:pt(ae())}),alerts:Ci(pt(ae()),ae(),$i(li)),filters:ki(ae(),Si([ae(),xi(ae())]))})}};var bl=["1","2","3","4","5","6","7","8","9","10","11","12"],xl={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]}},$l=(e,t=1,n)=>r=>{const[o,i]=xl[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},Pi=e=>{const t=$l(e.hue,e.chroma,e.mode);return Object.fromEntries(bl.map(n=>[e.prefix+n,e.transform(t(n))]))},Ai=e=>e,kl=e=>{const t=Object.keys(e).flatMap(n=>{const r=e[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(t)},Bt=e=>!!e&&typeof e=="object"&&!Array.isArray(e),Hn=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Bt(e)&&Bt(n))for(const r in n){const o=n[r];if(Bt(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];Bt(i)&&Hn(i,o)}else Object.assign(e,{[r]:n[r]})}return Hn(e,...t)},El=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},Sl=()=>({core:e=>({semantic:t=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=v=>i("reference",v.toString()),s=e({theme:o}),l=t({theme:o,core:a,raw:{core:s}}),u=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:l}}),f=kl(Hn(s,l,u)),c=([v,p],h)=>{const d=[h,v].filter(Boolean).join(".");return typeof p=="object"?Object.entries(p).flatMap(m=>c(m,d)):[[r.getToken("declaration",d),p]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(v=>c(v))),ref:v=>i("reference",v.toString())}}})})})});const[zn,Bn,Cl]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],Pl=Sl().core(({theme:e})=>({color:{transparent:Cl,black:zn,white:Bn,lowest:e.mode==="light"?Bn:zn,highest:e.mode==="light"?zn:Bn,...Pi({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:Ai}),...Pi({prefix:"n-",hue:e.accent.hue,chroma:.05,mode:e.mode,transform:Ai})},radius:{base:e.corners==="rounded"?".25rem":e.corners==="soft"?".125rem":"0",multiplier:e.corners==="rounded"?"0.5rem":e.corners==="soft"?"0.175rem":"0"},duration:{snappy:".4s",medium:".6s",slow:".9s"}})).semantic(({core:e})=>({radius:{sm:`calc(${e("radius.base")} + (0 * ${e("radius.multiplier")}))`,md:`calc(${e("radius.base")} + (1 * ${e("radius.multiplier")}))`,lg:`calc(${e("radius.base")} + (2 * ${e("radius.multiplier")}))`,xl:`calc(${e("radius.base")} + (3 * ${e("radius.multiplier")}))`}})).component(()=>({})),Al=El({prefix:"i-"}),jl=e=>{const t=Pl.from({theme:e,getToken:Al}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${rl} {
41
+ `)},Yc=0,qe=[];function Kc(e){var t=T([]),n=T([0,0]),r=T(),o=L(Yc++)[0],i=L(function(){return Qo()})[0],a=T(e);I(function(){a.current=e},[e]),I(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var h=pc([e.lockRef.current],(e.shards||[]).map(ii),!0).filter(Boolean);return h.forEach(function(_){return _.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=V(function(h,_){if("touches"in h&&h.touches.length===2)return!a.current.allowPinchZoom;var m=Ut(h),w=n.current,y="deltaX"in h?h.deltaX:w[0]-m[0],g="deltaY"in h?h.deltaY:w[1]-m[1],b,C=h.target,A=Math.abs(y)>Math.abs(g)?"h":"v";if("touches"in h&&A==="h"&&C.type==="range")return!1;var E=ti(A,C);if(!E)return!0;if(E?b=A:(b=A==="v"?"h":"v",E=ti(A,C)),!E)return!1;if(!r.current&&"changedTouches"in h&&(y||g)&&(r.current=b),!b)return!0;var D=r.current||b;return zc(D,_,h,D==="h"?y:g,!0)},[]),c=V(function(h){var _=h;if(!(!qe.length||qe[qe.length-1]!==i)){var m="deltaY"in _?oi(_):Ut(_),w=t.current.filter(function(b){return b.name===_.type&&b.target===_.target&&Bc(b.delta,m)})[0];if(w&&w.should){_.cancelable&&_.preventDefault();return}if(!w){var y=(a.current.shards||[]).map(ii).filter(Boolean).filter(function(b){return b.contains(_.target)}),g=y.length>0?s(_,y[0]):!a.current.noIsolation;g&&_.cancelable&&_.preventDefault()}}},[]),u=V(function(h,_,m,w){var y={name:h,delta:_,target:m,should:w};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(g){return g!==y})},1)},[]),f=V(function(h){n.current=Ut(h),r.current=void 0},[]),l=V(function(h){u(h.type,oi(h),h.target,s(h,e.lockRef.current))},[]),p=V(function(h){u(h.type,Ut(h),h.target,s(h,e.lockRef.current))},[]);I(function(){return qe.push(i),e.setCallbacks({onScrollCapture:l,onWheelCapture:l,onTouchMoveCapture:p}),document.addEventListener("wheel",c,Ke),document.addEventListener("touchmove",c,Ke),document.addEventListener("touchstart",f,Ke),function(){qe=qe.filter(function(h){return h!==i}),document.removeEventListener("wheel",c,Ke),document.removeEventListener("touchmove",c,Ke),document.removeEventListener("touchstart",f,Ke)}},[]);var d=e.removeScrollBar,v=e.inert;return x(B,null,v?x(i,{styles:Vc(o)}):null,d?x(Lc,{gapMode:"margin"}):null)}const qc=$c(Zo,Kc);var ai=K(function(e,t){return x(Mt,$e({},e,{ref:t,sideCar:qc}))});ai.classNames=Mt.classNames;const Xc=ai,si="Popover",[ci,au]=po(si,[zo]),Wn=zo(),[Zc,Xe]=ci(si),Gc=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=Wn(t),c=T(null),[u,f]=L(!1),[l=!1,p]=ac({prop:r,defaultProp:o,onChange:i});return x(ec,s,x(Zc,{scope:t,contentId:Ka(),triggerRef:c,open:l,onOpenChange:p,onOpenToggle:V(()=>p(d=>!d),[p]),hasCustomAnchor:u,onCustomAnchorAdd:V(()=>f(!0),[]),onCustomAnchorRemove:V(()=>f(!1),[]),modal:a},n))},Qc="PopoverTrigger",Jc=K((e,t)=>{const{__scopePopover:n,...r}=e,o=Xe(Qc,n),i=Wn(n),a=je(t,o.triggerRef),s=x(Ie.button,q({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":fi(o.open)},r,{ref:a,onClick:Ae(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:x(tc,q({asChild:!0},i),s)}),li="PopoverPortal",[el,tl]=ci(li,{forceMount:void 0}),nl=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=Xe(li,t);return x(el,{scope:t,forceMount:n},x(Nn,{present:n||i.open},x(rc,{asChild:!0,container:o},r)))},pt="PopoverContent",rl=K((e,t)=>{const n=tl(pt,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=Xe(pt,e.__scopePopover);return x(Nn,{present:r||i.open},i.modal?x(ol,q({},o,{ref:t})):x(il,q({},o,{ref:t})))}),ol=K((e,t)=>{const n=Xe(pt,e.__scopePopover),r=T(null),o=je(t,r),i=T(!1);return I(()=>{const a=r.current;if(a)return fc(a)},[]),x(Xc,{as:gn,allowPinchZoom:!0},x(ui,q({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ae(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Ae(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,c=s.button===0&&s.ctrlKey===!0,u=s.button===2||c;i.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:Ae(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),il=K((e,t)=>{const n=Xe(pt,e.__scopePopover),r=T(!1),o=T(!1);return x(ui,q({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,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=e.onInteractOutside)===null||a===void 0||a.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const c=i.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(c))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),ui=K((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:u,onInteractOutside:f,...l}=e,p=Xe(pt,n),d=Wn(n);return Fa(),x(Ma,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},x(Ra,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},x(nc,q({"data-state":fi(p.open),role:"dialog",id:p.contentId},d,l,{ref:t,style:{...l.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 fi(e){return e?"open":"closed"}const al=Gc,sl=Jc,cl=nl,ll=rl;function di(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=di(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Hn(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=di(e))&&(r&&(r+=" "),r+=t);return r}const pi="inploi-job-alerts",ul="ija",hi=["INSTANTLY","DAILY","WEEKLY","MONTHLY"];var fl=["other","few","many","two","one","zero"],vi=({terms:e,overrides:t,locale:n})=>{const r=new Intl.PluralRules(n);function o(i,a){const s=(t==null?void 0:t[i])??e[i];switch(typeof s){case"string":return s.replace(/{{(\w+)}}/g,(c,u)=>{var f;return((f=a==null?void 0:a[u])==null?void 0:f.toString())??""});case"object":{if(typeof(a==null?void 0:a.count)!="number")throw new Error(`Missing count for translation key “${i.toString()}”`);let c=r.select(a.count);if(!(c in s)){const u=fl.find(f=>f in s);if(!u)throw new Error(`Missing plural rule for translation key “${i.toString()}”`);c=u}return s[c].replace(/{{(\w+)}}/g,(u,f)=>{var l;return((l=a==null?void 0:a[f])==null?void 0:l.toString())??""})}default:throw new Error(`Invalid translation value in dictionary for key “${i.toString()}”.`)}}return o},_i=Re(null),dl=e=>({TranslationProvider:({terms:t,children:n,locale:r})=>{const o=X(()=>vi({locale:r,terms:e,overrides:t}),[t,r]);return k(_i.Provider,{value:{t:o,locale:r},children:n})},useTranslation:()=>{const t=Le(_i);if(t===null)throw new Error("Please wrap useTranslation in a TranslationProvider");return{t:t.t,locale:t.locale}},createTFunction:({overrides:t,locale:n})=>vi({terms:e,overrides:t,locale:n})});const{TranslationProvider:pl,useTranslation:hl,createTFunction:su}=dl({INSTANTLY:"Instantly",DAILY:"Daily",WEEKLY:"Weekly",MONTHLY:"Monthly",email:"Email",email_placeholder:"jane.doe@example.com",name:"Name",name_placeholder:"Jane Doe",save:"Save",save_alert:"Save Alert",frequency:"Frequency",create_alert:"Create Alert"});var vl=Symbol.for("preact-signals");function zn(){if(Ze>1)Ze--;else{for(var e,t=!1;ht!==void 0;){var n=ht;for(ht=void 0,Bn++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&wi(n))try{n.c()}catch(o){t||(e=o,t=!0)}n=r}}if(Bn=0,Ze--,t)throw e}}var F=void 0,ht=void 0,Ze=0,Bn=0,Wt=0;function mi(e){if(F!==void 0){var t=e.n;if(t===void 0||t.t!==F)return t={i:0,S:e,p:F.s,n:void 0,t:F,e:void 0,x:void 0,r:t},F.s!==void 0&&(F.s.n=t),F.s=t,e.n=t,32&F.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=F.s,t.n=void 0,F.s.n=t,F.s=t),t}}function Z(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}Z.prototype.brand=vl,Z.prototype.h=function(){return!0},Z.prototype.S=function(e){this.t!==e&&e.e===void 0&&(e.x=this.t,this.t!==void 0&&(this.t.e=e),this.t=e)},Z.prototype.U=function(e){if(this.t!==void 0){var t=e.e,n=e.x;t!==void 0&&(t.x=n,e.e=void 0),n!==void 0&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n)}},Z.prototype.subscribe=function(e){var t=this;return Yn(function(){var n=t.value,r=F;F=void 0;try{e(n)}finally{F=r}})},Z.prototype.valueOf=function(){return this.value},Z.prototype.toString=function(){return this.value+""},Z.prototype.toJSON=function(){return this.value},Z.prototype.peek=function(){var e=F;F=void 0;try{return this.value}finally{F=e}},Object.defineProperty(Z.prototype,"value",{get:function(){var e=mi(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(Bn>100)throw new Error("Cycle detected");this.v=e,this.i++,Wt++,Ze++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{zn()}}}});function Ht(e){return new Z(e)}function wi(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function gi(e){for(var t=e.s;t!==void 0;t=t.n){var n=t.S.n;if(n!==void 0&&(t.r=n),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function yi(e){for(var t=e.s,n=void 0;t!==void 0;){var r=t.p;t.i===-1?(t.S.U(t),r!==void 0&&(r.n=t.n),t.n!==void 0&&(t.n.p=r)):n=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=r}e.s=n}function Ge(e){Z.call(this,void 0),this.x=e,this.s=void 0,this.g=Wt-1,this.f=4}(Ge.prototype=new Z).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Wt))return!0;if(this.g=Wt,this.f|=1,this.i>0&&!wi(this))return this.f&=-2,!0;var e=F;try{gi(this),F=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(n){this.v=n,this.f|=16,this.i++}return F=e,yi(this),this.f&=-2,!0},Ge.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}Z.prototype.S.call(this,e)},Ge.prototype.U=function(e){if(this.t!==void 0&&(Z.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}},Ge.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},Object.defineProperty(Ge.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=mi(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function _l(e){return new Ge(e)}function bi(e){var t=e.u;if(e.u=void 0,typeof t=="function"){Ze++;var n=F;F=void 0;try{t()}catch(r){throw e.f&=-2,e.f|=8,Vn(e),r}finally{F=n,zn()}}}function Vn(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,bi(e)}function ml(e){if(F!==this)throw new Error("Out-of-order effect");yi(this),F=e,this.f&=-2,8&this.f&&Vn(this),zn()}function vt(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}vt.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.u=t)}finally{e()}},vt.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,bi(this),gi(this),Ze++;var e=F;return F=this,ml.bind(this,e)},vt.prototype.N=function(){2&this.f||(this.f|=2,this.o=ht,ht=this)},vt.prototype.d=function(){this.f|=8,1&this.f||Vn(this)};function Yn(e){var t=new vt(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var Kn;function Qe(e,t){$[e]=t.bind(null,$[e]||function(){})}function zt(e){Kn&&Kn(),Kn=e&&e.S()}function xi(e){var t=this,n=e.data,r=gl(n);r.value=n;var o=X(function(){for(var i=t.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return t.__$u.c=function(){var a;!rr(o.peek())&&((a=t.base)==null?void 0:a.nodeType)===3?t.base.data=o.peek():(t.__$f|=1,t.setState({}))},_l(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}xi.displayName="_st",Object.defineProperties(Z.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:xi},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),Qe("__b",function(e,t){if(typeof t.type=="string"){var n,r=t.props;for(var o in r)if(o!=="children"){var i=r[o];i instanceof Z&&(n||(t.__np=n={}),n[o]=i,r[o]=i.peek())}}e(t)}),Qe("__r",function(e,t){zt();var n,r=t.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return Yn(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),zt(n),e(t)}),Qe("__e",function(e,t,n,r){zt(),e(t,n,r)}),Qe("diffed",function(e,t){zt();var n;if(typeof t.type=="string"&&(n=t.__e)){var r=t.__np,o=t.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 c in r){var u=i[c],f=r[c];u===void 0?(u=wl(n,c,f,o),i[c]=u):u.o(f,o)}}}e(t)});function wl(e,t,n,r){var o=t in e&&e.ownerSVGElement===void 0,i=Ht(n);return{o:function(a,s){i.value=a,r=s},d:Yn(function(){var a=i.value.value;r[t]!==a&&(r[t]=a,o?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}Qe("unmount",function(e,t){if(typeof t.type=="string"){var n=t.__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=t.__c;if(a){var s=a.__$u;s&&(a.__$u=void 0,s.d())}}e(t)}),Qe("__h",function(e,t,n,r){(r<3||r===9)&&(t.__$f|=2),e(t,n,r)}),ee.prototype.shouldComponentUpdate=function(e,t){var n=this.__$u;if(!(n&&n.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var r in t)return!0;for(var o in e)if(o!=="__source"&&e[o]!==this.props[o])return!0;for(var i in this.props)if(!(i in e))return!0;return!1};function gl(e){return X(function(){return Ht(e)},[])}const Je={config$:Ht({headerText:"",label:""}),filters$:Ht({})};var _e;function yl(e){return{lang:(e==null?void 0:e.lang)??(_e==null?void 0:_e.lang),message:e==null?void 0:e.message,abortEarly:(e==null?void 0:e.abortEarly)??(_e==null?void 0:_e.abortEarly),abortPipeEarly:(e==null?void 0:e.abortPipeEarly)??(_e==null?void 0:_e.abortPipeEarly)}}var qn;function bl(e){return qn==null?void 0:qn.get(e)}var Xn;function xl(e){return Xn==null?void 0:Xn.get(e)}var Zn;function $l(e,t){var n;return(n=Zn==null?void 0:Zn.get(e))==null?void 0:n.get(t)}function $i(e){var n,r;const t=typeof e;return t==="string"?`"${e}"`:t==="number"||t==="bigint"||t==="boolean"?`${e}`:t==="object"||t==="function"?(e&&((r=(n=Object.getPrototypeOf(e))==null?void 0:n.constructor)==null?void 0:r.name))??"null":t}function me(e,t,n,r,o){const i=o&&"input"in o?o.input:n.value,a=(o==null?void 0:o.expected)??e.expects??null,s=(o==null?void 0:o.received)??$i(i),c={kind:e.kind,type:e.type,input:i,expected:a,received:s,message:`Invalid ${t}: ${a?`Expected ${a} but r`:"R"}eceived ${s}`,requirement:e.requirement,path:o==null?void 0:o.path,issues:o==null?void 0:o.issues,lang:r.lang,abortEarly:r.abortEarly,abortPipeEarly:r.abortPipeEarly},u=e.kind==="schema",f=(o==null?void 0:o.message)??e.message??$l(e.reference,c.lang)??(u?xl(c.lang):null)??r.message??bl(c.lang);f!==void 0&&(c.message=typeof f=="function"?f(c):f),u&&(n.typed=!1),n.issues?n.issues.push(c):n.issues=[c]}function ke(e){return{version:1,vendor:"valibot",validate(t){return e["~run"]({value:t},yl())}}}function kl(e,t){return Object.hasOwn(e,t)&&t!=="__proto__"&&t!=="prototype"&&t!=="constructor"}function ki(e,t){const n=[...new Set(e)];return n.length>1?`(${n.join(` ${t} `)})`:n[0]??"never"}var El=/^[\w+-]+(?:\.[\w+-]+)*@[\da-z]+(?:[.-][\da-z]+)*\.[a-z]{2,}$/iu;function Ei(e){return{kind:"validation",type:"email",reference:Ei,expects:null,async:!1,requirement:El,message:e,"~run"(t,n){return t.typed&&!this.requirement.test(t.value)&&me(this,"email",t,n),t}}}function Sl(e,t,n){return typeof e.fallback=="function"?e.fallback(t,n):e.fallback}function Si(e,t,n){return typeof e.default=="function"?e.default(t,n):e.default}function Ci(e,t){return{kind:"schema",type:"array",reference:Ci,expects:"Array",async:!1,item:e,message:t,get"~standard"(){return ke(this)},"~run"(n,r){var i;const o=n.value;if(Array.isArray(o)){n.typed=!0,n.value=[];for(let a=0;a<o.length;a++){const s=o[a],c=this.item["~run"]({value:s},r);if(c.issues){const u={type:"array",origin:"value",input:o,key:a,value:s};for(const f of c.issues)f.path?f.path.unshift(u):f.path=[u],(i=n.issues)==null||i.push(f);if(n.issues||(n.issues=c.issues),r.abortEarly){n.typed=!1;break}}c.typed||(n.typed=!1),n.value.push(c.value)}}else me(this,"type",n,r);return n}}}function Gn(e,t){return{kind:"schema",type:"object",reference:Gn,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return ke(this)},"~run"(n,r){var i;const o=n.value;if(o&&typeof o=="object"){n.typed=!0,n.value={};for(const a in this.entries){const s=this.entries[a];if(a in o||(s.type==="exact_optional"||s.type==="optional"||s.type==="nullish")&&s.default!==void 0){const c=a in o?o[a]:Si(s),u=s["~run"]({value:c},r);if(u.issues){const f={type:"object",origin:"value",input:o,key:a,value:c};for(const l of u.issues)l.path?l.path.unshift(f):l.path=[f],(i=n.issues)==null||i.push(l);if(n.issues||(n.issues=u.issues),r.abortEarly){n.typed=!1;break}}u.typed||(n.typed=!1),n.value[a]=u.value}else if(s.fallback!==void 0)n.value[a]=Sl(s);else if(s.type!=="exact_optional"&&s.type!=="optional"&&s.type!=="nullish"&&(me(this,"key",n,r,{input:void 0,expected:`"${a}"`,path:[{type:"object",origin:"key",input:o,key:a,value:o[a]}]}),r.abortEarly))break}}else me(this,"type",n,r);return n}}}function _t(e,t){return{kind:"schema",type:"optional",reference:_t,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,default:t,get"~standard"(){return ke(this)},"~run"(n,r){return n.value===void 0&&(this.default!==void 0&&(n.value=Si(this,n,r)),n.value===void 0)?(n.typed=!0,n):this.wrapped["~run"](n,r)}}}function Pi(e,t){return{kind:"schema",type:"picklist",reference:Pi,expects:ki(e.map($i),"|"),async:!1,options:e,message:t,get"~standard"(){return ke(this)},"~run"(n,r){return this.options.includes(n.value)?n.typed=!0:me(this,"type",n,r),n}}}function Ai(e,t,n){return{kind:"schema",type:"record",reference:Ai,expects:"Object",async:!1,key:e,value:t,message:n,get"~standard"(){return ke(this)},"~run"(r,o){var a,s;const i=r.value;if(i&&typeof i=="object"){r.typed=!0,r.value={};for(const c in i)if(kl(i,c)){const u=i[c],f=this.key["~run"]({value:c},o);if(f.issues){const p={type:"object",origin:"key",input:i,key:c,value:u};for(const d of f.issues)d.path=[p],(a=r.issues)==null||a.push(d);if(r.issues||(r.issues=f.issues),o.abortEarly){r.typed=!1;break}}const l=this.value["~run"]({value:u},o);if(l.issues){const p={type:"object",origin:"value",input:i,key:c,value:u};for(const d of l.issues)d.path?d.path.unshift(p):d.path=[p],(s=r.issues)==null||s.push(d);if(r.issues||(r.issues=l.issues),o.abortEarly){r.typed=!1;break}}(!f.typed||!l.typed)&&(r.typed=!1),f.typed&&(r.value[f.value]=l.value)}}else me(this,"type",r,o);return r}}}function ae(e){return{kind:"schema",type:"string",reference:ae,expects:"string",async:!1,message:e,get"~standard"(){return ke(this)},"~run"(t,n){return typeof t.value=="string"?t.typed=!0:me(this,"type",t,n),t}}}function ji(e){let t;if(e)for(const n of e)t?t.push(...n.issues):t=n.issues;return t}function Oi(e,t){return{kind:"schema",type:"union",reference:Oi,expects:ki(e.map(n=>n.expects),"|"),async:!1,options:e,message:t,get"~standard"(){return ke(this)},"~run"(n,r){let o,i,a;for(const s of this.options){const c=s["~run"]({value:n.value},r);if(c.typed)if(c.issues)i?i.push(c):i=[c];else{o=c;break}else a?a.push(c):a=[c]}if(o)return o;if(i){if(i.length===1)return i[0];me(this,"type",n,r,{issues:ji(i)}),n.typed=!0}else{if((a==null?void 0:a.length)===1)return a[0];me(this,"type",n,r,{issues:ji(a)})}return n}}}function Ti(...e){return{...e[0],pipe:e,get"~standard"(){return ke(this)},"~run"(t,n){for(const r of e)if(r.kind!=="metadata"){if(t.issues&&(r.kind==="schema"||r.kind==="transformation")){t.typed=!1;break}(!t.issues||!n.abortEarly&&!n.abortPipeEarly)&&(t=r["~run"](t,n))}return t}}}const Cl={pathname:"/search/save",method:"POST",schema:{response:Hi(),body:Gn({contact:Gn({email:Ti(_t(ae()),ae(),Ei()),first_name:_t(ae()),last_name:_t(ae())}),alerts:Ti(_t(ae()),ae(),Pi(hi)),filters:Ai(ae(),Oi([ae(),Ci(ae())]))})}};var Pl=["1","2","3","4","5","6","7","8","9","10","11","12"],Al={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]}},jl=(e,t=1,n)=>r=>{const[o,i]=Al[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},Di=e=>{const t=jl(e.hue,e.chroma,e.mode);return Object.fromEntries(Pl.map(n=>[e.prefix+n,e.transform(t(n))]))},Ri=e=>e,Ol=e=>{const t=Object.keys(e).flatMap(n=>{const r=e[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(t)},Bt=e=>!!e&&typeof e=="object"&&!Array.isArray(e),Qn=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Bt(e)&&Bt(n))for(const r in n){const o=n[r];if(Bt(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];Bt(i)&&Qn(i,o)}else Object.assign(e,{[r]:n[r]})}return Qn(e,...t)},Tl=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},Dl=()=>({core:e=>({semantic:t=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),s=e({theme:o}),c=t({theme:o,core:a,raw:{core:s}}),u=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:c}}),f=Ol(Qn(s,c,u)),l=([p,d],v)=>{const h=[v,p].filter(Boolean).join(".");return typeof d=="object"?Object.entries(d).flatMap(_=>l(_,h)):[[r.getToken("declaration",h),d]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(p=>l(p))),ref:p=>i("reference",p.toString())}}})})})});const[Jn,er,Rl]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],Nl=Dl().core(({theme:e})=>({color:{transparent:Rl,black:Jn,white:er,lowest:e.mode==="light"?er:Jn,highest:e.mode==="light"?Jn:er,...Di({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:Ri}),...Di({prefix:"n-",hue:e.accent.hue,chroma:.05,mode:e.mode,transform:Ri})},radius:{base:e.corners==="rounded"?".25rem":e.corners==="soft"?".125rem":"0",multiplier:e.corners==="rounded"?"0.5rem":e.corners==="soft"?"0.175rem":"0"},duration:{snappy:".4s",medium:".6s",slow:".9s"}})).semantic(({core:e})=>({radius:{sm:`calc(${e("radius.base")} + (0 * ${e("radius.multiplier")}))`,md:`calc(${e("radius.base")} + (1 * ${e("radius.multiplier")}))`,lg:`calc(${e("radius.base")} + (2 * ${e("radius.multiplier")}))`,xl:`calc(${e("radius.base")} + (3 * ${e("radius.multiplier")}))`}})).component(()=>({})),Ll=Tl({prefix:"i-"}),Fl=e=>{const t=Nl.from({theme:e,getToken:Ll}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${ul} {
42
42
  ${n.concat(n).join(`
43
43
  `)}
44
- }`},ji=e=>{const t=[];return t.push(e.corners),t.push(e.highlights),t.push(e.mode),t},Ol=({error:e})=>e?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:e})]}):null,Vn="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]",Tl=e=>typeof e=="string"?e:typeof e=="object"&&e!==null&&"message"in e&&typeof e.message=="string"?e.message:"Failed to create alert. Please try again later.",Dl=Y(({class:e,...t},n)=>k("button",{ref:n,class:Tn("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]",e),onTouchStart:Oi,...t,children:[k(mr,{class:"flex-none",name:"bell"})," ",k("span",{class:"min-w-0 truncate text-center",children:Ge.config$.value.label})]})),Rl=()=>k("p",{class:"text-neutral-11 px-2 pb-4 pt-1 text-sm",children:Ge.config$.value.headerText});function Oi(){}const Nl=({theme:e,rpcClient:t,logger:n})=>{const[r,o]=L("idle"),[i,a]=L(),{t:s}=sl();return k("div",{id:"ija",children:k("div",{class:ji(e).join(" "),children:k(Jc,{children:[k(el,{asChild:!0,children:k(Dl,{})}),k(tl,{children:k("div",{id:"ija",children:k("div",{class:Tn("absolute isolate z-50",ji(e).join(" ")),children:k(nl,{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(Rl,{}),k("form",{onSubmit:async l=>{var h,d,m;if(l.preventDefault(),r!=="idle")return;const u=new FormData(l.currentTarget),f=(h=u.get("name"))==null?void 0:h.toString(),[c,...v]=(f==null?void 0:f.split(" "))??[],p=v.join(" ");o("loading"),await Promise.all([new Promise(_=>setTimeout(_,1e3)),t.request(yl,{body:{contact:{email:(d=u.get("email"))==null?void 0:d.toString(),first_name:c,last_name:p},alerts:(m=u.get("frequency"))==null?void 0:m.toString(),filters:Ge.filters$.peek()}})]).then(async()=>{o("success"),await new Promise(_=>setTimeout(_,1e3)),o("idle")}).catch(_=>{n.error(_),a(Tl(_)),o("idle")})},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:s("email")}),k("input",{name:"email",autocomplete:"email",class:Vn,disabled:r==="loading",id:"ija-email",placeholder:s("email_placeholder"),type:"email",required:!0})]}),k("fieldset",{class:"fieldset relative focus-within:z-10",children:[k("label",{class:"sr-only",htmlFor:"ija-name",children:s("name")}),k("input",{disabled:r==="loading",name:"name",required:!0,autocomplete:"name",class:Vn,id:"ija-name",placeholder:s("name_placeholder")})]}),k("fieldset",{class:"fieldset relative focus-within:z-10",children:[k("label",{class:"sr-only",htmlFor:"ija-frequency",children:s("frequency")}),k("select",{disabled:r==="loading",class:Tn(Vn,"appearance-none pr-8"),id:"ija-frequency",defaultValue:"WEEKLY",name:"frequency",children:li.map(l=>k("option",{value:l,children:s(l)}))}),k("div",{class:"text-neutral-10 absolute bottom-0 right-0 top-0 flex items-center p-1","aria-hidden":!0,children:k(mr,{name:"chevron-up-down"})})]})]}),k("button",{onTouchStart:Oi,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:s("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(Ol,{error:i})]})]})})})})]})})})},Ll=`#ija{font-size:16px;--tw-content: ""}#ija *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}#ija :before,#ija :after{box-sizing:border-box}#ija :is(a){text-decoration:none}#ija :is(ul,ol){list-style:none;padding:0;margin:0}#ija :is(p){margin:0;padding:0}#ija :is(li){margin:0;padding:0;list-style:none}#ija :is(fieldset){margin:0;padding:0}#ija :is(button),#ija :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ija :is(input),#ija :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}#ija :is(svg){display:block}@media (prefers-reduced-motion){#ija *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}#ija *,#ija :before,#ija :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ija ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ija .container{width:100%}@media (min-width: 640px){#ija .container{max-width:640px}}@media (min-width: 768px){#ija .container{max-width:768px}}@media (min-width: 1024px){#ija .container{max-width:1024px}}@media (min-width: 1280px){#ija .container{max-width:1280px}}@media (min-width: 1536px){#ija .container{max-width:1536px}}#ija .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}#ija .visible{visibility:visible}#ija .invisible{visibility:hidden}#ija .collapse{visibility:collapse}#ija .static{position:static}#ija .fixed{position:fixed}#ija .absolute{position:absolute}#ija .relative{position:relative}#ija .sticky{position:sticky}#ija .bottom-0{bottom:0}#ija .right-0{right:0}#ija .top-0{top:0}#ija .isolate{isolation:isolate}#ija .z-50{z-index:50}#ija .col-span-full{grid-column:1 / -1}#ija .row-span-full{grid-row:1 / -1}#ija .mt-0\\.5{margin-top:.125rem}#ija .block{display:block}#ija .inline-block{display:inline-block}#ija .inline{display:inline}#ija .flex{display:flex}#ija .inline-flex{display:inline-flex}#ija .table{display:table}#ija .table-row{display:table-row}#ija .flow-root{display:flow-root}#ija .grid{display:grid}#ija .inline-grid{display:inline-grid}#ija .contents{display:contents}#ija .list-item{display:list-item}#ija .\\!hidden{display:none!important}#ija .hidden{display:none}#ija .h-4{height:1rem}#ija .w-4{width:1rem}#ija .w-64{width:16rem}#ija .w-full{width:100%}#ija .min-w-0{min-width:0px}#ija .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}#ija .max-w-full{max-width:100%}#ija .flex-none{flex:none}#ija .flex-shrink,#ija .shrink{flex-shrink:1}#ija .flex-grow,#ija .grow{flex-grow:1}#ija .border-collapse{border-collapse:collapse}#ija .translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .resize{resize:both}#ija .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}#ija .flex-col{flex-direction:column}#ija .flex-wrap{flex-wrap:wrap}#ija .items-start{align-items:flex-start}#ija .items-center{align-items:center}#ija .justify-center{justify-content:center}#ija .gap-1\\.5{gap:.375rem}#ija .gap-2{gap:.5rem}#ija .gap-2\\.5{gap:.625rem}#ija .overflow-hidden{overflow:hidden}#ija .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#ija .rounded-lg{border-radius:var(--i-radius-lg)}#ija .border{border-width:1px}#ija .bg-accent-9{background-color:var(--i-color-a-9)}#ija .bg-lowest{background-color:var(--i-color-lowest)}#ija .bg-neutral-1{background-color:var(--i-color-n-1)}#ija .p-1{padding:.25rem}#ija .p-2{padding:.5rem}#ija .px-2{padding-left:.5rem;padding-right:.5rem}#ija .px-2\\.5{padding-left:.625rem;padding-right:.625rem}#ija .px-3{padding-left:.75rem;padding-right:.75rem}#ija .px-4{padding-left:1rem;padding-right:1rem}#ija .px-5{padding-left:1.25rem;padding-right:1.25rem}#ija .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}#ija .py-2{padding-top:.5rem;padding-bottom:.5rem}#ija .pb-4{padding-bottom:1rem}#ija .pl-2{padding-left:.5rem}#ija .pl-2\\.5{padding-left:.625rem}#ija .pr-1{padding-right:.25rem}#ija .pr-8{padding-right:2rem}#ija .pt-1{padding-top:.25rem}#ija .text-center{text-align:center}#ija .text-justify{text-align:justify}#ija .text-base{font-size:1rem;line-height:1.5rem}#ija .text-sm{font-size:.875rem;line-height:1.25rem}#ija .font-medium{font-weight:500}#ija .uppercase{text-transform:uppercase}#ija .lowercase{text-transform:lowercase}#ija .capitalize{text-transform:capitalize}#ija .italic{font-style:italic}#ija .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ija .text-\\[\\#E5484D\\]{--tw-text-opacity: 1;color:rgb(229 72 77 / var(--tw-text-opacity))}#ija .text-accent-1{color:var(--i-color-a-1)}#ija .text-accent-11{color:var(--i-color-a-11)}#ija .text-neutral-10{color:var(--i-color-n-10)}#ija .text-neutral-11{color:var(--i-color-n-11)}#ija .underline{text-decoration-line:underline}#ija .opacity-0{opacity:0}#ija .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .shadow-surface-lg{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 11px 4px 0px oklch(0% 0 0 / .01), 0px 32px 24px -12px oklch(0% 0 0 / .06);--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);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .outline-none{outline:2px solid transparent;outline-offset:2px}#ija .outline{outline-style:solid}#ija .ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ija .ring-1,#ija .ring-\\[1px\\]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ija .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}#ija .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}#ija .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ija .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ija .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ija .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ija .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ija .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}#ija .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}#ija .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}#ija .duration-medium{transition-duration:var(--i-duration-medium)}#ija .duration-snappy{transition-duration:var(--i-duration-snappy)}#ija .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ija .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}#ija .fr{outline:none}#ija .fr:focus{outline:none}#ija .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ija .rounded-field-input{border-radius:0}#ija .fieldset:first-child .rounded-field-input{border-top-left-radius:var(--i-radius-md);border-top-right-radius:var(--i-radius-md)}#ija .fieldset:last-child .rounded-field-input{border-bottom-left-radius:var(--i-radius-md);border-bottom-right-radius:var(--i-radius-md)}@keyframes loading-circle{0%{stroke-dasharray:0 56.54}to{stroke-dasharray:56.54 56.54}}#ija .loading-circle{stroke-dasharray:56.54 56.54}#ija [data-state=loading] .loading-circle{animation:loading-circle 1s linear}@keyframes done-checkmark{0%{stroke-dasharray:0 8.6}to{stroke-dasharray:8.6 8.6}}#ija .done-checkmark{stroke-dashoffset:-1;stroke-dasharray:0 8.6;opacity:0}#ija [data-state=success] .done-checkmark{opacity:1;animation:done-checkmark .9s cubic-bezier(.16,1,.3,1)}#ija .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#ija .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ija .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ija .focus-within\\:z-10:focus-within{z-index:10}#ija .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}#ija .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading]{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .data-\\[state\\=success\\]\\:translate-y-full[data-state=success]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes slideUpAndFade{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}#ija .data-\\[state\\=open\\]\\:data-\\[side\\=bottom\\]\\:animate-slideUpAndFade[data-side=bottom][data-state=open]{animation:slideUpAndFade .4s cubic-bezier(.16,1,.3,1)}@keyframes slideRightAndFade{0%{opacity:0;transform:translate(-2px)}to{opacity:1;transform:translate(0)}}#ija .data-\\[state\\=open\\]\\:data-\\[side\\=left\\]\\:animate-slideRightAndFade[data-side=left][data-state=open]{animation:slideRightAndFade .4s cubic-bezier(.16,1,.3,1)}@keyframes slideLeftAndFade{0%{opacity:0;transform:translate(2px)}to{opacity:1;transform:translate(0)}}#ija .data-\\[state\\=open\\]\\:data-\\[side\\=right\\]\\:animate-slideLeftAndFade[data-side=right][data-state=open]{animation:slideLeftAndFade .4s cubic-bezier(.16,1,.3,1)}@keyframes slideDownAndFade{0%{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}#ija .data-\\[state\\=open\\]\\:data-\\[side\\=top\\]\\:animate-slideDownAndFade[data-side=top][data-state=open]{animation:slideDownAndFade .4s cubic-bezier(.16,1,.3,1)}#ija .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle]{opacity:0}#ija .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle]{opacity:1}#ija .dark .theme-dark\\:text-highest{color:var(--i-color-highest)}#ija .dark .theme-dark\\:active\\:bg-accent-8:active{background-color:var(--i-color-a-8)}#ija .fill .theme-fill\\:bg-accent-2{background-color:var(--i-color-a-2)}#ija .fill .theme-fill\\:hover\\:bg-accent-3:hover{background-color:var(--i-color-a-3)}#ija .fill .theme-fill\\:active\\:bg-accent-4:active{background-color:var(--i-color-a-4)}#ija .stroke .theme-stroke\\:ring-\\[1px\\]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ija .stroke .theme-stroke\\:ring-accent-4{--tw-ring-color: var(--i-color-a-4)}#ija .stroke .theme-stroke\\:hover\\:ring-accent-9:hover{--tw-ring-color: var(--i-color-a-9)}
45
- `,Fl=(()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${ci}`);if(!e)throw new Error(`Element with id ${ci} not found.`);return e}}))(),Ml=()=>Li(({rpcClient:e,logger:t,analytics:n})=>{let r=!1;const o=({params:s})=>$(al,{terms:s.terms,locale:void 0},[[$("style",{id:"inploi-job-alerts-styles"},Ll),$("style",{id:"inploi-job-search-theme"},jl(s.theme))],$(ea,{theme:s.theme}),$(Nl,{theme:s.theme,rpcClient:e,logger:t,analytics:n})]),i=s=>Ge.filters$.value=s,a=s=>Ge.config$.value=typeof s=="function"?s(Ge.config$.peek()):s;return{prerender:async s=>(r=!0,i(s.initialFilters),{html:Zi($(B,{},$(o,{params:s})))}),render:async s=>{const l=r?Qt:De;Ni(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($(o,{params:s}),Fl.getRenderTargetElement())},setFilters:i,setConfig:a,"~brand":"@inploi/plugin-job-alerts"}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobAlertsPlugin=Ml})();
44
+ }`},Ni=e=>{const t=[];return t.push(e.corners),t.push(e.highlights),t.push(e.mode),t},Ml=({error:e})=>e?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:e})]}):null,tr="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]",Il=e=>typeof e=="string"?e:typeof e=="object"&&e!==null&&"message"in e&&typeof e.message=="string"?e.message:"Failed to create alert. Please try again later.",Ul=K(({class:e,...t},n)=>k("button",{ref:n,class:Hn("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]",e),onTouchStart:Li,...t,children:[k(Sr,{class:"flex-none",name:"bell"})," ",k("span",{class:"min-w-0 truncate text-center",children:Je.config$.value.label})]})),Wl=()=>k("p",{class:"text-neutral-11 px-2 pb-4 pt-1 text-sm",children:Je.config$.value.headerText});function Li(){}const Hl=({theme:e,rpcClient:t,logger:n,analytics:r})=>{const[o,i]=L("idle"),[a,s]=L(),{t:c}=hl();return k("div",{id:"ija",children:k("div",{class:Ni(e).join(" "),children:k(al,{children:[k(sl,{asChild:!0,children:k(Ul,{})}),k(cl,{children:k("div",{id:"ija",children:k("div",{class:Hn("absolute isolate z-50",Ni(e).join(" ")),children:k(ll,{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(Wl,{}),k("form",{onSubmit:async u=>{var _,m,w,y;if(u.preventDefault(),o!=="idle")return;const f=new FormData(u.currentTarget),l=(_=f.get("name"))==null?void 0:_.toString(),[p,...d]=(l==null?void 0:l.split(" "))??[],v=d.join(" "),h=(m=f.get("email"))==null?void 0:m.toString();i("loading"),r.log({event:"IDENTIFY",properties:{identifier:"job_alerts",email:h,first_name:p,last_name:v}}),await Promise.all([new Promise(g=>setTimeout(g,1e3)),t.request(Cl,{body:{contact:{email:(w=f.get("email"))==null?void 0:w.toString(),first_name:p,last_name:v},alerts:(y=f.get("frequency"))==null?void 0:y.toString(),filters:Je.filters$.peek()}})]).then(async()=>{i("success"),await new Promise(g=>setTimeout(g,1e3)),i("idle")}).catch(g=>{n.error(g),s(Il(g)),i("idle")})},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:c("email")}),k("input",{name:"email",autocomplete:"email",class:tr,disabled:o==="loading",id:"ija-email",placeholder:c("email_placeholder"),type:"email",required:!0})]}),k("fieldset",{class:"fieldset relative focus-within:z-10",children:[k("label",{class:"sr-only",htmlFor:"ija-name",children:c("name")}),k("input",{disabled:o==="loading",name:"name",required:!0,autocomplete:"name",class:tr,id:"ija-name",placeholder:c("name_placeholder")})]}),k("fieldset",{class:"fieldset relative focus-within:z-10",children:[k("label",{class:"sr-only",htmlFor:"ija-frequency",children:c("frequency")}),k("select",{disabled:o==="loading",class:Hn(tr,"appearance-none pr-8"),id:"ija-frequency",defaultValue:"WEEKLY",name:"frequency",children:hi.map(u=>k("option",{value:u,children:c(u)}))}),k("div",{class:"text-neutral-10 absolute bottom-0 right-0 top-0 flex items-center p-1","aria-hidden":!0,children:k(Sr,{name:"chevron-up-down"})})]})]}),k("button",{onTouchStart:Li,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":o,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:c("create_alert")}),k("div",{"data-state":o,class:"ease-expo-out duration-medium col-span-full row-span-full flex translate-y-0 justify-center text-base transition-all data-[state=idle]:translate-y-full data-[state=idle]:opacity-0",children: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(Ml,{error:a})]})]})})})})]})})})},zl=`#ija{font-size:16px;--tw-content: ""}#ija *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}#ija :before,#ija :after{box-sizing:border-box}#ija :is(a){text-decoration:none}#ija :is(ul,ol){list-style:none;padding:0;margin:0}#ija :is(p){margin:0;padding:0}#ija :is(li){margin:0;padding:0;list-style:none}#ija :is(fieldset){margin:0;padding:0}#ija :is(button),#ija :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ija :is(input),#ija :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}#ija :is(svg){display:block}@media (prefers-reduced-motion){#ija *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}#ija *,#ija :before,#ija :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ija ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ija .container{width:100%}@media (min-width: 640px){#ija .container{max-width:640px}}@media (min-width: 768px){#ija .container{max-width:768px}}@media (min-width: 1024px){#ija .container{max-width:1024px}}@media (min-width: 1280px){#ija .container{max-width:1280px}}@media (min-width: 1536px){#ija .container{max-width:1536px}}#ija .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}#ija .visible{visibility:visible}#ija .invisible{visibility:hidden}#ija .collapse{visibility:collapse}#ija .static{position:static}#ija .fixed{position:fixed}#ija .absolute{position:absolute}#ija .relative{position:relative}#ija .sticky{position:sticky}#ija .bottom-0{bottom:0}#ija .right-0{right:0}#ija .top-0{top:0}#ija .isolate{isolation:isolate}#ija .z-50{z-index:50}#ija .col-span-full{grid-column:1 / -1}#ija .row-span-full{grid-row:1 / -1}#ija .mt-0\\.5{margin-top:.125rem}#ija .block{display:block}#ija .inline-block{display:inline-block}#ija .inline{display:inline}#ija .flex{display:flex}#ija .inline-flex{display:inline-flex}#ija .table{display:table}#ija .table-row{display:table-row}#ija .flow-root{display:flow-root}#ija .grid{display:grid}#ija .inline-grid{display:inline-grid}#ija .contents{display:contents}#ija .list-item{display:list-item}#ija .\\!hidden{display:none!important}#ija .hidden{display:none}#ija .h-4{height:1rem}#ija .w-4{width:1rem}#ija .w-64{width:16rem}#ija .w-full{width:100%}#ija .min-w-0{min-width:0px}#ija .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}#ija .max-w-full{max-width:100%}#ija .flex-none{flex:none}#ija .flex-shrink,#ija .shrink{flex-shrink:1}#ija .flex-grow,#ija .grow{flex-grow:1}#ija .border-collapse{border-collapse:collapse}#ija .translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .resize{resize:both}#ija .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}#ija .flex-col{flex-direction:column}#ija .flex-wrap{flex-wrap:wrap}#ija .items-start{align-items:flex-start}#ija .items-center{align-items:center}#ija .justify-center{justify-content:center}#ija .gap-1\\.5{gap:.375rem}#ija .gap-2{gap:.5rem}#ija .gap-2\\.5{gap:.625rem}#ija .overflow-hidden{overflow:hidden}#ija .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#ija .rounded-lg{border-radius:var(--i-radius-lg)}#ija .border{border-width:1px}#ija .bg-accent-9{background-color:var(--i-color-a-9)}#ija .bg-lowest{background-color:var(--i-color-lowest)}#ija .bg-neutral-1{background-color:var(--i-color-n-1)}#ija .p-1{padding:.25rem}#ija .p-2{padding:.5rem}#ija .px-2{padding-left:.5rem;padding-right:.5rem}#ija .px-2\\.5{padding-left:.625rem;padding-right:.625rem}#ija .px-3{padding-left:.75rem;padding-right:.75rem}#ija .px-4{padding-left:1rem;padding-right:1rem}#ija .px-5{padding-left:1.25rem;padding-right:1.25rem}#ija .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}#ija .py-2{padding-top:.5rem;padding-bottom:.5rem}#ija .pb-4{padding-bottom:1rem}#ija .pl-2{padding-left:.5rem}#ija .pl-2\\.5{padding-left:.625rem}#ija .pr-1{padding-right:.25rem}#ija .pr-8{padding-right:2rem}#ija .pt-1{padding-top:.25rem}#ija .text-center{text-align:center}#ija .text-justify{text-align:justify}#ija .text-base{font-size:1rem;line-height:1.5rem}#ija .text-sm{font-size:.875rem;line-height:1.25rem}#ija .font-medium{font-weight:500}#ija .uppercase{text-transform:uppercase}#ija .lowercase{text-transform:lowercase}#ija .capitalize{text-transform:capitalize}#ija .italic{font-style:italic}#ija .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ija .text-\\[\\#E5484D\\]{--tw-text-opacity: 1;color:rgb(229 72 77 / var(--tw-text-opacity))}#ija .text-accent-1{color:var(--i-color-a-1)}#ija .text-accent-11{color:var(--i-color-a-11)}#ija .text-neutral-10{color:var(--i-color-n-10)}#ija .text-neutral-11{color:var(--i-color-n-11)}#ija .underline{text-decoration-line:underline}#ija .opacity-0{opacity:0}#ija .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .shadow-surface-lg{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 11px 4px 0px oklch(0% 0 0 / .01), 0px 32px 24px -12px oklch(0% 0 0 / .06);--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);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .outline-none{outline:2px solid transparent;outline-offset:2px}#ija .outline{outline-style:solid}#ija .ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ija .ring-1,#ija .ring-\\[1px\\]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ija .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}#ija .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}#ija .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ija .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ija .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ija .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ija .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ija .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}#ija .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}#ija .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}#ija .duration-medium{transition-duration:var(--i-duration-medium)}#ija .duration-snappy{transition-duration:var(--i-duration-snappy)}#ija .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ija .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}#ija .fr{outline:none}#ija .fr:focus{outline:none}#ija .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ija .rounded-field-input{border-radius:0}#ija .fieldset:first-child .rounded-field-input{border-top-left-radius:var(--i-radius-md);border-top-right-radius:var(--i-radius-md)}#ija .fieldset:last-child .rounded-field-input{border-bottom-left-radius:var(--i-radius-md);border-bottom-right-radius:var(--i-radius-md)}@keyframes loading-circle{0%{stroke-dasharray:0 56.54}to{stroke-dasharray:56.54 56.54}}#ija .loading-circle{stroke-dasharray:56.54 56.54}#ija [data-state=loading] .loading-circle{animation:loading-circle 1s linear}@keyframes done-checkmark{0%{stroke-dasharray:0 8.6}to{stroke-dasharray:8.6 8.6}}#ija .done-checkmark{stroke-dashoffset:-1;stroke-dasharray:0 8.6;opacity:0}#ija [data-state=success] .done-checkmark{opacity:1;animation:done-checkmark .9s cubic-bezier(.16,1,.3,1)}#ija .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#ija .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ija .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ija .focus-within\\:z-10:focus-within{z-index:10}#ija .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ija .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}#ija .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading]{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ija .data-\\[state\\=success\\]\\:translate-y-full[data-state=success]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes slideUpAndFade{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}#ija .data-\\[state\\=open\\]\\:data-\\[side\\=bottom\\]\\:animate-slideUpAndFade[data-side=bottom][data-state=open]{animation:slideUpAndFade .4s cubic-bezier(.16,1,.3,1)}@keyframes slideRightAndFade{0%{opacity:0;transform:translate(-2px)}to{opacity:1;transform:translate(0)}}#ija .data-\\[state\\=open\\]\\:data-\\[side\\=left\\]\\:animate-slideRightAndFade[data-side=left][data-state=open]{animation:slideRightAndFade .4s cubic-bezier(.16,1,.3,1)}@keyframes slideLeftAndFade{0%{opacity:0;transform:translate(2px)}to{opacity:1;transform:translate(0)}}#ija .data-\\[state\\=open\\]\\:data-\\[side\\=right\\]\\:animate-slideLeftAndFade[data-side=right][data-state=open]{animation:slideLeftAndFade .4s cubic-bezier(.16,1,.3,1)}@keyframes slideDownAndFade{0%{opacity:0;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}#ija .data-\\[state\\=open\\]\\:data-\\[side\\=top\\]\\:animate-slideDownAndFade[data-side=top][data-state=open]{animation:slideDownAndFade .4s cubic-bezier(.16,1,.3,1)}#ija .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle]{opacity:0}#ija .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle]{opacity:1}#ija .dark .theme-dark\\:text-highest{color:var(--i-color-highest)}#ija .dark .theme-dark\\:active\\:bg-accent-8:active{background-color:var(--i-color-a-8)}#ija .fill .theme-fill\\:bg-accent-2{background-color:var(--i-color-a-2)}#ija .fill .theme-fill\\:hover\\:bg-accent-3:hover{background-color:var(--i-color-a-3)}#ija .fill .theme-fill\\:active\\:bg-accent-4:active{background-color:var(--i-color-a-4)}#ija .stroke .theme-stroke\\:ring-\\[1px\\]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ija .stroke .theme-stroke\\:ring-accent-4{--tw-ring-color: var(--i-color-a-4)}#ija .stroke .theme-stroke\\:hover\\:ring-accent-9:hover{--tw-ring-color: var(--i-color-a-9)}
45
+ `,Bl=(()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${pi}`);if(!e)throw new Error(`Element with id ${pi} not found.`);return e}}))(),Vl=()=>Wi(({rpcClient:e,logger:t,analytics:n})=>{let r=!1;const o=({params:s})=>x(pl,{terms:s.terms,locale:void 0},[[x("style",{id:"inploi-job-alerts-styles"},zl),x("style",{id:"inploi-job-search-theme"},Fl(s.theme))],x(ia,{theme:s.theme}),x(Hl,{theme:s.theme,rpcClient:e,logger:t,analytics:n})]),i=s=>Je.filters$.value=s,a=s=>Je.config$.value=typeof s=="function"?s(Je.config$.peek()):s;return{prerender:async s=>(r=!0,i(s.initialFilters),{html:ta(x(B,{},x(o,{params:s})))}),render:async s=>{const c=r?tn:De;Ui(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(s.initialFilters),a(s.config),c(x(o,{params:s}),Bl.getRenderTargetElement())},setFilters:i,setConfig:a,"~brand":"@inploi/plugin-job-alerts"}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobAlertsPlugin=Vl})();