@flarehr/apollo-import-workspace-app 0.1.380 → 0.1.383

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.
@@ -1,17 +1,17 @@
1
- var At,E,os,We,jr,ss,On,er,Fn,Ln,is,It={},as=[],ea=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,hn=Array.isArray;function $e(e,t){for(var n in t)e[n]=t[n];return e}function ls(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function b(e,t,n){var r,o,s,i={};for(s in t)s=="key"?r=t[s]:s=="ref"?o=t[s]:i[s]=t[s];if(arguments.length>2&&(i.children=arguments.length>3?At.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(s in e.defaultProps)i[s]===void 0&&(i[s]=e.defaultProps[s]);return Et(e,i,r,o,null)}function Et(e,t,n,r,o){var s={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++os,__i:-1,__u:0};return o==null&&E.vnode!=null&&E.vnode(s),s}function us(){return{current:null}}function fe(e){return e.children}function ye(e,t){this.props=e,this.context=t}function ft(e,t){if(t==null)return e.__?ft(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"?ft(e):null}function cs(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return cs(e)}}function Hn(e){(!e.__d&&(e.__d=!0)&&We.push(e)&&!Xt.__r++||jr!==E.debounceRendering)&&((jr=E.debounceRendering)||ss)(Xt)}function Xt(){var e,t,n,r,o,s,i,a;for(We.sort(On);e=We.shift();)e.__d&&(t=We.length,r=void 0,s=(o=(n=e).__v).__e,i=[],a=[],n.__P&&((r=$e({},o)).__v=o.__v+1,E.vnode&&E.vnode(r),tr(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[s]:null,i,s??ft(o),!!(32&o.__u),a),r.__v=o.__v,r.__.__k[r.__i]=r,hs(i,r,a),r.__e!=s&&cs(r)),We.length>t&&We.sort(On));Xt.__r=0}function fs(e,t,n,r,o,s,i,a,c,u,f){var l,h,d,_,g,m=r&&r.__k||as,w=t.length;for(n.__d=c,ta(n,t,m),c=n.__d,l=0;l<w;l++)(d=n.__k[l])!=null&&(h=d.__i===-1?It:m[d.__i]||It,d.__i=l,tr(e,d,h,o,s,i,a,c,u,f),_=d.__e,d.ref&&h.ref!=d.ref&&(h.ref&&nr(h.ref,null,d),f.push(d.ref,d.__c||_,d)),g==null&&_!=null&&(g=_),65536&d.__u||h.__k===d.__k?c=ds(d,c,e):typeof d.type=="function"&&d.__d!==void 0?c=d.__d:_&&(c=_.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=c,n.__e=g}function ta(e,t,n){var r,o,s,i,a,c=t.length,u=n.length,f=u,l=0;for(e.__k=[],r=0;r<c;r++)(o=t[r])!=null&&typeof o!="boolean"&&typeof o!="function"?(i=r+l,(o=e.__k[r]=typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?Et(null,o,null,null,null):hn(o)?Et(fe,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?Et(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=e,o.__b=e.__b+1,s=null,(a=o.__i=na(o,n,i,f))!==-1&&(f--,(s=n[a])&&(s.__u|=131072)),s==null||s.__v===null?(a==-1&&l--,typeof o.type!="function"&&(o.__u|=65536)):a!==i&&(a==i-1?l--:a==i+1?l++:(a>i?l--:l++,o.__u|=65536))):o=e.__k[r]=null;if(f)for(r=0;r<u;r++)(s=n[r])!=null&&!(131072&s.__u)&&(s.__e==e.__d&&(e.__d=ft(s)),ps(s,s))}function ds(e,t,n){var r,o;if(typeof e.type=="function"){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=ds(r[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=ft(e)),n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function Ne(e,t){return t=t||[],e==null||typeof e=="boolean"||(hn(e)?e.some(function(n){Ne(n,t)}):t.push(e)),t}function na(e,t,n,r){var o=e.key,s=e.type,i=n-1,a=n+1,c=t[n];if(c===null||c&&o==c.key&&s===c.type&&!(131072&c.__u))return n;if((typeof s!="function"||s===fe||o)&&r>(c!=null&&!(131072&c.__u)?1:0))for(;i>=0||a<t.length;){if(i>=0){if((c=t[i])&&!(131072&c.__u)&&o==c.key&&s===c.type)return i;i--}if(a<t.length){if((c=t[a])&&!(131072&c.__u)&&o==c.key&&s===c.type)return a;a++}}return-1}function Gr(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||ea.test(t)?n:n+"px"}function Gt(e,t,n,r,o){var s;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||Gr(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Gr(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")s=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+s]=n,n?r?n.u=r.u:(n.u=er,e.addEventListener(t,s?Ln:Fn,s)):e.removeEventListener(t,s?Ln:Fn,s);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 Br(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=er++;else if(t.t<n.u)return;return E.event&&(t=E.event(t)),"handleEvent"in n?n.handleEvent(t):n(t)}}}function tr(e,t,n,r,o,s,i,a,c,u){var f,l,h,d,_,g,m,w,S,T,J,pe,Be,Ur,Ut,En,xe=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(c=!!(32&n.__u),s=[a=t.__e=n.__e]),(f=E.__b)&&f(t);e:if(typeof xe=="function")try{if(w=t.props,S="prototype"in xe&&xe.prototype.render,T=(f=xe.contextType)&&r[f.__c],J=f?T?T.props.value:f.__:r,n.__c?m=(l=t.__c=n.__c).__=l.__E:(S?t.__c=l=new xe(w,J):(t.__c=l=new ye(w,J),l.constructor=xe,l.render=oa),T&&T.sub(l),l.props=w,l.state||(l.state={}),l.context=J,l.__n=r,h=l.__d=!0,l.__h=[],l._sb=[]),S&&l.__s==null&&(l.__s=l.state),S&&xe.getDerivedStateFromProps!=null&&(l.__s==l.state&&(l.__s=$e({},l.__s)),$e(l.__s,xe.getDerivedStateFromProps(w,l.__s))),d=l.props,_=l.state,l.__v=t,h)S&&xe.getDerivedStateFromProps==null&&l.componentWillMount!=null&&l.componentWillMount(),S&&l.componentDidMount!=null&&l.__h.push(l.componentDidMount);else{if(S&&xe.getDerivedStateFromProps==null&&w!==d&&l.componentWillReceiveProps!=null&&l.componentWillReceiveProps(w,J),!l.__e&&(l.shouldComponentUpdate!=null&&l.shouldComponentUpdate(w,l.__s,J)===!1||t.__v===n.__v)){for(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(jt){jt&&(jt.__=t)}),pe=0;pe<l._sb.length;pe++)l.__h.push(l._sb[pe]);l._sb=[],l.__h.length&&i.push(l);break e}l.componentWillUpdate!=null&&l.componentWillUpdate(w,l.__s,J),S&&l.componentDidUpdate!=null&&l.__h.push(function(){l.componentDidUpdate(d,_,g)})}if(l.context=J,l.props=w,l.__P=e,l.__e=!1,Be=E.__r,Ur=0,S){for(l.state=l.__s,l.__d=!1,Be&&Be(t),f=l.render(l.props,l.state,l.context),Ut=0;Ut<l._sb.length;Ut++)l.__h.push(l._sb[Ut]);l._sb=[]}else do l.__d=!1,Be&&Be(t),f=l.render(l.props,l.state,l.context),l.state=l.__s;while(l.__d&&++Ur<25);l.state=l.__s,l.getChildContext!=null&&(r=$e($e({},r),l.getChildContext())),S&&!h&&l.getSnapshotBeforeUpdate!=null&&(g=l.getSnapshotBeforeUpdate(d,_)),fs(e,hn(En=f!=null&&f.type===fe&&f.key==null?f.props.children:f)?En:[En],t,n,r,o,s,i,a,c,u),l.base=t.__e,t.__u&=-161,l.__h.length&&i.push(l),m&&(l.__E=l.__=null)}catch(jt){if(t.__v=null,c||s!=null){for(t.__u|=c?160:128;a&&a.nodeType===8&&a.nextSibling;)a=a.nextSibling;s[s.indexOf(a)]=null,t.__e=a}else t.__e=n.__e,t.__k=n.__k;E.__e(jt,t,n)}else s==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=ra(n.__e,t,n,r,o,s,i,c,u);(f=E.diffed)&&f(t)}function hs(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)nr(n[r],n[++r],n[++r]);E.__c&&E.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(s){s.call(o)})}catch(s){E.__e(s,o.__v)}})}function ra(e,t,n,r,o,s,i,a,c){var u,f,l,h,d,_,g,m=n.props,w=t.props,S=t.type;if(S==="svg"?o="http://www.w3.org/2000/svg":S==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),s!=null){for(u=0;u<s.length;u++)if((d=s[u])&&"setAttribute"in d==!!S&&(S?d.localName===S:d.nodeType===3)){e=d,s[u]=null;break}}if(e==null){if(S===null)return document.createTextNode(w);e=document.createElementNS(o,S,w.is&&w),a&&(E.__m&&E.__m(t,s),a=!1),s=null}if(S===null)m===w||a&&e.data===w||(e.data=w);else{if(s=s&&At.call(e.childNodes),m=n.props||It,!a&&s!=null)for(m={},u=0;u<e.attributes.length;u++)m[(d=e.attributes[u]).name]=d.value;for(u in m)if(d=m[u],u!="children"){if(u=="dangerouslySetInnerHTML")l=d;else if(!(u in w)){if(u=="value"&&"defaultValue"in w||u=="checked"&&"defaultChecked"in w)continue;Gt(e,u,null,d,o)}}for(u in w)d=w[u],u=="children"?h=d:u=="dangerouslySetInnerHTML"?f=d:u=="value"?_=d:u=="checked"?g=d:a&&typeof d!="function"||m[u]===d||Gt(e,u,d,m[u],o);if(f)a||l&&(f.__html===l.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(l&&(e.innerHTML=""),fs(e,hn(h)?h:[h],t,n,r,S==="foreignObject"?"http://www.w3.org/1999/xhtml":o,s,i,s?s[0]:n.__k&&ft(n,0),a,c),s!=null)for(u=s.length;u--;)ls(s[u]);a||(u="value",S==="progress"&&_==null?e.removeAttribute("value"):_!==void 0&&(_!==e[u]||S==="progress"&&!_||S==="option"&&_!==m[u])&&Gt(e,u,_,m[u],o),u="checked",g!==void 0&&g!==e[u]&&Gt(e,u,g,m[u],o))}return e}function nr(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.__e(o,n)}}function ps(e,t,n){var r,o;if(E.unmount&&E.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||nr(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(s){E.__e(s,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&ps(r[o],t,n||typeof e.type!="function");n||ls(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function oa(e,t,n){return this.constructor(e,n)}function Ve(e,t,n){var r,o,s,i;E.__&&E.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,s=[],i=[],tr(t,e=(!r&&n||t).__k=b(fe,null,[e]),o||It,It,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?At.call(t.childNodes):null,s,!r&&n?n:o?o.__e:t.firstChild,r,i),hs(s,e,i)}function rr(e,t){Ve(e,t,rr)}function or(e,t,n){var r,o,s,i,a=$e({},e.props);for(s in e.type&&e.type.defaultProps&&(i=e.type.defaultProps),t)s=="key"?r=t[s]:s=="ref"?o=t[s]:a[s]=t[s]===void 0&&i!==void 0?i[s]:t[s];return arguments.length>2&&(a.children=arguments.length>3?At.call(arguments,2):n),Et(e.type,a,r||e.key,o||e.ref,null)}function _s(e,t){var n={__c:t="__cC"+is++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,s;return this.getChildContext||(o=new Set,(s={})[t]=this,this.getChildContext=function(){return s},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&o.forEach(function(a){a.__e=!0,Hn(a)})},this.sub=function(i){o.add(i);var a=i.componentWillUnmount;i.componentWillUnmount=function(){o&&o.delete(i),a&&a.call(i)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}At=as.slice,E={__e:function(e,t,n,r){for(var o,s,i;t=t.__;)if((o=t.__c)&&!o.__)try{if((s=o.constructor)&&s.getDerivedStateFromError!=null&&(o.setState(s.getDerivedStateFromError(e)),i=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),i=o.__d),i)return o.__E=o}catch(a){e=a}throw e}},os=0,ye.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=$e({},this.state),typeof e=="function"&&(e=e($e({},n),this.props)),e&&$e(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Hn(this))},ye.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Hn(this))},ye.prototype.render=fe,We=[],ss=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,On=function(e,t){return e.__v.__b-t.__v.__b},Xt.__r=0,er=0,Fn=Br(!1),Ln=Br(!0),is=0;function sr(){return(sr=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}).apply(this,arguments)}var sa=["context","children"];function ia(e){this.getChildContext=function(){return e.context};var t=e.children,n=function(r,o){if(r==null)return{};var s,i,a={},c=Object.keys(r);for(i=0;i<c.length;i++)o.indexOf(s=c[i])>=0||(a[s]=r[s]);return a}(e,sa);return or(t,n)}function aa(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=b(ia,sr({},this._props,{context:e.detail.context}),function t(n,r){if(n.nodeType===3)return n.data;if(n.nodeType!==1)return null;var o=[],s={},i=0,a=n.attributes,c=n.childNodes;for(i=a.length;i--;)a[i].name!=="slot"&&(s[a[i].name]=a[i].value,s[ms(a[i].name)]=a[i].value);for(i=c.length;i--;){var u=t(c[i],null),f=c[i].slot;f?s[f]=b(zr,{name:f},u):o[i]=u}var l=r?b(zr,null,o):o;return b(r||n.nodeName.toLowerCase(),s,l)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?rr:Ve)(this._vdom,this._root)}function ms(e){return e.replace(/-(\w)/g,function(t,n){return n?n.toUpperCase():""})}function la(e,t,n){if(this._vdom){var r={};r[e]=n=n??void 0,r[ms(e)]=n,this._vdom=or(this._vdom,r),Ve(this._vdom,this._root)}}function ua(){Ve(this._vdom=null,this._root)}function zr(e,t){var n=this;return b("slot",sr({},e,{ref:function(r){r?(n.ref=r,n._listener||(n._listener=function(o){o.stopPropagation(),o.detail.context=t},r.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}function ca(e,t,n,r){function o(){var s=Reflect.construct(HTMLElement,[],o);return s._vdomComponent=e,s._root=s,s}return(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=aa,o.prototype.attributeChangedCallback=la,o.prototype.disconnectedCallback=ua,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),o.observedAttributes=n,n.forEach(function(s){Object.defineProperty(o.prototype,s,{get:function(){return this._vdom.props[s]},set:function(i){this._vdom?this.attributeChangedCallback(s,null,i):(this._props||(this._props={}),this._props[s]=i,this.connectedCallback());var a=typeof i;i!=null&&a!=="string"&&a!=="boolean"&&a!=="number"||this.setAttribute(s,i)}})}),customElements.define(t||e.tagName||e.displayName||e.name,o)}function gs(e,t){ca(e,t)}var De,R,Tn,Wr,dt=0,ws=[],H=E,qr=H.__b,Zr=H.__r,Jr=H.diffed,Yr=H.__c,Kr=H.unmount,Xr=H.__;function Ke(e,t){H.__h&&H.__h(R,e,dt||t),dt=0;var n=R.__H||(R.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function gt(e){return dt=1,pn(ys,e)}function pn(e,t,n){var r=Ke(De++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ys(void 0,t),function(a){var c=r.__N?r.__N[0]:r.__[0],u=r.t(c,a);c!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=R,!R.u)){var o=function(a,c,u){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(h){return!!h.__c});if(f.every(function(h){return!h.__N}))return!s||s.call(this,a,c,u);var l=r.__c.props!==a;return f.forEach(function(h){if(h.__N){var d=h.__[0];h.__=h.__N,h.__N=void 0,d!==h.__[0]&&(l=!0)}}),s&&s.call(this,a,c,u)||l};R.u=!0;var s=R.shouldComponentUpdate,i=R.componentWillUpdate;R.componentWillUpdate=function(a,c,u){if(this.__e){var f=s;s=void 0,o(a,c,u),s=f}i&&i.call(this,a,c,u)},R.shouldComponentUpdate=o}return r.__N||r.__}function Nt(e,t){var n=Ke(De++,3);!H.__s&&dr(n.__H,t)&&(n.__=e,n.i=t,R.__H.__h.push(n))}function wt(e,t){var n=Ke(De++,4);!H.__s&&dr(n.__H,t)&&(n.__=e,n.i=t,R.__h.push(n))}function ir(e){return dt=5,Dt(function(){return{current:e}},[])}function ar(e,t,n){dt=6,wt(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function Dt(e,t){var n=Ke(De++,7);return dr(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function lr(e,t){return dt=8,Dt(function(){return e},t)}function ur(e){var t=R.context[e.__c],n=Ke(De++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(R)),t.props.value):e.__}function cr(e,t){H.useDebugValue&&H.useDebugValue(t?t(e):e)}function fa(e){var t=Ke(De++,10),n=gt();return t.__=e,R.componentDidCatch||(R.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function fr(){var e=Ke(De++,11);if(!e.__){for(var t=R.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function da(){for(var e;e=ws.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(qt),e.__H.__h.forEach(Vn),e.__H.__h=[]}catch(t){e.__H.__h=[],H.__e(t,e.__v)}}H.__b=function(e){R=null,qr&&qr(e)},H.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Xr&&Xr(e,t)},H.__r=function(e){Zr&&Zr(e),De=0;var t=(R=e.__c).__H;t&&(Tn===R?(t.__h=[],R.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(qt),t.__h.forEach(Vn),t.__h=[],De=0)),Tn=R},H.diffed=function(e){Jr&&Jr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ws.push(t)!==1&&Wr===H.requestAnimationFrame||((Wr=H.requestAnimationFrame)||ha)(da)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),Tn=R=null},H.__c=function(e,t){t.some(function(n){try{n.__h.forEach(qt),n.__h=n.__h.filter(function(r){return!r.__||Vn(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],H.__e(r,n.__v)}}),Yr&&Yr(e,t)},H.unmount=function(e){Kr&&Kr(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{qt(r)}catch(o){t=o}}),n.__H=void 0,t&&H.__e(t,n.__v))};var Qr=typeof requestAnimationFrame=="function";function ha(e){var t,n=function(){clearTimeout(r),Qr&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Qr&&(t=requestAnimationFrame(n))}function qt(e){var t=R,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),R=t}function Vn(e){var t=R;e.__c=e.__(),R=t}function dr(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function ys(e,t){return typeof t=="function"?t(e):t}function Un(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 hr(e,t){var n=t(),r=gt({t:{__:n,u:t}}),o=r[0].t,s=r[1];return wt(function(){o.__=n,o.u=t,In(o)&&s({t:o})},[e,n,t]),Nt(function(){return In(o)&&s({t:o}),e(function(){In(o)&&s({t:o})})},[e]),n}function In(e){var t,n,r=e.u,o=e.__;try{var s=r();return!((t=o)===(n=s)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}function pr(e){e()}function _r(e){return e}function mr(){return[!1,pr]}var gr=wt;function Qt(e,t){this.props=e,this.context=t}function bs(e,t){function n(o){var s=this.props.ref,i=s==o.ref;return!i&&s&&(s.call?s(null):s.current=null),t?!t(this.props,o)||!i:Un(this.props,o)}function r(o){return this.shouldComponentUpdate=n,b(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Qt.prototype=new ye).isPureReactComponent=!0,Qt.prototype.shouldComponentUpdate=function(e,t){return Un(this.props,e)||Un(this.state,t)};var eo=E.__b;E.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),eo&&eo(e)};var pa=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function vs(e){function t(n){if(!("ref"in n))return e(n,null);var r=n.ref;delete n.ref;var o=e(n,r);return n.ref=r,o}return t.$$typeof=pa,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var to=function(e,t){return e==null?null:Ne(Ne(e).map(t))},Ss={map:to,forEach:to,count:function(e){return e?Ne(e).length:0},only:function(e){var t=Ne(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Ne},_a=E.__e;E.__e=function(e,t,n,r){if(e.then){for(var o,s=t;s=s.__;)if((o=s.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}_a(e,t,n,r)};var no=E.unmount;function Cs(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=function(r,o){for(var s in o)r[s]=o[s];return r}({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Cs(r,t,n)})),e}function xs(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return xs(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 Tt(){this.__u=0,this.o=null,this.__b=null}function ks(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Es(e){var t,n,r;function o(s){if(t||(t=e()).then(function(i){n=i.default||i},function(i){r=i}),r)throw r;if(!n)throw t;return b(n,s)}return o.displayName="Lazy",o.__f=!0,o}function ot(){this.i=null,this.l=null}E.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),no&&no(e)},(Tt.prototype=new ye).__c=function(e,t){var n=t.__c,r=this;r.o==null&&(r.o=[]),r.o.push(n);var o=ks(r.__v),s=!1,i=function(){s||(s=!0,n.__R=null,o?o(a):a())};n.__R=i;var a=function(){if(!--r.__u){if(r.state.__a){var c=r.state.__a;r.__v.__k[0]=xs(c,c.__c.__P,c.__c.__O)}var u;for(r.setState({__a:r.__b=null});u=r.o.pop();)u.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(i,i)},Tt.prototype.componentWillUnmount=function(){this.o=[]},Tt.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]=Cs(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&b(fe,null,e.fallback);return o&&(o.__u&=-33),[b(fe,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 ma(e){return this.getChildContext=function(){return e.context},e.children}function ga(e){var t=this,n=e.h;t.componentWillUnmount=function(){Ve(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),t.v||(t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.h.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.h.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.h.removeChild(r)}}),Ve(b(ma,{context:t.context},e.__v),t.v)}function Ts(e,t){var n=b(ga,{__v:e,h:t});return n.containerInfo=t,n}(ot.prototype=new ye).__a=function(e){var t=this,n=ks(t.__v),r=t.l.get(e);return r[0]++,function(o){var s=function(){t.props.revealOrder?(r.push(o),ro(t,e,r)):o()};n?n(s):s()}},ot.prototype.render=function(e){this.i=null,this.l=new Map;var t=Ne(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},ot.prototype.componentDidUpdate=ot.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){ro(e,n,t)})};var Is=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,wa=/^(?: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]/,ya=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ba=/[A-Z0-9]/g,va=typeof document<"u",Sa=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Ms(e,t,n){return t.__k==null&&(t.textContent=""),Ve(e,t),typeof n=="function"&&n(),e?e.__c:null}function $s(e,t,n){return rr(e,t),typeof n=="function"&&n(),e?e.__c:null}ye.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ye.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var oo=E.event;function Ca(){}function xa(){return this.cancelBubble}function ka(){return this.defaultPrevented}E.event=function(e){return oo&&(e=oo(e)),e.persist=Ca,e.isPropagationStopped=xa,e.isDefaultPrevented=ka,e.nativeEvent=e};var wr,Ea={enumerable:!1,configurable:!0,get:function(){return this.class}},so=E.vnode;E.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={},s=r.indexOf("-")===-1;for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||va&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var c=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&a===!0?a="":c==="translate"&&a==="no"?a=!1:c[0]==="o"&&c[1]==="n"?c==="ondoubleclick"?i="ondblclick":c!=="onchange"||r!=="input"&&r!=="textarea"||Sa(n.type)?c==="onfocus"?i="onfocusin":c==="onblur"?i="onfocusout":ya.test(i)&&(i=c):c=i="oninput":s&&wa.test(i)?i=i.replace(ba,"-$&").toLowerCase():a===null&&(a=void 0),c==="oninput"&&o[i=c]&&(i="oninputCapture"),o[i]=a}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Ne(n.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Ne(n.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Ea)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Is,so&&so(e)};var io=E.__r;E.__r=function(e){io&&io(e),wr=e.__c};var ao=E.diffed;E.diffed=function(e){ao&&ao(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),wr=null};var As={ReactCurrentDispatcher:{current:{readContext:function(e){return wr.__n[e.__c].props.value},useCallback:lr,useContext:ur,useDebugValue:cr,useDeferredValue:_r,useEffect:Nt,useId:fr,useImperativeHandle:ar,useInsertionEffect:gr,useLayoutEffect:wt,useMemo:Dt,useReducer:pn,useRef:ir,useState:gt,useSyncExternalStore:hr,useTransition:mr}}},Ta="18.3.1";function Ns(e){return b.bind(null,e)}function Rt(e){return!!e&&e.$$typeof===Is}function Ds(e){return Rt(e)&&e.type===fe}function Rs(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Ps(e){return Rt(e)?or.apply(null,arguments):e}function Os(e){return!!e.__k&&(Ve(null,e),!0)}function Fs(e){return e&&(e.base||e.nodeType===1&&e)||null}var Ls=function(e,t){return e(t)},Hs=function(e,t){return e(t)},Vs=fe,Us=Rt,js={useState:gt,useId:fr,useReducer:pn,useEffect:Nt,useLayoutEffect:wt,useInsertionEffect:gr,useTransition:mr,useDeferredValue:_r,useSyncExternalStore:hr,startTransition:pr,useRef:ir,useImperativeHandle:ar,useMemo:Dt,useCallback:lr,useContext:ur,useDebugValue:cr,version:"18.3.1",Children:Ss,render:Ms,hydrate:$s,unmountComponentAtNode:Os,createPortal:Ts,createElement:b,createContext:_s,createFactory:Ns,cloneElement:Ps,createRef:us,Fragment:fe,isValidElement:Rt,isElement:Us,isFragment:Ds,isMemo:Rs,findDOMNode:Fs,Component:ye,PureComponent:Qt,memo:bs,forwardRef:vs,flushSync:Hs,unstable_batchedUpdates:Ls,StrictMode:Vs,Suspense:Tt,SuspenseList:ot,lazy:Es,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:As};const Ia=Object.freeze(Object.defineProperty({__proto__:null,Children:Ss,Component:ye,Fragment:fe,PureComponent:Qt,StrictMode:Vs,Suspense:Tt,SuspenseList:ot,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:As,cloneElement:Ps,createContext:_s,createElement:b,createFactory:Ns,createPortal:Ts,createRef:us,default:js,findDOMNode:Fs,flushSync:Hs,forwardRef:vs,hydrate:$s,isElement:Us,isFragment:Ds,isMemo:Rs,isValidElement:Rt,lazy:Es,memo:bs,render:Ms,startTransition:pr,unmountComponentAtNode:Os,unstable_batchedUpdates:Ls,useCallback:lr,useContext:ur,useDebugValue:cr,useDeferredValue:_r,useEffect:Nt,useErrorBoundary:fa,useId:fr,useImperativeHandle:ar,useInsertionEffect:gr,useLayoutEffect:wt,useMemo:Dt,useReducer:pn,useRef:ir,useState:gt,useSyncExternalStore:hr,useTransition:mr,version:Ta},Symbol.toStringTag,{value:"Module"})),Ma=`*,:before,: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: }::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: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,input:where(:not([type])):focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--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);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--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(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=checkbox]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=radio]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media (forced-colors: active){[type=checkbox]:indeterminate{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-y-0{top:0;bottom:0}.left-0{left:0}.right-0{right:0}.col-span-1{grid-column:span 1 / span 1}.col-span-2{grid-column:span 2 / span 2}.col-span-4{grid-column:span 4 / span 4}.ml-3{margin-left:.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.inline-table{display:inline-table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row-group{display:table-row-group}.table-row{display:table-row}.flow-root{display:flow-root}.grid{display:grid}.inline-grid{display:inline-grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.h-5{height:1.25rem}.h-\\[60px\\]{height:60px}.h-px{height:1px}.min-h-screen{min-height:100vh}.w-5{width:1.25rem}.w-96{width:24rem}.w-full{width:100%}.flex-shrink,.shrink{flex-shrink:1}.flex-grow,.grow{flex-grow:1}.basis-0{flex-basis:0px}.border-collapse{border-collapse:collapse}.rotate-180{--tw-rotate: 180deg;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))}.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))}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-stretch{justify-content:stretch}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-stretch{align-self:stretch}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-0{border-width:0px}.border-b{border-bottom-width:1px}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-12{padding-left:3rem;padding-right:3rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-\\[0\\.5625rem\\]{padding-top:.5625rem;padding-bottom:.5625rem}.pl-3{padding-left:.75rem}.pr-3{padding-right:.75rem}.text-justify{text-align:justify}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-4{line-height:1rem}.leading-tight{line-height:1.25}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.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)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.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)}.ring-inset{--tw-ring-inset: inset}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity, 1))}.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)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));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)}.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)}.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)}.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)}.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)}.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)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.placeholder\\:text-gray-500::-moz-placeholder{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.placeholder\\:text-gray-500::placeholder{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.focus\\:border-blue-600:focus{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--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(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)}.focus\\:ring-inset:focus{--tw-ring-inset: inset}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}`;function Ee(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function $a(e){return e!=null&&typeof e.GetEnumerator=="function"}function Aa(e){return e!=null&&typeof e.CompareTo=="function"}function Na(e){return e!=null&&typeof e.Equals=="function"}function Da(e){return e!=null&&typeof e.GetHashCode=="function"}function jn(e){return e!=null&&typeof e.Dispose=="function"}function V(e){jn(e)&&e.Dispose()}function Re(){return null}function en(e,t){var n,r;return((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===((r=Object.getPrototypeOf(t))==null?void 0:r.constructor)}class Ra{constructor(t){this.iter=t,this.current=Re()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this.iter.next();return this.current=t.value,!t.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function B(e){return $a(e)?e.GetEnumerator():new Ra(e[Symbol.iterator]())}function _n(e){return{next(){const t=e["System.Collections.IEnumerator.MoveNext"](),n=t?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0;return{done:!t,value:n}}}}function O(e,t){return e.toString(10).padStart(t,"0")}function lo(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function Pa(e,t){return e=e<0&&t!=null&&t!==10?65535+e+1:e,e.toString(t)}function ke(e,t){return e=e<0&&t!=null&&t!==10?4294967295+e+1:e,e.toString(t)}class Le{static id(t){return Le.idMap.has(t)||Le.idMap.set(t,++Le.count),Le.idMap.get(t)}}Le.idMap=new WeakMap;Le.count=0;function yr(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=n*33^e.charCodeAt(t++);return n}function Te(e){return e*2654435761|0}function Oa(e){return yr(e.toString(32))}function Pt(e){let t=0;const n=e.length;for(let r=0;r<n;r++){const o=e[r];t=(t<<5)+t^o}return t}function Fa(e){return e.getTime()}function La(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=Pe(e[r]);return Pt(n)}function Pe(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Te(e);case"bigint":return Oa(e);case"string":return yr(e);default:{if(Da(e))return e.GetHashCode();if(Ee(e))return La(e);if(e instanceof Date)return Fa(e);if(((t=Object.getPrototypeOf(e))==null?void 0:t.constructor)===Object){const n=Object.values(e).map(r=>Pe(r));return Pt(n)}else return Te(Le.id(e))}}}function Gn(e,t,n){if(e==null)return t==null;if(t==null||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function Gs(e,t){return Gn(e,t,be)}function Ha(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let o=0;o<n.length;o++)if(n[o]!==r[o]||!be(e[n[o]],t[r[o]]))return!1;return!0}function be(e,t){var n;return e===t?!0:e==null?t==null:t==null?!1:Na(e)?e.Equals(t):Ee(e)?Ee(t)&&Gs(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&Bs(e,t)===0:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object&&Ha(e,t)}function Bs(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+lo(e),r=t.getTime()+lo(t)),n===r?0:n<r?-1:1}function br(e,t){return e===t?0:e<t?-1:1}function Va(e,t,n){if(e==null)return t==null?0:1;if(t==null)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,o=0;r<e.length;r++)if(o=n(e[r],t[r]),o!==0)return o;return 0}function zs(e,t){return Va(e,t,te)}function Ua(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return n.length<r.length?-1:1;n.sort(),r.sort();for(let o=0,s=0;o<n.length;o++){const i=n[o];if(i!==r[o])return i<r[o]?-1:1;if(s=te(e[i],t[i]),s!==0)return s}return 0}function te(e,t){var n;return e===t?0:e==null?t==null?0:-1:t==null?1:Aa(e)?e.CompareTo(t):Ee(e)?Ee(t)?zs(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?Bs(e,t):-1:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object?Ua(e,t):-1}function M(e){const t={};for(const n of e)t[n[0]]=n[1];return t}function ja(e){Ee(e)?e.splice(0):e.clear()}const mn=new WeakMap;function j(e){if(e==null)return null;const t=(n,r)=>e(n)(r);return mn.set(t,e),t}function qe(e){return mn.get(e)??(t=>n=>e(t,n))}function Bn(e){if(e==null)return null;const t=(n,r,o)=>e(n)(r)(o);return mn.set(t,e),t}function Mn(e){return mn.get(e)??(t=>n=>r=>e(t,n,r))}function Ga(e){let t=0,n="[";for(const r of e){if(t===0)n+=ve(r);else if(t===100){n+="; ...";break}else n+="; "+ve(r);t++}return n+"]"}function ve(e,t=0){var n;if(e!=null&&typeof e=="object"){if(typeof e.toString=="function")return e.toString();if(Symbol.iterator in e)return Ga(e);{const r=(n=Object.getPrototypeOf(e))==null?void 0:n.constructor;return r===Object&&t<10?"{ "+Object.entries(e).map(([o,s])=>o+" = "+ve(s,t+1)).join(`
2
- `)+" }":(r==null?void 0:r.name)??""}}return String(e)}function Ba(e,t){if(t.length===0)return e;{let n,r=!0;return t.length===1?(n=ve(t[0]),r=n.indexOf(" ")>=0):n=t.map(o=>ve(o)).join(", "),e+(r?" (":" ")+n+(r?")":"")}}class F{get name(){return this.cases()[this.tag]}toJSON(){return this.fields.length===0?this.name:[this.name].concat(this.fields)}toString(){return Ba(this.name,this.fields)}GetHashCode(){const t=this.fields.map(n=>Pe(n));return t.splice(0,0,Te(this.tag)),Pt(t)}Equals(t){return this===t?!0:en(this,t)&&this.tag===t.tag?Gs(this.fields,t.fields):!1}CompareTo(t){return this===t?0:en(this,t)?this.tag===t.tag?zs(this.fields,t.fields):this.tag<t.tag?-1:1:-1}}function za(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}function Wa(e){return"{ "+Object.entries(e).map(([t,n])=>t+" = "+ve(n)).join(`
3
- `)+" }"}function qa(e){const t=Object.values(e).map(n=>Pe(n));return Pt(t)}function Za(e,t){if(e===t)return!0;if(en(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!be(e[n[r]],t[n[r]]))return!1;return!0}else return!1}function Ja(e,t){if(e===t)return 0;if(en(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=te(e[n[r]],t[n[r]]);if(o!==0)return o}return 0}else return-1}class U{toJSON(){return za(this)}toString(){return Wa(this)}GetHashCode(){return qa(this)}Equals(t){return Za(this,t)}CompareTo(t){return Ja(this,t)}}class Ce{get contents(){return this.getter()}set contents(t){this.setter(t)}constructor(t,n){typeof n=="function"?(this.getter=t,this.setter=n):(this.getter=()=>t,this.setter=r=>{t=r})}}class Ya{constructor(t){this.message=t}}function Ka(e){return e instanceof Ya||e instanceof Error}function Xa(e){return e instanceof Promise}function tn(e){return Ka(e)||Xa(e)?e:new Error(String(e))}const Ws=ve(Ma),yt=Symbol("numeric");function qs(e){return typeof e=="number"||typeof e=="bigint"||(e==null?void 0:e[yt])}function Qa(e,t){return typeof e=="number"||typeof e=="bigint"?e<t?-1:e>t?1:0:e.CompareTo(t)}function zn(e,t){return typeof e=="number"?e*t:typeof e=="bigint"?e*BigInt(t):e[yt]().multiply(t)}function Zt(e,t){return typeof e=="number"?e.toFixed(t):typeof e=="bigint"?e:e[yt]().toFixed(t)}function nn(e,t){return typeof e=="number"?e.toPrecision(t):typeof e=="bigint"?e:e[yt]().toPrecision(t)}function rn(e,t){return typeof e=="number"?e.toExponential(t):typeof e=="bigint"?e:e[yt]().toExponential(t)}function on(e){return typeof e=="number"?(Number(e)>>>0).toString(16):typeof e=="bigint"?BigInt.asUintN(64,e).toString(16):e[yt]().toHex()}const el=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],tl=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],nl=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],rl=["January","February","March","April","May","June","July","August","September","October","November","December"];function re(e,t,n){let r=0,o=t;for(;o<e.length&&e[o]===n;)o++,r++;return r}function uo(e,t){return t>=e.length-1?-1:e.charCodeAt(t+1)}function ol(e,t){let n=t;const r=e[t];let o="",s=!1;for(;t<e.length;){t++;const i=e[t];if(i===r){s=!0;break}else if(i==="\\")if(t<e.length)t++,o+=e[t];else throw new Error("Invalid string format");else o+=i}if(!s)throw new Error(`Invalid string format could not find matching quote for ${r}`);return[o,t-n+1]}function vr(e,t,n){let r=0,o=0,s="";const i=n?Ot(e.getTime(),1):e;for(;r<t.length;){const a=t[r];switch(a){case"d":switch(o=re(t,r,"d"),r+=o,o){case 1:s+=fo(i);break;case 2:s+=O(fo(i),2);break;case 3:s+=el[_o(i)];break;case 4:s+=tl[_o(i)];break}break;case"f":if(o=re(t,r,"f"),r+=o,o<=3){const m=10**(3-o);s+=O(Math.floor(zt(i)/m),o)}else o<=7&&(s+=(""+zt(i)).padEnd(o,"0"));break;case"F":if(o=re(t,r,"F"),r+=o,o<=3){const m=10**(3-o),w=Math.floor(zt(i)/m);w!=0&&(s+=O(w,o))}else if(o<=7){const m=zt(i);m!=0&&(s+=O(m,3))}break;case"g":o=re(t,r,"g"),r+=o,o<=2&&(s+="A.D.");break;case"h":switch(o=re(t,r,"h"),r+=o,o){case 1:s+=Bt(i)%12;break;case 2:s+=O(Bt(i)%12,2);break}break;case"H":switch(o=re(t,r,"H"),r+=o,o){case 1:s+=Bt(i);break;case 2:s+=O(Bt(i),2);break}break;case"K":switch(o=re(t,r,"K"),r+=o,o){case 1:switch(co(i)){case 1:s+="Z";break;case 2:s+=it(i.getTimezoneOffset()*-6e4);break}break}break;case"m":switch(o=re(t,r,"m"),r+=o,o){case 1:s+=ho(i);break;case 2:s+=O(ho(i),2);break}break;case"M":switch(o=re(t,r,"M"),r+=o,o){case 1:s+=Wt(i);break;case 2:s+=O(Wt(i),2);break;case 3:s+=nl[Wt(i)-1];break;case 4:s+=rl[Wt(i)-1];break}break;case"s":switch(o=re(t,r,"s"),r+=o,o){case 1:s+=po(i);break;case 2:s+=O(po(i),2);break}break;case"t":switch(o=re(t,r,"t"),r+=o,o){case 1:s+=i.getHours()<12?"A":"P";break;case 2:s+=i.getHours()<12?"AM":"PM";break}break;case"y":switch(o=re(t,r,"y"),r+=o,o){case 1:s+=i.getFullYear()%100;break;case 2:s+=O(i.getFullYear()%100,2);break;case 3:s+=O(i.getFullYear(),3);break;case 4:s+=O(i.getFullYear(),4);break;case 5:s+=O(i.getFullYear(),5);break}break;case"z":o=re(t,r,"z"),r+=o;let c="";switch(co(i)){case 1:c="+00:00";break;case 2:c=it(i.getTimezoneOffset()*-6e4);break;case 0:c=it(hl(i).getTimezoneOffset()*-6e4);break}const u=c[0]==="-"?"-":"+",f=parseInt(c.substring(1,3),10),l=parseInt(c.substring(4,6),10);switch(o){case 1:s+=`${u}${f}`;break;case 2:s+=`${u}${O(f,2)}`;break;default:s+=`${u}${O(f,2)}:${O(l,2)}`;break}break;case":":s+=":",r++;break;case"/":s+="/",r++;break;case"'":case'"':const[h,d]=ol(t,r);s+=h,r+=d;break;case"%":const _=uo(t,r);if(_>=0&&_!==37)r+=2,s+=vr(i,String.fromCharCode(_),n);else throw new Error("Invalid format string");break;case"\\":const g=uo(t,r);if(g>=0)r+=2,s+=String.fromCharCode(g);else throw new Error("Invalid format string");break;default:r++,s+=a;break}}return s}function co(e){return e.kind||0}function it(e){const t=e<0;e=Math.abs(e);const n=~~(e/36e5),r=e%36e5/6e4;return(t?"-":"+")+O(n,2)+":"+O(r,2)}function sn(e,t){const n=e.toISOString();return t==="first"?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function sl(e,t){if(t)return e.toISOString();{const n=e.kind==null?!0:e.kind===2;return O(e.getFullYear(),4)+"-"+O(e.getMonth()+1,2)+"-"+O(e.getDate(),2)+"T"+O(e.getHours(),2)+":"+O(e.getMinutes(),2)+":"+O(e.getSeconds(),2)+"."+O(e.getMilliseconds(),3)+(n?it(e.getTimezoneOffset()*-6e4):"")}}function il(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+it(t)}function al(e,t){const n=new Date(e.getTime()+(e.offset??0));if(typeof t!="string")return n.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+it(e.offset??0);if(t.length===1)switch(t){case"D":case"d":return sn(n,"first");case"T":case"t":return sn(n,"second");case"O":case"o":return il(n,e.offset??0);default:throw new Error("Unrecognized Date print format")}else return vr(n,t,!0)}function ll(e,t){const n=e.kind===1;if(typeof t!="string")return n?e.toUTCString():e.toLocaleString();if(t.length===1)switch(t){case"D":case"d":return n?sn(e,"first"):e.toLocaleDateString();case"T":case"t":return n?sn(e,"second"):e.toLocaleTimeString();case"O":case"o":return sl(e,n);default:throw new Error("Unrecognized Date print format")}else return vr(e,t,n)}function gn(e,t,n){return e.offset!=null?al(e,t):ll(e,t)}function Ot(e,t){const n=new Date(e);return n.kind=(t??0)|0,n}function ul(){return Ot(-621355968e5,1)}function Zs(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}(e==null||e.trim()==="")&&t(),e.length===10&&e[4]==="-"&&e[7]==="-"&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.getTime())){const o=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(e);if(o!=null){let s,i=0;if(o[2]!=null){const a=o[2].split(":"),c=parseInt(a[0],10);i=c*3600+parseInt(a[1]||"0",10)*60+parseFloat(a[2]||"0"),o[3]!=null&&o[3].toUpperCase()==="PM"&&c<12&&(i+=720)}if(o[4]!=null){if(o[1]!=null)s=new Date(o[1]+" UTC");else{const a=new Date;s=new Date(a.getUTCFullYear()+"/"+(a.getUTCMonth()+1)+"/"+a.getUTCDate())}if(o[4]==="Z")r="Z";else{let a=parseInt(o[5],10)*60+parseInt(o[6]||"0",10);o[4][0]==="-"&&(a*=-1),r=a,i-=a*60}}else if(o[1]!=null)s=new Date(o[1]);else{const a=new Date;s=new Date(a.getFullYear()+"/"+(a.getMonth()+1)+"/"+a.getDate())}n=new Date(s.getTime()+i*1e3),n=new Date(n.getTime()+(n.getTimezoneOffset()-s.getTimezoneOffset())*6e4)}else t();isNaN(n.getTime())&&t()}return[n,r]}function cl(e,t=!1){const[n,r]=Zs(e),o=r!=null?t&&r==="Z"?1:2:0;return Ot(n.getTime(),o)}function fl(e,t){try{return t.contents=cl(e),!0}catch{return!1}}function dl(e){return e.kind===1?e:Ot(e.getTime(),1)}function hl(e){return e.kind===2?e:Ot(e.getTime(),2)}function fo(e){return e.kind===1?e.getUTCDate():e.getDate()}function Bt(e){return e.kind===1?e.getUTCHours():e.getHours()}function zt(e){return e.kind===1?e.getUTCMilliseconds():e.getMilliseconds()}function ho(e){return e.kind===1?e.getUTCMinutes():e.getMinutes()}function Wt(e){return(e.kind===1?e.getUTCMonth():e.getMonth())+1}function po(e){return e.kind===1?e.getUTCSeconds():e.getSeconds()}function _o(e){return e.kind===1?e.getUTCDay():e.getDay()}function pl(e,t=0){if(t&-284)throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let n="gu";return n+=t&1?"i":"",n+=t&2?"m":"",n+=t&16?"s":"",new RegExp(e,n)}function Js(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function mo(e,t,n=0){if(t==null)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=n;const r=[];let o,s=-1;for(;(o=e.exec(t))!=null;)o.index===s?e.lastIndex++:(s=o.index,r.push(o));return r}function _l(e,t,n,r,o=0){function s(){let i=arguments[0];if(r){r--;const a=[],c=arguments.length,u=typeof arguments[c-1]!="string";let f=u?c-3:c-2;for(let l=0;l<f;l++)a.push(arguments[l]);a.index=arguments[f++],a.input=arguments[f++],u&&(a.groups=arguments[f]),i=n(a)}return i}if(typeof e=="string"){const i=e;e=pl(t,r??0),t=i,r=void 0}if(typeof n=="function")return r=r??-1,t.substring(0,o)+t.substring(o).replace(e,s);if(n=n.replace(/\$0/g,i=>"$&").replace(/\${([^}]+)}/g,"$<$1>"),r!=null){let i;const a=t.substring(o),c=mo(e,a),u=mo.length>r?(i=c[r-1],a.substring(0,i.index+i[0].length)):a;return t.substring(0,o)+u.replace(e,n)+t.substring(o+u.length)}else return t.replace(e,n)}const xt=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,ml=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function Ys(e,t){return Qa(e,t)<0}function ht(e){return{input:e,cont:yl(e)}}function Ks(e,t){return typeof t=="string"?e(t):t.cont(e)}function Mt(e){return Ks(t=>t,e)}function gl(e){return Ks(t=>{throw new Error(t)},e)}function wl(e,t,n,r,o){let s="";if(t=t||"",o=o||"",qs(e))switch(o.toLowerCase()!=="x"&&(Ys(e,0)?(e=zn(e,-1),s="-"):t.indexOf(" ")>=0?s=" ":t.indexOf("+")>=0&&(s="+")),r=r==null?null:parseInt(r,10),o){case"f":case"F":r=r??6,e=Zt(e,r);break;case"g":case"G":e=r!=null?nn(e,r):nn(e);break;case"e":case"E":e=r!=null?rn(e,r):rn(e);break;case"x":e=on(e);break;case"X":e=on(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=gn(e):e=ve(e);if(n=typeof n=="number"?n:parseInt(n,10),isNaN(n))e=s+e;else{const i=t.indexOf("0")>=0,a=t.indexOf("-")>=0,c=a||!i?" ":"0";c==="0"?(e=$t(e,n-s.length,c,a),e=s+e):e=$t(s+e,n,c,a)}return e}function Xs(e,t,n,r="",o=-1){return(...s)=>{let i=r;const a=t.slice(),c=n.slice();for(const u of s){const[,,f,l,h,d]=c[0];let _=l;if(o>=0)_=o,o=-1;else if(_==="*"){if(u<0)throw new Error("Non-negative number required");o=u;continue}i+=a[0],i+=wl(u,f,_,h,d),a.splice(0,1),c.splice(0,1)}return c.length===0?(i+=a[0],e(i)):Xs(e,a,c,i,o)}}function yl(e){return t=>{xt.lastIndex=0;const n=[],r=[];let o=0,s=xt.exec(e);for(;s;){const i=s.index+(s[1]||"").length;n.push(e.substring(o,i).replace(/%%/g,"%")),r.push(s),o=xt.lastIndex,xt.lastIndex-=1,s=xt.exec(e)}return n.length===0?t(e.replace(/%%/g,"%")):(n.push(e.substring(o).replace(/%%/g,"%")),Xs(t,n,r))}}function bl(e,...t){let n;return n=e,n.replace(ml,(r,o,s,i,a,c)=>{if(o<0||o>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let u=t[o];if(qs(u))switch(a=a==null?null:parseInt(a,10),i){case"f":case"F":a=a??2,u=Zt(u,a);break;case"g":case"G":u=a!=null?nn(u,a):nn(u);break;case"e":case"E":u=a!=null?rn(u,a):rn(u);break;case"p":case"P":a=a??2,u=Zt(zn(u,100),a)+" %";break;case"d":case"D":u=a!=null?$n(String(u),a,"0"):String(u);break;case"x":case"X":u=a!=null?$n(on(u),a,"0"):on(u),i==="X"&&(u=u.toUpperCase());break;default:if(c){let f="";u=c.replace(/([0#,]+)(\.[0#]+)?/,(l,h,d)=>{Ys(u,0)&&(u=zn(u,-1),f="-"),d=d==null?"":d.substring(1),u=Zt(u,Math.max(d.length,0));let[_,g]=u.split(".");g||(g="");const m=h.replace(/,/g,"").replace(/^#+/,"").length;_=$n(_,m,"0");const w=d.replace(/#+$/,"").length;if(w>g.length?g=Sl(g,w,"0"):w<g.length&&(g=g.substring(0,w)+g.substring(w).replace(/0+$/,"")),h.indexOf(",")>0){const S=_.length%3,T=Math.floor(_.length/3);let J=S>0?_.substr(0,S)+(T>0?",":""):"";for(let pe=0;pe<T;pe++)J+=_.substr(S+pe*3,3)+(pe<T-1?",":"");_=J}return g.length>0?_+"."+g:_}),u=f+u}}else u instanceof Date?u=gn(u,c||i):u=ve(u);return s=parseInt((s||" ").substring(1),10),isNaN(s)||(u=$t(String(u),Math.abs(s)," ",s<0)),u})}function Sr(e){return typeof e!="string"||e.length===0}function vl(e){return typeof e!="string"||/^\s*$/.test(e)}function Ge(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function $t(e,t,n,r){n=n||" ",t=t-e.length;for(let o=0;o<t;o++)e=r?e+n:n+e;return e}function $n(e,t,n){return $t(e,t,n)}function Sl(e,t,n){return $t(e,t,n,!0)}function Cl(e,t,n,r){if(n=typeof n=="number"?n:void 0,r=typeof r=="number"?r:0,n&&n<0)throw new Error("Count cannot be less than zero");if(n===0)return[];const o=(r&1)===1,s=(r&2)===2;t=t||[],t=t.filter(f=>f).map(Js),t=t.length>0?t:["\\s"];const i=[],a=new RegExp(t.join("|"),"g");let c=!0,u=0;do{const f=a.exec(e);if(f===null){const l=s?e.substring(u).trim():e.substring(u);(!o||l.length>0)&&i.push(l),c=!1}else{const l=s?e.substring(u,f.index).trim():e.substring(u,f.index);(!o||l.length>0)&&(n!=null&&i.length+1===n?(i.push(s?e.substring(u).trim():e.substring(u)),c=!1):i.push(l)),u=a.lastIndex}}while(c);return i}function xl(e,...t){if(t.length===0)return e.trim();const n="["+Js(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}class pt{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return Pe(this.value)}Equals(t){return t==null?!1:be(this.value,t instanceof pt?t.value:t)}CompareTo(t){return t==null?1:te(this.value,t instanceof pt?t.value:t)}}function y(e){if(e==null)throw new Error("Option has no value");return e instanceof pt?e.value:e}function ce(e){return e==null||e instanceof pt?new pt(e):e}function kl(e){return e==null?[]:[y(e)]}function Cr(e,t){return e!=null?y(e):t}function xr(e,t){return t!=null?ce(e(y(t))):void 0}class El{constructor(t,n,r,o){this.declaringType=t,this.tag=n,this.name=r,this.fields=o}}class he{constructor(t,n,r,o,s,i,a){this.fullname=t,this.generics=n,this.construct=r,this.parent=o,this.fields=s,this.cases=i,this.enumCases=a}toString(){return q(this)}GetHashCode(){return Qs(this)}Equals(t){return Wn(this,t)}}function Ie(e){return e.generics!=null?e.generics:[]}function Qs(e){const t=yr(e.fullname),n=Ie(e).map(Qs);return Pt([t,...n])}function Wn(e,t){return e.fullname===""?t.fullname===""&&Gn(un(e),un(t),([n,r],[o,s])=>n===o&&Wn(r,s)):e.fullname===t.fullname&&Gn(Ie(e),Ie(t),Wn)}function Je(e,t,n,r){return new he(e,t,n,r)}function Xe(e,t,n,r){return new he(e,t,n,void 0,r)}function ei(e,t,n,r){const o=new he(e,t,n,void 0,void 0,()=>{const s=n.prototype.cases();return r().map((i,a)=>new El(o,a,s[a],i))});return o}function at(e){return new he("Microsoft.FSharp.Core.FSharpOption`1",[e])}function an(e){return new he("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Tl=new he("System.Object"),ln=new he("System.String"),ue=new he("System.Int32");function kr(e){if(Array.isArray(e))return e[0];if(e instanceof he){const t=wn(e);if(t!=null)return kr(t)+"[]";{const n=e.fullname.lastIndexOf(".");return n===-1?e.fullname:e.fullname.substr(n+1)}}else return e.name}function q(e){const t=wn(e);return t!=null?q(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(n=>q(n)).join(",")+"]"}function Il(e){return wn(e)!=null}function wn(e){var t;return e.fullname==="[]"&&((t=e.generics)==null?void 0:t.length)===1?e.generics[0]:void 0}function Ml(e){return e.generics!=null&&e.generics.length>0}function ti(e){return e.enumCases!=null&&e.enumCases.length>0}function $l(e){return e.generics==null?e:new he(e.fullname,e.generics.map(()=>Tl))}function Al(e){var t;return(t=e.generics)==null?void 0:t[0]}function Qe(e){if(ti(e)&&e.enumCases!=null)return e.enumCases.map(t=>t[1]);throw new Error(`${e.fullname} is not an enum type`)}function Nl(e,t){if(e.enumCases!=null)if(typeof t=="string"){for(const n of e.enumCases)if(n[0]===t)return n;throw new Error(`'${t}' was not found in ${e.fullname}`)}else{for(const n of e.enumCases)if(n[1]===t)return n;return["",t]}else throw new Error(`${e.fullname} is not an enum type`)}function et(e,t){const n=parseInt(t,10);return Nl(e,isNaN(n)?t:n)[1]}function Dl(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function un(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function Rl(e){if(ni(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Pl(e){return e instanceof he?e.cases!=null:e instanceof F}function Ol(e){return e instanceof he?e.fields!=null:e instanceof U}function ni(e){return e.fullname.startsWith("System.Tuple")}function Fl(e){return e.fields==null?[]:e.fields}function Ll(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);const r=e.declaringType.construct;return r==null?{}:(e.declaringType.cases?e.declaringType.cases().length==1:!1)?new r(...t):new r(e.tag,t)}function Hl(e,t){const n=un(e);if(n.length!==t.length)throw new Error(`Expected an array of length ${n.length} but got ${t.length}`);return e.construct!=null?new e.construct(...t):n.reduce((r,[o,s],i)=>(r[o]=t[i],r),{})}function Vl(e,t){return e}const ri="Collection was empty.",Ul="The input must be non-negative.",oi="The input sequence has an insufficient number of elements.";function si(e,t){return new Array(t)}function go(e,t){return e>t?e:t}function wo(e,t){return e<t?e:t}function Er(e,t,n,r){const o=t|0;return e.fill(r,o,o+n)}function yn(e,t,n){const r=t.length|0,o=si(n,r);for(let s=0;s<=r-1;s++)Ue(o,s,e(X(s,t)));return o}function jl(e,t){const n=si(t,1);return Ue(n,0,e),n}function Gl(e){return e.slice().reverse()}function Bl(e,t){return t.find(e)}function zl(e,t,n){const r=[];for(let o=0;o<=t.length-1;o++){const s=e(X(o,t));if(s!=null){const i=y(s);r.push(i)}}return be(n,Re())?r:yn(o=>o,r,n)}function bn(e,t,n){const r=e;return n.reduce(r,t)}function X(e,t){if(e<0||e>=t.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");return t[e]}function Ue(e,t,n){if(t<0||t>=e.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");e[t]=n}function ii(e,t,n){return t.reduceRight((r,o)=>e(o,r),n)}class ne extends U{constructor(t,n){super(),this.head=t,this.tail=n}toString(){return"["+Ge("; ",this)+"]"}Equals(t){const n=this;return n===t?!0:((o,s)=>{e:for(;;){const i=o,a=s,c=i.tail,u=a.tail;if(c!=null)if(u!=null){const f=y(c),l=y(u);if(be(i.head,a.head)){o=f,s=l;continue e}else return!1}else return!1;else return u==null}})(n,t)}GetHashCode(){return((r,o,s)=>{e:for(;;){const i=r,a=o,c=s,u=c.tail;if(u!=null){const f=y(u);if(i>18)return a|0;r=i+1,o=(a<<1)+Pe(c.head)+631*i,s=f;continue e}else return a|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((o,s)=>{e:for(;;){const i=o,a=s,c=i.tail,u=a.tail;if(c!=null)if(u!=null){const f=y(c),l=y(u),h=te(i.head,a.head)|0;if(h===0){o=f,s=l;continue e}else return h|0}else return 1;else return u!=null?-1:0}})(this,t)|0}GetEnumerator(){return ql(this)}[Symbol.iterator](){return _n(B(this))}"System.Collections.IEnumerable.GetEnumerator"(){return B(this)}}class Wl{constructor(t){this.xs=t,this.it=this.xs,this.current=Re()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this,n=t.it.tail;if(n!=null){const r=y(n);return t.current=t.it.head,t.it=r,!0}else return!1}"System.Collections.IEnumerator.Reset"(){const t=this;t.it=t.xs,t.current=Re()}Dispose(){}}function ql(e){return new Wl(e)}function z(){return new ne(Re(),void 0)}function Ft(e,t){return new ne(e,t)}function Lt(e){return e.tail==null}function ai(e){return((n,r)=>{e:for(;;){const o=n,i=r.tail;if(i!=null){n=o+1,r=y(i);continue e}else return o|0}})(0,e)|0}function Tr(e){if(e.tail!=null)return e.head;throw new Error(ri+"\\nParameter name: list")}function de(e){const t=e.tail;if(t!=null)return y(t);throw new Error(ri+"\\nParameter name: list")}function W(){return z()}function le(e,t){return Ft(e,t)}function Se(e){return Ft(e,z())}function $(e){return Lt(e)}function li(e){return ai(e)}function C(e){return Tr(e)}function I(e){return de(e)}function bt(e){const t=ai(e)|0,n=Er(new Array(t),0,t,null);return((o,s)=>{e:for(;;){const i=o,a=s;if(!Lt(a)){Ue(n,i,Tr(a)),o=i+1,s=de(a);continue e}break}})(0,e),n}function Fe(e,t,n){let r=t,o=n;for(;!Lt(o);)r=e(r,C(o)),o=de(o);return r}function Ir(e){return Fe((t,n)=>Ft(n,t),z(),e)}function Zl(e,t,n){return ii(e,bt(t),n)}function cn(e,t){Fe((n,r)=>{e(r)},void 0,t)}function L(e,t){let n=t;for(let r=e.length-1;r>=0;r--)n=Ft(X(r,e),n);return n}function k(e){return L(e,z())}function Jl(e){let t,n;if(Ee(e))return k(e);if(e instanceof ne)return e;{const r=z();let o=r;const s=B(e);try{for(;s["System.Collections.IEnumerator.MoveNext"]();){const c=s["System.Collections.Generic.IEnumerator`1.get_Current"]();o=(t=o,n=new ne(c,void 0),t.tail=n,n)}}finally{V(s)}const i=o,a=z();return i.tail=a,de(r)}}function Mr(e,t){return Fe((n,r)=>Ft(r,n),t,Ir(e))}function $r(e,t){const n=z(),r=Fe((s,i)=>{const a=new ne(e(i),void 0);return s.tail=a,a},n,t),o=z();return r.tail=o,de(n)}function ui(e,t){const n=z(),r=Fe((s,i)=>{if(e(i)){const a=new ne(i,void 0);return s.tail=a,a}else return s},n,t),o=z();return r.tail=o,de(n)}function Yl(e,t){const n=z(),r=z(),o=n,s=Fe((c,u)=>{let f,l;const h=c[0],d=c[1];return e(u)?[(f=new ne(u,void 0),h.tail=f,f),d]:[h,(l=new ne(u,void 0),d.tail=l,l)]},[o,r],t),i=z();s[0].tail=i;const a=z();return s[1].tail=a,[de(o),de(r)]}function Kl(e,t){const n=z(),r=Fe((s,i)=>{const a=e(i);if(a==null)return s;{const c=new ne(y(a),void 0);return s.tail=c,c}},n,t),o=z();return r.tail=o,de(n)}function ci(e,t){const n=bt(t);return n.sort(e),k(n)}function Xl(e,t,n){return ci((r,o)=>n.Compare(e(r),e(o)),t)}function Ql(e,t,n){return ci((r,o)=>n.Compare(e(r),e(o))*-1,t)}function eu(e,t){e:for(;;){const n=e,r=t;if(n<=0)return r;if(Lt(r))throw new Error(oi+"\\nParameter name: list");e=n-1,t=de(r);continue e}}function tu(e,t){if(e<0)throw new Error(Ul+"\\nParameter name: count");const n=(i,a,c)=>{let u;e:for(;;){const f=i,l=a,h=c;if(f<=0)return l;if(Lt(h))throw new Error(oi+"\\nParameter name: list");i=f-1,a=(u=new ne(Tr(h),void 0),l.tail=u,u),c=de(h);continue e}},r=z(),o=n(e,r,t),s=z();return o.tail=s,de(r)}const N=js;function nu(e){const t=k([b("style",{children:[Ws]}),b("div",{className:"text-blue-500",children:`Welcome to apollo-import-workspace-app, with backend url ${e.backendUrl}`})]);return b("div",{children:N.Children.toArray(Array.from(t))})}class ru{constructor(t=!1){this._id=0,this._cancelled=t,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,t]of this._listeners)t()}}addListener(t){const n=this._id;return this._listeners.set(this._id++,t),n}removeListener(t){return this._listeners.delete(t)}register(t,n){const r=this,o=this.addListener(n==null?t:()=>t(n));return{Dispose(){r.removeListener(o)}}}Dispose(){}}class Ar extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Ar.prototype)}}class Nr{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>Nr.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function He(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new Ar);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(n){t.onError(tn(n))}});else try{e(t)}catch(n){t.onError(tn(n))}}}function ou(e,t){return He(n=>{e({onSuccess:r=>{try{t(r)(n)}catch(o){n.onError(tn(o))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})})}function su(e){return He(t=>t.onSuccess(e))}class iu{Bind(t,n){return ou(t,n)}Combine(t,n){return this.Bind(t,()=>n)}Delay(t){return He(n=>t()(n))}For(t,n){const r=t[Symbol.iterator]();let o=r.next();return this.While(()=>!o.done,this.Delay(()=>{const s=n(o.value);return o=r.next(),s}))}Return(t){return su(t)}ReturnFrom(t){return t}TryFinally(t,n){return He(r=>{t({onSuccess:o=>{n(),r.onSuccess(o)},onError:o=>{n(),r.onError(o)},onCancel:o=>{n(),r.onCancel(o)},cancelToken:r.cancelToken,trampoline:r.trampoline})})}TryWith(t,n){return He(r=>{t({onSuccess:r.onSuccess,onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline,onError:o=>{try{n(o)(r)}catch(s){r.onError(tn(s))}}})})}Using(t,n){return this.TryFinally(n(t),()=>t.Dispose())}While(t,n){return t()?this.Bind(n,()=>this.While(t,n)):this.Return(void 0)}Zero(){return He(t=>t.onSuccess(void 0))}}const ae=new iu;function au(e){return new fi(0,[e])}function lu(e){return new fi(1,[e])}class fi extends F{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Choice1Of2","Choice2Of2"]}}function uu(e){return au(e)}function cu(e){return lu(e)}function An(e){}const fu=new ru;function du(e){return He(t=>{e({onSuccess:n=>t.onSuccess(uu(n)),onError:n=>t.onSuccess(cu(n)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function hu(e){return He(t=>e([t.onSuccess,t.onError,t.onCancel]))}function pu(e,t){return mu(e,t)}function _u(e,t){return pu(e,t)}function mu(e,t,n,r,o){typeof t!="function"&&(o=t,t=void 0);const s=new Nr;e({onSuccess:t||An,onError:An,onCancel:An,cancelToken:o||fu,trampoline:s})}class di extends F{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class gu extends F{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Empty","Text","Binary","Form"]}}class Dr extends U{constructor(t,n,r,o,s,i,a,c){super(),this.url=t,this.method=n,this.headers=r,this.withCredentials=o,this.overridenMimeType=s,this.overridenResponseType=i,this.timeout=a,this.content=c}}class nt extends F{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class hi extends U{constructor(t,n,r,o,s,i){super(),this.statusCode=t|0,this.responseText=n,this.responseType=r,this.responseUrl=o,this.responseHeaders=s,this.content=i}}function wu(e){throw new Error(e)}const yu="Enumeration already finished.",bu="Enumeration has not started. Call MoveNext.",pi="The input sequence has an insufficient number of elements.",vu="Reset is not supported on this enumerator.";function Su(){throw new Error(vu)}function Rr(){throw new Error(bu)}function qn(){throw new Error(yu)}class Cu{constructor(t){this.f=t}toString(){const t=this;let n=0,r="seq [";const o=B(t);try{for(;n<4&&o["System.Collections.IEnumerator.MoveNext"]();)n>0&&(r=r+"; "),r=r+ve(o["System.Collections.Generic.IEnumerator`1.get_Current"]()),n=n+1|0;return n===4&&(r=r+"; ..."),r+"]"}finally{V(o)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return _n(B(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function xu(e){return new Cu(e)}class ku{constructor(t,n,r){this.current=t,this.next=n,this.dispose=r}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current()}"System.Collections.IEnumerator.get_Current"(){return this.current()}"System.Collections.IEnumerator.MoveNext"(){return this.next()}"System.Collections.IEnumerator.Reset"(){Su()}Dispose(){this.dispose()}}function vn(e,t,n){return new ku(e,t,n)}function Eu(e){let t,n,r=!1,o=!1,s;const i=()=>{if(o=!0,n!=null){const a=y(n);try{V(a)}finally{n=void 0}}if(t!=null){const a=y(t);try{V(a)}finally{t=void 0}}};return vn(()=>(r?o&&qn():Rr(),s!=null?y(s):qn()),()=>{let a;if(r||(r=!0),o)return!1;{let c;for(;c==null;){const u=t,f=n;if(u!=null)if(f!=null){const l=y(f);if(l["System.Collections.IEnumerator.MoveNext"]())s=ce(l["System.Collections.Generic.IEnumerator`1.get_Current"]()),c=!0;else try{V(l)}finally{n=void 0}}else{const l=y(u);l["System.Collections.IEnumerator.MoveNext"]()?n=(a=l["System.Collections.Generic.IEnumerator`1.get_Current"](),B(a)):(i(),c=!1)}else t=B(e)}return y(c)}},()=>{o||i()})}function Tu(e,t){return vn(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{V(t)}finally{}})}function _i(e,t,n){let r=!1,o,s=ce(e());const i=()=>{if(s!=null){const c=y(s);try{n(c)}finally{s=void 0}}},a=()=>{try{i()}finally{o=void 0}};return vn(()=>(r||Rr(),o!=null?y(o):qn()),()=>{if(r||(r=!0),s!=null){const c=y(s);let u;try{u=t(c)}catch(f){throw a(),f}return u!=null?(o=u,!0):(a(),!1)}else return!1},i)}function Iu(e,t){let n,r=t;return vn(()=>{if(n!=null){const o=y(n)[0];return y(n)[1],o}else return Rr()},()=>(n=e(r),n!=null?(y(n)[0],r=y(n)[1],!0):!1),()=>{})}function Mu(e,t){t==null&&wu(e)}function vt(e){return xu(e)}function Ye(e){return Mu("source",e),B(e)}function Z(e){return vt(()=>B(e()))}function mi(e){return vt(()=>Eu(e))}function $u(e,t){return vt(()=>Iu(e,t))}function ee(e){return Z(()=>jl(e))}function Au(e){return e instanceof ne?bt(e):Array.from(e)}function Sn(e){return Ee(e)?k(e):e instanceof ne?e:Jl(e)}function Nu(e,t,n){return vt(()=>_i(e,t,n))}function Du(e,t,n){return vt(()=>{let r=-1;return _i(e,o=>(r=r+1|0,t(r,o)),n)})}function je(e,t){return mi([e,t])}function Ru(e,t,n){const r=Ye(t);try{const o=Ye(n);try{let s=0,i=r["System.Collections.IEnumerator.MoveNext"](),a=o["System.Collections.IEnumerator.MoveNext"]();for(;s===0&&i&&a;)s=e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),o["System.Collections.Generic.IEnumerator`1.get_Current"]())|0,s===0&&(i=r["System.Collections.IEnumerator.MoveNext"](),a=o["System.Collections.IEnumerator.MoveNext"]());return(s!==0?s:i?1:a?-1:0)|0}finally{V(o)}}finally{V(r)}}function tt(e,t,n){const r=Ye(t);try{let o=!1;for(;!o&&r["System.Collections.IEnumerator.MoveNext"]();)o=n.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return o}finally{V(r)}}function gi(e,t,n){const r=Ye(n);try{let o=t;for(;r["System.Collections.IEnumerator.MoveNext"]();)o=e(o,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return o}finally{V(r)}}function wi(e,t){gi((n,r)=>{e(r)},void 0,t)}function Ae(e,t){return Nu(()=>Ye(t),n=>n["System.Collections.IEnumerator.MoveNext"]()?ce(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{V(n)})}function Pu(e){return Z(()=>Gl(Au(e)))}function Ou(e,t){return vt(()=>{const n=Ye(t);try{for(let r=1;r<=e;r++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(pi+"\\nParameter name: source");return Tu(()=>{},n)}catch(r){throw V(n),r}})}function Fu(e,t){return Du(()=>Ye(t),(n,r)=>{if(n<e){if(r["System.Collections.IEnumerator.MoveNext"]())return ce(r["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(pi+"\\nParameter name: source")}else return},n=>{V(n)})}function Lu(e,t){return Z(()=>mi(Ae(e,t)))}class yi{constructor(t,n){this.k=t,this.v=n}}function fn(e,t){return new yi(e,t)}function Q(e){return e.k}function ie(e){return e.v}class G extends yi{constructor(t,n,r,o,s){super(t,n),this.left=r,this.right=o,this.h=s|0}}function Jt(e,t,n,r,o){return new G(e,t,n,r,o)}function Y(e){return e.left}function K(e){return e.right}function Ze(e){return e.h}function bi(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=y(r);if(o instanceof G){const s=o;e=bi(n+1,Y(s)),t=K(s);continue e}else return n+1|0}else return n|0}}function Hu(e){return bi(0,e)}function _e(e,t,n,r){let o,s,i;const a=e;if(a!=null){const l=y(a);i=l instanceof G?(o=l,Ze(o)):1}else i=0;let c;const u=r;if(u!=null){const l=y(u);c=l instanceof G?(s=l,Ze(s)):1}else c=0;const f=(i<c?c:i)|0;return f===0?fn(t,n):Jt(t,n,e,r,f+1)}function yo(e,t,n,r){let o,s,i,a,c,u,f,l,h;const d=e;if(d!=null){const m=y(d);h=m instanceof G?(o=m,Ze(o)):1}else h=0;let _;const g=r;if(g!=null){const m=y(g);_=m instanceof G?(s=m,Ze(s)):1}else _=0;if(_>h+2){const m=y(r);if(m instanceof G){const w=m;if(i=Y(w),(i!=null?(a=y(i),a instanceof G?(c=a,Ze(c)):1):0)>h+1){const S=y(Y(w));if(S instanceof G){const T=S;return _e(_e(e,t,n,Y(T)),Q(T),ie(T),_e(K(T),Q(w),ie(w),K(w)))}else throw new Error("internal error: Map.rebalance")}else return _e(_e(e,t,n,Y(w)),Q(w),ie(w),K(w))}else throw new Error("internal error: Map.rebalance")}else if(h>_+2){const m=y(e);if(m instanceof G){const w=m;if(u=K(w),(u!=null?(f=y(u),f instanceof G?(l=f,Ze(l)):1):0)>_+1){const S=y(K(w));if(S instanceof G){const T=S;return _e(_e(Y(w),Q(w),ie(w),Y(T)),Q(T),ie(T),_e(K(T),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return _e(Y(w),Q(w),ie(w),_e(K(w),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return _e(e,t,n,r)}function _t(e,t,n,r){if(r!=null){const o=y(r),s=e.Compare(t,Q(o))|0;if(o instanceof G){const i=o;return s<0?yo(_t(e,t,n,Y(i)),Q(i),ie(i),K(i)):s===0?Jt(t,n,Y(i),K(i),Ze(i)):yo(Y(i),Q(i),ie(i),_t(e,t,n,K(i)))}else return s<0?Jt(t,n,void 0,r,2):s===0?fn(t,n):Jt(t,n,r,void 0,2)}else return fn(t,n)}function vi(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s!=null){const i=y(s),a=r.Compare(o,Q(i))|0;if(a===0)return ce(ie(i));if(i instanceof G){const c=i;e=r,t=o,n=a<0?Y(c):K(c);continue e}else return}else return}}function Vu(e,t,n){const r=vi(e,t,n);if(r==null)throw new Error;return y(r)}function Uu(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s!=null){const i=y(s),a=r.Compare(o,Q(i))|0;if(i instanceof G){const c=i;if(a<0){e=r,t=o,n=Y(c);continue e}else{if(a===0)return!0;e=r,t=o,n=K(c);continue e}}else return a===0}else return!1}}function Si(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=y(r);if(o instanceof G){const s=o;Si(n,Y(s)),n(Q(s),ie(s)),e=n,t=K(s);continue e}else n(Q(o),ie(o))}break}}function ju(e,t){Si(e,t)}function Gu(e,t,n){let r=n;ju((o,s)=>{Ue(t,r,[o,s]),r=r+1|0},e)}function Bu(e,t){return Fe((n,r)=>_t(e,r[0],r[1],n),void 0,t)}function zu(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s["System.Collections.IEnumerator.MoveNext"]()){const i=s["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=_t(r,i[0],i[1],o),n=s;continue e}else return o}}function Wu(e,t){let n=void 0;for(let r=0;r<=t.length-1;r++){const o=X(r,t);n=_t(e,o[0],o[1],n)}return n}function Ci(e,t){if(Ee(t))return Wu(e,t);if(t instanceof ne)return Bu(e,t);{const n=B(t);try{return zu(e,void 0,n)}finally{V(n)}}}class qu extends U{constructor(t,n){super(),this.stack=t,this.started=n}}function xi(e){e:for(;;){const t=e;if($(t))return W();{const n=I(t),r=C(t);if(r!=null){const o=y(r);if(o instanceof G){const s=o;e=L([Y(s),fn(Q(s),ie(s)),K(s)],n);continue e}else return t}else{e=n;continue e}}}}function bo(e){return new qu(xi(Se(e)),!1)}function Zu(){throw new Error("enumeration not started")}function Ju(){throw new Error("enumeration already finished")}function vo(e){if(e.started){const t=e.stack;if($(t))return Ju();if(C(t)!=null){const n=y(C(t));if(n instanceof G)throw new Error("Please report error: Map iterator, unexpected stack for current");return[Q(n),ie(n)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return Zu()}function Yu(e){if(e.started){const t=e.stack;if($(t))return!1;if(C(t)!=null){if(y(C(t))instanceof G)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=xi(I(t)),!$(e.stack)}else throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}else return e.started=!0,!$(e.stack)}function So(e){let t=bo(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return vo(t)},"System.Collections.IEnumerator.get_Current"(){return vo(t)},"System.Collections.IEnumerator.MoveNext"(){return Yu(t)},"System.Collections.IEnumerator.Reset"(){t=bo(e)},Dispose(){}}}class dn{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return ec(this)|0}Equals(t){const n=this;if(t instanceof dn){const r=t,o=B(n);try{const s=B(r);try{const i=()=>{const a=o["System.Collections.IEnumerator.MoveNext"]();if(a===s["System.Collections.IEnumerator.MoveNext"]())if(a){const c=o["System.Collections.Generic.IEnumerator`1.get_Current"](),u=s["System.Collections.Generic.IEnumerator`1.get_Current"]();return be(c[0],u[0])&&be(c[1],u[1])?i():!1}else return!0;else return!1};return i()}finally{V(s)}}finally{V(o)}}else return!1}toString(){return"map ["+Ge("; ",Ae(n=>bl("({0}, {1})",n[0],n[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return So(this.tree)}[Symbol.iterator](){return _n(B(this))}"System.Collections.IEnumerable.GetEnumerator"(){return So(this.tree)}CompareTo(t){const n=this;if(t instanceof dn)return Ru((o,s)=>{const i=n.comparer.Compare(o[0],s[0])|0;return(i!==0?i:te(o[1],s[1]))|0},n,t)|0;throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return xo(n,t[0])&&be(Co(n,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){Gu(this.tree,t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Nn(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Nn(this)|0}get size(){return Nn(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return Ae(n=>[n[0],n[1]],this)}get(t){return Co(this,t)}has(t){return xo(this,t)}keys(){return Ae(n=>n[0],this)}set(t,n){throw new Error("Map cannot be mutated")}values(){return Ae(n=>n[1],this)}forEach(t,n){const r=this;wi(o=>{t(o[1],o[0],r)},r)}}function Cn(e,t){return new dn(e,t)}function Ku(e){return Cn(e,void 0)}function Xu(e,t,n){return Cn(e.comparer,_t(e.comparer,t,n,e.tree))}function Co(e,t){return Vu(e.comparer,t,e.tree)}function Nn(e){return Hu(e.tree)}function xo(e,t){return Uu(e.comparer,t,e.tree)}function Qu(e,t){return vi(e.comparer,t,e.tree)}function ec(e){const t=(o,s)=>(o<<1)+s+631;let n=0;const r=B(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const o=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=t(n,Pe(o[0]))|0,n=t(n,Pe(o[1]))|0}}finally{V(r)}return n|0}function tc(e,t,n){return Xu(n,e,t)}function nc(e,t){return Qu(t,e)}function rc(e,t){return Cn(t,Ci(t,e))}function oc(e,t){return Cn(t,Ci(t,e))}function ki(e){return Ku(e)}const ze=new Dr("",new di(0,[]),W(),!1,void 0,void 0,void 0,new gu(0,[]));new hi(0,"","","",ki({Compare:br}),new nt(0,[""]));function ko(e,t){return Sr(t)?new Array(0):Cl(t,[e],void 0,0)}function sc(e){switch(e.tag){case 1:return"POST";case 3:return"PATCH";case 2:return"PUT";case 4:return"DELETE";case 6:return"OPTIONS";case 5:return"HEAD";default:return"GET"}}function ic(e){return new Dr(e,ze.method,ze.headers,ze.withCredentials,ze.overridenMimeType,ze.overridenResponseType,ze.timeout,ze.content)}function ac(e,t){return new Dr(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function lc(e){return hu(t=>{const n=new XMLHttpRequest;n.open(sc(e.method),e.url),n.onreadystatechange=()=>{let c,u,f,l,h,d,_;n.readyState===4&&t[0]((c=(u=n.responseType,u===""||u==="text"?n.responseText:""),f=n.status|0,l=n.responseType,h=(d=n.responseType,d===""?new nt(0,[n.responseText]):d==="text"?new nt(0,[n.responseText]):d==="arraybuffer"?new nt(2,[n.response]):d==="blob"?new nt(1,[n.response]):new nt(3,[n.response])),_=oc(zl(g=>{const m=k(ko(":",g));if(!$(m))return[C(m).toLocaleLowerCase(),Ge(":",I(m)).trim()]},ko(`\r
4
- `,n.getAllResponseHeaders())),{Compare:br}),new hi(f,c,l,n.responseURL,_,h)))};const r=B(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const c=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n.setRequestHeader(c.fields[0],c.fields[1])}}finally{V(r)}n.withCredentials=e.withCredentials;const o=e.overridenMimeType;if(o!=null){const c=o;n.overrideMimeType(c)}const s=e.overridenResponseType;if(s!=null)switch(s.tag){case 1:{n.responseType="blob";break}case 2:{n.responseType="arraybuffer";break}default:n.responseType="text"}const i=e.timeout;if(i!=null){const c=i|0;n.timeout=c|0}const a=e.content;switch(a.tag){case 1:{n.send(ce(a.fields[0]));break}case 3:{n.send(ce(a.fields[0]));break}case 2:{n.send(ce(a.fields[0]));break}default:n.send()}})}function uc(e){return new p(0,[e])}function Ei(e){return new p(1,[e])}class p extends F{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Ok","Error"]}}function Oe(e,t){return t.tag===0?uc(e(t.fields[0])):Ei(t.fields[0])}function cc(e,t){return t.tag===0?e(t.fields[0]):Ei(t.fields[0])}class v extends F{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class Ti extends F{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function Eo(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function fc(e,t){switch(e.tag){case 2:return _l(Eo(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return Eo(t)}}const dc=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,To=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,hc=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function pc(e){function t(r){return r.replace(To,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(dc.test(n))return xl(n,"{","}","(",")");if(To.test(n))return t(n);if(hc.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function _c(e,t){try{return t.contents=pc(e),!0}catch{return!1}}var Zn;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(Zn||(Zn={}));function mc(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}function Io(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function gc(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}function wc(e,t){if(t&Zn.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}function yc(e,t,n){const o=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(o!=null){const[,,s,i]=o;if(n=n||wc(s,t),!gc(n).test(i))return mc(o,n)}return null}function bc(e,t,n,r,o){const s=yc(e,t,o);if(s!=null){let i=Number.parseInt(s.sign+s.digits,s.radix);if(!Number.isNaN(i)){const[a,c]=Io(!0,r);!n&&s.radix!==10&&i>=a&&i<=c&&(i=i<<32-r>>32-r);const[u,f]=Io(n,r);if(i>=u&&i<=f)return i}}throw new Error(`The input string ${e} was not in a correct format.`)}function St(e,t,n,r,o){try{return o.contents=bc(e,t,n,r),!0}catch{return!1}}function Ii(e,t){vc(t);const n=new Date(e);return n.offset=t??new Date().getTimezoneOffset()*-6e4,n}function vc(e){if(e!=null&&e!==0){if(e%6e4!==0)throw new Error("Offset must be specified in whole minutes.");if(Math.abs(e/36e5)>14)throw new Error("Offset must be within plus or minus 14 hours.")}}function Sc(){return Ii(-621355968e5,0)}function Cc(e){const[t,n]=Zs(e),r=n==null?t.getTimezoneOffset()*-6e4:n==="Z"?0:n*6e4;return Ii(t.getTime(),r)}function xc(e,t){try{return t.contents=Cc(e),!0}catch{return!1}}function Mo(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return kc(arguments[0]);case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],o=0;break}return e*864e5+t*36e5+n*6e4+r*1e3+o}function kc(e){return Number(BigInt(e)/10000n)}function Ec(e){const t=e.search("\\."),n=e.search("\\:");if(t===-1&&n===-1){const r=parseInt(e,0);if(isNaN(r))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return Mo(r,0,0,0,0)}if(n>0){const r=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(r!=null&&r[4]!=null&&r[5]!=null){let o=0,s=0,i=0;const a=r[1]!=null&&r[1]==="-"?-1:1,c=+r[4],u=+r[5];if(r[3]!=null&&(o=+r[3]),r[7]!=null&&(i=+r[7]),r[8]!=null)switch(r[8].length){case 1:s=+r[8]*100;break;case 2:s=+r[8]*10;break;case 3:s=+r[8];break;case 4:s=+r[8]/10;break;case 5:s=+r[8]/100;break;case 6:s=+r[8]/1e3;break;case 7:s=+r[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return a*Mo(o,c,u,i,s)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function Tc(e,t){try{return t.contents=Ec(e),!0}catch{return!1}}class Mi{constructor(t){this.k=t}}function oe(e){return new Mi(e)}function x(e){return e.k}class A extends Mi{constructor(t,n,r,o){super(t),this.left=n,this.right=r,this.h=o|0}}function se(e,t,n,r){return new A(e,t,n,r)}function P(e){return e.left}function D(e){return e.right}function st(e){return e.h}function $i(e,t){e:for(;;){const n=e,r=t;if(n!=null){const o=y(n);if(o instanceof A){const s=o;e=P(s),t=$i(D(s),r+1);continue e}else return r+1|0}else return r|0}}function Ic(e){return $i(e,0)}function me(e,t,n){let r,o,s;const i=e;if(i!=null){const f=y(i);s=f instanceof A?(r=f,st(r)):1}else s=0;let a;const c=n;if(c!=null){const f=y(c);a=f instanceof A?(o=f,st(o)):1}else a=0;const u=(s<a?a:s)|0;return u===0?oe(t):se(t,e,n,u+1)}function $o(e,t,n){let r,o,s,i,a,c,u,f,l;const h=e;if(h!=null){const g=y(h);l=g instanceof A?(r=g,st(r)):1}else l=0;let d;const _=n;if(_!=null){const g=y(_);d=g instanceof A?(o=g,st(o)):1}else d=0;if(d>l+2){const g=y(n);if(g instanceof A){const m=g;if(s=P(m),(s!=null?(i=y(s),i instanceof A?(a=i,st(a)):1):0)>l+1){const w=y(P(m));if(w instanceof A){const S=w;return me(me(e,t,P(S)),x(S),me(D(S),x(m),D(m)))}else throw new Error("internal error: Set.rebalance")}else return me(me(e,t,P(m)),x(m),D(m))}else throw new Error("internal error: Set.rebalance")}else if(l>d+2){const g=y(e);if(g instanceof A){const m=g;if(c=D(m),(c!=null?(u=y(c),u instanceof A?(f=u,st(f)):1):0)>d+1){const w=y(D(m));if(w instanceof A){const S=w;return me(me(P(m),x(m),P(S)),x(S),me(D(S),t,n))}else throw new Error("internal error: Set.rebalance")}else return me(P(m),x(m),me(D(m),t,n))}else throw new Error("internal error: Set.rebalance")}else return me(e,t,n)}function mt(e,t,n){if(n!=null){const r=y(n),o=e.Compare(t,x(r))|0;if(r instanceof A){const s=r;return o<0?$o(mt(e,t,P(s)),x(s),D(s)):o===0?n:$o(P(s),x(s),mt(e,t,D(s)))}else{const s=e.Compare(t,x(r))|0;return s<0?se(t,void 0,n,2):s===0?n:se(t,n,void 0,2)}}else return oe(t)}function Ai(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s!=null){const i=y(s),a=r.Compare(o,x(i))|0;if(i instanceof A){const c=i;if(a<0){e=r,t=o,n=P(c);continue e}else{if(a===0)return!0;e=r,t=o,n=D(c);continue e}}else return a===0}else return!1}}function Ni(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=y(r);if(o instanceof A){const s=o;Ni(n,P(s)),n(x(s)),e=n,t=D(s);continue e}else n(x(o))}break}}class Mc extends U{constructor(t,n){super(),this.stack=t,this.started=n}}function Di(e){e:for(;;){const t=e;if($(t))return W();{const n=C(t),r=I(t);if(n!=null){const o=y(n);if(o instanceof A){const s=o;e=L([P(s),oe(x(s)),D(s)],r);continue e}else return t}else{e=r;continue e}}}}function Ao(e){return new Mc(Di(Se(e)),!1)}function $c(){throw new Error("Enumeration not started")}function Ac(){throw new Error("Enumeration already started")}function No(e){if(e.started){const t=e.stack;if($(t))return Ac();if(C(t)!=null){const n=y(C(t));return x(n)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return $c()}function Nc(e){if(e.started){const t=e.stack;if($(t))return!1;if(C(t)!=null){if(y(C(t))instanceof A)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Di(I(t)),!$(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!$(e.stack)}function Do(e){let t=Ao(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return No(t)},"System.Collections.IEnumerator.get_Current"(){return No(t)},"System.Collections.IEnumerator.MoveNext"(){return Nc(t)},"System.Collections.IEnumerator.Reset"(){t=Ao(e)},Dispose(){}}}function Dc(e,t,n){e:for(;;){const r=e,o=t,s=n;if($(o))return $(s)?0:-1;if($(s))return 1;if(C(s)!=null)if(C(o)!=null){const i=y(C(o)),a=y(C(s));if(i instanceof A){const c=i;if(P(c)==null)if(a instanceof A){const u=a;if(P(u)==null){const f=r.Compare(x(c),x(u))|0;if(f!==0)return f|0;e=r,t=le(D(c),I(o)),n=le(D(u),I(s));continue e}else{let f,l,h,d,_;switch($(o)?$(s)?f=2:C(s)!=null?(f=1,d=I(s),_=y(C(s))):f=2:C(o)!=null?(f=0,l=I(o),h=y(C(o))):$(s)?f=2:C(s)!=null?(f=1,d=I(s),_=y(C(s))):f=2,f){case 0:if(h instanceof A){const g=h;e=r,t=L([P(g),se(x(g),void 0,D(g),0)],l),n=s;continue e}else{e=r,t=L([void 0,oe(x(h))],l),n=s;continue e}case 1:if(_ instanceof A){const g=_;e=r,t=o,n=L([P(g),se(x(g),void 0,D(g),0)],d);continue e}else{e=r,t=o,n=L([void 0,oe(x(_))],d);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const u=r.Compare(x(c),x(a))|0;if(u!==0)return u|0;e=r,t=le(D(c),I(o)),n=le(void 0,I(s));continue e}else{let u,f,l,h,d;switch($(o)?$(s)?u=2:C(s)!=null?(u=1,h=I(s),d=y(C(s))):u=2:C(o)!=null?(u=0,f=I(o),l=y(C(o))):$(s)?u=2:C(s)!=null?(u=1,h=I(s),d=y(C(s))):u=2,u){case 0:if(l instanceof A){const _=l;e=r,t=L([P(_),se(x(_),void 0,D(_),0)],f),n=s;continue e}else{e=r,t=L([void 0,oe(x(l))],f),n=s;continue e}case 1:if(d instanceof A){const _=d;e=r,t=o,n=L([P(_),se(x(_),void 0,D(_),0)],h);continue e}else{e=r,t=o,n=L([void 0,oe(x(d))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else if(a instanceof A){const c=a;if(P(c)==null){const u=r.Compare(x(i),x(c))|0;if(u!==0)return u|0;e=r,t=le(void 0,I(o)),n=le(D(c),I(s));continue e}else{let u,f,l,h,d;switch($(o)?$(s)?u=2:C(s)!=null?(u=1,h=I(s),d=y(C(s))):u=2:C(o)!=null?(u=0,f=I(o),l=y(C(o))):$(s)?u=2:C(s)!=null?(u=1,h=I(s),d=y(C(s))):u=2,u){case 0:if(l instanceof A){const _=l;e=r,t=L([P(_),se(x(_),void 0,D(_),0)],f),n=s;continue e}else{e=r,t=L([void 0,oe(x(l))],f),n=s;continue e}case 1:if(d instanceof A){const _=d;e=r,t=o,n=L([P(_),se(x(_),void 0,D(_),0)],h);continue e}else{e=r,t=o,n=L([void 0,oe(x(d))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const c=r.Compare(x(i),x(a))|0;if(c!==0)return c|0;e=r,t=I(o),n=I(s);continue e}}else{y(C(s));let i,a,c,u,f;switch($(o)?$(s)?i=2:C(s)!=null?(i=1,u=I(s),f=y(C(s))):i=2:C(o)!=null?(i=0,a=I(o),c=y(C(o))):$(s)?i=2:C(s)!=null?(i=1,u=I(s),f=y(C(s))):i=2,i){case 0:if(c instanceof A){const l=c;e=r,t=L([P(l),se(x(l),void 0,D(l),0)],a),n=s;continue e}else{e=r,t=L([void 0,oe(x(c))],a),n=s;continue e}case 1:if(f instanceof A){const l=f;e=r,t=o,n=L([P(l),se(x(l),void 0,D(l),0)],u);continue e}else{e=r,t=o,n=L([void 0,oe(x(f))],u);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else if(C(o)!=null){y(C(o));let i,a,c,u,f;switch($(o)?$(s)?i=2:C(s)!=null?(i=1,u=I(s),f=y(C(s))):i=2:C(o)!=null?(i=0,a=I(o),c=y(C(o))):$(s)?i=2:C(s)!=null?(i=1,u=I(s),f=y(C(s))):i=2,i){case 0:if(c instanceof A){const l=c;e=r,t=L([P(l),se(x(l),void 0,D(l),0)],a),n=s;continue e}else{e=r,t=L([void 0,oe(x(c))],a),n=s;continue e}case 1:if(f instanceof A){const l=f;e=r,t=o,n=L([P(l),se(x(l),void 0,D(l),0)],u);continue e}else{e=r,t=o,n=L([void 0,oe(x(f))],u);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=r,t=I(o),n=I(s);continue e}}}function Ro(e,t,n){return t==null?n==null?0:-1:n==null?1:Dc(e,Se(t),Se(n))|0}function Rc(e,t,n){let r=n;Ni(o=>{Ue(t,r,o),r=r+1|0},e)}function Pc(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s["System.Collections.IEnumerator.MoveNext"]()){e=r,t=mt(r,s["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=s;continue e}else return o}}function Oc(e,t){return bn((n,r)=>mt(e,r,n),void 0,t)}function Fc(e,t){return Fe((n,r)=>mt(e,r,n),void 0,t)}function Ri(e,t){if(Ee(t))return Oc(e,t);if(t instanceof ne)return Fc(e,t);{const n=B(t);try{return Pc(e,void 0,n)}finally{V(n)}}}class Pr{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return Vc(this)|0}Equals(t){let n;const r=this;return t instanceof Pr&&(n=t,Ro(lt(r),ge(r),ge(n))===0)}toString(){return"set ["+Ge("; ",Ae(n=>ve(n),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const n=this;return Ro(lt(n),ge(n),ge(t))|0}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return Ai(lt(n),t,ge(n))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){Rc(ge(this),t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Dn(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Dn(this)|0}GetEnumerator(){return Do(ge(this))}[Symbol.iterator](){return _n(B(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Do(ge(this))}get size(){return Dn(this)|0}add(t){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(t){throw new Error("Set cannot be mutated")}has(t){return Pi(this,t)}keys(){return Ae(n=>n,this)}values(){return Ae(n=>n,this)}entries(){return Ae(n=>[n,n],this)}forEach(t,n){const r=this;wi(o=>{t(o,o,r)},r)}}function xn(e,t){return new Pr(e,t)}function lt(e){return e.comparer}function ge(e){return e.tree}function Lc(e){return xn(e,void 0)}function Hc(e,t){return xn(lt(e),mt(lt(e),t,ge(e)))}function Dn(e){return Ic(ge(e))}function Pi(e,t){return Ai(lt(e),t,ge(e))}function Vc(e){let t=0;const n=B(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+Pe(r)+631|0}}finally{V(n)}return Math.abs(t)|0}function Jn(e,t){return Pi(t,e)}function Uc(e,t){return Hc(t,e)}function jc(e){return Lc(e)}function Gc(e,t){return xn(t,Ri(t,e))}function Bc(e,t){return xn(t,Ri(t,e))}function kt(e,t,n){try{return"Expecting "+e+" but instead got:"+(n?`
1
+ var En,N,Gs,vt,bi,Bs,Qr,Eo,eo,to,zs,xn={},Ws=[],pu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,wr=Array.isArray;function Xe(e,t){for(var n in t)e[n]=t[n];return e}function qs(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function p(e,t,n){var r,o,i,s={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:s[i]=t[i];if(arguments.length>2&&(s.children=arguments.length>3?En.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)s[i]===void 0&&(s[i]=e.defaultProps[i]);return _n(e,s,r,o,null)}function _n(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++Gs,__i:-1,__u:0};return o==null&&N.vnode!=null&&N.vnode(i),i}function ko(){return{current:null}}function G(e){return e.children}function Ve(e,t){this.props=e,this.context=t}function Kt(e,t){if(t==null)return e.__?Kt(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"?Kt(e):null}function Zs(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Zs(e)}}function no(e){(!e.__d&&(e.__d=!0)&&vt.push(e)&&!er.__r++||bi!==N.debounceRendering)&&((bi=N.debounceRendering)||Bs)(er)}function er(){var e,t,n,r,o,i,s,a;for(vt.sort(Qr);e=vt.shift();)e.__d&&(t=vt.length,r=void 0,i=(o=(n=e).__v).__e,s=[],a=[],n.__P&&((r=Xe({},o)).__v=o.__v+1,N.vnode&&N.vnode(r),To(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,s,i??Kt(o),!!(32&o.__u),a),r.__v=o.__v,r.__.__k[r.__i]=r,Js(s,r,a),r.__e!=i&&Zs(r)),vt.length>t&&vt.sort(Qr));er.__r=0}function Ys(e,t,n,r,o,i,s,a,l,u,f){var c,h,d,m,w,g=r&&r.__k||Ws,y=t.length;for(n.__d=l,hu(n,t,g),l=n.__d,c=0;c<y;c++)(d=n.__k[c])!=null&&(h=d.__i===-1?xn:g[d.__i]||xn,d.__i=c,To(e,d,h,o,i,s,a,l,u,f),m=d.__e,d.ref&&h.ref!=d.ref&&(h.ref&&$o(h.ref,null,d),f.push(d.ref,d.__c||m,d)),w==null&&m!=null&&(w=m),65536&d.__u||h.__k===d.__k?l=Ks(d,l,e):typeof d.type=="function"&&d.__d!==void 0?l=d.__d:m&&(l=m.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=l,n.__e=w}function hu(e,t,n){var r,o,i,s,a,l=t.length,u=n.length,f=u,c=0;for(e.__k=[],r=0;r<l;r++)(o=t[r])!=null&&typeof o!="boolean"&&typeof o!="function"?(s=r+c,(o=e.__k[r]=typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?_n(null,o,null,null,null):wr(o)?_n(G,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?_n(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=e,o.__b=e.__b+1,i=null,(a=o.__i=mu(o,n,s,f))!==-1&&(f--,(i=n[a])&&(i.__u|=131072)),i==null||i.__v===null?(a==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):a!==s&&(a==s-1?c--:a==s+1?c++:(a>s?c--:c++,o.__u|=65536))):o=e.__k[r]=null;if(f)for(r=0;r<u;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=Kt(i)),Xs(i,i))}function Ks(e,t,n){var r,o;if(typeof e.type=="function"){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=Ks(r[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=Kt(e)),n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function et(e,t){return t=t||[],e==null||typeof e=="boolean"||(wr(e)?e.some(function(n){et(n,t)}):t.push(e)),t}function mu(e,t,n,r){var o=e.key,i=e.type,s=n-1,a=n+1,l=t[n];if(l===null||l&&o==l.key&&i===l.type&&!(131072&l.__u))return n;if((typeof i!="function"||i===G||o)&&r>(l!=null&&!(131072&l.__u)?1:0))for(;s>=0||a<t.length;){if(s>=0){if((l=t[s])&&!(131072&l.__u)&&o==l.key&&i===l.type)return s;s--}if(a<t.length){if((l=t[a])&&!(131072&l.__u)&&o==l.key&&i===l.type)return a;a++}}return-1}function vi(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||pu.test(t)?n:n+"px"}function jn(e,t,n,r,o){var i;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||vi(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||vi(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=Eo,e.addEventListener(t,i?to:eo,i)):e.removeEventListener(t,i?to:eo,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 xi(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=Eo++;else if(t.t<n.u)return;return N.event&&(t=N.event(t)),"handleEvent"in n?n.handleEvent(t):n(t)}}}function To(e,t,n,r,o,i,s,a,l,u){var f,c,h,d,m,w,g,y,b,E,I,V,J,ae,Be,lt,z=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[a=t.__e=n.__e]),(f=N.__b)&&f(t);e:if(typeof z=="function")try{if(y=t.props,b="prototype"in z&&z.prototype.render,E=(f=z.contextType)&&r[f.__c],I=f?E?E.props.value:f.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:(b?t.__c=c=new z(y,I):(t.__c=c=new Ve(y,I),c.constructor=z,c.render=wu),E&&E.sub(c),c.props=y,c.state||(c.state={}),c.context=I,c.__n=r,h=c.__d=!0,c.__h=[],c._sb=[]),b&&c.__s==null&&(c.__s=c.state),b&&z.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Xe({},c.__s)),Xe(c.__s,z.getDerivedStateFromProps(y,c.__s))),d=c.props,m=c.state,c.__v=t,h)b&&z.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),b&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(b&&z.getDerivedStateFromProps==null&&y!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(y,I),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(y,c.__s,I)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=y,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(ke){ke&&(ke.__=t)}),V=0;V<c._sb.length;V++)c.__h.push(c._sb[V]);c._sb=[],c.__h.length&&s.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(y,c.__s,I),b&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,m,w)})}if(c.context=I,c.props=y,c.__P=e,c.__e=!1,J=N.__r,ae=0,b){for(c.state=c.__s,c.__d=!1,J&&J(t),f=c.render(c.props,c.state,c.context),Be=0;Be<c._sb.length;Be++)c.__h.push(c._sb[Be]);c._sb=[]}else do c.__d=!1,J&&J(t),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++ae<25);c.state=c.__s,c.getChildContext!=null&&(r=Xe(Xe({},r),c.getChildContext())),b&&!h&&c.getSnapshotBeforeUpdate!=null&&(w=c.getSnapshotBeforeUpdate(d,m)),Ys(e,wr(lt=f!=null&&f.type===G&&f.key==null?f.props.children:f)?lt:[lt],t,n,r,o,i,s,a,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&s.push(c),g&&(c.__E=c.__=null)}catch(ke){if(t.__v=null,l||i!=null){for(t.__u|=l?160:128;a&&a.nodeType===8&&a.nextSibling;)a=a.nextSibling;i[i.indexOf(a)]=null,t.__e=a}else t.__e=n.__e,t.__k=n.__k;N.__e(ke,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=gu(n.__e,t,n,r,o,i,s,l,u);(f=N.diffed)&&f(t)}function Js(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)$o(n[r],n[++r],n[++r]);N.__c&&N.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){N.__e(i,o.__v)}})}function gu(e,t,n,r,o,i,s,a,l){var u,f,c,h,d,m,w,g=n.props,y=t.props,b=t.type;if(b==="svg"?o="http://www.w3.org/2000/svg":b==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(u=0;u<i.length;u++)if((d=i[u])&&"setAttribute"in d==!!b&&(b?d.localName===b:d.nodeType===3)){e=d,i[u]=null;break}}if(e==null){if(b===null)return document.createTextNode(y);e=document.createElementNS(o,b,y.is&&y),a&&(N.__m&&N.__m(t,i),a=!1),i=null}if(b===null)g===y||a&&e.data===y||(e.data=y);else{if(i=i&&En.call(e.childNodes),g=n.props||xn,!a&&i!=null)for(g={},u=0;u<e.attributes.length;u++)g[(d=e.attributes[u]).name]=d.value;for(u in g)if(d=g[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=d;else if(!(u in y)){if(u=="value"&&"defaultValue"in y||u=="checked"&&"defaultChecked"in y)continue;jn(e,u,null,d,o)}}for(u in y)d=y[u],u=="children"?h=d:u=="dangerouslySetInnerHTML"?f=d:u=="value"?m=d:u=="checked"?w=d:a&&typeof d!="function"||g[u]===d||jn(e,u,d,g[u],o);if(f)a||c&&(f.__html===c.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(c&&(e.innerHTML=""),Ys(e,wr(h)?h:[h],t,n,r,b==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,s,i?i[0]:n.__k&&Kt(n,0),a,l),i!=null)for(u=i.length;u--;)qs(i[u]);a||(u="value",b==="progress"&&m==null?e.removeAttribute("value"):m!==void 0&&(m!==e[u]||b==="progress"&&!m||b==="option"&&m!==g[u])&&jn(e,u,m,g[u],o),u="checked",w!==void 0&&w!==e[u]&&jn(e,u,w,g[u],o))}return e}function $o(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){N.__e(o,n)}}function Xs(e,t,n){var r,o;if(N.unmount&&N.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||$o(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){N.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Xs(r[o],t,n||typeof e.type!="function");n||qs(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function wu(e,t,n){return this.constructor(e,n)}function pt(e,t,n){var r,o,i,s;N.__&&N.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],s=[],To(t,e=(!r&&n||t).__k=p(G,null,[e]),o||xn,xn,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?En.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,s),Js(i,e,s)}function Ao(e,t){pt(e,t,Ao)}function Io(e,t,n){var r,o,i,s,a=Xe({},e.props);for(i in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)i=="key"?r=t[i]:i=="ref"?o=t[i]:a[i]=t[i]===void 0&&s!==void 0?s[i]:t[i];return arguments.length>2&&(a.children=arguments.length>3?En.call(arguments,2):n),_n(e.type,a,r||e.key,o||e.ref,null)}function Ee(e,t){var n={__c:t="__cC"+zs++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=new Set,(i={})[t]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&o.forEach(function(a){a.__e=!0,no(a)})},this.sub=function(s){o.add(s);var a=s.componentWillUnmount;s.componentWillUnmount=function(){o&&o.delete(s),a&&a.call(s)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}En=Ws.slice,N={__e:function(e,t,n,r){for(var o,i,s;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),s=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),s=o.__d),s)return o.__E=o}catch(a){e=a}throw e}},Gs=0,Ve.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Xe({},this.state),typeof e=="function"&&(e=e(Xe({},n),this.props)),e&&Xe(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),no(this))},Ve.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),no(this))},Ve.prototype.render=G,vt=[],Bs=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Qr=function(e,t){return e.__v.__b-t.__v.__b},er.__r=0,Eo=0,eo=xi(!1),to=xi(!0),zs=0;function No(){return(No=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}).apply(this,arguments)}var _u=["context","children"];function yu(e){this.getChildContext=function(){return e.context};var t=e.children,n=function(r,o){if(r==null)return{};var i,s,a={},l=Object.keys(r);for(s=0;s<l.length;s++)o.indexOf(i=l[s])>=0||(a[i]=r[i]);return a}(e,_u);return Io(t,n)}function bu(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=p(yu,No({},this._props,{context:e.detail.context}),function t(n,r){if(n.nodeType===3)return n.data;if(n.nodeType!==1)return null;var o=[],i={},s=0,a=n.attributes,l=n.childNodes;for(s=a.length;s--;)a[s].name!=="slot"&&(i[a[s].name]=a[s].value,i[Qs(a[s].name)]=a[s].value);for(s=l.length;s--;){var u=t(l[s],null),f=l[s].slot;f?i[f]=p(Ci,{name:f},u):o[s]=u}var c=r?p(Ci,null,o):o;return p(r||n.nodeName.toLowerCase(),i,c)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Ao:pt)(this._vdom,this._root)}function Qs(e){return e.replace(/-(\w)/g,function(t,n){return n?n.toUpperCase():""})}function vu(e,t,n){if(this._vdom){var r={};r[e]=n=n??void 0,r[Qs(e)]=n,this._vdom=Io(this._vdom,r),pt(this._vdom,this._root)}}function xu(){pt(this._vdom=null,this._root)}function Ci(e,t){var n=this;return p("slot",No({},e,{ref:function(r){r?(n.ref=r,n._listener||(n._listener=function(o){o.stopPropagation(),o.detail.context=t},r.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}function Cu(e,t,n,r){function o(){var i=Reflect.construct(HTMLElement,[],o);return i._vdomComponent=e,i._root=i,i}return(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=bu,o.prototype.attributeChangedCallback=vu,o.prototype.disconnectedCallback=xu,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),o.observedAttributes=n,n.forEach(function(i){Object.defineProperty(o.prototype,i,{get:function(){return this._vdom.props[i]},set:function(s){this._vdom?this.attributeChangedCallback(i,null,s):(this._props||(this._props={}),this._props[i]=s,this.connectedCallback());var a=typeof s;s!=null&&a!=="string"&&a!=="boolean"&&a!=="number"||this.setAttribute(i,s)}})}),customElements.define(t||e.tagName||e.displayName||e.name,o)}function Mo(e,t){Cu(e,t)}var nt,L,jr,Si,Jt=0,ea=[],q=N,Ei=q.__b,ki=q.__r,Ti=q.diffed,$i=q.__c,Ai=q.unmount,Ii=q.__;function Nt(e,t){q.__h&&q.__h(L,e,Jt||t),Jt=0;var n=L.__H||(L.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function X(e){return Jt=1,kn(ta,e)}function kn(e,t,n){var r=Nt(nt++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ta(void 0,t),function(a){var l=r.__N?r.__N[0]:r.__[0],u=r.t(l,a);l!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=L,!L.u)){var o=function(a,l,u){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(h){return!!h.__c});if(f.every(function(h){return!h.__N}))return!i||i.call(this,a,l,u);var c=r.__c.props!==a;return f.forEach(function(h){if(h.__N){var d=h.__[0];h.__=h.__N,h.__N=void 0,d!==h.__[0]&&(c=!0)}}),i&&i.call(this,a,l,u)||c};L.u=!0;var i=L.shouldComponentUpdate,s=L.componentWillUpdate;L.componentWillUpdate=function(a,l,u){if(this.__e){var f=i;i=void 0,o(a,l,u),i=f}s&&s.call(this,a,l,u)},L.shouldComponentUpdate=o}return r.__N||r.__}function Q(e,t){var n=Nt(nt++,3);!q.__s&&Do(n.__H,t)&&(n.__=e,n.i=t,L.__H.__h.push(n))}function Mt(e,t){var n=Nt(nt++,4);!q.__s&&Do(n.__H,t)&&(n.__=e,n.i=t,L.__h.push(n))}function D(e){return Jt=5,ie(function(){return{current:e}},[])}function Fo(e,t,n){Jt=6,Mt(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function ie(e,t){var n=Nt(nt++,7);return Do(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Le(e,t){return Jt=8,ie(function(){return e},t)}function me(e){var t=L.context[e.__c],n=Nt(nt++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(L)),t.props.value):e.__}function Po(e,t){q.useDebugValue&&q.useDebugValue(t?t(e):e)}function Su(e){var t=Nt(nt++,10),n=X();return t.__=e,L.componentDidCatch||(L.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function gt(){var e=Nt(nt++,11);if(!e.__){for(var t=L.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Eu(){for(var e;e=ea.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(qn),e.__H.__h.forEach(ro),e.__H.__h=[]}catch(t){e.__H.__h=[],q.__e(t,e.__v)}}q.__b=function(e){L=null,Ei&&Ei(e)},q.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Ii&&Ii(e,t)},q.__r=function(e){ki&&ki(e),nt=0;var t=(L=e.__c).__H;t&&(jr===L?(t.__h=[],L.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(qn),t.__h.forEach(ro),t.__h=[],nt=0)),jr=L},q.diffed=function(e){Ti&&Ti(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ea.push(t)!==1&&Si===q.requestAnimationFrame||((Si=q.requestAnimationFrame)||ku)(Eu)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),jr=L=null},q.__c=function(e,t){t.some(function(n){try{n.__h.forEach(qn),n.__h=n.__h.filter(function(r){return!r.__||ro(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],q.__e(r,n.__v)}}),$i&&$i(e,t)},q.unmount=function(e){Ai&&Ai(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{qn(r)}catch(o){t=o}}),n.__H=void 0,t&&q.__e(t,n.__v))};var Ni=typeof requestAnimationFrame=="function";function ku(e){var t,n=function(){clearTimeout(r),Ni&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Ni&&(t=requestAnimationFrame(n))}function qn(e){var t=L,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),L=t}function ro(e){var t=L;e.__c=e.__(),L=t}function Do(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function ta(e,t){return typeof t=="function"?t(e):t}function oo(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 _r(e,t){var n=t(),r=X({t:{__:n,u:t}}),o=r[0].t,i=r[1];return Mt(function(){o.__=n,o.u=t,Ur(o)&&i({t:o})},[e,n,t]),Q(function(){return Ur(o)&&i({t:o}),e(function(){Ur(o)&&i({t:o})})},[e]),n}function Ur(e){var t,n,r=e.u,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}function Oo(e){e()}function Ro(e){return e}function Lo(){return[!1,Oo]}var Ho=Mt;function tr(e,t){this.props=e,this.context=t}function na(e,t){function n(o){var i=this.props.ref,s=i==o.ref;return!s&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!s:oo(this.props,o)}function r(o){return this.shouldComponentUpdate=n,p(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(tr.prototype=new Ve).isPureReactComponent=!0,tr.prototype.shouldComponentUpdate=function(e,t){return oo(this.props,e)||oo(this.state,t)};var Mi=N.__b;N.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Mi&&Mi(e)};var Tu=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Vo(e){function t(n){if(!("ref"in n))return e(n,null);var r=n.ref;delete n.ref;var o=e(n,r);return n.ref=r,o}return t.$$typeof=Tu,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Fi=function(e,t){return e==null?null:et(et(e).map(t))},ra={map:Fi,forEach:Fi,count:function(e){return e?et(e).length:0},only:function(e){var t=et(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:et},$u=N.__e;N.__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)}$u(e,t,n,r)};var Pi=N.unmount;function oa(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=function(r,o){for(var i in o)r[i]=o[i];return r}({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return oa(r,t,n)})),e}function ia(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return ia(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 yn(){this.__u=0,this.o=null,this.__b=null}function sa(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function aa(e){var t,n,r;function o(i){if(t||(t=e()).then(function(s){n=s.default||s},function(s){r=s}),r)throw r;if(!n)throw t;return p(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Ut(){this.i=null,this.l=null}N.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Pi&&Pi(e)},(yn.prototype=new Ve).__c=function(e,t){var n=t.__c,r=this;r.o==null&&(r.o=[]),r.o.push(n);var o=sa(r.__v),i=!1,s=function(){i||(i=!0,n.__R=null,o?o(a):a())};n.__R=s;var a=function(){if(!--r.__u){if(r.state.__a){var l=r.state.__a;r.__v.__k[0]=ia(l,l.__c.__P,l.__c.__O)}var u;for(r.setState({__a:r.__b=null});u=r.o.pop();)u.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},yn.prototype.componentWillUnmount=function(){this.o=[]},yn.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]=oa(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&p(G,null,e.fallback);return o&&(o.__u&=-33),[p(G,null,t.__a?null:e.children),o]};var Di=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 Au(e){return this.getChildContext=function(){return e.context},e.children}function Iu(e){var t=this,n=e.h;t.componentWillUnmount=function(){pt(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),t.v||(t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.h.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.h.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.h.removeChild(r)}}),pt(p(Au,{context:t.context},e.__v),t.v)}function jo(e,t){var n=p(Iu,{__v:e,h:t});return n.containerInfo=t,n}(Ut.prototype=new Ve).__a=function(e){var t=this,n=sa(t.__v),r=t.l.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Di(t,e,r)):o()};n?n(i):i()}},Ut.prototype.render=function(e){this.i=null,this.l=new Map;var t=et(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},Ut.prototype.componentDidUpdate=Ut.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){Di(e,n,t)})};var la=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Nu=/^(?: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]/,Mu=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Fu=/[A-Z0-9]/g,Pu=typeof document<"u",Du=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function ua(e,t,n){return t.__k==null&&(t.textContent=""),pt(e,t),typeof n=="function"&&n(),e?e.__c:null}function ca(e,t,n){return Ao(e,t),typeof n=="function"&&n(),e?e.__c:null}Ve.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Ve.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Oi=N.event;function Ou(){}function Ru(){return this.cancelBubble}function Lu(){return this.defaultPrevented}N.event=function(e){return Oi&&(e=Oi(e)),e.persist=Ou,e.isPropagationStopped=Ru,e.isDefaultPrevented=Lu,e.nativeEvent=e};var Uo,Hu={enumerable:!1,configurable:!0,get:function(){return this.class}},Ri=N.vnode;N.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={},i=r.indexOf("-")===-1;for(var s in n){var a=n[s];if(!(s==="value"&&"defaultValue"in n&&a==null||Pu&&s==="children"&&r==="noscript"||s==="class"||s==="className")){var l=s.toLowerCase();s==="defaultValue"&&"value"in n&&n.value==null?s="value":s==="download"&&a===!0?a="":l==="translate"&&a==="no"?a=!1:l[0]==="o"&&l[1]==="n"?l==="ondoubleclick"?s="ondblclick":l!=="onchange"||r!=="input"&&r!=="textarea"||Du(n.type)?l==="onfocus"?s="onfocusin":l==="onblur"?s="onfocusout":Mu.test(s)&&(s=l):l=s="oninput":i&&Nu.test(s)?s=s.replace(Fu,"-$&").toLowerCase():a===null&&(a=void 0),l==="oninput"&&o[s=l]&&(s="oninputCapture"),o[s]=a}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=et(n.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=et(n.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Hu)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=la,Ri&&Ri(e)};var Li=N.__r;N.__r=function(e){Li&&Li(e),Uo=e.__c};var Hi=N.diffed;N.diffed=function(e){Hi&&Hi(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),Uo=null};var fa={ReactCurrentDispatcher:{current:{readContext:function(e){return Uo.__n[e.__c].props.value},useCallback:Le,useContext:me,useDebugValue:Po,useDeferredValue:Ro,useEffect:Q,useId:gt,useImperativeHandle:Fo,useInsertionEffect:Ho,useLayoutEffect:Mt,useMemo:ie,useReducer:kn,useRef:D,useState:X,useSyncExternalStore:_r,useTransition:Lo}}},Vu="18.3.1";function da(e){return p.bind(null,e)}function tn(e){return!!e&&e.$$typeof===la}function pa(e){return tn(e)&&e.type===G}function ha(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Go(e){return tn(e)?Io.apply(null,arguments):e}function ma(e){return!!e.__k&&(pt(null,e),!0)}function ga(e){return e&&(e.base||e.nodeType===1&&e)||null}var wa=function(e,t){return e(t)},_a=function(e,t){return e(t)},ya=G,ba=tn,$={useState:X,useId:gt,useReducer:kn,useEffect:Q,useLayoutEffect:Mt,useInsertionEffect:Ho,useTransition:Lo,useDeferredValue:Ro,useSyncExternalStore:_r,startTransition:Oo,useRef:D,useImperativeHandle:Fo,useMemo:ie,useCallback:Le,useContext:me,useDebugValue:Po,version:"18.3.1",Children:ra,render:ua,hydrate:ca,unmountComponentAtNode:ma,createPortal:jo,createElement:p,createContext:Ee,createFactory:da,cloneElement:Go,createRef:ko,Fragment:G,isValidElement:tn,isElement:ba,isFragment:pa,isMemo:ha,findDOMNode:ga,Component:Ve,PureComponent:tr,memo:na,forwardRef:Vo,flushSync:_a,unstable_batchedUpdates:wa,StrictMode:ya,Suspense:yn,SuspenseList:Ut,lazy:aa,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:fa};const io=Object.freeze(Object.defineProperty({__proto__:null,Children:ra,Component:Ve,Fragment:G,PureComponent:tr,StrictMode:ya,Suspense:yn,SuspenseList:Ut,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:fa,cloneElement:Go,createContext:Ee,createElement:p,createFactory:da,createPortal:jo,createRef:ko,default:$,findDOMNode:ga,flushSync:_a,forwardRef:Vo,hydrate:ca,isElement:ba,isFragment:pa,isMemo:ha,isValidElement:tn,lazy:aa,memo:na,render:ua,startTransition:Oo,unmountComponentAtNode:ma,unstable_batchedUpdates:wa,useCallback:Le,useContext:me,useDebugValue:Po,useDeferredValue:Ro,useEffect:Q,useErrorBoundary:Su,useId:gt,useImperativeHandle:Fo,useInsertionEffect:Ho,useLayoutEffect:Mt,useMemo:ie,useReducer:kn,useRef:D,useState:X,useSyncExternalStore:_r,useTransition:Lo,version:Vu},Symbol.toStringTag,{value:"Module"})),ju=`*,:before,: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: }::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: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,input:where(:not([type])):focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--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);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--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(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=checkbox]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=radio]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media (forced-colors: active){[type=checkbox]:indeterminate{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.col-span-1{grid-column:span 1 / span 1}.col-span-2{grid-column:span 2 / span 2}.col-span-4{grid-column:span 4 / span 4}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mb-6{margin-bottom:1.5rem}.ml-3{margin-left:.75rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.inline-table{display:inline-table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row-group{display:table-row-group}.table-row{display:table-row}.flow-root{display:flow-root}.grid{display:grid}.inline-grid{display:inline-grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.h-5{height:1.25rem}.h-\\[60px\\]{height:60px}.h-px{height:1px}.min-h-screen{min-height:100vh}.w-16{width:4rem}.w-5{width:1.25rem}.w-96{width:24rem}.w-\\[120px\\]{width:120px}.w-\\[480px\\]{width:480px}.w-\\[600px\\]{width:600px}.w-full{width:100%}.max-w-\\[640px\\]{max-width:640px}.flex-shrink,.shrink{flex-shrink:1}.flex-grow,.grow{flex-grow:1}.basis-0{flex-basis:0px}.rotate-180{--tw-rotate: 180deg;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))}.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))}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-disc{list-style-type:disc}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-stretch{justify-content:stretch}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-stretch{align-self:stretch}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-dashed{border-style:dashed}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-primary-600{border-color:var(--fl-color-primary-600)}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-500\\/50{background-color:#6b728080}.bg-primary-600{background-color:var(--fl-color-primary-600)}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-12{padding-left:3rem;padding-right:3rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-\\[0\\.5625rem\\]{padding-top:.5625rem;padding-bottom:.5625rem}.pb-12{padding-bottom:3rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pl-3{padding-left:.75rem}.pr-3{padding-right:.75rem}.pt-1{padding-top:.25rem}.pt-1\\.5{padding-top:.375rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.font-sonoma{font-family:BRSonoma}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-4{line-height:1rem}.leading-tight{line-height:1.25}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-primary-600{color:var(--fl-color-primary-600)}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.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)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.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)}.ring-inset{--tw-ring-inset: inset}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity, 1))}.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)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));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)}.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)}.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)}.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)}.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)}.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)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.placeholder\\:text-gray-500::-moz-placeholder{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.placeholder\\:text-gray-500::placeholder{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.focus\\:border-blue-600:focus{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--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(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)}.focus\\:ring-inset:focus{--tw-ring-inset: inset}.focus\\:ring-primary-600:focus{--tw-ring-color: var(--fl-color-primary-600)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}`;function qe(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Uu(e){return e!=null&&typeof e.GetEnumerator=="function"}function Gu(e){return e!=null&&typeof e.CompareTo=="function"}function Bu(e){return e!=null&&typeof e.Equals=="function"}function zu(e){return e!=null&&typeof e.GetHashCode=="function"}function so(e){return e!=null&&typeof e.Dispose=="function"}function Y(e){so(e)&&e.Dispose()}function rt(){return null}function nr(e,t){var n,r;return((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===((r=Object.getPrototypeOf(t))==null?void 0:r.constructor)}class Wu{constructor(t){this.iter=t,this.current=rt()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this.iter.next();return this.current=t.value,!t.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function te(e){return Uu(e)?e.GetEnumerator():new Wu(e[Symbol.iterator]())}function yr(e){return{next(){const t=e["System.Collections.IEnumerator.MoveNext"](),n=t?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0;return{done:!t,value:n}}}}function j(e,t){return e.toString(10).padStart(t,"0")}function Vi(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function qu(e,t){return e=e<0&&t!=null&&t!==10?65535+e+1:e,e.toString(t)}function We(e,t){return e=e<0&&t!=null&&t!==10?4294967295+e+1:e,e.toString(t)}class ct{static id(t){return ct.idMap.has(t)||ct.idMap.set(t,++ct.count),ct.idMap.get(t)}}ct.idMap=new WeakMap;ct.count=0;function Bo(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=n*33^e.charCodeAt(t++);return n}function Ye(e){return e*2654435761|0}function Zu(e){return Bo(e.toString(32))}function Tn(e){let t=0;const n=e.length;for(let r=0;r<n;r++){const o=e[r];t=(t<<5)+t^o}return t}function Yu(e){return e.getTime()}function Ku(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=ot(e[r]);return Tn(n)}function ot(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Ye(e);case"bigint":return Zu(e);case"string":return Bo(e);default:{if(zu(e))return e.GetHashCode();if(qe(e))return Ku(e);if(e instanceof Date)return Yu(e);if(((t=Object.getPrototypeOf(e))==null?void 0:t.constructor)===Object){const n=Object.values(e).map(r=>ot(r));return Tn(n)}else return Ye(ct.id(e))}}}function ao(e,t,n){if(e==null)return t==null;if(t==null||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function va(e,t){return ao(e,t,je)}function Ju(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let o=0;o<n.length;o++)if(n[o]!==r[o]||!je(e[n[o]],t[r[o]]))return!1;return!0}function je(e,t){var n;return e===t?!0:e==null?t==null:t==null?!1:Bu(e)?e.Equals(t):qe(e)?qe(t)&&va(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&xa(e,t)===0:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object&&Ju(e,t)}function xa(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+Vi(e),r=t.getTime()+Vi(t)),n===r?0:n<r?-1:1}function zo(e,t){return e===t?0:e<t?-1:1}function Xu(e,t,n){if(e==null)return t==null?0:1;if(t==null)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,o=0;r<e.length;r++)if(o=n(e[r],t[r]),o!==0)return o;return 0}function Ca(e,t){return Xu(e,t,we)}function Qu(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return n.length<r.length?-1:1;n.sort(),r.sort();for(let o=0,i=0;o<n.length;o++){const s=n[o];if(s!==r[o])return s<r[o]?-1:1;if(i=we(e[s],t[s]),i!==0)return i}return 0}function we(e,t){var n;return e===t?0:e==null?t==null?0:-1:t==null?1:Gu(e)?e.CompareTo(t):qe(e)?qe(t)?Ca(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?xa(e,t):-1:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object?Qu(e,t):-1}function C(e){const t={};for(const n of e)t[n[0]]=n[1];return t}function ec(e){qe(e)?e.splice(0):e.clear()}const br=new WeakMap;function K(e){if(e==null)return null;const t=(n,r)=>e(n)(r);return br.set(t,e),t}function xt(e){return br.get(e)??(t=>n=>e(t,n))}function lo(e){if(e==null)return null;const t=(n,r,o)=>e(n)(r)(o);return br.set(t,e),t}function Gr(e){return br.get(e)??(t=>n=>r=>e(t,n,r))}function tc(e){let t=0,n="[";for(const r of e){if(t===0)n+=Ue(r);else if(t===100){n+="; ...";break}else n+="; "+Ue(r);t++}return n+"]"}function Ue(e,t=0){var n;if(e!=null&&typeof e=="object"){if(typeof e.toString=="function")return e.toString();if(Symbol.iterator in e)return tc(e);{const r=(n=Object.getPrototypeOf(e))==null?void 0:n.constructor;return r===Object&&t<10?"{ "+Object.entries(e).map(([o,i])=>o+" = "+Ue(i,t+1)).join(`
2
+ `)+" }":(r==null?void 0:r.name)??""}}return String(e)}function nc(e,t){if(t.length===0)return e;{let n,r=!0;return t.length===1?(n=Ue(t[0]),r=n.indexOf(" ")>=0):n=t.map(o=>Ue(o)).join(", "),e+(r?" (":" ")+n+(r?")":"")}}class O{get name(){return this.cases()[this.tag]}toJSON(){return this.fields.length===0?this.name:[this.name].concat(this.fields)}toString(){return nc(this.name,this.fields)}GetHashCode(){const t=this.fields.map(n=>ot(n));return t.splice(0,0,Ye(this.tag)),Tn(t)}Equals(t){return this===t?!0:nr(this,t)&&this.tag===t.tag?va(this.fields,t.fields):!1}CompareTo(t){return this===t?0:nr(this,t)?this.tag===t.tag?Ca(this.fields,t.fields):this.tag<t.tag?-1:1:-1}}function rc(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}function oc(e){return"{ "+Object.entries(e).map(([t,n])=>t+" = "+Ue(n)).join(`
3
+ `)+" }"}function ic(e){const t=Object.values(e).map(n=>ot(n));return Tn(t)}function sc(e,t){if(e===t)return!0;if(nr(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!je(e[n[r]],t[n[r]]))return!1;return!0}else return!1}function ac(e,t){if(e===t)return 0;if(nr(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=we(e[n[r]],t[n[r]]);if(o!==0)return o}return 0}else return-1}class B{toJSON(){return rc(this)}toString(){return oc(this)}GetHashCode(){return ic(this)}Equals(t){return sc(this,t)}CompareTo(t){return ac(this,t)}}class Ge{get contents(){return this.getter()}set contents(t){this.setter(t)}constructor(t,n){typeof n=="function"?(this.getter=t,this.setter=n):(this.getter=()=>t,this.setter=r=>{t=r})}}class lc{constructor(t){this.message=t}}function uc(e){return e instanceof lc||e instanceof Error}function cc(e){return e instanceof Promise}function rr(e){return uc(e)||cc(e)?e:new Error(String(e))}const Wo=Ue(ju),nn=Symbol("numeric");function Sa(e){return typeof e=="number"||typeof e=="bigint"||(e==null?void 0:e[nn])}function fc(e,t){return typeof e=="number"||typeof e=="bigint"?e<t?-1:e>t?1:0:e.CompareTo(t)}function uo(e,t){return typeof e=="number"?e*t:typeof e=="bigint"?e*BigInt(t):e[nn]().multiply(t)}function Zn(e,t){return typeof e=="number"?e.toFixed(t):typeof e=="bigint"?e:e[nn]().toFixed(t)}function or(e,t){return typeof e=="number"?e.toPrecision(t):typeof e=="bigint"?e:e[nn]().toPrecision(t)}function ir(e,t){return typeof e=="number"?e.toExponential(t):typeof e=="bigint"?e:e[nn]().toExponential(t)}function sr(e){return typeof e=="number"?(Number(e)>>>0).toString(16):typeof e=="bigint"?BigInt.asUintN(64,e).toString(16):e[nn]().toHex()}const dc=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],pc=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],hc=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],mc=["January","February","March","April","May","June","July","August","September","October","November","December"];function be(e,t,n){let r=0,o=t;for(;o<e.length&&e[o]===n;)o++,r++;return r}function ji(e,t){return t>=e.length-1?-1:e.charCodeAt(t+1)}function gc(e,t){let n=t;const r=e[t];let o="",i=!1;for(;t<e.length;){t++;const s=e[t];if(s===r){i=!0;break}else if(s==="\\")if(t<e.length)t++,o+=e[t];else throw new Error("Invalid string format");else o+=s}if(!i)throw new Error(`Invalid string format could not find matching quote for ${r}`);return[o,t-n+1]}function qo(e,t,n){let r=0,o=0,i="";const s=n?$n(e.getTime(),1):e;for(;r<t.length;){const a=t[r];switch(a){case"d":switch(o=be(t,r,"d"),r+=o,o){case 1:i+=Gi(s);break;case 2:i+=j(Gi(s),2);break;case 3:i+=dc[Wi(s)];break;case 4:i+=pc[Wi(s)];break}break;case"f":if(o=be(t,r,"f"),r+=o,o<=3){const g=10**(3-o);i+=j(Math.floor(Gn(s)/g),o)}else o<=7&&(i+=(""+Gn(s)).padEnd(o,"0"));break;case"F":if(o=be(t,r,"F"),r+=o,o<=3){const g=10**(3-o),y=Math.floor(Gn(s)/g);y!=0&&(i+=j(y,o))}else if(o<=7){const g=Gn(s);g!=0&&(i+=j(g,3))}break;case"g":o=be(t,r,"g"),r+=o,o<=2&&(i+="A.D.");break;case"h":switch(o=be(t,r,"h"),r+=o,o){case 1:i+=Un(s)%12;break;case 2:i+=j(Un(s)%12,2);break}break;case"H":switch(o=be(t,r,"H"),r+=o,o){case 1:i+=Un(s);break;case 2:i+=j(Un(s),2);break}break;case"K":switch(o=be(t,r,"K"),r+=o,o){case 1:switch(Ui(s)){case 1:i+="Z";break;case 2:i+=Bt(s.getTimezoneOffset()*-6e4);break}break}break;case"m":switch(o=be(t,r,"m"),r+=o,o){case 1:i+=Bi(s);break;case 2:i+=j(Bi(s),2);break}break;case"M":switch(o=be(t,r,"M"),r+=o,o){case 1:i+=Bn(s);break;case 2:i+=j(Bn(s),2);break;case 3:i+=hc[Bn(s)-1];break;case 4:i+=mc[Bn(s)-1];break}break;case"s":switch(o=be(t,r,"s"),r+=o,o){case 1:i+=zi(s);break;case 2:i+=j(zi(s),2);break}break;case"t":switch(o=be(t,r,"t"),r+=o,o){case 1:i+=s.getHours()<12?"A":"P";break;case 2:i+=s.getHours()<12?"AM":"PM";break}break;case"y":switch(o=be(t,r,"y"),r+=o,o){case 1:i+=s.getFullYear()%100;break;case 2:i+=j(s.getFullYear()%100,2);break;case 3:i+=j(s.getFullYear(),3);break;case 4:i+=j(s.getFullYear(),4);break;case 5:i+=j(s.getFullYear(),5);break}break;case"z":o=be(t,r,"z"),r+=o;let l="";switch(Ui(s)){case 1:l="+00:00";break;case 2:l=Bt(s.getTimezoneOffset()*-6e4);break;case 0:l=Bt(Ec(s).getTimezoneOffset()*-6e4);break}const u=l[0]==="-"?"-":"+",f=parseInt(l.substring(1,3),10),c=parseInt(l.substring(4,6),10);switch(o){case 1:i+=`${u}${f}`;break;case 2:i+=`${u}${j(f,2)}`;break;default:i+=`${u}${j(f,2)}:${j(c,2)}`;break}break;case":":i+=":",r++;break;case"/":i+="/",r++;break;case"'":case'"':const[h,d]=gc(t,r);i+=h,r+=d;break;case"%":const m=ji(t,r);if(m>=0&&m!==37)r+=2,i+=qo(s,String.fromCharCode(m),n);else throw new Error("Invalid format string");break;case"\\":const w=ji(t,r);if(w>=0)r+=2,i+=String.fromCharCode(w);else throw new Error("Invalid format string");break;default:r++,i+=a;break}}return i}function Ui(e){return e.kind||0}function Bt(e){const t=e<0;e=Math.abs(e);const n=~~(e/36e5),r=e%36e5/6e4;return(t?"-":"+")+j(n,2)+":"+j(r,2)}function ar(e,t){const n=e.toISOString();return t==="first"?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function wc(e,t){if(t)return e.toISOString();{const n=e.kind==null?!0:e.kind===2;return j(e.getFullYear(),4)+"-"+j(e.getMonth()+1,2)+"-"+j(e.getDate(),2)+"T"+j(e.getHours(),2)+":"+j(e.getMinutes(),2)+":"+j(e.getSeconds(),2)+"."+j(e.getMilliseconds(),3)+(n?Bt(e.getTimezoneOffset()*-6e4):"")}}function _c(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+Bt(t)}function yc(e,t){const n=new Date(e.getTime()+(e.offset??0));if(typeof t!="string")return n.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+Bt(e.offset??0);if(t.length===1)switch(t){case"D":case"d":return ar(n,"first");case"T":case"t":return ar(n,"second");case"O":case"o":return _c(n,e.offset??0);default:throw new Error("Unrecognized Date print format")}else return qo(n,t,!0)}function bc(e,t){const n=e.kind===1;if(typeof t!="string")return n?e.toUTCString():e.toLocaleString();if(t.length===1)switch(t){case"D":case"d":return n?ar(e,"first"):e.toLocaleDateString();case"T":case"t":return n?ar(e,"second"):e.toLocaleTimeString();case"O":case"o":return wc(e,n);default:throw new Error("Unrecognized Date print format")}else return qo(e,t,n)}function vr(e,t,n){return e.offset!=null?yc(e,t):bc(e,t)}function $n(e,t){const n=new Date(e);return n.kind=(t??0)|0,n}function vc(){return $n(-621355968e5,1)}function Ea(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}(e==null||e.trim()==="")&&t(),e.length===10&&e[4]==="-"&&e[7]==="-"&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.getTime())){const o=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(e);if(o!=null){let i,s=0;if(o[2]!=null){const a=o[2].split(":"),l=parseInt(a[0],10);s=l*3600+parseInt(a[1]||"0",10)*60+parseFloat(a[2]||"0"),o[3]!=null&&o[3].toUpperCase()==="PM"&&l<12&&(s+=720)}if(o[4]!=null){if(o[1]!=null)i=new Date(o[1]+" UTC");else{const a=new Date;i=new Date(a.getUTCFullYear()+"/"+(a.getUTCMonth()+1)+"/"+a.getUTCDate())}if(o[4]==="Z")r="Z";else{let a=parseInt(o[5],10)*60+parseInt(o[6]||"0",10);o[4][0]==="-"&&(a*=-1),r=a,s-=a*60}}else if(o[1]!=null)i=new Date(o[1]);else{const a=new Date;i=new Date(a.getFullYear()+"/"+(a.getMonth()+1)+"/"+a.getDate())}n=new Date(i.getTime()+s*1e3),n=new Date(n.getTime()+(n.getTimezoneOffset()-i.getTimezoneOffset())*6e4)}else t();isNaN(n.getTime())&&t()}return[n,r]}function xc(e,t=!1){const[n,r]=Ea(e),o=r!=null?t&&r==="Z"?1:2:0;return $n(n.getTime(),o)}function Cc(e,t){try{return t.contents=xc(e),!0}catch{return!1}}function Sc(e){return e.kind===1?e:$n(e.getTime(),1)}function Ec(e){return e.kind===2?e:$n(e.getTime(),2)}function Gi(e){return e.kind===1?e.getUTCDate():e.getDate()}function Un(e){return e.kind===1?e.getUTCHours():e.getHours()}function Gn(e){return e.kind===1?e.getUTCMilliseconds():e.getMilliseconds()}function Bi(e){return e.kind===1?e.getUTCMinutes():e.getMinutes()}function Bn(e){return(e.kind===1?e.getUTCMonth():e.getMonth())+1}function zi(e){return e.kind===1?e.getUTCSeconds():e.getSeconds()}function Wi(e){return e.kind===1?e.getUTCDay():e.getDay()}function kc(e,t=0){if(t&-284)throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let n="gu";return n+=t&1?"i":"",n+=t&2?"m":"",n+=t&16?"s":"",new RegExp(e,n)}function ka(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function qi(e,t,n=0){if(t==null)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=n;const r=[];let o,i=-1;for(;(o=e.exec(t))!=null;)o.index===i?e.lastIndex++:(i=o.index,r.push(o));return r}function Tc(e,t,n,r,o=0){function i(){let s=arguments[0];if(r){r--;const a=[],l=arguments.length,u=typeof arguments[l-1]!="string";let f=u?l-3:l-2;for(let c=0;c<f;c++)a.push(arguments[c]);a.index=arguments[f++],a.input=arguments[f++],u&&(a.groups=arguments[f]),s=n(a)}return s}if(typeof e=="string"){const s=e;e=kc(t,r??0),t=s,r=void 0}if(typeof n=="function")return r=r??-1,t.substring(0,o)+t.substring(o).replace(e,i);if(n=n.replace(/\$0/g,s=>"$&").replace(/\${([^}]+)}/g,"$<$1>"),r!=null){let s;const a=t.substring(o),l=qi(e,a),u=qi.length>r?(s=l[r-1],a.substring(0,s.index+s[0].length)):a;return t.substring(0,o)+u.replace(e,n)+t.substring(o+u.length)}else return t.replace(e,n)}const hn=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,$c=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function Ta(e,t){return fc(e,t)<0}function Xt(e){return{input:e,cont:Nc(e)}}function $a(e,t){return typeof t=="string"?e(t):t.cont(e)}function Cn(e){return $a(t=>t,e)}function Ac(e){return $a(t=>{throw new Error(t)},e)}function Ic(e,t,n,r,o){let i="";if(t=t||"",o=o||"",Sa(e))switch(o.toLowerCase()!=="x"&&(Ta(e,0)?(e=uo(e,-1),i="-"):t.indexOf(" ")>=0?i=" ":t.indexOf("+")>=0&&(i="+")),r=r==null?null:parseInt(r,10),o){case"f":case"F":r=r??6,e=Zn(e,r);break;case"g":case"G":e=r!=null?or(e,r):or(e);break;case"e":case"E":e=r!=null?ir(e,r):ir(e);break;case"x":e=sr(e);break;case"X":e=sr(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=vr(e):e=Ue(e);if(n=typeof n=="number"?n:parseInt(n,10),isNaN(n))e=i+e;else{const s=t.indexOf("0")>=0,a=t.indexOf("-")>=0,l=a||!s?" ":"0";l==="0"?(e=Sn(e,n-i.length,l,a),e=i+e):e=Sn(i+e,n,l,a)}return e}function Aa(e,t,n,r="",o=-1){return(...i)=>{let s=r;const a=t.slice(),l=n.slice();for(const u of i){const[,,f,c,h,d]=l[0];let m=c;if(o>=0)m=o,o=-1;else if(m==="*"){if(u<0)throw new Error("Non-negative number required");o=u;continue}s+=a[0],s+=Ic(u,f,m,h,d),a.splice(0,1),l.splice(0,1)}return l.length===0?(s+=a[0],e(s)):Aa(e,a,l,s,o)}}function Nc(e){return t=>{hn.lastIndex=0;const n=[],r=[];let o=0,i=hn.exec(e);for(;i;){const s=i.index+(i[1]||"").length;n.push(e.substring(o,s).replace(/%%/g,"%")),r.push(i),o=hn.lastIndex,hn.lastIndex-=1,i=hn.exec(e)}return n.length===0?t(e.replace(/%%/g,"%")):(n.push(e.substring(o).replace(/%%/g,"%")),Aa(t,n,r))}}function Mc(e,...t){let n;return n=e,n.replace($c,(r,o,i,s,a,l)=>{if(o<0||o>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let u=t[o];if(Sa(u))switch(a=a==null?null:parseInt(a,10),s){case"f":case"F":a=a??2,u=Zn(u,a);break;case"g":case"G":u=a!=null?or(u,a):or(u);break;case"e":case"E":u=a!=null?ir(u,a):ir(u);break;case"p":case"P":a=a??2,u=Zn(uo(u,100),a)+" %";break;case"d":case"D":u=a!=null?Br(String(u),a,"0"):String(u);break;case"x":case"X":u=a!=null?Br(sr(u),a,"0"):sr(u),s==="X"&&(u=u.toUpperCase());break;default:if(l){let f="";u=l.replace(/([0#,]+)(\.[0#]+)?/,(c,h,d)=>{Ta(u,0)&&(u=uo(u,-1),f="-"),d=d==null?"":d.substring(1),u=Zn(u,Math.max(d.length,0));let[m,w]=u.split(".");w||(w="");const g=h.replace(/,/g,"").replace(/^#+/,"").length;m=Br(m,g,"0");const y=d.replace(/#+$/,"").length;if(y>w.length?w=Pc(w,y,"0"):y<w.length&&(w=w.substring(0,y)+w.substring(y).replace(/0+$/,"")),h.indexOf(",")>0){const b=m.length%3,E=Math.floor(m.length/3);let I=b>0?m.substr(0,b)+(E>0?",":""):"";for(let V=0;V<E;V++)I+=m.substr(b+V*3,3)+(V<E-1?",":"");m=I}return w.length>0?m+"."+w:m}),u=f+u}}else u instanceof Date?u=vr(u,l||s):u=Ue(u);return i=parseInt((i||" ").substring(1),10),isNaN(i)||(u=Sn(String(u),Math.abs(i)," ",i<0)),u})}function Zo(e){return typeof e!="string"||e.length===0}function Fc(e){return typeof e!="string"||/^\s*$/.test(e)}function wt(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function Sn(e,t,n,r){n=n||" ",t=t-e.length;for(let o=0;o<t;o++)e=r?e+n:n+e;return e}function Br(e,t,n){return Sn(e,t,n)}function Pc(e,t,n){return Sn(e,t,n,!0)}function Dc(e,t,n,r){if(n=typeof n=="number"?n:void 0,r=typeof r=="number"?r:0,n&&n<0)throw new Error("Count cannot be less than zero");if(n===0)return[];const o=(r&1)===1,i=(r&2)===2;t=t||[],t=t.filter(f=>f).map(ka),t=t.length>0?t:["\\s"];const s=[],a=new RegExp(t.join("|"),"g");let l=!0,u=0;do{const f=a.exec(e);if(f===null){const c=i?e.substring(u).trim():e.substring(u);(!o||c.length>0)&&s.push(c),l=!1}else{const c=i?e.substring(u,f.index).trim():e.substring(u,f.index);(!o||c.length>0)&&(n!=null&&s.length+1===n?(s.push(i?e.substring(u).trim():e.substring(u)),l=!1):s.push(c)),u=a.lastIndex}}while(l);return s}function Oc(e,...t){if(t.length===0)return e.trim();const n="["+ka(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}class $t{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return ot(this.value)}Equals(t){return t==null?!1:je(this.value,t instanceof $t?t.value:t)}CompareTo(t){return t==null?1:we(this.value,t instanceof $t?t.value:t)}}function x(e){if(e==null)throw new Error("Option has no value");return e instanceof $t?e.value:e}function Rc(e){return e instanceof $t?e.value:e}function Ie(e){return e==null||e instanceof $t?new $t(e):e}function Lc(e){return e==null?[]:[x(e)]}function Yo(e,t){return e!=null?x(e):t}function Ko(e,t){return t!=null?Ie(e(x(t))):void 0}class Hc{constructor(t,n,r,o){this.declaringType=t,this.tag=n,this.name=r,this.fields=o}}class Me{constructor(t,n,r,o,i,s,a){this.fullname=t,this.generics=n,this.construct=r,this.parent=o,this.fields=i,this.cases=s,this.enumCases=a}toString(){return le(this)}GetHashCode(){return Ia(this)}Equals(t){return co(this,t)}}function Ke(e){return e.generics!=null?e.generics:[]}function Ia(e){const t=Bo(e.fullname),n=Ke(e).map(Ia);return Tn([t,...n])}function co(e,t){return e.fullname===""?t.fullname===""&&ao(cr(e),cr(t),([n,r],[o,i])=>n===o&&co(r,i)):e.fullname===t.fullname&&ao(Ke(e),Ke(t),co)}function At(e,t,n,r){return new Me(e,t,n,r)}function Ft(e,t,n,r){return new Me(e,t,n,void 0,r)}function Na(e,t,n,r){const o=new Me(e,t,n,void 0,void 0,()=>{const i=n.prototype.cases();return r().map((s,a)=>new Hc(o,a,i[a],s))});return o}function zt(e){return new Me("Microsoft.FSharp.Core.FSharpOption`1",[e])}function lr(e){return new Me("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Vc=new Me("System.Object"),ur=new Me("System.String"),Ae=new Me("System.Int32");function Jo(e){if(Array.isArray(e))return e[0];if(e instanceof Me){const t=xr(e);if(t!=null)return Jo(t)+"[]";{const n=e.fullname.lastIndexOf(".");return n===-1?e.fullname:e.fullname.substr(n+1)}}else return e.name}function le(e){const t=xr(e);return t!=null?le(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(n=>le(n)).join(",")+"]"}function jc(e){return xr(e)!=null}function xr(e){var t;return e.fullname==="[]"&&((t=e.generics)==null?void 0:t.length)===1?e.generics[0]:void 0}function Uc(e){return e.generics!=null&&e.generics.length>0}function Ma(e){return e.enumCases!=null&&e.enumCases.length>0}function Gc(e){return e.generics==null?e:new Me(e.fullname,e.generics.map(()=>Vc))}function Bc(e){var t;return(t=e.generics)==null?void 0:t[0]}function Rt(e){if(Ma(e)&&e.enumCases!=null)return e.enumCases.map(t=>t[1]);throw new Error(`${e.fullname} is not an enum type`)}function zc(e,t){if(e.enumCases!=null)if(typeof t=="string"){for(const n of e.enumCases)if(n[0]===t)return n;throw new Error(`'${t}' was not found in ${e.fullname}`)}else{for(const n of e.enumCases)if(n[1]===t)return n;return["",t]}else throw new Error(`${e.fullname} is not an enum type`)}function Lt(e,t){const n=parseInt(t,10);return zc(e,isNaN(n)?t:n)[1]}function Wc(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function cr(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function qc(e){if(Fa(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Zc(e){return e instanceof Me?e.cases!=null:e instanceof O}function Yc(e){return e instanceof Me?e.fields!=null:e instanceof B}function Fa(e){return e.fullname.startsWith("System.Tuple")}function Kc(e){return e.fields==null?[]:e.fields}function Jc(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);const r=e.declaringType.construct;return r==null?{}:(e.declaringType.cases?e.declaringType.cases().length==1:!1)?new r(...t):new r(e.tag,t)}function Xc(e,t){const n=cr(e);if(n.length!==t.length)throw new Error(`Expected an array of length ${n.length} but got ${t.length}`);return e.construct!=null?new e.construct(...t):n.reduce((r,[o,i],s)=>(r[o]=t[s],r),{})}function Qc(e,t){return e}const Pa="Collection was empty.",ef="The input must be non-negative.",Da="The input sequence has an insufficient number of elements.";function Oa(e,t){return new Array(t)}function Zi(e,t){return e>t?e:t}function Yi(e,t){return e<t?e:t}function Xo(e,t,n,r){const o=t|0;return e.fill(r,o,o+n)}function Cr(e,t,n){const r=t.length|0,o=Oa(n,r);for(let i=0;i<=r-1;i++)ht(o,i,e(de(i,t)));return o}function tf(e,t){const n=Oa(t,1);return ht(n,0,e),n}function nf(e){return e.slice().reverse()}function rf(e,t){return t.find(e)}function of(e,t,n){const r=[];for(let o=0;o<=t.length-1;o++){const i=e(de(o,t));if(i!=null){const s=x(i);r.push(s)}}return je(n,rt())?r:Cr(o=>o,r,n)}function Sr(e,t,n){const r=e;return n.reduce(r,t)}function de(e,t){if(e<0||e>=t.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");return t[e]}function ht(e,t,n){if(t<0||t>=e.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");e[t]=n}function Ra(e,t,n){return t.reduceRight((r,o)=>e(o,r),n)}class _e extends B{constructor(t,n){super(),this.head=t,this.tail=n}toString(){return"["+wt("; ",this)+"]"}Equals(t){const n=this;return n===t?!0:((o,i)=>{e:for(;;){const s=o,a=i,l=s.tail,u=a.tail;if(l!=null)if(u!=null){const f=x(l),c=x(u);if(je(s.head,a.head)){o=f,i=c;continue e}else return!1}else return!1;else return u==null}})(n,t)}GetHashCode(){return((r,o,i)=>{e:for(;;){const s=r,a=o,l=i,u=l.tail;if(u!=null){const f=x(u);if(s>18)return a|0;r=s+1,o=(a<<1)+ot(l.head)+631*s,i=f;continue e}else return a|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((o,i)=>{e:for(;;){const s=o,a=i,l=s.tail,u=a.tail;if(l!=null)if(u!=null){const f=x(l),c=x(u),h=we(s.head,a.head)|0;if(h===0){o=f,i=c;continue e}else return h|0}else return 1;else return u!=null?-1:0}})(this,t)|0}GetEnumerator(){return af(this)}[Symbol.iterator](){return yr(te(this))}"System.Collections.IEnumerable.GetEnumerator"(){return te(this)}}class sf{constructor(t){this.xs=t,this.it=this.xs,this.current=rt()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this,n=t.it.tail;if(n!=null){const r=x(n);return t.current=t.it.head,t.it=r,!0}else return!1}"System.Collections.IEnumerator.Reset"(){const t=this;t.it=t.xs,t.current=rt()}Dispose(){}}function af(e){return new sf(e)}function re(){return new _e(rt(),void 0)}function An(e,t){return new _e(e,t)}function In(e){return e.tail==null}function La(e){return((n,r)=>{e:for(;;){const o=n,s=r.tail;if(s!=null){n=o+1,r=x(s);continue e}else return o|0}})(0,e)|0}function Qo(e){if(e.tail!=null)return e.head;throw new Error(Pa+"\\nParameter name: list")}function Ne(e){const t=e.tail;if(t!=null)return x(t);throw new Error(Pa+"\\nParameter name: list")}function se(){return re()}function $e(e,t){return An(e,t)}function U(e){return An(e,re())}function F(e){return In(e)}function Ha(e){return La(e)}function T(e){return Qo(e)}function M(e){return Ne(e)}function rn(e){const t=La(e)|0,n=Xo(new Array(t),0,t,null);return((o,i)=>{e:for(;;){const s=o,a=i;if(!In(a)){ht(n,s,Qo(a)),o=s+1,i=Ne(a);continue e}break}})(0,e),n}function at(e,t,n){let r=t,o=n;for(;!In(o);)r=e(r,T(o)),o=Ne(o);return r}function ei(e){return at((t,n)=>An(n,t),re(),e)}function lf(e,t,n){return Ra(e,rn(t),n)}function fr(e,t){at((n,r)=>{e(r)},void 0,t)}function W(e,t){let n=t;for(let r=e.length-1;r>=0;r--)n=An(de(r,e),n);return n}function v(e){return W(e,re())}function uf(e){let t,n;if(qe(e))return v(e);if(e instanceof _e)return e;{const r=re();let o=r;const i=te(e);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const l=i["System.Collections.Generic.IEnumerator`1.get_Current"]();o=(t=o,n=new _e(l,void 0),t.tail=n,n)}}finally{Y(i)}const s=o,a=re();return s.tail=a,Ne(r)}}function ti(e,t){return at((n,r)=>An(r,n),t,ei(e))}function ni(e,t){const n=re(),r=at((i,s)=>{const a=new _e(e(s),void 0);return i.tail=a,a},n,t),o=re();return r.tail=o,Ne(n)}function Va(e,t){const n=re(),r=at((i,s)=>{if(e(s)){const a=new _e(s,void 0);return i.tail=a,a}else return i},n,t),o=re();return r.tail=o,Ne(n)}function cf(e,t){const n=re(),r=re(),o=n,i=at((l,u)=>{let f,c;const h=l[0],d=l[1];return e(u)?[(f=new _e(u,void 0),h.tail=f,f),d]:[h,(c=new _e(u,void 0),d.tail=c,c)]},[o,r],t),s=re();i[0].tail=s;const a=re();return i[1].tail=a,[Ne(o),Ne(r)]}function ff(e,t){const n=re(),r=at((i,s)=>{const a=e(s);if(a==null)return i;{const l=new _e(x(a),void 0);return i.tail=l,l}},n,t),o=re();return r.tail=o,Ne(n)}function ja(e,t){const n=rn(t);return n.sort(e),v(n)}function df(e,t,n){return ja((r,o)=>n.Compare(e(r),e(o)),t)}function pf(e,t,n){return ja((r,o)=>n.Compare(e(r),e(o))*-1,t)}function hf(e,t){e:for(;;){const n=e,r=t;if(n<=0)return r;if(In(r))throw new Error(Da+"\\nParameter name: list");e=n-1,t=Ne(r);continue e}}function mf(e,t){if(e<0)throw new Error(ef+"\\nParameter name: count");const n=(s,a,l)=>{let u;e:for(;;){const f=s,c=a,h=l;if(f<=0)return c;if(In(h))throw new Error(Da+"\\nParameter name: list");s=f-1,a=(u=new _e(Qo(h),void 0),c.tail=u,u),l=Ne(h);continue e}},r=re(),o=n(e,r,t),i=re();return o.tail=i,Ne(r)}const S=$;function gf(e){const t=v([p("style",{children:[Wo]}),p("div",{className:"text-blue-500",children:`Welcome to apollo-import-workspace-app, with backend url ${e.backendUrl}`})]);return p("div",{children:S.Children.toArray(Array.from(t))})}class wf{constructor(t=!1){this._id=0,this._cancelled=t,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,t]of this._listeners)t()}}addListener(t){const n=this._id;return this._listeners.set(this._id++,t),n}removeListener(t){return this._listeners.delete(t)}register(t,n){const r=this,o=this.addListener(n==null?t:()=>t(n));return{Dispose(){r.removeListener(o)}}}Dispose(){}}class ri extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,ri.prototype)}}class oi{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>oi.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function ft(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new ri);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(n){t.onError(rr(n))}});else try{e(t)}catch(n){t.onError(rr(n))}}}function _f(e,t){return ft(n=>{e({onSuccess:r=>{try{t(r)(n)}catch(o){n.onError(rr(o))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})})}function yf(e){return ft(t=>t.onSuccess(e))}class bf{Bind(t,n){return _f(t,n)}Combine(t,n){return this.Bind(t,()=>n)}Delay(t){return ft(n=>t()(n))}For(t,n){const r=t[Symbol.iterator]();let o=r.next();return this.While(()=>!o.done,this.Delay(()=>{const i=n(o.value);return o=r.next(),i}))}Return(t){return yf(t)}ReturnFrom(t){return t}TryFinally(t,n){return ft(r=>{t({onSuccess:o=>{n(),r.onSuccess(o)},onError:o=>{n(),r.onError(o)},onCancel:o=>{n(),r.onCancel(o)},cancelToken:r.cancelToken,trampoline:r.trampoline})})}TryWith(t,n){return ft(r=>{t({onSuccess:r.onSuccess,onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline,onError:o=>{try{n(o)(r)}catch(i){r.onError(rr(i))}}})})}Using(t,n){return this.TryFinally(n(t),()=>t.Dispose())}While(t,n){return t()?this.Bind(n,()=>this.While(t,n)):this.Return(void 0)}Zero(){return ft(t=>t.onSuccess(void 0))}}const Te=new bf;function vf(e){return new Ua(0,[e])}function xf(e){return new Ua(1,[e])}class Ua extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Choice1Of2","Choice2Of2"]}}function Cf(e){return vf(e)}function Sf(e){return xf(e)}function zr(e){}const Ef=new wf;function kf(e){return ft(t=>{e({onSuccess:n=>t.onSuccess(Cf(n)),onError:n=>t.onSuccess(Sf(n)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function Tf(e){return ft(t=>e([t.onSuccess,t.onError,t.onCancel]))}function $f(e,t){return If(e,t)}function Af(e,t){return $f(e,t)}function If(e,t,n,r,o){typeof t!="function"&&(o=t,t=void 0);const i=new oi;e({onSuccess:t||zr,onError:zr,onCancel:zr,cancelToken:o||Ef,trampoline:i})}class Ga extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class Nf extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Empty","Text","Binary","Form"]}}class ii extends B{constructor(t,n,r,o,i,s,a,l){super(),this.url=t,this.method=n,this.headers=r,this.withCredentials=o,this.overridenMimeType=i,this.overridenResponseType=s,this.timeout=a,this.content=l}}class Vt extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Ba extends B{constructor(t,n,r,o,i,s){super(),this.statusCode=t|0,this.responseText=n,this.responseType=r,this.responseUrl=o,this.responseHeaders=i,this.content=s}}function Mf(e){throw new Error(e)}const Ff="Enumeration already finished.",Pf="Enumeration has not started. Call MoveNext.",za="The input sequence has an insufficient number of elements.",Df="Reset is not supported on this enumerator.";function Of(){throw new Error(Df)}function si(){throw new Error(Pf)}function fo(){throw new Error(Ff)}class Rf{constructor(t){this.f=t}toString(){const t=this;let n=0,r="seq [";const o=te(t);try{for(;n<4&&o["System.Collections.IEnumerator.MoveNext"]();)n>0&&(r=r+"; "),r=r+Ue(o["System.Collections.Generic.IEnumerator`1.get_Current"]()),n=n+1|0;return n===4&&(r=r+"; ..."),r+"]"}finally{Y(o)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return yr(te(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function Lf(e){return new Rf(e)}class Hf{constructor(t,n,r){this.current=t,this.next=n,this.dispose=r}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current()}"System.Collections.IEnumerator.get_Current"(){return this.current()}"System.Collections.IEnumerator.MoveNext"(){return this.next()}"System.Collections.IEnumerator.Reset"(){Of()}Dispose(){this.dispose()}}function Er(e,t,n){return new Hf(e,t,n)}function Vf(e){let t,n,r=!1,o=!1,i;const s=()=>{if(o=!0,n!=null){const a=x(n);try{Y(a)}finally{n=void 0}}if(t!=null){const a=x(t);try{Y(a)}finally{t=void 0}}};return Er(()=>(r?o&&fo():si(),i!=null?x(i):fo()),()=>{let a;if(r||(r=!0),o)return!1;{let l;for(;l==null;){const u=t,f=n;if(u!=null)if(f!=null){const c=x(f);if(c["System.Collections.IEnumerator.MoveNext"]())i=Ie(c["System.Collections.Generic.IEnumerator`1.get_Current"]()),l=!0;else try{Y(c)}finally{n=void 0}}else{const c=x(u);c["System.Collections.IEnumerator.MoveNext"]()?n=(a=c["System.Collections.Generic.IEnumerator`1.get_Current"](),te(a)):(s(),l=!1)}else t=te(e)}return x(l)}},()=>{o||s()})}function jf(e,t){return Er(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{Y(t)}finally{}})}function Wa(e,t,n){let r=!1,o,i=Ie(e());const s=()=>{if(i!=null){const l=x(i);try{n(l)}finally{i=void 0}}},a=()=>{try{s()}finally{o=void 0}};return Er(()=>(r||si(),o!=null?x(o):fo()),()=>{if(r||(r=!0),i!=null){const l=x(i);let u;try{u=t(l)}catch(f){throw a(),f}return u!=null?(o=u,!0):(a(),!1)}else return!1},s)}function Uf(e,t){let n,r=t;return Er(()=>{if(n!=null){const o=x(n)[0];return x(n)[1],o}else return si()},()=>(n=e(r),n!=null?(x(n)[0],r=x(n)[1],!0):!1),()=>{})}function Gf(e,t){t==null&&Mf(e)}function on(e){return Lf(e)}function It(e){return Gf("source",e),te(e)}function oe(e){return on(()=>te(e()))}function qa(e){return on(()=>Vf(e))}function Bf(e,t){return on(()=>Uf(e,t))}function ue(e){return oe(()=>tf(e))}function zf(e){return e instanceof _e?rn(e):Array.from(e)}function Nn(e){return qe(e)?v(e):e instanceof _e?e:uf(e)}function Wf(e,t,n){return on(()=>Wa(e,t,n))}function qf(e,t,n){return on(()=>{let r=-1;return Wa(e,o=>(r=r+1|0,t(r,o)),n)})}function it(e,t){return qa([e,t])}function Zf(e,t,n){const r=It(t);try{const o=It(n);try{let i=0,s=r["System.Collections.IEnumerator.MoveNext"](),a=o["System.Collections.IEnumerator.MoveNext"]();for(;i===0&&s&&a;)i=e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),o["System.Collections.Generic.IEnumerator`1.get_Current"]())|0,i===0&&(s=r["System.Collections.IEnumerator.MoveNext"](),a=o["System.Collections.IEnumerator.MoveNext"]());return(i!==0?i:s?1:a?-1:0)|0}finally{Y(o)}}finally{Y(r)}}function Ht(e,t,n){const r=It(t);try{let o=!1;for(;!o&&r["System.Collections.IEnumerator.MoveNext"]();)o=n.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return o}finally{Y(r)}}function Za(e,t,n){const r=It(n);try{let o=t;for(;r["System.Collections.IEnumerator.MoveNext"]();)o=e(o,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return o}finally{Y(r)}}function Ya(e,t){Za((n,r)=>{e(r)},void 0,t)}function Qe(e,t){return Wf(()=>It(t),n=>n["System.Collections.IEnumerator.MoveNext"]()?Ie(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{Y(n)})}function Yf(e){return oe(()=>nf(zf(e)))}function Kf(e,t){return on(()=>{const n=It(t);try{for(let r=1;r<=e;r++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(za+"\\nParameter name: source");return jf(()=>{},n)}catch(r){throw Y(n),r}})}function Jf(e,t){return qf(()=>It(t),(n,r)=>{if(n<e){if(r["System.Collections.IEnumerator.MoveNext"]())return Ie(r["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(za+"\\nParameter name: source")}else return},n=>{Y(n)})}function Xf(e,t){return oe(()=>qa(Qe(e,t)))}class Ka{constructor(t,n){this.k=t,this.v=n}}function dr(e,t){return new Ka(e,t)}function pe(e){return e.k}function Ce(e){return e.v}class ee extends Ka{constructor(t,n,r,o,i){super(t,n),this.left=r,this.right=o,this.h=i|0}}function Yn(e,t,n,r,o){return new ee(e,t,n,r,o)}function ce(e){return e.left}function fe(e){return e.right}function Et(e){return e.h}function Ja(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=x(r);if(o instanceof ee){const i=o;e=Ja(n+1,ce(i)),t=fe(i);continue e}else return n+1|0}else return n|0}}function Qf(e){return Ja(0,e)}function Pe(e,t,n,r){let o,i,s;const a=e;if(a!=null){const c=x(a);s=c instanceof ee?(o=c,Et(o)):1}else s=0;let l;const u=r;if(u!=null){const c=x(u);l=c instanceof ee?(i=c,Et(i)):1}else l=0;const f=(s<l?l:s)|0;return f===0?dr(t,n):Yn(t,n,e,r,f+1)}function Ki(e,t,n,r){let o,i,s,a,l,u,f,c,h;const d=e;if(d!=null){const g=x(d);h=g instanceof ee?(o=g,Et(o)):1}else h=0;let m;const w=r;if(w!=null){const g=x(w);m=g instanceof ee?(i=g,Et(i)):1}else m=0;if(m>h+2){const g=x(r);if(g instanceof ee){const y=g;if(s=ce(y),(s!=null?(a=x(s),a instanceof ee?(l=a,Et(l)):1):0)>h+1){const b=x(ce(y));if(b instanceof ee){const E=b;return Pe(Pe(e,t,n,ce(E)),pe(E),Ce(E),Pe(fe(E),pe(y),Ce(y),fe(y)))}else throw new Error("internal error: Map.rebalance")}else return Pe(Pe(e,t,n,ce(y)),pe(y),Ce(y),fe(y))}else throw new Error("internal error: Map.rebalance")}else if(h>m+2){const g=x(e);if(g instanceof ee){const y=g;if(u=fe(y),(u!=null?(f=x(u),f instanceof ee?(c=f,Et(c)):1):0)>m+1){const b=x(fe(y));if(b instanceof ee){const E=b;return Pe(Pe(ce(y),pe(y),Ce(y),ce(E)),pe(E),Ce(E),Pe(fe(E),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return Pe(ce(y),pe(y),Ce(y),Pe(fe(y),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return Pe(e,t,n,r)}function Qt(e,t,n,r){if(r!=null){const o=x(r),i=e.Compare(t,pe(o))|0;if(o instanceof ee){const s=o;return i<0?Ki(Qt(e,t,n,ce(s)),pe(s),Ce(s),fe(s)):i===0?Yn(t,n,ce(s),fe(s),Et(s)):Ki(ce(s),pe(s),Ce(s),Qt(e,t,n,fe(s)))}else return i<0?Yn(t,n,void 0,r,2):i===0?dr(t,n):Yn(t,n,r,void 0,2)}else return dr(t,n)}function Xa(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i!=null){const s=x(i),a=r.Compare(o,pe(s))|0;if(a===0)return Ie(Ce(s));if(s instanceof ee){const l=s;e=r,t=o,n=a<0?ce(l):fe(l);continue e}else return}else return}}function ed(e,t,n){const r=Xa(e,t,n);if(r==null)throw new Error;return x(r)}function td(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i!=null){const s=x(i),a=r.Compare(o,pe(s))|0;if(s instanceof ee){const l=s;if(a<0){e=r,t=o,n=ce(l);continue e}else{if(a===0)return!0;e=r,t=o,n=fe(l);continue e}}else return a===0}else return!1}}function Qa(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=x(r);if(o instanceof ee){const i=o;Qa(n,ce(i)),n(pe(i),Ce(i)),e=n,t=fe(i);continue e}else n(pe(o),Ce(o))}break}}function nd(e,t){Qa(e,t)}function rd(e,t,n){let r=n;nd((o,i)=>{ht(t,r,[o,i]),r=r+1|0},e)}function od(e,t){return at((n,r)=>Qt(e,r[0],r[1],n),void 0,t)}function id(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i["System.Collections.IEnumerator.MoveNext"]()){const s=i["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=Qt(r,s[0],s[1],o),n=i;continue e}else return o}}function sd(e,t){let n=void 0;for(let r=0;r<=t.length-1;r++){const o=de(r,t);n=Qt(e,o[0],o[1],n)}return n}function el(e,t){if(qe(t))return sd(e,t);if(t instanceof _e)return od(e,t);{const n=te(t);try{return id(e,void 0,n)}finally{Y(n)}}}class ad extends B{constructor(t,n){super(),this.stack=t,this.started=n}}function tl(e){e:for(;;){const t=e;if(F(t))return se();{const n=M(t),r=T(t);if(r!=null){const o=x(r);if(o instanceof ee){const i=o;e=W([ce(i),dr(pe(i),Ce(i)),fe(i)],n);continue e}else return t}else{e=n;continue e}}}}function Ji(e){return new ad(tl(U(e)),!1)}function ld(){throw new Error("enumeration not started")}function ud(){throw new Error("enumeration already finished")}function Xi(e){if(e.started){const t=e.stack;if(F(t))return ud();if(T(t)!=null){const n=x(T(t));if(n instanceof ee)throw new Error("Please report error: Map iterator, unexpected stack for current");return[pe(n),Ce(n)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return ld()}function cd(e){if(e.started){const t=e.stack;if(F(t))return!1;if(T(t)!=null){if(x(T(t))instanceof ee)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=tl(M(t)),!F(e.stack)}else throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}else return e.started=!0,!F(e.stack)}function Qi(e){let t=Ji(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return Xi(t)},"System.Collections.IEnumerator.get_Current"(){return Xi(t)},"System.Collections.IEnumerator.MoveNext"(){return cd(t)},"System.Collections.IEnumerator.Reset"(){t=Ji(e)},Dispose(){}}}class pr{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return hd(this)|0}Equals(t){const n=this;if(t instanceof pr){const r=t,o=te(n);try{const i=te(r);try{const s=()=>{const a=o["System.Collections.IEnumerator.MoveNext"]();if(a===i["System.Collections.IEnumerator.MoveNext"]())if(a){const l=o["System.Collections.Generic.IEnumerator`1.get_Current"](),u=i["System.Collections.Generic.IEnumerator`1.get_Current"]();return je(l[0],u[0])&&je(l[1],u[1])?s():!1}else return!0;else return!1};return s()}finally{Y(i)}}finally{Y(o)}}else return!1}toString(){return"map ["+wt("; ",Qe(n=>Mc("({0}, {1})",n[0],n[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return Qi(this.tree)}[Symbol.iterator](){return yr(te(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Qi(this.tree)}CompareTo(t){const n=this;if(t instanceof pr)return Zf((o,i)=>{const s=n.comparer.Compare(o[0],i[0])|0;return(s!==0?s:we(o[1],i[1]))|0},n,t)|0;throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return ts(n,t[0])&&je(es(n,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){rd(this.tree,t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Wr(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Wr(this)|0}get size(){return Wr(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return Qe(n=>[n[0],n[1]],this)}get(t){return es(this,t)}has(t){return ts(this,t)}keys(){return Qe(n=>n[0],this)}set(t,n){throw new Error("Map cannot be mutated")}values(){return Qe(n=>n[1],this)}forEach(t,n){const r=this;Ya(o=>{t(o[1],o[0],r)},r)}}function kr(e,t){return new pr(e,t)}function fd(e){return kr(e,void 0)}function dd(e,t,n){return kr(e.comparer,Qt(e.comparer,t,n,e.tree))}function es(e,t){return ed(e.comparer,t,e.tree)}function Wr(e){return Qf(e.tree)}function ts(e,t){return td(e.comparer,t,e.tree)}function pd(e,t){return Xa(e.comparer,t,e.tree)}function hd(e){const t=(o,i)=>(o<<1)+i+631;let n=0;const r=te(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const o=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=t(n,ot(o[0]))|0,n=t(n,ot(o[1]))|0}}finally{Y(r)}return n|0}function md(e,t,n){return dd(n,e,t)}function gd(e,t){return pd(t,e)}function wd(e,t){return kr(t,el(t,e))}function _d(e,t){return kr(t,el(t,e))}function nl(e){return fd(e)}const yt=new ii("",new Ga(0,[]),se(),!1,void 0,void 0,void 0,new Nf(0,[]));new Ba(0,"","","",nl({Compare:zo}),new Vt(0,[""]));function ns(e,t){return Zo(t)?new Array(0):Dc(t,[e],void 0,0)}function yd(e){switch(e.tag){case 1:return"POST";case 3:return"PATCH";case 2:return"PUT";case 4:return"DELETE";case 6:return"OPTIONS";case 5:return"HEAD";default:return"GET"}}function bd(e){return new ii(e,yt.method,yt.headers,yt.withCredentials,yt.overridenMimeType,yt.overridenResponseType,yt.timeout,yt.content)}function vd(e,t){return new ii(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function xd(e){return Tf(t=>{const n=new XMLHttpRequest;n.open(yd(e.method),e.url),n.onreadystatechange=()=>{let l,u,f,c,h,d,m;n.readyState===4&&t[0]((l=(u=n.responseType,u===""||u==="text"?n.responseText:""),f=n.status|0,c=n.responseType,h=(d=n.responseType,d===""?new Vt(0,[n.responseText]):d==="text"?new Vt(0,[n.responseText]):d==="arraybuffer"?new Vt(2,[n.response]):d==="blob"?new Vt(1,[n.response]):new Vt(3,[n.response])),m=_d(of(w=>{const g=v(ns(":",w));if(!F(g))return[T(g).toLocaleLowerCase(),wt(":",M(g)).trim()]},ns(`\r
4
+ `,n.getAllResponseHeaders())),{Compare:zo}),new Ba(f,l,c,n.responseURL,m,h)))};const r=te(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const l=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n.setRequestHeader(l.fields[0],l.fields[1])}}finally{Y(r)}n.withCredentials=e.withCredentials;const o=e.overridenMimeType;if(o!=null){const l=o;n.overrideMimeType(l)}const i=e.overridenResponseType;if(i!=null)switch(i.tag){case 1:{n.responseType="blob";break}case 2:{n.responseType="arraybuffer";break}default:n.responseType="text"}const s=e.timeout;if(s!=null){const l=s|0;n.timeout=l|0}const a=e.content;switch(a.tag){case 1:{n.send(Ie(a.fields[0]));break}case 3:{n.send(Ie(a.fields[0]));break}case 2:{n.send(Ie(a.fields[0]));break}default:n.send()}})}function Cd(e){return new _(0,[e])}function rl(e){return new _(1,[e])}class _ extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Ok","Error"]}}function st(e,t){return t.tag===0?Cd(e(t.fields[0])):rl(t.fields[0])}function Sd(e,t){return t.tag===0?e(t.fields[0]):rl(t.fields[0])}const Ct={None:0,LowerFirst:1,SnakeCase:2,SnakeCaseAllCaps:3,KebabCase:4};function qr(e,t){return e.replace(/[a-z]?[A-Z]/g,n=>n.length===1?n.toLowerCase():n.charAt(0)+t+n.charAt(1).toLowerCase())}function Ed(e,t){switch(t){case Ct.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case Ct.SnakeCase:return qr(e,"_");case Ct.SnakeCaseAllCaps:return qr(e,"_").toUpperCase();case Ct.KebabCase:return qr(e,"-");case Ct.None:default:return e}}function ai(e,t=Ct.None){const n={},r=t;function o(s){throw new Error("Cannot infer key and value of "+String(s))}function i(s,a,l){s=Ed(s,a),n[s]=l}for(let s of e){let a=Ct.None;if(s==null&&o(s),s instanceof O){const l=s.cases()[s.tag];s=s.fields.length===0?l:[l].concat(s.fields),a=r}if(Array.isArray(s))switch(s.length){case 0:o(s);break;case 1:i(s[0],a,!0);break;case 2:const l=s[1];i(s[0],a,l);break;default:i(s[0],a,s.slice(1))}else typeof s=="string"?i(s,a,!0):o(s)}return n}class k extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class ol extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function rs(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function kd(e,t){switch(e.tag){case 2:return Tc(rs(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return rs(t)}}const Td=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,os=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,$d=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Ad(e){function t(r){return r.replace(os,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(Td.test(n))return Oc(n,"{","}","(",")");if(os.test(n))return t(n);if($d.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function Id(e,t){try{return t.contents=Ad(e),!0}catch{return!1}}var po;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(po||(po={}));function Nd(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}function is(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function Md(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}function Fd(e,t){if(t&po.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}function Pd(e,t,n){const o=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(o!=null){const[,,i,s]=o;if(n=n||Fd(i,t),!Md(n).test(s))return Nd(o,n)}return null}function Dd(e,t,n,r,o){const i=Pd(e,t,o);if(i!=null){let s=Number.parseInt(i.sign+i.digits,i.radix);if(!Number.isNaN(s)){const[a,l]=is(!0,r);!n&&i.radix!==10&&s>=a&&s<=l&&(s=s<<32-r>>32-r);const[u,f]=is(n,r);if(s>=u&&s<=f)return s}}throw new Error(`The input string ${e} was not in a correct format.`)}function sn(e,t,n,r,o){try{return o.contents=Dd(e,t,n,r),!0}catch{return!1}}function il(e,t){Od(t);const n=new Date(e);return n.offset=t??new Date().getTimezoneOffset()*-6e4,n}function Od(e){if(e!=null&&e!==0){if(e%6e4!==0)throw new Error("Offset must be specified in whole minutes.");if(Math.abs(e/36e5)>14)throw new Error("Offset must be within plus or minus 14 hours.")}}function Rd(){return il(-621355968e5,0)}function Ld(e){const[t,n]=Ea(e),r=n==null?t.getTimezoneOffset()*-6e4:n==="Z"?0:n*6e4;return il(t.getTime(),r)}function Hd(e,t){try{return t.contents=Ld(e),!0}catch{return!1}}function ss(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return Vd(arguments[0]);case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],o=0;break}return e*864e5+t*36e5+n*6e4+r*1e3+o}function Vd(e){return Number(BigInt(e)/10000n)}function jd(e){const t=e.search("\\."),n=e.search("\\:");if(t===-1&&n===-1){const r=parseInt(e,0);if(isNaN(r))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return ss(r,0,0,0,0)}if(n>0){const r=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(r!=null&&r[4]!=null&&r[5]!=null){let o=0,i=0,s=0;const a=r[1]!=null&&r[1]==="-"?-1:1,l=+r[4],u=+r[5];if(r[3]!=null&&(o=+r[3]),r[7]!=null&&(s=+r[7]),r[8]!=null)switch(r[8].length){case 1:i=+r[8]*100;break;case 2:i=+r[8]*10;break;case 3:i=+r[8];break;case 4:i=+r[8]/10;break;case 5:i=+r[8]/100;break;case 6:i=+r[8]/1e3;break;case 7:i=+r[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return a*ss(o,l,u,s,i)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function Ud(e,t){try{return t.contents=jd(e),!0}catch{return!1}}class sl{constructor(t){this.k=t}}function ve(e){return new sl(e)}function A(e){return e.k}class P extends sl{constructor(t,n,r,o){super(t),this.left=n,this.right=r,this.h=o|0}}function xe(e,t,n,r){return new P(e,t,n,r)}function H(e){return e.left}function R(e){return e.right}function Gt(e){return e.h}function al(e,t){e:for(;;){const n=e,r=t;if(n!=null){const o=x(n);if(o instanceof P){const i=o;e=H(i),t=al(R(i),r+1);continue e}else return r+1|0}else return r|0}}function Gd(e){return al(e,0)}function De(e,t,n){let r,o,i;const s=e;if(s!=null){const f=x(s);i=f instanceof P?(r=f,Gt(r)):1}else i=0;let a;const l=n;if(l!=null){const f=x(l);a=f instanceof P?(o=f,Gt(o)):1}else a=0;const u=(i<a?a:i)|0;return u===0?ve(t):xe(t,e,n,u+1)}function as(e,t,n){let r,o,i,s,a,l,u,f,c;const h=e;if(h!=null){const w=x(h);c=w instanceof P?(r=w,Gt(r)):1}else c=0;let d;const m=n;if(m!=null){const w=x(m);d=w instanceof P?(o=w,Gt(o)):1}else d=0;if(d>c+2){const w=x(n);if(w instanceof P){const g=w;if(i=H(g),(i!=null?(s=x(i),s instanceof P?(a=s,Gt(a)):1):0)>c+1){const y=x(H(g));if(y instanceof P){const b=y;return De(De(e,t,H(b)),A(b),De(R(b),A(g),R(g)))}else throw new Error("internal error: Set.rebalance")}else return De(De(e,t,H(g)),A(g),R(g))}else throw new Error("internal error: Set.rebalance")}else if(c>d+2){const w=x(e);if(w instanceof P){const g=w;if(l=R(g),(l!=null?(u=x(l),u instanceof P?(f=u,Gt(f)):1):0)>d+1){const y=x(R(g));if(y instanceof P){const b=y;return De(De(H(g),A(g),H(b)),A(b),De(R(b),t,n))}else throw new Error("internal error: Set.rebalance")}else return De(H(g),A(g),De(R(g),t,n))}else throw new Error("internal error: Set.rebalance")}else return De(e,t,n)}function en(e,t,n){if(n!=null){const r=x(n),o=e.Compare(t,A(r))|0;if(r instanceof P){const i=r;return o<0?as(en(e,t,H(i)),A(i),R(i)):o===0?n:as(H(i),A(i),en(e,t,R(i)))}else{const i=e.Compare(t,A(r))|0;return i<0?xe(t,void 0,n,2):i===0?n:xe(t,n,void 0,2)}}else return ve(t)}function ll(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i!=null){const s=x(i),a=r.Compare(o,A(s))|0;if(s instanceof P){const l=s;if(a<0){e=r,t=o,n=H(l);continue e}else{if(a===0)return!0;e=r,t=o,n=R(l);continue e}}else return a===0}else return!1}}function ul(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=x(r);if(o instanceof P){const i=o;ul(n,H(i)),n(A(i)),e=n,t=R(i);continue e}else n(A(o))}break}}class Bd extends B{constructor(t,n){super(),this.stack=t,this.started=n}}function cl(e){e:for(;;){const t=e;if(F(t))return se();{const n=T(t),r=M(t);if(n!=null){const o=x(n);if(o instanceof P){const i=o;e=W([H(i),ve(A(i)),R(i)],r);continue e}else return t}else{e=r;continue e}}}}function ls(e){return new Bd(cl(U(e)),!1)}function zd(){throw new Error("Enumeration not started")}function Wd(){throw new Error("Enumeration already started")}function us(e){if(e.started){const t=e.stack;if(F(t))return Wd();if(T(t)!=null){const n=x(T(t));return A(n)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return zd()}function qd(e){if(e.started){const t=e.stack;if(F(t))return!1;if(T(t)!=null){if(x(T(t))instanceof P)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=cl(M(t)),!F(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!F(e.stack)}function cs(e){let t=ls(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return us(t)},"System.Collections.IEnumerator.get_Current"(){return us(t)},"System.Collections.IEnumerator.MoveNext"(){return qd(t)},"System.Collections.IEnumerator.Reset"(){t=ls(e)},Dispose(){}}}function Zd(e,t,n){e:for(;;){const r=e,o=t,i=n;if(F(o))return F(i)?0:-1;if(F(i))return 1;if(T(i)!=null)if(T(o)!=null){const s=x(T(o)),a=x(T(i));if(s instanceof P){const l=s;if(H(l)==null)if(a instanceof P){const u=a;if(H(u)==null){const f=r.Compare(A(l),A(u))|0;if(f!==0)return f|0;e=r,t=$e(R(l),M(o)),n=$e(R(u),M(i));continue e}else{let f,c,h,d,m;switch(F(o)?F(i)?f=2:T(i)!=null?(f=1,d=M(i),m=x(T(i))):f=2:T(o)!=null?(f=0,c=M(o),h=x(T(o))):F(i)?f=2:T(i)!=null?(f=1,d=M(i),m=x(T(i))):f=2,f){case 0:if(h instanceof P){const w=h;e=r,t=W([H(w),xe(A(w),void 0,R(w),0)],c),n=i;continue e}else{e=r,t=W([void 0,ve(A(h))],c),n=i;continue e}case 1:if(m instanceof P){const w=m;e=r,t=o,n=W([H(w),xe(A(w),void 0,R(w),0)],d);continue e}else{e=r,t=o,n=W([void 0,ve(A(m))],d);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const u=r.Compare(A(l),A(a))|0;if(u!==0)return u|0;e=r,t=$e(R(l),M(o)),n=$e(void 0,M(i));continue e}else{let u,f,c,h,d;switch(F(o)?F(i)?u=2:T(i)!=null?(u=1,h=M(i),d=x(T(i))):u=2:T(o)!=null?(u=0,f=M(o),c=x(T(o))):F(i)?u=2:T(i)!=null?(u=1,h=M(i),d=x(T(i))):u=2,u){case 0:if(c instanceof P){const m=c;e=r,t=W([H(m),xe(A(m),void 0,R(m),0)],f),n=i;continue e}else{e=r,t=W([void 0,ve(A(c))],f),n=i;continue e}case 1:if(d instanceof P){const m=d;e=r,t=o,n=W([H(m),xe(A(m),void 0,R(m),0)],h);continue e}else{e=r,t=o,n=W([void 0,ve(A(d))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else if(a instanceof P){const l=a;if(H(l)==null){const u=r.Compare(A(s),A(l))|0;if(u!==0)return u|0;e=r,t=$e(void 0,M(o)),n=$e(R(l),M(i));continue e}else{let u,f,c,h,d;switch(F(o)?F(i)?u=2:T(i)!=null?(u=1,h=M(i),d=x(T(i))):u=2:T(o)!=null?(u=0,f=M(o),c=x(T(o))):F(i)?u=2:T(i)!=null?(u=1,h=M(i),d=x(T(i))):u=2,u){case 0:if(c instanceof P){const m=c;e=r,t=W([H(m),xe(A(m),void 0,R(m),0)],f),n=i;continue e}else{e=r,t=W([void 0,ve(A(c))],f),n=i;continue e}case 1:if(d instanceof P){const m=d;e=r,t=o,n=W([H(m),xe(A(m),void 0,R(m),0)],h);continue e}else{e=r,t=o,n=W([void 0,ve(A(d))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const l=r.Compare(A(s),A(a))|0;if(l!==0)return l|0;e=r,t=M(o),n=M(i);continue e}}else{x(T(i));let s,a,l,u,f;switch(F(o)?F(i)?s=2:T(i)!=null?(s=1,u=M(i),f=x(T(i))):s=2:T(o)!=null?(s=0,a=M(o),l=x(T(o))):F(i)?s=2:T(i)!=null?(s=1,u=M(i),f=x(T(i))):s=2,s){case 0:if(l instanceof P){const c=l;e=r,t=W([H(c),xe(A(c),void 0,R(c),0)],a),n=i;continue e}else{e=r,t=W([void 0,ve(A(l))],a),n=i;continue e}case 1:if(f instanceof P){const c=f;e=r,t=o,n=W([H(c),xe(A(c),void 0,R(c),0)],u);continue e}else{e=r,t=o,n=W([void 0,ve(A(f))],u);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else if(T(o)!=null){x(T(o));let s,a,l,u,f;switch(F(o)?F(i)?s=2:T(i)!=null?(s=1,u=M(i),f=x(T(i))):s=2:T(o)!=null?(s=0,a=M(o),l=x(T(o))):F(i)?s=2:T(i)!=null?(s=1,u=M(i),f=x(T(i))):s=2,s){case 0:if(l instanceof P){const c=l;e=r,t=W([H(c),xe(A(c),void 0,R(c),0)],a),n=i;continue e}else{e=r,t=W([void 0,ve(A(l))],a),n=i;continue e}case 1:if(f instanceof P){const c=f;e=r,t=o,n=W([H(c),xe(A(c),void 0,R(c),0)],u);continue e}else{e=r,t=o,n=W([void 0,ve(A(f))],u);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=r,t=M(o),n=M(i);continue e}}}function fs(e,t,n){return t==null?n==null?0:-1:n==null?1:Zd(e,U(t),U(n))|0}function Yd(e,t,n){let r=n;ul(o=>{ht(t,r,o),r=r+1|0},e)}function Kd(e,t,n){e:for(;;){const r=e,o=t,i=n;if(i["System.Collections.IEnumerator.MoveNext"]()){e=r,t=en(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i;continue e}else return o}}function Jd(e,t){return Sr((n,r)=>en(e,r,n),void 0,t)}function Xd(e,t){return at((n,r)=>en(e,r,n),void 0,t)}function fl(e,t){if(qe(t))return Jd(e,t);if(t instanceof _e)return Xd(e,t);{const n=te(t);try{return Kd(e,void 0,n)}finally{Y(n)}}}class li{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return tp(this)|0}Equals(t){let n;const r=this;return t instanceof li&&(n=t,fs(Wt(r),Oe(r),Oe(n))===0)}toString(){return"set ["+wt("; ",Qe(n=>Ue(n),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const n=this;return fs(Wt(n),Oe(n),Oe(t))|0}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return ll(Wt(n),t,Oe(n))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){Yd(Oe(this),t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Zr(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Zr(this)|0}GetEnumerator(){return cs(Oe(this))}[Symbol.iterator](){return yr(te(this))}"System.Collections.IEnumerable.GetEnumerator"(){return cs(Oe(this))}get size(){return Zr(this)|0}add(t){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(t){throw new Error("Set cannot be mutated")}has(t){return dl(this,t)}keys(){return Qe(n=>n,this)}values(){return Qe(n=>n,this)}entries(){return Qe(n=>[n,n],this)}forEach(t,n){const r=this;Ya(o=>{t(o,o,r)},r)}}function Tr(e,t){return new li(e,t)}function Wt(e){return e.comparer}function Oe(e){return e.tree}function Qd(e){return Tr(e,void 0)}function ep(e,t){return Tr(Wt(e),en(Wt(e),t,Oe(e)))}function Zr(e){return Gd(Oe(e))}function dl(e,t){return ll(Wt(e),t,Oe(e))}function tp(e){let t=0;const n=te(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+ot(r)+631|0}}finally{Y(n)}return Math.abs(t)|0}function ho(e,t){return dl(t,e)}function np(e,t){return ep(t,e)}function rp(e){return Qd(e)}function op(e,t){return Tr(t,fl(t,e))}function ip(e,t){return Tr(t,fl(t,e))}function mn(e,t,n){try{return"Expecting "+e+" but instead got:"+(n?`
5
5
  `:" ")+(JSON.stringify(t,null,4)+"")}catch{return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(n?`
6
- `:" ")}}function zc(e,t){const n=t.tag===2?kt(t.fields[0],t.fields[1],!0):t.tag===1?kt(t.fields[0],t.fields[1],!1)+`
7
- Reason: `+t.fields[2]:t.tag===3?kt(t.fields[0],t.fields[1],!0):t.tag===4?kt(t.fields[0],t.fields[1],!0)+("\nNode `"+t.fields[2]+"` is unkown."):t.tag===5?"Expecting "+t.fields[0]+`.
6
+ `:" ")}}function sp(e,t){const n=t.tag===2?mn(t.fields[0],t.fields[1],!0):t.tag===1?mn(t.fields[0],t.fields[1],!1)+`
7
+ Reason: `+t.fields[2]:t.tag===3?mn(t.fields[0],t.fields[1],!0):t.tag===4?mn(t.fields[0],t.fields[1],!0)+("\nNode `"+t.fields[2]+"` is unkown."):t.tag===5?"Expecting "+t.fields[0]+`.
8
8
  `+(JSON.stringify(t.fields[1],null,4)+""):t.tag===7?`The following errors were found:
9
9
 
10
- `+Ge(`
10
+ `+wt(`
11
11
 
12
- `,t.fields[0]):t.tag===6?"The following `failure` occurred with the decoder: "+t.fields[0]:kt(t.fields[0],t.fields[1],!1);return t.tag===7?n:"Error at: `"+e+"`\n"+n}function Oi(e,t,n){const r=t(e,n);if(r.tag===1){const o=r.fields[0];return new p(1,[zc(o[0],o[1])])}else return new p(0,[r.fields[0]])}function Wc(e,t){try{return Oi("$",e,JSON.parse(t))}catch(n){if(n instanceof SyntaxError)return new p(1,["Given an invalid JSON: "+n.message]);throw n}}function Fi(e,t){return typeof t=="string"?new p(0,[t]):new p(1,[[e,new v(0,["a string",t])]])}function qc(e,t){if(typeof t=="string"){const n=t;return n.length===1?new p(0,[n[0]]):new p(1,[[e,new v(0,["a single character string",t])]])}else return new p(1,[[e,new v(0,["a char",t])]])}function Zc(e,t){if(typeof t=="string"){let n,r="00000000-0000-0000-0000-000000000000";return n=[_c(t,new Ce(()=>r,o=>{r=o})),r],n[0]?new p(0,[n[1]]):new p(1,[[e,new v(0,["a guid",t])]])}else return new p(1,[[e,new v(0,["a guid",t])]])}function Jc(e,t){return t==null?new p(0,[void 0]):new p(1,[[e,new v(0,["null",t])]])}const Po=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?-128<=o&&o<=127?new p(0,[(o+128&255)-128]):new p(1,[[n,new v(1,["a sbyte",o,"Value was either too large or too small for a sbyte"])]]):new p(1,[[n,new v(1,["a sbyte",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[St(r,511,!1,8,new Ce(()=>s,i=>{s=i|0})),s],o[0]?new p(0,[o[1]]):new p(1,[[n,new v(0,["a sbyte",r])]])}else return new p(1,[[n,new v(0,["a sbyte",r])]])},Oo=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?0<=o&&o<=255?new p(0,[o&255]):new p(1,[[n,new v(1,["a byte",o,"Value was either too large or too small for a byte"])]]):new p(1,[[n,new v(1,["a byte",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[St(r,511,!0,8,new Ce(()=>s,i=>{s=i})),s],o[0]?new p(0,[o[1]]):new p(1,[[n,new v(0,["a byte",r])]])}else return new p(1,[[n,new v(0,["a byte",r])]])},Fo=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?-32768<=o&&o<=32767?new p(0,[(o+32768&65535)-32768]):new p(1,[[n,new v(1,["an int16",o,"Value was either too large or too small for an int16"])]]):new p(1,[[n,new v(1,["an int16",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[St(r,511,!1,16,new Ce(()=>s,i=>{s=i|0})),s],o[0]?new p(0,[o[1]]):new p(1,[[n,new v(0,["an int16",r])]])}else return new p(1,[[n,new v(0,["an int16",r])]])},Lo=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?0<=o&&o<=65535?new p(0,[o&65535]):new p(1,[[n,new v(1,["an uint16",o,"Value was either too large or too small for an uint16"])]]):new p(1,[[n,new v(1,["an uint16",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[St(r,511,!0,16,new Ce(()=>s,i=>{s=i})),s],o[0]?new p(0,[o[1]]):new p(1,[[n,new v(0,["an uint16",r])]])}else return new p(1,[[n,new v(0,["an uint16",r])]])},Ho=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?-2147483648<=o&&o<=2147483647?new p(0,[~~o]):new p(1,[[n,new v(1,["an int",o,"Value was either too large or too small for an int"])]]):new p(1,[[n,new v(1,["an int",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[St(r,511,!1,32,new Ce(()=>s,i=>{s=i|0})),s],o[0]?new p(0,[o[1]]):new p(1,[[n,new v(0,["an int",r])]])}else return new p(1,[[n,new v(0,["an int",r])]])},Vo=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?0<=o&&o<=4294967295?new p(0,[o>>>0]):new p(1,[[n,new v(1,["an uint32",o,"Value was either too large or too small for an uint32"])]]):new p(1,[[n,new v(1,["an uint32",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[St(r,511,!0,32,new Ce(()=>s,i=>{s=i})),s],o[0]?new p(0,[o[1]]):new p(1,[[n,new v(0,["an uint32",r])]])}else return new p(1,[[n,new v(0,["an uint32",r])]])};function Yc(e,t){return typeof t=="boolean"?new p(0,[t]):new p(1,[[e,new v(0,["a boolean",t])]])}function Kc(e,t){return typeof t=="number"?new p(0,[t]):new p(1,[[e,new v(0,["a float",t])]])}function Xc(e,t){return typeof t=="number"?new p(0,[t]):new p(1,[[e,new v(0,["a float32",t])]])}function Qc(e,t){if(typeof t=="string"){let n,r=ul();return n=[fl(t,new Ce(()=>r,o=>{r=o})),r],n[0]?new p(0,[dl(n[1])]):new p(1,[[e,new v(0,["a datetime",t])]])}else return new p(1,[[e,new v(0,["a datetime",t])]])}function ef(e,t){if(typeof t=="string"){let n,r=Sc();return n=[xc(t,new Ce(()=>r,o=>{r=o})),r],n[0]?new p(0,[n[1]]):new p(1,[[e,new v(0,["a datetimeoffset",t])]])}else return new p(1,[[e,new v(0,["a datetime",t])]])}function tf(e,t){if(typeof t=="string"){let n,r=0;return n=[Tc(t,new Ce(()=>r,o=>{r=o})),r],n[0]?new p(0,[n[1]]):new p(1,[[e,new v(0,["a timespan",t])]])}else return new p(1,[[e,new v(0,["a timespan",t])]])}function Uo(e,t,n,r){let o;const s=n+".["+ke(e)+"]";if(Array.isArray(r)){const i=r;return e<i.length?t(s,X(e,i)):new p(1,[[s,new v(5,["a longer array. Need index `"+ke(e)+"` but there are only `"+(o=i.length,ke(o))+"` entries",r])]])}else return new p(1,[[s,new v(0,["an array",r])]])}function nf(e,t,n){return n==null?new p(0,[void 0]):Oe(ce,e(t,n))}function jo(e,t,n){if(Array.isArray(n)){let r=-1;return Oe(Ir,bn((o,s)=>{if(r=r+1|0,o.tag===0){const i=e(t+".["+ke(r)+"]",s);return i.tag===0?new p(0,[le(i.fields[0],o.fields[0])]):new p(1,[i.fields[0]])}else return o},new p(0,[W()]),n))}else return new p(1,[[t,new v(0,["a list",n])]])}function rf(e,t,n){if(Array.isArray(n)){let r=-1;return Oe(Pu,bn((o,s)=>{if(r=r+1|0,o.tag===0){const i=e(t+".["+ke(r)+"]",s);return i.tag===0?new p(0,[je([i.fields[0]],o.fields[0])]):new p(1,[i.fields[0]])}else return o},new p(0,[[]]),n))}else return new p(1,[[t,new v(0,["a seq",n])]])}function Go(e,t,n){if(Array.isArray(n)){let r=-1;const o=n;return bn((s,i)=>{if(r=r+1|0,s.tag===0){const a=s.fields[0],c=e(t+".["+ke(r)+"]",i);return c.tag===0?(Ue(a,r,c.fields[0]),new p(0,[a])):new p(1,[c.fields[0]])}else return s},new p(0,[Er(new Array(o.length),0,o.length,null)]),o)}else return new p(1,[[t,new v(0,["an array",n])]])}function of(e,t,n){return((o,s)=>{e:for(;;){const i=o,a=s;if($(i))return new p(1,[[t,new v(7,[a])]]);{const c=Oi(t,j(C(i)),n);if(c.tag===1){o=I(i),s=Mr(a,Se(c.fields[0]));continue e}else return new p(0,[c.fields[0]])}}})(e,W())}function sf(e,t,n){return new p(0,[e])}function Bo(e,t,n,r){const o=t(n,r);return o.tag===0?e(o.fields[0],n,r):new p(1,[o.fields[0]])}function af(e,t,n,r){const o=t(n,r);return o.tag===1?new p(1,[o.fields[0]]):new p(0,[e(o.fields[0])])}function lf(e,t){let n;const r=e;return n=o=>s=>Uo(0,r,o,s),o=>s=>Bo(Bn(i=>{let a;const c=t;return a=u=>f=>Uo(1,c,u,f),u=>f=>Bo((l,h,d)=>sf([i,l]),j(a),u,f)}),j(n),o,s)}function uf(e){return rc(e,{Compare:te})}function cf(e){return Bc(e,{Compare:te})}function ff(e,t,n){return n!==null&&Object.getPrototypeOf(n||!1)===Object.prototype?ii((r,o)=>{const s=r[0];return o.tag===0?Oe(i=>le(i,o.fields[0]),r[1](t+"."+s)(n[s])):o},e,new p(0,[W()])):new p(1,[[t,new v(0,["an object",n])]])}function df(e,t,n,r){return r!==null&&Object.getPrototypeOf(r||!1)===Object.prototype?gi((o,s)=>{if(o.tag===0){const i=e(n,s);if(i.tag===0){const a=t(n+"."+s,r[s]);return a.tag===0?new p(0,[le([i.fields[0],a.fields[0]],o.fields[0])]):new p(1,[a.fields[0]])}else return new p(1,[i.fields[0]])}else return o},new p(0,[W()]),Object.keys(r)):new p(1,[[n,new v(0,["an object",r])]])}function Li(e,t,n,r){let o;const s=t.length+e|0;if(s!==r.length)return new p(1,[[n,new v(6,[(o=r.length|0,Mt(ht("Expected array of length %i but got %i"))(s)(o))])]]);{let i=new p(0,[W()]);for(let a=e;a<=r.length-1;a++)if(i.tag===0){const c=i.fields[0],u=Mt(ht("%s[%i]"))(n)(a),f=X(a-e,t),l=X(a,r);i=Oe(h=>le(h,c),f(u)(l))}return Oe(Ir,i)}}function zo(e,t,n,r,o,s){const i=Bl(a=>kr(a)===r,Dl(n));if(i!=null){const a=i,c=yn(u=>we(e,t,!1,u[1]),Fl(a));return Oe(u=>Ll(a,bt(u)),c.length===0&&s.length<=1?new p(0,[W()]):Li(1,c,o,s))}else return new p(1,[[o,new v(6,["Cannot find case "+r+" in "+q(n)])]])}function Wo(e,t,n,r){let o;const s=new Ce(Re());let i;const a=q(r);i=a===""?e:tc(a,s,e);let c;if(Ol(r)){const u=yn(f=>[fc(t,kr(f)),we(i,t,!1,f[1])],un(r));c=f=>l=>Oe(h=>Hl(r,bt(h)),ff(u,f,l))}else if(Pl(r))c=u=>f=>{if(typeof f=="string")return zo(i,t,r,f,u,[]);if(Array.isArray(f)){const l=f;return cc(h=>zo(i,t,r,h,u,l),Fi(u+"[0]",X(0,l)))}else return new p(1,[[u,new v(0,["a string or array",f])]])};else if(n)c=u=>f=>new p(1,[[u,new v(2,["an extra coder for "+q(r),f])]]);else throw new Error((o=q(r),Mt(ht(`Cannot generate auto decoder for %s. Please pass an extra decoder.
12
+ `,t.fields[0]):t.tag===6?"The following `failure` occurred with the decoder: "+t.fields[0]:mn(t.fields[0],t.fields[1],!1);return t.tag===7?n:"Error at: `"+e+"`\n"+n}function pl(e,t,n){const r=t(e,n);if(r.tag===1){const o=r.fields[0];return new _(1,[sp(o[0],o[1])])}else return new _(0,[r.fields[0]])}function ap(e,t){try{return pl("$",e,JSON.parse(t))}catch(n){if(n instanceof SyntaxError)return new _(1,["Given an invalid JSON: "+n.message]);throw n}}function hl(e,t){return typeof t=="string"?new _(0,[t]):new _(1,[[e,new k(0,["a string",t])]])}function lp(e,t){if(typeof t=="string"){const n=t;return n.length===1?new _(0,[n[0]]):new _(1,[[e,new k(0,["a single character string",t])]])}else return new _(1,[[e,new k(0,["a char",t])]])}function up(e,t){if(typeof t=="string"){let n,r="00000000-0000-0000-0000-000000000000";return n=[Id(t,new Ge(()=>r,o=>{r=o})),r],n[0]?new _(0,[n[1]]):new _(1,[[e,new k(0,["a guid",t])]])}else return new _(1,[[e,new k(0,["a guid",t])]])}function cp(e,t){return t==null?new _(0,[void 0]):new _(1,[[e,new k(0,["null",t])]])}const ds=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?-128<=o&&o<=127?new _(0,[(o+128&255)-128]):new _(1,[[n,new k(1,["a sbyte",o,"Value was either too large or too small for a sbyte"])]]):new _(1,[[n,new k(1,["a sbyte",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,i=0;return o=[sn(r,511,!1,8,new Ge(()=>i,s=>{i=s|0})),i],o[0]?new _(0,[o[1]]):new _(1,[[n,new k(0,["a sbyte",r])]])}else return new _(1,[[n,new k(0,["a sbyte",r])]])},ps=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?0<=o&&o<=255?new _(0,[o&255]):new _(1,[[n,new k(1,["a byte",o,"Value was either too large or too small for a byte"])]]):new _(1,[[n,new k(1,["a byte",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,i=0;return o=[sn(r,511,!0,8,new Ge(()=>i,s=>{i=s})),i],o[0]?new _(0,[o[1]]):new _(1,[[n,new k(0,["a byte",r])]])}else return new _(1,[[n,new k(0,["a byte",r])]])},hs=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?-32768<=o&&o<=32767?new _(0,[(o+32768&65535)-32768]):new _(1,[[n,new k(1,["an int16",o,"Value was either too large or too small for an int16"])]]):new _(1,[[n,new k(1,["an int16",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,i=0;return o=[sn(r,511,!1,16,new Ge(()=>i,s=>{i=s|0})),i],o[0]?new _(0,[o[1]]):new _(1,[[n,new k(0,["an int16",r])]])}else return new _(1,[[n,new k(0,["an int16",r])]])},ms=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?0<=o&&o<=65535?new _(0,[o&65535]):new _(1,[[n,new k(1,["an uint16",o,"Value was either too large or too small for an uint16"])]]):new _(1,[[n,new k(1,["an uint16",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,i=0;return o=[sn(r,511,!0,16,new Ge(()=>i,s=>{i=s})),i],o[0]?new _(0,[o[1]]):new _(1,[[n,new k(0,["an uint16",r])]])}else return new _(1,[[n,new k(0,["an uint16",r])]])},gs=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?-2147483648<=o&&o<=2147483647?new _(0,[~~o]):new _(1,[[n,new k(1,["an int",o,"Value was either too large or too small for an int"])]]):new _(1,[[n,new k(1,["an int",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,i=0;return o=[sn(r,511,!1,32,new Ge(()=>i,s=>{i=s|0})),i],o[0]?new _(0,[o[1]]):new _(1,[[n,new k(0,["an int",r])]])}else return new _(1,[[n,new k(0,["an int",r])]])},ws=e=>t=>{const n=e,r=t;if(typeof r=="number"){const o=r;return isFinite(o)&&Math.floor(o)===o?0<=o&&o<=4294967295?new _(0,[o>>>0]):new _(1,[[n,new k(1,["an uint32",o,"Value was either too large or too small for an uint32"])]]):new _(1,[[n,new k(1,["an uint32",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,i=0;return o=[sn(r,511,!0,32,new Ge(()=>i,s=>{i=s})),i],o[0]?new _(0,[o[1]]):new _(1,[[n,new k(0,["an uint32",r])]])}else return new _(1,[[n,new k(0,["an uint32",r])]])};function fp(e,t){return typeof t=="boolean"?new _(0,[t]):new _(1,[[e,new k(0,["a boolean",t])]])}function dp(e,t){return typeof t=="number"?new _(0,[t]):new _(1,[[e,new k(0,["a float",t])]])}function pp(e,t){return typeof t=="number"?new _(0,[t]):new _(1,[[e,new k(0,["a float32",t])]])}function hp(e,t){if(typeof t=="string"){let n,r=vc();return n=[Cc(t,new Ge(()=>r,o=>{r=o})),r],n[0]?new _(0,[Sc(n[1])]):new _(1,[[e,new k(0,["a datetime",t])]])}else return new _(1,[[e,new k(0,["a datetime",t])]])}function mp(e,t){if(typeof t=="string"){let n,r=Rd();return n=[Hd(t,new Ge(()=>r,o=>{r=o})),r],n[0]?new _(0,[n[1]]):new _(1,[[e,new k(0,["a datetimeoffset",t])]])}else return new _(1,[[e,new k(0,["a datetime",t])]])}function gp(e,t){if(typeof t=="string"){let n,r=0;return n=[Ud(t,new Ge(()=>r,o=>{r=o})),r],n[0]?new _(0,[n[1]]):new _(1,[[e,new k(0,["a timespan",t])]])}else return new _(1,[[e,new k(0,["a timespan",t])]])}function _s(e,t,n,r){let o;const i=n+".["+We(e)+"]";if(Array.isArray(r)){const s=r;return e<s.length?t(i,de(e,s)):new _(1,[[i,new k(5,["a longer array. Need index `"+We(e)+"` but there are only `"+(o=s.length,We(o))+"` entries",r])]])}else return new _(1,[[i,new k(0,["an array",r])]])}function wp(e,t,n){return n==null?new _(0,[void 0]):st(Ie,e(t,n))}function ys(e,t,n){if(Array.isArray(n)){let r=-1;return st(ei,Sr((o,i)=>{if(r=r+1|0,o.tag===0){const s=e(t+".["+We(r)+"]",i);return s.tag===0?new _(0,[$e(s.fields[0],o.fields[0])]):new _(1,[s.fields[0]])}else return o},new _(0,[se()]),n))}else return new _(1,[[t,new k(0,["a list",n])]])}function _p(e,t,n){if(Array.isArray(n)){let r=-1;return st(Yf,Sr((o,i)=>{if(r=r+1|0,o.tag===0){const s=e(t+".["+We(r)+"]",i);return s.tag===0?new _(0,[it([s.fields[0]],o.fields[0])]):new _(1,[s.fields[0]])}else return o},new _(0,[[]]),n))}else return new _(1,[[t,new k(0,["a seq",n])]])}function bs(e,t,n){if(Array.isArray(n)){let r=-1;const o=n;return Sr((i,s)=>{if(r=r+1|0,i.tag===0){const a=i.fields[0],l=e(t+".["+We(r)+"]",s);return l.tag===0?(ht(a,r,l.fields[0]),new _(0,[a])):new _(1,[l.fields[0]])}else return i},new _(0,[Xo(new Array(o.length),0,o.length,null)]),o)}else return new _(1,[[t,new k(0,["an array",n])]])}function yp(e,t,n){return((o,i)=>{e:for(;;){const s=o,a=i;if(F(s))return new _(1,[[t,new k(7,[a])]]);{const l=pl(t,K(T(s)),n);if(l.tag===1){o=M(s),i=ti(a,U(l.fields[0]));continue e}else return new _(0,[l.fields[0]])}}})(e,se())}function bp(e,t,n){return new _(0,[e])}function vs(e,t,n,r){const o=t(n,r);return o.tag===0?e(o.fields[0],n,r):new _(1,[o.fields[0]])}function vp(e,t,n,r){const o=t(n,r);return o.tag===1?new _(1,[o.fields[0]]):new _(0,[e(o.fields[0])])}function xp(e,t){let n;const r=e;return n=o=>i=>_s(0,r,o,i),o=>i=>vs(lo(s=>{let a;const l=t;return a=u=>f=>_s(1,l,u,f),u=>f=>vs((c,h,d)=>bp([s,c]),K(a),u,f)}),K(n),o,i)}function Cp(e){return wd(e,{Compare:we})}function Sp(e){return ip(e,{Compare:we})}function Ep(e,t,n){return n!==null&&Object.getPrototypeOf(n||!1)===Object.prototype?Ra((r,o)=>{const i=r[0];return o.tag===0?st(s=>$e(s,o.fields[0]),r[1](t+"."+i)(n[i])):o},e,new _(0,[se()])):new _(1,[[t,new k(0,["an object",n])]])}function kp(e,t,n,r){return r!==null&&Object.getPrototypeOf(r||!1)===Object.prototype?Za((o,i)=>{if(o.tag===0){const s=e(n,i);if(s.tag===0){const a=t(n+"."+i,r[i]);return a.tag===0?new _(0,[$e([s.fields[0],a.fields[0]],o.fields[0])]):new _(1,[a.fields[0]])}else return new _(1,[s.fields[0]])}else return o},new _(0,[se()]),Object.keys(r)):new _(1,[[n,new k(0,["an object",r])]])}function ml(e,t,n,r){let o;const i=t.length+e|0;if(i!==r.length)return new _(1,[[n,new k(6,[(o=r.length|0,Cn(Xt("Expected array of length %i but got %i"))(i)(o))])]]);{let s=new _(0,[se()]);for(let a=e;a<=r.length-1;a++)if(s.tag===0){const l=s.fields[0],u=Cn(Xt("%s[%i]"))(n)(a),f=de(a-e,t),c=de(a,r);s=st(h=>$e(h,l),f(u)(c))}return st(ei,s)}}function xs(e,t,n,r,o,i){const s=rf(a=>Jo(a)===r,Wc(n));if(s!=null){const a=s,l=Cr(u=>Re(e,t,!1,u[1]),Kc(a));return st(u=>Jc(a,rn(u)),l.length===0&&i.length<=1?new _(0,[se()]):ml(1,l,o,i))}else return new _(1,[[o,new k(6,["Cannot find case "+r+" in "+le(n)])]])}function Cs(e,t,n,r){let o;const i=new Ge(rt());let s;const a=le(r);s=a===""?e:md(a,i,e);let l;if(Yc(r)){const u=Cr(f=>[kd(t,Jo(f)),Re(s,t,!1,f[1])],cr(r));l=f=>c=>st(h=>Xc(r,rn(h)),Ep(u,f,c))}else if(Zc(r))l=u=>f=>{if(typeof f=="string")return xs(s,t,r,f,u,[]);if(Array.isArray(f)){const c=f;return Sd(h=>xs(s,t,r,h,u,c),hl(u+"[0]",de(0,c)))}else return new _(1,[[u,new k(0,["a string or array",f])]])};else if(n)l=u=>f=>new _(1,[[u,new k(2,["an extra coder for "+le(r),f])]]);else throw new Error((o=le(r),Cn(Xt(`Cannot generate auto decoder for %s. Please pass an extra decoder.
13
13
 
14
- Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders`))(o)));return s.contents=c,c}function we(e,t,n,r){let o,s,i,a;const c=q(r),u=nc(c,e);if(u==null)if(Il(r)){const f=we(e,t,!1,wn(r));return l=>h=>Go(j(f),l,h)}else if(ti(r))switch(q(Al(r))){case"System.SByte":return l=>h=>{const d=r,_=l,g=h,m=Po(_)(g);if(m.tag===1)return new p(1,[m.fields[0]]);{const w=m.fields[0]|0;return tt(w,Qe(d),{Equals:(S,T)=>S===T,GetHashCode:Te})?new p(0,[et(d,w.toString())]):new p(1,[[_,new v(1,[q(d),g,"Unkown value provided for the enum"])]])}};case"System.Byte":return l=>h=>{const d=r,_=l,g=h,m=Oo(_)(g);if(m.tag===1)return new p(1,[m.fields[0]]);{const w=m.fields[0];return tt(w,Qe(d),{Equals:(S,T)=>S===T,GetHashCode:Te})?new p(0,[et(d,w.toString())]):new p(1,[[_,new v(1,[q(d),g,"Unkown value provided for the enum"])]])}};case"System.Int16":return l=>h=>{const d=r,_=l,g=h,m=Fo(_)(g);if(m.tag===1)return new p(1,[m.fields[0]]);{const w=m.fields[0]|0;return tt(w,Qe(d),{Equals:(S,T)=>S===T,GetHashCode:Te})?new p(0,[et(d,Pa(w))]):new p(1,[[_,new v(1,[q(d),g,"Unkown value provided for the enum"])]])}};case"System.UInt16":return l=>h=>{const d=r,_=l,g=h,m=Lo(_)(g);if(m.tag===1)return new p(1,[m.fields[0]]);{const w=m.fields[0];return tt(w,Qe(d),{Equals:(S,T)=>S===T,GetHashCode:Te})?new p(0,[et(d,w.toString())]):new p(1,[[_,new v(1,[q(d),g,"Unkown value provided for the enum"])]])}};case"System.Int32":return l=>h=>{const d=r,_=l,g=h,m=Ho(_)(g);if(m.tag===1)return new p(1,[m.fields[0]]);{const w=m.fields[0]|0;return tt(w,Qe(d),{Equals:(S,T)=>S===T,GetHashCode:Te})?new p(0,[et(d,ke(w))]):new p(1,[[_,new v(1,[q(d),g,"Unkown value provided for the enum"])]])}};case"System.UInt32":return l=>h=>{const d=r,_=l,g=h,m=Vo(_)(g);if(m.tag===1)return new p(1,[m.fields[0]]);{const w=m.fields[0];return tt(w,Qe(d),{Equals:(S,T)=>S===T,GetHashCode:Te})?new p(0,[et(d,w.toString())]):new p(1,[[_,new v(1,[q(d),g,"Unkown value provided for the enum"])]])}};default:{const l=q(r),h=gl(ht(`Cannot generate auto decoder for %s.
14
+ Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders`))(o)));return i.contents=l,l}function Re(e,t,n,r){let o,i,s,a;const l=le(r),u=gd(l,e);if(u==null)if(jc(r)){const f=Re(e,t,!1,xr(r));return c=>h=>bs(K(f),c,h)}else if(Ma(r))switch(le(Bc(r))){case"System.SByte":return c=>h=>{const d=r,m=c,w=h,g=ds(m)(w);if(g.tag===1)return new _(1,[g.fields[0]]);{const y=g.fields[0]|0;return Ht(y,Rt(d),{Equals:(b,E)=>b===E,GetHashCode:Ye})?new _(0,[Lt(d,y.toString())]):new _(1,[[m,new k(1,[le(d),w,"Unkown value provided for the enum"])]])}};case"System.Byte":return c=>h=>{const d=r,m=c,w=h,g=ps(m)(w);if(g.tag===1)return new _(1,[g.fields[0]]);{const y=g.fields[0];return Ht(y,Rt(d),{Equals:(b,E)=>b===E,GetHashCode:Ye})?new _(0,[Lt(d,y.toString())]):new _(1,[[m,new k(1,[le(d),w,"Unkown value provided for the enum"])]])}};case"System.Int16":return c=>h=>{const d=r,m=c,w=h,g=hs(m)(w);if(g.tag===1)return new _(1,[g.fields[0]]);{const y=g.fields[0]|0;return Ht(y,Rt(d),{Equals:(b,E)=>b===E,GetHashCode:Ye})?new _(0,[Lt(d,qu(y))]):new _(1,[[m,new k(1,[le(d),w,"Unkown value provided for the enum"])]])}};case"System.UInt16":return c=>h=>{const d=r,m=c,w=h,g=ms(m)(w);if(g.tag===1)return new _(1,[g.fields[0]]);{const y=g.fields[0];return Ht(y,Rt(d),{Equals:(b,E)=>b===E,GetHashCode:Ye})?new _(0,[Lt(d,y.toString())]):new _(1,[[m,new k(1,[le(d),w,"Unkown value provided for the enum"])]])}};case"System.Int32":return c=>h=>{const d=r,m=c,w=h,g=gs(m)(w);if(g.tag===1)return new _(1,[g.fields[0]]);{const y=g.fields[0]|0;return Ht(y,Rt(d),{Equals:(b,E)=>b===E,GetHashCode:Ye})?new _(0,[Lt(d,We(y))]):new _(1,[[m,new k(1,[le(d),w,"Unkown value provided for the enum"])]])}};case"System.UInt32":return c=>h=>{const d=r,m=c,w=h,g=ws(m)(w);if(g.tag===1)return new _(1,[g.fields[0]]);{const y=g.fields[0];return Ht(y,Rt(d),{Equals:(b,E)=>b===E,GetHashCode:Ye})?new _(0,[Lt(d,y.toString())]):new _(1,[[m,new k(1,[le(d),w,"Unkown value provided for the enum"])]])}};default:{const c=le(r),h=Ac(Xt(`Cannot generate auto decoder for %s.
15
15
  Thoth.Json.Net only support the following enum types:
16
16
  - sbyte
17
17
  - byte
@@ -20,7 +20,7 @@ Thoth.Json.Net only support the following enum types:
20
20
  - int
21
21
  - uint32
22
22
  If you can't use one of these types, please pass an extra decoder.
23
- `))(l);return d=>h(d)}}else if(Ml(r))if(ni(r)){const f=yn(l=>we(e,t,!1,l),Rl(r));return l=>h=>Array.isArray(h)?Oe(d=>Vl(bt(d)),Li(0,f,l,h)):new p(1,[[l,new v(0,["an array",h])]])}else switch(q($l(r))){case"Microsoft.FSharp.Core.FSharpOption`1[System.Object]":return o=we(e,t,!0,X(0,Ie(r))),l=>h=>nf(j(o),l,h);case"Microsoft.FSharp.Collections.FSharpList`1[System.Object]":return s=we(e,t,!1,X(0,Ie(r))),l=>h=>jo(j(s),l,h);case"System.Collections.Generic.IEnumerable`1[System.Object]":return i=we(e,t,!1,X(0,Ie(r))),l=>h=>rf(j(i),l,h);case"Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]":{const l=we(e,t,!1,X(0,Ie(r))),h=we(e,t,!1,X(1,Ie(r)));let d;const _=k([g=>m=>df(j(l),j(h),g,m),(a=lf(j(l),j(h)),g=>m=>jo(j(a),g,m))]);return d=g=>m=>of(_,g,m),g=>m=>af(uf,j(d),g,m)}case"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]":{const l=we(e,t,!1,X(0,Ie(r)));return h=>d=>{const _=Go(j(l),h,d);return _.tag===0?new p(0,[cf(_.fields[0])]):new p(1,[_.fields[0]])}}default:return Wo(e,t,n,r)}else switch(c){case"System.Boolean":return f=>l=>Yc(f,l);case"Microsoft.FSharp.Core.Unit":return f=>l=>Jc(f,l);case"System.String":return f=>l=>Fi(f,l);case"System.Char":return f=>l=>qc(f,l);case"System.SByte":return Po;case"System.Byte":return Oo;case"System.Int16":return Fo;case"System.UInt16":return Lo;case"System.Int32":return Ho;case"System.UInt32":return Vo;case"System.Double":return f=>l=>Kc(f,l);case"System.Single":return f=>l=>Xc(f,l);case"System.DateTime":return f=>l=>Qc(f,l);case"System.DateTimeOffset":return f=>l=>ef(f,l);case"System.TimeSpan":return f=>l=>tf(f,l);case"System.Guid":return f=>l=>Zc(f,l);case"System.Object":return f=>l=>new p(0,[l]);default:return Wo(e,t,n,r)}else{const f=u;return l=>h=>f.contents(l)(h)}}function hf(e){return ki({Compare:br})}function pf(e,t,n){const r=Cr(t,new Ti(0,[]));return we(hf(),r,!1,e)}class _f extends U{constructor(t,n){super(),this.Name=t,this.Email=n}}function Or(){return Xe("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.UserDto",[],_f,()=>[["Name",ln],["Email",at(ln)]])}class mf extends F{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Profiles","Tax"]}}function Hi(){return ei("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.ImportStageDto",[],mf,()=>[[],[]])}class gf extends F{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Invite","RevokeInvite"]}}function wf(){return ei("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.BenefitsRequestTypeDto",[],gf,()=>[[],[]])}class yf extends U{constructor(t,n,r,o){super(),this.User=t,this.ProfileCount=n|0,this.RequestType=r,this.RequestedAt=o}}function bf(){return Xe("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.BenefitsRequestInfoDto",[],yf,()=>[["User",Or()],["ProfileCount",ue],["RequestType",wf()],["RequestedAt",Je("System.DateTime")]])}class vf extends U{constructor(t,n,r,o,s,i){super(),this.Stage=t,this.InputRowCount=n|0,this.StartTime=r,this.SucceededRowCount=o,this.FailedRowCount=s,this.RemainingRowCount=i}}function Sf(){return Xe("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.RunningStageDto",[],vf,()=>[["Stage",Hi()],["InputRowCount",ue],["StartTime",Je("System.DateTime")],["SucceededRowCount",at(ue)],["FailedRowCount",at(ue)],["RemainingRowCount",at(ue)]])}class Cf extends U{constructor(t,n,r,o,s,i){super(),this.Stage=t,this.InputRowCount=n|0,this.SucceededRowCount=r|0,this.FailedRowCount=o|0,this.StartTime=s,this.StopTime=i}}function Vi(){return Xe("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.CompletedStageDto",[],Cf,()=>[["Stage",Hi()],["InputRowCount",ue],["SucceededRowCount",ue],["FailedRowCount",ue],["StartTime",Je("System.DateTime")],["StopTime",Je("System.DateTime")]])}class xf extends U{constructor(t,n,r,o,s,i,a){super(),this.ImportId=t|0,this.User=n,this.Filename=r,this.NumberOfRecords=o|0,this.CurrentStage=s,this.CompletedStages=i,this.StartTime=a}}function kf(){return Xe("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.ActiveImportDto",[],xf,()=>[["ImportId",ue],["User",Or()],["Filename",ln],["NumberOfRecords",ue],["CurrentStage",at(Sf())],["CompletedStages",an(Vi())],["StartTime",Je("System.DateTime")]])}class Ef extends U{constructor(t,n,r,o,s,i,a,c){super(),this.ImportId=t|0,this.User=n,this.Filename=r,this.NumberOfRecords=o|0,this.CompletedStages=s,this.BenefitsRequests=i,this.StartTime=a,this.StopTime=c}}function Tf(){return Xe("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.PastImportDto",[],Ef,()=>[["ImportId",ue],["User",Or()],["Filename",ln],["NumberOfRecords",ue],["CompletedStages",an(Vi())],["BenefitsRequests",an(bf())],["StartTime",Je("System.DateTime")],["StopTime",Je("System.DateTime")]])}class If extends U{constructor(t,n){super(),this.ActiveImport=t,this.ImportHistory=n}}function Mf(){return Xe("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.AccountImportsDto",[],If,()=>[["ActiveImport",at(kf())],["ImportHistory",an(Tf())]])}class $f{constructor(t){this.baseUrl=`${t}/import/workspace/v1.0/accounts/current/imports`}}function Af(e){return new $f(e)}function Nf(e){return ae.Delay(()=>{let t;const n=lc(ac(new di(0,[]),ic(e.baseUrl)));return t=ae.Bind(n,r=>ae.Return(new p(0,[r]))),ae.Bind(t,r=>{const o=r;if(o.tag===1)return ae.Return(new p(1,[o.fields[0]]));{const s=o.fields[0];switch(s.statusCode|0){case 200:{let a;const c=Wc(j(pf(Mf(),new Ti(1,[]))),s.responseText);return a=c.tag===1?new p(1,[c.fields[0]]):new p(0,[c.fields[0]]),ae.Return(a)}case 404:return ae.Return(new p(0,[void 0]));default:return ae.Return(new p(1,["Failed to get account imports"]))}}})})}function Df(){return W()}function Fr(e){return Ge("/",e)}function Rf(e,t){const n=new Error("Duplicate SubId");return e(["Duplicate SubId: "+Fr(t),n])}function Ui(e,t,n){try{V(n)}catch(r){e(["Error stopping subscription: "+Fr(t),r])}}function Pf(e,t,n,r){try{return[n,r(t)]}catch(o){e(["Error starting subscription: "+Fr(n),o]);return}}function Of(e,t){cn(n=>{Ui(e,n[0],n[1])},t)}function qo(e,t,n,r,o,s){return cn(i=>{Rf(e,i)},n),cn(i=>{Ui(e,i[0],i[1])},r),Mr(o,Kl(i=>Pf(e,t,i[0],i[1]),s))}function Ff(){return[W(),jc({Compare:te}),W()]}function Lf(e,t,n,r,o){return Jn(e,r)?[le(e,n),r,o]:[n,Uc(e,r),le([e,t],o)]}function Hf(e){return Zl((t,n)=>Lf(t[0],t[1],n[0],n[1],n[2]),e,Ff())}const Vf=W();function Zo(e,t){const n=Gc($r(i=>i[0],e),{Compare:te}),r=Hf(t),o=r[1],s=r[0];if(n.Equals(o))return[s,W(),e,W()];{const i=Yl(a=>Jn(a[0],o),e);return[s,i[1],i[0],ui(a=>!Jn(a[0],n),r[2])]}}class Uf{constructor(t,n,r){this.OnNext=t,this.OnError=n||(o=>{}),this.OnCompleted=r||(()=>{})}}function jf(e,t){t.Subscribe(new Uf(e))}class Gf{constructor(){this.delegates=[]}_add(t){this.delegates.push(t)}_remove(t){const n=this.delegates.indexOf(t);n>-1&&this.delegates.splice(n,1)}get Publish(){return zf(t=>{this._add(t)},t=>{this._remove(t)})}Trigger(t,n){let r=null;const o=n===void 0?t:(r=t,n);this.delegates.forEach(s=>{s(r,o)})}}class Bf extends Gf{}function zf(e,t){return{AddHandler(n){e(n)},RemoveHandler(n){t(n)},Subscribe(n){const r=(o,s)=>n.OnNext(s);return e(r),{Dispose(){t(r)}}}}}class Wf{constructor(t){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=t&&t>0?t:100,this.AutoReset=!0,this._elapsed=new Bf}Elapsed(){return this._elapsed.Publish}get Enabled(){return this._enabled}set Enabled(t){!this._isDisposed&&this._enabled!==t&&(this._enabled=t,this._enabled?this.AutoReset?this._intervalId=setInterval(()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)},this.Interval):this._timeoutId=setTimeout(()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)},this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}}function qf(e,t){console.error(ce(e),t)}function Zf(e,t){let n,r=new Wf(e);r.AutoReset=!1,n=r,jf(t,n.Elapsed()),n.Enabled=!0,n.Start()}function Jo(e,t,n){cn(r=>{try{r(t)}catch(o){e(o)}},n)}function Me(){return W()}function Jf(e,t,n,r){return Se(o=>{e(ae.Delay(()=>ae.Bind(du(t(n)),s=>{const i=s;return i.tag===0&&o(r(i.fields[0])),ae.Zero()})))})}function Yf(e){Zf(1,t=>{_u(e)})}function Kf(e,t,n,r){const o=te(e,n)|0;if(o===0)throw new Error("The step of a range cannot be zero");const s=o>0;return i=>{const a=te(i,t)|0;return s&&a<=0||!s&&a>=0?[i,r(i,e)]:void 0}}function Xf(e,t,n,r,o){const s=Kf(t,n,r,o);return Z(()=>$u(s,e))}function Qf(e,t,n){return Xf(e,t,n,0,(r,o)=>r+o)}class ut extends F{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Writable","ReadWritable"]}}class ed{constructor(t){this.state=new ut(0,[Er(new Array(go(t,10)),0,go(t,10),null),0])}}function td(e){return new ed(e)}function Yo(e){const t=e.state;if(t.tag===1){const n=t.fields[1]|0,r=t.fields[2]|0,o=t.fields[0],s=(r+1)%o.length|0;return s===n?e.state=new ut(0,[o,n]):e.state=new ut(1,[o,n,s]),ce(X(r,o))}else return}function nd(e,t){const n=e.state;if(n.tag===1){const r=n.fields[1]|0,o=n.fields[2]|0,s=n.fields[0];Ue(s,r,t);const i=(r+1)%s.length|0;i===o?e.state=new ut(1,[rd(e,o,s),s.length,0]):e.state=new ut(1,[s,i,o])}else{const r=n.fields[1]|0,o=n.fields[0];Ue(o,r,t);const s=(r+1)%o.length|0;e.state=new ut(1,[o,s,r])}}function rd(e,t,n){return Array.from(Z(()=>je(Ou(t,n),Z(()=>je(Fu(t,n),Z(()=>Lu(r=>ee(Re()),Qf(0,1,n.length))))))))}class Lr extends U{constructor(t,n,r,o,s,i,a){super(),this.init=t,this.update=n,this.subscribe=r,this.view=o,this.setState=s,this.onError=i,this.termination=a}}function ji(e,t,n){return new Lr(e,t,r=>Df(),n,j(r=>{const o=qe(n)(r);return s=>{o(s)}}),r=>{qf(r[0],r[1])},[r=>!1,r=>{}])}function od(e,t){return new Lr(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}function sd(e){return e.init}function id(e,t,n,r,o,s,i){const a=qe(e)(i.init),c=Mn(t)(qe(i.update)),u=Mn(n)(qe(i.view)),f=Mn(r)(qe(i.setState));return new Lr(a,j(c),qe(o)(i.subscribe),j(u),j(f),i.onError,s(i.termination))}function ad(e,t,n){let r;const o=n.init(t),s=o[0],i=n.subscribe(s),a=n.termination,c=td(10);let u=!1,f=s,l=Vf,h=!1;const d=m=>{h||(nd(c,m),u||(u=!0,g(),u=!1))},_=qe(e)(d),g=()=>{let m,w=Yo(c);for(;!h&&w!=null;){const S=y(w);if(a[0](S))Of(n.onError,l),a[1](f),h=!0;else{const T=n.update(S,f),J=T[0],pe=n.subscribe(J);n.setState(J,_),Jo(Be=>{n.onError([Mt(ht("Error handling the message: %A"))(S),Be])},_,T[1]),f=J,l=(m=Zo(l,pe),qo(n.onError,_,m[0],m[1],m[2],m[3])),w=Yo(c)}}};u=!0,n.setState(s,_),Jo(m=>{n.onError([Mt(ht("Error intitializing:")),m])},_,o[1]),l=(r=Zo(l,i),qo(n.onError,_,r[0],r[1],r[2],r[3])),g(),u=!1}function ld(e,t){ad(j(n=>n),e,t)}function ud(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Rn={exports:{}},Pn={};const cd=ud(Ia);/**
23
+ `))(c);return d=>h(d)}}else if(Uc(r))if(Fa(r)){const f=Cr(c=>Re(e,t,!1,c),qc(r));return c=>h=>Array.isArray(h)?st(d=>Qc(rn(d)),ml(0,f,c,h)):new _(1,[[c,new k(0,["an array",h])]])}else switch(le(Gc(r))){case"Microsoft.FSharp.Core.FSharpOption`1[System.Object]":return o=Re(e,t,!0,de(0,Ke(r))),c=>h=>wp(K(o),c,h);case"Microsoft.FSharp.Collections.FSharpList`1[System.Object]":return i=Re(e,t,!1,de(0,Ke(r))),c=>h=>ys(K(i),c,h);case"System.Collections.Generic.IEnumerable`1[System.Object]":return s=Re(e,t,!1,de(0,Ke(r))),c=>h=>_p(K(s),c,h);case"Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]":{const c=Re(e,t,!1,de(0,Ke(r))),h=Re(e,t,!1,de(1,Ke(r)));let d;const m=v([w=>g=>kp(K(c),K(h),w,g),(a=xp(K(c),K(h)),w=>g=>ys(K(a),w,g))]);return d=w=>g=>yp(m,w,g),w=>g=>vp(Cp,K(d),w,g)}case"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]":{const c=Re(e,t,!1,de(0,Ke(r)));return h=>d=>{const m=bs(K(c),h,d);return m.tag===0?new _(0,[Sp(m.fields[0])]):new _(1,[m.fields[0]])}}default:return Cs(e,t,n,r)}else switch(l){case"System.Boolean":return f=>c=>fp(f,c);case"Microsoft.FSharp.Core.Unit":return f=>c=>cp(f,c);case"System.String":return f=>c=>hl(f,c);case"System.Char":return f=>c=>lp(f,c);case"System.SByte":return ds;case"System.Byte":return ps;case"System.Int16":return hs;case"System.UInt16":return ms;case"System.Int32":return gs;case"System.UInt32":return ws;case"System.Double":return f=>c=>dp(f,c);case"System.Single":return f=>c=>pp(f,c);case"System.DateTime":return f=>c=>hp(f,c);case"System.DateTimeOffset":return f=>c=>mp(f,c);case"System.TimeSpan":return f=>c=>gp(f,c);case"System.Guid":return f=>c=>up(f,c);case"System.Object":return f=>c=>new _(0,[c]);default:return Cs(e,t,n,r)}else{const f=u;return c=>h=>f.contents(c)(h)}}function Tp(e){return nl({Compare:zo})}function $p(e,t,n){const r=Yo(t,new ol(0,[]));return Re(Tp(),r,!1,e)}class Ap extends B{constructor(t,n){super(),this.Name=t,this.Email=n}}function ui(){return Ft("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.UserDto",[],Ap,()=>[["Name",ur],["Email",zt(ur)]])}class Ip extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Profiles","Tax"]}}function gl(){return Na("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.ImportStageDto",[],Ip,()=>[[],[]])}class Np extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Invite","RevokeInvite"]}}function Mp(){return Na("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.BenefitsRequestTypeDto",[],Np,()=>[[],[]])}class Fp extends B{constructor(t,n,r,o){super(),this.User=t,this.ProfileCount=n|0,this.RequestType=r,this.RequestedAt=o}}function Pp(){return Ft("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.BenefitsRequestInfoDto",[],Fp,()=>[["User",ui()],["ProfileCount",Ae],["RequestType",Mp()],["RequestedAt",At("System.DateTime")]])}class Dp extends B{constructor(t,n,r,o,i,s){super(),this.Stage=t,this.InputRowCount=n|0,this.StartTime=r,this.SucceededRowCount=o,this.FailedRowCount=i,this.RemainingRowCount=s}}function Op(){return Ft("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.RunningStageDto",[],Dp,()=>[["Stage",gl()],["InputRowCount",Ae],["StartTime",At("System.DateTime")],["SucceededRowCount",zt(Ae)],["FailedRowCount",zt(Ae)],["RemainingRowCount",zt(Ae)]])}class Rp extends B{constructor(t,n,r,o,i,s){super(),this.Stage=t,this.InputRowCount=n|0,this.SucceededRowCount=r|0,this.FailedRowCount=o|0,this.StartTime=i,this.StopTime=s}}function wl(){return Ft("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.CompletedStageDto",[],Rp,()=>[["Stage",gl()],["InputRowCount",Ae],["SucceededRowCount",Ae],["FailedRowCount",Ae],["StartTime",At("System.DateTime")],["StopTime",At("System.DateTime")]])}class Lp extends B{constructor(t,n,r,o,i,s,a){super(),this.ImportId=t|0,this.User=n,this.Filename=r,this.NumberOfRecords=o|0,this.CurrentStage=i,this.CompletedStages=s,this.StartTime=a}}function Hp(){return Ft("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.ActiveImportDto",[],Lp,()=>[["ImportId",Ae],["User",ui()],["Filename",ur],["NumberOfRecords",Ae],["CurrentStage",zt(Op())],["CompletedStages",lr(wl())],["StartTime",At("System.DateTime")]])}class Vp extends B{constructor(t,n,r,o,i,s,a,l){super(),this.ImportId=t|0,this.User=n,this.Filename=r,this.NumberOfRecords=o|0,this.CompletedStages=i,this.BenefitsRequests=s,this.StartTime=a,this.StopTime=l}}function jp(){return Ft("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.PastImportDto",[],Vp,()=>[["ImportId",Ae],["User",ui()],["Filename",ur],["NumberOfRecords",Ae],["CompletedStages",lr(wl())],["BenefitsRequests",lr(Pp())],["StartTime",At("System.DateTime")],["StopTime",At("System.DateTime")]])}class Up extends B{constructor(t,n){super(),this.ActiveImport=t,this.ImportHistory=n}}function Gp(){return Ft("Import.Dto.Shared.WorkspaceApi.GetAccountImportsResponse.AccountImportsDto",[],Up,()=>[["ActiveImport",zt(Hp())],["ImportHistory",lr(jp())]])}class Bp{constructor(t){this.baseUrl=`${t}/import/workspace/v1.0/accounts/current/imports`}}function _l(e){return new Bp(e)}function yl(e){return Te.Delay(()=>{let t;const n=xd(vd(new Ga(0,[]),bd(e.baseUrl)));return t=Te.Bind(n,r=>Te.Return(new _(0,[r]))),Te.Bind(t,r=>{const o=r;if(o.tag===1)return Te.Return(new _(1,[o.fields[0]]));{const i=o.fields[0];switch(i.statusCode|0){case 200:{let a;const l=ap(K($p(Gp(),new ol(1,[]))),i.responseText);return a=l.tag===1?new _(1,[l.fields[0]]):new _(0,[l.fields[0]]),Te.Return(a)}case 404:return Te.Return(new _(0,[void 0]));default:return Te.Return(new _(1,["Failed to get account imports"]))}}})})}function zp(){return se()}function ci(e){return wt("/",e)}function Wp(e,t){const n=new Error("Duplicate SubId");return e(["Duplicate SubId: "+ci(t),n])}function bl(e,t,n){try{Y(n)}catch(r){e(["Error stopping subscription: "+ci(t),r])}}function qp(e,t,n,r){try{return[n,r(t)]}catch(o){e(["Error starting subscription: "+ci(n),o]);return}}function Zp(e,t){fr(n=>{bl(e,n[0],n[1])},t)}function Ss(e,t,n,r,o,i){return fr(s=>{Wp(e,s)},n),fr(s=>{bl(e,s[0],s[1])},r),ti(o,ff(s=>qp(e,t,s[0],s[1]),i))}function Yp(){return[se(),rp({Compare:we}),se()]}function Kp(e,t,n,r,o){return ho(e,r)?[$e(e,n),r,o]:[n,np(e,r),$e([e,t],o)]}function Jp(e){return lf((t,n)=>Kp(t[0],t[1],n[0],n[1],n[2]),e,Yp())}const Xp=se();function Es(e,t){const n=op(ni(s=>s[0],e),{Compare:we}),r=Jp(t),o=r[1],i=r[0];if(n.Equals(o))return[i,se(),e,se()];{const s=cf(a=>ho(a[0],o),e);return[i,s[1],s[0],Va(a=>!ho(a[0],n),r[2])]}}class Qp{constructor(t,n,r){this.OnNext=t,this.OnError=n||(o=>{}),this.OnCompleted=r||(()=>{})}}function eh(e,t){t.Subscribe(new Qp(e))}class th{constructor(){this.delegates=[]}_add(t){this.delegates.push(t)}_remove(t){const n=this.delegates.indexOf(t);n>-1&&this.delegates.splice(n,1)}get Publish(){return rh(t=>{this._add(t)},t=>{this._remove(t)})}Trigger(t,n){let r=null;const o=n===void 0?t:(r=t,n);this.delegates.forEach(i=>{i(r,o)})}}let nh=class extends th{};function rh(e,t){return{AddHandler(n){e(n)},RemoveHandler(n){t(n)},Subscribe(n){const r=(o,i)=>n.OnNext(i);return e(r),{Dispose(){t(r)}}}}}class oh{constructor(t){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=t&&t>0?t:100,this.AutoReset=!0,this._elapsed=new nh}Elapsed(){return this._elapsed.Publish}get Enabled(){return this._enabled}set Enabled(t){!this._isDisposed&&this._enabled!==t&&(this._enabled=t,this._enabled?this.AutoReset?this._intervalId=setInterval(()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)},this.Interval):this._timeoutId=setTimeout(()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)},this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}}function ih(e,t){console.error(Ie(e),t)}function sh(e,t){let n,r=new oh(e);r.AutoReset=!1,n=r,eh(t,n.Elapsed()),n.Enabled=!0,n.Start()}function ks(e,t,n){fr(r=>{try{r(t)}catch(o){e(o)}},n)}function Se(){return se()}function vl(e,t,n,r){return U(o=>{e(Te.Delay(()=>Te.Bind(kf(t(n)),i=>{const s=i;return s.tag===0&&o(r(s.fields[0])),Te.Zero()})))})}function xl(e){sh(1,t=>{Af(e)})}function ah(e,t,n,r){const o=we(e,n)|0;if(o===0)throw new Error("The step of a range cannot be zero");const i=o>0;return s=>{const a=we(s,t)|0;return i&&a<=0||!i&&a>=0?[s,r(s,e)]:void 0}}function lh(e,t,n,r,o){const i=ah(t,n,r,o);return oe(()=>Bf(i,e))}function uh(e,t,n){return lh(e,t,n,0,(r,o)=>r+o)}class qt extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Writable","ReadWritable"]}}class ch{constructor(t){this.state=new qt(0,[Xo(new Array(Zi(t,10)),0,Zi(t,10),null),0])}}function fh(e){return new ch(e)}function Ts(e){const t=e.state;if(t.tag===1){const n=t.fields[1]|0,r=t.fields[2]|0,o=t.fields[0],i=(r+1)%o.length|0;return i===n?e.state=new qt(0,[o,n]):e.state=new qt(1,[o,n,i]),Ie(de(r,o))}else return}function dh(e,t){const n=e.state;if(n.tag===1){const r=n.fields[1]|0,o=n.fields[2]|0,i=n.fields[0];ht(i,r,t);const s=(r+1)%i.length|0;s===o?e.state=new qt(1,[ph(e,o,i),i.length,0]):e.state=new qt(1,[i,s,o])}else{const r=n.fields[1]|0,o=n.fields[0];ht(o,r,t);const i=(r+1)%o.length|0;e.state=new qt(1,[o,i,r])}}function ph(e,t,n){return Array.from(oe(()=>it(Kf(t,n),oe(()=>it(Jf(t,n),oe(()=>Xf(r=>ue(rt()),uh(0,1,n.length))))))))}class fi extends B{constructor(t,n,r,o,i,s,a){super(),this.init=t,this.update=n,this.subscribe=r,this.view=o,this.setState=i,this.onError=s,this.termination=a}}function $r(e,t,n){return new fi(e,t,r=>zp(),n,K(r=>{const o=xt(n)(r);return i=>{o(i)}}),r=>{ih(r[0],r[1])},[r=>!1,r=>{}])}function hh(e,t){return new fi(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}function mh(e){return e.init}function gh(e,t,n,r,o,i,s){const a=xt(e)(s.init),l=Gr(t)(xt(s.update)),u=Gr(n)(xt(s.view)),f=Gr(r)(xt(s.setState));return new fi(a,K(l),xt(o)(s.subscribe),K(u),K(f),s.onError,i(s.termination))}function wh(e,t,n){let r;const o=n.init(t),i=o[0],s=n.subscribe(i),a=n.termination,l=fh(10);let u=!1,f=i,c=Xp,h=!1;const d=g=>{h||(dh(l,g),u||(u=!0,w(),u=!1))},m=xt(e)(d),w=()=>{let g,y=Ts(l);for(;!h&&y!=null;){const b=x(y);if(a[0](b))Zp(n.onError,c),a[1](f),h=!0;else{const E=n.update(b,f),I=E[0],V=n.subscribe(I);n.setState(I,m),ks(J=>{n.onError([Cn(Xt("Error handling the message: %A"))(b),J])},m,E[1]),f=I,c=(g=Es(c,V),Ss(n.onError,m,g[0],g[1],g[2],g[3])),y=Ts(l)}}};u=!0,n.setState(i,m),ks(g=>{n.onError([Cn(Xt("Error intitializing:")),g])},m,o[1]),c=(r=Es(c,s),Ss(n.onError,m,r[0],r[1],r[2],r[3])),w(),u=!1}function _h(e,t){wh(K(n=>n),e,t)}function yh(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Yr={exports:{}},Kr={};const bh=yh(io);/**
24
24
  * @license React
25
25
  * use-sync-external-store-shim.production.min.js
26
26
  *
@@ -28,4 +28,10 @@ If you can't use one of these types, please pass an extra decoder.
28
28
  *
29
29
  * This source code is licensed under the MIT license found in the
30
30
  * LICENSE file in the root directory of this source tree.
31
- */var Ko;function fd(){if(Ko)return Pn;Ko=1;var e=cd;function t(l,h){return l===h&&(l!==0||1/l===1/h)||l!==l&&h!==h}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,o=e.useEffect,s=e.useLayoutEffect,i=e.useDebugValue;function a(l,h){var d=h(),_=r({inst:{value:d,getSnapshot:h}}),g=_[0].inst,m=_[1];return s(function(){g.value=d,g.getSnapshot=h,c(g)&&m({inst:g})},[l,d,h]),o(function(){return c(g)&&m({inst:g}),l(function(){c(g)&&m({inst:g})})},[l]),i(d),d}function c(l){var h=l.getSnapshot;l=l.value;try{var d=h();return!n(l,d)}catch{return!0}}function u(l,h){return h()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:a;return Pn.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,Pn}var Xo;function dd(){return Xo||(Xo=1,Rn.exports=fd()),Rn.exports}var hd=dd();class pd{constructor(t,n,r){this.arg=n,this.dependencies=r;const o=t(),s=[];this.finalDispatch=void 0;let i;const a=sd(o)(this.arg);let c=a[0],u=a[1];i=[[c,f=>{const l=this.finalDispatch;l==null?s.push(f):l(f)},!1,s],u],this.state=i[0],this.cmd=i[1],this.subscribe=f=>{let l=!1;const h=jn(this.state[0]);return ld(this.arg,od((d,_)=>{const g=this.state;this.finalDispatch=_,this.state=[d,g[1],!0,s],d!==g[0]&&f()},id((d,_)=>{const g=this.cmd;return this.cmd=Me(),[this.state[0],g]},(d,_,g)=>d(_)(this.state[0]),Bn(d=>d),Bn(d=>d),j(d=>d),d=>[_=>d[0](_)?!0:h&&l,_=>{const g=_;jn(g)?V(g):d[1](_)}],o))),()=>{l=!0}}}}function Qo(e,t,n){return new pd(e,t,n)}function _d(e){return e.state}function md(e){return e.subscribe}function gd(e,t,n){return be(e.arg,t)?!be(e.dependencies,n):!0}function Gi(e,t,n){const r=gt(()=>Qo(e,t,n)),o=r[0];gd(o,t,n)&&r[1](Qo(e,t,n));const s=hd.useSyncExternalStore(md(o),()=>_d(o)),i=s[2],a=s[3],c=s[1];return Nt(()=>{if(i&&a.length>0){let u=B(a);try{for(;u["System.Collections.IEnumerator.MoveNext"]();){const f=u["System.Collections.Generic.IEnumerator`1.get_Current"]();setTimeout(()=>{c(f)})}}finally{V(u)}ja(a)}},[i,a]),[s[0],c]}class Yn extends F{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Asc","Desc"]}}function wd(e){return e.tag===1?new Yn(0,[]):new Yn(1,[])}function yd(e,t,n){return e.tag===1?Ql(t,n,{Compare:te}):Xl(t,n,{Compare:te})}class Bi extends F{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Requested","Finished"]}}let Yt=class extends U{constructor(t){super(),this.View=t}},Kt=class extends F{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Loading","Loaded","Error"]}},zi=class extends F{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["GetAccountImports"]}};function bd(){return[new Yt(new Kt(0,[])),Se(e=>{e(new zi(new Bi(0,[void 0])))})]}function vd(e,t,n){return t.fields[0].tag===1?t.fields[0].fields[0].tag===1?[new Yt(new Kt(2,[t.fields[0].fields[0].fields[0]])),Me()]:[new Yt(new Kt(1,[t.fields[0].fields[0].fields[0]])),Me()]:[new Yt(new Kt(0,[])),Jf(r=>{Yf(r)},e,void 0,r=>new zi(new Bi(1,[r])))]}class Sd extends U{constructor(t){super(),this.UserActivities=t}}class es extends U{constructor(t,n,r){super(),this.Timestamp=t,this.User=n,this.Activity=r}}function Cd(e,t){const n=t.toLocaleLowerCase();return e.Name.toLocaleLowerCase().indexOf(n)>=0?!0:Cr(xr(r=>r.toLocaleLowerCase().indexOf(n)>=0,e.Email),!1)}function xd(e){return Mr(k(kl(xr(t=>new es(t.StartTime,t.User,`Added ${t.NumberOfRecords} users via Csv`),e.ActiveImport))),$r(t=>new es(t.StartTime,t.User,`Added ${t.NumberOfRecords} users via Csv`),e.ImportHistory))}function kd(e){return new Sd(Cr(xr(xd,e),W()))}class Ed extends U{constructor(t,n){super(),this.Data=t,this.IsFiltered=n}}class Ht extends F{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["PaginatedList"]}}class Td extends F{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["SortedList"]}}class Id extends U{constructor(t,n){super(),this.SortInfo=t,this.SortDirectionToggledHandler=n}}class Wi extends U{constructor(t,n){super(),this.Column=t,this.Direction=n}}class Md extends F{constructor(){super(),this.tag=0,this.fields=[]}cases(){return["Time"]}}class Kn extends F{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["NonEmptyPagingInfo","EmptyPagingInfo"]}}class $d extends U{constructor(t,n,r,o,s){super(),this.CurrentPage=t|0,this.FirstRowIndex=n|0,this.LastRowIndex=r|0,this.TotalRecordsNumber=o|0,this.PageSize=s|0}}function Ad(e){const t=Hr(Ld(),e);return new Ht([Yi(li(e),5),t])}function Vt(e){return e.fields[0][1]}function qi(e){return Zi(Vt(e))}function Nd(e){return Vr(Vt(e))}function Ct(e){return e.fields[0][0]}function Dd(e){const t=Ct(e);if(t.tag===0){const n=t.fields[0],r=eu(n.FirstRowIndex,Nd(e));return tu(Wd(n),r)}else return W()}function ts(e,t){const n=Hr(qi(e),t);return new Ht([Gd(Ct(e),li(Vr(n))),n])}function Rd(e){return new Ht([Ct(e),Fd(Vt(e))])}function Pd(e){return new Ht([jd(Ct(e)),Vt(e)])}function Od(e){return new Ht([Ud(Ct(e)),Vt(e)])}function Hr(e,t){return new Td([e,yd(e.Direction,n=>n.Timestamp,t)])}function Vr(e){return e.fields[0][1]}function Zi(e){return e.fields[0][0]}function Fd(e){return Hr(Hd(Zi(e)),Vr(e))}function Ld(){return new Wi(new Md,new Yn(0,[]))}function Hd(e){return new Wi(e.Column,wd(e.Direction))}function Ji(e,t){return~~(e/t)+(e%t===0?0:1)}function kn(e,t,n){if(e<=0)return new Kn(1,[]);{const r=wo(n,Ji(e,t))|0,o=(r-1)*t|0;return new Kn(0,[new $d(r,o,wo(o+t-1,e-1),e,t)])}}function Yi(e,t){return kn(e,t,1)}function Vd(e){if(e.tag===0){const t=e.fields[0];return Ji(t.TotalRecordsNumber,t.PageSize)|0}else return 0}function Ki(e){return e.tag===0?e.fields[0].CurrentPage<Vd(e):!1}function Xi(e){return e.tag===0?e.fields[0].CurrentPage>1:!1}function Ud(e){const t=Xi(e);let n;switch(t&&e.tag===0?n=0:n=1,n){case 0:{const r=e.fields[0];return kn(r.TotalRecordsNumber,r.PageSize,r.CurrentPage-1)}default:return e}}function jd(e){const t=Ki(e);let n;switch(t&&e.tag===0?n=0:n=1,n){case 0:{const r=e.fields[0];return kn(r.TotalRecordsNumber,r.PageSize,r.CurrentPage+1)}default:return e}}function Gd(e,t){return t<=0?new Kn(1,[]):e.tag===0?kn(t,5,e.fields[0].CurrentPage):Yi(t,5)}function Bd(e){return e.FirstRowIndex+1}function zd(e){return e.LastRowIndex+1}function Wd(e){return e.LastRowIndex-e.FirstRowIndex+1}class rt extends U{constructor(t,n,r){super(),this.ImportHistory=t,this.View=n,this.PaginatedList=r}}class Xn extends F{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Default","Filtered"]}}function Qi(e){const t=e.View;return t.tag===1?t.fields[0]:""}function qd(e){return!vl(Qi(e))}function Zd(e){return new Ed(e.PaginatedList,qd(e))}class ct extends F{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["ApplyFilter","ClearFilter","ToggleSortDirection","NextPage","PrevPage"]}}function Jd(e){return[new rt(e,new Xn(0,[]),Ad(e.UserActivities)),Me()]}function Yd(e,t){switch(e.tag){case 1:return[new rt(t.ImportHistory,new Xn(0,[]),ts(t.PaginatedList,t.ImportHistory.UserActivities)),Me()];case 2:return[new rt(t.ImportHistory,t.View,Rd(t.PaginatedList)),Me()];case 3:return[new rt(t.ImportHistory,t.View,Pd(t.PaginatedList)),Me()];case 4:return[new rt(t.ImportHistory,t.View,Od(t.PaginatedList)),Me()];default:{const n=e.fields[0];return Sr(n)?[t,Se(r=>{r(new ct(1,[]))})]:[new rt(t.ImportHistory,new Xn(1,[n]),ts(t.PaginatedList,ui(r=>Cd(r.User,n),t.ImportHistory.UserActivities))),Me()]}}}function Kd(e,t){let n,r;return b("svg",M(k([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(n=Se(b("path",M(k([["clipRule","evenodd"],(r="M8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4ZM2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8C14 9.29583 13.5892 10.4957 12.8907 11.4765L17.7071 16.2929C18.0976 16.6834 18.0976 17.3166 17.7071 17.7071C17.3166 18.0976 16.6834 18.0976 16.2929 17.7071L11.4765 12.8907C10.4957 13.5892 9.29583 14 8 14C4.68629 14 2 11.3137 2 8Z",["d",r]),["fill","#9CA3AF"]])))),["children",N.Children.toArray(Array.from(n))])])))}function Xd(e,t){let n,r;return b("svg",M(k([["width",e],["height",t],["viewBox","0 0 "+e+" "+t],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(n=Se(b("path",M(k([(r="M9.70757 0.292433C9.52026 0.105188 9.26626 0 9.00142 0C8.73658 0 8.48257 0.105188 8.29527 0.292433L5.00624 3.58146L1.71721 0.292433C1.52884 0.110495 1.27654 0.00982222 1.01466 0.0120979C0.752781 0.0143736 0.502271 0.119416 0.317087 0.3046C0.131902 0.489785 0.0268602 0.740295 0.0245845 1.00218C0.0223088 1.26406 0.122982 1.51635 0.30492 1.70473L3.59395 4.99376L0.30492 8.28279C0.209525 8.37492 0.133435 8.48513 0.0810888 8.60699C0.028743 8.72885 0.00119014 8.85991 3.77112e-05 8.99253C-0.00111471 9.12515 0.0241565 9.25667 0.0743768 9.37942C0.124597 9.50216 0.19876 9.61368 0.29254 9.70746C0.386319 9.80124 0.497837 9.8754 0.620585 9.92562C0.743333 9.97584 0.874854 10.0011 1.00747 9.99996C1.14009 9.99881 1.27115 9.97126 1.39301 9.91891C1.51487 9.86657 1.62508 9.79047 1.71721 9.69508L5.00624 6.40605L8.29527 9.69508C8.48365 9.87702 8.73594 9.97769 8.99782 9.97542C9.25971 9.97314 9.51022 9.8681 9.6954 9.68291C9.88058 9.49773 9.98563 9.24722 9.9879 8.98534C9.99018 8.72346 9.88951 8.47116 9.70757 8.28279L6.41854 4.99376L9.70757 1.70473C9.89481 1.51743 10 1.26343 10 0.998581C10 0.733736 9.89481 0.479735 9.70757 0.292433Z",["d",r]),["fill","#6B7280"]])))),["children",N.Children.toArray(Array.from(n))])])))}class ns extends F{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["UpdateFilter","ClearFilter"]}}function Qd(e){let t,n;const r=e.actionHandler,o=e.value;return b("div",M(k([["className","self-stretch justify-start items-start gap-4 inline-flex"],(t=[b("div",M(k([["className",Ge(" ",["relative w-96 overflow-hidden focus:outline-none focus:border-blue-600"])],(n=Sn(Z(()=>{let s;return je(ee(b("div",M(k([["className","pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"],(s=[Kd(20,20)],["children",N.Children.toArray(Array.from(s))])])))),Z(()=>{let i;return je(ee(b("input",M(k([(i="rounded-md border-0 py-[0.5625rem] px-10 ring-1 ring-inset ring-gray-300 placeholder:text-gray-500 text-gray-900 focus:ring-2 focus:ring-inset focus:ring-primary-600 bg-white text-sm w-full",["className",i]),["placeholder","Search actors..."],["autoComplete","off"],["onChange",a=>{r(new ns(0,[a.target.value]))}],["value",o]])))),Z(()=>{let a;return Sr(o)?ee(Re()):ee(b("div",M(k([["onClick",c=>{r(new ns(1,[]))}],["className","absolute inset-y-0 right-0 flex items-center pr-3 cursor-pointer"],(a=[Xd(10,10)],["children",N.Children.toArray(Array.from(a))])]))))}))}))})),["children",N.Children.toArray(Array.from(n))])])))],["children",N.Children.toArray(Array.from(t))])])))}function eh(e,t){let n,r;return b("svg",M(k([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(n=Se(b("path",M(k([(r="M4.98771 6.01229C4.72252 6.01223 4.4682 5.90684 4.28071 5.71929L0.280712 1.71929C0.0985537 1.53069 -0.00224062 1.27808 3.78026e-05 1.01589C0.00231622 0.75369 0.107485 0.502878 0.292893 0.31747C0.478301 0.132062 0.729114 0.0268924 0.99131 0.0246139C1.25351 0.0223355 1.50611 0.12313 1.69471 0.305288L4.98771 3.59829L8.28071 0.305288C8.37296 0.209778 8.4833 0.133596 8.60531 0.0811869C8.72731 0.0287779 8.85853 0.00119157 8.99131 3.77571e-05C9.12409 -0.00111606 9.25577 0.0241854 9.37867 0.0744663C9.50156 0.124747 9.61321 0.199 9.70711 0.292893C9.801 0.386786 9.87525 0.498438 9.92553 0.621334C9.97581 0.744231 10.0011 0.87591 9.99996 1.00869C9.99881 1.14147 9.97122 1.27269 9.91881 1.39469C9.8664 1.5167 9.79022 1.62704 9.69471 1.71929L5.69471 5.71929C5.50722 5.90684 5.25291 6.01223 4.98771 6.01229Z",["d",r]),["fill","#111827"]])))),["children",N.Children.toArray(Array.from(n))])])))}function th(e){let t;const n=e.sortDirectionChangeHandler,r=e.sortDirection;return b("div",M(k([["className",Ge(" ",Sn(Z(()=>je(ee("w-5 h-5 bg-gray-200 rounded overflow-hidden flex flex-col justify-center items-center"),Z(()=>r.tag===1?ee("rotate-180"):ee(""))))))],["onClick",o=>{n(void 0)}],(t=[eh(10,7)],["children",N.Children.toArray(Array.from(t))])])))}function nh(e){const t=e.toggleSortDirection,n=e.props;return b(th,{sortDirection:n.Direction,sortDirectionChangeHandler:t})}function rh(e){let t,n,r,o;const s=b(nh,{props:e.SortInfo,toggleSortDirection:e.SortDirectionToggledHandler});return b("div",M(k([["className","grid grid-cols-7"],(t=[b("div",M(k([["className","col-span-1 px-6 py-3.5 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 flex"],(n=[b("div",{className:"text-gray-900 text-sm font-semibold leading-tight",children:"Time"}),s],["children",N.Children.toArray(Array.from(n))])]))),b("div",M(k([["className","col-span-2 px-6 py-3.5 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 flex"],(r=[b("div",{className:"text-gray-900 text-sm font-semibold leading-tight",children:"Actor"})],["children",N.Children.toArray(Array.from(r))])]))),b("div",M(k([["className","col-span-4 px-6 py-3.5 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 flex"],(o=[b("div",{className:"text-gray-900 text-sm font-semibold leading-tight",children:"Activity"})],["children",N.Children.toArray(Array.from(o))])])))],["children",N.Children.toArray(Array.from(t))])])))}function oh(e){return gn(e,"d MMM, yyyy")}function sh(e){return gn(e,"h:mm tt")}function ih(e){let t,n,r,o,s,i,a;return b("div",M(k([["className","grid grid-cols-7"],(t=[b("div",M(k([["className","col-span-1 px-6 py-4 bg-white border-b border-gray-200 flex justify-start items-center gap-4"],(n=[b("div",M(k([["className"," flex flex-col justify-center items-start"],(r=[b("div",M(k([["className","self-stretch justify-start items-center gap-2 inline-flex"],(o=[b("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:oh(e.Timestamp)})],["children",N.Children.toArray(Array.from(o))])]))),b("div",{className:"self-stretch text-gray-600 text-sm font-normal leading-tight",children:sh(e.Timestamp)})],["children",N.Children.toArray(Array.from(r))])])))],["children",N.Children.toArray(Array.from(n))])]))),b("div",M(k([["className","col-span-2 px-6 py-4 bg-white border-b border-gray-200 flex justify-start items-center gap-4"],(s=[b("div",M(k([["className","justify-center items-start flex flex-col"],(i=Sn(Z(()=>{let c;return je(ee(b("div",M(k([["className","self-stretch justify-start items-center gap-2 inline-flex"],(c=[b("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:e.User.Name})],["children",N.Children.toArray(Array.from(c))])])))),Z(()=>{const u=e.User.Email;return u==null?ee(Re()):ee(b("div",{className:"self-stretch text-gray-600 text-sm font-normal leading-tight",children:u}))}))})),["children",N.Children.toArray(Array.from(i))])])))],["children",N.Children.toArray(Array.from(s))])]))),b("div",M(k([["className","col-span-4 px-6 py-4 bg-white border-b border-gray-200 justify-start items-center gap-1 flex"],(a=[b("div",{className:"self-stretch text-gray-600 text-sm font-normal leading-tight",children:e.Activity})],["children",N.Children.toArray(Array.from(a))])])))],["children",N.Children.toArray(Array.from(t))])])))}function ah(e){const t=$r(n=>b(ih,n),e.Data);return b("div",{className:"grow flex flex-col justify-start items-stretch overflow-y-auto",children:N.Children.toArray(Array.from(t))})}class rs extends F{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Prev","Next"]}}function lh(e){let t,n;const r=e.pageChangedHandler,o=e.pagingInfo;return b("div",M(k([["className","h-[60px] bg-white flex-col justify-start items-start flex"],(t=[b("div",{className:"self-stretch h-px bg-gray-200"}),b("div",M(k([["className","self-stretch px-6 py-3 justify-between items-center inline-flex"],(n=Sn(Z(()=>{let s,i,a;return je((s=o,s.tag===1?ee(b("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:"No results found"})):(i=s.fields[0],ee((a=k([b("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:ke(Bd(i))}),b("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" to "}),b("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:ke(zd(i))}),b("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" of "}),b("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:ke(i.TotalRecordsNumber)}),b("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" results"})]),b("div",{children:N.Children.toArray(Array.from(a))}))))),Z(()=>{let c,u,f;return ee(b("div",M(k([["className","justify-start items-start gap-3 flex"],(c=[b("button",M(k([["type","button"],(u="py-2 px-3 bg-white border border-gray-300 shadow-sm rounded-md text-sm font-medium text-gray-700 leading-4 disabled:cursor-not-allowed disabled:opacity-50 hover:bg-gray-50",["className",u]),["children","Previous"],["onClick",l=>{r(new rs(0,[]))}],["disabled",!Xi(o)]]))),b("button",M(k([["type","button"],(f="ml-3 py-2 px-3 bg-white border border-gray-300 shadow-sm rounded-md text-sm font-medium text-gray-700 leading-4 disabled:cursor-not-allowed disabled:opacity-50 hover:bg-gray-50",["className",f]),["children","Next"],["onClick",l=>{r(new rs(1,[]))}],["disabled",!Ki(o)]])))],["children",N.Children.toArray(Array.from(c))])]))))}))})),["children",N.Children.toArray(Array.from(n))])])))],["children",N.Children.toArray(Array.from(t))])])))}class Qn extends F{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["ToggleSortDirection","NextPage","PrevPage"]}}function uh(e,t){e(t.tag===0?new Qn(2,[]):new Qn(1,[]))}function ch(e){let t,n;const r=e.actionHandler,o=e.props;return b("div",M(k([(t="self-stretch grow bg-white rounded-lg shadow border border-gray-200 flex flex-col justify-start items-stretch",["className",t]),(n=[b(rh,new Id(qi(o.Data),()=>{r(new Qn(0,[]))})),b(ah,{Data:Dd(o.Data)}),b(lh,{pagingInfo:Ct(o.Data),pageChangedHandler:s=>{uh(r,s)}})],["children",N.Children.toArray(Array.from(n))])])))}function fh(e,t){t.tag===0?e(new ct(0,[t.fields[0]])):e(new ct(1,[]))}function dh(e,t){switch(t.tag){case 2:{e(new ct(4,[]));break}case 0:{e(new ct(2,[]));break}default:e(new ct(3,[]))}}function hh(e){let t,n;const r=Jd(e);n=Gi(()=>ji(()=>r,Yd,(i,a)=>{}),void 0,void 0);const o=n[0],s=n[1];return b("div",M(k([["className","self-stretch grow shrink basis-0 flex flex-col justify-start items-start gap-2"],(t=[b(Qd,{value:Qi(o),actionHandler:i=>{fh(s,i)}}),b(ch,{props:Zd(o),actionHandler:i=>{dh(s,i)}})],["children",N.Children.toArray(Array.from(t))])])))}function ph(e){const t=Af(e.backendUrl);let n;const r=Gi(()=>ji(bd,(s,i)=>vd(()=>Nf(t),s),(s,i)=>{}),void 0,[])[0].View;n=r.tag===2?b("div",{children:[`Error: ${r.fields[0]}. Please try again`]}):r.tag===1?b(hh,kd(r.fields[0])):b("div",{children:["Please wait..."]});const o=[b("style",{children:[Ws]}),n];return b(fe,{},...o)}function _h(){gs(e=>b(ph,e),"apollo-import-workspace-past-history")}gs(e=>b(nu,e),"apollo-import-workspace-app");_h();
31
+ */var $s;function vh(){if($s)return Kr;$s=1;var e=bh;function t(c,h){return c===h&&(c!==0||1/c===1/h)||c!==c&&h!==h}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,o=e.useEffect,i=e.useLayoutEffect,s=e.useDebugValue;function a(c,h){var d=h(),m=r({inst:{value:d,getSnapshot:h}}),w=m[0].inst,g=m[1];return i(function(){w.value=d,w.getSnapshot=h,l(w)&&g({inst:w})},[c,d,h]),o(function(){return l(w)&&g({inst:w}),c(function(){l(w)&&g({inst:w})})},[c]),s(d),d}function l(c){var h=c.getSnapshot;c=c.value;try{var d=h();return!n(c,d)}catch{return!0}}function u(c,h){return h()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:a;return Kr.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,Kr}var As;function xh(){return As||(As=1,Yr.exports=vh()),Yr.exports}var Ch=xh();class Sh{constructor(t,n,r){this.arg=n,this.dependencies=r;const o=t(),i=[];this.finalDispatch=void 0;let s;const a=mh(o)(this.arg);let l=a[0],u=a[1];s=[[l,f=>{const c=this.finalDispatch;c==null?i.push(f):c(f)},!1,i],u],this.state=s[0],this.cmd=s[1],this.subscribe=f=>{let c=!1;const h=so(this.state[0]);return _h(this.arg,hh((d,m)=>{const w=this.state;this.finalDispatch=m,this.state=[d,w[1],!0,i],d!==w[0]&&f()},gh((d,m)=>{const w=this.cmd;return this.cmd=Se(),[this.state[0],w]},(d,m,w)=>d(m)(this.state[0]),lo(d=>d),lo(d=>d),K(d=>d),d=>[m=>d[0](m)?!0:h&&c,m=>{const w=m;so(w)?Y(w):d[1](m)}],o))),()=>{c=!0}}}}function Is(e,t,n){return new Sh(e,t,n)}function Eh(e){return e.state}function kh(e){return e.subscribe}function Th(e,t,n){return je(e.arg,t)?!je(e.dependencies,n):!0}function Ar(e,t,n){const r=X(()=>Is(e,t,n)),o=r[0];Th(o,t,n)&&r[1](Is(e,t,n));const i=Ch.useSyncExternalStore(kh(o),()=>Eh(o)),s=i[2],a=i[3],l=i[1];return Q(()=>{if(s&&a.length>0){let u=te(a);try{for(;u["System.Collections.IEnumerator.MoveNext"]();){const f=u["System.Collections.Generic.IEnumerator`1.get_Current"]();setTimeout(()=>{l(f)})}}finally{Y(u)}ec(a)}},[s,a]),[i[0],l]}class mo extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Asc","Desc"]}}function $h(e){return e.tag===1?new mo(0,[]):new mo(1,[])}function Ah(e,t,n){return e.tag===1?pf(t,n,{Compare:we}):df(t,n,{Compare:we})}class Ir extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Requested","Finished"]}}let Kn=class extends B{constructor(t){super(),this.View=t}},Jn=class extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Loading","Loaded","Error"]}},Cl=class extends O{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["GetAccountImports"]}};function Ih(){return[new Kn(new Jn(0,[])),U(e=>{e(new Cl(new Ir(0,[void 0])))})]}function Nh(e,t,n){return t.fields[0].tag===1?t.fields[0].fields[0].tag===1?[new Kn(new Jn(2,[t.fields[0].fields[0].fields[0]])),Se()]:[new Kn(new Jn(1,[t.fields[0].fields[0].fields[0]])),Se()]:[new Kn(new Jn(0,[])),vl(r=>{xl(r)},e,void 0,r=>new Cl(new Ir(1,[r])))]}class Mh extends B{constructor(t){super(),this.UserActivities=t}}class Ns extends B{constructor(t,n,r){super(),this.Timestamp=t,this.User=n,this.Activity=r}}function Fh(e,t){const n=t.toLocaleLowerCase();return e.Name.toLocaleLowerCase().indexOf(n)>=0?!0:Yo(Ko(r=>r.toLocaleLowerCase().indexOf(n)>=0,e.Email),!1)}function Ph(e){return ti(v(Lc(Ko(t=>new Ns(t.StartTime,t.User,`Added ${t.NumberOfRecords} users via Csv`),e.ActiveImport))),ni(t=>new Ns(t.StartTime,t.User,`Added ${t.NumberOfRecords} users via Csv`),e.ImportHistory))}function Dh(e){return new Mh(Yo(Ko(Ph,e),se()))}class Oh extends B{constructor(t,n){super(),this.Data=t,this.IsFiltered=n}}class Mn extends O{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["PaginatedList"]}}class Rh extends O{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["SortedList"]}}class Lh extends B{constructor(t,n){super(),this.SortInfo=t,this.SortDirectionToggledHandler=n}}class Sl extends B{constructor(t,n){super(),this.Column=t,this.Direction=n}}class Hh extends O{constructor(){super(),this.tag=0,this.fields=[]}cases(){return["Time"]}}class go extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["NonEmptyPagingInfo","EmptyPagingInfo"]}}class Vh extends B{constructor(t,n,r,o,i){super(),this.CurrentPage=t|0,this.FirstRowIndex=n|0,this.LastRowIndex=r|0,this.TotalRecordsNumber=o|0,this.PageSize=i|0}}function jh(e){const t=di(Zh(),e);return new Mn([$l(Ha(e),5),t])}function Fn(e){return e.fields[0][1]}function El(e){return kl(Fn(e))}function Uh(e){return pi(Fn(e))}function an(e){return e.fields[0][0]}function Gh(e){const t=an(e);if(t.tag===0){const n=t.fields[0],r=hf(n.FirstRowIndex,Uh(e));return mf(n0(n),r)}else return se()}function Ms(e,t){const n=di(El(e),t);return new Mn([Qh(an(e),Ha(pi(n))),n])}function Bh(e){return new Mn([an(e),qh(Fn(e))])}function zh(e){return new Mn([Xh(an(e)),Fn(e)])}function Wh(e){return new Mn([Jh(an(e)),Fn(e)])}function di(e,t){return new Rh([e,Ah(e.Direction,n=>n.Timestamp,t)])}function pi(e){return e.fields[0][1]}function kl(e){return e.fields[0][0]}function qh(e){return di(Yh(kl(e)),pi(e))}function Zh(){return new Sl(new Hh,new mo(0,[]))}function Yh(e){return new Sl(e.Column,$h(e.Direction))}function Tl(e,t){return~~(e/t)+(e%t===0?0:1)}function Nr(e,t,n){if(e<=0)return new go(1,[]);{const r=Yi(n,Tl(e,t))|0,o=(r-1)*t|0;return new go(0,[new Vh(r,o,Yi(o+t-1,e-1),e,t)])}}function $l(e,t){return Nr(e,t,1)}function Kh(e){if(e.tag===0){const t=e.fields[0];return Tl(t.TotalRecordsNumber,t.PageSize)|0}else return 0}function Al(e){return e.tag===0?e.fields[0].CurrentPage<Kh(e):!1}function Il(e){return e.tag===0?e.fields[0].CurrentPage>1:!1}function Jh(e){const t=Il(e);let n;switch(t&&e.tag===0?n=0:n=1,n){case 0:{const r=e.fields[0];return Nr(r.TotalRecordsNumber,r.PageSize,r.CurrentPage-1)}default:return e}}function Xh(e){const t=Al(e);let n;switch(t&&e.tag===0?n=0:n=1,n){case 0:{const r=e.fields[0];return Nr(r.TotalRecordsNumber,r.PageSize,r.CurrentPage+1)}default:return e}}function Qh(e,t){return t<=0?new go(1,[]):e.tag===0?Nr(t,5,e.fields[0].CurrentPage):$l(t,5)}function e0(e){return e.FirstRowIndex+1}function t0(e){return e.LastRowIndex+1}function n0(e){return e.LastRowIndex-e.FirstRowIndex+1}let jt=class extends B{constructor(t,n,r){super(),this.ImportHistory=t,this.View=n,this.PaginatedList=r}},wo=class extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Default","Filtered"]}};function Nl(e){const t=e.View;return t.tag===1?t.fields[0]:""}function r0(e){return!Fc(Nl(e))}function o0(e){return new Oh(e.PaginatedList,r0(e))}let Zt=class extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["ApplyFilter","ClearFilter","ToggleSortDirection","NextPage","PrevPage"]}};function i0(e){return[new jt(e,new wo(0,[]),jh(e.UserActivities)),Se()]}function s0(e,t){switch(e.tag){case 1:return[new jt(t.ImportHistory,new wo(0,[]),Ms(t.PaginatedList,t.ImportHistory.UserActivities)),Se()];case 2:return[new jt(t.ImportHistory,t.View,Bh(t.PaginatedList)),Se()];case 3:return[new jt(t.ImportHistory,t.View,zh(t.PaginatedList)),Se()];case 4:return[new jt(t.ImportHistory,t.View,Wh(t.PaginatedList)),Se()];default:{const n=e.fields[0];return Zo(n)?[t,U(r=>{r(new Zt(1,[]))})]:[new jt(t.ImportHistory,new wo(1,[n]),Ms(t.PaginatedList,Va(r=>Fh(r.User,n),t.ImportHistory.UserActivities))),Se()]}}}function a0(e,t){let n,r;return p("svg",C(v([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(n=U(p("path",C(v([["clipRule","evenodd"],(r="M8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4ZM2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8C14 9.29583 13.5892 10.4957 12.8907 11.4765L17.7071 16.2929C18.0976 16.6834 18.0976 17.3166 17.7071 17.7071C17.3166 18.0976 16.6834 18.0976 16.2929 17.7071L11.4765 12.8907C10.4957 13.5892 9.29583 14 8 14C4.68629 14 2 11.3137 2 8Z",["d",r]),["fill","#9CA3AF"]])))),["children",S.Children.toArray(Array.from(n))])])))}function l0(e,t){let n,r;return p("svg",C(v([["width",e],["height",t],["viewBox","0 0 "+e+" "+t],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(n=U(p("path",C(v([(r="M9.70757 0.292433C9.52026 0.105188 9.26626 0 9.00142 0C8.73658 0 8.48257 0.105188 8.29527 0.292433L5.00624 3.58146L1.71721 0.292433C1.52884 0.110495 1.27654 0.00982222 1.01466 0.0120979C0.752781 0.0143736 0.502271 0.119416 0.317087 0.3046C0.131902 0.489785 0.0268602 0.740295 0.0245845 1.00218C0.0223088 1.26406 0.122982 1.51635 0.30492 1.70473L3.59395 4.99376L0.30492 8.28279C0.209525 8.37492 0.133435 8.48513 0.0810888 8.60699C0.028743 8.72885 0.00119014 8.85991 3.77112e-05 8.99253C-0.00111471 9.12515 0.0241565 9.25667 0.0743768 9.37942C0.124597 9.50216 0.19876 9.61368 0.29254 9.70746C0.386319 9.80124 0.497837 9.8754 0.620585 9.92562C0.743333 9.97584 0.874854 10.0011 1.00747 9.99996C1.14009 9.99881 1.27115 9.97126 1.39301 9.91891C1.51487 9.86657 1.62508 9.79047 1.71721 9.69508L5.00624 6.40605L8.29527 9.69508C8.48365 9.87702 8.73594 9.97769 8.99782 9.97542C9.25971 9.97314 9.51022 9.8681 9.6954 9.68291C9.88058 9.49773 9.98563 9.24722 9.9879 8.98534C9.99018 8.72346 9.88951 8.47116 9.70757 8.28279L6.41854 4.99376L9.70757 1.70473C9.89481 1.51743 10 1.26343 10 0.998581C10 0.733736 9.89481 0.479735 9.70757 0.292433Z",["d",r]),["fill","#6B7280"]])))),["children",S.Children.toArray(Array.from(n))])])))}class Fs extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["UpdateFilter","ClearFilter"]}}function u0(e){let t,n;const r=e.actionHandler,o=e.value;return p("div",C(v([["className","self-stretch justify-start items-start gap-4 inline-flex"],(t=[p("div",C(v([["className",wt(" ",["relative w-96 overflow-hidden focus:outline-none focus:border-blue-600"])],(n=Nn(oe(()=>{let i;return it(ue(p("div",C(v([["className","pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"],(i=[a0(20,20)],["children",S.Children.toArray(Array.from(i))])])))),oe(()=>{let s;return it(ue(p("input",C(v([(s="rounded-md border-0 py-[0.5625rem] px-10 ring-1 ring-inset ring-gray-300 placeholder:text-gray-500 text-gray-900 focus:ring-2 focus:ring-inset focus:ring-primary-600 bg-white text-sm w-full",["className",s]),["placeholder","Search actors..."],["autoComplete","off"],["onChange",a=>{r(new Fs(0,[a.target.value]))}],["value",o]])))),oe(()=>{let a;return Zo(o)?ue(rt()):ue(p("div",C(v([["onClick",l=>{r(new Fs(1,[]))}],["className","absolute inset-y-0 right-0 flex items-center pr-3 cursor-pointer"],(a=[l0(10,10)],["children",S.Children.toArray(Array.from(a))])]))))}))}))})),["children",S.Children.toArray(Array.from(n))])])))],["children",S.Children.toArray(Array.from(t))])])))}function c0(e,t){let n,r;return p("svg",C(v([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(n=U(p("path",C(v([(r="M4.98771 6.01229C4.72252 6.01223 4.4682 5.90684 4.28071 5.71929L0.280712 1.71929C0.0985537 1.53069 -0.00224062 1.27808 3.78026e-05 1.01589C0.00231622 0.75369 0.107485 0.502878 0.292893 0.31747C0.478301 0.132062 0.729114 0.0268924 0.99131 0.0246139C1.25351 0.0223355 1.50611 0.12313 1.69471 0.305288L4.98771 3.59829L8.28071 0.305288C8.37296 0.209778 8.4833 0.133596 8.60531 0.0811869C8.72731 0.0287779 8.85853 0.00119157 8.99131 3.77571e-05C9.12409 -0.00111606 9.25577 0.0241854 9.37867 0.0744663C9.50156 0.124747 9.61321 0.199 9.70711 0.292893C9.801 0.386786 9.87525 0.498438 9.92553 0.621334C9.97581 0.744231 10.0011 0.87591 9.99996 1.00869C9.99881 1.14147 9.97122 1.27269 9.91881 1.39469C9.8664 1.5167 9.79022 1.62704 9.69471 1.71929L5.69471 5.71929C5.50722 5.90684 5.25291 6.01223 4.98771 6.01229Z",["d",r]),["fill","#111827"]])))),["children",S.Children.toArray(Array.from(n))])])))}function f0(e){let t;const n=e.sortDirectionChangeHandler,r=e.sortDirection;return p("div",C(v([["className",wt(" ",Nn(oe(()=>it(ue("w-5 h-5 bg-gray-200 rounded overflow-hidden flex flex-col justify-center items-center"),oe(()=>r.tag===1?ue("rotate-180"):ue(""))))))],["onClick",o=>{n(void 0)}],(t=[c0(10,7)],["children",S.Children.toArray(Array.from(t))])])))}function d0(e){const t=e.toggleSortDirection,n=e.props;return p(f0,{sortDirection:n.Direction,sortDirectionChangeHandler:t})}function p0(e){let t,n,r,o;const i=p(d0,{props:e.SortInfo,toggleSortDirection:e.SortDirectionToggledHandler});return p("div",C(v([["className","grid grid-cols-7"],(t=[p("div",C(v([["className","col-span-1 px-6 py-3.5 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 flex"],(n=[p("div",{className:"text-gray-900 text-sm font-semibold leading-tight",children:"Time"}),i],["children",S.Children.toArray(Array.from(n))])]))),p("div",C(v([["className","col-span-2 px-6 py-3.5 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 flex"],(r=[p("div",{className:"text-gray-900 text-sm font-semibold leading-tight",children:"Actor"})],["children",S.Children.toArray(Array.from(r))])]))),p("div",C(v([["className","col-span-4 px-6 py-3.5 bg-gray-50 border-b border-gray-200 justify-start items-center gap-2 flex"],(o=[p("div",{className:"text-gray-900 text-sm font-semibold leading-tight",children:"Activity"})],["children",S.Children.toArray(Array.from(o))])])))],["children",S.Children.toArray(Array.from(t))])])))}function h0(e){return vr(e,"d MMM, yyyy")}function m0(e){return vr(e,"h:mm tt")}function g0(e){let t,n,r,o,i,s,a;return p("div",C(v([["className","grid grid-cols-7"],(t=[p("div",C(v([["className","col-span-1 px-6 py-4 bg-white border-b border-gray-200 flex justify-start items-center gap-4"],(n=[p("div",C(v([["className"," flex flex-col justify-center items-start"],(r=[p("div",C(v([["className","self-stretch justify-start items-center gap-2 inline-flex"],(o=[p("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:h0(e.Timestamp)})],["children",S.Children.toArray(Array.from(o))])]))),p("div",{className:"self-stretch text-gray-600 text-sm font-normal leading-tight",children:m0(e.Timestamp)})],["children",S.Children.toArray(Array.from(r))])])))],["children",S.Children.toArray(Array.from(n))])]))),p("div",C(v([["className","col-span-2 px-6 py-4 bg-white border-b border-gray-200 flex justify-start items-center gap-4"],(i=[p("div",C(v([["className","justify-center items-start flex flex-col"],(s=Nn(oe(()=>{let l;return it(ue(p("div",C(v([["className","self-stretch justify-start items-center gap-2 inline-flex"],(l=[p("div",{className:"text-gray-900 text-sm font-medium leading-tight",children:e.User.Name})],["children",S.Children.toArray(Array.from(l))])])))),oe(()=>{const u=e.User.Email;return u==null?ue(rt()):ue(p("div",{className:"self-stretch text-gray-600 text-sm font-normal leading-tight",children:u}))}))})),["children",S.Children.toArray(Array.from(s))])])))],["children",S.Children.toArray(Array.from(i))])]))),p("div",C(v([["className","col-span-4 px-6 py-4 bg-white border-b border-gray-200 justify-start items-center gap-1 flex"],(a=[p("div",{className:"self-stretch text-gray-600 text-sm font-normal leading-tight",children:e.Activity})],["children",S.Children.toArray(Array.from(a))])])))],["children",S.Children.toArray(Array.from(t))])])))}function w0(e){const t=ni(n=>p(g0,n),e.Data);return p("div",{className:"grow flex flex-col justify-start items-stretch overflow-y-auto",children:S.Children.toArray(Array.from(t))})}class Ps extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Prev","Next"]}}function _0(e){let t,n;const r=e.pageChangedHandler,o=e.pagingInfo;return p("div",C(v([["className","h-[60px] bg-white flex-col justify-start items-start flex"],(t=[p("div",{className:"self-stretch h-px bg-gray-200"}),p("div",C(v([["className","self-stretch px-6 py-3 justify-between items-center inline-flex"],(n=Nn(oe(()=>{let i,s,a;return it((i=o,i.tag===1?ue(p("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:"No results found"})):(s=i.fields[0],ue((a=v([p("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:We(e0(s))}),p("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" to "}),p("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:We(t0(s))}),p("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" of "}),p("span",{className:"text-gray-700 text-sm font-medium leading-tight",children:We(s.TotalRecordsNumber)}),p("span",{className:"text-gray-700 text-sm font-normal leading-tight",children:" results"})]),p("div",{children:S.Children.toArray(Array.from(a))}))))),oe(()=>{let l,u,f;return ue(p("div",C(v([["className","justify-start items-start gap-3 flex"],(l=[p("button",C(v([["type","button"],(u="py-2 px-3 bg-white border border-gray-300 shadow-sm rounded-md text-sm font-medium text-gray-700 leading-4 disabled:cursor-not-allowed disabled:opacity-50 hover:bg-gray-50",["className",u]),["children","Previous"],["onClick",c=>{r(new Ps(0,[]))}],["disabled",!Il(o)]]))),p("button",C(v([["type","button"],(f="ml-3 py-2 px-3 bg-white border border-gray-300 shadow-sm rounded-md text-sm font-medium text-gray-700 leading-4 disabled:cursor-not-allowed disabled:opacity-50 hover:bg-gray-50",["className",f]),["children","Next"],["onClick",c=>{r(new Ps(1,[]))}],["disabled",!Al(o)]])))],["children",S.Children.toArray(Array.from(l))])]))))}))})),["children",S.Children.toArray(Array.from(n))])])))],["children",S.Children.toArray(Array.from(t))])])))}class _o extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["ToggleSortDirection","NextPage","PrevPage"]}}function y0(e,t){e(t.tag===0?new _o(2,[]):new _o(1,[]))}function b0(e){let t,n;const r=e.actionHandler,o=e.props;return p("div",C(v([(t="self-stretch grow bg-white rounded-lg shadow border border-gray-200 flex flex-col justify-start items-stretch",["className",t]),(n=[p(p0,new Lh(El(o.Data),()=>{r(new _o(0,[]))})),p(w0,{Data:Gh(o.Data)}),p(_0,{pagingInfo:an(o.Data),pageChangedHandler:i=>{y0(r,i)}})],["children",S.Children.toArray(Array.from(n))])])))}function v0(e,t){t.tag===0?e(new Zt(0,[t.fields[0]])):e(new Zt(1,[]))}function x0(e,t){switch(t.tag){case 2:{e(new Zt(4,[]));break}case 0:{e(new Zt(2,[]));break}default:e(new Zt(3,[]))}}function C0(e){let t,n;const r=i0(e);n=Ar(()=>$r(()=>r,s0,(s,a)=>{}),void 0,void 0);const o=n[0],i=n[1];return p("div",C(v([["className","self-stretch grow shrink basis-0 flex flex-col justify-start items-start gap-2"],(t=[p(u0,{value:Nl(o),actionHandler:s=>{v0(i,s)}}),p(b0,{props:o0(o),actionHandler:s=>{x0(i,s)}})],["children",S.Children.toArray(Array.from(t))])])))}function S0(e){const t=_l(e.backendUrl);let n;const r=Ar(()=>$r(Ih,(i,s)=>Nh(()=>yl(t),i),(i,s)=>{}),void 0,[])[0].View;n=r.tag===2?p("div",{children:[`Error: ${r.fields[0]}. Please try again`]}):r.tag===1?p(C0,Dh(r.fields[0])):p("div",{children:["Please wait..."]});const o=[p("style",{children:[Wo]}),n];return p(G,{},...o)}function E0(){Mo(e=>p(S0,e),"apollo-import-workspace-past-history")}let Xn=class extends B{constructor(t){super(),this.View=t}};class Qn extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Loading","Loaded","Error"]}}class Ml extends O{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["GetAccountImports"]}}function k0(){return[new Xn(new Qn(0,[])),U(e=>{e(new Ml(new Ir(0,[void 0])))})]}function T0(e,t,n){return t.fields[0].tag===1?t.fields[0].fields[0].tag===1?[new Xn(new Qn(2,[t.fields[0].fields[0].fields[0]])),Se()]:[new Xn(new Qn(1,[t.fields[0].fields[0].fields[0]])),Se()]:[new Xn(new Qn(0,[])),vl(r=>{xl(r)},e,void 0,r=>new Ml(new Ir(1,[r])))]}var $0=Object.defineProperty,A0=(e,t,n)=>t in e?$0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jr=(e,t,n)=>(A0(e,typeof t!="symbol"?t+"":t,n),n);let I0=class{constructor(){Jr(this,"current",this.detect()),Jr(this,"handoffState","pending"),Jr(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Tt=new I0;function Mr(e){return Tt.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}function Fr(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function _t(){let e=[],t={addEventListener(n,r,o,i){return n.addEventListener(r,o,i),t.add(()=>n.removeEventListener(r,o,i))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return Fr(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,o){let i=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:o}),this.add(()=>{Object.assign(n.style,{[r]:i})})},group(n){let r=_t();return n(r),this.add(()=>r.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let o of e.splice(r,1))o()}},dispose(){for(let n of e.splice(0))n()}};return t}function hi(){let[e]=X(_t);return Q(()=>()=>e.dispose(),[e]),e}let he=(e,t)=>{Tt.isServer?Q(e,t):Mt(e,t)};function Pt(e){let t=D(e);return he(()=>{t.current=e},[e]),t}let Z=function(e){let t=Pt(e);return $.useCallback((...n)=>t.current(...n),[t])},N0=Ee(void 0);function M0(){return me(N0)}function yo(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function mt(e,t,...n){if(e in t){let o=t[e];return typeof o=="function"?o(...n):o}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(o=>`"${o}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,mt),r}var hr=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(hr||{}),dt=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(dt||{});function Fe(){let e=P0();return Le(t=>F0({mergeRefs:e,...t}),[e])}function F0({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:i=!0,name:s,mergeRefs:a}){a=a??D0;let l=Fl(t,e);if(i)return zn(l,n,r,s,a);let u=o??0;if(u&2){let{static:f=!1,...c}=l;if(f)return zn(c,n,r,s,a)}if(u&1){let{unmount:f=!0,...c}=l;return mt(f?0:1,{0(){return null},1(){return zn({...c,hidden:!0,style:{display:"none"}},n,r,s,a)}})}return zn(l,n,r,s,a)}function zn(e,t={},n,r,o){let{as:i=n,children:s,refName:a="ref",...l}=Xr(e,["unmount","static"]),u=e.ref!==void 0?{[a]:e.ref}:{},f=typeof s=="function"?s(t):s;"className"in l&&l.className&&typeof l.className=="function"&&(l.className=l.className(t)),l["aria-labelledby"]&&l["aria-labelledby"]===l.id&&(l["aria-labelledby"]=void 0);let c={};if(t){let h=!1,d=[];for(let[m,w]of Object.entries(t))typeof w=="boolean"&&(h=!0),w===!0&&d.push(m.replace(/([A-Z])/g,g=>`-${g.toLowerCase()}`));if(h){c["data-headlessui-state"]=d.join(" ");for(let m of d)c[`data-${m}`]=""}}if(i===G&&(Object.keys(bt(l)).length>0||Object.keys(bt(c)).length>0))if(!tn(f)||Array.isArray(f)&&f.length>1){if(Object.keys(bt(l)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(bt(l)).concat(Object.keys(bt(c))).map(h=>` - ${h}`).join(`
32
+ `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(h=>` - ${h}`).join(`
33
+ `)].join(`
34
+ `))}else{let h=f.props,d=h==null?void 0:h.className,m=typeof d=="function"?(...y)=>yo(d(...y),l.className):yo(d,l.className),w=m?{className:m}:{},g=Fl(f.props,bt(Xr(l,["ref"])));for(let y in c)y in g&&delete c[y];return Go(f,Object.assign({},g,c,u,{ref:o(O0(f),u.ref)},w))}return p(i,Object.assign({},Xr(l,["ref"]),i!==G&&u,i!==G&&c),f)}function P0(){let e=D([]),t=Le(n=>{for(let r of e.current)r!=null&&(typeof r=="function"?r(n):r.current=n)},[]);return(...n)=>{if(!n.every(r=>r==null))return e.current=n,t}}function D0(...e){return e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}function Fl(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let o in r)o.startsWith("on")&&typeof r[o]=="function"?(n[o]!=null||(n[o]=[]),n[o].push(r[o])):t[o]=r[o];if(t.disabled||t["aria-disabled"])for(let r in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(r)&&(n[r]=[o=>{var i;return(i=o==null?void 0:o.preventDefault)==null?void 0:i.call(o)}]);for(let r in n)Object.assign(t,{[r](o,...i){let s=n[r];for(let a of s){if((o instanceof Event||(o==null?void 0:o.nativeEvent)instanceof Event)&&o.defaultPrevented)return;a(o,...i)}}});return t}function ye(e){var t;return Object.assign(Vo(e),{displayName:(t=e.displayName)!=null?t:e.name})}function bt(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Xr(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function O0(e){return $.version.split(".")[0]>="19"?e.props.ref:e.ref}let R0="span";var mr=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(mr||{});function L0(e,t){var n;let{features:r=1,...o}=e,i={ref:t,"aria-hidden":(r&2)===2?!0:(n=o["aria-hidden"])!=null?n:void 0,hidden:(r&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return Fe()({ourProps:i,theirProps:o,slot:{},defaultTag:R0,name:"Hidden"})}let bo=ye(L0),Pl=Symbol();function H0(e,t=!0){return Object.assign(e,{[Pl]:t})}function Ze(...e){let t=D(e);Q(()=>{t.current=e},[e]);let n=Z(r=>{for(let o of t.current)o!=null&&(typeof o=="function"?o(r):o.current=r)});return e.every(r=>r==null||(r==null?void 0:r[Pl]))?void 0:n}let mi=Ee(null);mi.displayName="DescriptionContext";function Dl(){let e=me(mi);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Dl),t}return e}function V0(){let[e,t]=X([]);return[e.length>0?e.join(" "):void 0,ie(()=>function(n){let r=Z(i=>(t(s=>[...s,i]),()=>t(s=>{let a=s.slice(),l=a.indexOf(i);return l!==-1&&a.splice(l,1),a}))),o=ie(()=>({register:r,slot:n.slot,name:n.name,props:n.props,value:n.value}),[r,n.slot,n.name,n.props,n.value]);return $.createElement(mi.Provider,{value:o},n.children)},[t])]}let j0="p";function U0(e,t){let n=gt(),r=M0(),{id:o=`headlessui-description-${n}`,...i}=e,s=Dl(),a=Ze(t);he(()=>s.register(o),[o,s.register]);let l=r||!1,u=ie(()=>({...s.slot,disabled:l}),[s.slot,l]),f={ref:a,...s.props,id:o};return Fe()({ourProps:f,theirProps:i,slot:u,defaultTag:j0,name:s.name||"Description"})}let G0=ye(U0),B0=Object.assign(G0,{});var Ol=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Ol||{});let z0=Ee(()=>{});function W0({value:e,children:t}){return $.createElement(z0.Provider,{value:e},t)}let q0=class extends Map{constructor(t){super(),this.factory=t}get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t),this.set(t,n)),n}};function Rl(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(o){return r.add(o),()=>r.delete(o)},dispatch(o,...i){let s=t[o].call(n,...i);s&&(n=s,r.forEach(a=>a()))}}}function Ll(e){return _r(e.subscribe,e.getSnapshot,e.getSnapshot)}let Z0=new q0(()=>Rl(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(t===-1)return this;let n=this.slice();return n.splice(t,1),n}}));function ln(e,t){let n=Z0.get(t),r=gt(),o=Ll(n);if(he(()=>{if(e)return n.dispatch("ADD",r),()=>n.dispatch("REMOVE",r)},[n,e]),!e)return!1;let i=o.indexOf(r),s=o.length;return i===-1&&(i=s,s+=1),i===s-1}let vo=new Map,bn=new Map;function Ds(e){var t;let n=(t=bn.get(e))!=null?t:0;return bn.set(e,n+1),n!==0?()=>Os(e):(vo.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>Os(e))}function Os(e){var t;let n=(t=bn.get(e))!=null?t:1;if(n===1?bn.delete(e):bn.set(e,n-1),n!==1)return;let r=vo.get(e);r&&(r["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,vo.delete(e))}function Y0(e,{allowed:t,disallowed:n}={}){let r=ln(e,"inert-others");he(()=>{var o,i;if(!r)return;let s=_t();for(let l of(o=n==null?void 0:n())!=null?o:[])l&&s.add(Ds(l));let a=(i=t==null?void 0:t())!=null?i:[];for(let l of a){if(!l)continue;let u=Mr(l);if(!u)continue;let f=l.parentElement;for(;f&&f!==u.body;){for(let c of f.children)a.some(h=>c.contains(h))||s.add(Ds(c));f=f.parentElement}}return s.dispose},[r,t,n])}function K0(e,t,n){let r=Pt(o=>{let i=o.getBoundingClientRect();i.x===0&&i.y===0&&i.width===0&&i.height===0&&n()});Q(()=>{if(!e)return;let o=t===null?null:t instanceof HTMLElement?t:t.current;if(!o)return;let i=_t();if(typeof ResizeObserver<"u"){let s=new ResizeObserver(()=>r.current(o));s.observe(o),i.add(()=>s.disconnect())}if(typeof IntersectionObserver<"u"){let s=new IntersectionObserver(()=>r.current(o));s.observe(o),i.add(()=>s.disconnect())}return()=>i.dispose()},[t,r,e])}let gr=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),J0=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Je=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(Je||{}),xo=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(xo||{}),X0=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(X0||{});function Q0(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(gr)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function em(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(J0)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Hl=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Hl||{});function tm(e,t=0){var n;return e===((n=Mr(e))==null?void 0:n.body)?!1:mt(t,{0(){return e.matches(gr)},1(){let r=e;for(;r!==null;){if(r.matches(gr))return!0;r=r.parentElement}return!1}})}var nm=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(nm||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function tt(e){e==null||e.focus({preventScroll:!0})}let rm=["textarea","input"].join(",");function om(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,rm))!=null?n:!1}function im(e,t=n=>n){return e.slice().sort((n,r)=>{let o=t(n),i=t(r);if(o===null||i===null)return 0;let s=o.compareDocumentPosition(i);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function vn(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){let i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,s=Array.isArray(e)?n?im(e):e:t&64?em(e):Q0(e);o.length>0&&s.length>1&&(s=s.filter(d=>!o.some(m=>m!=null&&"current"in m?(m==null?void 0:m.current)===d:m===d))),r=r??i.activeElement;let a=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,s.indexOf(r))-1;if(t&4)return Math.max(0,s.indexOf(r))+1;if(t&8)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=t&32?{preventScroll:!0}:{},f=0,c=s.length,h;do{if(f>=c||f+c<=0)return 0;let d=l+f;if(t&16)d=(d+c)%c;else{if(d<0)return 3;if(d>=c)return 1}h=s[d],h==null||h.focus(u),f+=a}while(h!==i.activeElement);return t&6&&om(h)&&h.select(),2}function Vl(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function sm(){return/Android/gi.test(window.navigator.userAgent)}function am(){return Vl()||sm()}function gn(e,t,n,r){let o=Pt(n);Q(()=>{if(!e)return;function i(s){o.current(s)}return document.addEventListener(t,i,r),()=>document.removeEventListener(t,i,r)},[e,t,r])}function jl(e,t,n,r){let o=Pt(n);Q(()=>{if(!e)return;function i(s){o.current(s)}return window.addEventListener(t,i,r),()=>window.removeEventListener(t,i,r)},[e,t,r])}const Rs=30;function lm(e,t,n){let r=ln(e,"outside-click"),o=Pt(n),i=Le(function(l,u){if(l.defaultPrevented)return;let f=u(l);if(f===null||!f.getRootNode().contains(f)||!f.isConnected)return;let c=function h(d){return typeof d=="function"?h(d()):Array.isArray(d)||d instanceof Set?d:[d]}(t);for(let h of c)if(h!==null&&(h.contains(f)||l.composed&&l.composedPath().includes(h)))return;return!tm(f,Hl.Loose)&&f.tabIndex!==-1&&l.preventDefault(),o.current(l,f)},[o,t]),s=D(null);gn(r,"pointerdown",l=>{var u,f;s.current=((f=(u=l.composedPath)==null?void 0:u.call(l))==null?void 0:f[0])||l.target},!0),gn(r,"mousedown",l=>{var u,f;s.current=((f=(u=l.composedPath)==null?void 0:u.call(l))==null?void 0:f[0])||l.target},!0),gn(r,"click",l=>{am()||s.current&&(i(l,()=>s.current),s.current=null)},!0);let a=D({x:0,y:0});gn(r,"touchstart",l=>{a.current.x=l.touches[0].clientX,a.current.y=l.touches[0].clientY},!0),gn(r,"touchend",l=>{let u={x:l.changedTouches[0].clientX,y:l.changedTouches[0].clientY};if(!(Math.abs(u.x-a.current.x)>=Rs||Math.abs(u.y-a.current.y)>=Rs))return i(l,()=>l.target instanceof HTMLElement?l.target:null)},!0),jl(r,"blur",l=>i(l,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Pn(...e){return ie(()=>Mr(...e),[...e])}function Ul(e,t,n,r){let o=Pt(n);Q(()=>{e=e??window;function i(s){o.current(s)}return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)},[e,t,r])}function um(){let e;return{before({doc:t}){var n;let r=t.documentElement,o=(n=t.defaultView)!=null?n:window;e=Math.max(0,o.innerWidth-r.clientWidth)},after({doc:t,d:n}){let r=t.documentElement,o=Math.max(0,r.clientWidth-r.offsetWidth),i=Math.max(0,e-o);n.style(r,"paddingRight",`${i}px`)}}}function cm(){return Vl()?{before({doc:e,d:t,meta:n}){function r(o){return n.containers.flatMap(i=>i()).some(i=>i.contains(o))}t.microTask(()=>{var o;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let a=_t();a.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>a.dispose()))}let i=(o=window.scrollY)!=null?o:window.pageYOffset,s=null;t.addEventListener(e,"click",a=>{if(a.target instanceof HTMLElement)try{let l=a.target.closest("a");if(!l)return;let{hash:u}=new URL(l.href),f=e.querySelector(u);f&&!r(f)&&(s=f)}catch{}},!0),t.addEventListener(e,"touchstart",a=>{if(a.target instanceof HTMLElement)if(r(a.target)){let l=a.target;for(;l.parentElement&&r(l.parentElement);)l=l.parentElement;t.style(l,"overscrollBehavior","contain")}else t.style(a.target,"touchAction","none")}),t.addEventListener(e,"touchmove",a=>{if(a.target instanceof HTMLElement){if(a.target.tagName==="INPUT")return;if(r(a.target)){let l=a.target;for(;l.parentElement&&l.dataset.headlessuiPortal!==""&&!(l.scrollHeight>l.clientHeight||l.scrollWidth>l.clientWidth);)l=l.parentElement;l.dataset.headlessuiPortal===""&&a.preventDefault()}else a.preventDefault()}},{passive:!1}),t.add(()=>{var a;let l=(a=window.scrollY)!=null?a:window.pageYOffset;i!==l&&window.scrollTo(0,i),s&&s.isConnected&&(s.scrollIntoView({block:"nearest"}),s=null)})})}}:{}}function fm(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function dm(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let kt=Rl(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:_t(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:dm(n)},o=[cm(),um(),fm()];o.forEach(({before:i})=>i==null?void 0:i(r)),o.forEach(({after:i})=>i==null?void 0:i(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});kt.subscribe(()=>{let e=kt.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",o=n.count!==0;(o&&!r||!o&&r)&&kt.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&kt.dispatch("TEARDOWN",n)}});function pm(e,t,n=()=>({containers:[]})){let r=Ll(kt),o=t?r.get(t):void 0,i=o?o.count>0:!1;return he(()=>{if(!(!t||!e))return kt.dispatch("PUSH",t,n),()=>kt.dispatch("POP",t,n)},[e,t]),i}function hm(e,t,n=()=>[document.body]){let r=ln(e,"scroll-lock");pm(r,t,o=>{var i;return{containers:[...(i=o.containers)!=null?i:[],n]}})}function mm(e=0){let[t,n]=X(e),r=Le(l=>n(l),[t]),o=Le(l=>n(u=>u|l),[t]),i=Le(l=>(t&l)===l,[t]),s=Le(l=>n(u=>u&~l),[n]),a=Le(l=>n(u=>u^l),[n]);return{flags:t,setFlag:r,addFlag:o,hasFlag:i,removeFlag:s,toggleFlag:a}}var gm={},Ls,Hs;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((Ls=process==null?void 0:gm)==null?void 0:Ls.NODE_ENV)==="test"&&typeof((Hs=Element==null?void 0:Element.prototype)==null?void 0:Hs.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
35
+ `)),[]});var wm=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(wm||{});function _m(e){let t={};for(let n in e)e[n]===!0&&(t[`data-${n}`]="");return t}function ym(e,t,n,r){let[o,i]=X(n),{hasFlag:s,addFlag:a,removeFlag:l}=mm(e&&o?3:0),u=D(!1),f=D(!1),c=hi();return he(()=>{var h;if(e){if(n&&i(!0),!t){n&&a(3);return}return(h=r==null?void 0:r.start)==null||h.call(r,n),bm(t,{inFlight:u,prepare(){f.current?f.current=!1:f.current=u.current,u.current=!0,!f.current&&(n?(a(3),l(4)):(a(4),l(2)))},run(){f.current?n?(l(3),a(4)):(l(4),a(3)):n?l(1):a(1)},done(){var d;f.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(u.current=!1,l(7),n||i(!1),(d=r==null?void 0:r.end)==null||d.call(r,n))}})}},[e,n,t,c]),e?[o,{closed:s(1),enter:s(2),leave:s(4),transition:s(2)||s(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function bm(e,{prepare:t,run:n,done:r,inFlight:o}){let i=_t();return xm(e,{prepare:t,inFlight:o}),i.nextFrame(()=>{n(),i.requestAnimationFrame(()=>{i.add(vm(e,r))})}),i.dispose}function vm(e,t){var n,r;let o=_t();if(!e)return o.dispose;let i=!1;o.add(()=>{i=!0});let s=(r=(n=e.getAnimations)==null?void 0:n.call(e).filter(a=>a instanceof CSSTransition))!=null?r:[];return s.length===0?(t(),o.dispose):(Promise.allSettled(s.map(a=>a.finished)).then(()=>{i||t()}),o.dispose)}function xm(e,{inFlight:t,prepare:n}){if(t!=null&&t.current){n();return}let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}function gi(e,t){let n=D([]),r=Z(e);Q(()=>{let o=[...n.current];for(let[i,s]of t.entries())if(n.current[i]!==s){let a=r(t,o);return n.current=t,a}},[r,...t])}let Pr=Ee(null);Pr.displayName="OpenClosedContext";var He=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(He||{});function Dr(){return me(Pr)}function Cm({value:e,children:t}){return $.createElement(Pr.Provider,{value:e},t)}function Sm({children:e}){return $.createElement(Pr.Provider,{value:null},e)}function Em(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let ut=[];Em(()=>{function e(t){if(!(t.target instanceof HTMLElement)||t.target===document.body||ut[0]===t.target)return;let n=t.target;n=n.closest(gr),ut.unshift(n??t.target),ut=ut.filter(r=>r!=null&&r.isConnected),ut.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function Gl(e){let t=Z(e),n=D(!1);Q(()=>(n.current=!1,()=>{n.current=!0,Fr(()=>{n.current&&t()})}),[t])}function km(){let e=typeof document>"u";return"useSyncExternalStore"in io?(t=>t.useSyncExternalStore)(io)(()=>()=>{},()=>!1,()=>!e):!1}function Dn(){let e=km(),[t,n]=X(Tt.isHandoffComplete);return t&&Tt.isHandoffComplete===!1&&n(!1),Q(()=>{t!==!0&&n(!0)},[t]),Q(()=>Tt.handoff(),[]),e?!1:t}let Bl=Ee(!1);function Tm(){return me(Bl)}function Vs(e){return $.createElement(Bl.Provider,{value:e.force},e.children)}function $m(e){let t=Tm(),n=me(Wl),r=Pn(e),[o,i]=X(()=>{var s;if(!t&&n!==null)return(s=n.current)!=null?s:null;if(Tt.isServer)return null;let a=r==null?void 0:r.getElementById("headlessui-portal-root");if(a)return a;if(r===null)return null;let l=r.createElement("div");return l.setAttribute("id","headlessui-portal-root"),r.body.appendChild(l)});return Q(()=>{o!==null&&(r!=null&&r.body.contains(o)||r==null||r.body.appendChild(o))},[o,r]),Q(()=>{t||n!==null&&i(n.current)},[n,i,t]),o}let zl=G,Am=ye(function(e,t){let n=e,r=D(null),o=Ze(H0(c=>{r.current=c}),t),i=Pn(r),s=$m(r),[a]=X(()=>{var c;return Tt.isServer?null:(c=i==null?void 0:i.createElement("div"))!=null?c:null}),l=me(Co),u=Dn();he(()=>{!s||!a||s.contains(a)||(a.setAttribute("data-headlessui-portal",""),s.appendChild(a))},[s,a]),he(()=>{if(a&&l)return l.register(a)},[l,a]),Gl(()=>{var c;!s||!a||(a instanceof Node&&s.contains(a)&&s.removeChild(a),s.childNodes.length<=0&&((c=s.parentElement)==null||c.removeChild(s)))});let f=Fe();return u?!s||!a?null:jo(f({ourProps:{ref:o},theirProps:n,slot:{},defaultTag:zl,name:"Portal"}),a):null});function Im(e,t){let n=Ze(t),{enabled:r=!0,...o}=e,i=Fe();return r?$.createElement(Am,{...o,ref:n}):i({ourProps:{ref:n},theirProps:o,slot:{},defaultTag:zl,name:"Portal"})}let Nm=G,Wl=Ee(null);function Mm(e,t){let{target:n,...r}=e,o={ref:Ze(t)},i=Fe();return $.createElement(Wl.Provider,{value:n},i({ourProps:o,theirProps:r,defaultTag:Nm,name:"Popover.Group"}))}let Co=Ee(null);function Fm(){let e=me(Co),t=D([]),n=Z(i=>(t.current.push(i),e&&e.register(i),()=>r(i))),r=Z(i=>{let s=t.current.indexOf(i);s!==-1&&t.current.splice(s,1),e&&e.unregister(i)}),o=ie(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,ie(()=>function({children:i}){return $.createElement(Co.Provider,{value:o},i)},[o])]}let Pm=ye(Im),ql=ye(Mm),Dm=Object.assign(Pm,{Group:ql});function Om(e,t=typeof document<"u"?document.defaultView:null,n){let r=ln(e,"escape");Ul(t,"keydown",o=>{r&&(o.defaultPrevented||o.key===Ol.Escape&&n(o))})}function Rm(){var e;let[t]=X(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[n,r]=X((e=t==null?void 0:t.matches)!=null?e:!1);return he(()=>{if(!t)return;function o(i){r(i.matches)}return t.addEventListener("change",o),()=>t.removeEventListener("change",o)},[t]),n}function Lm({defaultContainers:e=[],portals:t,mainTreeNode:n}={}){let r=Pn(n),o=Z(()=>{var i,s;let a=[];for(let l of e)l!==null&&(l instanceof HTMLElement?a.push(l):"current"in l&&l.current instanceof HTMLElement&&a.push(l.current));if(t!=null&&t.current)for(let l of t.current)a.push(l);for(let l of(i=r==null?void 0:r.querySelectorAll("html > *, body > *"))!=null?i:[])l!==document.body&&l!==document.head&&l instanceof HTMLElement&&l.id!=="headlessui-portal-root"&&(n&&(l.contains(n)||l.contains((s=n==null?void 0:n.getRootNode())==null?void 0:s.host))||a.some(u=>l.contains(u))||a.push(l));return a});return{resolveContainers:o,contains:Z(i=>o().some(s=>s.contains(i)))}}let Zl=Ee(null);function js({children:e,node:t}){let[n,r]=X(null),o=Yl(t??n);return $.createElement(Zl.Provider,{value:o},e,o===null&&$.createElement(bo,{features:mr.Hidden,ref:i=>{var s,a;if(i){for(let l of(a=(s=Mr(i))==null?void 0:s.querySelectorAll("html > *, body > *"))!=null?a:[])if(l!==document.body&&l!==document.head&&l instanceof HTMLElement&&l!=null&&l.contains(i)){r(l);break}}}}))}function Yl(e=null){var t;return(t=me(Zl))!=null?t:e}function wi(){let e=D(!1);return he(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var wn=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(wn||{});function Hm(){let e=D(0);return jl(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function Kl(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}let Vm="div";var St=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(St||{});function jm(e,t){let n=D(null),r=Ze(n,t),{initialFocus:o,initialFocusFallback:i,containers:s,features:a=15,...l}=e;Dn()||(a=0);let u=Pn(n);zm(a,{ownerDocument:u});let f=Wm(a,{ownerDocument:u,container:n,initialFocus:o,initialFocusFallback:i});qm(a,{ownerDocument:u,container:n,containers:s,previousActiveElement:f});let c=Hm(),h=Z(b=>{let E=n.current;E&&(I=>I())(()=>{mt(c.current,{[wn.Forwards]:()=>{vn(E,Je.First,{skipElements:[b.relatedTarget,i]})},[wn.Backwards]:()=>{vn(E,Je.Last,{skipElements:[b.relatedTarget,i]})}})})}),d=ln(!!(a&2),"focus-trap#tab-lock"),m=hi(),w=D(!1),g={ref:r,onKeyDown(b){b.key=="Tab"&&(w.current=!0,m.requestAnimationFrame(()=>{w.current=!1}))},onBlur(b){if(!(a&4))return;let E=Kl(s);n.current instanceof HTMLElement&&E.add(n.current);let I=b.relatedTarget;I instanceof HTMLElement&&I.dataset.headlessuiFocusGuard!=="true"&&(Jl(E,I)||(w.current?vn(n.current,mt(c.current,{[wn.Forwards]:()=>Je.Next,[wn.Backwards]:()=>Je.Previous})|Je.WrapAround,{relativeTo:b.target}):b.target instanceof HTMLElement&&tt(b.target)))}},y=Fe();return $.createElement($.Fragment,null,d&&$.createElement(bo,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:h,features:mr.Focusable}),y({ourProps:g,theirProps:l,defaultTag:Vm,name:"FocusTrap"}),d&&$.createElement(bo,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:h,features:mr.Focusable}))}let Um=ye(jm),Gm=Object.assign(Um,{features:St});function Bm(e=!0){let t=D(ut.slice());return gi(([n],[r])=>{r===!0&&n===!1&&Fr(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=ut.slice())},[e,ut,t]),Z(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function zm(e,{ownerDocument:t}){let n=!!(e&8),r=Bm(n);gi(()=>{n||(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)&&tt(r())},[n]),Gl(()=>{n&&tt(r())})}function Wm(e,{ownerDocument:t,container:n,initialFocus:r,initialFocusFallback:o}){let i=D(null),s=ln(!!(e&1),"focus-trap#initial-focus"),a=wi();return gi(()=>{if(e===0)return;if(!s){o!=null&&o.current&&tt(o.current);return}let l=n.current;l&&Fr(()=>{if(!a.current)return;let u=t==null?void 0:t.activeElement;if(r!=null&&r.current){if((r==null?void 0:r.current)===u){i.current=u;return}}else if(l.contains(u)){i.current=u;return}if(r!=null&&r.current)tt(r.current);else{if(e&16){if(vn(l,Je.First|Je.AutoFocus)!==xo.Error)return}else if(vn(l,Je.First)!==xo.Error)return;if(o!=null&&o.current&&(tt(o.current),(t==null?void 0:t.activeElement)===o.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}i.current=t==null?void 0:t.activeElement})},[o,s,e]),i}function qm(e,{ownerDocument:t,container:n,containers:r,previousActiveElement:o}){let i=wi(),s=!!(e&4);Ul(t==null?void 0:t.defaultView,"focus",a=>{if(!s||!i.current)return;let l=Kl(r);n.current instanceof HTMLElement&&l.add(n.current);let u=o.current;if(!u)return;let f=a.target;f&&f instanceof HTMLElement?Jl(l,f)?(o.current=f,tt(f)):(a.preventDefault(),a.stopPropagation(),tt(u)):tt(o.current)},!0)}function Jl(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function Xl(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:eu)!==G||$.Children.count(e.children)===1}let Or=Ee(null);Or.displayName="TransitionContext";var Zm=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Zm||{});function Ym(){let e=me(Or);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function Km(){let e=me(Rr);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let Rr=Ee(null);Rr.displayName="NestingContext";function Lr(e){return"children"in e?Lr(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function Ql(e,t){let n=Pt(e),r=D([]),o=wi(),i=hi(),s=Z((d,m=dt.Hidden)=>{let w=r.current.findIndex(({el:g})=>g===d);w!==-1&&(mt(m,{[dt.Unmount](){r.current.splice(w,1)},[dt.Hidden](){r.current[w].state="hidden"}}),i.microTask(()=>{var g;!Lr(r)&&o.current&&((g=n.current)==null||g.call(n))}))}),a=Z(d=>{let m=r.current.find(({el:w})=>w===d);return m?m.state!=="visible"&&(m.state="visible"):r.current.push({el:d,state:"visible"}),()=>s(d,dt.Unmount)}),l=D([]),u=D(Promise.resolve()),f=D({enter:[],leave:[]}),c=Z((d,m,w)=>{l.current.splice(0),t&&(t.chains.current[m]=t.chains.current[m].filter(([g])=>g!==d)),t==null||t.chains.current[m].push([d,new Promise(g=>{l.current.push(g)})]),t==null||t.chains.current[m].push([d,new Promise(g=>{Promise.all(f.current[m].map(([y,b])=>b)).then(()=>g())})]),m==="enter"?u.current=u.current.then(()=>t==null?void 0:t.wait.current).then(()=>w(m)):w(m)}),h=Z((d,m,w)=>{Promise.all(f.current[m].splice(0).map(([g,y])=>y)).then(()=>{var g;(g=l.current.shift())==null||g()}).then(()=>w(m))});return ie(()=>({children:r,register:a,unregister:s,onStart:c,onStop:h,wait:u,chains:f}),[a,s,r,c,h,f,u])}let eu=G,tu=hr.RenderStrategy;function Jm(e,t){var n,r;let{transition:o=!0,beforeEnter:i,afterEnter:s,beforeLeave:a,afterLeave:l,enter:u,enterFrom:f,enterTo:c,entered:h,leave:d,leaveFrom:m,leaveTo:w,...g}=e,[y,b]=X(null),E=D(null),I=Xl(e),V=Ze(...I?[E,t,b]:t===null?[]:[t]),J=(n=g.unmount)==null||n?dt.Unmount:dt.Hidden,{show:ae,appear:Be,initial:lt}=Ym(),[z,ke]=X(ae?"visible":"hidden"),un=Km(),{register:Dt,unregister:Ot}=un;he(()=>Dt(E),[Dt,E]),he(()=>{if(J===dt.Hidden&&E.current){if(ae&&z!=="visible"){ke("visible");return}return mt(z,{hidden:()=>Ot(E),visible:()=>Dt(E)})}},[z,E,Dt,Ot,ae,J]);let cn=Dn();he(()=>{if(I&&cn&&z==="visible"&&E.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[E,z,cn,I]);let On=lt&&!Be,Rn=Be&&ae&&lt,fn=D(!1),ze=Ql(()=>{fn.current||(ke("hidden"),Ot(E))},un),Ln=Z(Vr=>{fn.current=!0;let Vn=Vr?"enter":"leave";ze.onStart(E,Vn,pn=>{pn==="enter"?i==null||i():pn==="leave"&&(a==null||a())})}),ne=Z(Vr=>{let Vn=Vr?"enter":"leave";fn.current=!1,ze.onStop(E,Vn,pn=>{pn==="enter"?s==null||s():pn==="leave"&&(l==null||l())}),Vn==="leave"&&!Lr(ze)&&(ke("hidden"),Ot(E))});Q(()=>{I&&o||(Ln(ae),ne(ae))},[ae,I,o]);let Hn=!(!o||!I||!cn||On),[,ge]=ym(Hn,y,ae,{start:Ln,end:ne}),fu=bt({ref:V,className:((r=yo(g.className,Rn&&u,Rn&&f,ge.enter&&u,ge.enter&&ge.closed&&f,ge.enter&&!ge.closed&&c,ge.leave&&d,ge.leave&&!ge.closed&&m,ge.leave&&ge.closed&&w,!ge.transition&&ae&&h))==null?void 0:r.trim())||void 0,..._m(ge)}),dn=0;z==="visible"&&(dn|=He.Open),z==="hidden"&&(dn|=He.Closed),ge.enter&&(dn|=He.Opening),ge.leave&&(dn|=He.Closing);let du=Fe();return $.createElement(Rr.Provider,{value:ze},$.createElement(Cm,{value:dn},du({ourProps:fu,theirProps:g,defaultTag:eu,features:tu,visible:z==="visible",name:"Transition.Child"})))}function Xm(e,t){let{show:n,appear:r=!1,unmount:o=!0,...i}=e,s=D(null),a=Xl(e),l=Ze(...a?[s,t]:t===null?[]:[t]);Dn();let u=Dr();if(n===void 0&&u!==null&&(n=(u&He.Open)===He.Open),n===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[f,c]=X(n?"visible":"hidden"),h=Ql(()=>{n||c("hidden")}),[d,m]=X(!0),w=D([n]);he(()=>{d!==!1&&w.current[w.current.length-1]!==n&&(w.current.push(n),m(!1))},[w,n]);let g=ie(()=>({show:n,appear:r,initial:d}),[n,r,d]);he(()=>{n?c("visible"):!Lr(h)&&s.current!==null&&c("hidden")},[n,h]);let y={unmount:o},b=Z(()=>{var V;d&&m(!1),(V=e.beforeEnter)==null||V.call(e)}),E=Z(()=>{var V;d&&m(!1),(V=e.beforeLeave)==null||V.call(e)}),I=Fe();return $.createElement(Rr.Provider,{value:h},$.createElement(Or.Provider,{value:g},I({ourProps:{...y,as:G,children:$.createElement(nu,{ref:l,...y,...i,beforeEnter:b,beforeLeave:E})},theirProps:{},defaultTag:G,features:tu,visible:f==="visible",name:"Transition"})))}function Qm(e,t){let n=me(Or)!==null,r=Dr()!==null;return $.createElement($.Fragment,null,!n&&r?$.createElement(So,{ref:t,...e}):$.createElement(nu,{ref:t,...e}))}let So=ye(Xm),nu=ye(Jm),_i=ye(Qm),eg=Object.assign(So,{Child:_i,Root:So});var tg=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(tg||{}),ng=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(ng||{});let rg={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},yi=Ee(null);yi.displayName="DialogContext";function Hr(e){let t=me(yi);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Hr),n}return t}function og(e,t){return mt(t.type,rg,e,t)}let Us=ye(function(e,t){let n=gt(),{id:r=`headlessui-dialog-${n}`,open:o,onClose:i,initialFocus:s,role:a="dialog",autoFocus:l=!0,__demoMode:u=!1,unmount:f=!1,...c}=e,h=D(!1);a=function(){return a==="dialog"||a==="alertdialog"?a:(h.current||(h.current=!0,console.warn(`Invalid role [${a}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let d=Dr();o===void 0&&d!==null&&(o=(d&He.Open)===He.Open);let m=D(null),w=Ze(m,t),g=Pn(m),y=o?0:1,[b,E]=kn(og,{titleId:null,descriptionId:null,panelRef:ko()}),I=Z(()=>i(!1)),V=Z(ne=>E({type:0,id:ne})),J=Dn()?y===0:!1,[ae,Be]=Fm(),lt={get current(){var ne;return(ne=b.panelRef.current)!=null?ne:m.current}},z=Yl(),{resolveContainers:ke}=Lm({mainTreeNode:z,portals:ae,defaultContainers:[lt]}),un=d!==null?(d&He.Closing)===He.Closing:!1;Y0(u||un?!1:J,{allowed:Z(()=>{var ne,Hn;return[(Hn=(ne=m.current)==null?void 0:ne.closest("[data-headlessui-portal]"))!=null?Hn:null]}),disallowed:Z(()=>{var ne;return[(ne=z==null?void 0:z.closest("body > *:not(#headlessui-portal-root)"))!=null?ne:null]})}),lm(J,ke,ne=>{ne.preventDefault(),I()}),Om(J,g==null?void 0:g.defaultView,ne=>{ne.preventDefault(),ne.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),I()}),hm(u||un?!1:J,g,ke),K0(J,m,I);let[Dt,Ot]=V0(),cn=ie(()=>[{dialogState:y,close:I,setTitleId:V,unmount:f},b],[y,b,I,V,f]),On=ie(()=>({open:y===0}),[y]),Rn={ref:w,id:r,role:a,tabIndex:-1,"aria-modal":u?void 0:y===0?!0:void 0,"aria-labelledby":b.titleId,"aria-describedby":Dt,unmount:f},fn=!Rm(),ze=St.None;J&&!u&&(ze|=St.RestoreFocus,ze|=St.TabLock,l&&(ze|=St.AutoFocus),fn&&(ze|=St.InitialFocus));let Ln=Fe();return $.createElement(Sm,null,$.createElement(Vs,{force:!0},$.createElement(Dm,null,$.createElement(yi.Provider,{value:cn},$.createElement(ql,{target:m},$.createElement(Vs,{force:!1},$.createElement(Ot,{slot:On},$.createElement(Be,null,$.createElement(Gm,{initialFocus:s,initialFocusFallback:m,containers:ke,features:ze},$.createElement(W0,{value:I},Ln({ourProps:Rn,theirProps:c,slot:On,defaultTag:ig,features:sg,visible:y===0,name:"Dialog"})))))))))))}),ig="div",sg=hr.RenderStrategy|hr.Static;function ag(e,t){let{transition:n=!1,open:r,...o}=e,i=Dr(),s=e.hasOwnProperty("open")||i!==null,a=e.hasOwnProperty("onClose");if(!s&&!a)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!s)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!a)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!i&&typeof e.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if(typeof e.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(r!==void 0||n)&&!o.static?$.createElement(js,null,$.createElement(eg,{show:r,transition:n,unmount:o.unmount},$.createElement(Us,{ref:t,...o}))):$.createElement(js,null,$.createElement(Us,{ref:t,open:r,...o}))}let lg="div";function ug(e,t){let n=gt(),{id:r=`headlessui-dialog-panel-${n}`,transition:o=!1,...i}=e,[{dialogState:s,unmount:a},l]=Hr("Dialog.Panel"),u=Ze(t,l.panelRef),f=ie(()=>({open:s===0}),[s]),c=Z(g=>{g.stopPropagation()}),h={ref:u,id:r,onClick:c},d=o?_i:G,m=o?{unmount:a}:{},w=Fe();return $.createElement(d,{...m},w({ourProps:h,theirProps:i,slot:f,defaultTag:lg,name:"Dialog.Panel"}))}let cg="div";function fg(e,t){let{transition:n=!1,...r}=e,[{dialogState:o,unmount:i}]=Hr("Dialog.Backdrop"),s=ie(()=>({open:o===0}),[o]),a={ref:t,"aria-hidden":!0},l=n?_i:G,u=n?{unmount:i}:{},f=Fe();return $.createElement(l,{...u},f({ourProps:a,theirProps:r,slot:s,defaultTag:cg,name:"Dialog.Backdrop"}))}let dg="h2";function pg(e,t){let n=gt(),{id:r=`headlessui-dialog-title-${n}`,...o}=e,[{dialogState:i,setTitleId:s}]=Hr("Dialog.Title"),a=Ze(t);Q(()=>(s(r),()=>s(null)),[r,s]);let l=ie(()=>({open:i===0}),[i]),u={ref:a,id:r};return Fe()({ourProps:u,theirProps:o,slot:l,defaultTag:dg,name:"Dialog.Title"})}let hg=ye(ag),mg=ye(ug),gg=ye(fg),wg=ye(pg),ru=Object.assign(hg,{Panel:mg,Title:wg,Description:B0});class Yt extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["As","Key","ClassName","Open","OnClose","Children"]}}function ou(e){return p(ru,ai(e,1))}class iu extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Key","ClassName","Children"]}}function su(e){return p(ru.Panel,ai(e,1))}class au extends O{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["As","Key","ClassName"]}}function lu(e){return p(gg,ai(e,1))}function uu(e,t){let n;return p("svg",C(v([["width",e],["height",t],["viewBox","0 0 "+e+" "+t],["fill","none"],["xmlns","http://www.w3.org/2000/svg"],(n=U(p("path",{d:"M6 18L18 6M6 6L18 18",stroke:"#9CA3AF",strokeLinejoin:"round",strokeWidth:2,strokeLinecap:"round"})),["children",S.Children.toArray(Array.from(n))])])))}function cu(e,t){let n,r,o;return p("svg",C(v([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(n=v([p("path",C(v([(r="M11.6666 13.6667H2.33328C1.23062 13.6667 0.333282 12.7693 0.333282 11.6667V9H1.66662V11.6667C1.66662 12.034 1.96595 12.3333 2.33328 12.3333H11.6666C12.0339 12.3333 12.3333 12.034 12.3333 11.6667V9H13.6666V11.6667C13.6666 12.7693 12.7693 13.6667 11.6666 13.6667Z",["d",r]),["fill","#2E66F7"]]))),p("path",C(v([(o="M10.3333 4.72395L7.66667 7.39062V0.333282H6.33333V7.39062L3.66667 4.72395L2.724 5.66662L7 9.94262L11.276 5.66662L10.3333 4.72395Z",["d",o]),["fill","#2E66F7"]])))]),["children",S.Children.toArray(Array.from(n))])])))}class _g extends B{constructor(t){super(),this.AccountImports=t}}function yg(e){return[new _g(e),Se()]}function bg(e,t){return[t,Se()]}function vg(e,t){let n,r;return p("svg",C(v([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(n=v([p("path",C(v([(r="M17 21H3C1.346 21 0 19.654 0 18V14H2V18C2 18.551 2.448 19 3 19H17C17.552 19 18 18.551 18 18V14H20V18C20 19.654 18.654 21 17 21Z",["d",r]),["fill","#9CA3AF"]]))),p("path",{d:"M16.414 7L10 0.585999L3.586 7L5 8.414L9 4.414V15H11V4.414L15 8.414L16.414 7Z",fill:"#9CA3AF"})]),["children",S.Children.toArray(Array.from(n))])])))}function xg(e,t){let n,r;return p("svg",C(v([["fill","none"],["height",t],["width",e],["viewBox","0 0 "+e+" "+t],["xmlns","http://www.w3.org/2000/svg"],(n=U(p("path",C(v([(r="M8.83429 0.234315C9.14671 -0.0781049 9.65324 -0.0781049 9.96566 0.234315L13.1657 3.43431C13.4781 3.74673 13.4781 4.25327 13.1657 4.56569L9.96566 7.76569C9.65324 8.0781 9.14671 8.0781 8.83429 7.76569C8.52187 7.45327 8.52187 6.94673 8.83429 6.63432L10.6686 4.8H1.39998C0.958148 4.8 0.599976 4.44183 0.599976 4C0.599976 3.55817 0.958148 3.2 1.39998 3.2H10.6686L8.83429 1.36569C8.52187 1.05327 8.52187 0.546734 8.83429 0.234315Z",["d",r]),["fill","white"]])))),["children",S.Children.toArray(Array.from(n))])])))}function Wn(e,t){return p("div",C(Nn(oe(()=>it(ue(t?["className","text-xs border-b-2 border-primary-600 pt-1 pb-3 text-primary-600"]:["className","text-xs pt-1 pb-3 text-gray-500"]),oe(()=>{let n;return ue((n=[p("span",{children:e})],["children",S.Children.toArray(Array.from(n))]))}))))))}function Cg(e,t){let n,r,o,i,s,a,l,u,f,c,h,d,m,w,g,y,b,E,I,V,J,ae;return ou(v([new Yt(3,[e]),new Yt(4,[t]),new Yt(5,[[lu(U(new au(2,["fixed inset-0 bg-gray-500/50"]))),p("div",C(v([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(n=[su(U(new iu(2,[[p("div",C(v([["className","flex flex-col mt-6 mb-6 px-6"],(r=[p("div",C(v([["className","flex flex-row justify-between"],(o=[p("span",{className:"text-gray-900 font-semibold text-lg",children:"What kind of data do I need?"}),p("button",C(v([["onClick",Be=>{t()}],["type","button"],(i=[uu(24,24)],["children",S.Children.toArray(Array.from(i))])])))],["children",S.Children.toArray(Array.from(o))])]))),p("div",C(v([["className","text-gray-600 text-sm pt-6"],(s=[p("span",{children:"Fields marked with "}),p("span",{className:"text-red-600",children:"*"}),p("span",C(U((a=" are required to create a user. While “Mobile number” and “Employment basis” are optional, they are recommended for improved searching and filtering.",["children",a]))))],["children",S.Children.toArray(Array.from(s))])]))),p("div",C(v([["className","grid grid-cols-2 mt-3"],(l=[p("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Column fields"}),p("span",{className:"text-gray-900 font-medium text-sm px-3 py-3.5 bg-gray-100 border",children:"Accepted values"}),p("div",C(v([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(u=[p("span",{children:"First name "}),p("span",{className:"text-red-600",children:"*"})],["children",S.Children.toArray(Array.from(u))])]))),p("div",C(U((f=[p("div",C(v([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(c=[p("span",{children:"For example:"}),p("br",{}),p("span",{className:"italic",children:"Sam, Josh, Alex"})],["children",S.Children.toArray(Array.from(c))])])))],["children",S.Children.toArray(Array.from(f))])))),p("div",C(v([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(h=[p("span",{children:"Last name "}),p("span",{className:"text-red-600",children:"*"})],["children",S.Children.toArray(Array.from(h))])]))),p("div",C(U((d=[p("div",C(v([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(m=[p("span",{children:"For example:"}),p("br",{}),p("span",{className:"italic",children:"Smith, Doe, Williams"})],["children",S.Children.toArray(Array.from(m))])])))],["children",S.Children.toArray(Array.from(d))])))),p("div",C(v([["className","text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border"],(w=[p("span",{children:"Email "}),p("span",{className:"text-red-600",children:"*"})],["children",S.Children.toArray(Array.from(w))])]))),p("div",C(U((g=[p("div",C(v([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(y=[p("span",{children:"For example:"}),p("br",{}),p("span",{className:"italic",children:"john.smith@mycompany.com"})],["children",S.Children.toArray(Array.from(y))])])))],["children",S.Children.toArray(Array.from(g))])))),p("span",{className:"text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border",children:"Mobile number"}),p("div",C(U((b=[p("div",C(v([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(E=[p("span",{children:"For example:"}),p("br",{}),p("span",{className:"italic",children:"+61432368712"})],["children",S.Children.toArray(Array.from(E))])])))],["children",S.Children.toArray(Array.from(b))])))),p("span",{className:"text-gray-600 font-medium text-sm px-3 py-3.5 bg-gray-50 border",children:"Employment basis"}),p("div",C(U((I=[p("div",C(v([["className","text-gray-600 font-normal text-sm px-3 py-3.5 border"],(V=[p("span",{children:"One of the following options:"}),p("br",{}),p("ul",C(v([["className","italic list-disc px-3"],(J=[p("li",{children:"Full-time"}),p("li",{children:"Part-time"}),p("li",{children:"Labour hire"}),p("li",{children:"Casual"})],["children",S.Children.toArray(Array.from(J))])])))],["children",S.Children.toArray(Array.from(V))])])))],["children",S.Children.toArray(Array.from(I))])))),p("div",C(v([["className","flex flex-row items-end gap-1 pt-3"],(ae=[p("span",{className:"text-xs text-primary-600 font-medium",children:"Download template"}),cu(13,13)],["children",S.Children.toArray(Array.from(ae))])])))],["children",S.Children.toArray(Array.from(l))])])))],["children",S.Children.toArray(Array.from(r))])])))]])))],["children",S.Children.toArray(Array.from(n))])])))]])]))}function Sg(e,t){let n,r,o,i,s,a,l;return ou(v([new Yt(3,[e]),new Yt(4,[t]),new Yt(5,[[lu(U(new au(2,["fixed inset-0 bg-gray-500/50"]))),p("div",C(v([["className","fixed top-0 bottom-0 right-0 w-[480px] bg-white overflow-y-auto"],(n=[su(U(new iu(2,[[p("div",C(v([["className","flex flex-col mt-6 mb-6 px-6"],(r=[p("div",C(v([["className","flex flex-row justify-between"],(o=[p("span",{className:"text-gray-900 font-semibold text-lg",children:"Frequently asked questions"}),p("button",C(v([["onClick",u=>{t()}],["type","button"],(i=[uu(24,24)],["children",S.Children.toArray(Array.from(i))])])))],["children",S.Children.toArray(Array.from(o))])]))),p("div",{className:"font-semibold text-sm pt-6",children:"What file format is accepted for bulk import?"}),p("div",{className:"text-sm text-gray-500 pt-2",children:"The only accepted file format for bulk import is CSV."}),p("div",{className:"font-semibold text-sm pt-6",children:"What is the maximum upload file size?"}),p("div",{className:"text-sm text-gray-500 pt-2",children:"The maximum upload file size is 10 MB."}),p("div",{className:"font-semibold text-sm pt-6",children:"What is the maximum number of rows supported for bulk import?"}),p("div",{className:"text-sm text-gray-500 pt-2",children:"The maximum number of rows you can upload is 5,000."}),p("div",{className:"font-semibold text-sm pt-6",children:"What information do I need to include in the CSV file?"}),p("div",C(v([["className","text-sm text-gray-500 pt-2"],(s="You must include the required fields: “First name,” “Last name,” and “Email” to create a profile. “Mobile number” and “Employment basis” are optional but recommended, as they can help with searching and filtering.",["children",s])]))),p("div",{className:"font-semibold text-sm pt-6",children:"How do I format the CSV file?"}),p("div",C(v([["className","text-sm text-gray-500 pt-2"],(a=`We recommend downloading and editing our sample CSV template, which includes all the necessary column headers and example values.
36
+ If you’re using your own CSV, ensure that your data is organised correctly and that there are no extra spaces or special characters.`,["children",a])]))),p("div",{className:"font-semibold text-sm pt-6",children:"What should I do if my CSV file contains errors?"}),p("div",C(v([["className","text-sm text-gray-500 pt-2"],(l=`We recommend checking for common issues, such as missing data or incorrect formatting before upload.
37
+ If errors are detected during import, you can download a CSV file that lists all the rows with issues.`,["children",l])])))],["children",S.Children.toArray(Array.from(r))])])))]])))],["children",S.Children.toArray(Array.from(n))])])))]])]))}function Eg(e){let t,n,r,o,i,s,a,l,u,f,c,h;const d=e.accountImports,m=yg(d);Ar(()=>$r(()=>m,bg,(E,I)=>{}),void 0,void 0);const w=S.useState(!1),g=w[1],y=S.useState(!1),b=y[1];return p("div",C(U((t=[Cg(w[0],()=>{g(!1)}),Sg(y[0],()=>{b(!1)}),p("div",C(v([["className","flex flex-col"],(n=[p("div",C(v([["className","flex flex-row justify-between px-12 pt-8 pb-4"],(r=[p("span",{className:"font-sonoma text-gray-900 font-bold text-lg",children:"Import Users from CSV"}),p("button",{className:"rounded-md text-red-700 text-xs w-[120px] border font-medium px-3 py-2",onClick:E=>{},type:"button",children:S.Children.toArray(["Cancel import"])})],["children",S.Children.toArray(Array.from(r))])]))),p("div",C(v([["className","flex flex-row items-center px-12 gap-2"],(o=[Wn("1. Upload CSV",!0),p("hr",{className:"w-16 pt-1.5"}),Wn("2. Map fields",!1),p("hr",{className:"w-16 pt-1.5"}),Wn("3. Map values",!1),p("hr",{className:"w-16 pt-1.5"}),Wn("4. Review",!1)],["children",S.Children.toArray(Array.from(o))])]))),p("div",C(v([["className","flex flex-col bg-gray-50 px-12 pt-8 pb-12"],(i=[p("span",{className:"font-sonoma text-gray-900 font-semibold text-lg",children:"Upload CSV"}),p("span",{className:"text-xs pt-2",children:"Download and use our template, or upload your own CSV to get started."}),p("div",C(v([["className","flex flex-row items-end gap-1"],(s=[p("span",{className:"text-xs text-primary-600 pt-2",children:"Download sample CSV template"}),cu(13,13)],["children",S.Children.toArray(Array.from(s))])]))),p("div",C(v([["className","flex flex-row pt-3 gap-2"],(a=[p("button",{className:"rounded-2xl text-xs text-gray-600 border px-3.5 py-1.5",onClick:E=>{g(!0)},type:"button",children:S.Children.toArray(["What kind of data do I need?"])}),p("button",{className:"rounded-2xl text-xs text-gray-600 border px-3.5 py-1.5",onClick:E=>{b(!0)},type:"button",children:S.Children.toArray(["Frequently asked questions"])})],["children",S.Children.toArray(Array.from(a))])]))),p("div",C(v([["className","max-w-[640px] h-75 border-dashed border-2 rounded-md my-6"],(l=[p("div",C(v([["className","flex flex-col items-center px-2 py-6"],(u=[vg(20,21),p("span",{className:"text-xs mt-3",children:"Drag and drop CSV file here"}),p("button",{className:"rounded text-xs w-[120px] border px-3 py-2 mt-4 font-medium text-gray-700",onClick:E=>{},type:"button",children:S.Children.toArray(["Choose file"])}),p("span",{className:"text-xs mt-2 font-normal",children:"Maximum size: 10 MB"})],["children",S.Children.toArray(Array.from(u))])])))],["children",S.Children.toArray(Array.from(l))])]))),p("div",C(v([["className","w-[600px] flex flex-row justify-end gap-3"],(f=[p("button",{className:"rounded-md text-red-700 text-xs w-[120px] border font-medium px-3 py-2",onClick:E=>{},type:"button",children:S.Children.toArray(["Cancel import"])}),p("button",C(v([(c="inline-flex justify-center items-center gap-x-1 rounded-md text-white bg-primary-600 text-xs w-[120px] border font-medium px-3 py-2",["className",c]),["onClick",E=>{}],["type","button"],(h=["Map fields",xg(13,8)],["children",S.Children.toArray(Array.from(h))])])))],["children",S.Children.toArray(Array.from(f))])])))],["children",S.Children.toArray(Array.from(i))])])))],["children",S.Children.toArray(Array.from(n))])])))],["children",S.Children.toArray(Array.from(t))]))))}function kg(e){const t=_l(e.backendUrl);let n;const r=Ar(()=>$r(k0,(i,s)=>T0(()=>yl(t),i),(i,s)=>{}),void 0,[])[0].View;n=r.tag===2?p("div",{children:[`Error: ${r.fields[0]}`]}):r.tag===1?p(Eg,{accountImports:Rc(r.fields[0])}):p("div",{children:["Please wait..."]});const o=[p("style",{children:[Wo]}),n];return p(G,{},...o)}function Tg(){Mo(e=>p(kg,e),"apollo-import-workspace-wizard")}Mo(e=>p(gf,e),"apollo-import-workspace-app");E0();Tg();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/apollo-import-workspace-app",
3
- "version": "0.1.380",
3
+ "version": "0.1.383",
4
4
  "description": "Apollo Import Workspace App",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -30,6 +30,7 @@
30
30
  "vite": "^6.0.1"
31
31
  },
32
32
  "dependencies": {
33
+ "@headlessui/react": "^2.2.0",
33
34
  "preact": "^10.25.0",
34
35
  "preact-custom-element": "^4.3.0",
35
36
  "use-sync-external-store": "^1.2.2"