@inploi/plugin-job-alerts 0.3.2 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cdn/index.js CHANGED
@@ -1,9 +1,9 @@
1
- (function(){"use strict";function li(e,t){if(!e)throw new Error(t)}var ui=e=>e,Ke,x,Nn,Ln,ye,Fn,Mn,Ht,In,Pe={},Un=[],fi=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,ct=Array.isArray;function ae(e,t){for(var n in t)e[n]=t[n];return e}function Wn(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?Ke.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 qe(e,a,r,o,null)}function qe(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??++Nn};return o==null&&x.vnode!=null&&x.vnode(i),i}function Hn(){return{current:null}}function H(e){return e.children}function J(e,t){this.props=e,this.context=t}function lt(e,t){if(t==null)return e.__?lt(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"?lt(e):null}function zn(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 zn(e)}}function zt(e){(!e.__d&&(e.__d=!0)&&ye.push(e)&&!ut.__r++||Fn!==x.debounceRendering)&&((Fn=x.debounceRendering)||Mn)(ut)}function ut(){var e,t,n,r,o,i,a,s,l;for(ye.sort(Ht);e=ye.shift();)e.__d&&(t=ye.length,r=void 0,o=void 0,i=void 0,s=(a=(n=e).__v).__e,(l=n.__P)&&(r=[],o=[],(i=ae({},a)).__v=a.__v+1,Bt(l,a,i,n.__n,l.ownerSVGElement!==void 0,a.__h!=null?[s]:null,r,s??lt(a),a.__h,o),Zn(r,a,o),a.__e!=s&&zn(a)),ye.length>t&&ye.sort(Ht));ut.__r=0}function Bn(e,t,n,r,o,i,a,s,l,u,p){var c,v,h,d,f,_,m,w,g,y,b=0,S=r&&r.__k||Un,j=S.length,E=j,P=t.length;for(n.__k=[],c=0;c<P;c++)(d=n.__k[c]=(d=t[c])==null||typeof d=="boolean"||typeof d=="function"?null:typeof d=="string"||typeof d=="number"||typeof d=="bigint"?qe(null,d,null,null,d):ct(d)?qe(H,{children:d},null,null,null):d.__b>0?qe(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)!=null&&(d.__=n,d.__b=n.__b+1,(w=di(d,S,m=c+b,E))===-1?h=Pe:(h=S[w]||Pe,S[w]=void 0,E--),Bt(e,d,h,o,i,a,s,l,u,p),f=d.__e,(v=d.ref)&&h.ref!=v&&(h.ref&&Vt(h.ref,null,d),p.push(v,d.__c||f,d)),f!=null&&(_==null&&(_=f),y=!(g=h===Pe||h.__v===null)&&w===m,g?w==-1&&b--:w!==m&&(w===m+1?(b++,y=!0):w>m?E>P-m?(b+=w-m,y=!0):b--:b=w<m&&w==m-1?w-m:0),m=c+b,y=y||w==c&&!g,typeof d.type!="function"||w===m&&h.__k!==d.__k?typeof d.type=="function"||y?d.__d!==void 0?(l=d.__d,d.__d=void 0):l=f.nextSibling:l=Yn(e,f,l):l=Vn(d,l,e),typeof n.type=="function"&&(n.__d=l)));for(n.__e=_,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),Gn(S[c],S[c]))}function Vn(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"?Vn(r,t,n):Yn(n,r.__e,t));return t}function se(e,t){return t=t||[],e==null||typeof e=="boolean"||(ct(e)?e.some(function(n){se(n,t)}):t.push(e)),t}function Yn(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 di(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 pi(e,t,n,r,o){var i;for(i in n)i==="children"||i==="key"||i in t||ft(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]||ft(e,i,t[i],n[i],r)}function Xn(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||fi.test(t)?n:n+"px"}function ft(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||Xn(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Xn(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?qn:Kn,i):e.removeEventListener(t,i?qn:Kn,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 Kn(e){return this.l[e.type+!1](x.event?x.event(e):e)}function qn(e){return this.l[e.type+!0](x.event?x.event(e):e)}function Bt(e,t,n,r,o,i,a,s,l,u){var p,c,v,h,d,f,_,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]),(p=x.__b)&&p(t);try{e:if(typeof P=="function"){if(m=t.props,w=(p=P.contextType)&&r[p.__c],g=p?w?w.props.value:p.__:r,n.__c?_=(c=t.__c=n.__c).__=c.__E:("prototype"in P&&P.prototype.render?t.__c=c=new P(m,g):(t.__c=c=new J(m,g),c.constructor=P,c.render=vi),w&&w.sub(c),c.props=m,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=ae({},c.__s)),ae(c.__s,P.getDerivedStateFromProps(m,c.__s))),h=c.props,d=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&&m!==h&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(m,g),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(m,c.__s,g)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=m,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(m,c.__s,g),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(h,d,f)})}if(c.context=g,c.props=m,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),p=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),p=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=ae(ae({},r),c.getChildContext())),v||c.getSnapshotBeforeUpdate==null||(f=c.getSnapshotBeforeUpdate(h,d)),Bn(e,ct(E=p!=null&&p.type===H&&p.key==null?p.props.children:p)?E:[E],t,n,r,o,i,a,s,l,u),c.base=t.__e,t.__h=null,c.__h.length&&a.push(c),_&&(c.__E=c.__=null)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=hi(n.__e,t,n,r,o,i,a,l,u);(p=x.diffed)&&p(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 Zn(e,t,n){for(var r=0;r<n.length;r++)Vt(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 hi(e,t,n,r,o,i,a,s,l){var u,p,c,v=n.props,h=t.props,d=t.type,f=0;if(d==="svg"&&(o=!0),i!=null){for(;f<i.length;f++)if((u=i[f])&&"setAttribute"in u==!!d&&(d?u.localName===d:u.nodeType===3)){e=u,i[f]=null;break}}if(e==null){if(d===null)return document.createTextNode(h);e=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,h.is&&h),i=null,s=!1}if(d===null)v===h||s&&e.data===h||(e.data=h);else{if(i=i&&Ke.call(e.childNodes),p=(v=n.props||Pe).dangerouslySetInnerHTML,c=h.dangerouslySetInnerHTML,!s){if(i!=null)for(v={},f=0;f<e.attributes.length;f++)v[e.attributes[f].name]=e.attributes[f].value;(c||p)&&(c&&(p&&c.__html==p.__html||c.__html===e.innerHTML)||(e.innerHTML=c&&c.__html||""))}if(pi(e,h,v,o,s),c)t.__k=[];else if(Bn(e,ct(f=t.props.children)?f:[f],t,n,r,o&&d!=="foreignObject",i,a,i?i[0]:n.__k&&lt(n,0),s,l),i!=null)for(f=i.length;f--;)i[f]!=null&&Wn(i[f]);s||("value"in h&&(f=h.value)!==void 0&&(f!==e.value||d==="progress"&&!f||d==="option"&&f!==v.value)&&ft(e,"value",f,v.value,!1),"checked"in h&&(f=h.checked)!==void 0&&f!==e.checked&&ft(e,"checked",f,v.checked,!1))}return e}function Vt(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){x.__e(r,n)}}function Gn(e,t,n){var r,o;if(x.unmount&&x.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Vt(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]&&Gn(r[o],t,n||typeof e.type!="function");n||e.__e==null||Wn(e.__e),e.__=e.__e=e.__d=void 0}function vi(e,t,n){return this.constructor(e,n)}function Ae(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=[],Bt(t,e=(!r&&n||t).__k=$(H,null,[e]),o||Pe,Pe,t.ownerSVGElement!==void 0,!r&&n?[n]:o?null:t.firstChild?Ke.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),Zn(i,e,a)}function Yt(e,t){Ae(e,t,Yt)}function _i(e,t,n){var r,o,i,a,s=ae({},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?Ke.call(arguments,2):n),qe(e.type,s,r||e.key,o||e.ref,null)}function Ze(e,t){var n={__c:t="__cC"+In++,__: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,zt(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}Ke=Un.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}},Nn=0,Ln=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=ae({},this.state),typeof e=="function"&&(e=e(ae({},n),this.props)),e&&ae(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),zt(this))},J.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),zt(this))},J.prototype.render=H,ye=[],Mn=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ht=function(e,t){return e.__v.__b-t.__v.__b},ut.__r=0,In=0;var Qn=/[\s\n\\/='"\0<>]/,Jn=/^(xlink|xmlns|xml)([A-Z])/,mi=/^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]/,wi=/^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 dt(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 er={},yi=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"]),bi=/[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:er[n]||(er[n]=n.replace(bi,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||yi.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var Xt,be,Ge,Qe,tr=[],nr=Array.isArray,Kt=Object.assign;function $i(e,t,n){var r=x.__s;x.__s=!0,Xt=x.__b,be=x.diffed,Ge=x.__r,Qe=x.unmount;var o=$(H,null);o.__k=[e];try{var i=ne(e,t||or,!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,tr),x.__s=r,tr.length=0}}function rr(){this.__d=!0}var or={};function ir(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=or),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=Kt({},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(),Ge&&Ge(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"?"":dt(e+"");if(nr(e)){var s,l="";o.__k=e;for(var u=0;u<e.length;u++){var p=e[u];if(p!=null&&typeof p!="boolean"){var c,v=ne(p,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,Xt&&Xt(e);var h,d,f,_=e.type,m=e.props,w=t;if(typeof _=="function"){if(_===H){if(m.tpl){for(var g="",y=0;y<m.tpl.length;y++)if(g+=m.tpl[y],m.exprs&&y<m.exprs.length){var b=m.exprs[y];if(b==null)continue;typeof b!="object"||b.constructor!==void 0&&!nr(b)?g+=b:g+=ne(b,t,n,r,e,i,a)}return g}if(m.UNSTABLE_comment)return"<!--"+dt(m.UNSTABLE_comment||"")+"-->";d=m.children}else{if((h=_.contextType)!=null){var S=t[h.__c];w=S?S.props.value:h.__}if(_.prototype&&typeof _.prototype.render=="function")d=ir(e,w),f=e.__c;else{e.__c=f={__v:e,props:m,context:w,setState:rr,forceUpdate:rr,__d:!0,__h:[]};for(var j=0;f.__d&&j++<25;)f.__d=!1,Ge&&Ge(e),d=_.call(f,m,w);f.__d=!0}if(f.getChildContext!=null&&(t=Kt({},t,f.getChildContext())),(_.getDerivedStateFromError||f.componentDidCatch)&&x.errorBoundaries){var E="";d=d!=null&&d.type===H&&d.key==null?d.props.children:d;try{return E=ne(d,t,n,r,e,i,a)}catch(Z){return _.getDerivedStateFromError&&(f.__s=_.getDerivedStateFromError(Z)),f.componentDidCatch&&f.componentDidCatch(Z,{}),f.__d&&(d=ir(e,t),(f=e.__c).getChildContext!=null&&(t=Kt({},t,f.getChildContext())),E=ne(d=d!=null&&d.type===H&&d.key==null?d.props.children:d,t,n,r,e,i,a)),E}finally{be&&be(e),e.__=null,Qe&&Qe(e)}}}d=d!=null&&d.type===H&&d.key==null&&d.props.tpl==null?d.props.children:d;try{var P=ne(d,t,n,r,e,i,a);return be&&be(e),e.__=null,x.unmount&&x.unmount(e),P}catch(Z){if(!i&&a&&a.onError){var D=a.onError(Z,e,function(ge){return ne(ge,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 z=function ge(){try{return ne(d,t,n,r,e,i,a)}catch(Ye){if(!Ye||typeof Ye.then!="function")throw Ye;return Ye.then(function(){return ne(d,t,n,r,e,i,a)},function(){return ge()})}};return Z.then(function(){return z()})}}var W,O="<"+_,N="";for(var A in m){var C=m[A];switch(A){case"children":W=C;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in m)continue;A="for";break;case"className":if("class"in m)continue;A="class";break;case"defaultChecked":A="checked";break;case"defaultSelected":A="selected";break;case"defaultValue":case"value":switch(A="value",_){case"textarea":W=C;continue;case"select":r=C;continue;case"option":r!=C||"selected"in m||(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(Jn.test(A))A=A.replace(Jn,"$1:$2").toLowerCase();else{if(Qn.test(A))continue;A[4]!=="-"&&A!=="draggable"||C==null?n?wi.test(A)&&(A=A==="panose1"?"panose-1":A.replace(/([A-Z])/g,"-$1").toLowerCase()):mi.test(A)&&(A=A.toLowerCase()):C+=""}}C!=null&&C!==!1&&typeof C!="function"&&(O=C===!0||C===""?O+" "+A:O+" "+A+'="'+dt(C+"")+'"')}if(Qn.test(_))throw new Error(_+" is not a valid HTML tag name in "+O+">");if(N||(typeof W=="string"?N=dt(W):W!=null&&W!==!1&&W!==!0&&(N=ne(W,t,_==="svg"||_!=="foreignObject"&&n,r,e,i,a))),be&&be(e),e.__=null,Qe&&Qe(e),!N&&ki.has(_))return O+"/>";var B="</"+_+">",I=O+">";return Array.isArray(N)?[I].concat(N,[B]):typeof N!="string"?[I,N,B]:I+N+B}var ki=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Ei=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:--Ei,__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 Si={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"})},Ci=({theme:e})=>k("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:k("defs",{children:Object.entries(Si).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})}))})}),ar=({name:e,...t})=>k("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:k("use",{href:`#i-icon-${e}`})});function X(){return X=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},X.apply(this,arguments)}var ce,R,qt,sr,je=0,cr=[],pt=[],lr=x.__b,ur=x.__r,fr=x.diffed,dr=x.__c,pr=x.unmount;function xe(e,t){x.__h&&x.__h(R,e,je||t),je=0;var n=R.__H||(R.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:pt}),n.__[e]}function L(e){return je=1,ht(wr,e)}function ht(e,t,n){var r=xe(ce++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):wr(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 p=r.__c.__H.__.filter(function(v){return v.__c});if(p.every(function(v){return!v.__N}))return!i||i.call(this,s,l,u);var c=!1;return p.forEach(function(v){if(v.__N){var h=v.__[0];v.__=v.__N,v.__N=void 0,h!==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 p=i;i=void 0,o(s,l,u),i=p}a&&a.call(this,s,l,u)},R.shouldComponentUpdate=o}return r.__N||r.__}function F(e,t){var n=xe(ce++,3);!x.__s&&Gt(n.__H,t)&&(n.__=e,n.i=t,R.__H.__h.push(n))}function $e(e,t){var n=xe(ce++,4);!x.__s&&Gt(n.__H,t)&&(n.__=e,n.i=t,R.__h.push(n))}function T(e){return je=5,q(function(){return{current:e}},[])}function hr(e,t,n){je=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 q(e,t){var n=xe(ce++,7);return Gt(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function V(e,t){return je=8,q(function(){return e},t)}function vt(e){var t=R.context[e.__c],n=xe(ce++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(R)),t.props.value):e.__}function vr(e,t){x.useDebugValue&&x.useDebugValue(t?t(e):e)}function Pi(e){var t=xe(ce++,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 _r(){var e=xe(ce++,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 Ai(){for(var e;e=cr.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(_t),e.__H.__h.forEach(Zt),e.__H.__h=[]}catch(t){e.__H.__h=[],x.__e(t,e.__v)}}x.__b=function(e){R=null,lr&&lr(e)},x.__r=function(e){ur&&ur(e),ce=0;var t=(R=e.__c).__H;t&&(qt===R?(t.__h=[],R.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=pt,n.__N=n.i=void 0})):(t.__h.forEach(_t),t.__h.forEach(Zt),t.__h=[],ce=0)),qt=R},x.diffed=function(e){fr&&fr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(cr.push(t)!==1&&sr===x.requestAnimationFrame||((sr=x.requestAnimationFrame)||ji)(Ai)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==pt&&(n.__=n.__V),n.i=void 0,n.__V=pt})),qt=R=null},x.__c=function(e,t){t.some(function(n){try{n.__h.forEach(_t),n.__h=n.__h.filter(function(r){return!r.__||Zt(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],x.__e(r,n.__v)}}),dr&&dr(e,t)},x.unmount=function(e){pr&&pr(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{_t(r)}catch(o){t=o}}),n.__H=void 0,t&&x.__e(t,n.__v))};var mr=typeof requestAnimationFrame=="function";function ji(e){var t,n=function(){clearTimeout(r),mr&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);mr&&(t=requestAnimationFrame(n))}function _t(e){var t=R,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),R=t}function Zt(e){var t=R;e.__c=e.__(),R=t}function Gt(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function wr(e,t){return typeof t=="function"?t(e):t}function gr(e,t){for(var n in t)e[n]=t[n];return e}function Qt(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 Jt(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function mt(e){this.props=e}function yr(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:Qt(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}(mt.prototype=new J).isPureReactComponent=!0,mt.prototype.shouldComponentUpdate=function(e,t){return Qt(this.props,e)||Qt(this.state,t)};var br=x.__b;x.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),br&&br(e)};var Oi=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Y(e){function t(n){var r=gr({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Oi,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var xr=function(e,t){return e==null?null:se(se(e).map(t))},le={map:xr,forEach:xr,count:function(e){return e?se(e).length:0},only:function(e){var t=se(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:se},Ti=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)}Ti(e,t,n,r)};var $r=x.unmount;function kr(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=gr({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return kr(r,t,n)})),e}function Er(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Er(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 Je(){this.__u=0,this.t=null,this.__b=null}function Sr(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Cr(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 Oe(){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),$r&&$r(e)},(Je.prototype=new J).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Sr(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]=Er(u,u.__c.__P,u.__c.__O)}var p;for(r.setState({__a:r.__b=null});p=r.t.pop();)p.forceUpdate()}},l=t.__h===!0;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Je.prototype.componentWillUnmount=function(){this.t=[]},Je.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]=kr(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&$(H,null,e.fallback);return o&&(o.__h=null),[$(H,null,t.__a?null:e.children),o]};var Pr=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Di(e){return this.getChildContext=function(){return e.context},e.children}function Ri(e){var t=this,n=e.i;t.componentWillUnmount=function(){Ae(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)}}),Ae($(Di,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function Ar(e,t){var n=$(Ri,{__v:e,i:t});return n.containerInfo=t,n}(Oe.prototype=new J).__a=function(e){var t=this,n=Sr(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Pr(t,e,r)):o()};n?n(i):i()}},Oe.prototype.render=function(e){this.u=null,this.o=new Map;var t=se(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},Oe.prototype.componentDidUpdate=Oe.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Pr(e,n,t)})};var jr=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Ni=/^(?: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]/,Li=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Fi=/[A-Z0-9]/g,Mi=typeof document<"u",Ii=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Or(e,t,n){return t.__k==null&&(t.textContent=""),Ae(e,t),typeof n=="function"&&n(),e?e.__c:null}function Tr(e,t,n){return Yt(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 Dr=x.event;function Ui(){}function Wi(){return this.cancelBubble}function Hi(){return this.defaultPrevented}x.event=function(e){return Dr&&(e=Dr(e)),e.persist=Ui,e.isPropagationStopped=Wi,e.isDefaultPrevented=Hi,e.nativeEvent=e};var en,zi={enumerable:!1,configurable:!0,get:function(){return this.class}},Rr=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||Mi&&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"||Ii(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":Li.test(i)?i=s:r.indexOf("-")===-1&&Ni.test(i)?i=i.replace(Fi,"-$&").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=se(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=se(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",zi)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=jr,Rr&&Rr(e)};var Nr=x.__r;x.__r=function(e){Nr&&Nr(e),en=e.__c};var Lr=x.diffed;x.diffed=function(e){Lr&&Lr(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),en=null};var Fr={ReactCurrentDispatcher:{current:{readContext:function(e){return en.__n[e.__c].props.value}}}},Bi="17.0.2";function Mr(e){return $.bind(null,e)}function ke(e){return!!e&&e.$$typeof===jr}function Te(e){return ke(e)?_i.apply(null,arguments):e}function Ir(e){return!!e.__k&&(Ae(null,e),!0)}function Ur(e){return e&&(e.base||e.nodeType===1&&e)||null}var Wr=function(e,t){return e(t)},et=function(e,t){return e(t)},Hr=H;function tn(e){e()}function zr(e){return e}function Br(){return[!1,tn]}var Vr=$e;function Yr(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,Jt(o.__,t())||i({h:o})},[e,n,t]),F(function(){return Jt(o.__,o.v())||i({h:o}),e(function(){Jt(o.__,o.v())||i({h:o})})},[e]),n}var Xr={useState:L,useId:_r,useReducer:ht,useEffect:F,useLayoutEffect:$e,useInsertionEffect:Vr,useTransition:Br,useDeferredValue:zr,useSyncExternalStore:Yr,startTransition:tn,useRef:T,useImperativeHandle:hr,useMemo:q,useCallback:V,useContext:vt,useDebugValue:vr,version:"17.0.2",Children:le,render:Or,hydrate:Tr,unmountComponentAtNode:Ir,createPortal:Ar,createElement:$,createContext:Ze,createFactory:Mr,cloneElement:Te,createRef:Hn,Fragment:H,isValidElement:ke,findDOMNode:Ur,Component:J,PureComponent:mt,memo:yr,forwardRef:Y,flushSync:et,unstable_batchedUpdates:Wr,StrictMode:Hr,Suspense:Je,SuspenseList:Oe,lazy:Cr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Fr};const Vi=Object.freeze(Object.defineProperty({__proto__:null,Children:le,Component:J,Fragment:H,PureComponent:mt,StrictMode:Hr,Suspense:Je,SuspenseList:Oe,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Fr,cloneElement:Te,createContext:Ze,createElement:$,createFactory:Mr,createPortal:Ar,createRef:Hn,default:Xr,findDOMNode:Ur,flushSync:et,forwardRef:Y,hydrate:Tr,isValidElement:ke,lazy:Cr,memo:yr,render:Or,startTransition:tn,unmountComponentAtNode:Ir,unstable_batchedUpdates:Wr,useCallback:V,useContext:vt,useDebugValue:vr,useDeferredValue:zr,useEffect:F,useErrorBoundary:Pi,useId:_r,useImperativeHandle:hr,useInsertionEffect:Vr,useLayoutEffect:$e,useMemo:q,useReducer:ht,useRef:T,useState:L,useSyncExternalStore:Yr,useTransition:Br,version:Bi},Symbol.toStringTag,{value:"Module"}));function Ee(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 Yi(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Kr(...e){return t=>e.forEach(n=>Yi(n,t))}function Se(...e){return V(Kr(...e),e)}function qr(e,t=[]){let n=[];function r(i,a){const s=Ze(a),l=n.length;n=[...n,a];function u(c){const{scope:v,children:h,...d}=c,f=(v==null?void 0:v[e][l])||s,_=q(()=>d,Object.values(d));return $(f.Provider,{value:_},h)}function p(c,v){const h=(v==null?void 0:v[e][l])||s,d=vt(h);if(d)return d;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,p]}const o=()=>{const i=n.map(a=>Ze(a));return function(s){const l=(s==null?void 0:s[e])||i;return q(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,Xi(o,...t)]}function Xi(...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 q(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const nn=Y((e,t)=>{const{children:n,...r}=e,o=le.toArray(n),i=o.find(qi);if(i){const a=i.props.children,s=o.map(l=>l===i?le.count(a)>1?le.only(null):ke(a)?a.props.children:null:l);return $(rn,X({},r,{ref:t}),ke(a)?Te(a,void 0,s):null)}return $(rn,X({},r,{ref:t}),n)});nn.displayName="Slot";const rn=Y((e,t)=>{const{children:n,...r}=e;return ke(n)?Te(n,{...Zi(r,n.props),ref:t?Kr(t,n.ref):n.ref}):le.count(n)>1?le.only(null):null});rn.displayName="SlotClone";const Ki=({children:e})=>$(H,null,e);function qi(e){return ke(e)&&e.type===Ki}function Zi(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 De=["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?nn:t;return F(()=>{window[Symbol.for("radix-ui")]=!0},[]),$(s,X({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Gi(e,t){e&&et(()=>e.dispatchEvent(t))}function pe(e){const t=T(e);return F(()=>{t.current=e}),q(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function Qi(e,t=globalThis==null?void 0:globalThis.document){const n=pe(e);F(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const on="dismissableLayer.update",Ji="dismissableLayer.pointerDownOutside",ea="dismissableLayer.focusOutside";let Zr;const ta=Ze({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),na=Y((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,p=vt(ta),[c,v]=L(null),h=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,d]=L({}),f=Se(t,E=>v(E)),_=Array.from(p.layers),[m]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),w=_.indexOf(m),g=c?_.indexOf(c):-1,y=p.layersWithOutsidePointerEventsDisabled.size>0,b=g>=w,S=ra(E=>{const P=E.target,D=[...p.branches].some(U=>U.contains(P));!b||D||(i==null||i(E),s==null||s(E),E.defaultPrevented||l==null||l())},h),j=oa(E=>{const P=E.target;[...p.branches].some(U=>U.contains(P))||(a==null||a(E),s==null||s(E),E.defaultPrevented||l==null||l())},h);return Qi(E=>{g===p.layers.size-1&&(o==null||o(E),!E.defaultPrevented&&l&&(E.preventDefault(),l()))},h),F(()=>{if(c)return r&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(Zr=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(c)),p.layers.add(c),Gr(),()=>{r&&p.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Zr)}},[c,h,r,p]),F(()=>()=>{c&&(p.layers.delete(c),p.layersWithOutsidePointerEventsDisabled.delete(c),Gr())},[c,p]),F(()=>{const E=()=>d({});return document.addEventListener(on,E),()=>document.removeEventListener(on,E)},[]),$(De.div,X({},u,{ref:f,style:{pointerEvents:y?b?"auto":"none":void 0,...e.style},onFocusCapture:Ee(e.onFocusCapture,j.onFocusCapture),onBlurCapture:Ee(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:Ee(e.onPointerDownCapture,S.onPointerDownCapture)}))});function ra(e,t=globalThis==null?void 0:globalThis.document){const n=pe(e),r=T(!1),o=T(()=>{});return F(()=>{const i=s=>{if(s.target&&!r.current){let u=function(){Qr(Ji,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=pe(e),r=T(!1);return F(()=>{const o=i=>{i.target&&!r.current&&Qr(ea,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 Gr(){const e=new CustomEvent(on);document.dispatchEvent(e)}function Qr(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?Gi(o,i):o.dispatchEvent(i)}let an=0;function ia(){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:Jr()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Jr()),an++,()=>{an===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),an--}},[])}function Jr(){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 sn="focusScope.autoFocusOnMount",cn="focusScope.autoFocusOnUnmount",eo={bubbles:!1,cancelable:!0},aa=Y((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=L(null),u=pe(o),p=pe(i),c=T(null),v=Se(t,f=>l(f)),h=T({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;F(()=>{if(r){let f=function(g){if(h.paused||!s)return;const y=g.target;s.contains(y)?c.current=y:he(c.current,{select:!0})},_=function(g){if(h.paused||!s)return;const y=g.relatedTarget;y!==null&&(s.contains(y)||he(c.current,{select:!0}))},m=function(g){if(document.activeElement===document.body)for(const b of g)b.removedNodes.length>0&&he(s)};document.addEventListener("focusin",f),document.addEventListener("focusout",_);const w=new MutationObserver(m);return s&&w.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",f),document.removeEventListener("focusout",_),w.disconnect()}}},[r,s,h.paused]),F(()=>{if(s){ro.add(h);const f=document.activeElement;if(!s.contains(f)){const m=new CustomEvent(sn,eo);s.addEventListener(sn,u),s.dispatchEvent(m),m.defaultPrevented||(sa(da(to(s)),{select:!0}),document.activeElement===f&&he(s))}return()=>{s.removeEventListener(sn,u),setTimeout(()=>{const m=new CustomEvent(cn,eo);s.addEventListener(cn,p),s.dispatchEvent(m),m.defaultPrevented||he(f??document.body,{select:!0}),s.removeEventListener(cn,p),ro.remove(h)},0)}}},[s,u,p,h]);const d=V(f=>{if(!n&&!r||h.paused)return;const _=f.key==="Tab"&&!f.altKey&&!f.ctrlKey&&!f.metaKey,m=document.activeElement;if(_&&m){const w=f.currentTarget,[g,y]=ca(w);g&&y?!f.shiftKey&&m===y?(f.preventDefault(),n&&he(g,{select:!0})):f.shiftKey&&m===g&&(f.preventDefault(),n&&he(y,{select:!0})):m===w&&f.preventDefault()}},[n,r,h.paused]);return $(De.div,X({tabIndex:-1},a,{ref:v,onKeyDown:d}))});function sa(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(he(r,{select:t}),document.activeElement!==n)return}function ca(e){const t=to(e),n=no(t,e),r=no(t.reverse(),e);return[n,r]}function to(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 no(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 ua(e){return e instanceof HTMLInputElement&&"select"in e}function he(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&ua(e)&&t&&e.select()}}const ro=fa();function fa(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=oo(e,t),e.unshift(t)},remove(t){var n;e=oo(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function oo(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function da(e){return e.filter(t=>t.tagName!=="A")}const Re=globalThis!=null&&globalThis.document?$e:()=>{},pa=Vi["useId".toString()]||(()=>{});let ha=0;function va(e){const[t,n]=L(pa());return Re(()=>{e||n(r=>r??String(ha++))},[e]),e||(t?`radix-${t}`:"")}const _a=["top","right","bottom","left"],re=Math.min,G=Math.max,wt=Math.round,gt=Math.floor,ve=e=>({x:e,y:e}),ma={left:"right",right:"left",bottom:"top",top:"bottom"},wa={start:"end",end:"start"};function ln(e,t,n){return G(e,re(t,n))}function ue(e,t){return typeof e=="function"?e(t):e}function fe(e){return e.split("-")[0]}function Ne(e){return e.split("-")[1]}function un(e){return e==="x"?"y":"x"}function fn(e){return e==="y"?"height":"width"}function _e(e){return["top","bottom"].includes(fe(e))?"y":"x"}function dn(e){return un(_e(e))}function ga(e,t,n){n===void 0&&(n=!1);const r=Ne(e),o=dn(e),i=fn(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=yt(a)),[a,yt(a)]}function ya(e){const t=yt(e);return[pn(e),t,pn(t)]}function pn(e){return e.replace(/start|end/g,t=>wa[t])}function ba(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=Ne(e);let i=ba(fe(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(pn)))),i}function yt(e){return e.replace(/left|right|bottom|top/g,t=>ma[t])}function $a(e){return{top:0,right:0,bottom:0,left:0,...e}}function io(e){return typeof e!="number"?$a(e):{top:e,right:e,bottom:e,left:e}}function bt(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 ao(e,t,n){let{reference:r,floating:o}=e;const i=_e(t),a=dn(t),s=fn(a),l=fe(t),u=i==="y",p=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 h;switch(l){case"top":h={x:p,y:r.y-o.height};break;case"bottom":h={x:p,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:c};break;case"left":h={x:r.x-o.width,y:c};break;default:h={x:r.x,y:r.y}}switch(Ne(t)){case"start":h[a]-=v*(n&&u?-1:1);break;case"end":h[a]+=v*(n&&u?-1:1);break}return h}const ka=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:p,y:c}=ao(u,r,l),v=r,h={},d=0;for(let f=0;f<s.length;f++){const{name:_,fn:m}=s[f],{x:w,y:g,data:y,reset:b}=await m({x:p,y:c,initialPlacement:r,placement:v,strategy:o,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});p=w??p,c=g??c,h={...h,[_]:{...h[_],...y}},b&&d<=50&&(d++,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:p,y:c}=ao(u,v,l)),f=-1)}return{x:p,y:c,placement:v,strategy:o,middlewareData:h}};async function tt(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:p="viewport",elementContext:c="floating",altBoundary:v=!1,padding:h=0}=ue(t,e),d=io(h),_=s[v?c==="floating"?"reference":"floating":c],m=bt(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:p,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=bt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:g,strategy:l}):w);return{top:(m.top-b.top+d.top)/y.y,bottom:(b.bottom-m.bottom+d.bottom)/y.y,left:(m.left-b.left+d.left)/y.x,right:(b.right-m.right+d.right)/y.x}}const Ea=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:p=0}=ue(e,t)||{};if(u==null)return{};const c=io(p),v={x:n,y:r},h=dn(o),d=fn(h),f=await a.getDimensions(u),_=h==="y",m=_?"top":"left",w=_?"bottom":"right",g=_?"clientHeight":"clientWidth",y=i.reference[d]+i.reference[h]-v[h]-i.floating[d],b=v[h]-i.reference[h],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[d]);const E=y/2-b/2,P=j/2-f[d]/2-1,D=re(c[m],P),U=re(c[w],P),z=D,W=j-f[d]-U,O=j/2-f[d]/2+E,N=ln(z,O,W),A=!l.arrow&&Ne(o)!=null&&O!==N&&i.reference[d]/2-(O<z?D:U)-f[d]/2<0,C=A?O<z?O-z:O-W:0;return{[h]:v[h]+C,data:{[h]:N,centerOffset:O-N-C,...A&&{alignmentOffset:C}},reset:A}}}),Sa=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:p=!0,crossAxis:c=!0,fallbackPlacements:v,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:f=!0,..._}=ue(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const m=fe(o),w=_e(s),g=fe(s)===s,y=await(l.isRTL==null?void 0:l.isRTL(u.floating)),b=v||(g||!f?[yt(s)]:ya(s)),S=d!=="none";!v&&S&&b.push(...xa(s,f,d,y));const j=[s,...b],E=await tt(t,_),P=[];let D=((r=i.flip)==null?void 0:r.overflows)||[];if(p&&P.push(E[m]),c){const O=ga(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,z;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=(z=D.filter(C=>C.overflows[0]<=0).sort((C,B)=>C.overflows[1]-B.overflows[1])[0])==null?void 0:z.placement;if(!A)switch(h){case"bestFit":{var W;const C=(W=D.filter(B=>{if(S){const I=_e(B.placement);return I===w||I==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(I=>I>0).reduce((I,Z)=>I+Z,0)]).sort((B,I)=>B[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 so(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function co(e){return _a.some(t=>e[t]>=0)}const Ca=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=ue(e,t);switch(r){case"referenceHidden":{const i=await tt(t,{...o,elementContext:"reference"}),a=so(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:co(a)}}}case"escaped":{const i=await tt(t,{...o,altBoundary:!0}),a=so(i,n.floating);return{data:{escapedOffsets:a,escaped:co(a)}}}default:return{}}}}};async function Pa(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=fe(n),s=Ne(n),l=_e(n)==="y",u=["left","top"].includes(a)?-1:1,p=i&&l?-1:1,c=ue(t,e);let{mainAxis:v,crossAxis:h,alignmentAxis:d}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof d=="number"&&(h=s==="end"?d*-1:d),l?{x:h*p,y:v*u}:{x:v*u,y:h*p}}const Aa=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 Pa(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}}}}},ja=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}}},...l}=ue(e,t),u={x:n,y:r},p=await tt(t,l),c=_e(fe(o)),v=un(c);let h=u[v],d=u[c];if(i){const _=v==="y"?"top":"left",m=v==="y"?"bottom":"right",w=h+p[_],g=h-p[m];h=ln(w,h,g)}if(a){const _=c==="y"?"top":"left",m=c==="y"?"bottom":"right",w=d+p[_],g=d-p[m];d=ln(w,d,g)}const f=s.fn({...t,[v]:h,[c]:d});return{...f,data:{x:f.x-n,y:f.y-r}}}}},Oa=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}=ue(e,t),p={x:n,y:r},c=_e(o),v=un(c);let h=p[v],d=p[c];const f=ue(s,t),_=typeof f=="number"?{mainAxis:f,crossAxis:0}:{mainAxis:0,crossAxis:0,...f};if(l){const g=v==="y"?"height":"width",y=i.reference[v]-i.floating[g]+_.mainAxis,b=i.reference[v]+i.reference[g]-_.mainAxis;h<y?h=y:h>b&&(h=b)}if(u){var m,w;const g=v==="y"?"width":"height",y=["top","left"].includes(fe(o)),b=i.reference[c]-i.floating[g]+(y&&((m=a.offset)==null?void 0:m[c])||0)+(y?0:_.crossAxis),S=i.reference[c]+i.reference[g]+(y?0:((w=a.offset)==null?void 0:w[c])||0)-(y?_.crossAxis:0);d<b?d=b:d>S&&(d=S)}return{[v]:h,[c]:d}}}},Ta=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}=ue(e,t),l=await tt(t,s),u=fe(n),p=Ne(n),c=_e(n)==="y",{width:v,height:h}=r.floating;let d,f;u==="top"||u==="bottom"?(d=u,f=p===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(f=u,d=p==="end"?"top":"bottom");const _=h-l.top-l.bottom,m=v-l.left-l.right,w=re(h-l[d],_),g=re(v-l[f],m),y=!t.middlewareData.shift;let b=w,S=g;if(c?S=p||y?re(g,m):m:b=p||y?re(w,_):_,y&&!p){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=h-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||h!==j.height?{reset:{rects:!0}}:{}}}};function Le(e){return lo(e)?(e.nodeName||"").toLowerCase():"#document"}function Q(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function de(e){var t;return(t=(lo(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function lo(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 uo(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Q(e).ShadowRoot}function nt(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 Da(e){return["table","td","th"].includes(Le(e))}function xt(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function hn(e){const t=vn(),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 Ra(e){let t=me(e);for(;oe(t)&&!Fe(t);){if(hn(t))return t;if(xt(t))return null;t=me(t)}return null}function vn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Fe(e){return["html","body","#document"].includes(Le(e))}function te(e){return Q(e).getComputedStyle(e)}function $t(e){return ee(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function me(e){if(Le(e)==="html")return e;const t=e.assignedSlot||e.parentNode||uo(e)&&e.host||de(e);return uo(t)?t.host:t}function fo(e){const t=me(e);return Fe(t)?e.ownerDocument?e.ownerDocument.body:e.body:oe(t)&&nt(t)?t:fo(t)}function rt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=fo(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=Q(o);if(i){const s=_n(a);return t.concat(a,a.visualViewport||[],nt(o)?o:[],s&&n?rt(s):[])}return t.concat(o,rt(o,[],n))}function _n(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function po(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=wt(n)!==i||wt(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function mn(e){return ee(e)?e:e.contextElement}function Me(e){const t=mn(e);if(!oe(t))return ve(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=po(t);let a=(i?wt(n.width):n.width)/r,s=(i?wt(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const Na=ve(0);function ho(e){const t=Q(e);return!vn()||!t.visualViewport?Na:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function La(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Q(e)?!1:t}function Ce(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=mn(e);let a=ve(1);t&&(r?ee(r)&&(a=Me(r)):a=Me(e));const s=La(i,n,r)?ho(i):ve(0);let l=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,p=o.width/a.x,c=o.height/a.y;if(i){const v=Q(i),h=r&&ee(r)?Q(r):r;let d=v,f=_n(d);for(;f&&r&&h!==d;){const _=Me(f),m=f.getBoundingClientRect(),w=te(f),g=m.left+(f.clientLeft+parseFloat(w.paddingLeft))*_.x,y=m.top+(f.clientTop+parseFloat(w.paddingTop))*_.y;l*=_.x,u*=_.y,p*=_.x,c*=_.y,l+=g,u+=y,d=Q(f),f=_n(d)}}return bt({width:p,height:c,x:l,y:u})}function Fa(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=de(r),s=t?xt(t.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=ve(1);const p=ve(0),c=oe(r);if((c||!c&&!i)&&((Le(r)!=="body"||nt(a))&&(l=$t(r)),oe(r))){const v=Ce(r);u=Me(r),p.x=v.x+r.clientLeft,p.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+p.x,y:n.y*u.y-l.scrollTop*u.y+p.y}}function Ma(e){return Array.from(e.getClientRects())}function vo(e){return Ce(de(e)).left+$t(e).scrollLeft}function Ia(e){const t=de(e),n=$t(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+vo(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 Ua(e,t){const n=Q(e),r=de(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=vn();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function Wa(e,t){const n=Ce(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=oe(e)?Me(e):ve(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 _o(e,t,n){let r;if(t==="viewport")r=Ua(e,n);else if(t==="document")r=Ia(de(e));else if(ee(t))r=Wa(t,n);else{const o=ho(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return bt(r)}function mo(e,t){const n=me(e);return n===t||!ee(n)||Fe(n)?!1:te(n).position==="fixed"||mo(n,t)}function Ha(e,t){const n=t.get(e);if(n)return n;let r=rt(e,[],!1).filter(s=>ee(s)&&Le(s)!=="body"),o=null;const i=te(e).position==="fixed";let a=i?me(e):e;for(;ee(a)&&!Fe(a);){const s=te(a),l=hn(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||nt(a)&&!l&&mo(e,a))?r=r.filter(p=>p!==a):o=s,a=me(a)}return t.set(e,r),r}function za(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?xt(t)?[]:Ha(t,this._c):[].concat(n),r],s=a[0],l=a.reduce((u,p)=>{const c=_o(t,p,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},_o(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Ba(e){const{width:t,height:n}=po(e);return{width:t,height:n}}function Va(e,t,n){const r=oe(t),o=de(t),i=n==="fixed",a=Ce(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=ve(0);if(r||!r&&!i)if((Le(t)!=="body"||nt(o))&&(s=$t(t)),r){const c=Ce(t,!0,i,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else o&&(l.x=vo(o));const u=a.left+s.scrollLeft-l.x,p=a.top+s.scrollTop-l.y;return{x:u,y:p,width:a.width,height:a.height}}function wn(e){return te(e).position==="static"}function wo(e,t){return!oe(e)||te(e).position==="fixed"?null:t?t(e):e.offsetParent}function go(e,t){const n=Q(e);if(xt(e))return n;if(!oe(e)){let o=me(e);for(;o&&!Fe(o);){if(ee(o)&&!wn(o))return o;o=me(o)}return n}let r=wo(e,t);for(;r&&Da(r)&&wn(r);)r=wo(r,t);return r&&Fe(r)&&wn(r)&&!hn(r)?n:r||Ra(e)||n}const Ya=async function(e){const t=this.getOffsetParent||go,n=this.getDimensions,r=await n(e.floating);return{reference:Va(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Xa(e){return te(e).direction==="rtl"}const Ka={convertOffsetParentRelativeRectToViewportRelativeRect:Fa,getDocumentElement:de,getClippingRect:za,getOffsetParent:go,getElementRects:Ya,getClientRects:Ma,getDimensions:Ba,getScale:Me,isElement:ee,isRTL:Xa};function qa(e,t){let n=null,r;const o=de(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:p,width:c,height:v}=e.getBoundingClientRect();if(s||t(),!c||!v)return;const h=gt(p),d=gt(o.clientWidth-(u+c)),f=gt(o.clientHeight-(p+v)),_=gt(u),w={rootMargin:-h+"px "+-d+"px "+-f+"px "+-_+"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 Za(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=mn(e),p=o||i?[...u?rt(u):[],...rt(t)]:[];p.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),i&&m.addEventListener("resize",n)});const c=u&&s?qa(u,n):null;let v=-1,h=null;a&&(h=new ResizeObserver(m=>{let[w]=m;w&&w.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var g;(g=h)==null||g.observe(t)})),n()}),u&&!l&&h.observe(u),h.observe(t));let d,f=l?Ce(e):null;l&&_();function _(){const m=Ce(e);f&&(m.x!==f.x||m.y!==f.y||m.width!==f.width||m.height!==f.height)&&n(),f=m,d=requestAnimationFrame(_)}return n(),()=>{var m;p.forEach(w=>{o&&w.removeEventListener("scroll",n),i&&w.removeEventListener("resize",n)}),c==null||c(),(m=h)==null||m.disconnect(),h=null,l&&cancelAnimationFrame(d)}}const Ga=Aa,Qa=ja,Ja=Sa,es=Ta,ts=Ca,yo=Ea,ns=Oa,rs=(e,t,n)=>{const r=new Map,o={platform:Ka,...n},i={...o.platform,_c:r};return ka(e,t,{...o,platform:i})};var kt=typeof document<"u"?$e:F;function Et(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(!Et(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)&&!Et(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function bo(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function xo(e,t){const n=bo(e);return Math.round(t*n)/n}function $o(e){const t=T(e);return kt(()=>{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,[p,c]=L({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[v,h]=L(r);Et(v,r)||h(r);const[d,f]=L(null),[_,m]=L(null),w=V(C=>{C!==S.current&&(S.current=C,f(C))},[]),g=V(C=>{C!==j.current&&(j.current=C,m(C))},[]),y=i||d,b=a||_,S=T(null),j=T(null),E=T(p),P=l!=null,D=$o(l),U=$o(o),z=V(()=>{if(!S.current||!j.current)return;const C={placement:t,strategy:n,middleware:v};U.current&&(C.platform=U.current),rs(S.current,j.current,C).then(B=>{const I={...B,isPositioned:!0};W.current&&!Et(E.current,I)&&(E.current=I,et(()=>{c(I)}))})},[v,t,n,U]);kt(()=>{u===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,c(C=>({...C,isPositioned:!1})))},[u]);const W=T(!1);kt(()=>(W.current=!0,()=>{W.current=!1}),[]),kt(()=>{if(y&&(S.current=y),b&&(j.current=b),y&&b){if(D.current)return D.current(y,b,z);z()}},[y,b,z,D,P]);const O=q(()=>({reference:S,floating:j,setReference:w,setFloating:g}),[w,g]),N=q(()=>({reference:y,floating:b}),[y,b]),A=q(()=>{const C={position:n,left:0,top:0};if(!N.floating)return C;const B=xo(N.floating,p.x),I=xo(N.floating,p.y);return s?{...C,transform:"translate("+B+"px, "+I+"px)",...bo(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:B,top:I}},[n,s,N.floating,p.x,p.y]);return q(()=>({...p,update:z,refs:O,elements:N,floatingStyles:A}),[p,z,O,N,A])}const is=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?yo({element:r.current,padding:o}).fn(n):{}:r?yo({element:r,padding:o}).fn(n):{}}}},as=(e,t)=>({...Ga(e),options:[e,t]}),ss=(e,t)=>({...Qa(e),options:[e,t]}),cs=(e,t)=>({...ns(e),options:[e,t]}),ls=(e,t)=>({...Ja(e),options:[e,t]}),us=(e,t)=>({...es(e),options:[e,t]}),fs=(e,t)=>({...ts(e),options:[e,t]}),ds=(e,t)=>({...is(e),options:[e,t]});function ps(e){const[t,n]=L(void 0);return Re(()=>{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 ko="Popper",[Eo,So]=qr(ko),[hs,Co]=Eo(ko),vs=e=>{const{__scopePopper:t,children:n}=e,[r,o]=L(null);return $(hs,{scope:t,anchor:r,onAnchorChange:o},n)},_s="PopperAnchor",ms=Y((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Co(_s,n),a=T(null),s=Se(t,a);return F(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:$(De.div,X({},o,{ref:s}))}),Po="PopperContent",[ws,fl]=Eo(Po),gs=Y((e,t)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:p,side:c="bottom",sideOffset:v=0,align:h="center",alignOffset:d=0,arrowPadding:f=0,avoidCollisions:_=!0,collisionBoundary:m=[],collisionPadding:w=0,sticky:g="partial",hideWhenDetached:y=!1,updatePositionStrategy:b="optimized",onPlaced:S,...j}=e,E=Co(Po,p),[P,D]=L(null),U=Se(t,st=>D(st)),[z,W]=L(null),O=ps(z),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+(h!=="center"?"-"+h:""),B=typeof w=="number"?w:{top:0,right:0,bottom:0,left:0,...w},I=Array.isArray(m)?m:[m],Z=I.length>0,ge={padding:B,boundary:I.filter(ys),altBoundary:Z},{refs:Ye,floatingStyles:ai,placement:Jc,isPositioned:It,middlewareData:Xe}=os({strategy:"fixed",placement:C,whileElementsMounted:(...st)=>Za(...st,{animationFrame:b==="always"}),elements:{reference:E.anchor},middleware:[as({mainAxis:v+A,alignmentAxis:d}),_&&ss({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?cs():void 0,...ge}),_&&ls({...ge}),us({...ge,apply:({elements:st,rects:ci,availableWidth:al,availableHeight:sl})=>{const{width:cl,height:ll}=ci.reference,Wt=st.floating.style;Wt.setProperty("--radix-popper-available-width",`${al}px`),Wt.setProperty("--radix-popper-available-height",`${sl}px`),Wt.setProperty("--radix-popper-anchor-width",`${cl}px`),Wt.setProperty("--radix-popper-anchor-height",`${ll}px`)}}),z&&ds({element:z,padding:f}),bs({arrowWidth:N,arrowHeight:A}),y&&fs({strategy:"referenceHidden",...ge})]}),[si,el]=Ao(Jc),Ut=pe(S);Re(()=>{It&&(Ut==null||Ut())},[It,Ut]);const tl=(o=Xe.arrow)===null||o===void 0?void 0:o.x,nl=(i=Xe.arrow)===null||i===void 0?void 0:i.y,rl=((a=Xe.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[ol,il]=L();return Re(()=>{P&&il(window.getComputedStyle(P).zIndex)},[P]),$("div",{ref:Ye.setFloating,"data-radix-popper-content-wrapper":"",style:{...ai,transform:It?ai.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ol,"--radix-popper-transform-origin":[(s=Xe.transformOrigin)===null||s===void 0?void 0:s.x,(l=Xe.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},$(ws,{scope:p,placedSide:si,onArrowChange:W,arrowX:tl,arrowY:nl,shouldHideArrow:rl},$(De.div,X({"data-side":si,"data-align":el},j,{ref:U,style:{...j.style,animation:It?void 0:"none",opacity:(u=Xe.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function ys(e){return e!==null}const bs=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,h=c?0:e.arrowHeight,[d,f]=Ao(s),_={start:"0%",center:"50%",end:"100%"}[f],m=((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)+h/2;let g="",y="";return d==="bottom"?(g=c?_:`${m}px`,y=`${-h}px`):d==="top"?(g=c?_:`${m}px`,y=`${l.floating.height+h}px`):d==="right"?(g=`${-h}px`,y=c?_:`${w}px`):d==="left"&&(g=`${l.floating.width+h}px`,y=c?_:`${w}px`),{data:{x:g,y}}}});function Ao(e){const[t,n="center"]=e.split("-");return[t,n]}const xs=vs,$s=ms,ks=gs,Es=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?Xr.createPortal($(De.div,X({},o,{ref:t})),r):null});function Ss(e,t){return ht((n,r)=>{const o=t[n][r];return o??n},e)}const gn=e=>{const{present:t,children:n}=e,r=Cs(t),o=typeof n=="function"?n({present:r.isPresent}):le.only(n),i=Se(r.ref,o.ref);return typeof n=="function"||r.isPresent?Te(o,{ref:i}):null};gn.displayName="Presence";function Cs(e){const[t,n]=L(),r=T({}),o=T(e),i=T("none"),a=e?"mounted":"unmounted",[s,l]=Ss(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return F(()=>{const u=St(r.current);i.current=s==="mounted"?u:"none"},[s]),Re(()=>{const u=r.current,p=o.current;if(p!==e){const v=i.current,h=St(u);e?l("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(p&&v!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Re(()=>{if(t){const u=c=>{const h=St(r.current).includes(c.animationName);c.target===t&&h&&et(()=>l("ANIMATION_END"))},p=c=>{c.target===t&&(i.current=St(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",p),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 St(e){return(e==null?void 0:e.animationName)||"none"}function Ps({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=As({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=pe(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 As({defaultProp:e,onChange:t}){const n=L(e),[r]=n,o=T(r),i=pe(t);return F(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var js=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ie=new WeakMap,Ct=new WeakMap,Pt={},yn=0,jo=function(e){return e&&(e.host||jo(e.parentNode))},Os=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=jo(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})},Ts=function(e,t,n,r){var o=Os(t,Array.isArray(e)?e:[e]);Pt[n]||(Pt[n]=new WeakMap);var i=Pt[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 p=function(c){!c||l.has(c)||Array.prototype.forEach.call(c.children,function(v){if(s.has(v))p(v);else{var h=v.getAttribute(r),d=h!==null&&h!=="false",f=(Ie.get(v)||0)+1,_=(i.get(v)||0)+1;Ie.set(v,f),i.set(v,_),a.push(v),f===1&&d&&Ct.set(v,!0),_===1&&v.setAttribute(n,"true"),d||v.setAttribute(r,"true")}})};return p(t),s.clear(),yn++,function(){a.forEach(function(c){var v=Ie.get(c)-1,h=i.get(c)-1;Ie.set(c,v),i.set(c,h),v||(Ct.has(c)||c.removeAttribute(r),Ct.delete(c)),h||c.removeAttribute(n)}),yn--,yn||(Ie=new WeakMap,Ie=new WeakMap,Ct=new WeakMap,Pt={})}},Ds=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||js(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),Ts(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 Oo(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 Rs(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 At="right-scroll-bar-position",jt="width-before-scroll-bar",Ns="with-scroll-bars-hidden",Ls="--removed-body-scroll-bar-size";function Fs(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Ms(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}function Is(e,t){return Ms(t||null,function(n){return e.forEach(function(r){return Fs(r,n)})})}function Us(e){return e}function Ws(e,t){t===void 0&&(t=Us);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 p=a;a=[],p.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(p){a.push(p),u()},filter:function(p){return a=a.filter(p),n}}}};return o}function Hs(e){e===void 0&&(e={});var t=Ws(null);return t.options=ie({async:!0,ssr:!1},e),t}var To=function(e){var t=e.sideCar,n=Oo(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))};To.isSideCarExport=!0;function zs(e,t){return e.useMedium(t),To}var Do=Hs(),bn=function(){},Ot=Y(function(e,t){var n=T(null),r=L({onScrollCapture:bn,onWheelCapture:bn,onTouchMoveCapture:bn}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,p=e.enabled,c=e.shards,v=e.sideCar,h=e.noIsolation,d=e.inert,f=e.allowPinchZoom,_=e.as,m=_===void 0?"div":_,w=Oo(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),g=v,y=Is([n,t]),b=ie(ie({},w),o);return $(H,null,p&&$(g,{sideCar:Do,removeScrollBar:u,shards:c,noIsolation:h,inert:d,setCallbacks:i,allowPinchZoom:!!f,lockRef:n}),a?Te(le.only(s),ie(ie({},b),{ref:y})):$(m,ie({},b,{className:l,ref:y}),s))});Ot.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Ot.classNames={fullWidth:jt,zeroRight:At};var Ro,Bs=function(){if(Ro)return Ro;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Vs(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Bs();return t&&e.setAttribute("nonce",t),e}function Ys(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Xs(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Ks=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Vs())&&(Ys(t,n),Xs(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},qs=function(){var e=Ks();return function(t,n){F(function(){return e.add(t),function(){e.remove()}},[t&&n])}},No=function(){var e=qs(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Zs={left:0,top:0,right:0,gap:0},xn=function(e){return parseInt(e||"",10)||0},Gs=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[xn(n),xn(r),xn(o)]},Qs=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Zs;var t=Gs(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])}},Js=No(),ec=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(Ns,` {
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,` {
3
3
  overflow: hidden `).concat(r,`;
4
4
  padding-right: `).concat(s,"px ").concat(r,`;
5
5
  }
6
- body {
6
+ body[`).concat(Ve,`] {
7
7
  overflow: hidden `).concat(r,`;
8
8
  overscroll-behavior: contain;
9
9
  `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
@@ -16,30 +16,30 @@
16
16
  `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
17
17
  }
18
18
 
19
- .`).concat(At,` {
19
+ .`).concat(Nt,` {
20
20
  right: `).concat(s,"px ").concat(r,`;
21
21
  }
22
22
 
23
- .`).concat(jt,` {
23
+ .`).concat(Lt,` {
24
24
  margin-right: `).concat(s,"px ").concat(r,`;
25
25
  }
26
26
 
27
- .`).concat(At," .").concat(At,` {
27
+ .`).concat(Nt," .").concat(Nt,` {
28
28
  right: 0 `).concat(r,`;
29
29
  }
30
30
 
31
- .`).concat(jt," .").concat(jt,` {
31
+ .`).concat(Lt," .").concat(Lt,` {
32
32
  margin-right: 0 `).concat(r,`;
33
33
  }
34
34
 
35
- body {
36
- `).concat(Ls,": ").concat(s,`px;
35
+ body[`).concat(Ve,`] {
36
+ `).concat(lc,": ").concat(s,`px;
37
37
  }
38
- `)},tc=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=q(function(){return Qs(o)},[o]);return $(Js,{styles:ec(i,!t,o,n?"":"!important")})},$n=!1;if(typeof window<"u")try{var Tt=Object.defineProperty({},"passive",{get:function(){return $n=!0,!0}});window.addEventListener("test",Tt,Tt),window.removeEventListener("test",Tt,Tt)}catch{$n=!1}var Ue=$n?{passive:!1}:!1,nc=function(e){return e.tagName==="TEXTAREA"},Lo=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!nc(e)&&n[t]==="visible")},rc=function(e){return Lo(e,"overflowY")},oc=function(e){return Lo(e,"overflowX")},Fo=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Mo(e,n);if(r){var o=Io(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},ic=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},ac=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Mo=function(e,t){return e==="v"?rc(t):oc(t)},Io=function(e,t){return e==="v"?ic(t):ac(t)},sc=function(e,t){return e==="h"&&t==="rtl"?-1:1},cc=function(e,t,n,r,o){var i=sc(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),u=!1,p=a>0,c=0,v=0;do{var h=Io(e,s),d=h[0],f=h[1],_=h[2],m=f-_-i*d;(d||m)&&Mo(e,s)&&(c+=m,v+=d),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(p&&(o&&c===0||!o&&a>c)||!p&&(o&&v===0||!o&&-a>v))&&(u=!0),u},Dt=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Uo=function(e){return[e.deltaX,e.deltaY]},Wo=function(e){return e&&"current"in e?e.current:e},lc=function(e,t){return e[0]===t[0]&&e[1]===t[1]},uc=function(e){return`
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`
39
39
  .block-interactivity-`.concat(e,` {pointer-events: none;}
40
40
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
41
- `)},fc=0,We=[];function dc(e){var t=T([]),n=T([0,0]),r=T(),o=L(fc++)[0],i=L(function(){return No()})[0],a=T(e);F(function(){a.current=e},[e]),F(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var f=Rs([e.lockRef.current],(e.shards||[]).map(Wo),!0).filter(Boolean);return f.forEach(function(_){return _.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),f.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=V(function(f,_){if("touches"in f&&f.touches.length===2)return!a.current.allowPinchZoom;var m=Dt(f),w=n.current,g="deltaX"in f?f.deltaX:w[0]-m[0],y="deltaY"in f?f.deltaY:w[1]-m[1],b,S=f.target,j=Math.abs(g)>Math.abs(y)?"h":"v";if("touches"in f&&j==="h"&&S.type==="range")return!1;var E=Fo(j,S);if(!E)return!0;if(E?b=j:(b=j==="v"?"h":"v",E=Fo(j,S)),!E)return!1;if(!r.current&&"changedTouches"in f&&(g||y)&&(r.current=b),!b)return!0;var P=r.current||b;return cc(P,_,f,P==="h"?g:y,!0)},[]),l=V(function(f){var _=f;if(!(!We.length||We[We.length-1]!==i)){var m="deltaY"in _?Uo(_):Dt(_),w=t.current.filter(function(b){return b.name===_.type&&b.target===_.target&&lc(b.delta,m)})[0];if(w&&w.should){_.cancelable&&_.preventDefault();return}if(!w){var g=(a.current.shards||[]).map(Wo).filter(Boolean).filter(function(b){return b.contains(_.target)}),y=g.length>0?s(_,g[0]):!a.current.noIsolation;y&&_.cancelable&&_.preventDefault()}}},[]),u=V(function(f,_,m,w){var g={name:f,delta:_,target:m,should:w};t.current.push(g),setTimeout(function(){t.current=t.current.filter(function(y){return y!==g})},1)},[]),p=V(function(f){n.current=Dt(f),r.current=void 0},[]),c=V(function(f){u(f.type,Uo(f),f.target,s(f,e.lockRef.current))},[]),v=V(function(f){u(f.type,Dt(f),f.target,s(f,e.lockRef.current))},[]);F(function(){return We.push(i),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:v}),document.addEventListener("wheel",l,Ue),document.addEventListener("touchmove",l,Ue),document.addEventListener("touchstart",p,Ue),function(){We=We.filter(function(f){return f!==i}),document.removeEventListener("wheel",l,Ue),document.removeEventListener("touchmove",l,Ue),document.removeEventListener("touchstart",p,Ue)}},[]);var h=e.removeScrollBar,d=e.inert;return $(H,null,d?$(i,{styles:uc(o)}):null,h?$(tc,{gapMode:"margin"}):null)}const pc=zs(Do,dc);var Ho=Y(function(e,t){return $(Ot,ie({},e,{ref:t,sideCar:pc}))});Ho.classNames=Ot.classNames;const hc=Ho,zo="Popover",[Bo,dl]=qr(zo,[So]),kn=So(),[vc,He]=Bo(zo),_c=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=kn(t),l=T(null),[u,p]=L(!1),[c=!1,v]=Ps({prop:r,defaultProp:o,onChange:i});return $(xs,s,$(vc,{scope:t,contentId:va(),triggerRef:l,open:c,onOpenChange:v,onOpenToggle:V(()=>v(h=>!h),[v]),hasCustomAnchor:u,onCustomAnchorAdd:V(()=>p(!0),[]),onCustomAnchorRemove:V(()=>p(!1),[]),modal:a},n))},mc="PopoverTrigger",wc=Y((e,t)=>{const{__scopePopover:n,...r}=e,o=He(mc,n),i=kn(n),a=Se(t,o.triggerRef),s=$(De.button,X({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Xo(o.open)},r,{ref:a,onClick:Ee(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:$($s,X({asChild:!0},i),s)}),Vo="PopoverPortal",[gc,yc]=Bo(Vo,{forceMount:void 0}),bc=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=He(Vo,t);return $(gc,{scope:t,forceMount:n},$(gn,{present:n||i.open},$(Es,{asChild:!0,container:o},r)))},ot="PopoverContent",xc=Y((e,t)=>{const n=yc(ot,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=He(ot,e.__scopePopover);return $(gn,{present:r||i.open},i.modal?$($c,X({},o,{ref:t})):$(kc,X({},o,{ref:t})))}),$c=Y((e,t)=>{const n=He(ot,e.__scopePopover),r=T(null),o=Se(t,r),i=T(!1);return F(()=>{const a=r.current;if(a)return Ds(a)},[]),$(hc,{as:nn,allowPinchZoom:!0},$(Yo,X({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ee(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Ee(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:Ee(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),kc=Y((e,t)=>{const n=He(ot,e.__scopePopover),r=T(!1),o=T(!1);return $(Yo,X({},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()}}))}),Yo=Y((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:p,...c}=e,v=He(ot,n),h=kn(n);return ia(),$(aa,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},$(na,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:p,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>v.onOpenChange(!1)},$(ks,X({"data-state":Xo(v.open),role:"dialog",id:v.contentId},h,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 Xo(e){return e?"open":"closed"}const Ec=_c,Sc=wc,Cc=bc,Pc=xc;function Ko(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=Ko(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function En(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Ko(e))&&(r&&(r+=" "),r+=t);return r}function Rt(){throw new Error("Cycle detected")}var Ac=Symbol.for("preact-signals");function Sn(){if(ze>1)ze--;else{for(var e,t=!1;it!==void 0;){var n=it;for(it=void 0,Cn++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&Zo(n))try{n.c()}catch(o){t||(e=o,t=!0)}n=r}}if(Cn=0,ze--,t)throw e}}var M=void 0,it=void 0,ze=0,Cn=0,Nt=0;function qo(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=Ac,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 An(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=qo(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(M instanceof we&&function(){throw new Error("Computed cannot have side-effects")}(),e!==this.v){Cn>100&&Rt(),this.v=e,this.i++,Nt++,ze++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{Sn()}}}});function Lt(e){return new K(e)}function Zo(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 Go(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 Qo(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 we(e){K.call(this,void 0),this.x=e,this.s=void 0,this.g=Nt-1,this.f=4}(we.prototype=new K).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Nt))return!0;if(this.g=Nt,this.f|=1,this.i>0&&!Zo(this))return this.f&=-2,!0;var e=M;try{Go(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,Qo(this),this.f&=-2,!0},we.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)},we.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)}},we.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},we.prototype.peek=function(){if(this.h()||Rt(),16&this.f)throw this.v;return this.v},Object.defineProperty(we.prototype,"value",{get:function(){1&this.f&&Rt();var e=qo(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function jc(e){return new we(e)}function Jo(e){var t=e.u;if(e.u=void 0,typeof t=="function"){ze++;var n=M;M=void 0;try{t()}catch(r){throw e.f&=-2,e.f|=8,Pn(e),r}finally{M=n,Sn()}}}function Pn(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Jo(e)}function Oc(e){if(M!==this)throw new Error("Out-of-order effect");Qo(this),M=e,this.f&=-2,8&this.f&&Pn(this),Sn()}function at(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}at.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()}},at.prototype.S=function(){1&this.f&&Rt(),this.f|=1,this.f&=-9,Jo(this),Go(this),ze++;var e=M;return M=this,Oc.bind(this,e)},at.prototype.N=function(){2&this.f||(this.f|=2,this.o=it,it=this)},at.prototype.d=function(){this.f|=8,1&this.f||Pn(this)};function An(e){var t=new at(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var jn;function Be(e,t){x[e]=t.bind(null,x[e]||function(){})}function Ft(e){jn&&jn(),jn=e&&e.S()}function ei(e){var t=this,n=e.data,r=Dc(n);r.value=n;var o=q(function(){for(var i=t.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return t.__$u.c=function(){var a;!Ln(o.peek())&&((a=t.base)==null?void 0:a.nodeType)===3?t.base.data=o.peek():(t.__$f|=1,t.setState({}))},jc(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}ei.displayName="_st",Object.defineProperties(K.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:ei},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),Be("__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)}),Be("__r",function(e,t){Ft();var n,r=t.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return An(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),Ft(n),e(t)}),Be("__e",function(e,t,n,r){Ft(),e(t,n,r)}),Be("diffed",function(e,t){Ft();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],p=r[l];u===void 0?(u=Tc(n,l,p,o),i[l]=u):u.o(p,o)}}}e(t)});function Tc(e,t,n,r){var o=t in e&&e.ownerSVGElement===void 0,i=Lt(n);return{o:function(a,s){i.value=a,r=s},d:An(function(){var a=i.value.value;r[t]!==a&&(r[t]=a,o?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}Be("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)}),Be("__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 Dc(e){return q(function(){return Lt(e)},[])}const Ve={config$:Lt({headerText:"",label:""}),filters$:Lt({})},ti="inploi-job-alerts",Rc="ija";var Nc=["1","2","3","4","5","6","7","8","9","10","11","12"],Lc={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]}},Fc=(e,t=1,n)=>r=>{const[o,i]=Lc[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},ni=e=>{const t=Fc(e.hue,e.chroma,e.mode);return Object.fromEntries(Nc.map(n=>[e.prefix+n,e.transform(t(n))]))},ri=e=>e,Mc=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)},Mt=e=>!!e&&typeof e=="object"&&!Array.isArray(e),On=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Mt(e)&&Mt(n))for(const r in n){const o=n[r];if(Mt(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];Mt(i)&&On(i,o)}else Object.assign(e,{[r]:n[r]})}return On(e,...t)},Ic=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},Uc=()=>({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}}),p=Mc(On(s,l,u)),c=([v,h],d)=>{const f=[d,v].filter(Boolean).join(".");return typeof h=="object"?Object.entries(h).flatMap(_=>c(_,f)):[[r.getToken("declaration",f),h]]};return{values:p,declarations:Object.fromEntries(Object.entries(p).flatMap(v=>c(v))),ref:v=>i("reference",v.toString())}}})})})});const[Tn,Dn,Wc]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],Hc=Uc().core(({theme:e})=>({color:{transparent:Wc,black:Tn,white:Dn,lowest:e.mode==="light"?Dn:Tn,highest:e.mode==="light"?Tn:Dn,...ni({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:ri}),...ni({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(()=>({})),zc=Ic({prefix:"i-"}),Bc=e=>{const t=Hc.from({theme:e,getToken:zc}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${Rc} {
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} {
42
42
  ${n.concat(n).join(`
43
43
  `)}
44
- }`},oi=e=>{const t=[];return t.push(e.corners),t.push(e.highlights),t.push(e.mode),t},Vc=({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,Rn="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]",Yc=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.",Xc=Y(({class:e,...t},n)=>k("button",{ref:n,class:En("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:ii,...t,children:[k(ar,{class:"flex-none",name:"bell"})," ",k("span",{class:"min-w-0 truncate text-center",children:Ve.config$.value.label})]})),Kc=()=>k("p",{class:"text-neutral-11 px-2 pb-4 pt-1 text-sm",children:Ve.config$.value.headerText});function ii(){}const qc=({theme:e,apiClient:t,logger:n})=>{const[r,o]=L("idle"),[i,a]=L();return k("div",{id:"ija",children:k("div",{class:oi(e).join(" "),children:k(Ec,{children:[k(Sc,{asChild:!0,children:k(Xc,{})}),k(Cc,{children:k("div",{id:"ija",children:k("div",{class:En("absolute isolate z-50",oi(e).join(" ")),children:k(Pc,{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(Kc,{}),k("form",{onSubmit:async s=>{var h,d,f;if(s.preventDefault(),r!=="idle")return;const l=new FormData(s.currentTarget),u=(h=l.get("name"))==null?void 0:h.toString(),[p,...c]=(u==null?void 0:u.split(" "))??[],v=c.join(" ");o("loading"),await Promise.all([new Promise(_=>setTimeout(_,1e3)),t.fetch("/search/save",{method:"POST",body:JSON.stringify({contact:{email:(d=l.get("email"))==null?void 0:d.toString(),first_name:p,last_name:v},alerts:(f=l.get("frequency"))==null?void 0:f.toString(),filters:Ve.filters$.peek()})})]).then(async()=>{o("success"),await new Promise(_=>setTimeout(_,1e3)),o("idle")}).catch(_=>{n.error(_),a(Yc(_)),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:"Email"}),k("input",{name:"email",autocomplete:"email",class:Rn,disabled:r==="loading",id:"ija-email",placeholder:"Email",type:"email",required:!0})]}),k("fieldset",{class:"fieldset relative focus-within:z-10",children:[k("label",{class:"sr-only",htmlFor:"ija-name",children:"Name"}),k("input",{disabled:r==="loading",name:"name",required:!0,autocomplete:"name",class:Rn,id:"ija-name",placeholder:"Full Name"})]}),k("fieldset",{class:"fieldset relative focus-within:z-10",children:[k("label",{class:"sr-only",htmlFor:"ija-frequency",children:"Frequency"}),k("select",{disabled:r==="loading",class:En(Rn,"appearance-none pr-8"),id:"ija-frequency",defaultValue:"WEEKLY",name:"frequency",children:[k("option",{value:"INSTANTLY",children:"Instantly"}),k("option",{value:"DAILY",children:"Daily"}),k("option",{value:"WEEKLY",children:"Weekly"}),k("option",{value:"MONTHLY",children:"Monthly"})]}),k("div",{class:"text-neutral-10 absolute bottom-0 right-0 top-0 flex items-center p-1","aria-hidden":!0,children:k(ar,{name:"chevron-up-down"})})]})]}),k("button",{onTouchStart:ii,class:"bg-accent-9 active:bg-accent-10 theme-dark:active:bg-accent-8 fr ease-expo-out duration-snappy text-accent-1 theme-dark:text-highest grid items-center overflow-hidden rounded-lg px-5 py-2 pl-2.5 text-center transition-all hover:scale-[1.02] active:scale-[.97]",children:[k("span",{"data-state":r,class:"ease-expo-out duration-medium col-span-full row-span-full text-base opacity-0 transition-all data-[state=loading]:-translate-y-full data-[state=success]:translate-y-full data-[state=idle]:opacity-100",children:"Create Alert"}),k("div",{"data-state":r,class:"ease-expo-out duration-medium col-span-full row-span-full flex translate-y-0 justify-center text-base transition-all data-[state=idle]:translate-y-full data-[state=idle]:opacity-0",children:k("svg",{width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[k("circle",{class:"loading-circle duration-snappy ease-expo-out transition-all",cx:"12",cy:"12",r:"9"}),k("path",{class:"done-checkmark",d:"M9 12L11 14L15 10"})]})})]}),k(Vc,{error:i})]})]})})})})]})})})},Zc=`#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
- `,Gc=(()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${ti}`);if(!e)throw new Error(`Element with id ${ti} not found.`);return e}}))(),Qc=()=>ui(({apiClient:e,logger:t,analytics:n})=>{let r=!1;const o=({params:s})=>$(H,{},[[$("style",{id:"inploi-job-alerts-styles"},Zc),$("style",{id:"inploi-job-search-theme"},Bc(s.theme))],$(Ci,{theme:s.theme}),$(qc,{theme:s.theme,apiClient:e,logger:t,analytics:n})]),i=s=>Ve.filters$.value=s,a=s=>Ve.config$.value=typeof s=="function"?s(Ve.config$.peek()):s;return{prerender:async s=>(r=!0,i(s.initialFilters),{html:$i($(H,{},$(o,{params:s})))}),render:async s=>{const l=r?Yt:Ae;li(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}),Gc.getRenderTargetElement())},setFilters:i,setConfig:a}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobAlertsPlugin=Qc})();
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})();