@inploi/plugin-feedback 6.0.0 → 6.1.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 +13 -13
- package/dist/feedback.d.ts +13 -0
- package/dist/plugin-feedback.cjs +307 -221
- package/dist/plugin-feedback.js +307 -221
- package/dist/style/tokens.d.ts +8 -1
- package/dist/style/tokens.test.d.ts +1 -0
- package/package.json +3 -3
package/cdn/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
(function(){"use strict";function Li(e,t){if(!e)throw new Error(t)}let se;function Mi(e){return{lang:(e==null?void 0:e.lang)??(se==null?void 0:se.lang),message:e==null?void 0:e.message,abortEarly:(e==null?void 0:e.abortEarly)??(se==null?void 0:se.abortEarly),abortPipeEarly:(e==null?void 0:e.abortPipeEarly)??(se==null?void 0:se.abortPipeEarly)}}let Jt;function Fi(e){return Jt==null?void 0:Jt.get(e)}let en;function Ii(e){return en==null?void 0:en.get(e)}let tn;function Wi(e,t){var n;return(n=tn==null?void 0:tn.get(e))==null?void 0:n.get(t)}function cr(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 Ce(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,c=(o==null?void 0:o.received)??cr(i),u={kind:e.kind,type:e.type,input:i,expected:a,received:c,message:`Invalid ${t}: ${a?`Expected ${a} but r`:"R"}eceived ${c}`,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},s=e.kind==="schema",d=(o==null?void 0:o.message)??e.message??Wi(e.reference,u.lang)??(s?Ii(u.lang):null)??r.message??Fi(u.lang);d!==void 0&&(u.message=typeof d=="function"?d(u):d),s&&(n.typed=!1),n.issues?n.issues.push(u):n.issues=[u]}function we(e){return{version:1,vendor:"valibot",validate(t){return e["~run"]({value:t},Mi())}}}function zi(e,t){return Object.hasOwn(e,t)&&t!=="__proto__"&&t!=="prototype"&&t!=="constructor"}function Hi(e,t){const n=[...new Set(e)];return n.length>1?`(${n.join(` ${t} `)})`:n[0]??"never"}function ji(e,t,n){return typeof e.fallback=="function"?e.fallback(t,n):e.fallback}function sr(e,t,n){return typeof e.default=="function"?e.default(t,n):e.default}function lr(e,t){return{kind:"schema",type:"array",reference:lr,expects:"Array",async:!1,item:e,message:t,get"~standard"(){return we(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 c=o[a],u=this.item["~run"]({value:c},r);if(u.issues){const s={type:"array",origin:"value",input:o,key:a,value:c};for(const d of u.issues)d.path?d.path.unshift(s):d.path=[s],(i=n.issues)==null||i.push(d);if(n.issues||(n.issues=u.issues),r.abortEarly){n.typed=!1;break}}u.typed||(n.typed=!1),n.value.push(u.value)}}else Ce(this,"type",n,r);return n}}}function H(e,t){return{kind:"schema",type:"nullable",reference:H,expects:`(${e.expects} | null)`,async:!1,wrapped:e,default:t,get"~standard"(){return we(this)},"~run"(n,r){return n.value===null&&(this.default!==void 0&&(n.value=sr(this,n,r)),n.value===null)?(n.typed=!0,n):this.wrapped["~run"](n,r)}}}function Me(e){return{kind:"schema",type:"number",reference:Me,expects:"number",async:!1,message:e,get"~standard"(){return we(this)},"~run"(t,n){return typeof t.value=="number"&&!isNaN(t.value)?t.typed=!0:Ce(this,"type",t,n),t}}}function _e(e,t){return{kind:"schema",type:"object",reference:_e,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return we(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 c=this.entries[a];if(a in o||(c.type==="exact_optional"||c.type==="optional"||c.type==="nullish")&&c.default!==void 0){const u=a in o?o[a]:sr(c),s=c["~run"]({value:u},r);if(s.issues){const d={type:"object",origin:"value",input:o,key:a,value:u};for(const l of s.issues)l.path?l.path.unshift(d):l.path=[d],(i=n.issues)==null||i.push(l);if(n.issues||(n.issues=s.issues),r.abortEarly){n.typed=!1;break}}s.typed||(n.typed=!1),n.value[a]=s.value}else if(c.fallback!==void 0)n.value[a]=ji(c);else if(c.type!=="exact_optional"&&c.type!=="optional"&&c.type!=="nullish"&&(Ce(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 Ce(this,"type",n,r);return n}}}function it(e,t){return{kind:"schema",type:"picklist",reference:it,expects:Hi(e.map(cr),"|"),async:!1,options:e,message:t,get"~standard"(){return we(this)},"~run"(n,r){return this.options.includes(n.value)?n.typed=!0:Ce(this,"type",n,r),n}}}function nn(e,t,n){return{kind:"schema",type:"record",reference:nn,expects:"Object",async:!1,key:e,value:t,message:n,get"~standard"(){return we(this)},"~run"(r,o){var a,c;const i=r.value;if(i&&typeof i=="object"){r.typed=!0,r.value={};for(const u in i)if(zi(i,u)){const s=i[u],d=this.key["~run"]({value:u},o);if(d.issues){const p={type:"object",origin:"key",input:i,key:u,value:s};for(const f of d.issues)f.path=[p],(a=r.issues)==null||a.push(f);if(r.issues||(r.issues=d.issues),o.abortEarly){r.typed=!1;break}}const l=this.value["~run"]({value:s},o);if(l.issues){const p={type:"object",origin:"value",input:i,key:u,value:s};for(const f of l.issues)f.path?f.path.unshift(p):f.path=[p],(c=r.issues)==null||c.push(f);if(r.issues||(r.issues=l.issues),o.abortEarly){r.typed=!1;break}}(!d.typed||!l.typed)&&(r.typed=!1),d.typed&&(r.value[d.value]=l.value)}}else Ce(this,"type",r,o);return r}}}function D(e){return{kind:"schema",type:"string",reference:D,expects:"string",async:!1,message:e,get"~standard"(){return we(this)},"~run"(t,n){return typeof t.value=="string"?t.typed=!0:Ce(this,"type",t,n),t}}}function ur(){return{kind:"schema",type:"unknown",reference:ur,expects:"unknown",async:!1,get"~standard"(){return we(this)},"~run"(e){return e.typed=!0,e}}}const Ui=["agent","sdk","form","integration","migration"],Bi=["PENDING","SUBMITTED","SCREENING","SHORTLISTED","INTERVIEW","OFFERED","HIRED","REJECTED","WITHDRAWN"],Vi=["screening","cv_match","interview","overall"],Yi=["PENDING","SCHEDULED","IN_PROGRESS","COMPLETED","CANCELLED"],Zi=it(Ui),Xi=it(Bi),qi=it(Vi),Ki=it(Yi),dr=_e({id:D(),email:H(D()),firstName:H(D()),lastName:H(D()),phone:H(D()),source:H(Zi),identifiedAt:H(D()),createdAt:D(),updatedAt:D()}),rn=nn(D(),ur()),Gi=_e({id:D(),applicationId:D(),status:Ki,scheduledAt:H(D()),completedAt:H(D()),meta:H(rn),createdAt:D(),updatedAt:D()}),Qi=_e({score:Me(),reason:D(),confidence:Me()}),fr=_e({id:D(),candidateId:D(),jobId:Me(),status:Xi,sessionId:H(Me()),externalApplicationId:H(D()),meta:H(rn),context:H(rn),scoredAt:H(D()),shortlistedAt:H(D()),createdAt:D(),updatedAt:D()}),Ji=_e({id:D(),applicationId:D(),scoreType:qi,score:H(Me()),reason:H(D()),categories:H(nn(D(),Qi)),scoredBy:H(D()),createdAt:D()});({...fr.entries},{...dr.entries});var ea=e=>e,at,$,pr,Pe,hr,vr,gr,mr,on,an,cn,wr,yt={},xt=[],ta=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,ct=Array.isArray;function oe(e,t){for(var n in t)e[n]=t[n];return e}function sn(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function x(e,t,n){var r,o,i,a={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?at.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 st(e,a,r,o,null)}function st(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++pr,__i:-1,__u:0};return o==null&&$.vnode!=null&&$.vnode(i),i}function _r(){return{current:null}}function B(e){return e.children}function te(e,t){this.props=e,this.context=t}function Fe(e,t){if(t==null)return e.__?Fe(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?Fe(e):null}function na(e){if(e.__P&&e.__d){var t=e.__v,n=t.__e,r=[],o=[],i=oe({},t);i.__v=t.__v+1,$.vnode&&$.vnode(i),un(e.__P,i,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,r,n??Fe(t),!!(32&t.__u),o),i.__v=t.__v,i.__.__k[i.__i]=i,Er(r,i,o),t.__e=t.__=null,i.__e!=n&&br(i)}}function br(e){if((e=e.__)!=null&&e.__c!=null)return e.__e=e.__c.base=null,e.__k.some(function(t){if(t!=null&&t.__e!=null)return e.__e=e.__c.base=t.__e}),br(e)}function ln(e){(!e.__d&&(e.__d=!0)&&Pe.push(e)&&!kt.__r++||hr!=$.debounceRendering)&&((hr=$.debounceRendering)||vr)(kt)}function kt(){for(var e,t=1;Pe.length;)Pe.length>t&&Pe.sort(gr),e=Pe.shift(),t=Pe.length,na(e);kt.__r=0}function yr(e,t,n,r,o,i,a,c,u,s,d){var l,p,f,m,h,v,w,g=r&&r.__k||xt,_=t.length;for(u=ra(n,t,g,u,_),l=0;l<_;l++)(f=n.__k[l])!=null&&(p=f.__i!=-1&&g[f.__i]||yt,f.__i=l,v=un(e,f,p,o,i,a,c,u,s,d),m=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&fn(p.ref,null,f),d.push(f.ref,f.__c||m,f)),h==null&&m!=null&&(h=m),(w=!!(4&f.__u))||p.__k===f.__k?u=xr(f,u,e,w):typeof f.type=="function"&&v!==void 0?u=v:m&&(u=m.nextSibling),f.__u&=-7);return n.__e=h,u}function ra(e,t,n,r,o){var i,a,c,u,s,d=n.length,l=d,p=0;for(e.__k=new Array(o),i=0;i<o;i++)(a=t[i])!=null&&typeof a!="boolean"&&typeof a!="function"?(typeof a=="string"||typeof a=="number"||typeof a=="bigint"||a.constructor==String?a=e.__k[i]=st(null,a,null,null,null):ct(a)?a=e.__k[i]=st(B,{children:a},null,null,null):a.constructor===void 0&&a.__b>0?a=e.__k[i]=st(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):e.__k[i]=a,u=i+p,a.__=e,a.__b=e.__b+1,c=null,(s=a.__i=oa(a,n,u,l))!=-1&&(l--,(c=n[s])&&(c.__u|=2)),c==null||c.__v==null?(s==-1&&(o>d?p--:o<d&&p++),typeof a.type!="function"&&(a.__u|=4)):s!=u&&(s==u-1?p--:s==u+1?p++:(s>u?p--:p++,a.__u|=4))):e.__k[i]=null;if(l)for(i=0;i<d;i++)(c=n[i])!=null&&!(2&c.__u)&&(c.__e==r&&(r=Fe(c)),Cr(c,c));return r}function xr(e,t,n,r){var o,i;if(typeof e.type=="function"){for(o=e.__k,i=0;o&&i<o.length;i++)o[i]&&(o[i].__=e,t=xr(o[i],t,n,r));return t}e.__e!=t&&(r&&(t&&e.type&&!t.parentNode&&(t=Fe(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function le(e,t){return t=t||[],e==null||typeof e=="boolean"||(ct(e)?e.some(function(n){le(n,t)}):t.push(e)),t}function oa(e,t,n,r){var o,i,a,c=e.key,u=e.type,s=t[n],d=s!=null&&(2&s.__u)==0;if(s===null&&c==null||d&&c==s.key&&u==s.type)return n;if(r>(d?1:0)){for(o=n-1,i=n+1;o>=0||i<t.length;)if((s=t[a=o>=0?o--:i++])!=null&&!(2&s.__u)&&c==s.key&&u==s.type)return a}return-1}function kr(e,t,n){t[0]=="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||ta.test(t)?n:n+"px"}function $t(e,t,n,r,o){var i,a;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||kr(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||kr(e.style,t,n[t])}else if(t[0]=="o"&&t[1]=="n")i=t!=(t=t.replace(mr,"$1")),a=t.toLowerCase(),t=a in e||t=="onFocusOut"||t=="onFocusIn"?a.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=on,e.addEventListener(t,i?cn:an,i)):e.removeEventListener(t,i?cn:an,i);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function $r(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=on++;else if(t.t<n.u)return;return n($.event?$.event(t):t)}}}function un(e,t,n,r,o,i,a,c,u,s){var d,l,p,f,m,h,v,w,g,_,b,y,C,P,E,A=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(u=!!(32&n.__u),i=[c=t.__e=n.__e]),(d=$.__b)&&d(t);e:if(typeof A=="function")try{if(w=t.props,g="prototype"in A&&A.prototype.render,_=(d=A.contextType)&&r[d.__c],b=d?_?_.props.value:d.__:r,n.__c?v=(l=t.__c=n.__c).__=l.__E:(g?t.__c=l=new A(w,b):(t.__c=l=new te(w,b),l.constructor=A,l.render=aa),_&&_.sub(l),l.state||(l.state={}),l.__n=r,p=l.__d=!0,l.__h=[],l._sb=[]),g&&l.__s==null&&(l.__s=l.state),g&&A.getDerivedStateFromProps!=null&&(l.__s==l.state&&(l.__s=oe({},l.__s)),oe(l.__s,A.getDerivedStateFromProps(w,l.__s))),f=l.props,m=l.state,l.__v=t,p)g&&A.getDerivedStateFromProps==null&&l.componentWillMount!=null&&l.componentWillMount(),g&&l.componentDidMount!=null&&l.__h.push(l.componentDidMount);else{if(g&&A.getDerivedStateFromProps==null&&w!==f&&l.componentWillReceiveProps!=null&&l.componentWillReceiveProps(w,b),t.__v==n.__v||!l.__e&&l.shouldComponentUpdate!=null&&l.shouldComponentUpdate(w,l.__s,b)===!1){t.__v!=n.__v&&(l.props=w,l.state=l.__s,l.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(N){N&&(N.__=t)}),xt.push.apply(l.__h,l._sb),l._sb=[],l.__h.length&&a.push(l);break e}l.componentWillUpdate!=null&&l.componentWillUpdate(w,l.__s,b),g&&l.componentDidUpdate!=null&&l.__h.push(function(){l.componentDidUpdate(f,m,h)})}if(l.context=b,l.props=w,l.__P=e,l.__e=!1,y=$.__r,C=0,g)l.state=l.__s,l.__d=!1,y&&y(t),d=l.render(l.props,l.state,l.context),xt.push.apply(l.__h,l._sb),l._sb=[];else do l.__d=!1,y&&y(t),d=l.render(l.props,l.state,l.context),l.state=l.__s;while(l.__d&&++C<25);l.state=l.__s,l.getChildContext!=null&&(r=oe(oe({},r),l.getChildContext())),g&&!p&&l.getSnapshotBeforeUpdate!=null&&(h=l.getSnapshotBeforeUpdate(f,m)),P=d!=null&&d.type===B&&d.key==null?Sr(d.props.children):d,c=yr(e,ct(P)?P:[P],t,n,r,o,i,a,c,u,s),l.base=t.__e,t.__u&=-161,l.__h.length&&a.push(l),v&&(l.__E=l.__=null)}catch(N){if(t.__v=null,u||i!=null)if(N.then){for(t.__u|=u?160:128;c&&c.nodeType==8&&c.nextSibling;)c=c.nextSibling;i[i.indexOf(c)]=null,t.__e=c}else{for(E=i.length;E--;)sn(i[E]);dn(t)}else t.__e=n.__e,t.__k=n.__k,N.then||dn(t);$.__e(N,t,n)}else i==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):c=t.__e=ia(n.__e,t,n,r,o,i,a,u,s);return(d=$.diffed)&&d(t),128&t.__u?void 0:c}function dn(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(dn))}function Er(e,t,n){for(var r=0;r<n.length;r++)fn(n[r],n[++r],n[++r]);$.__c&&$.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){$.__e(i,o.__v)}})}function Sr(e){return typeof e!="object"||e==null||e.__b>0?e:ct(e)?e.map(Sr):oe({},e)}function ia(e,t,n,r,o,i,a,c,u){var s,d,l,p,f,m,h,v=n.props||yt,w=t.props,g=t.type;if(g=="svg"?o="http://www.w3.org/2000/svg":g=="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(s=0;s<i.length;s++)if((f=i[s])&&"setAttribute"in f==!!g&&(g?f.localName==g:f.nodeType==3)){e=f,i[s]=null;break}}if(e==null){if(g==null)return document.createTextNode(w);e=document.createElementNS(o,g,w.is&&w),c&&($.__m&&$.__m(t,i),c=!1),i=null}if(g==null)v===w||c&&e.data==w||(e.data=w);else{if(i=i&&at.call(e.childNodes),!c&&i!=null)for(v={},s=0;s<e.attributes.length;s++)v[(f=e.attributes[s]).name]=f.value;for(s in v)f=v[s],s=="dangerouslySetInnerHTML"?l=f:s=="children"||s in w||s=="value"&&"defaultValue"in w||s=="checked"&&"defaultChecked"in w||$t(e,s,null,f,o);for(s in w)f=w[s],s=="children"?p=f:s=="dangerouslySetInnerHTML"?d=f:s=="value"?m=f:s=="checked"?h=f:c&&typeof f!="function"||v[s]===f||$t(e,s,f,v[s],o);if(d)c||l&&(d.__html==l.__html||d.__html==e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(l&&(e.innerHTML=""),yr(t.type=="template"?e.content:e,ct(p)?p:[p],t,n,r,g=="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&Fe(n,0),c,u),i!=null)for(s=i.length;s--;)sn(i[s]);c||(s="value",g=="progress"&&m==null?e.removeAttribute("value"):m!=null&&(m!==e[s]||g=="progress"&&!m||g=="option"&&m!=v[s])&&$t(e,s,m,v[s],o),s="checked",h!=null&&h!=e[s]&&$t(e,s,h,v[s],o))}return e}function fn(e,t,n){try{if(typeof e=="function"){var r=typeof e.__u=="function";r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(o){$.__e(o,n)}}function Cr(e,t,n){var r,o;if($.unmount&&$.unmount(e),(r=e.ref)&&(r.current&&r.current!=e.__e||fn(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){$.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Cr(r[o],t,n||typeof e.type!="function");n||sn(e.__e),e.__c=e.__=e.__e=void 0}function aa(e,t,n){return this.constructor(e,n)}function Ie(e,t,n){var r,o,i,a;t==document&&(t=document.documentElement),$.__&&$.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],un(t,e=(!r&&n||t).__k=x(B,null,[e]),o||yt,yt,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?at.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),Er(i,e,a)}function pn(e,t){Ie(e,t,pn)}function ca(e,t,n){var r,o,i,a,c=oe({},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]:c[i]=t[i]===void 0&&a!=null?a[i]:t[i];return arguments.length>2&&(c.children=arguments.length>3?at.call(arguments,2):n),st(e.type,c,r||e.key,o||e.ref,null)}function We(e){function t(n){var r,o;return this.getChildContext||(r=new Set,(o={})[t.__c]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(i){this.props.value!=i.value&&r.forEach(function(a){a.__e=!0,ln(a)})},this.sub=function(i){r.add(i);var a=i.componentWillUnmount;i.componentWillUnmount=function(){r&&r.delete(i),a&&a.call(i)}}),n.children}return t.__c="__cC"+wr++,t.__=e,t.Provider=t.__l=(t.Consumer=function(n,r){return n.children(r)}).contextType=t,t}at=xt.slice,$={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(c){e=c}throw e}},pr=0,te.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=oe({},this.state),typeof e=="function"&&(e=e(oe({},n),this.props)),e&&oe(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),ln(this))},te.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ln(this))},te.prototype.render=B,Pe=[],vr=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,gr=function(e,t){return e.__v.__b-t.__v.__b},kt.__r=0,mr=/(PointerCapture)$|Capture$/i,on=0,an=$r(!1),cn=$r(!0),wr=0;var sa="diffed",Pr="__c",hn="__s",ze="__c",Ar="__k",vn="__d",He="__s",Or=/[\s\n\\/='"\0<>]/,Tr=/^(xlink|xmlns|xml)([A-Z])/,la=/^(?:accessK|auto[A-Z]|cell|ch|col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|src[A-Z]|tabI|useM|item[A-Z])/,ua=/^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/,da=new Set(["draggable","spellcheck"]);function Dr(e){e.__g!==void 0?e.__g|=8:e[vn]=!0}function fa(e){e.__g!==void 0?e.__g&=-9:e[vn]=!1}function Rr(e){return e.__g!==void 0?!!(8&e.__g):e[vn]===!0}var pa=/["&<]/;function Et(e){if(e.length===0||pa.test(e)===!1)return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";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 Nr={},ha=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"]),va=/[A-Z]/g;function ga(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:Nr[n]||(Nr[n]=n.replace(va,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||ha.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}function Lr(){this.__d=!0}function ma(e,t){return{__v:e,context:t,props:e.props,setState:Lr,forceUpdate:Lr,__d:!0,__h:new Array(0)}}var gn,Ae,lt,ut,mn={},Mr=[],je=Array.isArray,wn=Object.assign,K="",St="<!--$s-->",Ct="<!--/$s-->";function wa(e,t,n){var r=$[hn];$[hn]=!0,gn=$.__b,Ae=$[sa],lt=$.__r,ut=$.unmount;var o=x(B,null);o[Ar]=[e];try{var i=ue(e,t||mn,!1,void 0,o,!1,n);return je(i)?i.join(K):i}catch(a){throw a.then?new Error('Use "renderToStringAsync" for suspenseful rendering.'):a}finally{$[Pr]&&$[Pr](e,Mr),$[hn]=r,Mr.length=0}}function Fr(e,t){var n,r=e.type,o=!0;return e[ze]?(o=!1,(n=e[ze]).state=n[He]):n=new r(e.props,t),e[ze]=n,n.__v=e,n.props=e.props,n.context=t,Dr(n),n.state==null&&(n.state=mn),n[He]==null&&(n[He]=n.state),r.getDerivedStateFromProps?n.state=wn({},n.state,r.getDerivedStateFromProps(n.props,n.state)):o&&n.componentWillMount?(n.componentWillMount(),n.state=n[He]!==n.state?n[He]:n.state):!o&&n.componentWillUpdate&&n.componentWillUpdate(),lt&<(e),n.render(n.props,n.state,t)}function ue(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e===K)return K;var c=typeof e;if(c!="object")return c=="function"?K:c=="string"?Et(e):e+K;if(je(e)){var u,s=K;o[Ar]=e;for(var d=e.length,l=0;l<d;l++){var p=e[l];if(p!=null&&typeof p!="boolean"){var f,m=ue(p,t,n,r,o,i,a);typeof m=="string"?s+=m:(u||(u=new Array(d)),s&&u.push(s),s=K,je(m)?(f=u).push.apply(f,m):u.push(m))}}return u?(s&&u.push(s),u):s}if(e.constructor!==void 0)return K;e.__=o,gn&&gn(e);var h=e.type,v=e.props;if(typeof h=="function"){var w,g,_,b=t;if(h===B){if("tpl"in v){for(var y=K,C=0;C<v.tpl.length;C++)if(y+=v.tpl[C],v.exprs&&C<v.exprs.length){var P=v.exprs[C];if(P==null)continue;typeof P!="object"||P.constructor!==void 0&&!je(P)?y+=P:y+=ue(P,t,n,r,e,i,a)}return y}if("UNSTABLE_comment"in v)return"<!--"+Et(v.UNSTABLE_comment)+"-->";g=v.children}else{if((w=h.contextType)!=null){var E=t[w.__c];b=E?E.props.value:w.__}var A=h.prototype&&typeof h.prototype.render=="function";if(A)g=Fr(e,b),_=e[ze];else{e[ze]=_=ma(e,b);for(var N=0;Rr(_)&&N++<25;){fa(_),lt&<(e);try{g=h.call(_,v,b)}catch(V){throw i&&V&&typeof V.then=="function"&&(e._suspended=!0),V}}Dr(_)}if(_.getChildContext!=null&&(t=wn({},t,_.getChildContext())),A&&$.errorBoundaries&&(h.getDerivedStateFromError||_.componentDidCatch)){g=g!=null&&g.type===B&&g.key==null&&g.props.tpl==null?g.props.children:g;try{return ue(g,t,n,r,e,i,!1)}catch(V){return h.getDerivedStateFromError&&(_[He]=h.getDerivedStateFromError(V)),_.componentDidCatch&&_.componentDidCatch(V,mn),Rr(_)?(g=Fr(e,t),(_=e[ze]).getChildContext!=null&&(t=wn({},t,_.getChildContext())),ue(g=g!=null&&g.type===B&&g.key==null&&g.props.tpl==null?g.props.children:g,t,n,r,e,i,a)):K}finally{Ae&&Ae(e),ut&&ut(e)}}}g=g!=null&&g.type===B&&g.key==null&&g.props.tpl==null?g.props.children:g;try{var F=ue(g,t,n,r,e,i,a);return Ae&&Ae(e),$.unmount&&$.unmount(e),e._suspended?typeof F=="string"?St+F+Ct:je(F)?(F.unshift(St),F.push(Ct),F):F.then(function(V){return St+V+Ct}):F}catch(V){if(!i&&a&&a.onError){var Y=function _t(Le){return a.onError(Le,e,function(Ee,ot){try{return ue(Ee,t,n,r,ot,i,a)}catch(Se){return _t(Se)}})}(V);if(Y!==void 0)return Y;var Q=$.__e;return Q&&Q(V,e),K}if(!i||!V||typeof V.then!="function")throw V;return V.then(function _t(){try{var Le=ue(g,t,n,r,e,i,a);return e._suspended?St+Le+Ct:Le}catch(Ee){if(!Ee||typeof Ee.then!="function")throw Ee;return Ee.then(_t)}})}}var T,z="<"+h,W=K;for(var k in v){var O=v[k];if(typeof(O=ba(O)?O.value:O)!="function"||k==="class"||k==="className"){switch(k){case"children":T=O;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in v)continue;k="for";break;case"className":if("class"in v)continue;k="class";break;case"defaultChecked":k="checked";break;case"defaultSelected":k="selected";break;case"defaultValue":case"value":switch(k="value",h){case"textarea":T=O;continue;case"select":r=O;continue;case"option":r!=O||"selected"in v||(z+=" selected")}break;case"dangerouslySetInnerHTML":W=O&&O.__html;continue;case"style":typeof O=="object"&&(O=ga(O));break;case"acceptCharset":k="accept-charset";break;case"httpEquiv":k="http-equiv";break;default:if(Tr.test(k))k=k.replace(Tr,"$1:$2").toLowerCase();else{if(Or.test(k))continue;k[4]!=="-"&&!da.has(k)||O==null?n?ua.test(k)&&(k=k==="panose1"?"panose-1":k.replace(/([A-Z])/g,"-$1").toLowerCase()):la.test(k)&&(k=k.toLowerCase()):O+=K}}O!=null&&O!==!1&&(z=O===!0||O===K?z+" "+k:z+" "+k+'="'+(typeof O=="string"?Et(O):O+K)+'"')}}if(Or.test(h))throw new Error(h+" is not a valid HTML tag name in "+z+">");if(W||(typeof T=="string"?W=Et(T):T!=null&&T!==!1&&T!==!0&&(W=ue(T,t,h==="svg"||h!=="foreignObject"&&n,r,e,i,a))),Ae&&Ae(e),ut&&ut(e),!W&&_a.has(h))return z+"/>";var U="</"+h+">",Ne=z+">";return je(W)?[Ne].concat(W,[U]):typeof W!="string"?[Ne,W,U]:Ne+W+U}var _a=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]);function ba(e){return e!==null&&typeof e=="object"&&typeof e.peek=="function"&&"value"in e}var ya=0;function S(e,t,n,r,o,i){t||(t={});var a,c,u=t;if("ref"in u)for(c in u={},t)c=="ref"?a=t[c]:u[c]=t[c];var s={type:e,props:u,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--ya,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(c in a)u[c]===void 0&&(u[c]=a[c]);return $.vnode&&$.vnode(s),s}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 de,M,_n,Ir,Ue=0,Wr=[],j=$,zr=j.__b,Hr=j.__r,jr=j.diffed,Ur=j.__c,Br=j.unmount,Vr=j.__;function Oe(e,t){j.__h&&j.__h(M,e,Ue||t),Ue=0;var n=M.__H||(M.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function L(e){return Ue=1,dt(Zr,e)}function dt(e,t,n){var r=Oe(de++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Zr(void 0,t),function(c){var u=r.__N?r.__N[0]:r.__[0],s=r.t(u,c);u!==s&&(r.__N=[s,r.__[1]],r.__c.setState({}))}],r.__c=M,!M.__f)){var o=function(c,u,s){if(!r.__c.__H)return!0;var d=r.__c.__H.__.filter(function(p){return p.__c});if(d.every(function(p){return!p.__N}))return!i||i.call(this,c,u,s);var l=r.__c.props!==c;return d.some(function(p){if(p.__N){var f=p.__[0];p.__=p.__N,p.__N=void 0,f!==p.__[0]&&(l=!0)}}),i&&i.call(this,c,u,s)||l};M.__f=!0;var i=M.shouldComponentUpdate,a=M.componentWillUpdate;M.componentWillUpdate=function(c,u,s){if(this.__e){var d=i;i=void 0,o(c,u,s),i=d}a&&a.call(this,c,u,s)},M.shouldComponentUpdate=o}return r.__N||r.__}function I(e,t){var n=Oe(de++,3);!j.__s&&kn(n.__H,t)&&(n.__=e,n.u=t,M.__H.__h.push(n))}function fe(e,t){var n=Oe(de++,4);!j.__s&&kn(n.__H,t)&&(n.__=e,n.u=t,M.__h.push(n))}function R(e){return Ue=5,G(function(){return{current:e}},[])}function bn(e,t,n){Ue=6,fe(function(){if(typeof e=="function"){var r=e(t());return function(){e(null),r&&typeof r=="function"&&r()}}if(e)return e.current=t(),function(){return e.current=null}},n==null?n:n.concat(e))}function G(e,t){var n=Oe(de++,7);return kn(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Z(e,t){return Ue=8,G(function(){return e},t)}function Be(e){var t=M.context[e.__c],n=Oe(de++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(M)),t.props.value):e.__}function yn(e,t){j.useDebugValue&&j.useDebugValue(t?t(e):e)}function xa(e){var t=Oe(de++,10),n=L();return t.__=e,M.componentDidCatch||(M.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function ft(){var e=Oe(de++,11);if(!e.__){for(var t=M.__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 ka(){for(var e;e=Wr.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(Pt),t.__h.some(xn),t.__h=[]}catch(n){t.__h=[],j.__e(n,e.__v)}}}j.__b=function(e){M=null,zr&&zr(e)},j.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Vr&&Vr(e,t)},j.__r=function(e){Hr&&Hr(e),de=0;var t=(M=e.__c).__H;t&&(_n===M?(t.__h=[],M.__h=[],t.__.some(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(t.__h.some(Pt),t.__h.some(xn),t.__h=[],de=0)),_n=M},j.diffed=function(e){jr&&jr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Wr.push(t)!==1&&Ir===j.requestAnimationFrame||((Ir=j.requestAnimationFrame)||$a)(ka)),t.__H.__.some(function(n){n.u&&(n.__H=n.u),n.u=void 0})),_n=M=null},j.__c=function(e,t){t.some(function(n){try{n.__h.some(Pt),n.__h=n.__h.filter(function(r){return!r.__||xn(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],j.__e(r,n.__v)}}),Ur&&Ur(e,t)},j.unmount=function(e){Br&&Br(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(r){try{Pt(r)}catch(o){t=o}}),n.__H=void 0,t&&j.__e(t,n.__v))};var Yr=typeof requestAnimationFrame=="function";function $a(e){var t,n=function(){clearTimeout(r),Yr&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);Yr&&(t=requestAnimationFrame(n))}function Pt(e){var t=M,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),M=t}function xn(e){var t=M;e.__c=e.__(),M=t}function kn(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Zr(e,t){return typeof t=="function"?t(e):t}function Xr(e,t){for(var n in t)e[n]=t[n];return e}function $n(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 En(e,t){var n=t(),r=L({t:{__:n,u:t}}),o=r[0].t,i=r[1];return fe(function(){o.__=n,o.u=t,Sn(o)&&i({t:o})},[e,n,t]),I(function(){return Sn(o)&&i({t:o}),e(function(){Sn(o)&&i({t:o})})},[e]),n}function Sn(e){try{return!((t=e.__)===(n=e.u())&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}var t,n}function Cn(e){e()}function Pn(e){return e}function An(){return[!1,Cn]}var On=fe;function At(e,t){this.props=e,this.context=t}function qr(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:$n(this.props,o)}function r(o){return this.shouldComponentUpdate=n,x(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r.type=e,r}(At.prototype=new te).isPureReactComponent=!0,At.prototype.shouldComponentUpdate=function(e,t){return $n(this.props,e)||$n(this.state,t)};var Kr=$.__b;$.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Kr&&Kr(e)};var Ea=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function q(e){function t(n){var r=Xr({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Ea,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Gr=function(e,t){return e==null?null:le(le(e).map(t))},pe={map:Gr,forEach:Gr,count:function(e){return e?le(e).length:0},only:function(e){var t=le(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:le},Sa=$.__e;$.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}Sa(e,t,n,r)};var Qr=$.unmount;function Jr(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=Xr({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Jr(r,t,n)})),e}function eo(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return eo(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function pt(){this.__u=0,this.o=null,this.__b=null}function to(e){if(!e.__)return null;var t=e.__.__c;return t&&t.__a&&t.__a(e)}function no(e){var t,n,r,o=null;function i(a){if(t||(t=e()).then(function(c){c&&(o=c.default||c),r=!0},function(c){n=c,r=!0}),n)throw n;if(!r)throw t;return o?x(o,a):null}return i.displayName="Lazy",i.__f=!0,i}function Ve(){this.i=null,this.l=null}$.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Qr&&Qr(e)},(pt.prototype=new te).__c=function(e,t){var n=t.__c,r=this;r.o==null&&(r.o=[]),r.o.push(n);var o=to(r.__v),i=!1,a=function(){i||r.__z||(i=!0,n.__R=null,o?o(u):u())};n.__R=a;var c=n.__P;n.__P=null;var u=function(){if(!--r.__u){if(r.state.__a){var s=r.state.__a;r.__v.__k[0]=eo(s,s.__c.__P,s.__c.__O)}var d;for(r.setState({__a:r.__b=null});d=r.o.pop();)d.__P=c,d.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},pt.prototype.componentWillUnmount=function(){this.o=[]},pt.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]=Jr(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&x(B,null,e.fallback);return o&&(o.__u&=-33),[x(B,null,t.__a?null:e.children),o]};var ro=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function Ca(e){return this.getChildContext=function(){return e.context},e.children}function Pa(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){Ie(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var r=t.__v;r!==null&&!r.__m&&r.__!==null;)r=r.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:r.__m},contains:function(){return!0},namespaceURI:n.namespaceURI,insertBefore:function(o,i){this.childNodes.push(o),t.h.insertBefore(o,i)},removeChild:function(o){this.childNodes.splice(this.childNodes.indexOf(o)>>>1,1),t.h.removeChild(o)}}}Ie(x(Ca,{context:t.context},e.__v),t.v)}function oo(e,t){var n=x(Pa,{__v:e,h:t});return n.containerInfo=t,n}(Ve.prototype=new te).__a=function(e){var t=this,n=to(t.__v),r=t.l.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),ro(t,e,r)):o()};n?n(i):i()}},Ve.prototype.render=function(e){this.i=null,this.l=new Map;var t=le(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},Ve.prototype.componentDidUpdate=Ve.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){ro(e,n,t)})};var io=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Aa=/^(?: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]/,Oa=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ta=/[A-Z0-9]/g,Da=typeof document<"u",Ra=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function ao(e,t,n){return t.__k==null&&(t.textContent=""),Ie(e,t),typeof n=="function"&&n(),e?e.__c:null}function co(e,t,n){return pn(e,t),typeof n=="function"&&n(),e?e.__c:null}te.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(te.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var so=$.event;function Na(){}function La(){return this.cancelBubble}function Ma(){return this.defaultPrevented}$.event=function(e){return so&&(e=so(e)),e.persist=Na,e.isPropagationStopped=La,e.isDefaultPrevented=Ma,e.nativeEvent=e};var Tn,Fa={enumerable:!1,configurable:!0,get:function(){return this.class}},lo=$.vnode;$.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={},i=r.indexOf("-")===-1;for(var a in n){var c=n[a];if(!(a==="value"&&"defaultValue"in n&&c==null||Da&&a==="children"&&r==="noscript"||a==="class"||a==="className")){var u=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&c===!0?c="":u==="translate"&&c==="no"?c=!1:u[0]==="o"&&u[1]==="n"?u==="ondoubleclick"?a="ondblclick":u!=="onchange"||r!=="input"&&r!=="textarea"||Ra(n.type)?u==="onfocus"?a="onfocusin":u==="onblur"?a="onfocusout":Oa.test(a)&&(a=u):u=a="oninput":i&&Aa.test(a)?a=a.replace(Ta,"-$&").toLowerCase():c===null&&(c=void 0),u==="oninput"&&o[a=u]&&(a="oninputCapture"),o[a]=c}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=le(n.children).forEach(function(s){s.props.selected=o.value.indexOf(s.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=le(n.children).forEach(function(s){s.props.selected=o.multiple?o.defaultValue.indexOf(s.props.value)!=-1:o.defaultValue==s.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Fa)):n.className&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=io,lo&&lo(e)};var uo=$.__r;$.__r=function(e){uo&&uo(e),Tn=e.__c};var fo=$.diffed;$.diffed=function(e){fo&&fo(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),Tn=null};var po={ReactCurrentDispatcher:{current:{readContext:function(e){return Tn.__n[e.__c].props.value},useCallback:Z,useContext:Be,useDebugValue:yn,useDeferredValue:Pn,useEffect:I,useId:ft,useImperativeHandle:bn,useInsertionEffect:On,useLayoutEffect:fe,useMemo:G,useReducer:dt,useRef:R,useState:L,useSyncExternalStore:En,useTransition:An}}},Ia="18.3.1";function ho(e){return x.bind(null,e)}function he(e){return!!e&&e.$$typeof===io}function vo(e){return he(e)&&e.type===B}function go(e){return!!e&&typeof e.displayName=="string"&&e.displayName.startsWith("Memo(")}function Ye(e){return he(e)?ca.apply(null,arguments):e}function mo(e){return!!e.__k&&(Ie(null,e),!0)}function wo(e){return e&&(e.base||e.nodeType===1&&e)||null}var _o=function(e,t){return e(t)},ht=function(e,t){return e(t)},bo=B,yo=he,xo={useState:L,useId:ft,useReducer:dt,useEffect:I,useLayoutEffect:fe,useInsertionEffect:On,useTransition:An,useDeferredValue:Pn,useSyncExternalStore:En,startTransition:Cn,useRef:R,useImperativeHandle:bn,useMemo:G,useCallback:Z,useContext:Be,useDebugValue:yn,version:"18.3.1",Children:pe,render:ao,hydrate:co,unmountComponentAtNode:mo,createPortal:oo,createElement:x,createContext:We,createFactory:ho,cloneElement:Ye,createRef:_r,Fragment:B,isValidElement:he,isElement:yo,isFragment:vo,isMemo:go,findDOMNode:wo,Component:te,PureComponent:At,memo:qr,forwardRef:q,flushSync:ht,unstable_batchedUpdates:_o,StrictMode:bo,Suspense:pt,SuspenseList:Ve,lazy:no,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:po};const Wa=Object.freeze(Object.defineProperty({__proto__:null,Children:pe,Component:te,Fragment:B,PureComponent:At,StrictMode:bo,Suspense:pt,SuspenseList:Ve,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:po,cloneElement:Ye,createContext:We,createElement:x,createFactory:ho,createPortal:oo,createRef:_r,default:xo,findDOMNode:wo,flushSync:ht,forwardRef:q,hydrate:co,isElement:yo,isFragment:vo,isMemo:go,isValidElement:he,lazy:no,memo:qr,render:ao,startTransition:Cn,unmountComponentAtNode:mo,unstable_batchedUpdates:_o,useCallback:Z,useContext:Be,useDebugValue:yn,useDeferredValue:Pn,useEffect:I,useErrorBoundary:xa,useId:ft,useImperativeHandle:bn,useInsertionEffect:On,useLayoutEffect:fe,useMemo:G,useReducer:dt,useRef:R,useState:L,useSyncExternalStore:En,useTransition:An,version:Ia},Symbol.toStringTag,{value:"Module"}));function Te(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 za(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function ko(...e){return t=>e.forEach(n=>za(n,t))}function De(...e){return Z(ko(...e),e)}function $o(e,t=[]){let n=[];function r(i,a){const c=We(a),u=n.length;n=[...n,a];function s(l){const{scope:p,children:f,...m}=l,h=(p==null?void 0:p[e][u])||c,v=G(()=>m,Object.values(m));return x(h.Provider,{value:v},f)}function d(l,p){const f=(p==null?void 0:p[e][u])||c,m=Be(f);if(m)return m;if(a!==void 0)return a;throw new Error(`\`${l}\` must be used within \`${i}\``)}return s.displayName=i+"Provider",[s,d]}const o=()=>{const i=n.map(a=>We(a));return function(c){const u=(c==null?void 0:c[e])||i;return G(()=>({[`__scope${e}`]:{...c,[e]:u}}),[c,u])}};return o.scopeName=e,[r,Ha(o,...t)]}function Ha(...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((c,{useScope:u,scopeName:s})=>{const l=u(i)[`__scope${s}`];return{...c,...l}},{});return G(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const Dn=q((e,t)=>{const{children:n,...r}=e,o=pe.toArray(n),i=o.find(Ua);if(i){const a=i.props.children,c=o.map(u=>u===i?pe.count(a)>1?pe.only(null):he(a)?a.props.children:null:u);return x(Rn,X({},r,{ref:t}),he(a)?Ye(a,void 0,c):null)}return x(Rn,X({},r,{ref:t}),n)});Dn.displayName="Slot";const Rn=q((e,t)=>{const{children:n,...r}=e;return he(n)?Ye(n,{...Ba(r,n.props),ref:t?ko(t,n.ref):n.ref}):pe.count(n)>1?pe.only(null):null});Rn.displayName="SlotClone";const ja=({children:e})=>x(B,null,e);function Ua(e){return he(e)&&e.type===ja}function Ba(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]=(...c)=>{i(...c),o(...c)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const Ze=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=q((r,o)=>{const{asChild:i,...a}=r,c=i?Dn:t;return I(()=>{window[Symbol.for("radix-ui")]=!0},[]),x(c,X({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Va(e,t){e&&ht(()=>e.dispatchEvent(t))}function be(e){const t=R(e);return I(()=>{t.current=e}),G(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function Ya(e,t=globalThis==null?void 0:globalThis.document){const n=be(e);I(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const Nn="dismissableLayer.update",Za="dismissableLayer.pointerDownOutside",Xa="dismissableLayer.focusOutside";let Eo;const qa=We({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ka=q((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:c,onDismiss:u,...s}=e,d=Be(qa),[l,p]=L(null),f=(n=l==null?void 0:l.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,m]=L({}),h=De(t,E=>p(E)),v=Array.from(d.layers),[w]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),g=v.indexOf(w),_=l?v.indexOf(l):-1,b=d.layersWithOutsidePointerEventsDisabled.size>0,y=_>=g,C=Ga(E=>{const A=E.target,N=[...d.branches].some(F=>F.contains(A));!y||N||(i==null||i(E),c==null||c(E),E.defaultPrevented||u==null||u())},f),P=Qa(E=>{const A=E.target;[...d.branches].some(F=>F.contains(A))||(a==null||a(E),c==null||c(E),E.defaultPrevented||u==null||u())},f);return Ya(E=>{_===d.layers.size-1&&(o==null||o(E),!E.defaultPrevented&&u&&(E.preventDefault(),u()))},f),I(()=>{if(l)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Eo=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(l)),d.layers.add(l),So(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Eo)}},[l,f,r,d]),I(()=>()=>{l&&(d.layers.delete(l),d.layersWithOutsidePointerEventsDisabled.delete(l),So())},[l,d]),I(()=>{const E=()=>m({});return document.addEventListener(Nn,E),()=>document.removeEventListener(Nn,E)},[]),x(Ze.div,X({},s,{ref:h,style:{pointerEvents:b?y?"auto":"none":void 0,...e.style},onFocusCapture:Te(e.onFocusCapture,P.onFocusCapture),onBlurCapture:Te(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:Te(e.onPointerDownCapture,C.onPointerDownCapture)}))});function Ga(e,t=globalThis==null?void 0:globalThis.document){const n=be(e),r=R(!1),o=R(()=>{});return I(()=>{const i=c=>{if(c.target&&!r.current){let s=function(){Co(Za,n,u,{discrete:!0})};const u={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=s,t.addEventListener("click",o.current,{once:!0})):s()}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 Qa(e,t=globalThis==null?void 0:globalThis.document){const n=be(e),r=R(!1);return I(()=>{const o=i=>{i.target&&!r.current&&Co(Xa,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 So(){const e=new CustomEvent(Nn);document.dispatchEvent(e)}function Co(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?Va(o,i):o.dispatchEvent(i)}let Ln=0;function Ja(){I(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:Po()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Po()),Ln++,()=>{Ln===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Ln--}},[])}function Po(){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 Mn="focusScope.autoFocusOnMount",Fn="focusScope.autoFocusOnUnmount",Ao={bubbles:!1,cancelable:!0},ec=q((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[c,u]=L(null),s=be(o),d=be(i),l=R(null),p=De(t,h=>u(h)),f=R({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;I(()=>{if(r){let h=function(_){if(f.paused||!c)return;const b=_.target;c.contains(b)?l.current=b:ye(l.current,{select:!0})},v=function(_){if(f.paused||!c)return;const b=_.relatedTarget;b!==null&&(c.contains(b)||ye(l.current,{select:!0}))},w=function(_){if(document.activeElement===document.body)for(const y of _)y.removedNodes.length>0&&ye(c)};document.addEventListener("focusin",h),document.addEventListener("focusout",v);const g=new MutationObserver(w);return c&&g.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",v),g.disconnect()}}},[r,c,f.paused]),I(()=>{if(c){Do.add(f);const h=document.activeElement;if(!c.contains(h)){const w=new CustomEvent(Mn,Ao);c.addEventListener(Mn,s),c.dispatchEvent(w),w.defaultPrevented||(tc(ac(Oo(c)),{select:!0}),document.activeElement===h&&ye(c))}return()=>{c.removeEventListener(Mn,s),setTimeout(()=>{const w=new CustomEvent(Fn,Ao);c.addEventListener(Fn,d),c.dispatchEvent(w),w.defaultPrevented||ye(h??document.body,{select:!0}),c.removeEventListener(Fn,d),Do.remove(f)},0)}}},[c,s,d,f]);const m=Z(h=>{if(!n&&!r||f.paused)return;const v=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,w=document.activeElement;if(v&&w){const g=h.currentTarget,[_,b]=nc(g);_&&b?!h.shiftKey&&w===b?(h.preventDefault(),n&&ye(_,{select:!0})):h.shiftKey&&w===_&&(h.preventDefault(),n&&ye(b,{select:!0})):w===g&&h.preventDefault()}},[n,r,f.paused]);return x(Ze.div,X({tabIndex:-1},a,{ref:p,onKeyDown:m}))});function tc(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(ye(r,{select:t}),document.activeElement!==n)return}function nc(e){const t=Oo(e),n=To(t,e),r=To(t.reverse(),e);return[n,r]}function Oo(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 To(e,t){for(const n of e)if(!rc(n,{upTo:t}))return n}function rc(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 oc(e){return e instanceof HTMLInputElement&&"select"in e}function ye(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&oc(e)&&t&&e.select()}}const Do=ic();function ic(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Ro(e,t),e.unshift(t)},remove(t){var n;e=Ro(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Ro(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function ac(e){return e.filter(t=>t.tagName!=="A")}const Xe=globalThis!=null&&globalThis.document?fe:()=>{},cc=Wa["useId".toString()]||(()=>{});let sc=0;function lc(e){const[t,n]=L(cc());return Xe(()=>{e||n(r=>r??String(sc++))},[e]),e||(t?`radix-${t}`:"")}const uc=["top","right","bottom","left"],ie=Math.min,J=Math.max,Ot=Math.round,Tt=Math.floor,xe=e=>({x:e,y:e}),dc={left:"right",right:"left",bottom:"top",top:"bottom"},fc={start:"end",end:"start"};function In(e,t,n){return J(e,ie(t,n))}function ve(e,t){return typeof e=="function"?e(t):e}function ge(e){return e.split("-")[0]}function qe(e){return e.split("-")[1]}function Wn(e){return e==="x"?"y":"x"}function zn(e){return e==="y"?"height":"width"}const pc=new Set(["top","bottom"]);function ke(e){return pc.has(ge(e))?"y":"x"}function Hn(e){return Wn(ke(e))}function hc(e,t,n){n===void 0&&(n=!1);const r=qe(e),o=Hn(e),i=zn(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Dt(a)),[a,Dt(a)]}function vc(e){const t=Dt(e);return[jn(e),t,jn(t)]}function jn(e){return e.replace(/start|end/g,t=>fc[t])}const No=["left","right"],Lo=["right","left"],gc=["top","bottom"],mc=["bottom","top"];function wc(e,t,n){switch(e){case"top":case"bottom":return n?t?Lo:No:t?No:Lo;case"left":case"right":return t?gc:mc;default:return[]}}function _c(e,t,n,r){const o=qe(e);let i=wc(ge(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(jn)))),i}function Dt(e){return e.replace(/left|right|bottom|top/g,t=>dc[t])}function bc(e){return{top:0,right:0,bottom:0,left:0,...e}}function Mo(e){return typeof e!="number"?bc(e):{top:e,right:e,bottom:e,left:e}}function Rt(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 Fo(e,t,n){let{reference:r,floating:o}=e;const i=ke(t),a=Hn(t),c=zn(a),u=ge(t),s=i==="y",d=r.x+r.width/2-o.width/2,l=r.y+r.height/2-o.height/2,p=r[c]/2-o[c]/2;let f;switch(u){case"top":f={x:d,y:r.y-o.height};break;case"bottom":f={x:d,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:l};break;case"left":f={x:r.x-o.width,y:l};break;default:f={x:r.x,y:r.y}}switch(qe(t)){case"start":f[a]-=p*(n&&s?-1:1);break;case"end":f[a]+=p*(n&&s?-1:1);break}return f}const yc=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,c=i.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(t));let s=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:l}=Fo(s,r,u),p=r,f={},m=0;for(let h=0;h<c.length;h++){const{name:v,fn:w}=c[h],{x:g,y:_,data:b,reset:y}=await w({x:d,y:l,initialPlacement:r,placement:p,strategy:o,middlewareData:f,rects:s,platform:a,elements:{reference:e,floating:t}});d=g??d,l=_??l,f={...f,[v]:{...f[v],...b}},y&&m<=50&&(m++,typeof y=="object"&&(y.placement&&(p=y.placement),y.rects&&(s=y.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):y.rects),{x:d,y:l}=Fo(s,p,u)),h=-1)}return{x:d,y:l,placement:p,strategy:o,middlewareData:f}};async function vt(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:c,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:d="viewport",elementContext:l="floating",altBoundary:p=!1,padding:f=0}=ve(t,e),m=Mo(f),v=c[p?l==="floating"?"reference":"floating":l],w=Rt(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:s,rootBoundary:d,strategy:u})),g=l==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),b=await(i.isElement==null?void 0:i.isElement(_))?await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1}:{x:1,y:1},y=Rt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:g,offsetParent:_,strategy:u}):g);return{top:(w.top-y.top+m.top)/b.y,bottom:(y.bottom-w.bottom+m.bottom)/b.y,left:(w.left-y.left+m.left)/b.x,right:(y.right-w.right+m.right)/b.x}}const xc=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:c,middlewareData:u}=t,{element:s,padding:d=0}=ve(e,t)||{};if(s==null)return{};const l=Mo(d),p={x:n,y:r},f=Hn(o),m=zn(f),h=await a.getDimensions(s),v=f==="y",w=v?"top":"left",g=v?"bottom":"right",_=v?"clientHeight":"clientWidth",b=i.reference[m]+i.reference[f]-p[f]-i.floating[m],y=p[f]-i.reference[f],C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s));let P=C?C[_]:0;(!P||!await(a.isElement==null?void 0:a.isElement(C)))&&(P=c.floating[_]||i.floating[m]);const E=b/2-y/2,A=P/2-h[m]/2-1,N=ie(l[w],A),F=ie(l[g],A),Y=N,Q=P-h[m]-F,T=P/2-h[m]/2+E,z=In(Y,T,Q),W=!u.arrow&&qe(o)!=null&&T!==z&&i.reference[m]/2-(T<Y?N:F)-h[m]/2<0,k=W?T<Y?T-Y:T-Q:0;return{[f]:p[f]+k,data:{[f]:z,centerOffset:T-z-k,...W&&{alignmentOffset:k}},reset:W}}}),kc=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:c,platform:u,elements:s}=t,{mainAxis:d=!0,crossAxis:l=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...v}=ve(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const w=ge(o),g=ke(c),_=ge(c)===c,b=await(u.isRTL==null?void 0:u.isRTL(s.floating)),y=p||(_||!h?[Dt(c)]:vc(c)),C=m!=="none";!p&&C&&y.push(..._c(c,h,m,b));const P=[c,...y],E=await vt(t,v),A=[];let N=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&A.push(E[w]),l){const T=hc(o,a,b);A.push(E[T[0]],E[T[1]])}if(N=[...N,{placement:o,overflows:A}],!A.every(T=>T<=0)){var F,Y;const T=(((F=i.flip)==null?void 0:F.index)||0)+1,z=P[T];if(z)return{data:{index:T,overflows:N},reset:{placement:z}};let W=(Y=N.filter(k=>k.overflows[0]<=0).sort((k,O)=>k.overflows[1]-O.overflows[1])[0])==null?void 0:Y.placement;if(!W)switch(f){case"bestFit":{var Q;const k=(Q=N.filter(O=>{if(C){const U=ke(O.placement);return U===g||U==="y"}return!0}).map(O=>[O.placement,O.overflows.filter(U=>U>0).reduce((U,Ne)=>U+Ne,0)]).sort((O,U)=>O[1]-U[1])[0])==null?void 0:Q[0];k&&(W=k);break}case"initialPlacement":W=c;break}if(o!==W)return{reset:{placement:W}}}return{}}}};function Io(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Wo(e){return uc.some(t=>e[t]>=0)}const $c=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=ve(e,t);switch(r){case"referenceHidden":{const i=await vt(t,{...o,elementContext:"reference"}),a=Io(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Wo(a)}}}case"escaped":{const i=await vt(t,{...o,altBoundary:!0}),a=Io(i,n.floating);return{data:{escapedOffsets:a,escaped:Wo(a)}}}default:return{}}}}};async function Ec(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=ge(n),c=qe(n),u=ke(n)==="y",s=["left","top"].includes(a)?-1:1,d=i&&u?-1:1,l=ve(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:m}=typeof l=="number"?{mainAxis:l,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...l};return c&&typeof m=="number"&&(f=c==="end"?m*-1:m),u?{x:f*d,y:p*s}:{x:p*s,y:f*d}}const Sc=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:c}=t,u=await Ec(t,e);return a===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:a}}}}},Cc=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:c={fn:v=>{let{x:w,y:g}=v;return{x:w,y:g}}},...u}=ve(e,t),s={x:n,y:r},d=await vt(t,u),l=ke(ge(o)),p=Wn(l);let f=s[p],m=s[l];if(i){const v=p==="y"?"top":"left",w=p==="y"?"bottom":"right",g=f+d[v],_=f-d[w];f=In(g,f,_)}if(a){const v=l==="y"?"top":"left",w=l==="y"?"bottom":"right",g=m+d[v],_=m-d[w];m=In(g,m,_)}const h=c.fn({...t,[p]:f,[l]:m});return{...h,data:{x:h.x-n,y:h.y-r}}}}},Pc=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:c=0,mainAxis:u=!0,crossAxis:s=!0}=ve(e,t),d={x:n,y:r},l=ke(o),p=Wn(l);let f=d[p],m=d[l];const h=ve(c,t),v=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(u){const _=p==="y"?"height":"width",b=i.reference[p]-i.floating[_]+v.mainAxis,y=i.reference[p]+i.reference[_]-v.mainAxis;f<b?f=b:f>y&&(f=y)}if(s){var w,g;const _=p==="y"?"width":"height",b=["top","left"].includes(ge(o)),y=i.reference[l]-i.floating[_]+(b&&((w=a.offset)==null?void 0:w[l])||0)+(b?0:v.crossAxis),C=i.reference[l]+i.reference[_]+(b?0:((g=a.offset)==null?void 0:g[l])||0)-(b?v.crossAxis:0);m<y?m=y:m>C&&(m=C)}return{[p]:f,[l]:m}}}},Ac=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=()=>{},...c}=ve(e,t),u=await vt(t,c),s=ge(n),d=qe(n),l=ke(n)==="y",{width:p,height:f}=r.floating;let m,h;s==="top"||s==="bottom"?(m=s,h=d===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=s,m=d==="end"?"top":"bottom");const v=f-u.top-u.bottom,w=p-u.left-u.right,g=ie(f-u[m],v),_=ie(p-u[h],w),b=!t.middlewareData.shift;let y=g,C=_;if(l?C=d||b?ie(_,w):w:y=d||b?ie(g,v):v,b&&!d){const E=J(u.left,0),A=J(u.right,0),N=J(u.top,0),F=J(u.bottom,0);l?C=p-2*(E!==0||A!==0?E+A:J(u.left,u.right)):y=f-2*(N!==0||F!==0?N+F:J(u.top,u.bottom))}await a({...t,availableWidth:C,availableHeight:y});const P=await o.getDimensions(i.floating);return p!==P.width||f!==P.height?{reset:{rects:!0}}:{}}}};function Nt(){return typeof window<"u"}function Ke(e){return zo(e)?(e.nodeName||"").toLowerCase():"#document"}function ee(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function me(e){var t;return(t=(zo(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function zo(e){return Nt()?e instanceof Node||e instanceof ee(e).Node:!1}function ne(e){return Nt()?e instanceof Element||e instanceof ee(e).Element:!1}function ae(e){return Nt()?e instanceof HTMLElement||e instanceof ee(e).HTMLElement:!1}function Ho(e){return!Nt()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ee(e).ShadowRoot}const Oc=new Set(["inline","contents"]);function gt(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=re(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Oc.has(o)}const Tc=new Set(["table","td","th"]);function Dc(e){return Tc.has(Ke(e))}const Rc=[":popover-open",":modal"];function Lt(e){return Rc.some(t=>{try{return e.matches(t)}catch{return!1}})}const Nc=["transform","translate","scale","rotate","perspective"],Lc=["transform","translate","scale","rotate","perspective","filter"],Mc=["paint","layout","strict","content"];function Un(e){const t=Bn(),n=ne(e)?re(e):e;return Nc.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Lc.some(r=>(n.willChange||"").includes(r))||Mc.some(r=>(n.contain||"").includes(r))}function Fc(e){let t=$e(e);for(;ae(t)&&!Ge(t);){if(Un(t))return t;if(Lt(t))return null;t=$e(t)}return null}function Bn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Ic=new Set(["html","body","#document"]);function Ge(e){return Ic.has(Ke(e))}function re(e){return ee(e).getComputedStyle(e)}function Mt(e){return ne(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function $e(e){if(Ke(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ho(e)&&e.host||me(e);return Ho(t)?t.host:t}function jo(e){const t=$e(e);return Ge(t)?e.ownerDocument?e.ownerDocument.body:e.body:ae(t)&>(t)?t:jo(t)}function mt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=jo(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=ee(o);if(i){const c=Vn(a);return t.concat(a,a.visualViewport||[],gt(o)?o:[],c&&n?mt(c):[])}return t.concat(o,mt(o,[],n))}function Vn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Uo(e){const t=re(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ae(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,c=Ot(n)!==i||Ot(r)!==a;return c&&(n=i,r=a),{width:n,height:r,$:c}}function Yn(e){return ne(e)?e:e.contextElement}function Qe(e){const t=Yn(e);if(!ae(t))return xe(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Uo(t);let a=(i?Ot(n.width):n.width)/r,c=(i?Ot(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}const Wc=xe(0);function Bo(e){const t=ee(e);return!Bn()||!t.visualViewport?Wc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function zc(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ee(e)?!1:t}function Re(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Yn(e);let a=xe(1);t&&(r?ne(r)&&(a=Qe(r)):a=Qe(e));const c=zc(i,n,r)?Bo(i):xe(0);let u=(o.left+c.x)/a.x,s=(o.top+c.y)/a.y,d=o.width/a.x,l=o.height/a.y;if(i){const p=ee(i),f=r&&ne(r)?ee(r):r;let m=p,h=Vn(m);for(;h&&r&&f!==m;){const v=Qe(h),w=h.getBoundingClientRect(),g=re(h),_=w.left+(h.clientLeft+parseFloat(g.paddingLeft))*v.x,b=w.top+(h.clientTop+parseFloat(g.paddingTop))*v.y;u*=v.x,s*=v.y,d*=v.x,l*=v.y,u+=_,s+=b,m=ee(h),h=Vn(m)}}return Rt({width:d,height:l,x:u,y:s})}function Hc(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=me(r),c=t?Lt(t.floating):!1;if(r===a||c&&i)return n;let u={scrollLeft:0,scrollTop:0},s=xe(1);const d=xe(0),l=ae(r);if((l||!l&&!i)&&((Ke(r)!=="body"||gt(a))&&(u=Mt(r)),ae(r))){const p=Re(r);s=Qe(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-u.scrollLeft*s.x+d.x,y:n.y*s.y-u.scrollTop*s.y+d.y}}function jc(e){return Array.from(e.getClientRects())}function Vo(e){return Re(me(e)).left+Mt(e).scrollLeft}function Uc(e){const t=me(e),n=Mt(e),r=e.ownerDocument.body,o=J(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=J(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Vo(e);const c=-n.scrollTop;return re(r).direction==="rtl"&&(a+=J(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:c}}function Bc(e,t){const n=ee(e),r=me(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,c=0,u=0;if(o){i=o.width,a=o.height;const s=Bn();(!s||s&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:c,y:u}}function Vc(e,t){const n=Re(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ae(e)?Qe(e):xe(1),a=e.clientWidth*i.x,c=e.clientHeight*i.y,u=o*i.x,s=r*i.y;return{width:a,height:c,x:u,y:s}}function Yo(e,t,n){let r;if(t==="viewport")r=Bc(e,n);else if(t==="document")r=Uc(me(e));else if(ne(t))r=Vc(t,n);else{const o=Bo(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Rt(r)}function Zo(e,t){const n=$e(e);return n===t||!ne(n)||Ge(n)?!1:re(n).position==="fixed"||Zo(n,t)}function Yc(e,t){const n=t.get(e);if(n)return n;let r=mt(e,[],!1).filter(c=>ne(c)&&Ke(c)!=="body"),o=null;const i=re(e).position==="fixed";let a=i?$e(e):e;for(;ne(a)&&!Ge(a);){const c=re(a),u=Un(a);!u&&c.position==="fixed"&&(o=null),(i?!u&&!o:!u&&c.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||gt(a)&&!u&&Zo(e,a))?r=r.filter(d=>d!==a):o=c,a=$e(a)}return t.set(e,r),r}function Zc(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?Lt(t)?[]:Yc(t,this._c):[].concat(n),r],c=a[0],u=a.reduce((s,d)=>{const l=Yo(t,d,o);return s.top=J(l.top,s.top),s.right=ie(l.right,s.right),s.bottom=ie(l.bottom,s.bottom),s.left=J(l.left,s.left),s},Yo(t,c,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Xc(e){const{width:t,height:n}=Uo(e);return{width:t,height:n}}function qc(e,t,n){const r=ae(t),o=me(t),i=n==="fixed",a=Re(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const u=xe(0);if(r||!r&&!i)if((Ke(t)!=="body"||gt(o))&&(c=Mt(t)),r){const l=Re(t,!0,i,t);u.x=l.x+t.clientLeft,u.y=l.y+t.clientTop}else o&&(u.x=Vo(o));const s=a.left+c.scrollLeft-u.x,d=a.top+c.scrollTop-u.y;return{x:s,y:d,width:a.width,height:a.height}}function Zn(e){return re(e).position==="static"}function Xo(e,t){return!ae(e)||re(e).position==="fixed"?null:t?t(e):e.offsetParent}function qo(e,t){const n=ee(e);if(Lt(e))return n;if(!ae(e)){let o=$e(e);for(;o&&!Ge(o);){if(ne(o)&&!Zn(o))return o;o=$e(o)}return n}let r=Xo(e,t);for(;r&&Dc(r)&&Zn(r);)r=Xo(r,t);return r&&Ge(r)&&Zn(r)&&!Un(r)?n:r||Fc(e)||n}const Kc=async function(e){const t=this.getOffsetParent||qo,n=this.getDimensions,r=await n(e.floating);return{reference:qc(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Gc(e){return re(e).direction==="rtl"}const Qc={convertOffsetParentRelativeRectToViewportRelativeRect:Hc,getDocumentElement:me,getClippingRect:Zc,getOffsetParent:qo,getElementRects:Kc,getClientRects:jc,getDimensions:Xc,getScale:Qe,isElement:ne,isRTL:Gc};function Jc(e,t){let n=null,r;const o=me(e);function i(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function a(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),i();const{left:s,top:d,width:l,height:p}=e.getBoundingClientRect();if(c||t(),!l||!p)return;const f=Tt(d),m=Tt(o.clientWidth-(s+l)),h=Tt(o.clientHeight-(d+p)),v=Tt(s),g={rootMargin:-f+"px "+-m+"px "+-h+"px "+-v+"px",threshold:J(0,ie(1,u))||1};let _=!0;function b(y){const C=y[0].intersectionRatio;if(C!==u){if(!_)return a();C?a(!1,C):r=setTimeout(()=>{a(!1,1e-7)},1e3)}_=!1}try{n=new IntersectionObserver(b,{...g,root:o.ownerDocument})}catch{n=new IntersectionObserver(b,g)}n.observe(e)}return a(!0),i}function es(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,s=Yn(e),d=o||i?[...s?mt(s):[],...mt(t)]:[];d.forEach(w=>{o&&w.addEventListener("scroll",n,{passive:!0}),i&&w.addEventListener("resize",n)});const l=s&&c?Jc(s,n):null;let p=-1,f=null;a&&(f=new ResizeObserver(w=>{let[g]=w;g&&g.target===s&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var _;(_=f)==null||_.observe(t)})),n()}),s&&!u&&f.observe(s),f.observe(t));let m,h=u?Re(e):null;u&&v();function v(){const w=Re(e);h&&(w.x!==h.x||w.y!==h.y||w.width!==h.width||w.height!==h.height)&&n(),h=w,m=requestAnimationFrame(v)}return n(),()=>{var w;d.forEach(g=>{o&&g.removeEventListener("scroll",n),i&&g.removeEventListener("resize",n)}),l==null||l(),(w=f)==null||w.disconnect(),f=null,u&&cancelAnimationFrame(m)}}const ts=Sc,ns=Cc,rs=kc,os=Ac,is=$c,Ko=xc,as=Pc,cs=(e,t,n)=>{const r=new Map,o={platform:Qc,...n},i={...o.platform,_c:r};return yc(e,t,{...o,platform:i})};var Ft=typeof document<"u"?fe:I;function It(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(!It(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)&&!It(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Go(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Qo(e,t){const n=Go(e);return Math.round(t*n)/n}function Jo(e){const t=R(e);return Ft(()=>{t.current=e}),t}function ss(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:c=!0,whileElementsMounted:u,open:s}=e,[d,l]=L({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=L(r);It(p,r)||f(r);const[m,h]=L(null),[v,w]=L(null),g=Z(k=>{k!==C.current&&(C.current=k,h(k))},[]),_=Z(k=>{k!==P.current&&(P.current=k,w(k))},[]),b=i||m,y=a||v,C=R(null),P=R(null),E=R(d),A=u!=null,N=Jo(u),F=Jo(o),Y=Z(()=>{if(!C.current||!P.current)return;const k={placement:t,strategy:n,middleware:p};F.current&&(k.platform=F.current),cs(C.current,P.current,k).then(O=>{const U={...O,isPositioned:!0};Q.current&&!It(E.current,U)&&(E.current=U,ht(()=>{l(U)}))})},[p,t,n,F]);Ft(()=>{s===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,l(k=>({...k,isPositioned:!1})))},[s]);const Q=R(!1);Ft(()=>(Q.current=!0,()=>{Q.current=!1}),[]),Ft(()=>{if(b&&(C.current=b),y&&(P.current=y),b&&y){if(N.current)return N.current(b,y,Y);Y()}},[b,y,Y,N,A]);const T=G(()=>({reference:C,floating:P,setReference:g,setFloating:_}),[g,_]),z=G(()=>({reference:b,floating:y}),[b,y]),W=G(()=>{const k={position:n,left:0,top:0};if(!z.floating)return k;const O=Qo(z.floating,d.x),U=Qo(z.floating,d.y);return c?{...k,transform:"translate("+O+"px, "+U+"px)",...Go(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:O,top:U}},[n,c,z.floating,d.x,d.y]);return G(()=>({...d,update:Y,refs:T,elements:z,floatingStyles:W}),[d,Y,T,z,W])}const ls=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?Ko({element:r.current,padding:o}).fn(n):{}:r?Ko({element:r,padding:o}).fn(n):{}}}},us=(e,t)=>({...ts(e),options:[e,t]}),ds=(e,t)=>({...ns(e),options:[e,t]}),fs=(e,t)=>({...as(e),options:[e,t]}),ps=(e,t)=>({...rs(e),options:[e,t]}),hs=(e,t)=>({...os(e),options:[e,t]}),vs=(e,t)=>({...is(e),options:[e,t]}),gs=(e,t)=>({...ls(e),options:[e,t]});function ms(e){const[t,n]=L(void 0);return Xe(()=>{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,c;if("borderBoxSize"in i){const u=i.borderBoxSize,s=Array.isArray(u)?u[0]:u;a=s.inlineSize,c=s.blockSize}else a=e.offsetWidth,c=e.offsetHeight;n({width:a,height:c})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const ei="Popper",[ti,ni]=$o(ei),[ws,ri]=ti(ei),_s=e=>{const{__scopePopper:t,children:n}=e,[r,o]=L(null);return x(ws,{scope:t,anchor:r,onAnchorChange:o},n)},bs="PopperAnchor",ys=q((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=ri(bs,n),a=R(null),c=De(t,a);return I(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:x(Ze.div,X({},o,{ref:c}))}),oi="PopperContent",[xs,bu]=ti(oi),ks=q((e,t)=>{var n,r,o,i,a,c,u,s;const{__scopePopper:d,side:l="bottom",sideOffset:p=0,align:f="center",alignOffset:m=0,arrowPadding:h=0,avoidCollisions:v=!0,collisionBoundary:w=[],collisionPadding:g=0,sticky:_="partial",hideWhenDetached:b=!1,updatePositionStrategy:y="optimized",onPlaced:C,...P}=e,E=ri(oi,d),[A,N]=L(null),F=De(t,bt=>N(bt)),[Y,Q]=L(null),T=ms(Y),z=(n=T==null?void 0:T.width)!==null&&n!==void 0?n:0,W=(r=T==null?void 0:T.height)!==null&&r!==void 0?r:0,k=l+(f!=="center"?"-"+f:""),O=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},U=Array.isArray(w)?w:[w],Ne=U.length>0,V={padding:O,boundary:U.filter($s),altBoundary:Ne},{refs:_t,floatingStyles:Le,placement:Ee,isPositioned:ot,middlewareData:Se}=ss({strategy:"fixed",placement:k,whileElementsMounted:(...bt)=>es(...bt,{animationFrame:y==="always"}),elements:{reference:E.anchor},middleware:[us({mainAxis:p+W,alignmentAxis:m}),v&&ds({mainAxis:!0,crossAxis:!1,limiter:_==="partial"?fs():void 0,...V}),v&&ps({...V}),hs({...V,apply:({elements:bt,rects:Ni,availableWidth:vu,availableHeight:gu})=>{const{width:mu,height:wu}=Ni.reference,Qt=bt.floating.style;Qt.setProperty("--radix-popper-available-width",`${vu}px`),Qt.setProperty("--radix-popper-available-height",`${gu}px`),Qt.setProperty("--radix-popper-anchor-width",`${mu}px`),Qt.setProperty("--radix-popper-anchor-height",`${wu}px`)}}),Y&&gs({element:Y,padding:h}),Es({arrowWidth:z,arrowHeight:W}),b&&vs({strategy:"referenceHidden",...V})]}),[Ri,lu]=ii(Ee),Gt=be(C);Xe(()=>{ot&&(Gt==null||Gt())},[ot,Gt]);const uu=(o=Se.arrow)===null||o===void 0?void 0:o.x,du=(i=Se.arrow)===null||i===void 0?void 0:i.y,fu=((a=Se.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[pu,hu]=L();return Xe(()=>{A&&hu(window.getComputedStyle(A).zIndex)},[A]),x("div",{ref:_t.setFloating,"data-radix-popper-content-wrapper":"",style:{...Le,transform:ot?Le.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:pu,"--radix-popper-transform-origin":[(c=Se.transformOrigin)===null||c===void 0?void 0:c.x,(u=Se.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:e.dir},x(xs,{scope:d,placedSide:Ri,onArrowChange:Q,arrowX:uu,arrowY:du,shouldHideArrow:fu},x(Ze.div,X({"data-side":Ri,"data-align":lu},P,{ref:F,style:{...P.style,animation:ot?void 0:"none",opacity:(s=Se.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}}))))});function $s(e){return e!==null}const Es=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:c,rects:u,middlewareData:s}=t,l=((n=s.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=l?0:e.arrowWidth,f=l?0:e.arrowHeight,[m,h]=ii(c),v={start:"0%",center:"50%",end:"100%"}[h],w=((r=(o=s.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,g=((i=(a=s.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+f/2;let _="",b="";return m==="bottom"?(_=l?v:`${w}px`,b=`${-f}px`):m==="top"?(_=l?v:`${w}px`,b=`${u.floating.height+f}px`):m==="right"?(_=`${-f}px`,b=l?v:`${g}px`):m==="left"&&(_=`${u.floating.width+f}px`,b=l?v:`${g}px`),{data:{x:_,y:b}}}});function ii(e){const[t,n="center"]=e.split("-");return[t,n]}const Ss=_s,Cs=ys,Ps=ks,As=q((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?xo.createPortal(x(Ze.div,X({},o,{ref:t})),r):null});function Os(e,t){return dt((n,r)=>{const o=t[n][r];return o??n},e)}const Xn=e=>{const{present:t,children:n}=e,r=Ts(t),o=typeof n=="function"?n({present:r.isPresent}):pe.only(n),i=De(r.ref,o.ref);return typeof n=="function"||r.isPresent?Ye(o,{ref:i}):null};Xn.displayName="Presence";function Ts(e){const[t,n]=L(),r=R({}),o=R(e),i=R("none"),a=e?"mounted":"unmounted",[c,u]=Os(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return I(()=>{const s=Wt(r.current);i.current=c==="mounted"?s:"none"},[c]),Xe(()=>{const s=r.current,d=o.current;if(d!==e){const p=i.current,f=Wt(s);e?u("MOUNT"):f==="none"||(s==null?void 0:s.display)==="none"?u("UNMOUNT"):u(d&&p!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),Xe(()=>{if(t){const s=l=>{const f=Wt(r.current).includes(l.animationName);l.target===t&&f&&ht(()=>u("ANIMATION_END"))},d=l=>{l.target===t&&(i.current=Wt(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",s),t.addEventListener("animationend",s),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",s),t.removeEventListener("animationend",s)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:Z(s=>{s&&(r.current=getComputedStyle(s)),n(s)},[])}}function Wt(e){return(e==null?void 0:e.animationName)||"none"}function Ds({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=Rs({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,c=be(n),u=Z(s=>{if(i){const l=typeof s=="function"?s(e):s;l!==e&&c(l)}else o(s)},[i,e,o,c]);return[a,u]}function Rs({defaultProp:e,onChange:t}){const n=L(e),[r]=n,o=R(r),i=be(t);return I(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var Ns=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Je=new WeakMap,zt=new WeakMap,Ht={},qn=0,ai=function(e){return e&&(e.host||ai(e.parentNode))},Ls=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=ai(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})},Ms=function(e,t,n,r){var o=Ls(t,Array.isArray(e)?e:[e]);Ht[n]||(Ht[n]=new WeakMap);var i=Ht[n],a=[],c=new Set,u=new Set(o),s=function(l){!l||c.has(l)||(c.add(l),s(l.parentNode))};o.forEach(s);var d=function(l){!l||u.has(l)||Array.prototype.forEach.call(l.children,function(p){if(c.has(p))d(p);else try{var f=p.getAttribute(r),m=f!==null&&f!=="false",h=(Je.get(p)||0)+1,v=(i.get(p)||0)+1;Je.set(p,h),i.set(p,v),a.push(p),h===1&&m&&zt.set(p,!0),v===1&&p.setAttribute(n,"true"),m||p.setAttribute(r,"true")}catch(w){console.error("aria-hidden: cannot operate on ",p,w)}})};return d(t),c.clear(),qn++,function(){a.forEach(function(l){var p=Je.get(l)-1,f=i.get(l)-1;Je.set(l,p),i.set(l,f),p||(zt.has(l)||l.removeAttribute(r),zt.delete(l)),f||l.removeAttribute(n)}),qn--,qn||(Je=new WeakMap,Je=new WeakMap,zt=new WeakMap,Ht={})}},Fs=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||Ns(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),Ms(r,o,n,"aria-hidden")):function(){return null}},ce=function(){return ce=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},ce.apply(this,arguments)};function ci(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 Is(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 jt="right-scroll-bar-position",Ut="width-before-scroll-bar",Ws="with-scroll-bars-hidden",zs="--removed-body-scroll-bar-size";function Kn(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Hs(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 js=typeof window<"u"?fe:I,si=new WeakMap;function Us(e,t){var n=Hs(t||null,function(r){return e.forEach(function(o){return Kn(o,r)})});return js(function(){var r=si.get(n);if(r){var o=new Set(r),i=new Set(e),a=n.current;o.forEach(function(c){i.has(c)||Kn(c,null)}),i.forEach(function(c){o.has(c)||Kn(c,a)})}si.set(n,e)},[e]),n}function Bs(e){return e}function Vs(e,t){t===void 0&&(t=Bs);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(c){return c!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(c){return i(c)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var c=n;n=[],c.forEach(i),a=n}var u=function(){var d=a;a=[],d.forEach(i)},s=function(){return Promise.resolve().then(u)};s(),n={push:function(d){a.push(d),s()},filter:function(d){return a=a.filter(d),n}}}};return o}function Ys(e){e===void 0&&(e={});var t=Vs(null);return t.options=ce({async:!0,ssr:!1},e),t}var li=function(e){var t=e.sideCar,n=ci(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return x(r,ce({},n))};li.isSideCarExport=!0;function Zs(e,t){return e.useMedium(t),li}var ui=Ys(),Gn=function(){},Bt=q(function(e,t){var n=R(null),r=L({onScrollCapture:Gn,onWheelCapture:Gn,onTouchMoveCapture:Gn}),o=r[0],i=r[1],a=e.forwardProps,c=e.children,u=e.className,s=e.removeScrollBar,d=e.enabled,l=e.shards,p=e.sideCar,f=e.noIsolation,m=e.inert,h=e.allowPinchZoom,v=e.as,w=v===void 0?"div":v,g=ci(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),_=p,b=Us([n,t]),y=ce(ce({},g),o);return x(B,null,d&&x(_,{sideCar:ui,removeScrollBar:s,shards:l,noIsolation:f,inert:m,setCallbacks:i,allowPinchZoom:!!h,lockRef:n}),a?Ye(pe.only(c),ce(ce({},y),{ref:b})):x(w,ce({},y,{className:u,ref:b}),c))});Bt.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Bt.classNames={fullWidth:Ut,zeroRight:jt};var di,Xs=function(){if(di)return di;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function qs(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Xs();return t&&e.setAttribute("nonce",t),e}function Ks(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Gs(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Qs=function(){var e=0,t=null;return{add:function(n){e==0&&(t=qs())&&(Ks(t,n),Gs(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Js=function(){var e=Qs();return function(t,n){I(function(){return e.add(t),function(){e.remove()}},[t&&n])}},fi=function(){var e=Js(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},el={left:0,top:0,right:0,gap:0},Qn=function(e){return parseInt(e||"",10)||0},tl=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[Qn(n),Qn(r),Qn(o)]},nl=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return el;var t=tl(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])}},rl=fi(),et="data-scroll-locked",ol=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,c=e.gap;return n===void 0&&(n="margin"),`
|
|
2
|
-
.`.concat(
|
|
1
|
+
(function(){"use strict";function Bi(e,t){if(!e)throw new Error(t)}let le;function Vi(e){return{lang:(e==null?void 0:e.lang)??(le==null?void 0:le.lang),message:e==null?void 0:e.message,abortEarly:(e==null?void 0:e.abortEarly)??(le==null?void 0:le.abortEarly),abortPipeEarly:(e==null?void 0:e.abortPipeEarly)??(le==null?void 0:le.abortPipeEarly)}}let tn;function Yi(e){return tn==null?void 0:tn.get(e)}let nn;function qi(e){return nn==null?void 0:nn.get(e)}let rn;function Xi(e,t){var n;return(n=rn==null?void 0:rn.get(e))==null?void 0:n.get(t)}function fr(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 ue(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,c=(o==null?void 0:o.received)??fr(i),u={kind:e.kind,type:e.type,input:i,expected:a,received:c,message:`Invalid ${t}: ${a?`Expected ${a} but r`:"R"}eceived ${c}`,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},l=e.kind==="schema",d=(o==null?void 0:o.message)??e.message??Xi(e.reference,u.lang)??(l?qi(u.lang):null)??r.message??Yi(u.lang);d!==void 0&&(u.message=typeof d=="function"?d(u):d),l&&(n.typed=!1),n.issues?n.issues.push(u):n.issues=[u]}function de(e){return{version:1,vendor:"valibot",validate(t){return e["~run"]({value:t},Vi())}}}function Zi(e,t){return Object.hasOwn(e,t)&&t!=="__proto__"&&t!=="prototype"&&t!=="constructor"}function Ki(e,t){const n=[...new Set(e)];return n.length>1?`(${n.join(` ${t} `)})`:n[0]??"never"}function on(e,t){return{kind:"validation",type:"max_length",reference:on,async:!1,expects:`<=${e}`,requirement:e,message:t,"~run"(n,r){return n.typed&&n.value.length>this.requirement&&ue(this,"length",n,r,{received:`${n.value.length}`}),n}}}function an(e,t){return{kind:"validation",type:"min_length",reference:an,async:!1,expects:`>=${e}`,requirement:e,message:t,"~run"(n,r){return n.typed&&n.value.length<this.requirement&&ue(this,"length",n,r,{received:`${n.value.length}`}),n}}}function cn(){return{kind:"transformation",type:"trim",reference:cn,async:!1,"~run"(e){return e.value=e.value.trim(),e}}}function Gi(e,t,n){return typeof e.fallback=="function"?e.fallback(t,n):e.fallback}function pr(e,t,n){return typeof e.default=="function"?e.default(t,n):e.default}function hr(e,t){return{kind:"schema",type:"array",reference:hr,expects:"Array",async:!1,item:e,message:t,get"~standard"(){return de(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 c=o[a],u=this.item["~run"]({value:c},r);if(u.issues){const l={type:"array",origin:"value",input:o,key:a,value:c};for(const d of u.issues)d.path?d.path.unshift(l):d.path=[l],(i=n.issues)==null||i.push(d);if(n.issues||(n.issues=u.issues),r.abortEarly){n.typed=!1;break}}u.typed||(n.typed=!1),n.value.push(u.value)}}else ue(this,"type",n,r);return n}}}function M(e,t){return{kind:"schema",type:"nullable",reference:M,expects:`(${e.expects} | null)`,async:!1,wrapped:e,default:t,get"~standard"(){return de(this)},"~run"(n,r){return n.value===null&&(this.default!==void 0&&(n.value=pr(this,n,r)),n.value===null)?(n.typed=!0,n):this.wrapped["~run"](n,r)}}}function Pe(e){return{kind:"schema",type:"number",reference:Pe,expects:"number",async:!1,message:e,get"~standard"(){return de(this)},"~run"(t,n){return typeof t.value=="number"&&!isNaN(t.value)?t.typed=!0:ue(this,"type",t,n),t}}}function ye(e,t){return{kind:"schema",type:"object",reference:ye,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return de(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 c=this.entries[a];if(a in o||(c.type==="exact_optional"||c.type==="optional"||c.type==="nullish")&&c.default!==void 0){const u=a in o?o[a]:pr(c),l=c["~run"]({value:u},r);if(l.issues){const d={type:"object",origin:"value",input:o,key:a,value:u};for(const s of l.issues)s.path?s.path.unshift(d):s.path=[d],(i=n.issues)==null||i.push(s);if(n.issues||(n.issues=l.issues),r.abortEarly){n.typed=!1;break}}l.typed||(n.typed=!1),n.value[a]=l.value}else if(c.fallback!==void 0)n.value[a]=Gi(c);else if(c.type!=="exact_optional"&&c.type!=="optional"&&c.type!=="nullish"&&(ue(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 ue(this,"type",n,r);return n}}}function We(e,t){return{kind:"schema",type:"picklist",reference:We,expects:Ki(e.map(fr),"|"),async:!1,options:e,message:t,get"~standard"(){return de(this)},"~run"(n,r){return this.options.includes(n.value)?n.typed=!0:ue(this,"type",n,r),n}}}function sn(e,t,n){return{kind:"schema",type:"record",reference:sn,expects:"Object",async:!1,key:e,value:t,message:n,get"~standard"(){return de(this)},"~run"(r,o){var a,c;const i=r.value;if(i&&typeof i=="object"){r.typed=!0,r.value={};for(const u in i)if(Zi(i,u)){const l=i[u],d=this.key["~run"]({value:u},o);if(d.issues){const p={type:"object",origin:"key",input:i,key:u,value:l};for(const f of d.issues)f.path=[p],(a=r.issues)==null||a.push(f);if(r.issues||(r.issues=d.issues),o.abortEarly){r.typed=!1;break}}const s=this.value["~run"]({value:l},o);if(s.issues){const p={type:"object",origin:"value",input:i,key:u,value:l};for(const f of s.issues)f.path?f.path.unshift(p):f.path=[p],(c=r.issues)==null||c.push(f);if(r.issues||(r.issues=s.issues),o.abortEarly){r.typed=!1;break}}(!d.typed||!s.typed)&&(r.typed=!1),d.typed&&(r.value[d.value]=s.value)}}else ue(this,"type",r,o);return r}}}function R(e){return{kind:"schema",type:"string",reference:R,expects:"string",async:!1,message:e,get"~standard"(){return de(this)},"~run"(t,n){return typeof t.value=="string"?t.typed=!0:ue(this,"type",t,n),t}}}function vr(){return{kind:"schema",type:"unknown",reference:vr,expects:"unknown",async:!1,get"~standard"(){return de(this)},"~run"(e){return e.typed=!0,e}}}function gr(...e){return{...e[0],pipe:e,get"~standard"(){return de(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}}}var Qi=e=>e,Ji=["agent","sdk","form","integration","migration"],ea=["APPLIED","SHORTLISTED","INTERVIEWED","OFFERED","HIRED","REJECTED","WITHDRAWN"],ta=["screening","cv_match","interview","overall"],na=["PENDING","SCHEDULED","IN_PROGRESS","COMPLETED","CANCELLED"],ra=["careers_site","chatbot","plugin_job_search","ats_import","referral","agency","other","unknown"],oa=We(Ji),ia=We(ea),aa=gr(R(),cn(),an(1),on(100)),ca=We(ta),sa=We(na),la=gr(R(),cn(),an(1),on(100)),ua=We(ra),mr=ye({id:R(),email:M(R()),firstName:M(R()),lastName:M(R()),phone:M(R()),source:M(oa),identifiedAt:M(R()),createdAt:R(),updatedAt:R()}),ln=sn(R(),vr()),da=ye({id:R(),applicationId:R(),status:sa,scheduledAt:M(R()),completedAt:M(R()),meta:M(ln),createdAt:R(),updatedAt:R()}),fa=ye({score:Pe(),reason:R(),confidence:Pe()}),wr=ye({id:R(),candidateId:R(),jobId:Pe(),stage:aa,stageGroup:ia,stageEnteredAt:R(),rating:M(Pe()),disqualifiedAt:M(R()),disqualificationReason:M(la),disqualificationNote:M(R()),source:ua,sourceDetail:M(R()),sessionId:M(Pe()),externalApplicationId:M(R()),meta:M(ln),context:M(ln),scoredAt:M(R()),createdAt:R(),updatedAt:R()}),pa=ye({id:R(),applicationId:R(),scoreType:ca,score:M(Pe()),reason:M(R()),categories:M(sn(R(),fa)),scoredBy:M(R()),createdAt:R()});({...wr.entries},{...mr.entries});var ct,$,_r,Ae,br,yr,xr,kr,un,dn,fn,$r,yt={},xt=[],ha=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,st=Array.isArray;function oe(e,t){for(var n in t)e[n]=t[n];return e}function pn(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function x(e,t,n){var r,o,i,a={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?ct.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 lt(e,a,r,o,null)}function lt(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++_r,__i:-1,__u:0};return o==null&&$.vnode!=null&&$.vnode(i),i}function Er(){return{current:null}}function V(e){return e.children}function te(e,t){this.props=e,this.context=t}function ze(e,t){if(t==null)return e.__?ze(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?ze(e):null}function va(e){if(e.__P&&e.__d){var t=e.__v,n=t.__e,r=[],o=[],i=oe({},t);i.__v=t.__v+1,$.vnode&&$.vnode(i),vn(e.__P,i,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,r,n??ze(t),!!(32&t.__u),o),i.__v=t.__v,i.__.__k[i.__i]=i,Rr(r,i,o),t.__e=t.__=null,i.__e!=n&&Cr(i)}}function Cr(e){if((e=e.__)!=null&&e.__c!=null)return e.__e=e.__c.base=null,e.__k.some(function(t){if(t!=null&&t.__e!=null)return e.__e=e.__c.base=t.__e}),Cr(e)}function hn(e){(!e.__d&&(e.__d=!0)&&Ae.push(e)&&!kt.__r++||br!=$.debounceRendering)&&((br=$.debounceRendering)||yr)(kt)}function kt(){for(var e,t=1;Ae.length;)Ae.length>t&&Ae.sort(xr),e=Ae.shift(),t=Ae.length,va(e);kt.__r=0}function Sr(e,t,n,r,o,i,a,c,u,l,d){var s,p,f,g,h,v,w,m=r&&r.__k||xt,_=t.length;for(u=ga(n,t,m,u,_),s=0;s<_;s++)(f=n.__k[s])!=null&&(p=f.__i!=-1&&m[f.__i]||yt,f.__i=s,v=vn(e,f,p,o,i,a,c,u,l,d),g=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&mn(p.ref,null,f),d.push(f.ref,f.__c||g,f)),h==null&&g!=null&&(h=g),(w=!!(4&f.__u))||p.__k===f.__k?u=Pr(f,u,e,w):typeof f.type=="function"&&v!==void 0?u=v:g&&(u=g.nextSibling),f.__u&=-7);return n.__e=h,u}function ga(e,t,n,r,o){var i,a,c,u,l,d=n.length,s=d,p=0;for(e.__k=new Array(o),i=0;i<o;i++)(a=t[i])!=null&&typeof a!="boolean"&&typeof a!="function"?(typeof a=="string"||typeof a=="number"||typeof a=="bigint"||a.constructor==String?a=e.__k[i]=lt(null,a,null,null,null):st(a)?a=e.__k[i]=lt(V,{children:a},null,null,null):a.constructor===void 0&&a.__b>0?a=e.__k[i]=lt(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):e.__k[i]=a,u=i+p,a.__=e,a.__b=e.__b+1,c=null,(l=a.__i=ma(a,n,u,s))!=-1&&(s--,(c=n[l])&&(c.__u|=2)),c==null||c.__v==null?(l==-1&&(o>d?p--:o<d&&p++),typeof a.type!="function"&&(a.__u|=4)):l!=u&&(l==u-1?p--:l==u+1?p++:(l>u?p--:p++,a.__u|=4))):e.__k[i]=null;if(s)for(i=0;i<d;i++)(c=n[i])!=null&&!(2&c.__u)&&(c.__e==r&&(r=ze(c)),Dr(c,c));return r}function Pr(e,t,n,r){var o,i;if(typeof e.type=="function"){for(o=e.__k,i=0;o&&i<o.length;i++)o[i]&&(o[i].__=e,t=Pr(o[i],t,n,r));return t}e.__e!=t&&(r&&(t&&e.type&&!t.parentNode&&(t=ze(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function fe(e,t){return t=t||[],e==null||typeof e=="boolean"||(st(e)?e.some(function(n){fe(n,t)}):t.push(e)),t}function ma(e,t,n,r){var o,i,a,c=e.key,u=e.type,l=t[n],d=l!=null&&(2&l.__u)==0;if(l===null&&c==null||d&&c==l.key&&u==l.type)return n;if(r>(d?1:0)){for(o=n-1,i=n+1;o>=0||i<t.length;)if((l=t[a=o>=0?o--:i++])!=null&&!(2&l.__u)&&c==l.key&&u==l.type)return a}return-1}function Ar(e,t,n){t[0]=="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||ha.test(t)?n:n+"px"}function $t(e,t,n,r,o){var i,a;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||Ar(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||Ar(e.style,t,n[t])}else if(t[0]=="o"&&t[1]=="n")i=t!=(t=t.replace(kr,"$1")),a=t.toLowerCase(),t=a in e||t=="onFocusOut"||t=="onFocusIn"?a.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=un,e.addEventListener(t,i?fn:dn,i)):e.removeEventListener(t,i?fn:dn,i);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function Or(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=un++;else if(t.t<n.u)return;return n($.event?$.event(t):t)}}}function vn(e,t,n,r,o,i,a,c,u,l){var d,s,p,f,g,h,v,w,m,_,b,y,S,E,C,O=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(u=!!(32&n.__u),i=[c=t.__e=n.__e]),(d=$.__b)&&d(t);e:if(typeof O=="function")try{if(w=t.props,m="prototype"in O&&O.prototype.render,_=(d=O.contextType)&&r[d.__c],b=d?_?_.props.value:d.__:r,n.__c?v=(s=t.__c=n.__c).__=s.__E:(m?t.__c=s=new O(w,b):(t.__c=s=new te(w,b),s.constructor=O,s.render=_a),_&&_.sub(s),s.state||(s.state={}),s.__n=r,p=s.__d=!0,s.__h=[],s._sb=[]),m&&s.__s==null&&(s.__s=s.state),m&&O.getDerivedStateFromProps!=null&&(s.__s==s.state&&(s.__s=oe({},s.__s)),oe(s.__s,O.getDerivedStateFromProps(w,s.__s))),f=s.props,g=s.state,s.__v=t,p)m&&O.getDerivedStateFromProps==null&&s.componentWillMount!=null&&s.componentWillMount(),m&&s.componentDidMount!=null&&s.__h.push(s.componentDidMount);else{if(m&&O.getDerivedStateFromProps==null&&w!==f&&s.componentWillReceiveProps!=null&&s.componentWillReceiveProps(w,b),t.__v==n.__v||!s.__e&&s.shouldComponentUpdate!=null&&s.shouldComponentUpdate(w,s.__s,b)===!1){t.__v!=n.__v&&(s.props=w,s.state=s.__s,s.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(D){D&&(D.__=t)}),xt.push.apply(s.__h,s._sb),s._sb=[],s.__h.length&&a.push(s);break e}s.componentWillUpdate!=null&&s.componentWillUpdate(w,s.__s,b),m&&s.componentDidUpdate!=null&&s.__h.push(function(){s.componentDidUpdate(f,g,h)})}if(s.context=b,s.props=w,s.__P=e,s.__e=!1,y=$.__r,S=0,m)s.state=s.__s,s.__d=!1,y&&y(t),d=s.render(s.props,s.state,s.context),xt.push.apply(s.__h,s._sb),s._sb=[];else do s.__d=!1,y&&y(t),d=s.render(s.props,s.state,s.context),s.state=s.__s;while(s.__d&&++S<25);s.state=s.__s,s.getChildContext!=null&&(r=oe(oe({},r),s.getChildContext())),m&&!p&&s.getSnapshotBeforeUpdate!=null&&(h=s.getSnapshotBeforeUpdate(f,g)),E=d!=null&&d.type===V&&d.key==null?Tr(d.props.children):d,c=Sr(e,st(E)?E:[E],t,n,r,o,i,a,c,u,l),s.base=t.__e,t.__u&=-161,s.__h.length&&a.push(s),v&&(s.__E=s.__=null)}catch(D){if(t.__v=null,u||i!=null)if(D.then){for(t.__u|=u?160:128;c&&c.nodeType==8&&c.nextSibling;)c=c.nextSibling;i[i.indexOf(c)]=null,t.__e=c}else{for(C=i.length;C--;)pn(i[C]);gn(t)}else t.__e=n.__e,t.__k=n.__k,D.then||gn(t);$.__e(D,t,n)}else i==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):c=t.__e=wa(n.__e,t,n,r,o,i,a,u,l);return(d=$.diffed)&&d(t),128&t.__u?void 0:c}function gn(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(gn))}function Rr(e,t,n){for(var r=0;r<n.length;r++)mn(n[r],n[++r],n[++r]);$.__c&&$.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){$.__e(i,o.__v)}})}function Tr(e){return typeof e!="object"||e==null||e.__b>0?e:st(e)?e.map(Tr):oe({},e)}function wa(e,t,n,r,o,i,a,c,u){var l,d,s,p,f,g,h,v=n.props||yt,w=t.props,m=t.type;if(m=="svg"?o="http://www.w3.org/2000/svg":m=="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(l=0;l<i.length;l++)if((f=i[l])&&"setAttribute"in f==!!m&&(m?f.localName==m:f.nodeType==3)){e=f,i[l]=null;break}}if(e==null){if(m==null)return document.createTextNode(w);e=document.createElementNS(o,m,w.is&&w),c&&($.__m&&$.__m(t,i),c=!1),i=null}if(m==null)v===w||c&&e.data==w||(e.data=w);else{if(i=i&&ct.call(e.childNodes),!c&&i!=null)for(v={},l=0;l<e.attributes.length;l++)v[(f=e.attributes[l]).name]=f.value;for(l in v)f=v[l],l=="dangerouslySetInnerHTML"?s=f:l=="children"||l in w||l=="value"&&"defaultValue"in w||l=="checked"&&"defaultChecked"in w||$t(e,l,null,f,o);for(l in w)f=w[l],l=="children"?p=f:l=="dangerouslySetInnerHTML"?d=f:l=="value"?g=f:l=="checked"?h=f:c&&typeof f!="function"||v[l]===f||$t(e,l,f,v[l],o);if(d)c||s&&(d.__html==s.__html||d.__html==e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(s&&(e.innerHTML=""),Sr(t.type=="template"?e.content:e,st(p)?p:[p],t,n,r,m=="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&ze(n,0),c,u),i!=null)for(l=i.length;l--;)pn(i[l]);c||(l="value",m=="progress"&&g==null?e.removeAttribute("value"):g!=null&&(g!==e[l]||m=="progress"&&!g||m=="option"&&g!=v[l])&&$t(e,l,g,v[l],o),l="checked",h!=null&&h!=e[l]&&$t(e,l,h,v[l],o))}return e}function mn(e,t,n){try{if(typeof e=="function"){var r=typeof e.__u=="function";r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(o){$.__e(o,n)}}function Dr(e,t,n){var r,o;if($.unmount&&$.unmount(e),(r=e.ref)&&(r.current&&r.current!=e.__e||mn(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){$.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Dr(r[o],t,n||typeof e.type!="function");n||pn(e.__e),e.__c=e.__=e.__e=void 0}function _a(e,t,n){return this.constructor(e,n)}function Oe(e,t,n){var r,o,i,a;t==document&&(t=document.documentElement),$.__&&$.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],vn(t,e=(!r&&n||t).__k=x(V,null,[e]),o||yt,yt,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?ct.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),Rr(i,e,a)}function wn(e,t){Oe(e,t,wn)}function ba(e,t,n){var r,o,i,a,c=oe({},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]:c[i]=t[i]===void 0&&a!=null?a[i]:t[i];return arguments.length>2&&(c.children=arguments.length>3?ct.call(arguments,2):n),lt(e.type,c,r||e.key,o||e.ref,null)}function He(e){function t(n){var r,o;return this.getChildContext||(r=new Set,(o={})[t.__c]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(i){this.props.value!=i.value&&r.forEach(function(a){a.__e=!0,hn(a)})},this.sub=function(i){r.add(i);var a=i.componentWillUnmount;i.componentWillUnmount=function(){r&&r.delete(i),a&&a.call(i)}}),n.children}return t.__c="__cC"+$r++,t.__=e,t.Provider=t.__l=(t.Consumer=function(n,r){return n.children(r)}).contextType=t,t}ct=xt.slice,$={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(c){e=c}throw e}},_r=0,te.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=oe({},this.state),typeof e=="function"&&(e=e(oe({},n),this.props)),e&&oe(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),hn(this))},te.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),hn(this))},te.prototype.render=V,Ae=[],yr=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,xr=function(e,t){return e.__v.__b-t.__v.__b},kt.__r=0,kr=/(PointerCapture)$|Capture$/i,un=0,dn=Or(!1),fn=Or(!0),$r=0;var ya="diffed",Nr="__c",_n="__s",je="__c",Lr="__k",bn="__d",Ue="__s",Mr=/[\s\n\\/='"\0<>]/,Fr=/^(xlink|xmlns|xml)([A-Z])/,xa=/^(?:accessK|auto[A-Z]|cell|ch|col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|src[A-Z]|tabI|useM|item[A-Z])/,ka=/^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/,$a=new Set(["draggable","spellcheck"]);function Ir(e){e.__g!==void 0?e.__g|=8:e[bn]=!0}function Ea(e){e.__g!==void 0?e.__g&=-9:e[bn]=!1}function Wr(e){return e.__g!==void 0?!!(8&e.__g):e[bn]===!0}var Ca=/["&<]/;function Et(e){if(e.length===0||Ca.test(e)===!1)return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";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 zr={},Sa=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"]),Pa=/[A-Z]/g;function Aa(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:zr[n]||(zr[n]=n.replace(Pa,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||Sa.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}function Hr(){this.__d=!0}function Oa(e,t){return{__v:e,context:t,props:e.props,setState:Hr,forceUpdate:Hr,__d:!0,__h:new Array(0)}}var yn,Re,ut,dt,xn={},jr=[],Be=Array.isArray,kn=Object.assign,G="",Ct="<!--$s-->",St="<!--/$s-->";function Ra(e,t,n){var r=$[_n];$[_n]=!0,yn=$.__b,Re=$[ya],ut=$.__r,dt=$.unmount;var o=x(V,null);o[Lr]=[e];try{var i=pe(e,t||xn,!1,void 0,o,!1,n);return Be(i)?i.join(G):i}catch(a){throw a.then?new Error('Use "renderToStringAsync" for suspenseful rendering.'):a}finally{$[Nr]&&$[Nr](e,jr),$[_n]=r,jr.length=0}}function Ur(e,t){var n,r=e.type,o=!0;return e[je]?(o=!1,(n=e[je]).state=n[Ue]):n=new r(e.props,t),e[je]=n,n.__v=e,n.props=e.props,n.context=t,Ir(n),n.state==null&&(n.state=xn),n[Ue]==null&&(n[Ue]=n.state),r.getDerivedStateFromProps?n.state=kn({},n.state,r.getDerivedStateFromProps(n.props,n.state)):o&&n.componentWillMount?(n.componentWillMount(),n.state=n[Ue]!==n.state?n[Ue]:n.state):!o&&n.componentWillUpdate&&n.componentWillUpdate(),ut&&ut(e),n.render(n.props,n.state,t)}function pe(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e===G)return G;var c=typeof e;if(c!="object")return c=="function"?G:c=="string"?Et(e):e+G;if(Be(e)){var u,l=G;o[Lr]=e;for(var d=e.length,s=0;s<d;s++){var p=e[s];if(p!=null&&typeof p!="boolean"){var f,g=pe(p,t,n,r,o,i,a);typeof g=="string"?l+=g:(u||(u=new Array(d)),l&&u.push(l),l=G,Be(g)?(f=u).push.apply(f,g):u.push(g))}}return u?(l&&u.push(l),u):l}if(e.constructor!==void 0)return G;e.__=o,yn&&yn(e);var h=e.type,v=e.props;if(typeof h=="function"){var w,m,_,b=t;if(h===V){if("tpl"in v){for(var y=G,S=0;S<v.tpl.length;S++)if(y+=v.tpl[S],v.exprs&&S<v.exprs.length){var E=v.exprs[S];if(E==null)continue;typeof E!="object"||E.constructor!==void 0&&!Be(E)?y+=E:y+=pe(E,t,n,r,e,i,a)}return y}if("UNSTABLE_comment"in v)return"<!--"+Et(v.UNSTABLE_comment)+"-->";m=v.children}else{if((w=h.contextType)!=null){var C=t[w.__c];b=C?C.props.value:w.__}var O=h.prototype&&typeof h.prototype.render=="function";if(O)m=Ur(e,b),_=e[je];else{e[je]=_=Oa(e,b);for(var D=0;Wr(_)&&D++<25;){Ea(_),ut&&ut(e);try{m=h.call(_,v,b)}catch(Y){throw i&&Y&&typeof Y.then=="function"&&(e._suspended=!0),Y}}Ir(_)}if(_.getChildContext!=null&&(t=kn({},t,_.getChildContext())),O&&$.errorBoundaries&&(h.getDerivedStateFromError||_.componentDidCatch)){m=m!=null&&m.type===V&&m.key==null&&m.props.tpl==null?m.props.children:m;try{return pe(m,t,n,r,e,i,!1)}catch(Y){return h.getDerivedStateFromError&&(_[Ue]=h.getDerivedStateFromError(Y)),_.componentDidCatch&&_.componentDidCatch(Y,xn),Wr(_)?(m=Ur(e,t),(_=e[je]).getChildContext!=null&&(t=kn({},t,_.getChildContext())),pe(m=m!=null&&m.type===V&&m.key==null&&m.props.tpl==null?m.props.children:m,t,n,r,e,i,a)):G}finally{Re&&Re(e),dt&&dt(e)}}}m=m!=null&&m.type===V&&m.key==null&&m.props.tpl==null?m.props.children:m;try{var I=pe(m,t,n,r,e,i,a);return Re&&Re(e),$.unmount&&$.unmount(e),e._suspended?typeof I=="string"?Ct+I+St:Be(I)?(I.unshift(Ct),I.push(St),I):I.then(function(Y){return Ct+Y+St}):I}catch(Y){if(!i&&a&&a.onError){var U=function _t(Ie){return a.onError(Ie,e,function(Ce,at){try{return pe(Ce,t,n,r,at,i,a)}catch(Se){return _t(Se)}})}(Y);if(U!==void 0)return U;var K=$.__e;return K&&K(Y,e),G}if(!i||!Y||typeof Y.then!="function")throw Y;return Y.then(function _t(){try{var Ie=pe(m,t,n,r,e,i,a);return e._suspended?Ct+Ie+St:Ie}catch(Ce){if(!Ce||typeof Ce.then!="function")throw Ce;return Ce.then(_t)}})}}var T,H="<"+h,z=G;for(var k in v){var A=v[k];if(typeof(A=Da(A)?A.value:A)!="function"||k==="class"||k==="className"){switch(k){case"children":T=A;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in v)continue;k="for";break;case"className":if("class"in v)continue;k="class";break;case"defaultChecked":k="checked";break;case"defaultSelected":k="selected";break;case"defaultValue":case"value":switch(k="value",h){case"textarea":T=A;continue;case"select":r=A;continue;case"option":r!=A||"selected"in v||(H+=" selected")}break;case"dangerouslySetInnerHTML":z=A&&A.__html;continue;case"style":typeof A=="object"&&(A=Aa(A));break;case"acceptCharset":k="accept-charset";break;case"httpEquiv":k="http-equiv";break;default:if(Fr.test(k))k=k.replace(Fr,"$1:$2").toLowerCase();else{if(Mr.test(k))continue;k[4]!=="-"&&!$a.has(k)||A==null?n?ka.test(k)&&(k=k==="panose1"?"panose-1":k.replace(/([A-Z])/g,"-$1").toLowerCase()):xa.test(k)&&(k=k.toLowerCase()):A+=G}}A!=null&&A!==!1&&(H=A===!0||A===G?H+" "+k:H+" "+k+'="'+(typeof A=="string"?Et(A):A+G)+'"')}}if(Mr.test(h))throw new Error(h+" is not a valid HTML tag name in "+H+">");if(z||(typeof T=="string"?z=Et(T):T!=null&&T!==!1&&T!==!0&&(z=pe(T,t,h==="svg"||h!=="foreignObject"&&n,r,e,i,a))),Re&&Re(e),dt&&dt(e),!z&&Ta.has(h))return H+"/>";var B="</"+h+">",Fe=H+">";return Be(z)?[Fe].concat(z,[B]):typeof z!="string"?[Fe,z,B]:Fe+z+B}var Ta=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]);function Da(e){return e!==null&&typeof e=="object"&&typeof e.peek=="function"&&"value"in e}var Na=0;function P(e,t,n,r,o,i){t||(t={});var a,c,u=t;if("ref"in u)for(c in u={},t)c=="ref"?a=t[c]:u[c]=t[c];var l={type:e,props:u,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Na,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(c in a)u[c]===void 0&&(u[c]=a[c]);return $.vnode&&$.vnode(l),l}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 he,F,$n,Br,Ve=0,Vr=[],j=$,Yr=j.__b,qr=j.__r,Xr=j.diffed,Zr=j.__c,Kr=j.unmount,Gr=j.__;function Te(e,t){j.__h&&j.__h(F,e,Ve||t),Ve=0;var n=F.__H||(F.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function L(e){return Ve=1,ft(Jr,e)}function ft(e,t,n){var r=Te(he++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Jr(void 0,t),function(c){var u=r.__N?r.__N[0]:r.__[0],l=r.t(u,c);u!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=F,!F.__f)){var o=function(c,u,l){if(!r.__c.__H)return!0;var d=r.__c.__H.__.filter(function(p){return p.__c});if(d.every(function(p){return!p.__N}))return!i||i.call(this,c,u,l);var s=r.__c.props!==c;return d.some(function(p){if(p.__N){var f=p.__[0];p.__=p.__N,p.__N=void 0,f!==p.__[0]&&(s=!0)}}),i&&i.call(this,c,u,l)||s};F.__f=!0;var i=F.shouldComponentUpdate,a=F.componentWillUpdate;F.componentWillUpdate=function(c,u,l){if(this.__e){var d=i;i=void 0,o(c,u,l),i=d}a&&a.call(this,c,u,l)},F.shouldComponentUpdate=o}return r.__N||r.__}function W(e,t){var n=Te(he++,3);!j.__s&&Pn(n.__H,t)&&(n.__=e,n.u=t,F.__H.__h.push(n))}function ve(e,t){var n=Te(he++,4);!j.__s&&Pn(n.__H,t)&&(n.__=e,n.u=t,F.__h.push(n))}function N(e){return Ve=5,Q(function(){return{current:e}},[])}function En(e,t,n){Ve=6,ve(function(){if(typeof e=="function"){var r=e(t());return function(){e(null),r&&typeof r=="function"&&r()}}if(e)return e.current=t(),function(){return e.current=null}},n==null?n:n.concat(e))}function Q(e,t){var n=Te(he++,7);return Pn(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function q(e,t){return Ve=8,Q(function(){return e},t)}function Ye(e){var t=F.context[e.__c],n=Te(he++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(F)),t.props.value):e.__}function Cn(e,t){j.useDebugValue&&j.useDebugValue(t?t(e):e)}function La(e){var t=Te(he++,10),n=L();return t.__=e,F.componentDidCatch||(F.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function pt(){var e=Te(he++,11);if(!e.__){for(var t=F.__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 Ma(){for(var e;e=Vr.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(Pt),t.__h.some(Sn),t.__h=[]}catch(n){t.__h=[],j.__e(n,e.__v)}}}j.__b=function(e){F=null,Yr&&Yr(e)},j.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Gr&&Gr(e,t)},j.__r=function(e){qr&&qr(e),he=0;var t=(F=e.__c).__H;t&&($n===F?(t.__h=[],F.__h=[],t.__.some(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(t.__h.some(Pt),t.__h.some(Sn),t.__h=[],he=0)),$n=F},j.diffed=function(e){Xr&&Xr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Vr.push(t)!==1&&Br===j.requestAnimationFrame||((Br=j.requestAnimationFrame)||Fa)(Ma)),t.__H.__.some(function(n){n.u&&(n.__H=n.u),n.u=void 0})),$n=F=null},j.__c=function(e,t){t.some(function(n){try{n.__h.some(Pt),n.__h=n.__h.filter(function(r){return!r.__||Sn(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],j.__e(r,n.__v)}}),Zr&&Zr(e,t)},j.unmount=function(e){Kr&&Kr(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(r){try{Pt(r)}catch(o){t=o}}),n.__H=void 0,t&&j.__e(t,n.__v))};var Qr=typeof requestAnimationFrame=="function";function Fa(e){var t,n=function(){clearTimeout(r),Qr&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);Qr&&(t=requestAnimationFrame(n))}function Pt(e){var t=F,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),F=t}function Sn(e){var t=F;e.__c=e.__(),F=t}function Pn(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Jr(e,t){return typeof t=="function"?t(e):t}function eo(e,t){for(var n in t)e[n]=t[n];return e}function An(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 On(e,t){var n=t(),r=L({t:{__:n,u:t}}),o=r[0].t,i=r[1];return ve(function(){o.__=n,o.u=t,Rn(o)&&i({t:o})},[e,n,t]),W(function(){return Rn(o)&&i({t:o}),e(function(){Rn(o)&&i({t:o})})},[e]),n}function Rn(e){try{return!((t=e.__)===(n=e.u())&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}var t,n}function Tn(e){e()}function Dn(e){return e}function Nn(){return[!1,Tn]}var Ln=ve;function At(e,t){this.props=e,this.context=t}function to(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:An(this.props,o)}function r(o){return this.shouldComponentUpdate=n,x(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r.type=e,r}(At.prototype=new te).isPureReactComponent=!0,At.prototype.shouldComponentUpdate=function(e,t){return An(this.props,e)||An(this.state,t)};var no=$.__b;$.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),no&&no(e)};var Ia=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Z(e){function t(n){var r=eo({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Ia,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ro=function(e,t){return e==null?null:fe(fe(e).map(t))},ge={map:ro,forEach:ro,count:function(e){return e?fe(e).length:0},only:function(e){var t=fe(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:fe},Wa=$.__e;$.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}Wa(e,t,n,r)};var oo=$.unmount;function io(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=eo({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return io(r,t,n)})),e}function ao(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return ao(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function ht(){this.__u=0,this.o=null,this.__b=null}function co(e){if(!e.__)return null;var t=e.__.__c;return t&&t.__a&&t.__a(e)}function so(e){var t,n,r,o=null;function i(a){if(t||(t=e()).then(function(c){c&&(o=c.default||c),r=!0},function(c){n=c,r=!0}),n)throw n;if(!r)throw t;return o?x(o,a):null}return i.displayName="Lazy",i.__f=!0,i}function qe(){this.i=null,this.l=null}$.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),oo&&oo(e)},(ht.prototype=new te).__c=function(e,t){var n=t.__c,r=this;r.o==null&&(r.o=[]),r.o.push(n);var o=co(r.__v),i=!1,a=function(){i||r.__z||(i=!0,n.__R=null,o?o(u):u())};n.__R=a;var c=n.__P;n.__P=null;var u=function(){if(!--r.__u){if(r.state.__a){var l=r.state.__a;r.__v.__k[0]=ao(l,l.__c.__P,l.__c.__O)}var d;for(r.setState({__a:r.__b=null});d=r.o.pop();)d.__P=c,d.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},ht.prototype.componentWillUnmount=function(){this.o=[]},ht.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]=io(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&x(V,null,e.fallback);return o&&(o.__u&=-33),[x(V,null,t.__a?null:e.children),o]};var lo=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function za(e){return this.getChildContext=function(){return e.context},e.children}function Ha(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){Oe(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var r=t.__v;r!==null&&!r.__m&&r.__!==null;)r=r.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:r.__m},contains:function(){return!0},namespaceURI:n.namespaceURI,insertBefore:function(o,i){this.childNodes.push(o),t.h.insertBefore(o,i)},removeChild:function(o){this.childNodes.splice(this.childNodes.indexOf(o)>>>1,1),t.h.removeChild(o)}}}Oe(x(za,{context:t.context},e.__v),t.v)}function uo(e,t){var n=x(Ha,{__v:e,h:t});return n.containerInfo=t,n}(qe.prototype=new te).__a=function(e){var t=this,n=co(t.__v),r=t.l.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),lo(t,e,r)):o()};n?n(i):i()}},qe.prototype.render=function(e){this.i=null,this.l=new Map;var t=fe(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},qe.prototype.componentDidUpdate=qe.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){lo(e,n,t)})};var fo=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,ja=/^(?: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]/,Ua=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ba=/[A-Z0-9]/g,Va=typeof document<"u",Ya=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function po(e,t,n){return t.__k==null&&(t.textContent=""),Oe(e,t),typeof n=="function"&&n(),e?e.__c:null}function ho(e,t,n){return wn(e,t),typeof n=="function"&&n(),e?e.__c:null}te.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(te.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var vo=$.event;function qa(){}function Xa(){return this.cancelBubble}function Za(){return this.defaultPrevented}$.event=function(e){return vo&&(e=vo(e)),e.persist=qa,e.isPropagationStopped=Xa,e.isDefaultPrevented=Za,e.nativeEvent=e};var Mn,Ka={enumerable:!1,configurable:!0,get:function(){return this.class}},go=$.vnode;$.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={},i=r.indexOf("-")===-1;for(var a in n){var c=n[a];if(!(a==="value"&&"defaultValue"in n&&c==null||Va&&a==="children"&&r==="noscript"||a==="class"||a==="className")){var u=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&c===!0?c="":u==="translate"&&c==="no"?c=!1:u[0]==="o"&&u[1]==="n"?u==="ondoubleclick"?a="ondblclick":u!=="onchange"||r!=="input"&&r!=="textarea"||Ya(n.type)?u==="onfocus"?a="onfocusin":u==="onblur"?a="onfocusout":Ua.test(a)&&(a=u):u=a="oninput":i&&ja.test(a)?a=a.replace(Ba,"-$&").toLowerCase():c===null&&(c=void 0),u==="oninput"&&o[a=u]&&(a="oninputCapture"),o[a]=c}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=fe(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=fe(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",Ka)):n.className&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=fo,go&&go(e)};var mo=$.__r;$.__r=function(e){mo&&mo(e),Mn=e.__c};var wo=$.diffed;$.diffed=function(e){wo&&wo(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Mn=null};var _o={ReactCurrentDispatcher:{current:{readContext:function(e){return Mn.__n[e.__c].props.value},useCallback:q,useContext:Ye,useDebugValue:Cn,useDeferredValue:Dn,useEffect:W,useId:pt,useImperativeHandle:En,useInsertionEffect:Ln,useLayoutEffect:ve,useMemo:Q,useReducer:ft,useRef:N,useState:L,useSyncExternalStore:On,useTransition:Nn}}},Ga="18.3.1";function bo(e){return x.bind(null,e)}function me(e){return!!e&&e.$$typeof===fo}function yo(e){return me(e)&&e.type===V}function xo(e){return!!e&&typeof e.displayName=="string"&&e.displayName.startsWith("Memo(")}function Xe(e){return me(e)?ba.apply(null,arguments):e}function ko(e){return!!e.__k&&(Oe(null,e),!0)}function $o(e){return e&&(e.base||e.nodeType===1&&e)||null}var Eo=function(e,t){return e(t)},vt=function(e,t){return e(t)},Co=V,So=me,Po={useState:L,useId:pt,useReducer:ft,useEffect:W,useLayoutEffect:ve,useInsertionEffect:Ln,useTransition:Nn,useDeferredValue:Dn,useSyncExternalStore:On,startTransition:Tn,useRef:N,useImperativeHandle:En,useMemo:Q,useCallback:q,useContext:Ye,useDebugValue:Cn,version:"18.3.1",Children:ge,render:po,hydrate:ho,unmountComponentAtNode:ko,createPortal:uo,createElement:x,createContext:He,createFactory:bo,cloneElement:Xe,createRef:Er,Fragment:V,isValidElement:me,isElement:So,isFragment:yo,isMemo:xo,findDOMNode:$o,Component:te,PureComponent:At,memo:to,forwardRef:Z,flushSync:vt,unstable_batchedUpdates:Eo,StrictMode:Co,Suspense:ht,SuspenseList:qe,lazy:so,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:_o};const Qa=Object.freeze(Object.defineProperty({__proto__:null,Children:ge,Component:te,Fragment:V,PureComponent:At,StrictMode:Co,Suspense:ht,SuspenseList:qe,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:_o,cloneElement:Xe,createContext:He,createElement:x,createFactory:bo,createPortal:uo,createRef:Er,default:Po,findDOMNode:$o,flushSync:vt,forwardRef:Z,hydrate:ho,isElement:So,isFragment:yo,isMemo:xo,isValidElement:me,lazy:so,memo:to,render:po,startTransition:Tn,unmountComponentAtNode:ko,unstable_batchedUpdates:Eo,useCallback:q,useContext:Ye,useDebugValue:Cn,useDeferredValue:Dn,useEffect:W,useErrorBoundary:La,useId:pt,useImperativeHandle:En,useInsertionEffect:Ln,useLayoutEffect:ve,useMemo:Q,useReducer:ft,useRef:N,useState:L,useSyncExternalStore:On,useTransition:Nn,version:Ga},Symbol.toStringTag,{value:"Module"}));function De(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 Ja(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Ao(...e){return t=>e.forEach(n=>Ja(n,t))}function Ne(...e){return q(Ao(...e),e)}function Oo(e,t=[]){let n=[];function r(i,a){const c=He(a),u=n.length;n=[...n,a];function l(s){const{scope:p,children:f,...g}=s,h=(p==null?void 0:p[e][u])||c,v=Q(()=>g,Object.values(g));return x(h.Provider,{value:v},f)}function d(s,p){const f=(p==null?void 0:p[e][u])||c,g=Ye(f);if(g)return g;if(a!==void 0)return a;throw new Error(`\`${s}\` must be used within \`${i}\``)}return l.displayName=i+"Provider",[l,d]}const o=()=>{const i=n.map(a=>He(a));return function(c){const u=(c==null?void 0:c[e])||i;return Q(()=>({[`__scope${e}`]:{...c,[e]:u}}),[c,u])}};return o.scopeName=e,[r,ec(o,...t)]}function ec(...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((c,{useScope:u,scopeName:l})=>{const s=u(i)[`__scope${l}`];return{...c,...s}},{});return Q(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const Fn=Z((e,t)=>{const{children:n,...r}=e,o=ge.toArray(n),i=o.find(nc);if(i){const a=i.props.children,c=o.map(u=>u===i?ge.count(a)>1?ge.only(null):me(a)?a.props.children:null:u);return x(In,X({},r,{ref:t}),me(a)?Xe(a,void 0,c):null)}return x(In,X({},r,{ref:t}),n)});Fn.displayName="Slot";const In=Z((e,t)=>{const{children:n,...r}=e;return me(n)?Xe(n,{...rc(r,n.props),ref:t?Ao(t,n.ref):n.ref}):ge.count(n)>1?ge.only(null):null});In.displayName="SlotClone";const tc=({children:e})=>x(V,null,e);function nc(e){return me(e)&&e.type===tc}function rc(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]=(...c)=>{i(...c),o(...c)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const Ze=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=Z((r,o)=>{const{asChild:i,...a}=r,c=i?Fn:t;return W(()=>{window[Symbol.for("radix-ui")]=!0},[]),x(c,X({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function oc(e,t){e&&vt(()=>e.dispatchEvent(t))}function xe(e){const t=N(e);return W(()=>{t.current=e}),Q(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function ic(e,t=globalThis==null?void 0:globalThis.document){const n=xe(e);W(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const Wn="dismissableLayer.update",ac="dismissableLayer.pointerDownOutside",cc="dismissableLayer.focusOutside";let Ro;const sc=He({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),lc=Z((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:c,onDismiss:u,...l}=e,d=Ye(sc),[s,p]=L(null),f=(n=s==null?void 0:s.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,g]=L({}),h=Ne(t,C=>p(C)),v=Array.from(d.layers),[w]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),m=v.indexOf(w),_=s?v.indexOf(s):-1,b=d.layersWithOutsidePointerEventsDisabled.size>0,y=_>=m,S=uc(C=>{const O=C.target,D=[...d.branches].some(I=>I.contains(O));!y||D||(i==null||i(C),c==null||c(C),C.defaultPrevented||u==null||u())},f),E=dc(C=>{const O=C.target;[...d.branches].some(I=>I.contains(O))||(a==null||a(C),c==null||c(C),C.defaultPrevented||u==null||u())},f);return ic(C=>{_===d.layers.size-1&&(o==null||o(C),!C.defaultPrevented&&u&&(C.preventDefault(),u()))},f),W(()=>{if(s)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Ro=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(s)),d.layers.add(s),To(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Ro)}},[s,f,r,d]),W(()=>()=>{s&&(d.layers.delete(s),d.layersWithOutsidePointerEventsDisabled.delete(s),To())},[s,d]),W(()=>{const C=()=>g({});return document.addEventListener(Wn,C),()=>document.removeEventListener(Wn,C)},[]),x(Ze.div,X({},l,{ref:h,style:{pointerEvents:b?y?"auto":"none":void 0,...e.style},onFocusCapture:De(e.onFocusCapture,E.onFocusCapture),onBlurCapture:De(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:De(e.onPointerDownCapture,S.onPointerDownCapture)}))});function uc(e,t=globalThis==null?void 0:globalThis.document){const n=xe(e),r=N(!1),o=N(()=>{});return W(()=>{const i=c=>{if(c.target&&!r.current){let l=function(){Do(ac,n,u,{discrete:!0})};const u={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}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 dc(e,t=globalThis==null?void 0:globalThis.document){const n=xe(e),r=N(!1);return W(()=>{const o=i=>{i.target&&!r.current&&Do(cc,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 To(){const e=new CustomEvent(Wn);document.dispatchEvent(e)}function Do(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?oc(o,i):o.dispatchEvent(i)}let zn=0;function fc(){W(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:No()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:No()),zn++,()=>{zn===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),zn--}},[])}function No(){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 Hn="focusScope.autoFocusOnMount",jn="focusScope.autoFocusOnUnmount",Lo={bubbles:!1,cancelable:!0},pc=Z((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[c,u]=L(null),l=xe(o),d=xe(i),s=N(null),p=Ne(t,h=>u(h)),f=N({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;W(()=>{if(r){let h=function(_){if(f.paused||!c)return;const b=_.target;c.contains(b)?s.current=b:ke(s.current,{select:!0})},v=function(_){if(f.paused||!c)return;const b=_.relatedTarget;b!==null&&(c.contains(b)||ke(s.current,{select:!0}))},w=function(_){if(document.activeElement===document.body)for(const y of _)y.removedNodes.length>0&&ke(c)};document.addEventListener("focusin",h),document.addEventListener("focusout",v);const m=new MutationObserver(w);return c&&m.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",v),m.disconnect()}}},[r,c,f.paused]),W(()=>{if(c){Io.add(f);const h=document.activeElement;if(!c.contains(h)){const w=new CustomEvent(Hn,Lo);c.addEventListener(Hn,l),c.dispatchEvent(w),w.defaultPrevented||(hc(_c(Mo(c)),{select:!0}),document.activeElement===h&&ke(c))}return()=>{c.removeEventListener(Hn,l),setTimeout(()=>{const w=new CustomEvent(jn,Lo);c.addEventListener(jn,d),c.dispatchEvent(w),w.defaultPrevented||ke(h??document.body,{select:!0}),c.removeEventListener(jn,d),Io.remove(f)},0)}}},[c,l,d,f]);const g=q(h=>{if(!n&&!r||f.paused)return;const v=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,w=document.activeElement;if(v&&w){const m=h.currentTarget,[_,b]=vc(m);_&&b?!h.shiftKey&&w===b?(h.preventDefault(),n&&ke(_,{select:!0})):h.shiftKey&&w===_&&(h.preventDefault(),n&&ke(b,{select:!0})):w===m&&h.preventDefault()}},[n,r,f.paused]);return x(Ze.div,X({tabIndex:-1},a,{ref:p,onKeyDown:g}))});function hc(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(ke(r,{select:t}),document.activeElement!==n)return}function vc(e){const t=Mo(e),n=Fo(t,e),r=Fo(t.reverse(),e);return[n,r]}function Mo(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 Fo(e,t){for(const n of e)if(!gc(n,{upTo:t}))return n}function gc(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 mc(e){return e instanceof HTMLInputElement&&"select"in e}function ke(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&mc(e)&&t&&e.select()}}const Io=wc();function wc(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Wo(e,t),e.unshift(t)},remove(t){var n;e=Wo(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Wo(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function _c(e){return e.filter(t=>t.tagName!=="A")}const Ke=globalThis!=null&&globalThis.document?ve:()=>{},bc=Qa["useId".toString()]||(()=>{});let yc=0;function xc(e){const[t,n]=L(bc());return Ke(()=>{e||n(r=>r??String(yc++))},[e]),e||(t?`radix-${t}`:"")}const kc=["top","right","bottom","left"],$e=Math.min,J=Math.max,Ot=Math.round,Rt=Math.floor,ie=e=>({x:e,y:e}),$c={left:"right",right:"left",bottom:"top",top:"bottom"};function Un(e,t,n){return J(e,$e(t,n))}function we(e,t){return typeof e=="function"?e(t):e}function _e(e){return e.split("-")[0]}function Ge(e){return e.split("-")[1]}function Bn(e){return e==="x"?"y":"x"}function Vn(e){return e==="y"?"height":"width"}function ae(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Yn(e){return Bn(ae(e))}function Ec(e,t,n){n===void 0&&(n=!1);const r=Ge(e),o=Yn(e),i=Vn(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Tt(a)),[a,Tt(a)]}function Cc(e){const t=Tt(e);return[qn(e),t,qn(t)]}function qn(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const zo=["left","right"],Ho=["right","left"],Sc=["top","bottom"],Pc=["bottom","top"];function Ac(e,t,n){switch(e){case"top":case"bottom":return n?t?Ho:zo:t?zo:Ho;case"left":case"right":return t?Sc:Pc;default:return[]}}function Oc(e,t,n,r){const o=Ge(e);let i=Ac(_e(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(qn)))),i}function Tt(e){const t=_e(e);return $c[t]+e.slice(t.length)}function Rc(e){return{top:0,right:0,bottom:0,left:0,...e}}function jo(e){return typeof e!="number"?Rc(e):{top:e,right:e,bottom:e,left:e}}function Dt(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 Uo(e,t,n){let{reference:r,floating:o}=e;const i=ae(t),a=Yn(t),c=Vn(a),u=_e(t),l=i==="y",d=r.x+r.width/2-o.width/2,s=r.y+r.height/2-o.height/2,p=r[c]/2-o[c]/2;let f;switch(u){case"top":f={x:d,y:r.y-o.height};break;case"bottom":f={x:d,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:s};break;case"left":f={x:r.x-o.width,y:s};break;default:f={x:r.x,y:r.y}}switch(Ge(t)){case"start":f[a]-=p*(n&&l?-1:1);break;case"end":f[a]+=p*(n&&l?-1:1);break}return f}async function Tc(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:c,strategy:u}=e,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:s="floating",altBoundary:p=!1,padding:f=0}=we(t,e),g=jo(f),v=c[p?s==="floating"?"reference":"floating":s],w=Dt(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:l,rootBoundary:d,strategy:u})),m=s==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),b=await(i.isElement==null?void 0:i.isElement(_))?await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1}:{x:1,y:1},y=Dt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:m,offsetParent:_,strategy:u}):m);return{top:(w.top-y.top+g.top)/b.y,bottom:(y.bottom-w.bottom+g.bottom)/b.y,left:(w.left-y.left+g.left)/b.x,right:(y.right-w.right+g.right)/b.x}}const Dc=50,Nc=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,c=a.detectOverflow?a:{...a,detectOverflow:Tc},u=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:s}=Uo(l,r,u),p=r,f=0;const g={};for(let h=0;h<i.length;h++){const v=i[h];if(!v)continue;const{name:w,fn:m}=v,{x:_,y:b,data:y,reset:S}=await m({x:d,y:s,initialPlacement:r,placement:p,strategy:o,middlewareData:g,rects:l,platform:c,elements:{reference:e,floating:t}});d=_??d,s=b??s,g[w]={...g[w],...y},S&&f<Dc&&(f++,typeof S=="object"&&(S.placement&&(p=S.placement),S.rects&&(l=S.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:d,y:s}=Uo(l,p,u)),h=-1)}return{x:d,y:s,placement:p,strategy:o,middlewareData:g}},Lc=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:c,middlewareData:u}=t,{element:l,padding:d=0}=we(e,t)||{};if(l==null)return{};const s=jo(d),p={x:n,y:r},f=Yn(o),g=Vn(f),h=await a.getDimensions(l),v=f==="y",w=v?"top":"left",m=v?"bottom":"right",_=v?"clientHeight":"clientWidth",b=i.reference[g]+i.reference[f]-p[f]-i.floating[g],y=p[f]-i.reference[f],S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l));let E=S?S[_]:0;(!E||!await(a.isElement==null?void 0:a.isElement(S)))&&(E=c.floating[_]||i.floating[g]);const C=b/2-y/2,O=E/2-h[g]/2-1,D=$e(s[w],O),I=$e(s[m],O),U=D,K=E-h[g]-I,T=E/2-h[g]/2+C,H=Un(U,T,K),z=!u.arrow&&Ge(o)!=null&&T!==H&&i.reference[g]/2-(T<U?D:I)-h[g]/2<0,k=z?T<U?T-U:T-K:0;return{[f]:p[f]+k,data:{[f]:H,centerOffset:T-H-k,...z&&{alignmentOffset:k}},reset:z}}}),Mc=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:c,platform:u,elements:l}=t,{mainAxis:d=!0,crossAxis:s=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...v}=we(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const w=_e(o),m=ae(c),_=_e(c)===c,b=await(u.isRTL==null?void 0:u.isRTL(l.floating)),y=p||(_||!h?[Tt(c)]:Cc(c)),S=g!=="none";!p&&S&&y.push(...Oc(c,h,g,b));const E=[c,...y],C=await u.detectOverflow(t,v),O=[];let D=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&O.push(C[w]),s){const T=Ec(o,a,b);O.push(C[T[0]],C[T[1]])}if(D=[...D,{placement:o,overflows:O}],!O.every(T=>T<=0)){var I,U;const T=(((I=i.flip)==null?void 0:I.index)||0)+1,H=E[T];if(H&&(!(s==="alignment"?m!==ae(H):!1)||D.every(A=>ae(A.placement)===m?A.overflows[0]>0:!0)))return{data:{index:T,overflows:D},reset:{placement:H}};let z=(U=D.filter(k=>k.overflows[0]<=0).sort((k,A)=>k.overflows[1]-A.overflows[1])[0])==null?void 0:U.placement;if(!z)switch(f){case"bestFit":{var K;const k=(K=D.filter(A=>{if(S){const B=ae(A.placement);return B===m||B==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(B=>B>0).reduce((B,Fe)=>B+Fe,0)]).sort((A,B)=>A[1]-B[1])[0])==null?void 0:K[0];k&&(z=k);break}case"initialPlacement":z=c;break}if(o!==z)return{reset:{placement:z}}}return{}}}};function Bo(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Vo(e){return kc.some(t=>e[t]>=0)}const Fc=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...i}=we(e,t);switch(o){case"referenceHidden":{const a=await r.detectOverflow(t,{...i,elementContext:"reference"}),c=Bo(a,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Vo(c)}}}case"escaped":{const a=await r.detectOverflow(t,{...i,altBoundary:!0}),c=Bo(a,n.floating);return{data:{escapedOffsets:c,escaped:Vo(c)}}}default:return{}}}}},Yo=new Set(["left","top"]);async function Ic(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=_e(n),c=Ge(n),u=ae(n)==="y",l=Yo.has(a)?-1:1,d=i&&u?-1:1,s=we(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:g}=typeof s=="number"?{mainAxis:s,crossAxis:0,alignmentAxis:null}:{mainAxis:s.mainAxis||0,crossAxis:s.crossAxis||0,alignmentAxis:s.alignmentAxis};return c&&typeof g=="number"&&(f=c==="end"?g*-1:g),u?{x:f*d,y:p*l}:{x:p*l,y:f*d}}const Wc=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:c}=t,u=await Ic(t,e);return a===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:a}}}}},zc=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:i}=t,{mainAxis:a=!0,crossAxis:c=!1,limiter:u={fn:w=>{let{x:m,y:_}=w;return{x:m,y:_}}},...l}=we(e,t),d={x:n,y:r},s=await i.detectOverflow(t,l),p=ae(_e(o)),f=Bn(p);let g=d[f],h=d[p];if(a){const w=f==="y"?"top":"left",m=f==="y"?"bottom":"right",_=g+s[w],b=g-s[m];g=Un(_,g,b)}if(c){const w=p==="y"?"top":"left",m=p==="y"?"bottom":"right",_=h+s[w],b=h-s[m];h=Un(_,h,b)}const v=u.fn({...t,[f]:g,[p]:h});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[f]:a,[p]:c}}}}}},Hc=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:c=0,mainAxis:u=!0,crossAxis:l=!0}=we(e,t),d={x:n,y:r},s=ae(o),p=Bn(s);let f=d[p],g=d[s];const h=we(c,t),v=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(u){const _=p==="y"?"height":"width",b=i.reference[p]-i.floating[_]+v.mainAxis,y=i.reference[p]+i.reference[_]-v.mainAxis;f<b?f=b:f>y&&(f=y)}if(l){var w,m;const _=p==="y"?"width":"height",b=Yo.has(_e(o)),y=i.reference[s]-i.floating[_]+(b&&((w=a.offset)==null?void 0:w[s])||0)+(b?0:v.crossAxis),S=i.reference[s]+i.reference[_]+(b?0:((m=a.offset)==null?void 0:m[s])||0)-(b?v.crossAxis:0);g<y?g=y:g>S&&(g=S)}return{[p]:f,[s]:g}}}},jc=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:a,elements:c}=t,{apply:u=()=>{},...l}=we(e,t),d=await a.detectOverflow(t,l),s=_e(o),p=Ge(o),f=ae(o)==="y",{width:g,height:h}=i.floating;let v,w;s==="top"||s==="bottom"?(v=s,w=p===(await(a.isRTL==null?void 0:a.isRTL(c.floating))?"start":"end")?"left":"right"):(w=s,v=p==="end"?"top":"bottom");const m=h-d.top-d.bottom,_=g-d.left-d.right,b=$e(h-d[v],m),y=$e(g-d[w],_),S=!t.middlewareData.shift;let E=b,C=y;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(C=_),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=m),S&&!p){const D=J(d.left,0),I=J(d.right,0),U=J(d.top,0),K=J(d.bottom,0);f?C=g-2*(D!==0||I!==0?D+I:J(d.left,d.right)):E=h-2*(U!==0||K!==0?U+K:J(d.top,d.bottom))}await u({...t,availableWidth:C,availableHeight:E});const O=await a.getDimensions(c.floating);return g!==O.width||h!==O.height?{reset:{rects:!0}}:{}}}};function Nt(){return typeof window<"u"}function Qe(e){return qo(e)?(e.nodeName||"").toLowerCase():"#document"}function ee(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ce(e){var t;return(t=(qo(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function qo(e){return Nt()?e instanceof Node||e instanceof ee(e).Node:!1}function ne(e){return Nt()?e instanceof Element||e instanceof ee(e).Element:!1}function be(e){return Nt()?e instanceof HTMLElement||e instanceof ee(e).HTMLElement:!1}function Xo(e){return!Nt()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ee(e).ShadowRoot}function gt(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=re(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&o!=="inline"&&o!=="contents"}function Uc(e){return/^(table|td|th)$/.test(Qe(e))}function Lt(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Bc=/transform|translate|scale|rotate|perspective|filter/,Vc=/paint|layout|strict|content/,Le=e=>!!e&&e!=="none";let Xn;function Zn(e){const t=ne(e)?re(e):e;return Le(t.transform)||Le(t.translate)||Le(t.scale)||Le(t.rotate)||Le(t.perspective)||!Kn()&&(Le(t.backdropFilter)||Le(t.filter))||Bc.test(t.willChange||"")||Vc.test(t.contain||"")}function Yc(e){let t=Ee(e);for(;be(t)&&!Je(t);){if(Zn(t))return t;if(Lt(t))return null;t=Ee(t)}return null}function Kn(){return Xn==null&&(Xn=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Xn}function Je(e){return/^(html|body|#document)$/.test(Qe(e))}function re(e){return ee(e).getComputedStyle(e)}function Mt(e){return ne(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ee(e){if(Qe(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Xo(e)&&e.host||ce(e);return Xo(t)?t.host:t}function Zo(e){const t=Ee(e);return Je(t)?e.ownerDocument?e.ownerDocument.body:e.body:be(t)&>(t)?t:Zo(t)}function mt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Zo(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=ee(o);if(i){const c=Gn(a);return t.concat(a,a.visualViewport||[],gt(o)?o:[],c&&n?mt(c):[])}else return t.concat(o,mt(o,[],n))}function Gn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ko(e){const t=re(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=be(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,c=Ot(n)!==i||Ot(r)!==a;return c&&(n=i,r=a),{width:n,height:r,$:c}}function Qn(e){return ne(e)?e:e.contextElement}function et(e){const t=Qn(e);if(!be(t))return ie(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Ko(t);let a=(i?Ot(n.width):n.width)/r,c=(i?Ot(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}const qc=ie(0);function Go(e){const t=ee(e);return!Kn()||!t.visualViewport?qc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Xc(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ee(e)?!1:t}function Me(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Qn(e);let a=ie(1);t&&(r?ne(r)&&(a=et(r)):a=et(e));const c=Xc(i,n,r)?Go(i):ie(0);let u=(o.left+c.x)/a.x,l=(o.top+c.y)/a.y,d=o.width/a.x,s=o.height/a.y;if(i){const p=ee(i),f=r&&ne(r)?ee(r):r;let g=p,h=Gn(g);for(;h&&r&&f!==g;){const v=et(h),w=h.getBoundingClientRect(),m=re(h),_=w.left+(h.clientLeft+parseFloat(m.paddingLeft))*v.x,b=w.top+(h.clientTop+parseFloat(m.paddingTop))*v.y;u*=v.x,l*=v.y,d*=v.x,s*=v.y,u+=_,l+=b,g=ee(h),h=Gn(g)}}return Dt({width:d,height:s,x:u,y:l})}function Ft(e,t){const n=Mt(e).scrollLeft;return t?t.left+n:Me(ce(e)).left+n}function Qo(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Ft(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function Zc(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=ce(r),c=t?Lt(t.floating):!1;if(r===a||c&&i)return n;let u={scrollLeft:0,scrollTop:0},l=ie(1);const d=ie(0),s=be(r);if((s||!s&&!i)&&((Qe(r)!=="body"||gt(a))&&(u=Mt(r)),s)){const f=Me(r);l=et(r),d.x=f.x+r.clientLeft,d.y=f.y+r.clientTop}const p=a&&!s&&!i?Qo(a,u):ie(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-u.scrollLeft*l.x+d.x+p.x,y:n.y*l.y-u.scrollTop*l.y+d.y+p.y}}function Kc(e){return Array.from(e.getClientRects())}function Gc(e){const t=ce(e),n=Mt(e),r=e.ownerDocument.body,o=J(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=J(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Ft(e);const c=-n.scrollTop;return re(r).direction==="rtl"&&(a+=J(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:c}}const Jo=25;function Qc(e,t){const n=ee(e),r=ce(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,c=0,u=0;if(o){i=o.width,a=o.height;const d=Kn();(!d||d&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}const l=Ft(r);if(l<=0){const d=r.ownerDocument,s=d.body,p=getComputedStyle(s),f=d.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,g=Math.abs(r.clientWidth-s.clientWidth-f);g<=Jo&&(i-=g)}else l<=Jo&&(i+=l);return{width:i,height:a,x:c,y:u}}function Jc(e,t){const n=Me(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=be(e)?et(e):ie(1),a=e.clientWidth*i.x,c=e.clientHeight*i.y,u=o*i.x,l=r*i.y;return{width:a,height:c,x:u,y:l}}function ei(e,t,n){let r;if(t==="viewport")r=Qc(e,n);else if(t==="document")r=Gc(ce(e));else if(ne(t))r=Jc(t,n);else{const o=Go(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Dt(r)}function ti(e,t){const n=Ee(e);return n===t||!ne(n)||Je(n)?!1:re(n).position==="fixed"||ti(n,t)}function es(e,t){const n=t.get(e);if(n)return n;let r=mt(e,[],!1).filter(c=>ne(c)&&Qe(c)!=="body"),o=null;const i=re(e).position==="fixed";let a=i?Ee(e):e;for(;ne(a)&&!Je(a);){const c=re(a),u=Zn(a);!u&&c.position==="fixed"&&(o=null),(i?!u&&!o:!u&&c.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||gt(a)&&!u&&ti(e,a))?r=r.filter(d=>d!==a):o=c,a=Ee(a)}return t.set(e,r),r}function ts(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?Lt(t)?[]:es(t,this._c):[].concat(n),r],c=ei(t,a[0],o);let u=c.top,l=c.right,d=c.bottom,s=c.left;for(let p=1;p<a.length;p++){const f=ei(t,a[p],o);u=J(f.top,u),l=$e(f.right,l),d=$e(f.bottom,d),s=J(f.left,s)}return{width:l-s,height:d-u,x:s,y:u}}function ns(e){const{width:t,height:n}=Ko(e);return{width:t,height:n}}function rs(e,t,n){const r=be(t),o=ce(t),i=n==="fixed",a=Me(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const u=ie(0);function l(){u.x=Ft(o)}if(r||!r&&!i)if((Qe(t)!=="body"||gt(o))&&(c=Mt(t)),r){const f=Me(t,!0,i,t);u.x=f.x+t.clientLeft,u.y=f.y+t.clientTop}else o&&l();i&&!r&&o&&l();const d=o&&!r&&!i?Qo(o,c):ie(0),s=a.left+c.scrollLeft-u.x-d.x,p=a.top+c.scrollTop-u.y-d.y;return{x:s,y:p,width:a.width,height:a.height}}function Jn(e){return re(e).position==="static"}function ni(e,t){if(!be(e)||re(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ce(e)===n&&(n=n.ownerDocument.body),n}function ri(e,t){const n=ee(e);if(Lt(e))return n;if(!be(e)){let o=Ee(e);for(;o&&!Je(o);){if(ne(o)&&!Jn(o))return o;o=Ee(o)}return n}let r=ni(e,t);for(;r&&Uc(r)&&Jn(r);)r=ni(r,t);return r&&Je(r)&&Jn(r)&&!Zn(r)?n:r||Yc(e)||n}const os=async function(e){const t=this.getOffsetParent||ri,n=this.getDimensions,r=await n(e.floating);return{reference:rs(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function is(e){return re(e).direction==="rtl"}const as={convertOffsetParentRelativeRectToViewportRelativeRect:Zc,getDocumentElement:ce,getClippingRect:ts,getOffsetParent:ri,getElementRects:os,getClientRects:Kc,getDimensions:ns,getScale:et,isElement:ne,isRTL:is};function oi(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function cs(e,t){let n=null,r;const o=ce(e);function i(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function a(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),i();const l=e.getBoundingClientRect(),{left:d,top:s,width:p,height:f}=l;if(c||t(),!p||!f)return;const g=Rt(s),h=Rt(o.clientWidth-(d+p)),v=Rt(o.clientHeight-(s+f)),w=Rt(d),_={rootMargin:-g+"px "+-h+"px "+-v+"px "+-w+"px",threshold:J(0,$e(1,u))||1};let b=!0;function y(S){const E=S[0].intersectionRatio;if(E!==u){if(!b)return a();E?a(!1,E):r=setTimeout(()=>{a(!1,1e-7)},1e3)}E===1&&!oi(l,e.getBoundingClientRect())&&a(),b=!1}try{n=new IntersectionObserver(y,{..._,root:o.ownerDocument})}catch{n=new IntersectionObserver(y,_)}n.observe(e)}return a(!0),i}function ss(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,l=Qn(e),d=o||i?[...l?mt(l):[],...t?mt(t):[]]:[];d.forEach(w=>{o&&w.addEventListener("scroll",n,{passive:!0}),i&&w.addEventListener("resize",n)});const s=l&&c?cs(l,n):null;let p=-1,f=null;a&&(f=new ResizeObserver(w=>{let[m]=w;m&&m.target===l&&f&&t&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var _;(_=f)==null||_.observe(t)})),n()}),l&&!u&&f.observe(l),t&&f.observe(t));let g,h=u?Me(e):null;u&&v();function v(){const w=Me(e);h&&!oi(h,w)&&n(),h=w,g=requestAnimationFrame(v)}return n(),()=>{var w;d.forEach(m=>{o&&m.removeEventListener("scroll",n),i&&m.removeEventListener("resize",n)}),s==null||s(),(w=f)==null||w.disconnect(),f=null,u&&cancelAnimationFrame(g)}}const ls=Wc,us=zc,ds=Mc,fs=jc,ps=Fc,ii=Lc,hs=Hc,vs=(e,t,n)=>{const r=new Map,o={platform:as,...n},i={...o.platform,_c:r};return Nc(e,t,{...o,platform:i})};var It=typeof document<"u"?ve:W;function Wt(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(!Wt(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)&&!Wt(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function ai(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ci(e,t){const n=ai(e);return Math.round(t*n)/n}function si(e){const t=N(e);return It(()=>{t.current=e}),t}function gs(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:c=!0,whileElementsMounted:u,open:l}=e,[d,s]=L({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=L(r);Wt(p,r)||f(r);const[g,h]=L(null),[v,w]=L(null),m=q(k=>{k!==S.current&&(S.current=k,h(k))},[]),_=q(k=>{k!==E.current&&(E.current=k,w(k))},[]),b=i||g,y=a||v,S=N(null),E=N(null),C=N(d),O=u!=null,D=si(u),I=si(o),U=q(()=>{if(!S.current||!E.current)return;const k={placement:t,strategy:n,middleware:p};I.current&&(k.platform=I.current),vs(S.current,E.current,k).then(A=>{const B={...A,isPositioned:!0};K.current&&!Wt(C.current,B)&&(C.current=B,vt(()=>{s(B)}))})},[p,t,n,I]);It(()=>{l===!1&&C.current.isPositioned&&(C.current.isPositioned=!1,s(k=>({...k,isPositioned:!1})))},[l]);const K=N(!1);It(()=>(K.current=!0,()=>{K.current=!1}),[]),It(()=>{if(b&&(S.current=b),y&&(E.current=y),b&&y){if(D.current)return D.current(b,y,U);U()}},[b,y,U,D,O]);const T=Q(()=>({reference:S,floating:E,setReference:m,setFloating:_}),[m,_]),H=Q(()=>({reference:b,floating:y}),[b,y]),z=Q(()=>{const k={position:n,left:0,top:0};if(!H.floating)return k;const A=ci(H.floating,d.x),B=ci(H.floating,d.y);return c?{...k,transform:"translate("+A+"px, "+B+"px)",...ai(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:A,top:B}},[n,c,H.floating,d.x,d.y]);return Q(()=>({...d,update:U,refs:T,elements:H,floatingStyles:z}),[d,U,T,H,z])}const ms=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?ii({element:r.current,padding:o}).fn(n):{}:r?ii({element:r,padding:o}).fn(n):{}}}},ws=(e,t)=>({...ls(e),options:[e,t]}),_s=(e,t)=>({...us(e),options:[e,t]}),bs=(e,t)=>({...hs(e),options:[e,t]}),ys=(e,t)=>({...ds(e),options:[e,t]}),xs=(e,t)=>({...fs(e),options:[e,t]}),ks=(e,t)=>({...ps(e),options:[e,t]}),$s=(e,t)=>({...ms(e),options:[e,t]});function Es(e){const[t,n]=L(void 0);return Ke(()=>{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,c;if("borderBoxSize"in i){const u=i.borderBoxSize,l=Array.isArray(u)?u[0]:u;a=l.inlineSize,c=l.blockSize}else a=e.offsetWidth,c=e.offsetHeight;n({width:a,height:c})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const li="Popper",[ui,di]=Oo(li),[Cs,fi]=ui(li),Ss=e=>{const{__scopePopper:t,children:n}=e,[r,o]=L(null);return x(Cs,{scope:t,anchor:r,onAnchorChange:o},n)},Ps="PopperAnchor",As=Z((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=fi(Ps,n),a=N(null),c=Ne(t,a);return W(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:x(Ze.div,X({},o,{ref:c}))}),pi="PopperContent",[Os,Pu]=ui(pi),Rs=Z((e,t)=>{var n,r,o,i,a,c,u,l;const{__scopePopper:d,side:s="bottom",sideOffset:p=0,align:f="center",alignOffset:g=0,arrowPadding:h=0,avoidCollisions:v=!0,collisionBoundary:w=[],collisionPadding:m=0,sticky:_="partial",hideWhenDetached:b=!1,updatePositionStrategy:y="optimized",onPlaced:S,...E}=e,C=fi(pi,d),[O,D]=L(null),I=Ne(t,bt=>D(bt)),[U,K]=L(null),T=Es(U),H=(n=T==null?void 0:T.width)!==null&&n!==void 0?n:0,z=(r=T==null?void 0:T.height)!==null&&r!==void 0?r:0,k=s+(f!=="center"?"-"+f:""),A=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},B=Array.isArray(w)?w:[w],Fe=B.length>0,Y={padding:A,boundary:B.filter(Ts),altBoundary:Fe},{refs:_t,floatingStyles:Ie,placement:Ce,isPositioned:at,middlewareData:Se}=gs({strategy:"fixed",placement:k,whileElementsMounted:(...bt)=>ss(...bt,{animationFrame:y==="always"}),elements:{reference:C.anchor},middleware:[ws({mainAxis:p+z,alignmentAxis:g}),v&&_s({mainAxis:!0,crossAxis:!1,limiter:_==="partial"?bs():void 0,...Y}),v&&ys({...Y}),xs({...Y,apply:({elements:bt,rects:Ui,availableWidth:ku,availableHeight:$u})=>{const{width:Eu,height:Cu}=Ui.reference,en=bt.floating.style;en.setProperty("--radix-popper-available-width",`${ku}px`),en.setProperty("--radix-popper-available-height",`${$u}px`),en.setProperty("--radix-popper-anchor-width",`${Eu}px`),en.setProperty("--radix-popper-anchor-height",`${Cu}px`)}}),U&&$s({element:U,padding:h}),Ds({arrowWidth:H,arrowHeight:z}),b&&ks({strategy:"referenceHidden",...Y})]}),[ji,mu]=hi(Ce),Jt=xe(S);Ke(()=>{at&&(Jt==null||Jt())},[at,Jt]);const wu=(o=Se.arrow)===null||o===void 0?void 0:o.x,_u=(i=Se.arrow)===null||i===void 0?void 0:i.y,bu=((a=Se.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[yu,xu]=L();return Ke(()=>{O&&xu(window.getComputedStyle(O).zIndex)},[O]),x("div",{ref:_t.setFloating,"data-radix-popper-content-wrapper":"",style:{...Ie,transform:at?Ie.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:yu,"--radix-popper-transform-origin":[(c=Se.transformOrigin)===null||c===void 0?void 0:c.x,(u=Se.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:e.dir},x(Os,{scope:d,placedSide:ji,onArrowChange:K,arrowX:wu,arrowY:_u,shouldHideArrow:bu},x(Ze.div,X({"data-side":ji,"data-align":mu},E,{ref:I,style:{...E.style,animation:at?void 0:"none",opacity:(l=Se.hide)!==null&&l!==void 0&&l.referenceHidden?0:void 0}}))))});function Ts(e){return e!==null}const Ds=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:c,rects:u,middlewareData:l}=t,s=((n=l.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=s?0:e.arrowWidth,f=s?0:e.arrowHeight,[g,h]=hi(c),v={start:"0%",center:"50%",end:"100%"}[h],w=((r=(o=l.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,m=((i=(a=l.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+f/2;let _="",b="";return g==="bottom"?(_=s?v:`${w}px`,b=`${-f}px`):g==="top"?(_=s?v:`${w}px`,b=`${u.floating.height+f}px`):g==="right"?(_=`${-f}px`,b=s?v:`${m}px`):g==="left"&&(_=`${u.floating.width+f}px`,b=s?v:`${m}px`),{data:{x:_,y:b}}}});function hi(e){const[t,n="center"]=e.split("-");return[t,n]}const Ns=Ss,Ls=As,Ms=Rs,Fs=Z((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Po.createPortal(x(Ze.div,X({},o,{ref:t})),r):null});function Is(e,t){return ft((n,r)=>{const o=t[n][r];return o??n},e)}const er=e=>{const{present:t,children:n}=e,r=Ws(t),o=typeof n=="function"?n({present:r.isPresent}):ge.only(n),i=Ne(r.ref,o.ref);return typeof n=="function"||r.isPresent?Xe(o,{ref:i}):null};er.displayName="Presence";function Ws(e){const[t,n]=L(),r=N({}),o=N(e),i=N("none"),a=e?"mounted":"unmounted",[c,u]=Is(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return W(()=>{const l=zt(r.current);i.current=c==="mounted"?l:"none"},[c]),Ke(()=>{const l=r.current,d=o.current;if(d!==e){const p=i.current,f=zt(l);e?u("MOUNT"):f==="none"||(l==null?void 0:l.display)==="none"?u("UNMOUNT"):u(d&&p!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),Ke(()=>{if(t){const l=s=>{const f=zt(r.current).includes(s.animationName);s.target===t&&f&&vt(()=>u("ANIMATION_END"))},d=s=>{s.target===t&&(i.current=zt(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",l),t.addEventListener("animationend",l),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",l),t.removeEventListener("animationend",l)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:q(l=>{l&&(r.current=getComputedStyle(l)),n(l)},[])}}function zt(e){return(e==null?void 0:e.animationName)||"none"}function zs({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=Hs({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,c=xe(n),u=q(l=>{if(i){const s=typeof l=="function"?l(e):l;s!==e&&c(s)}else o(l)},[i,e,o,c]);return[a,u]}function Hs({defaultProp:e,onChange:t}){const n=L(e),[r]=n,o=N(r),i=xe(t);return W(()=>{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},tt=new WeakMap,Ht=new WeakMap,jt={},tr=0,vi=function(e){return e&&(e.host||vi(e.parentNode))},Us=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=vi(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})},Bs=function(e,t,n,r){var o=Us(t,Array.isArray(e)?e:[e]);jt[n]||(jt[n]=new WeakMap);var i=jt[n],a=[],c=new Set,u=new Set(o),l=function(s){!s||c.has(s)||(c.add(s),l(s.parentNode))};o.forEach(l);var d=function(s){!s||u.has(s)||Array.prototype.forEach.call(s.children,function(p){if(c.has(p))d(p);else try{var f=p.getAttribute(r),g=f!==null&&f!=="false",h=(tt.get(p)||0)+1,v=(i.get(p)||0)+1;tt.set(p,h),i.set(p,v),a.push(p),h===1&&g&&Ht.set(p,!0),v===1&&p.setAttribute(n,"true"),g||p.setAttribute(r,"true")}catch(w){console.error("aria-hidden: cannot operate on ",p,w)}})};return d(t),c.clear(),tr++,function(){a.forEach(function(s){var p=tt.get(s)-1,f=i.get(s)-1;tt.set(s,p),i.set(s,f),p||(Ht.has(s)||s.removeAttribute(r),Ht.delete(s)),f||s.removeAttribute(n)}),tr--,tr||(tt=new WeakMap,tt=new WeakMap,Ht=new WeakMap,jt={})}},Vs=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], script"))),Bs(r,o,n,"aria-hidden")):function(){return null}},se=function(){return se=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},se.apply(this,arguments)};function gi(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 Ys(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 Ut="right-scroll-bar-position",Bt="width-before-scroll-bar",qs="with-scroll-bars-hidden",Xs="--removed-body-scroll-bar-size";function nr(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Zs(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 Ks=typeof window<"u"?ve:W,mi=new WeakMap;function Gs(e,t){var n=Zs(t||null,function(r){return e.forEach(function(o){return nr(o,r)})});return Ks(function(){var r=mi.get(n);if(r){var o=new Set(r),i=new Set(e),a=n.current;o.forEach(function(c){i.has(c)||nr(c,null)}),i.forEach(function(c){o.has(c)||nr(c,a)})}mi.set(n,e)},[e]),n}function Qs(e){return e}function Js(e,t){t===void 0&&(t=Qs);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(c){return c!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(c){return i(c)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var c=n;n=[],c.forEach(i),a=n}var u=function(){var d=a;a=[],d.forEach(i)},l=function(){return Promise.resolve().then(u)};l(),n={push:function(d){a.push(d),l()},filter:function(d){return a=a.filter(d),n}}}};return o}function el(e){e===void 0&&(e={});var t=Js(null);return t.options=se({async:!0,ssr:!1},e),t}var wi=function(e){var t=e.sideCar,n=gi(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return x(r,se({},n))};wi.isSideCarExport=!0;function tl(e,t){return e.useMedium(t),wi}var _i=el(),rr=function(){},Vt=Z(function(e,t){var n=N(null),r=L({onScrollCapture:rr,onWheelCapture:rr,onTouchMoveCapture:rr}),o=r[0],i=r[1],a=e.forwardProps,c=e.children,u=e.className,l=e.removeScrollBar,d=e.enabled,s=e.shards,p=e.sideCar,f=e.noIsolation,g=e.inert,h=e.allowPinchZoom,v=e.as,w=v===void 0?"div":v,m=gi(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),_=p,b=Gs([n,t]),y=se(se({},m),o);return x(V,null,d&&x(_,{sideCar:_i,removeScrollBar:l,shards:s,noIsolation:f,inert:g,setCallbacks:i,allowPinchZoom:!!h,lockRef:n}),a?Xe(ge.only(c),se(se({},y),{ref:b})):x(w,se({},y,{className:u,ref:b}),c))});Vt.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Vt.classNames={fullWidth:Bt,zeroRight:Ut};var bi,nl=function(){if(bi)return bi;if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function rl(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=nl();return t&&e.setAttribute("nonce",t),e}function ol(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function il(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var al=function(){var e=0,t=null;return{add:function(n){e==0&&(t=rl())&&(ol(t,n),il(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},cl=function(){var e=al();return function(t,n){W(function(){return e.add(t),function(){e.remove()}},[t&&n])}},yi=function(){var e=cl(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},sl={left:0,top:0,right:0,gap:0},or=function(e){return parseInt(e||"",10)||0},ll=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[or(n),or(r),or(o)]},ul=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return sl;var t=ll(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])}},dl=yi(),nt="data-scroll-locked",fl=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,c=e.gap;return n===void 0&&(n="margin"),`
|
|
2
|
+
.`.concat(qs,` {
|
|
3
3
|
overflow: hidden `).concat(r,`;
|
|
4
4
|
padding-right: `).concat(c,"px ").concat(r,`;
|
|
5
5
|
}
|
|
6
|
-
body[`).concat(
|
|
6
|
+
body[`).concat(nt,`] {
|
|
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(c,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.`).concat(
|
|
19
|
+
.`).concat(Ut,` {
|
|
20
20
|
right: `).concat(c,"px ").concat(r,`;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.`).concat(
|
|
23
|
+
.`).concat(Bt,` {
|
|
24
24
|
margin-right: `).concat(c,"px ").concat(r,`;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.`).concat(
|
|
27
|
+
.`).concat(Ut," .").concat(Ut,` {
|
|
28
28
|
right: 0 `).concat(r,`;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.`).concat(
|
|
31
|
+
.`).concat(Bt," .").concat(Bt,` {
|
|
32
32
|
margin-right: 0 `).concat(r,`;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
body[`).concat(
|
|
36
|
-
`).concat(
|
|
35
|
+
body[`).concat(nt,`] {
|
|
36
|
+
`).concat(Xs,": ").concat(c,`px;
|
|
37
37
|
}
|
|
38
|
-
`)},
|
|
38
|
+
`)},xi=function(){var e=parseInt(document.body.getAttribute(nt)||"0",10);return isFinite(e)?e:0},pl=function(){W(function(){return document.body.setAttribute(nt,(xi()+1).toString()),function(){var e=xi()-1;e<=0?document.body.removeAttribute(nt):document.body.setAttribute(nt,e.toString())}},[])},hl=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;pl();var i=Q(function(){return ul(o)},[o]);return x(dl,{styles:fl(i,!t,o,n?"":"!important")})},ir=!1;if(typeof window<"u")try{var Yt=Object.defineProperty({},"passive",{get:function(){return ir=!0,!0}});window.addEventListener("test",Yt,Yt),window.removeEventListener("test",Yt,Yt)}catch{ir=!1}var rt=ir?{passive:!1}:!1,vl=function(e){return e.tagName==="TEXTAREA"},ki=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!vl(e)&&n[t]==="visible")},gl=function(e){return ki(e,"overflowY")},ml=function(e){return ki(e,"overflowX")},$i=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Ei(e,n);if(r){var o=Ci(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},wl=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},_l=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Ei=function(e,t){return e==="v"?gl(t):ml(t)},Ci=function(e,t){return e==="v"?wl(t):_l(t)},bl=function(e,t){return e==="h"&&t==="rtl"?-1:1},yl=function(e,t,n,r,o){var i=bl(e,window.getComputedStyle(t).direction),a=i*r,c=n.target,u=t.contains(c),l=!1,d=a>0,s=0,p=0;do{var f=Ci(e,c),g=f[0],h=f[1],v=f[2],w=h-v-i*g;(g||w)&&Ei(e,c)&&(s+=w,p+=g),c=c.parentNode}while(!u&&c!==document.body||u&&(t.contains(c)||t===c));return(d&&(o&&s===0||!o&&a>s)||!d&&(o&&p===0||!o&&-a>p))&&(l=!0),l},qt=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Si=function(e){return[e.deltaX,e.deltaY]},Pi=function(e){return e&&"current"in e?e.current:e},xl=function(e,t){return e[0]===t[0]&&e[1]===t[1]},kl=function(e){return`
|
|
39
39
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
40
40
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
41
|
-
`)},gl=0,nt=[];function ml(e){var t=R([]),n=R([0,0]),r=R(),o=L(gl++)[0],i=L(function(){return fi()})[0],a=R(e);I(function(){a.current=e},[e]),I(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var h=Is([e.lockRef.current],(e.shards||[]).map(_i),!0).filter(Boolean);return h.forEach(function(v){return v.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=Z(function(h,v){if("touches"in h&&h.touches.length===2)return!a.current.allowPinchZoom;var w=Yt(h),g=n.current,_="deltaX"in h?h.deltaX:g[0]-w[0],b="deltaY"in h?h.deltaY:g[1]-w[1],y,C=h.target,P=Math.abs(_)>Math.abs(b)?"h":"v";if("touches"in h&&P==="h"&&C.type==="range")return!1;var E=vi(P,C);if(!E)return!0;if(E?y=P:(y=P==="v"?"h":"v",E=vi(P,C)),!E)return!1;if(!r.current&&"changedTouches"in h&&(_||b)&&(r.current=y),!y)return!0;var A=r.current||y;return pl(A,v,h,A==="h"?_:b,!0)},[]),u=Z(function(h){var v=h;if(!(!nt.length||nt[nt.length-1]!==i)){var w="deltaY"in v?wi(v):Yt(v),g=t.current.filter(function(y){return y.name===v.type&&y.target===v.target&&hl(y.delta,w)})[0];if(g&&g.should){v.cancelable&&v.preventDefault();return}if(!g){var _=(a.current.shards||[]).map(_i).filter(Boolean).filter(function(y){return y.contains(v.target)}),b=_.length>0?c(v,_[0]):!a.current.noIsolation;b&&v.cancelable&&v.preventDefault()}}},[]),s=Z(function(h,v,w,g){var _={name:h,delta:v,target:w,should:g};t.current.push(_),setTimeout(function(){t.current=t.current.filter(function(b){return b!==_})},1)},[]),d=Z(function(h){n.current=Yt(h),r.current=void 0},[]),l=Z(function(h){s(h.type,wi(h),h.target,c(h,e.lockRef.current))},[]),p=Z(function(h){s(h.type,Yt(h),h.target,c(h,e.lockRef.current))},[]);I(function(){return nt.push(i),e.setCallbacks({onScrollCapture:l,onWheelCapture:l,onTouchMoveCapture:p}),document.addEventListener("wheel",u,tt),document.addEventListener("touchmove",u,tt),document.addEventListener("touchstart",d,tt),function(){nt=nt.filter(function(h){return h!==i}),document.removeEventListener("wheel",u,tt),document.removeEventListener("touchmove",u,tt),document.removeEventListener("touchstart",d,tt)}},[]);var f=e.removeScrollBar,m=e.inert;return x(B,null,m?x(i,{styles:vl(o)}):null,f?x(al,{gapMode:"margin"}):null)}const wl=Zs(ui,ml);var bi=q(function(e,t){return x(Bt,ce({},e,{ref:t,sideCar:wl}))});bi.classNames=Bt.classNames;const _l=bi,yi="Popover",[xi,yu]=$o(yi,[ni]),er=ni(),[bl,rt]=xi(yi),yl=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,c=er(t),u=R(null),[s,d]=L(!1),[l=!1,p]=Ds({prop:r,defaultProp:o,onChange:i});return x(Ss,c,x(bl,{scope:t,contentId:lc(),triggerRef:u,open:l,onOpenChange:p,onOpenToggle:Z(()=>p(f=>!f),[p]),hasCustomAnchor:s,onCustomAnchorAdd:Z(()=>d(!0),[]),onCustomAnchorRemove:Z(()=>d(!1),[]),modal:a},n))},xl="PopoverTrigger",kl=q((e,t)=>{const{__scopePopover:n,...r}=e,o=rt(xl,n),i=er(n),a=De(t,o.triggerRef),c=x(Ze.button,X({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Ei(o.open)},r,{ref:a,onClick:Te(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?c:x(Cs,X({asChild:!0},i),c)}),ki="PopoverPortal",[$l,El]=xi(ki,{forceMount:void 0}),Sl=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=rt(ki,t);return x($l,{scope:t,forceMount:n},x(Xn,{present:n||i.open},x(As,{asChild:!0,container:o},r)))},wt="PopoverContent",Cl=q((e,t)=>{const n=El(wt,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=rt(wt,e.__scopePopover);return x(Xn,{present:r||i.open},i.modal?x(Pl,X({},o,{ref:t})):x(Al,X({},o,{ref:t})))}),Pl=q((e,t)=>{const n=rt(wt,e.__scopePopover),r=R(null),o=De(t,r),i=R(!1);return I(()=>{const a=r.current;if(a)return Fs(a)},[]),x(_l,{as:Dn,allowPinchZoom:!0},x($i,X({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Te(e.onCloseAutoFocus,a=>{var c;a.preventDefault(),i.current||(c=n.triggerRef.current)===null||c===void 0||c.focus()}),onPointerDownOutside:Te(e.onPointerDownOutside,a=>{const c=a.detail.originalEvent,u=c.button===0&&c.ctrlKey===!0,s=c.button===2||u;i.current=s},{checkForDefaultPrevented:!1}),onFocusOutside:Te(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),Al=q((e,t)=>{const n=rt(wt,e.__scopePopover),r=R(!1),o=R(!1);return x($i,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 c;r.current||(c=n.triggerRef.current)===null||c===void 0||c.focus(),i.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:i=>{var a,c;(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 u=i.target;((c=n.triggerRef.current)===null||c===void 0?void 0:c.contains(u))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),$i=q((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:s,onInteractOutside:d,...l}=e,p=rt(wt,n),f=er(n);return Ja(),x(ec,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},x(Ka,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:d,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:s,onDismiss:()=>p.onOpenChange(!1)},x(Ps,X({"data-state":Ei(p.open),role:"dialog",id:p.contentId},f,l,{ref:t,style:{...l.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function Ei(e){return e?"open":"closed"}const Ol=yl,Tl=kl,Dl=Sl,Rl=Cl;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 Nl(){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}function Ci(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Ci(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function tr(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Ci(e))&&(r&&(r+=" "),r+=t);return r}const Pi=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,Ll=e=>{const t=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var c,u;return typeof(e==null||(c=e.hooks)===null||c===void 0?void 0:c["cx:done"])<"u"?e==null?void 0:e.hooks["cx:done"](tr(i)):typeof(e==null||(u=e.hooks)===null||u===void 0?void 0:u.onComplete)<"u"?e==null?void 0:e.hooks.onComplete(tr(i)):tr(i)};return{compose:function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return c=>{const u=Object.fromEntries(Object.entries(c||{}).filter(s=>{let[d]=s;return!["class","className"].includes(d)}));return t(i.map(s=>s(u)),c==null?void 0:c.class,c==null?void 0:c.className)}},cva:o=>i=>{var a;if((o==null?void 0:o.variants)==null)return t(o==null?void 0:o.base,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:c,defaultVariants:u}=o,s=Object.keys(c).map(p=>{const f=i==null?void 0:i[p],m=u==null?void 0:u[p],h=Pi(f)||Pi(m);return c[p][h]}),d={...u,...i&&Object.entries(i).reduce((p,f)=>{let[m,h]=f;return typeof h>"u"?p:{...p,[m]:h}},{})},l=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,f)=>{let{class:m,className:h,...v}=f;return Object.entries(v).every(w=>{let[g,_]=w;const b=d[g];return Array.isArray(_)?_.includes(b):b===_})?[...p,m,h]:p},[]);return t(o==null?void 0:o.base,s,l,i==null?void 0:i.class,i==null?void 0:i.className)},cx:t}},{compose:xu,cva:Ml,cx:ku}=Ll(),Zt="inploi-feedback";var Fl=["other","few","many","two","one","zero"],Ai=({terms:e,overrides:t,locale:n})=>{const r=new Intl.PluralRules(n);function o(i,a){const c=(t==null?void 0:t[i])??e[i];switch(typeof c){case"string":return c.replace(/{{(\w+)}}/g,(u,s)=>{var d;return((d=a==null?void 0:a[s])==null?void 0:d.toString())??""});case"object":{if(typeof(a==null?void 0:a.count)!="number")throw new Error(`Missing count for translation key “${i.toString()}”`);let u=r.select(a.count);if(!(u in c)){const s=Fl.find(d=>d in c);if(!s)throw new Error(`Missing plural rule for translation key “${i.toString()}”`);u=s}return c[u].replace(/{{(\w+)}}/g,(s,d)=>{var l;return((l=a==null?void 0:a[d])==null?void 0:l.toString())??""})}default:throw new Error(`Invalid translation value in dictionary for key “${i.toString()}”.`)}}return o},Oi=We(null),Il=e=>({defaultTerms:e,TranslationProvider:({terms:t,children:n,locale:r})=>{const o=G(()=>Ai({locale:r,terms:e,overrides:t}),[t,r]);return S(Oi.Provider,{value:{t:o,locale:r},children:n})},useTranslation:()=>{const t=Be(Oi);if(t===null)throw new Error("Please wrap useTranslation in a TranslationProvider");return{t:t.t,locale:t.locale}},createTFunction:({overrides:t,locale:n})=>Ai({terms:e,overrides:t,locale:n})});const{TranslationProvider:Wl,createTFunction:$u,useTranslation:Ti}=Il({a11y_label:"How was your experience?",positive_heading:"Thanks!",negative_heading:"We’re sorry to hear that",positive_text:"Would you like to tell us more about your experience?",negative_text:"Would you like to tell us more about your experience?",submit:"Send feedback",submitting:"Sending feedback...",skip:"No, thanks",submitted_heading:"Thank you!",submitted_text:"Your feedback has been sent and will be used to improve our products."});var zl=["1","2","3","4","5","6","7","8","9","10","11","12"],Hl={light:{1:[98.8,.015],2:[97.8,.018],3:[95.8,.025],4:[92,.04],5:[89,.05],6:[85,.07],7:[80.5,.08],8:[74,.11],9:[60,.22],10:[56,.23],11:[50,.19],12:[25,.18]},dark:{1:[19,.015],2:[21,.018],3:[25.5,.055],4:[29.3,.084],5:[33.5,.098],6:[39.05,.107],7:[45,.11],8:[55,.13],9:[60,.22],10:[67,.18],11:[79.3,.12],12:[95,.04]}},jl=(e,t=1,n)=>r=>{const[o,i]=Hl[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},Xt=e=>{const t=jl(e.hue,e.chroma,e.mode);return Object.fromEntries(zl.map(n=>[e.prefix+n,e.transform(t(n))]))},qt=e=>e,Ul=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)},Kt=e=>!!e&&typeof e=="object"&&!Array.isArray(e),nr=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Kt(e)&&Kt(n))for(const r in n){const o=n[r];if(Kt(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];Kt(i)&&nr(i,o)}else Object.assign(e,{[r]:n[r]})}return nr(e,...t)},Bl=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},Vl=()=>({core:e=>({semantic:t=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),c=e({theme:o}),u=t({theme:o,core:a,raw:{core:c}}),s=n({theme:o,core:a,semantic:a,raw:{core:c,semantic:u}}),d=Ul(nr(c,u,s)),l=([p,f],m)=>{const h=[m,p].filter(Boolean).join(".");return typeof f=="object"?Object.entries(f).flatMap(v=>l(v,h)):[[r.getToken("declaration",h),f]]};return{values:d,declarations:Object.fromEntries(Object.entries(d).flatMap(p=>l(p))),ref:p=>i("reference",p.toString())}}})})})});const[rr,or,Yl]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],Zl=Vl().core(({theme:e})=>({color:{transparent:Yl,black:rr,white:or,lowest:e.mode==="light"?or:rr,highest:e.mode==="light"?rr:or,...Xt({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:qt}),...Xt({prefix:"n-",hue:e.accent.hue,chroma:.05,mode:e.mode,transform:qt}),...Xt({prefix:"p-",hue:e.positive.hue,chroma:e.positive.chroma,mode:e.mode,transform:qt}),...Xt({prefix:"e-",hue:e.negative.hue,chroma:e.negative.chroma,mode:e.mode,transform:qt})},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(()=>({})),Xl=Bl({prefix:"i-"}),ql=e=>{const t=Zl.from({theme:e.theme,getToken:Xl}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`[data-widget="${Zt}"][data-key="${e.key}"] {
|
|
41
|
+
`)},$l=0,ot=[];function El(e){var t=N([]),n=N([0,0]),r=N(),o=L($l++)[0],i=L(function(){return yi()})[0],a=N(e);W(function(){a.current=e},[e]),W(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var h=Ys([e.lockRef.current],(e.shards||[]).map(Pi),!0).filter(Boolean);return h.forEach(function(v){return v.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=q(function(h,v){if("touches"in h&&h.touches.length===2)return!a.current.allowPinchZoom;var w=qt(h),m=n.current,_="deltaX"in h?h.deltaX:m[0]-w[0],b="deltaY"in h?h.deltaY:m[1]-w[1],y,S=h.target,E=Math.abs(_)>Math.abs(b)?"h":"v";if("touches"in h&&E==="h"&&S.type==="range")return!1;var C=$i(E,S);if(!C)return!0;if(C?y=E:(y=E==="v"?"h":"v",C=$i(E,S)),!C)return!1;if(!r.current&&"changedTouches"in h&&(_||b)&&(r.current=y),!y)return!0;var O=r.current||y;return yl(O,v,h,O==="h"?_:b,!0)},[]),u=q(function(h){var v=h;if(!(!ot.length||ot[ot.length-1]!==i)){var w="deltaY"in v?Si(v):qt(v),m=t.current.filter(function(y){return y.name===v.type&&y.target===v.target&&xl(y.delta,w)})[0];if(m&&m.should){v.cancelable&&v.preventDefault();return}if(!m){var _=(a.current.shards||[]).map(Pi).filter(Boolean).filter(function(y){return y.contains(v.target)}),b=_.length>0?c(v,_[0]):!a.current.noIsolation;b&&v.cancelable&&v.preventDefault()}}},[]),l=q(function(h,v,w,m){var _={name:h,delta:v,target:w,should:m};t.current.push(_),setTimeout(function(){t.current=t.current.filter(function(b){return b!==_})},1)},[]),d=q(function(h){n.current=qt(h),r.current=void 0},[]),s=q(function(h){l(h.type,Si(h),h.target,c(h,e.lockRef.current))},[]),p=q(function(h){l(h.type,qt(h),h.target,c(h,e.lockRef.current))},[]);W(function(){return ot.push(i),e.setCallbacks({onScrollCapture:s,onWheelCapture:s,onTouchMoveCapture:p}),document.addEventListener("wheel",u,rt),document.addEventListener("touchmove",u,rt),document.addEventListener("touchstart",d,rt),function(){ot=ot.filter(function(h){return h!==i}),document.removeEventListener("wheel",u,rt),document.removeEventListener("touchmove",u,rt),document.removeEventListener("touchstart",d,rt)}},[]);var f=e.removeScrollBar,g=e.inert;return x(V,null,g?x(i,{styles:kl(o)}):null,f?x(hl,{gapMode:"margin"}):null)}const Cl=tl(_i,El);var Ai=Z(function(e,t){return x(Vt,se({},e,{ref:t,sideCar:Cl}))});Ai.classNames=Vt.classNames;const Sl=Ai,Oi="Popover",[Ri,Au]=Oo(Oi,[di]),ar=di(),[Pl,it]=Ri(Oi),Al=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,c=ar(t),u=N(null),[l,d]=L(!1),[s=!1,p]=zs({prop:r,defaultProp:o,onChange:i});return x(Ns,c,x(Pl,{scope:t,contentId:xc(),triggerRef:u,open:s,onOpenChange:p,onOpenToggle:q(()=>p(f=>!f),[p]),hasCustomAnchor:l,onCustomAnchorAdd:q(()=>d(!0),[]),onCustomAnchorRemove:q(()=>d(!1),[]),modal:a},n))},Ol="PopoverTrigger",Rl=Z((e,t)=>{const{__scopePopover:n,...r}=e,o=it(Ol,n),i=ar(n),a=Ne(t,o.triggerRef),c=x(Ze.button,X({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Ni(o.open)},r,{ref:a,onClick:De(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?c:x(Ls,X({asChild:!0},i),c)}),Ti="PopoverPortal",[Tl,Dl]=Ri(Ti,{forceMount:void 0}),Nl=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=it(Ti,t);return x(Tl,{scope:t,forceMount:n},x(er,{present:n||i.open},x(Fs,{asChild:!0,container:o},r)))},wt="PopoverContent",Ll=Z((e,t)=>{const n=Dl(wt,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=it(wt,e.__scopePopover);return x(er,{present:r||i.open},i.modal?x(Ml,X({},o,{ref:t})):x(Fl,X({},o,{ref:t})))}),Ml=Z((e,t)=>{const n=it(wt,e.__scopePopover),r=N(null),o=Ne(t,r),i=N(!1);return W(()=>{const a=r.current;if(a)return Vs(a)},[]),x(Sl,{as:Fn,allowPinchZoom:!0},x(Di,X({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:De(e.onCloseAutoFocus,a=>{var c;a.preventDefault(),i.current||(c=n.triggerRef.current)===null||c===void 0||c.focus()}),onPointerDownOutside:De(e.onPointerDownOutside,a=>{const c=a.detail.originalEvent,u=c.button===0&&c.ctrlKey===!0,l=c.button===2||u;i.current=l},{checkForDefaultPrevented:!1}),onFocusOutside:De(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),Fl=Z((e,t)=>{const n=it(wt,e.__scopePopover),r=N(!1),o=N(!1);return x(Di,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 c;r.current||(c=n.triggerRef.current)===null||c===void 0||c.focus(),i.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:i=>{var a,c;(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 u=i.target;((c=n.triggerRef.current)===null||c===void 0?void 0:c.contains(u))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),Di=Z((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:l,onInteractOutside:d,...s}=e,p=it(wt,n),f=ar(n);return fc(),x(pc,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},x(lc,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:d,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:l,onDismiss:()=>p.onOpenChange(!1)},x(Ms,X({"data-state":Ni(p.open),role:"dialog",id:p.contentId},f,s,{ref:t,style:{...s.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 Ni(e){return e?"open":"closed"}const Il=Al,Wl=Rl,zl=Nl,Hl=Ll;function Li(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=Li(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function jl(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Li(e))&&(r&&(r+=" "),r+=t);return r}function Mi(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Mi(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function cr(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Mi(e))&&(r&&(r+=" "),r+=t);return r}const Fi=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,Ul=e=>{const t=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var c,u;return typeof(e==null||(c=e.hooks)===null||c===void 0?void 0:c["cx:done"])<"u"?e==null?void 0:e.hooks["cx:done"](cr(i)):typeof(e==null||(u=e.hooks)===null||u===void 0?void 0:u.onComplete)<"u"?e==null?void 0:e.hooks.onComplete(cr(i)):cr(i)};return{compose:function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return c=>{const u=Object.fromEntries(Object.entries(c||{}).filter(l=>{let[d]=l;return!["class","className"].includes(d)}));return t(i.map(l=>l(u)),c==null?void 0:c.class,c==null?void 0:c.className)}},cva:o=>i=>{var a;if((o==null?void 0:o.variants)==null)return t(o==null?void 0:o.base,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:c,defaultVariants:u}=o,l=Object.keys(c).map(p=>{const f=i==null?void 0:i[p],g=u==null?void 0:u[p],h=Fi(f)||Fi(g);return c[p][h]}),d={...u,...i&&Object.entries(i).reduce((p,f)=>{let[g,h]=f;return typeof h>"u"?p:{...p,[g]:h}},{})},s=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,f)=>{let{class:g,className:h,...v}=f;return Object.entries(v).every(w=>{let[m,_]=w;const b=d[m];return Array.isArray(_)?_.includes(b):b===_})?[...p,g,h]:p},[]);return t(o==null?void 0:o.base,l,s,i==null?void 0:i.class,i==null?void 0:i.className)},cx:t}},{compose:Ou,cva:Bl,cx:Ru}=Ul(),Xt="inploi-feedback";var Vl=["other","few","many","two","one","zero"],Ii=({terms:e,overrides:t,locale:n})=>{const r=new Intl.PluralRules(n);function o(i,a){const c=(t==null?void 0:t[i])??e[i];switch(typeof c){case"string":return c.replace(/{{(\w+)}}/g,(u,l)=>{var d;return((d=a==null?void 0:a[l])==null?void 0:d.toString())??""});case"object":{if(typeof(a==null?void 0:a.count)!="number")throw new Error(`Missing count for translation key “${i.toString()}”`);let u=r.select(a.count);if(!(u in c)){const l=Vl.find(d=>d in c);if(!l)throw new Error(`Missing plural rule for translation key “${i.toString()}”`);u=l}return c[u].replace(/{{(\w+)}}/g,(l,d)=>{var s;return((s=a==null?void 0:a[d])==null?void 0:s.toString())??""})}default:throw new Error(`Invalid translation value in dictionary for key “${i.toString()}”.`)}}return o},Wi=He(null),Yl=e=>({defaultTerms:e,TranslationProvider:({terms:t,children:n,locale:r})=>{const o=Q(()=>Ii({locale:r,terms:e,overrides:t}),[t,r]);return P(Wi.Provider,{value:{t:o,locale:r},children:n})},useTranslation:()=>{const t=Ye(Wi);if(t===null)throw new Error("Please wrap useTranslation in a TranslationProvider");return{t:t.t,locale:t.locale}},createTFunction:({overrides:t,locale:n})=>Ii({terms:e,overrides:t,locale:n})});const{TranslationProvider:ql,createTFunction:Tu,useTranslation:zi}=Yl({a11y_label:"How was your experience?",positive_heading:"Thanks!",negative_heading:"We’re sorry to hear that",positive_text:"Would you like to tell us more about your experience?",negative_text:"Would you like to tell us more about your experience?",submit:"Send feedback",submitting:"Sending feedback...",skip:"No, thanks",submitted_heading:"Thank you!",submitted_text:"Your feedback has been sent and will be used to improve our products."});var Xl=["1","2","3","4","5","6","7","8","9","10","11","12"],Zl={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]}},Kl=(e,t=1,n)=>r=>{const[o,i]=Zl[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},Zt=e=>{const t=Kl(e.hue,e.chroma,e.mode);return Object.fromEntries(Xl.map(n=>[e.prefix+n,e.transform(t(n))]))},Kt=e=>e,Gl=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)},Gt=e=>!!e&&typeof e=="object"&&!Array.isArray(e),sr=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Gt(e)&&Gt(n))for(const r in n){const o=n[r];if(Gt(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];Gt(i)&&sr(i,o)}else Object.assign(e,{[r]:n[r]})}return sr(e,...t)},Ql=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},Jl=()=>({core:e=>({semantic:t=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),c=e({theme:o}),u=t({theme:o,core:a,raw:{core:c}}),l=n({theme:o,core:a,semantic:a,raw:{core:c,semantic:u}}),d=Gl(sr(c,u,l)),s=([p,f],g)=>{const h=[g,p].filter(Boolean).join(".");return typeof f=="object"?Object.entries(f).flatMap(v=>s(v,h)):[[r.getToken("declaration",h),f]]};return{values:d,declarations:Object.fromEntries(Object.entries(d).flatMap(p=>s(p))),ref:p=>i("reference",p.toString())}}})})})});const[lr,Qt,eu]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],tu=Jl().core(({theme:e})=>{const t=Zt({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:Kt}),n=e.exactAccent;return{color:{transparent:eu,black:lr,white:Qt,lowest:e.mode==="light"?Qt:lr,highest:e.mode==="light"?lr:Qt,...t,"a-solid":(n==null?void 0:n.color)??t["a-9"],"a-solid-pressed":n?`color-mix(in oklab, ${n.color} 88%, black)`:e.mode==="light"?t["a-10"]:t["a-8"],"on-a":(n==null?void 0:n.text)??(e.mode==="light"?t["a-1"]:Qt),...Zt({prefix:"n-",hue:e.accent.hue,chroma:e.accent.chroma===0?0:.05,mode:e.mode,transform:Kt}),...Zt({prefix:"p-",hue:e.positive.hue,chroma:e.positive.chroma,mode:e.mode,transform:Kt}),...Zt({prefix:"e-",hue:e.negative.hue,chroma:e.negative.chroma,mode:e.mode,transform:Kt})},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(()=>({})),nu=Ql({prefix:"i-"}),ru=e=>{const t=tu.from({theme:e.theme,getToken:nu}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`[data-widget="${Xt}"][data-key="${e.key}"] {
|
|
42
42
|
${n.concat(n).join(`
|
|
43
43
|
`)}
|
|
44
|
-
}`},Kl=e=>{const t=[];return t.push(e.corners),t.push(e.highlights),t.push(e.mode),t},Gl={happy:"M8 15a5 5 0 0 0 8 0",neutral:"M9 16h6",sad:"M8 16a6 5 0 0 1 8 0"},ir=e=>S(B,{children:[S("circle",{cx:"12",cy:"12",r:"10"}),S("path",{d:Gl[e]}),S("path",{d:"M9 10h0m6 0h0",strokeWidth:"2"})]}),Ql={warning:S("path",{fill:"currentColor",stroke:"none",d:"M12 20.4C16.63 20.4 20.4 16.64 20.4 12C20.4 7.36 16.64 3.6 12.0 3.6C7.36 3.6 3.6 7.36 3.6 12C3.6 16.64 7.36 20.4 12 20.4ZM10.8 12.6V7.8H13.2V12.6H10.8ZM10.8 16.8V14.4H13.2V16.8H10.8Z"}),x:S("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-up-down":S("path",{d:"M8 9l4 -4l4 4 M8 15l4 4l4 -4"}),happy:ir("happy"),neutral:ir("neutral"),sad:ir("sad")},Jl=({theme:e})=>S("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:S("defs",{children:Object.entries(Ql).map(([t,n])=>S("symbol",{id:`i-icon-${t}`,children:S("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})=>S("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:S("use",{href:`#i-icon-${e}`})}),eu=Ml({base:"fr flex w-full text-neutral-11 items-center justify-center gap-2 overflow-hidden text-sm font-medium transition-all hover:z-10 focus:z-20 theme-stroke:ring-[1px] theme-stroke:mx-[0.5px] theme-stroke:ring-neutral-4 theme-stroke:focus:ring-neutral-7 theme-stroke:hover:z-10 theme-fill:hover:bg-neutral-3 theme-fill:active:bg-neutral-4 theme-fill:bg-neutral-2 first-of-type:rounded-l-lg last-of-type:rounded-r-lg duration-snappy ease-expo-out active:scale-[.97] group",variants:{colorScheme:{positive:"aria-[pressed=true]:text-positive-11 aria-[pressed=true]:theme-fill:bg-positive-3 aria-[pressed=true]:theme-stroke:ring-positive-4 aria-[pressed=true]:theme-stroke:bg-positive-2 theme-stroke:hover:ring-positive-9",negative:"aria-[pressed=true]:text-negative-11 aria-[pressed=true]:theme-fill:bg-negative-3 aria-[pressed=true]:theme-stroke:ring-negative-4 aria-[pressed=true]:theme-stroke:bg-negative-2 theme-stroke:hover:ring-negative-9"},size:{sm:"px-1.5 py-1",md:"px-3 py-1.5",lg:"px-5 py-2.5"}}});function Di(){}const tu=[{label:"Good",icon:S(ar,{name:"happy"}),value:1,variant:"positive"},{label:"Bad",icon:S(ar,{name:"sad"}),value:-1,variant:"negative"}],nu=e=>{if(!(e.key==="Enter"&&e.metaKey))return;const n=e.currentTarget.form;n&&n.requestSubmit()},ru=()=>{const{t:e}=Ti();return e("a11y_label")},ou=({analytics:e,params:t,logger:n})=>{const r=Kl(t.theme).join(" "),o=ft(),[i,a]=L(0),[c,u]=L();return S(Wl,{locale:void 0,terms:t.terms,children:S("div",{role:"group","aria-labelledby":`${o}-label`,class:r,children:[S("span",{id:`${o}-label`,className:"sr-only",children:S(ru,{})}),S("div",{class:"isolate flex",children:tu.map(s=>S(Ol,{open:c===s.value,onOpenChange:()=>{if(!c)return u(s.value);u(void 0)},children:[S(Tl,{"aria-label":s.label,"aria-pressed":i===s.value,class:eu({colorScheme:s.variant,size:t.size}),onClick:d=>{const l=s.value===i?0:s.value;if(a(l),l===0){d.preventDefault(),u(void 0);return}e.log({event:"FEEDBACK",properties:{key:t.key,score:l}}).then(()=>{var p;(p=t.onRate)==null||p.call(t,l)}).catch(p=>{n.error(p),a(0)})},children:S("div",{class:"ease-expo-out duration-medium scale-75 transition-transform group-aria-[pressed=true]:scale-100",children:s.icon})}),S(Dl,{container:t.host,children:S("div",{"data-widget":Zt,"data-key":t.key,children:S("div",{class:Nl("absolute isolate z-50",r),children:S(Rl,{collisionPadding:16,class:"data-[state=open]:animate-slideDownAndFade 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:S(iu,{analytics:e,params:t,onClose:()=>u(0),score:i})})})})})]},s.value))})]})})},iu=({params:e,onClose:t,score:n,analytics:r})=>{const{t:o}=Ti(),i=ft(),[a,c]=L({state:"idle"});return a.state==="success"?S("div",{class:"text-balance flex flex-col gap-1 p-4 text-center",children:[S("p",{class:"text-neutral-12 text-pretty text-base font-semibold leading-tight tracking-tight",children:o("submitted_heading")}),S("p",{class:"text-neutral-11 text-pretty text-sm leading-tight",children:o("submitted_text")})]}):S("form",{class:"flex flex-col gap-2.5 p-2",onSubmit:u=>{u.preventDefault(),c({state:"submitting"});const d=new FormData(u.currentTarget).get("comment");if(typeof d!="string"||d.length<=5){c({state:"error",error:"Please type more characters in the comment box"});return}Promise.all([r.log({event:"FEEDBACK",properties:{key:e.key,comment:d}}),new Promise(l=>setTimeout(l,1e3))]).then(()=>{var l;(l=e.onLeaveComment)==null||l.call(e),c({state:"success"})}).catch(l=>{if(l instanceof Error){c({state:"error",error:l.message});return}c({state:"error",error:"An unknown error occurred"})})},children:[S("input",{type:"hidden",name:"key",value:e.key}),S("fieldset",{class:"flex flex-col gap-4",children:[S("label",{htmlFor:i,class:"flex flex-col gap-1",children:[S("p",{class:"text-neutral-12 text-pretty text-base font-semibold leading-tight tracking-tight",children:o(n===-1?"negative_heading":"positive_heading")}),S("p",{class:"text-neutral-11 text-pretty text-sm leading-tight",children:o(n===-1?"negative_text":"positive_text")})]}),S("div",{class:"flex flex-col gap-2",children:[S("textarea",{rows:3,name:"comment",onKeyDown:nu,class:"theme-rounded:rounded-sm bg-neutral-1 text-accent-11 ease-expo-out duration-snappy ring-neutral-4 fr inline-flex max-h-[calc(8lh+1rem)] min-h-[calc(1lh+1rem)] w-full resize-y items-center justify-center px-3 py-2 text-base shadow-[0_0_0_1px] outline-none ring-1 transition-[background,color,border-color,box-shadow] autofill:shadow-[inset_0_0_0_1000px_var(--i-color-a-2)] autofill:[-webkit-text-fill-color:var(--i-color-a-11)] focus:shadow-[0_0_0_2px] autofill:focus:shadow-[inset_0_0_0_1000px_var(--i-color-a-1)]",id:i}),a.state==="error"?S("div",{role:"alert",class:"text-balance flex gap-1 text-xs",children:[S(ar,{name:"warning",class:"size-[1lh] flex-none"}),a.error]}):null]})]}),S("div",{class:"flex flex-col gap-1",children:[S("button",{onTouchStart:Di,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:a.state==="submitting"?o("submitting"):o("submit")}),S("button",{type:"button",onTouchStart:Di,onClick:t,class:"fr ease-expo-out duration-snappy text-accent-10 theme-dark:text-accent-10 grid items-center overflow-hidden rounded-lg px-5 py-2 pl-2.5 text-center underline-offset-4 transition-all hover:underline active:scale-[.97]",children:o("skip")})]})]})},au=`[data-widget=inploi-feedback]{font-size:16px}[data-widget=inploi-feedback] *,[data-widget=inploi-feedback] :before,[data-widget=inploi-feedback] :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: }[data-widget=inploi-feedback] ::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: }[data-widget=inploi-feedback]{--tw-content: ""}[data-widget=inploi-feedback] *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}[data-widget=inploi-feedback] :before,[data-widget=inploi-feedback] :after{box-sizing:border-box}[data-widget=inploi-feedback] :is(a){text-decoration:none}[data-widget=inploi-feedback] :is(ul,ol){list-style:none;padding:0;margin:0}[data-widget=inploi-feedback] :is(p){margin:0;padding:0}[data-widget=inploi-feedback] :is(li){margin:0;padding:0;list-style:none}[data-widget=inploi-feedback] :is(fieldset){margin:0;padding:0}[data-widget=inploi-feedback] :is(button),[data-widget=inploi-feedback] :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}[data-widget=inploi-feedback] :is(input),[data-widget=inploi-feedback] :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}[data-widget=inploi-feedback] :is(svg){display:block}@media (prefers-reduced-motion){[data-widget=inploi-feedback] *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}[data-widget=inploi-feedback] .container{width:100%}@media (min-width: 640px){[data-widget=inploi-feedback] .container{max-width:640px}}@media (min-width: 768px){[data-widget=inploi-feedback] .container{max-width:768px}}@media (min-width: 1024px){[data-widget=inploi-feedback] .container{max-width:1024px}}@media (min-width: 1280px){[data-widget=inploi-feedback] .container{max-width:1280px}}@media (min-width: 1536px){[data-widget=inploi-feedback] .container{max-width:1536px}}[data-widget=inploi-feedback] .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}[data-widget=inploi-feedback] .visible{visibility:visible}[data-widget=inploi-feedback] .invisible{visibility:hidden}[data-widget=inploi-feedback] .collapse{visibility:collapse}[data-widget=inploi-feedback] .static{position:static}[data-widget=inploi-feedback] .fixed{position:fixed}[data-widget=inploi-feedback] .absolute{position:absolute}[data-widget=inploi-feedback] .relative{position:relative}[data-widget=inploi-feedback] .sticky{position:sticky}[data-widget=inploi-feedback] .isolate{isolation:isolate}[data-widget=inploi-feedback] .z-50{z-index:50}[data-widget=inploi-feedback] .block{display:block}[data-widget=inploi-feedback] .inline-block{display:inline-block}[data-widget=inploi-feedback] .inline{display:inline}[data-widget=inploi-feedback] .flex{display:flex}[data-widget=inploi-feedback] .inline-flex{display:inline-flex}[data-widget=inploi-feedback] .table{display:table}[data-widget=inploi-feedback] .table-row{display:table-row}[data-widget=inploi-feedback] .flow-root{display:flow-root}[data-widget=inploi-feedback] .grid{display:grid}[data-widget=inploi-feedback] .inline-grid{display:inline-grid}[data-widget=inploi-feedback] .contents{display:contents}[data-widget=inploi-feedback] .list-item{display:list-item}[data-widget=inploi-feedback] .\\!hidden{display:none!important}[data-widget=inploi-feedback] .hidden{display:none}[data-widget=inploi-feedback] .size-\\[1lh\\]{width:1lh;height:1lh}[data-widget=inploi-feedback] .max-h-\\[calc\\(8lh\\+1rem\\)\\]{max-height:calc(8lh + 1rem)}[data-widget=inploi-feedback] .min-h-\\[calc\\(1lh\\+1rem\\)\\]{min-height:calc(1lh + 1rem)}[data-widget=inploi-feedback] .w-64{width:16rem}[data-widget=inploi-feedback] .w-full{width:100%}[data-widget=inploi-feedback] .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}[data-widget=inploi-feedback] .flex-none{flex:none}[data-widget=inploi-feedback] .flex-shrink,[data-widget=inploi-feedback] .shrink{flex-shrink:1}[data-widget=inploi-feedback] .flex-grow,[data-widget=inploi-feedback] .grow{flex-grow:1}[data-widget=inploi-feedback] .border-collapse{border-collapse:collapse}[data-widget=inploi-feedback] .scale-75{--tw-scale-x: .75;--tw-scale-y: .75;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))}[data-widget=inploi-feedback] .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))}[data-widget=inploi-feedback] .resize-y{resize:vertical}[data-widget=inploi-feedback] .resize{resize:both}[data-widget=inploi-feedback] .flex-col{flex-direction:column}[data-widget=inploi-feedback] .flex-wrap{flex-wrap:wrap}[data-widget=inploi-feedback] .items-center{align-items:center}[data-widget=inploi-feedback] .justify-center{justify-content:center}[data-widget=inploi-feedback] .gap-1{gap:.25rem}[data-widget=inploi-feedback] .gap-2{gap:.5rem}[data-widget=inploi-feedback] .gap-2\\.5{gap:.625rem}[data-widget=inploi-feedback] .gap-4{gap:1rem}[data-widget=inploi-feedback] .overflow-hidden{overflow:hidden}[data-widget=inploi-feedback] .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-widget=inploi-feedback] .text-balance{text-wrap:balance}[data-widget=inploi-feedback] .text-pretty{text-wrap:pretty}[data-widget=inploi-feedback] .rounded-lg{border-radius:var(--i-radius-lg)}[data-widget=inploi-feedback] .border{border-width:1px}[data-widget=inploi-feedback] .bg-accent-9{background-color:var(--i-color-a-9)}[data-widget=inploi-feedback] .bg-lowest{background-color:var(--i-color-lowest)}[data-widget=inploi-feedback] .bg-neutral-1{background-color:var(--i-color-n-1)}[data-widget=inploi-feedback] .p-2{padding:.5rem}[data-widget=inploi-feedback] .p-4{padding:1rem}[data-widget=inploi-feedback] .px-1\\.5{padding-left:.375rem;padding-right:.375rem}[data-widget=inploi-feedback] .px-3{padding-left:.75rem;padding-right:.75rem}[data-widget=inploi-feedback] .px-5{padding-left:1.25rem;padding-right:1.25rem}[data-widget=inploi-feedback] .py-1{padding-top:.25rem;padding-bottom:.25rem}[data-widget=inploi-feedback] .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}[data-widget=inploi-feedback] .py-2{padding-top:.5rem;padding-bottom:.5rem}[data-widget=inploi-feedback] .py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}[data-widget=inploi-feedback] .pl-2\\.5{padding-left:.625rem}[data-widget=inploi-feedback] .text-center{text-align:center}[data-widget=inploi-feedback] .text-justify{text-align:justify}[data-widget=inploi-feedback] .text-base{font-size:1rem;line-height:1.5rem}[data-widget=inploi-feedback] .text-sm{font-size:.875rem;line-height:1.25rem}[data-widget=inploi-feedback] .text-xs{font-size:.75rem;line-height:1rem}[data-widget=inploi-feedback] .font-medium{font-weight:500}[data-widget=inploi-feedback] .font-semibold{font-weight:600}[data-widget=inploi-feedback] .uppercase{text-transform:uppercase}[data-widget=inploi-feedback] .lowercase{text-transform:lowercase}[data-widget=inploi-feedback] .capitalize{text-transform:capitalize}[data-widget=inploi-feedback] .italic{font-style:italic}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .leading-tight{line-height:1.25}[data-widget=inploi-feedback] .tracking-tight{letter-spacing:-.025em}[data-widget=inploi-feedback] .text-accent-1{color:var(--i-color-a-1)}[data-widget=inploi-feedback] .text-accent-10{color:var(--i-color-a-10)}[data-widget=inploi-feedback] .text-accent-11{color:var(--i-color-a-11)}[data-widget=inploi-feedback] .text-neutral-11{color:var(--i-color-n-11)}[data-widget=inploi-feedback] .text-neutral-12{color:var(--i-color-n-12)}[data-widget=inploi-feedback] .underline{text-decoration-line:underline}[data-widget=inploi-feedback] .underline-offset-4{text-underline-offset:4px}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .outline-none{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-feedback] .outline{outline-style:solid}[data-widget=inploi-feedback] .ring-1{--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)}[data-widget=inploi-feedback] .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}[data-widget=inploi-feedback] .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-feedback] .transition-\\[background\\,color\\,border-color\\,box-shadow\\]{transition-property:background,color,border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-feedback] .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-feedback] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-feedback] .duration-medium{transition-duration:var(--i-duration-medium)}[data-widget=inploi-feedback] .duration-snappy{transition-duration:var(--i-duration-snappy)}[data-widget=inploi-feedback] .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}[data-widget=inploi-feedback] .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}[data-widget=inploi-feedback] .fr{outline:none}[data-widget=inploi-feedback] .fr:focus{outline:none}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}[data-widget=inploi-feedback] .first-of-type\\:rounded-l-lg:first-of-type{border-top-left-radius:var(--i-radius-lg);border-bottom-left-radius:var(--i-radius-lg)}[data-widget=inploi-feedback] .last-of-type\\:rounded-r-lg:last-of-type{border-top-right-radius:var(--i-radius-lg);border-bottom-right-radius:var(--i-radius-lg)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-feedback] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-feedback] .hover\\:z-10:hover{z-index:10}[data-widget=inploi-feedback] .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))}[data-widget=inploi-feedback] .hover\\:underline:hover{text-decoration-line:underline}[data-widget=inploi-feedback] .focus\\:z-20:focus{z-index:20}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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))}[data-widget=inploi-feedback] .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}[data-widget=inploi-feedback] .aria-\\[pressed\\=true\\]\\:text-negative-11[aria-pressed=true]{color:var(--i-color-e-11)}[data-widget=inploi-feedback] .aria-\\[pressed\\=true\\]\\:text-positive-11[aria-pressed=true]{color:var(--i-color-p-11)}[data-widget=inploi-feedback] .group[aria-pressed=true] .group-aria-\\[pressed\\=true\\]\\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;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 slideDownAndFade{0%{opacity:0;transform:scale(.95) translateY(-16px)}to{opacity:1;transform:scale(1) translateY(0)}}[data-widget=inploi-feedback] .data-\\[state\\=open\\]\\:animate-slideDownAndFade[data-state=open]{animation:slideDownAndFade .2s cubic-bezier(.34,1.56,.64,1)}[data-widget=inploi-feedback] .dark .theme-dark\\:text-accent-10{color:var(--i-color-a-10)}[data-widget=inploi-feedback] .dark .theme-dark\\:text-highest{color:var(--i-color-highest)}[data-widget=inploi-feedback] .dark .theme-dark\\:active\\:bg-accent-8:active{background-color:var(--i-color-a-8)}[data-widget=inploi-feedback] .rounded .theme-rounded\\:rounded-sm{border-radius:var(--i-radius-sm)}[data-widget=inploi-feedback] .fill .theme-fill\\:bg-neutral-2{background-color:var(--i-color-n-2)}[data-widget=inploi-feedback] .fill .theme-fill\\:hover\\:bg-neutral-3:hover{background-color:var(--i-color-n-3)}[data-widget=inploi-feedback] .fill .theme-fill\\:active\\:bg-neutral-4:active{background-color:var(--i-color-n-4)}[data-widget=inploi-feedback] .fill .aria-\\[pressed\\=true\\]\\:theme-fill\\:bg-negative-3[aria-pressed=true]{background-color:var(--i-color-e-3)}[data-widget=inploi-feedback] .fill .aria-\\[pressed\\=true\\]\\:theme-fill\\:bg-positive-3[aria-pressed=true]{background-color:var(--i-color-p-3)}[data-widget=inploi-feedback] .stroke .theme-stroke\\:mx-\\[0\\.5px\\]{margin-left:.5px;margin-right:.5px}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .stroke .theme-stroke\\:ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}[data-widget=inploi-feedback] .stroke .theme-stroke\\:hover\\:z-10:hover{z-index:10}[data-widget=inploi-feedback] .stroke .theme-stroke\\:hover\\:ring-negative-9:hover{--tw-ring-color: var(--i-color-e-9)}[data-widget=inploi-feedback] .stroke .theme-stroke\\:hover\\:ring-positive-9:hover{--tw-ring-color: var(--i-color-p-9)}[data-widget=inploi-feedback] .stroke .theme-stroke\\:focus\\:ring-neutral-7:focus{--tw-ring-color: var(--i-color-n-7)}[data-widget=inploi-feedback] .stroke .aria-\\[pressed\\=true\\]\\:theme-stroke\\:bg-negative-2[aria-pressed=true]{background-color:var(--i-color-e-2)}[data-widget=inploi-feedback] .stroke .aria-\\[pressed\\=true\\]\\:theme-stroke\\:bg-positive-2[aria-pressed=true]{background-color:var(--i-color-p-2)}[data-widget=inploi-feedback] .stroke .aria-\\[pressed\\=true\\]\\:theme-stroke\\:ring-negative-4[aria-pressed=true]{--tw-ring-color: var(--i-color-e-4)}[data-widget=inploi-feedback] .stroke .aria-\\[pressed\\=true\\]\\:theme-stroke\\:ring-positive-4[aria-pressed=true]{--tw-ring-color: var(--i-color-p-4)}
|
|
45
|
-
`,
|
|
44
|
+
}`},ou=e=>{const t=[];return t.push(e.corners),t.push(e.highlights),t.push(e.mode),t},iu={happy:"M8 15a5 5 0 0 0 8 0",neutral:"M9 16h6",sad:"M8 16a6 5 0 0 1 8 0"},ur=e=>P(V,{children:[P("circle",{cx:"12",cy:"12",r:"10"}),P("path",{d:iu[e]}),P("path",{d:"M9 10h0m6 0h0",strokeWidth:"2"})]}),au={warning:P("path",{fill:"currentColor",stroke:"none",d:"M12 20.4C16.63 20.4 20.4 16.64 20.4 12C20.4 7.36 16.64 3.6 12.0 3.6C7.36 3.6 3.6 7.36 3.6 12C3.6 16.64 7.36 20.4 12 20.4ZM10.8 12.6V7.8H13.2V12.6H10.8ZM10.8 16.8V14.4H13.2V16.8H10.8Z"}),x:P("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-up-down":P("path",{d:"M8 9l4 -4l4 4 M8 15l4 4l4 -4"}),happy:ur("happy"),neutral:ur("neutral"),sad:ur("sad")},cu=({theme:e})=>P("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:P("defs",{children:Object.entries(au).map(([t,n])=>P("symbol",{id:`i-icon-${t}`,children:P("g",{fill:"none","stroke-width":e.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),dr=({name:e,...t})=>P("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:P("use",{href:`#i-icon-${e}`})}),su=Bl({base:"fr flex w-full text-neutral-11 items-center justify-center gap-2 overflow-hidden text-sm font-medium transition-all hover:z-10 focus:z-20 theme-stroke:ring-[1px] theme-stroke:mx-[0.5px] theme-stroke:ring-neutral-4 theme-stroke:focus:ring-neutral-7 theme-stroke:hover:z-10 theme-fill:hover:bg-neutral-3 theme-fill:active:bg-neutral-4 theme-fill:bg-neutral-2 first-of-type:rounded-l-lg last-of-type:rounded-r-lg duration-snappy ease-expo-out active:scale-[.97] group",variants:{colorScheme:{positive:"aria-[pressed=true]:text-positive-11 aria-[pressed=true]:theme-fill:bg-positive-3 aria-[pressed=true]:theme-stroke:ring-positive-4 aria-[pressed=true]:theme-stroke:bg-positive-2 theme-stroke:hover:ring-positive-9",negative:"aria-[pressed=true]:text-negative-11 aria-[pressed=true]:theme-fill:bg-negative-3 aria-[pressed=true]:theme-stroke:ring-negative-4 aria-[pressed=true]:theme-stroke:bg-negative-2 theme-stroke:hover:ring-negative-9"},size:{sm:"px-1.5 py-1",md:"px-3 py-1.5",lg:"px-5 py-2.5"}}});function Hi(){}const lu=[{label:"Good",icon:P(dr,{name:"happy"}),value:1,variant:"positive"},{label:"Bad",icon:P(dr,{name:"sad"}),value:-1,variant:"negative"}],uu=e=>{if(!(e.key==="Enter"&&e.metaKey))return;const n=e.currentTarget.form;n&&n.requestSubmit()},du=()=>{const{t:e}=zi();return e("a11y_label")},fu=({analytics:e,params:t,logger:n})=>{const r=ou(t.theme).join(" "),o=pt(),[i,a]=L(0),[c,u]=L();return P(ql,{locale:void 0,terms:t.terms,children:P("div",{role:"group","aria-labelledby":`${o}-label`,class:r,children:[P("span",{id:`${o}-label`,className:"sr-only",children:P(du,{})}),P("div",{class:"isolate flex",children:lu.map(l=>P(Il,{open:c===l.value,onOpenChange:()=>{if(!c)return u(l.value);u(void 0)},children:[P(Wl,{"aria-label":l.label,"aria-pressed":i===l.value,class:su({colorScheme:l.variant,size:t.size}),onClick:d=>{const s=l.value===i?0:l.value;if(a(s),s===0){d.preventDefault(),u(void 0);return}e.log({event:"FEEDBACK",properties:{key:t.key,score:s}}).then(()=>{var p;(p=t.onRate)==null||p.call(t,s)}).catch(p=>{n.error(p),a(0)})},children:P("div",{class:"ease-expo-out duration-medium scale-75 transition-transform group-aria-[pressed=true]:scale-100",children:l.icon})}),P(zl,{container:t.host,children:P("div",{"data-widget":Xt,"data-key":t.key,children:P("div",{class:jl("absolute isolate z-50",r),children:P(Hl,{collisionPadding:16,class:"data-[state=open]:animate-slideDownAndFade 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:P(pu,{analytics:e,params:t,onClose:()=>u(0),score:i})})})})})]},l.value))})]})})},pu=({params:e,onClose:t,score:n,analytics:r})=>{const{t:o}=zi(),i=pt(),[a,c]=L({state:"idle"});return a.state==="success"?P("div",{class:"text-balance flex flex-col gap-1 p-4 text-center",children:[P("p",{class:"text-neutral-12 text-pretty text-base font-semibold leading-tight tracking-tight",children:o("submitted_heading")}),P("p",{class:"text-neutral-11 text-pretty text-sm leading-tight",children:o("submitted_text")})]}):P("form",{class:"flex flex-col gap-2.5 p-2",onSubmit:u=>{u.preventDefault(),c({state:"submitting"});const d=new FormData(u.currentTarget).get("comment");if(typeof d!="string"||d.length<=5){c({state:"error",error:"Please type more characters in the comment box"});return}Promise.all([r.log({event:"FEEDBACK",properties:{key:e.key,comment:d}}),new Promise(s=>setTimeout(s,1e3))]).then(()=>{var s;(s=e.onLeaveComment)==null||s.call(e),c({state:"success"})}).catch(s=>{if(s instanceof Error){c({state:"error",error:s.message});return}c({state:"error",error:"An unknown error occurred"})})},children:[P("input",{type:"hidden",name:"key",value:e.key}),P("fieldset",{class:"flex flex-col gap-4",children:[P("label",{htmlFor:i,class:"flex flex-col gap-1",children:[P("p",{class:"text-neutral-12 text-pretty text-base font-semibold leading-tight tracking-tight",children:o(n===-1?"negative_heading":"positive_heading")}),P("p",{class:"text-neutral-11 text-pretty text-sm leading-tight",children:o(n===-1?"negative_text":"positive_text")})]}),P("div",{class:"flex flex-col gap-2",children:[P("textarea",{rows:3,name:"comment",onKeyDown:uu,class:"theme-rounded:rounded-sm bg-neutral-1 text-accent-11 ease-expo-out duration-snappy ring-neutral-4 fr inline-flex max-h-[calc(8lh+1rem)] min-h-[calc(1lh+1rem)] w-full resize-y items-center justify-center px-3 py-2 text-base shadow-[0_0_0_1px] outline-none ring-1 transition-[background,color,border-color,box-shadow] autofill:shadow-[inset_0_0_0_1000px_var(--i-color-a-2)] autofill:[-webkit-text-fill-color:var(--i-color-a-11)] focus:shadow-[0_0_0_2px] autofill:focus:shadow-[inset_0_0_0_1000px_var(--i-color-a-1)]",id:i}),a.state==="error"?P("div",{role:"alert",class:"text-balance flex gap-1 text-xs",children:[P(dr,{name:"warning",class:"size-[1lh] flex-none"}),a.error]}):null]})]}),P("div",{class:"flex flex-col gap-1",children:[P("button",{onTouchStart:Hi,class:"bg-accent-solid active:bg-accent-solid-pressed fr ease-expo-out duration-snappy text-on-accent 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:a.state==="submitting"?o("submitting"):o("submit")}),P("button",{type:"button",onTouchStart:Hi,onClick:t,class:"fr ease-expo-out duration-snappy text-accent-10 theme-dark:text-accent-10 grid items-center overflow-hidden rounded-lg px-5 py-2 pl-2.5 text-center underline-offset-4 transition-all hover:underline active:scale-[.97]",children:o("skip")})]})]})},hu=`[data-widget=inploi-feedback]{font-size:16px}[data-widget=inploi-feedback] *,[data-widget=inploi-feedback] :before,[data-widget=inploi-feedback] :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: }[data-widget=inploi-feedback] ::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: }[data-widget=inploi-feedback]{--tw-content: ""}[data-widget=inploi-feedback] *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}[data-widget=inploi-feedback] :before,[data-widget=inploi-feedback] :after{box-sizing:border-box}[data-widget=inploi-feedback] :is(a){text-decoration:none}[data-widget=inploi-feedback] :is(ul,ol){list-style:none;padding:0;margin:0}[data-widget=inploi-feedback] :is(p){margin:0;padding:0}[data-widget=inploi-feedback] :is(li){margin:0;padding:0;list-style:none}[data-widget=inploi-feedback] :is(fieldset){margin:0;padding:0}[data-widget=inploi-feedback] :is(button),[data-widget=inploi-feedback] :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}[data-widget=inploi-feedback] :is(input),[data-widget=inploi-feedback] :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}[data-widget=inploi-feedback] :is(svg){display:block}@media (prefers-reduced-motion){[data-widget=inploi-feedback] *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}[data-widget=inploi-feedback] .container{width:100%}@media (min-width: 640px){[data-widget=inploi-feedback] .container{max-width:640px}}@media (min-width: 768px){[data-widget=inploi-feedback] .container{max-width:768px}}@media (min-width: 1024px){[data-widget=inploi-feedback] .container{max-width:1024px}}@media (min-width: 1280px){[data-widget=inploi-feedback] .container{max-width:1280px}}@media (min-width: 1536px){[data-widget=inploi-feedback] .container{max-width:1536px}}[data-widget=inploi-feedback] .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}[data-widget=inploi-feedback] .visible{visibility:visible}[data-widget=inploi-feedback] .invisible{visibility:hidden}[data-widget=inploi-feedback] .collapse{visibility:collapse}[data-widget=inploi-feedback] .static{position:static}[data-widget=inploi-feedback] .fixed{position:fixed}[data-widget=inploi-feedback] .absolute{position:absolute}[data-widget=inploi-feedback] .relative{position:relative}[data-widget=inploi-feedback] .sticky{position:sticky}[data-widget=inploi-feedback] .isolate{isolation:isolate}[data-widget=inploi-feedback] .z-50{z-index:50}[data-widget=inploi-feedback] .block{display:block}[data-widget=inploi-feedback] .inline-block{display:inline-block}[data-widget=inploi-feedback] .inline{display:inline}[data-widget=inploi-feedback] .flex{display:flex}[data-widget=inploi-feedback] .inline-flex{display:inline-flex}[data-widget=inploi-feedback] .table{display:table}[data-widget=inploi-feedback] .table-row{display:table-row}[data-widget=inploi-feedback] .flow-root{display:flow-root}[data-widget=inploi-feedback] .grid{display:grid}[data-widget=inploi-feedback] .inline-grid{display:inline-grid}[data-widget=inploi-feedback] .contents{display:contents}[data-widget=inploi-feedback] .list-item{display:list-item}[data-widget=inploi-feedback] .\\!hidden{display:none!important}[data-widget=inploi-feedback] .hidden{display:none}[data-widget=inploi-feedback] .size-\\[1lh\\]{width:1lh;height:1lh}[data-widget=inploi-feedback] .max-h-\\[calc\\(8lh\\+1rem\\)\\]{max-height:calc(8lh + 1rem)}[data-widget=inploi-feedback] .min-h-\\[calc\\(1lh\\+1rem\\)\\]{min-height:calc(1lh + 1rem)}[data-widget=inploi-feedback] .w-64{width:16rem}[data-widget=inploi-feedback] .w-full{width:100%}[data-widget=inploi-feedback] .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}[data-widget=inploi-feedback] .flex-none{flex:none}[data-widget=inploi-feedback] .flex-shrink,[data-widget=inploi-feedback] .shrink{flex-shrink:1}[data-widget=inploi-feedback] .flex-grow,[data-widget=inploi-feedback] .grow{flex-grow:1}[data-widget=inploi-feedback] .border-collapse{border-collapse:collapse}[data-widget=inploi-feedback] .scale-75{--tw-scale-x: .75;--tw-scale-y: .75;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))}[data-widget=inploi-feedback] .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))}[data-widget=inploi-feedback] .resize-y{resize:vertical}[data-widget=inploi-feedback] .resize{resize:both}[data-widget=inploi-feedback] .flex-col{flex-direction:column}[data-widget=inploi-feedback] .flex-wrap{flex-wrap:wrap}[data-widget=inploi-feedback] .items-center{align-items:center}[data-widget=inploi-feedback] .justify-center{justify-content:center}[data-widget=inploi-feedback] .gap-1{gap:.25rem}[data-widget=inploi-feedback] .gap-2{gap:.5rem}[data-widget=inploi-feedback] .gap-2\\.5{gap:.625rem}[data-widget=inploi-feedback] .gap-4{gap:1rem}[data-widget=inploi-feedback] .overflow-hidden{overflow:hidden}[data-widget=inploi-feedback] .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-widget=inploi-feedback] .text-balance{text-wrap:balance}[data-widget=inploi-feedback] .text-pretty{text-wrap:pretty}[data-widget=inploi-feedback] .rounded-lg{border-radius:var(--i-radius-lg)}[data-widget=inploi-feedback] .border{border-width:1px}[data-widget=inploi-feedback] .bg-accent-solid{background-color:var(--i-color-a-solid)}[data-widget=inploi-feedback] .bg-lowest{background-color:var(--i-color-lowest)}[data-widget=inploi-feedback] .bg-neutral-1{background-color:var(--i-color-n-1)}[data-widget=inploi-feedback] .p-2{padding:.5rem}[data-widget=inploi-feedback] .p-4{padding:1rem}[data-widget=inploi-feedback] .px-1\\.5{padding-left:.375rem;padding-right:.375rem}[data-widget=inploi-feedback] .px-3{padding-left:.75rem;padding-right:.75rem}[data-widget=inploi-feedback] .px-5{padding-left:1.25rem;padding-right:1.25rem}[data-widget=inploi-feedback] .py-1{padding-top:.25rem;padding-bottom:.25rem}[data-widget=inploi-feedback] .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}[data-widget=inploi-feedback] .py-2{padding-top:.5rem;padding-bottom:.5rem}[data-widget=inploi-feedback] .py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}[data-widget=inploi-feedback] .pl-2\\.5{padding-left:.625rem}[data-widget=inploi-feedback] .text-center{text-align:center}[data-widget=inploi-feedback] .text-justify{text-align:justify}[data-widget=inploi-feedback] .text-base{font-size:1rem;line-height:1.5rem}[data-widget=inploi-feedback] .text-sm{font-size:.875rem;line-height:1.25rem}[data-widget=inploi-feedback] .text-xs{font-size:.75rem;line-height:1rem}[data-widget=inploi-feedback] .font-medium{font-weight:500}[data-widget=inploi-feedback] .font-semibold{font-weight:600}[data-widget=inploi-feedback] .uppercase{text-transform:uppercase}[data-widget=inploi-feedback] .lowercase{text-transform:lowercase}[data-widget=inploi-feedback] .capitalize{text-transform:capitalize}[data-widget=inploi-feedback] .italic{font-style:italic}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .leading-tight{line-height:1.25}[data-widget=inploi-feedback] .tracking-tight{letter-spacing:-.025em}[data-widget=inploi-feedback] .text-accent-10{color:var(--i-color-a-10)}[data-widget=inploi-feedback] .text-accent-11{color:var(--i-color-a-11)}[data-widget=inploi-feedback] .text-neutral-11{color:var(--i-color-n-11)}[data-widget=inploi-feedback] .text-neutral-12{color:var(--i-color-n-12)}[data-widget=inploi-feedback] .text-on-accent{color:var(--i-color-on-a)}[data-widget=inploi-feedback] .underline{text-decoration-line:underline}[data-widget=inploi-feedback] .underline-offset-4{text-underline-offset:4px}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .outline-none{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-feedback] .outline{outline-style:solid}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .ring-1{--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)}[data-widget=inploi-feedback] .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}[data-widget=inploi-feedback] .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-feedback] .transition-\\[background\\,color\\,border-color\\,box-shadow\\]{transition-property:background,color,border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-feedback] .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-feedback] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-feedback] .duration-medium{transition-duration:var(--i-duration-medium)}[data-widget=inploi-feedback] .duration-snappy{transition-duration:var(--i-duration-snappy)}[data-widget=inploi-feedback] .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}[data-widget=inploi-feedback] .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}[data-widget=inploi-feedback] .fr{outline:none}[data-widget=inploi-feedback] .fr:focus{outline:none}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}[data-widget=inploi-feedback] .first-of-type\\:rounded-l-lg:first-of-type{border-top-left-radius:var(--i-radius-lg);border-bottom-left-radius:var(--i-radius-lg)}[data-widget=inploi-feedback] .last-of-type\\:rounded-r-lg:last-of-type{border-top-right-radius:var(--i-radius-lg);border-bottom-right-radius:var(--i-radius-lg)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-feedback] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-feedback] .hover\\:z-10:hover{z-index:10}[data-widget=inploi-feedback] .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))}[data-widget=inploi-feedback] .hover\\:underline:hover{text-decoration-line:underline}[data-widget=inploi-feedback] .focus\\:z-20:focus{z-index:20}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .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))}[data-widget=inploi-feedback] .active\\:bg-accent-solid-pressed:active{background-color:var(--i-color-a-solid-pressed)}[data-widget=inploi-feedback] .aria-\\[pressed\\=true\\]\\:text-negative-11[aria-pressed=true]{color:var(--i-color-e-11)}[data-widget=inploi-feedback] .aria-\\[pressed\\=true\\]\\:text-positive-11[aria-pressed=true]{color:var(--i-color-p-11)}[data-widget=inploi-feedback] .group[aria-pressed=true] .group-aria-\\[pressed\\=true\\]\\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;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 slideDownAndFade{0%{opacity:0;transform:scale(.95) translateY(-16px)}to{opacity:1;transform:scale(1) translateY(0)}}[data-widget=inploi-feedback] .data-\\[state\\=open\\]\\:animate-slideDownAndFade[data-state=open]{animation:slideDownAndFade .2s cubic-bezier(.34,1.56,.64,1)}[data-widget=inploi-feedback] .dark .theme-dark\\:text-accent-10{color:var(--i-color-a-10)}[data-widget=inploi-feedback] .rounded .theme-rounded\\:rounded-sm{border-radius:var(--i-radius-sm)}[data-widget=inploi-feedback] .fill .theme-fill\\:bg-neutral-2{background-color:var(--i-color-n-2)}[data-widget=inploi-feedback] .fill .theme-fill\\:hover\\:bg-neutral-3:hover{background-color:var(--i-color-n-3)}[data-widget=inploi-feedback] .fill .theme-fill\\:active\\:bg-neutral-4:active{background-color:var(--i-color-n-4)}[data-widget=inploi-feedback] .fill .aria-\\[pressed\\=true\\]\\:theme-fill\\:bg-negative-3[aria-pressed=true]{background-color:var(--i-color-e-3)}[data-widget=inploi-feedback] .fill .aria-\\[pressed\\=true\\]\\:theme-fill\\:bg-positive-3[aria-pressed=true]{background-color:var(--i-color-p-3)}[data-widget=inploi-feedback] .stroke .theme-stroke\\:mx-\\[0\\.5px\\]{margin-left:.5px;margin-right:.5px}[data-widget=inploi-feedback] .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)}[data-widget=inploi-feedback] .stroke .theme-stroke\\:ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}[data-widget=inploi-feedback] .stroke .theme-stroke\\:hover\\:z-10:hover{z-index:10}[data-widget=inploi-feedback] .stroke .theme-stroke\\:hover\\:ring-negative-9:hover{--tw-ring-color: var(--i-color-e-9)}[data-widget=inploi-feedback] .stroke .theme-stroke\\:hover\\:ring-positive-9:hover{--tw-ring-color: var(--i-color-p-9)}[data-widget=inploi-feedback] .stroke .theme-stroke\\:focus\\:ring-neutral-7:focus{--tw-ring-color: var(--i-color-n-7)}[data-widget=inploi-feedback] .stroke .aria-\\[pressed\\=true\\]\\:theme-stroke\\:bg-negative-2[aria-pressed=true]{background-color:var(--i-color-e-2)}[data-widget=inploi-feedback] .stroke .aria-\\[pressed\\=true\\]\\:theme-stroke\\:bg-positive-2[aria-pressed=true]{background-color:var(--i-color-p-2)}[data-widget=inploi-feedback] .stroke .aria-\\[pressed\\=true\\]\\:theme-stroke\\:ring-negative-4[aria-pressed=true]{--tw-ring-color: var(--i-color-e-4)}[data-widget=inploi-feedback] .stroke .aria-\\[pressed\\=true\\]\\:theme-stroke\\:ring-positive-4[aria-pressed=true]{--tw-ring-color: var(--i-color-p-4)}
|
|
45
|
+
`,vu=e=>({getRenderTargetElement:t=>{const n=document.body.querySelector(`*[data-widget=${Xt}][data-key=${t}]`);if(!n)throw e.error(`Please ensure there is an element with the properties data-widget="${Xt}" data-key="${t}"`),new Error("Feedback widget didn’t find element");return n}}),gu=()=>Qi(({apiClient:e,logger:t,analytics:n})=>{const r=vu(t);let o=!1;const i=new Set,a=({params:c})=>x(V,{},[[x("style",{id:"inploi-feedback-styles"},hu),x("style",{id:"inploi-feedback-theme"},ru(c))],x(cu,{theme:c.theme}),x(fu,{params:c,apiClient:e,logger:t,analytics:n})]);return{prerender:async c=>(o=!0,{html:Ra(x(V,{},x(a,{params:c})))}),render:async c=>{const u=o?wn:Oe;Bi(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead.");const l=c.target??r.getRenderTargetElement(c.key);i.add(l),u(x(a,{params:c}),l)},destroy:()=>{for(const c of i)Oe(null,c);i.clear()},"~brand":"@inploi/plugin-feedback"}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.feedbackPlugin=gu})();
|