@flarehr/apollo-super-selection-app 1.3.5902 → 1.3.6053
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,6 +1,26 @@
|
|
|
1
|
-
var it,x,ar,Ne,bn,ur,Bt,Vt,$t,Mt,lr,rt={},cr=[],Ao=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,bt=Array.isArray;function he(t,e){for(var n in e)t[n]=e[n];return t}function dr(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function _(t,e,n){var r,o,i,s={};for(i in e)i=="key"?r=e[i]:i=="ref"?o=e[i]:s[i]=e[i];if(arguments.length>2&&(s.children=arguments.length>3?it.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)s[i]===void 0&&(s[i]=t.defaultProps[i]);return tt(t,s,r,o,null)}function tt(t,e,n,r,o){var i={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++ar,__i:-1,__u:0};return o==null&&x.vnode!=null&&x.vnode(i),i}function fr(){return{current:null}}function le(t){return t.children}function se(t,e){this.props=t,this.context=e}function De(t,e){if(e==null)return t.__?De(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?De(t):null}function hr(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return hr(t)}}function It(t){(!t.__d&&(t.__d=!0)&&Ne.push(t)&&!_t.__r++||bn!==x.debounceRendering)&&((bn=x.debounceRendering)||ur)(_t)}function _t(){var t,e,n,r,o,i,s,a;for(Ne.sort(Bt);t=Ne.shift();)t.__d&&(e=Ne.length,r=void 0,i=(o=(n=t).__v).__e,s=[],a=[],n.__P&&((r=he({},o)).__v=o.__v+1,x.vnode&&x.vnode(r),jt(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,s,i??De(o),!!(32&o.__u),a),r.__v=o.__v,r.__.__k[r.__i]=r,mr(s,r,a),r.__e!=i&&hr(r)),Ne.length>e&&Ne.sort(Bt));_t.__r=0}function _r(t,e,n,r,o,i,s,a,c,l,d){var u,f,h,m,g,b=r&&r.__k||cr,A=e.length;for(n.__d=c,So(n,e,b),c=n.__d,u=0;u<A;u++)(h=n.__k[u])!=null&&(f=h.__i===-1?rt:b[h.__i]||rt,h.__i=u,jt(t,h,f,o,i,s,a,c,l,d),m=h.__e,h.ref&&f.ref!=h.ref&&(f.ref&&Dt(f.ref,null,h),d.push(h.ref,h.__c||m,h)),g==null&&m!=null&&(g=m),65536&h.__u||f.__k===h.__k?c=pr(h,c,t):typeof h.type=="function"&&h.__d!==void 0?c=h.__d:m&&(c=m.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=c,n.__e=g}function So(t,e,n){var r,o,i,s,a,c=e.length,l=n.length,d=l,u=0;for(t.__k=[],r=0;r<c;r++)(o=e[r])!=null&&typeof o!="boolean"&&typeof o!="function"?(s=r+u,(o=t.__k[r]=typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?tt(null,o,null,null,null):bt(o)?tt(le,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?tt(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=t,o.__b=t.__b+1,i=null,(a=o.__i=Co(o,n,s,d))!==-1&&(d--,(i=n[a])&&(i.__u|=131072)),i==null||i.__v===null?(a==-1&&u--,typeof o.type!="function"&&(o.__u|=65536)):a!==s&&(a==s-1?u--:a==s+1?u++:(a>s?u--:u++,o.__u|=65536))):o=t.__k[r]=null;if(d)for(r=0;r<l;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==t.__d&&(t.__d=De(i)),wr(i,i))}function pr(t,e,n){var r,o;if(typeof t.type=="function"){for(r=t.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=t,e=pr(r[o],e,n));return e}t.__e!=e&&(e&&t.type&&!n.contains(e)&&(e=De(t)),n.insertBefore(t.__e,e||null),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType===8);return e}function _e(t,e){return e=e||[],t==null||typeof t=="boolean"||(bt(t)?t.some(function(n){_e(n,e)}):e.push(t)),e}function Co(t,e,n,r){var o=t.key,i=t.type,s=n-1,a=n+1,c=e[n];if(c===null||c&&o==c.key&&i===c.type&&!(131072&c.__u))return n;if(r>(c!=null&&!(131072&c.__u)?1:0))for(;s>=0||a<e.length;){if(s>=0){if((c=e[s])&&!(131072&c.__u)&&o==c.key&&i===c.type)return s;s--}if(a<e.length){if((c=e[a])&&!(131072&c.__u)&&o==c.key&&i===c.type)return a;a++}}return-1}function gn(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||Ao.test(e)?n:n+"px"}function ft(t,e,n,r,o){var i;e:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||gn(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||gn(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")i=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in t||e==="onFocusOut"||e==="onFocusIn"?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r?n.u=r.u:(n.u=Vt,t.addEventListener(e,i?Mt:$t,i)):t.removeEventListener(e,i?Mt:$t,i);else{if(o=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in t)try{t[e]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&n==1?"":n))}}function yn(t){return function(e){if(this.l){var n=this.l[e.type+t];if(e.t==null)e.t=Vt++;else if(e.t<n.u)return;return n(x.event?x.event(e):e)}}}function jt(t,e,n,r,o,i,s,a,c,l){var d,u,f,h,m,g,b,A,S,xe,J,Te,Ee,wn,ct,At,ue=e.type;if(e.constructor!==void 0)return null;128&n.__u&&(c=!!(32&n.__u),i=[a=e.__e=n.__e]),(d=x.__b)&&d(e);e:if(typeof ue=="function")try{if(A=e.props,S="prototype"in ue&&ue.prototype.render,xe=(d=ue.contextType)&&r[d.__c],J=d?xe?xe.props.value:d.__:r,n.__c?b=(u=e.__c=n.__c).__=u.__E:(S?e.__c=u=new ue(A,J):(e.__c=u=new se(A,J),u.constructor=ue,u.render=No),xe&&xe.sub(u),u.props=A,u.state||(u.state={}),u.context=J,u.__n=r,f=u.__d=!0,u.__h=[],u._sb=[]),S&&u.__s==null&&(u.__s=u.state),S&&ue.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=he({},u.__s)),he(u.__s,ue.getDerivedStateFromProps(A,u.__s))),h=u.props,m=u.state,u.__v=e,f)S&&ue.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),S&&u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(S&&ue.getDerivedStateFromProps==null&&A!==h&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(A,J),!u.__e&&(u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(A,u.__s,J)===!1||e.__v===n.__v)){for(e.__v!==n.__v&&(u.props=A,u.state=u.__s,u.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.some(function(dt){dt&&(dt.__=e)}),Te=0;Te<u._sb.length;Te++)u.__h.push(u._sb[Te]);u._sb=[],u.__h.length&&s.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(A,u.__s,J),S&&u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(h,m,g)})}if(u.context=J,u.props=A,u.__P=t,u.__e=!1,Ee=x.__r,wn=0,S){for(u.state=u.__s,u.__d=!1,Ee&&Ee(e),d=u.render(u.props,u.state,u.context),ct=0;ct<u._sb.length;ct++)u.__h.push(u._sb[ct]);u._sb=[]}else do u.__d=!1,Ee&&Ee(e),d=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++wn<25);u.state=u.__s,u.getChildContext!=null&&(r=he(he({},r),u.getChildContext())),S&&!f&&u.getSnapshotBeforeUpdate!=null&&(g=u.getSnapshotBeforeUpdate(h,m)),_r(t,bt(At=d!=null&&d.type===le&&d.key==null?d.props.children:d)?At:[At],e,n,r,o,i,s,a,c,l),u.base=e.__e,e.__u&=-161,u.__h.length&&s.push(u),b&&(u.__E=u.__=null)}catch(dt){if(e.__v=null,c||i!=null){for(e.__u|=c?160:32;a&&a.nodeType===8&&a.nextSibling;)a=a.nextSibling;i[i.indexOf(a)]=null,e.__e=a}else e.__e=n.__e,e.__k=n.__k;x.__e(dt,e,n)}else i==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=Eo(n.__e,e,n,r,o,i,s,c,l);(d=x.diffed)&&d(e)}function mr(t,e,n){e.__d=void 0;for(var r=0;r<n.length;r++)Dt(n[r],n[++r],n[++r]);x.__c&&x.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(i){i.call(o)})}catch(i){x.__e(i,o.__v)}})}function Eo(t,e,n,r,o,i,s,a,c){var l,d,u,f,h,m,g,b=n.props,A=e.props,S=e.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"),i!=null){for(l=0;l<i.length;l++)if((h=i[l])&&"setAttribute"in h==!!S&&(S?h.localName===S:h.nodeType===3)){t=h,i[l]=null;break}}if(t==null){if(S===null)return document.createTextNode(A);t=document.createElementNS(o,S,A.is&&A),a&&(x.__m&&x.__m(e,i),a=!1),i=null}if(S===null)b===A||a&&t.data===A||(t.data=A);else{if(i=i&&it.call(t.childNodes),b=n.props||rt,!a&&i!=null)for(b={},l=0;l<t.attributes.length;l++)b[(h=t.attributes[l]).name]=h.value;for(l in b)if(h=b[l],l!="children"){if(l=="dangerouslySetInnerHTML")u=h;else if(!(l in A)){if(l=="value"&&"defaultValue"in A||l=="checked"&&"defaultChecked"in A)continue;ft(t,l,null,h,o)}}for(l in A)h=A[l],l=="children"?f=h:l=="dangerouslySetInnerHTML"?d=h:l=="value"?m=h:l=="checked"?g=h:a&&typeof h!="function"||b[l]===h||ft(t,l,h,b[l],o);if(d)a||u&&(d.__html===u.__html||d.__html===t.innerHTML)||(t.innerHTML=d.__html),e.__k=[];else if(u&&(t.innerHTML=""),_r(t,bt(f)?f:[f],e,n,r,S==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,s,i?i[0]:n.__k&&De(n,0),a,c),i!=null)for(l=i.length;l--;)dr(i[l]);a||(l="value",S==="progress"&&m==null?t.removeAttribute("value"):m!==void 0&&(m!==t[l]||S==="progress"&&!m||S==="option"&&m!==b[l])&&ft(t,l,m,b[l],o),l="checked",g!==void 0&&g!==t[l]&&ft(t,l,g,b[l],o))}return t}function Dt(t,e,n){try{if(typeof t=="function"){var r=typeof t.__u=="function";r&&t.__u(),r&&e==null||(t.__u=t(e))}else t.current=e}catch(o){x.__e(o,n)}}function wr(t,e,n){var r,o;if(x.unmount&&x.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||Dt(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){x.__e(i,e)}r.base=r.__P=null}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&wr(r[o],e,n||typeof t.type!="function");n||dr(t.__e),t.__c=t.__=t.__e=t.__d=void 0}function No(t,e,n){return this.constructor(t,n)}function Se(t,e,n){var r,o,i,s;x.__&&x.__(t,e),o=(r=typeof n=="function")?null:n&&n.__k||e.__k,i=[],s=[],jt(e,t=(!r&&n||e).__k=_(le,null,[t]),o||rt,rt,e.namespaceURI,!r&&n?[n]:o?null:e.firstChild?it.call(e.childNodes):null,i,!r&&n?n:o?o.__e:e.firstChild,r,s),mr(i,t,s)}function Ut(t,e){Se(t,e,Ut)}function Ht(t,e,n){var r,o,i,s,a=he({},t.props);for(i in t.type&&t.type.defaultProps&&(s=t.type.defaultProps),e)i=="key"?r=e[i]:i=="ref"?o=e[i]:a[i]=e[i]===void 0&&s!==void 0?s[i]:e[i];return arguments.length>2&&(a.children=arguments.length>3?it.call(arguments,2):n),tt(t.type,a,r||t.key,o||t.ref,null)}function br(t,e){var n={__c:e="__cC"+lr++,__:t,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[e]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&o.some(function(a){a.__e=!0,It(a)})},this.sub=function(s){o.push(s);var a=s.componentWillUnmount;s.componentWillUnmount=function(){o&&o.splice(o.indexOf(s),1),a&&a.call(s)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}it=cr.slice,x={__e:function(t,e,n,r){for(var o,i,s;e=e.__;)if((o=e.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(t)),s=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,r||{}),s=o.__d),s)return o.__E=o}catch(a){t=a}throw t}},ar=0,se.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=he({},this.state),typeof t=="function"&&(t=t(he({},n),this.props)),t&&he(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),It(this))},se.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),It(this))},se.prototype.render=le,Ne=[],ur=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Bt=function(t,e){return t.__v.__b-e.__v.__b},_t.__r=0,Vt=0,$t=yn(!1),Mt=yn(!0),lr=0;var pe,$,St,vn,Ue=0,gr=[],z=x,xn=z.__b,kn=z.__r,An=z.diffed,Sn=z.__c,Cn=z.unmount,En=z.__;function $e(t,e){z.__h&&z.__h($,t,Ue||e),Ue=0;var n=$.__H||($.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function Ke(t){return Ue=1,gt(yr,t)}function gt(t,e,n){var r=$e(pe++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):yr(void 0,e),function(a){var c=r.__N?r.__N[0]:r.__[0],l=r.t(c,a);c!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=$,!$.u)){var o=function(a,c,l){if(!r.__c.__H)return!0;var d=r.__c.__H.__.filter(function(f){return!!f.__c});if(d.every(function(f){return!f.__N}))return!i||i.call(this,a,c,l);var u=!1;return d.forEach(function(f){if(f.__N){var h=f.__[0];f.__=f.__N,f.__N=void 0,h!==f.__[0]&&(u=!0)}}),!(!u&&r.__c.props===a)&&(!i||i.call(this,a,c,l))};$.u=!0;var i=$.shouldComponentUpdate,s=$.componentWillUpdate;$.componentWillUpdate=function(a,c,l){if(this.__e){var d=i;i=void 0,o(a,c,l),i=d}s&&s.call(this,a,c,l)},$.shouldComponentUpdate=o}return r.__N||r.__}function st(t,e){var n=$e(pe++,3);!z.__s&&Yt(n.__H,e)&&(n.__=t,n.i=e,$.__H.__h.push(n))}function Je(t,e){var n=$e(pe++,4);!z.__s&&Yt(n.__H,e)&&(n.__=t,n.i=e,$.__h.push(n))}function Wt(t){return Ue=5,at(function(){return{current:t}},[])}function qt(t,e,n){Ue=6,Je(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},n==null?n:n.concat(t))}function at(t,e){var n=$e(pe++,7);return Yt(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function Gt(t,e){return Ue=8,at(function(){return t},e)}function Zt(t){var e=$.context[t.__c],n=$e(pe++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub($)),e.props.value):t.__}function Kt(t,e){z.useDebugValue&&z.useDebugValue(e?e(t):t)}function Fo(t){var e=$e(pe++,10),n=Ke();return e.__=t,$.componentDidCatch||($.componentDidCatch=function(r,o){e.__&&e.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Jt(){var t=$e(pe++,11);if(!t.__){for(var e=$.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function Bo(){for(var t;t=gr.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(ht),t.__H.__h.forEach(Ot),t.__H.__h=[]}catch(e){t.__H.__h=[],z.__e(e,t.__v)}}z.__b=function(t){$=null,xn&&xn(t)},z.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),En&&En(t,e)},z.__r=function(t){kn&&kn(t),pe=0;var e=($=t.__c).__H;e&&(St===$?(e.__h=[],$.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(e.__h.forEach(ht),e.__h.forEach(Ot),e.__h=[],pe=0)),St=$},z.diffed=function(t){An&&An(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(gr.push(e)!==1&&vn===z.requestAnimationFrame||((vn=z.requestAnimationFrame)||$o)(Bo)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),St=$=null},z.__c=function(t,e){e.some(function(n){try{n.__h.forEach(ht),n.__h=n.__h.filter(function(r){return!r.__||Ot(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],z.__e(r,n.__v)}}),Sn&&Sn(t,e)},z.unmount=function(t){Cn&&Cn(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{ht(r)}catch(o){e=o}}),n.__H=void 0,e&&z.__e(e,n.__v))};var Nn=typeof requestAnimationFrame=="function";function $o(t){var e,n=function(){clearTimeout(r),Nn&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);Nn&&(e=requestAnimationFrame(n))}function ht(t){var e=$,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),$=e}function Ot(t){var e=$;t.__c=t.__(),$=e}function Yt(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function yr(t,e){return typeof e=="function"?e(t):e}function vr(t,e){for(var n in e)t[n]=e[n];return t}function Tt(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var r in e)if(r!=="__source"&&t[r]!==e[r])return!0;return!1}function pt(t,e){this.props=t,this.context=e}function xr(t,e){function n(o){var i=this.props.ref,s=i==o.ref;return!s&&i&&(i.call?i(null):i.current=null),e?!e(this.props,o)||!s:Tt(this.props,o)}function r(o){return this.shouldComponentUpdate=n,_(t,o)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(pt.prototype=new se).isPureReactComponent=!0,pt.prototype.shouldComponentUpdate=function(t,e){return Tt(this.props,t)||Tt(this.state,e)};var Fn=x.__b;x.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Fn&&Fn(t)};var Mo=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function kr(t){function e(n){var r=vr({},n);return delete r.ref,t(r,n.ref||null)}return e.$$typeof=Mo,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var Bn=function(t,e){return t==null?null:_e(_e(t).map(e))},Ar={map:Bn,forEach:Bn,count:function(t){return t?_e(t).length:0},only:function(t){var e=_e(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:_e},Io=x.__e;x.__e=function(t,e,n,r){if(t.then){for(var o,i=e;i=i.__;)if((o=i.__c)&&o.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),o.__c(t,e)}Io(t,e,n,r)};var $n=x.unmount;function Sr(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),t.__c.__H=null),(t=vr({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return Sr(r,e,n)})),t}function Cr(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return Cr(r,e,n)}),t.__c&&t.__c.__P===e&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}function nt(){this.__u=0,this.t=null,this.__b=null}function Er(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function Nr(t){var e,n,r;function o(i){if(e||(e=t()).then(function(s){n=s.default||s},function(s){r=s}),r)throw r;if(!n)throw e;return _(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Pe(){this.u=null,this.o=null}x.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),$n&&$n(t)},(nt.prototype=new se).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Er(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 c=r.state.__a;r.__v.__k[0]=Cr(c,c.__c.__P,c.__c.__O)}var l;for(r.setState({__a:r.__b=null});l=r.t.pop();)l.forceUpdate()}};r.__u++||32&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),t.then(s,s)},nt.prototype.componentWillUnmount=function(){this.t=[]},nt.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Sr(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__a&&_(le,null,t.fallback);return o&&(o.__u&=-33),[_(le,null,e.__a?null:t.children),o]};var Mn=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function Oo(t){return this.getChildContext=function(){return t.context},t.children}function To(t){var e=this,n=t.i;e.componentWillUnmount=function(){Se(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),e.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),e.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),e.i.removeChild(r)}}),Se(_(Oo,{context:e.context},t.__v),e.l)}function Fr(t,e){var n=_(To,{__v:t,i:e});return n.containerInfo=e,n}(Pe.prototype=new se).__a=function(t){var e=this,n=Er(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),Mn(e,t,r)):o()};n?n(i):i()}},Pe.prototype.render=function(t){this.u=null,this.o=new Map;var e=_e(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},Pe.prototype.componentDidUpdate=Pe.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){Mn(t,n,e)})};var Br=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Po=/^(?: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]/,Lo=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ro=/[A-Z0-9]/g,zo=typeof document<"u",Vo=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function $r(t,e,n){return e.__k==null&&(e.textContent=""),Se(t,e),typeof n=="function"&&n(),t?t.__c:null}function Mr(t,e,n){return Ut(t,e),typeof n=="function"&&n(),t?t.__c:null}se.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(se.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var In=x.event;function jo(){}function Do(){return this.cancelBubble}function Uo(){return this.defaultPrevented}x.event=function(t){return In&&(t=In(t)),t.persist=jo,t.isPropagationStopped=Do,t.isDefaultPrevented=Uo,t.nativeEvent=t};var Qt,Ho={enumerable:!1,configurable:!0,get:function(){return this.class}},On=x.vnode;x.vnode=function(t){typeof t.type=="string"&&function(e){var n=e.props,r=e.type,o={},i=r.indexOf("-")===-1;for(var s in n){var a=n[s];if(!(s==="value"&&"defaultValue"in n&&a==null||zo&&s==="children"&&r==="noscript"||s==="class"||s==="className")){var c=s.toLowerCase();s==="defaultValue"&&"value"in n&&n.value==null?s="value":s==="download"&&a===!0?a="":c==="translate"&&a==="no"?a=!1:c[0]==="o"&&c[1]==="n"?c==="ondoubleclick"?s="ondblclick":c!=="onchange"||r!=="input"&&r!=="textarea"||Vo(n.type)?c==="onfocus"?s="onfocusin":c==="onblur"?s="onfocusout":Lo.test(s)&&(s=c):c=s="oninput":i&&Po.test(s)?s=s.replace(Ro,"-$&").toLowerCase():a===null&&(a=void 0),c==="oninput"&&o[s=c]&&(s="oninputCapture"),o[s]=a}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=_e(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=_e(n.children).forEach(function(l){l.props.selected=o.multiple?o.defaultValue.indexOf(l.props.value)!=-1:o.defaultValue==l.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Ho)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(t),t.$$typeof=Br,On&&On(t)};var Tn=x.__r;x.__r=function(t){Tn&&Tn(t),Qt=t.__c};var Pn=x.diffed;x.diffed=function(t){Pn&&Pn(t);var e=t.props,n=t.__e;n!=null&&t.type==="textarea"&&"value"in e&&e.value!==n.value&&(n.value=e.value==null?"":e.value),Qt=null};var Ir={ReactCurrentDispatcher:{current:{readContext:function(t){return Qt.__n[t.__c].props.value},useCallback:Gt,useContext:Zt,useDebugValue:Kt,useDeferredValue:en,useEffect:st,useId:Jt,useImperativeHandle:qt,useInsertionEffect:nn,useLayoutEffect:Je,useMemo:at,useReducer:gt,useRef:Wt,useState:Ke,useSyncExternalStore:rn,useTransition:tn}}},Wo="18.3.1";function Or(t){return _.bind(null,t)}function ut(t){return!!t&&t.$$typeof===Br}function Tr(t){return ut(t)&&t.type===le}function Pr(t){return!!t&&!!t.displayName&&(typeof t.displayName=="string"||t.displayName instanceof String)&&t.displayName.startsWith("Memo(")}function Lr(t){return ut(t)?Ht.apply(null,arguments):t}function Rr(t){return!!t.__k&&(Se(null,t),!0)}function zr(t){return t&&(t.base||t.nodeType===1&&t)||null}var Vr=function(t,e){return t(e)},jr=function(t,e){return t(e)},Dr=le;function Xt(t){t()}function en(t){return t}function tn(){return[!1,Xt]}var nn=Je,Ur=ut;function rn(t,e){var n=e(),r=Ke({h:{__:n,v:e}}),o=r[0].h,i=r[1];return Je(function(){o.__=n,o.v=e,Ct(o)&&i({h:o})},[t,n,e]),st(function(){return Ct(o)&&i({h:o}),t(function(){Ct(o)&&i({h:o})})},[t]),n}function Ct(t){var e,n,r=t.v,o=t.__;try{var i=r();return!((e=o)===(n=i)&&(e!==0||1/e==1/n)||e!=e&&n!=n)}catch{return!0}}var Hr={useState:Ke,useId:Jt,useReducer:gt,useEffect:st,useLayoutEffect:Je,useInsertionEffect:nn,useTransition:tn,useDeferredValue:en,useSyncExternalStore:rn,startTransition:Xt,useRef:Wt,useImperativeHandle:qt,useMemo:at,useCallback:Gt,useContext:Zt,useDebugValue:Kt,version:"18.3.1",Children:Ar,render:$r,hydrate:Mr,unmountComponentAtNode:Rr,createPortal:Fr,createElement:_,createContext:br,createFactory:Or,cloneElement:Lr,createRef:fr,Fragment:le,isValidElement:ut,isElement:Ur,isFragment:Tr,isMemo:Pr,findDOMNode:zr,Component:se,PureComponent:pt,memo:xr,forwardRef:kr,flushSync:jr,unstable_batchedUpdates:Vr,StrictMode:Dr,Suspense:nt,SuspenseList:Pe,lazy:Nr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ir};const qo=Object.freeze(Object.defineProperty({__proto__:null,Children:Ar,Component:se,Fragment:le,PureComponent:pt,StrictMode:Dr,Suspense:nt,SuspenseList:Pe,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ir,cloneElement:Lr,createContext:br,createElement:_,createFactory:Or,createPortal:Fr,createRef:fr,default:Hr,findDOMNode:zr,flushSync:jr,forwardRef:kr,hydrate:Mr,isElement:Ur,isFragment:Tr,isMemo:Pr,isValidElement:ut,lazy:Nr,memo:xr,render:$r,startTransition:Xt,unmountComponentAtNode:Rr,unstable_batchedUpdates:Vr,useCallback:Gt,useContext:Zt,useDebugValue:Kt,useDeferredValue:en,useEffect:st,useErrorBoundary:Fo,useId:Jt,useImperativeHandle:qt,useInsertionEffect:nn,useLayoutEffect:Je,useMemo:at,useReducer:gt,useRef:Wt,useState:Ke,useSyncExternalStore:rn,useTransition:tn,version:Wo},Symbol.toStringTag,{value:"Module"})),Go=`*,: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]{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-auto{pointer-events:auto}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.mx-auto{margin-left:auto;margin-right:auto}.my-3{margin-top:.75rem;margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-3{margin-left:.75rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.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}.w-1\\/2{width:50%}.w-5{width:1.25rem}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-3xl{max-width:48rem}.max-w-7xl{max-width:80rem}.flex-1{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.flex-grow,.grow{flex-grow:1}.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))}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.-space-y-px>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(-1px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(-1px * var(--tw-space-y-reverse))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.border{border-width:1px}.border-l-4{border-left-width:4px}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(250 204 21 / var(--tw-border-opacity))}.bg-primary-base{background-color:var(--fl-color-primary)}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.p-4{padding:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pb-6{padding-bottom:1.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-5{line-height:1.25rem}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.placeholder-red-300::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(252 165 165 / var(--tw-placeholder-opacity))}.placeholder-red-300::placeholder{--tw-placeholder-opacity: 1;color:rgb(252 165 165 / var(--tw-placeholder-opacity))}.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-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;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}.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)}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\\:bg-primary-hover:hover{background-color:var(--fl-color-primary-hover)}.focus\\:z-10:focus{z-index:10}.focus\\:border-primary-base:focus{border-color:var(--fl-color-primary)}.focus\\:border-red-500:focus{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.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-primary-focus:focus{--tw-ring-color: var(--fl-color-primary-focus)}.focus\\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity))}.focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:border-gray-300:disabled{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.disabled\\:bg-gray-100:disabled{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.disabled\\:text-gray-400:disabled{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\\:p-6{padding:1.5rem}.sm\\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\\:pb-8{padding-bottom:2rem}.sm\\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width: 1024px){.lg\\:px-8{padding-left:2rem;padding-right:2rem}}`;function me(t){return Array.isArray(t)||ArrayBuffer.isView(t)}function Zo(t){return t!=null&&typeof t.GetEnumerator=="function"}function Ko(t){return t!=null&&typeof t.CompareTo=="function"}function Jo(t){return t!=null&&typeof t.Equals=="function"}function Yo(t){return t!=null&&typeof t.GetHashCode=="function"}function Pt(t){return t!=null&&typeof t.Dispose=="function"}function H(t){Pt(t)&&t.Dispose()}function He(){return null}function mt(t,e){var n,r;return((n=Object.getPrototypeOf(t))==null?void 0:n.constructor)===((r=Object.getPrototypeOf(e))==null?void 0:r.constructor)}class Qo{constructor(e){this.iter=e,this.current=He()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this.iter.next();return this.current=e.value,!e.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function K(t){return Zo(t)?t.GetEnumerator():new Qo(t[Symbol.iterator]())}function on(t){return{next(){const e=t["System.Collections.IEnumerator.MoveNext"](),n=e?t["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0;return{done:!e,value:n}}}}function Ln(t,e){return t.toString(10).padStart(e,"0")}function Rn(t){const e=t;return typeof e.offset=="number"?e.offset:t.kind===1?0:t.getTimezoneOffset()*-6e4}class Ae{static id(e){return Ae.idMap.has(e)||Ae.idMap.set(e,++Ae.count),Ae.idMap.get(e)}}Ae.idMap=new WeakMap;Ae.count=0;function Wr(t){let e=0,n=5381;const r=t.length;for(;e<r;)n=n*33^t.charCodeAt(e++);return n}function Lt(t){return t*2654435761|0}function Xo(t){return Wr(t.toString(32))}function yt(t){let e=0;const n=t.length;for(let r=0;r<n;r++){const o=t[r];e=(e<<5)+e^o}return e}function ei(t){return t.getTime()}function ti(t){const e=t.length,n=new Array(e);for(let r=0;r<e;r++)n[r]=Me(t[r]);return yt(n)}function Me(t){var e;if(t==null)return 0;switch(typeof t){case"boolean":return t?1:0;case"number":return Lt(t);case"bigint":return Xo(t);case"string":return Wr(t);default:{if(Yo(t))return t.GetHashCode();if(me(t))return ti(t);if(t instanceof Date)return ei(t);if(((e=Object.getPrototypeOf(t))==null?void 0:e.constructor)===Object){const n=Object.values(t).map(r=>Me(r));return yt(n)}else return Lt(Ae.id(t))}}}function ni(t,e,n){if(t==null)return e==null;if(e==null||t.length!==e.length)return!1;for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1;return!0}function qr(t,e){return ni(t,e,Fe)}function ri(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let o=0;o<n.length;o++)if(n[o]!==r[o]||!Fe(t[n[o]],e[r[o]]))return!1;return!0}function Fe(t,e){var n;return t===e?!0:t==null?e==null:e==null?!1:Jo(t)?t.Equals(e):me(t)?me(e)&&qr(t,e):typeof t!="object"?!1:t instanceof Date?e instanceof Date&&Gr(t,e)===0:((n=Object.getPrototypeOf(t))==null?void 0:n.constructor)===Object&&ri(t,e)}function Gr(t,e){let n,r;return"offset"in t&&"offset"in e?(n=t.getTime(),r=e.getTime()):(n=t.getTime()+Rn(t),r=e.getTime()+Rn(e)),n===r?0:n<r?-1:1}function oi(t,e,n){if(t==null)return e==null?0:1;if(e==null)return-1;if(t.length!==e.length)return t.length<e.length?-1:1;for(let r=0,o=0;r<t.length;r++)if(o=n(t[r],e[r]),o!==0)return o;return 0}function Zr(t,e){return oi(t,e,we)}function ii(t,e){const n=Object.keys(t),r=Object.keys(e);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(t[s],e[s]),i!==0)return i}return 0}function we(t,e){var n;return t===e?0:t==null?e==null?0:-1:e==null?1:Ko(t)?t.CompareTo(e):me(t)?me(e)?Zr(t,e):-1:typeof t!="object"?t<e?-1:1:t instanceof Date?e instanceof Date?Gr(t,e):-1:((n=Object.getPrototypeOf(t))==null?void 0:n.constructor)===Object?ii(t,e):-1}function O(t){const e={};for(const n of t)e[n[0]]=n[1];return e}function si(t){me(t)?t.splice(0):t.clear()}const vt=new WeakMap;function ze(t){if(t==null)return null;const e=(n,r)=>t(n)(r);return vt.set(e,t),e}function N(t){return vt.get(t)??(e=>n=>t(e,n))}function zn(t){if(t==null)return null;const e=(n,r,o)=>t(n)(r)(o);return vt.set(e,t),e}function Et(t){return vt.get(t)??(e=>n=>r=>t(e,n,r))}function ai(t){let e=0,n="[";for(const r of t){if(e===0)n+=ce(r);else if(e===100){n+="; ...";break}else n+="; "+ce(r);e++}return n+"]"}function ce(t,e=0){var n;if(t!=null&&typeof t=="object"){if(typeof t.toString=="function")return t.toString();if(Symbol.iterator in t)return ai(t);{const r=(n=Object.getPrototypeOf(t))==null?void 0:n.constructor;return r===Object&&e<10?"{ "+Object.entries(t).map(([o,i])=>o+" = "+ce(i,e+1)).join(`
|
|
2
|
-
`)+" }":(r==null?void 0:r.name)??""}}return String(
|
|
3
|
-
`)+" }"}function di(t){const e=Object.values(t).map(n=>Me(n));return yt(e)}function fi(t,e){if(t===e)return!0;if(mt(t,e)){const n=Object.keys(t);for(let r=0;r<n.length;r++)if(!Fe(t[n[r]],e[n[r]]))return!1;return!0}else return!1}function hi(t,e){if(t===e)return 0;if(mt(t,e)){const n=Object.keys(t);for(let r=0;r<n.length;r++){const o=we(t[n[r]],e[n[r]]);if(o!==0)return o}return 0}else return-1}class be{toJSON(){return li(this)}toString(){return ci(this)}GetHashCode(){return di(this)}Equals(e){return fi(this,e)}CompareTo(e){return hi(this,e)}}const _i=ce(Go),k=Hr,Ye=Symbol("numeric");function pi(t){return typeof t=="number"||typeof t=="bigint"||(t==null?void 0:t[Ye])}function mi(t,e){return typeof t=="number"||typeof t=="bigint"?t<e?-1:t>e?1:0:t.CompareTo(e)}function wi(t,e){return typeof t=="number"?t*e:typeof t=="bigint"?t*BigInt(e):t[Ye]().multiply(e)}function bi(t,e){return typeof t=="number"?t.toFixed(e):typeof t=="bigint"?t:t[Ye]().toFixed(e)}function Vn(t,e){return typeof t=="number"?t.toPrecision(e):typeof t=="bigint"?t:t[Ye]().toPrecision(e)}function jn(t,e){return typeof t=="number"?t.toExponential(e):typeof t=="bigint"?t:t[Ye]().toExponential(e)}function Dn(t){return typeof t=="number"?(Number(t)>>>0).toString(16):typeof t=="bigint"?BigInt.asUintN(64,t).toString(16):t[Ye]().toHex()}function gi(t){const e=t<0;t=Math.abs(t);const n=~~(t/36e5),r=t%36e5/6e4;return(e?"-":"+")+Ln(n,2)+":"+Ln(r,2)}function yi(t,e){return new Date(t.getTime()+(t.offset??0)).toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+gi(t.offset??0)}function vi(t,e){return t.kind===1?t.toUTCString():t.toLocaleString()}function xi(t,e,n){return t.offset!=null?yi(t):vi(t)}function Kr(t,e=0){if(e&-284)throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let n="gu";return n+=e&1?"i":"",n+=e&2?"m":"",n+=e&16?"s":"",new RegExp(t,n)}function ki(t,e,n=0){return t.lastIndex=n,t.test(e)}function Un(t,e,n=0){if(e==null)throw new Error("Input cannot ve null");if(!t.global)throw new Error("Non-global RegExp");t.lastIndex=n;const r=[];let o,i=-1;for(;(o=t.exec(e))!=null;)o.index===i?t.lastIndex++:(i=o.index,r.push(o));return r}function Jr(t,e,n,r,o=0){function i(){let s=arguments[0];if(r){r--;const a=[],c=arguments.length,l=typeof arguments[c-1]!="string";let d=l?c-3:c-2;for(let u=0;u<d;u++)a.push(arguments[u]);a.index=arguments[d++],a.input=arguments[d++],l&&(a.groups=arguments[d]),s=n(a)}return s}if(typeof t=="string"){const s=t;t=Kr(e,r??0),e=s,r=void 0}if(typeof n=="function")return r=r??-1,e.substring(0,o)+e.substring(o).replace(t,i);if(n=n.replace(/\$0/g,s=>"$&").replace(/\${([^}]+)}/g,"$<$1>"),r!=null){let s;const a=e.substring(o),c=Un(t,a),l=Un.length>r?(s=c[r-1],a.substring(0,s.index+s[0].length)):a;return e.substring(0,o)+l.replace(t,n)+e.substring(o+l.length)}else return e.replace(t,n)}const et=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g;function Ai(t,e){return mi(t,e)<0}function Hn(t){return{input:t,cont:Ei(t)}}function Yr(t,e){return typeof e=="string"?t(e):e.cont(t)}function Si(t){return Yr(e=>console.log(e),t)}function Wn(t){return Yr(e=>e,t)}function Ci(t,e,n,r,o){let i="";if(e=e||"",o=o||"",pi(t))switch(o.toLowerCase()!=="x"&&(Ai(t,0)?(t=wi(t,-1),i="-"):e.indexOf(" ")>=0?i=" ":e.indexOf("+")>=0&&(i="+")),r=r==null?null:parseInt(r,10),o){case"f":case"F":r=r??6,t=bi(t,r);break;case"g":case"G":t=r!=null?Vn(t,r):Vn(t);break;case"e":case"E":t=r!=null?jn(t,r):jn(t);break;case"x":t=Dn(t);break;case"X":t=Dn(t).toUpperCase();break;default:t=String(t);break}else t instanceof Date?t=xi(t):t=ce(t);if(n=typeof n=="number"?n:parseInt(n,10),isNaN(n))t=i+t;else{const s=e.indexOf("0")>=0,a=e.indexOf("-")>=0,c=a||!s?" ":"0";c==="0"?(t=qn(t,n-i.length,c,a),t=i+t):t=qn(i+t,n,c,a)}return t}function Qr(t,e,n,r="",o=-1){return(...i)=>{let s=r;const a=e.slice(),c=n.slice();for(const l of i){const[,,d,u,f,h]=c[0];let m=u;if(o>=0)m=o,o=-1;else if(m==="*"){if(l<0)throw new Error("Non-negative number required");o=l;continue}s+=a[0],s+=Ci(l,d,m,f,h),a.splice(0,1),c.splice(0,1)}return c.length===0?(s+=a[0],t(s)):Qr(t,a,c,s,o)}}function Ei(t){return e=>{et.lastIndex=0;const n=[],r=[];let o=0,i=et.exec(t);for(;i;){const s=i.index+(i[1]||"").length;n.push(t.substring(o,s).replace(/%%/g,"%")),r.push(i),o=et.lastIndex,et.lastIndex-=1,i=et.exec(t)}return n.length===0?e(t.replace(/%%/g,"%")):(n.push(t.substring(o).replace(/%%/g,"%")),Qr(e,n,r))}}function Ni(t){return typeof t!="string"||/^\s*$/.test(t)}function U(t,e){return Array.isArray(e)?e.join(t):Array.from(e).join(t)}function qn(t,e,n,r){n=n||" ",e=e-t.length;for(let o=0;o<e;o++)t=r?t+n:n+t;return t}class We{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return Me(this.value)}Equals(e){return e==null?!1:Fe(this.value,e instanceof We?e.value:e)}CompareTo(e){return e==null?1:we(this.value,e instanceof We?e.value:e)}}function w(t){if(t==null)throw new Error("Option has no value");return t instanceof We?t.value:t}function Qe(t){return t==null||t instanceof We?new We(t):t}const Xr="Collection was empty.";function Fi(t,e){return new Array(e)}function Gn(t,e){return t>e?t:e}function eo(t,e,n,r){const o=e|0;return t.fill(r,o,o+n)}function Bi(t,e){const n=Fi(e,1);return ot(n,0,t),n}function $i(t,e,n){const r=t;return n.reduce(r,e)}function to(t,e){if(t<0||t>=e.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");return e[t]}function ot(t,e,n){if(e<0||e>=t.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");t[e]=n}function Mi(t,e,n){return e.reduceRight((r,o)=>t(o,r),n)}class Q extends be{constructor(e,n){super(),this.head=e,this.tail=n}toString(){return"["+U("; ",this)+"]"}Equals(e){const n=this;return n===e?!0:((o,i)=>{e:for(;;){const s=o,a=i,c=s.tail,l=a.tail;if(c!=null)if(l!=null){const d=w(c),u=w(l);if(Fe(s.head,a.head)){o=d,i=u;continue e}else return!1}else return!1;else return l==null}})(n,e)}GetHashCode(){return((r,o,i)=>{e:for(;;){const s=r,a=o,c=i,l=c.tail;if(l!=null){const d=w(l);if(s>18)return a|0;r=s+1,o=(a<<1)+Me(c.head)+631*s,i=d;continue e}else return a|0}})(0,0,this)|0}toJSON(){const e=this;return Array.from(e)}CompareTo(e){return((o,i)=>{e:for(;;){const s=o,a=i,c=s.tail,l=a.tail;if(c!=null)if(l!=null){const d=w(c),u=w(l),f=we(s.head,a.head)|0;if(f===0){o=d,i=u;continue e}else return f|0}else return 1;else return l!=null?-1:0}})(this,e)|0}GetEnumerator(){return Oi(this)}[Symbol.iterator](){return on(K(this))}"System.Collections.IEnumerable.GetEnumerator"(){return K(this)}}class Ii{constructor(e){this.xs=e,this.it=this.xs,this.current=He()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this,n=e.it.tail;if(n!=null){const r=w(n);return e.current=e.it.head,e.it=r,!0}else return!1}"System.Collections.IEnumerator.Reset"(){const e=this;e.it=e.xs,e.current=He()}Dispose(){}}function Oi(t){return new Ii(t)}function D(){return new Q(He(),void 0)}function lt(t,e){return new Q(t,e)}function Be(t){return t.tail==null}function no(t){return((n,r)=>{e:for(;;){const o=n,s=r.tail;if(s!=null){n=o+1,r=w(s);continue e}else return o|0}})(0,t)|0}function qe(t){if(t.tail!=null)return t.head;throw new Error(Xr+"\\nParameter name: list")}function q(t){const e=t.tail;if(e!=null)return w(e);throw new Error(Xr+"\\nParameter name: list")}function Ce(){return D()}function fe(t,e){return lt(t,e)}function Y(t){return lt(t,D())}function R(t){return Be(t)}function Zn(t){return no(t)}function y(t){return qe(t)}function F(t){return q(t)}function Ti(t){const e=no(t)|0,n=eo(new Array(e),0,e,null);return((o,i)=>{e:for(;;){const s=o,a=i;if(!Be(a)){ot(n,s,qe(a)),o=s+1,i=q(a);continue e}break}})(0,t),n}function ge(t,e,n){let r=e,o=n;for(;!Be(o);)r=t(r,y(o)),o=q(o);return r}function Pi(t){return ge((e,n)=>lt(n,e),D(),t)}function Li(t,e,n){return Mi(t,Ti(e),n)}function Ri(t,e,n){return((o,i,s)=>{e:for(;;){const a=o,c=i,l=s;if(Be(l))return c;o=a+1,i=t(a,c,qe(l)),s=q(l);continue e}})(0,e,n)}function zi(t,e,n,r){let o=e,i=n,s=r;for(;!Be(i)&&!Be(s);)o=t(o,qe(i),qe(s)),i=q(i),s=q(s);return o}function wt(t,e){ge((n,r)=>{t(r)},void 0,e)}function V(t,e){let n=e;for(let r=t.length-1;r>=0;r--)n=lt(to(r,t),n);return n}function C(t){return V(t,D())}function Vi(t){let e,n;if(me(t))return C(t);if(t instanceof Q)return t;{const r=D();let o=r;const i=K(t);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const c=i["System.Collections.Generic.IEnumerator`1.get_Current"]();o=(e=o,n=new Q(c,void 0),e.tail=n,n)}}finally{H(i)}const s=o,a=D();return s.tail=a,q(r)}}function ji(t,e){return ge((n,r)=>lt(r,n),e,Pi(t))}function Di(t,e){const n=D(),r=Ri((i,s,a)=>{const c=new Q(t(i,a),void 0);return s.tail=c,c},n,e),o=D();return r.tail=o,q(n)}function ro(t,e){const n=D(),r=ge((i,s)=>{const a=new Q(t(s),void 0);return i.tail=a,a},n,e),o=D();return r.tail=o,q(n)}function Ui(t,e){return(r=>{e:for(;;){const o=r;if(Be(o))return;{const i=t(qe(o));if(i==null){r=q(o);continue e}else return i}}})(e)}function Hi(t,e){const n=D(),r=ge((i,s)=>{if(t(s)){const a=new Q(s,void 0);return i.tail=a,a}else return i},n,e),o=D();return r.tail=o,q(n)}function Wi(t,e){const n=D(),r=D(),o=n,i=ge((c,l)=>{let d,u;const f=c[0],h=c[1];return t(l)?[(d=new Q(l,void 0),f.tail=d,d),h]:[f,(u=new Q(l,void 0),h.tail=u,u)]},[o,r],e),s=D();i[0].tail=s;const a=D();return i[1].tail=a,[q(o),q(r)]}function qi(t,e){const n=D(),r=ge((i,s)=>{const a=t(s);if(a==null)return i;{const c=new Q(w(a),void 0);return i.tail=c,c}},n,e),o=D();return r.tail=o,q(n)}function oo(t,e){return ge((n,r)=>n&&t(r),!0,e)}class p extends W{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["Ok","Error"]}}function ye(t,e){return Ni(e)?new p(1,[`${t} is required`]):new p(0,[e])}function Ie(t,e,n){return n.length>=e?new p(0,[n]):new p(1,[`${t} requires a minimum length of ${e} characters`])}function sn(t,e,n){return n.length<=e?new p(0,[n]):new p(1,[`${t} exceeds maximum length of ${e} characters`])}function an(t){return t.trim()}function io(t){return Jr(t,"\\s+","")}function so(t,e,n){return ki(Kr(e),n)?new p(0,[n]):new p(1,[`${t} is invalid`])}function Gi(t){return Jr(t,"[^0-9]","")}function Zi(t){throw new Error(t)}const Ki="Enumeration already finished.",Ji="Enumeration has not started. Call MoveNext.",ao="The input sequence has an insufficient number of elements.",Yi="Reset is not supported on this enumerator.";function Qi(){throw new Error(Yi)}function un(){throw new Error(Ji)}function Rt(){throw new Error(Ki)}class Xi{constructor(e){this.f=e}toString(){const e=this;let n=0,r="seq [";const o=K(e);try{for(;n<4&&o["System.Collections.IEnumerator.MoveNext"]();)n>0&&(r=r+"; "),r=r+ce(o["System.Collections.Generic.IEnumerator`1.get_Current"]()),n=n+1|0;return n===4&&(r=r+"; ..."),r+"]"}finally{H(o)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return on(K(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function es(t){return new Xi(t)}class ts{constructor(e,n,r){this.current=e,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"(){Qi()}Dispose(){this.dispose()}}function xt(t,e,n){return new ts(t,e,n)}function ns(t){let e,n,r=!1,o=!1,i;const s=()=>{if(o=!0,n!=null){const a=w(n);try{H(a)}finally{n=void 0}}if(e!=null){const a=w(e);try{H(a)}finally{e=void 0}}};return xt(()=>(r?o&&Rt():un(),i!=null?w(i):Rt()),()=>{let a;if(r||(r=!0),o)return!1;{let c;for(;c==null;){const l=e,d=n;if(l!=null)if(d!=null){const u=w(d);if(u["System.Collections.IEnumerator.MoveNext"]())i=Qe(u["System.Collections.Generic.IEnumerator`1.get_Current"]()),c=!0;else try{H(u)}finally{n=void 0}}else{const u=w(l);u["System.Collections.IEnumerator.MoveNext"]()?n=(a=u["System.Collections.Generic.IEnumerator`1.get_Current"](),K(a)):(s(),c=!1)}else e=K(t)}return w(c)}},()=>{o||s()})}function rs(t,e){return xt(()=>e["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>e["System.Collections.IEnumerator.MoveNext"](),()=>{try{H(e)}finally{}})}function uo(t,e,n){let r=!1,o,i=Qe(t());const s=()=>{if(i!=null){const c=w(i);try{n(c)}finally{i=void 0}}},a=()=>{try{s()}finally{o=void 0}};return xt(()=>(r||un(),o!=null?w(o):Rt()),()=>{if(r||(r=!0),i!=null){const c=w(i);let l;try{l=e(c)}catch(d){throw a(),d}return l!=null?(o=l,!0):(a(),!1)}else return!1},s)}function os(t,e){let n,r=e;return xt(()=>{if(n!=null){const o=w(n)[0];return w(n)[1],o}else return un()},()=>(n=t(r),n!=null?(w(n)[0],r=w(n)[1],!0):!1),()=>{})}function is(t,e){e==null&&Zi(t)}function Xe(t){return es(t)}function kt(t){return is("source",t),K(t)}function T(t){return Xe(()=>K(t()))}function lo(t){return Xe(()=>ns(t))}function ss(t,e){return Xe(()=>os(t,e))}function ve(){return T(()=>new Array(0))}function j(t){return T(()=>Bi(t))}function de(t){return me(t)?C(t):t instanceof Q?t:Vi(t)}function as(t,e,n){return Xe(()=>uo(t,e,n))}function us(t,e,n){return Xe(()=>{let r=-1;return uo(t,o=>(r=r+1|0,e(r,o)),n)})}function ae(t,e){return lo([t,e])}function ls(t,e,n){const r=kt(n);try{let o=e;for(;r["System.Collections.IEnumerator.MoveNext"]();)o=t(o,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return o}finally{H(r)}}function cs(t,e){ls((n,r)=>{t(r)},void 0,e)}function Le(t,e){return as(()=>kt(e),n=>n["System.Collections.IEnumerator.MoveNext"]()?Qe(t(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{H(n)})}function ds(t,e){return Xe(()=>{const n=kt(e);try{for(let r=1;r<=t;r++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(ao+"\\nParameter name: source");return rs(()=>{},n)}catch(r){throw H(n),r}})}function fs(t,e){return us(()=>kt(e),(n,r)=>{if(n<t){if(r["System.Collections.IEnumerator.MoveNext"]())return Qe(r["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(ao+"\\nParameter name: source")}else return},n=>{H(n)})}function hs(t,e){return T(()=>lo(Le(t,e)))}class ln extends be{constructor(e,n,r,o){super(),this.Value=e,this.IsTouched=n,this.Validator=r,this.ErrorMessage=o}}class X extends be{constructor(e,n,r){super(),this.Field=e,this.OnBlur=n,this.OnChange=r}}function ee(t){return new ln("",!1,t,void 0)}function te(t,e){let n;return new ln(e,t.IsTouched,t.Validator,(n=t.Validator(t.Value),n.tag===1&&t.IsTouched?n.fields[0]:void 0))}function ne(t){let e;return new ln(t.Value,!0,t.Validator,(e=t.Validator(t.Value),e.tag===1?e.fields[0]:void 0))}class _s extends W{constructor(e){super(),this.tag=0,this.fields=[e]}cases(){return["FundName"]}}function co(t){let e;const n=ye("Fund name",an(t));return e=n.tag===1?new p(1,[n.fields[0]]):Ie("Fund name",2,n.fields[0]),e.tag===1?new p(1,[e.fields[0]]):new p(0,[new _s(e.fields[0])])}class ps extends W{constructor(e){super(),this.tag=0,this.fields=[e]}cases(){return["FundAbn"]}}function fo(t){const e=de(Le(o=>~~o.charCodeAt(0)-48,t.split(""))),n=C([10,1,3,5,7,9,11,13,15,17,19]),r=oo(o=>o>=0?o<=9:!1,e)?new p(0,[void 0]):new p(1,["Enter a valid fund ABN (digits only)"]);if(r.tag===1)return new p(1,[r.fields[0]]);{const o=Zn(e)===Zn(n)?new p(0,[void 0]):new p(1,["Enter a valid fund ABN"]);if(o.tag===1)return new p(1,[o.fields[0]]);{const i=zi((s,a,c)=>s+a*c,0,Di((s,a)=>s===0?a-1|0:a|0,e),n)%89===0?new p(0,[void 0]):new p(1,["Enter a valid fund ABN"]);return i.tag===1?new p(1,[i.fields[0]]):new p(0,[new ps(t)])}}}class ms extends W{constructor(e){super(),this.tag=0,this.fields=[e]}cases(){return["FundEsa"]}}function ho(t){let e;const n=ye("Fund ESA",an(t));return e=n.tag===1?new p(1,[n.fields[0]]):Ie("Fund ESA",2,n.fields[0]),e.tag===1?new p(1,[e.fields[0]]):new p(0,[new ms(e.fields[0])])}class ws extends W{constructor(e){super(),this.tag=0,this.fields=[e]}cases(){return["AddressLine1"]}}function bs(t){let e;const n=ye("Address Line 1",t);return e=n.tag===1?new p(1,[n.fields[0]]):Ie("Address Line 1",2,n.fields[0]),e.tag===1?new p(1,[e.fields[0]]):new p(0,[new ws(e.fields[0])])}class gs extends W{constructor(e){super(),this.tag=0,this.fields=[e]}cases(){return["AddressLine2"]}}function ys(t){return new p(0,[new gs(t)])}class vs extends W{constructor(e){super(),this.tag=0,this.fields=[e]}cases(){return["City"]}}function xs(t){const e=ye("City",t);return e.tag===1?new p(1,[e.fields[0]]):new p(0,[new vs(e.fields[0])])}class ke extends W{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["NSW","QLD","ACT","VIC","TAS","WA","SA","NT"]}}function ks(t){const e=ye("State",t);if(e.tag===1)return new p(1,[e.fields[0]]);switch(e.fields[0]){case"NSW":return new p(0,[new ke(0,[])]);case"QLD":return new p(0,[new ke(1,[])]);case"ACT":return new p(0,[new ke(2,[])]);case"VIC":return new p(0,[new ke(3,[])]);case"TAS":return new p(0,[new ke(4,[])]);case"WA":return new p(0,[new ke(5,[])]);case"SA":return new p(0,[new ke(6,[])]);case"NT":return new p(0,[new ke(7,[])]);default:return new p(1,["Select a state'"])}}class As extends W{constructor(e){super(),this.tag=0,this.fields=[e]}cases(){return["Postcode"]}}function Ss(t){let e,n;const r=ye("Postcode",t);return n=r.tag===1?new p(1,[r.fields[0]]):Ie("Postcode",4,r.fields[0]),e=n.tag===1?new p(1,[n.fields[0]]):sn("Postcode",4,n.fields[0]),e.tag===1?new p(1,[e.fields[0]]):new p(0,[new As(e.fields[0])])}class Cs extends W{constructor(e){super(),this.tag=0,this.fields=[e]}cases(){return["BankAccountName"]}}function Es(t){let e;const n=ye("Account name",an(t));return e=n.tag===1?new p(1,[n.fields[0]]):Ie("Account name",2,n.fields[0]),e.tag===1?new p(1,[e.fields[0]]):new p(0,[new Cs(e.fields[0])])}class Ns extends W{constructor(e){super(),this.tag=0,this.fields=[e]}cases(){return["BankAccountBsb"]}}function Fs(t){let e,n,r;const o=ye("BSB",io(t));return r=o.tag===1?new p(1,[o.fields[0]]):Ie("BSB",6,o.fields[0]),n=r.tag===1?new p(1,[r.fields[0]]):sn("BSB",6,r.fields[0]),e=n.tag===1?new p(1,[n.fields[0]]):so("BSB","^\\d{6}$",n.fields[0]),e.tag===1?new p(1,[e.fields[0]]):new p(0,[new Ns(e.fields[0])])}class Bs extends W{constructor(e){super(),this.tag=0,this.fields=[e]}cases(){return["BankAccountNumber"]}}function $s(t){let e,n,r;const o=ye("Account Number",io(t));return r=o.tag===1?new p(1,[o.fields[0]]):Ie("Account Number",2,o.fields[0]),n=r.tag===1?new p(1,[r.fields[0]]):sn("Account Number",11,r.fields[0]),e=n.tag===1?new p(1,[n.fields[0]]):so("Account Number","^\\d{2,11}$",n.fields[0]),e.tag===1?new p(1,[e.fields[0]]):new p(0,[new Bs(e.fields[0])])}class Ms extends be{constructor(e,n,r,o,i){super(),this.AddressLine1=e,this.AddressLine2=n,this.City=r,this.AddressState=o,this.Postcode=i}}function Is(t,e){console.error(Qe(t),e)}function Kn(t,e,n){wt(r=>{try{r(e)}catch(o){t(o)}},n)}function M(){return Ce()}class _o{constructor(e){this.k=e}}function G(t){return new _o(t)}function v(t){return t.k}class E extends _o{constructor(e,n,r,o){super(e),this.left=n,this.right=r,this.h=o|0}}function Z(t,e,n,r){return new E(t,e,n,r)}function I(t){return t.left}function B(t){return t.right}function Re(t){return t.h}function po(t,e){e:for(;;){const n=t,r=e;if(n!=null){const o=w(n);if(o instanceof E){const i=o;t=I(i),e=po(B(i),r+1);continue e}else return r+1|0}else return r|0}}function Os(t){return po(t,0)}function re(t,e,n){let r,o,i;const s=t;if(s!=null){const d=w(s);i=d instanceof E?(r=d,Re(r)):1}else i=0;let a;const c=n;if(c!=null){const d=w(c);a=d instanceof E?(o=d,Re(o)):1}else a=0;const l=(i<a?a:i)|0;return l===0?G(e):Z(e,t,n,l+1)}function Jn(t,e,n){let r,o,i,s,a,c,l,d,u;const f=t;if(f!=null){const g=w(f);u=g instanceof E?(r=g,Re(r)):1}else u=0;let h;const m=n;if(m!=null){const g=w(m);h=g instanceof E?(o=g,Re(o)):1}else h=0;if(h>u+2){const g=w(n);if(g instanceof E){const b=g;if(i=I(b),(i!=null?(s=w(i),s instanceof E?(a=s,Re(a)):1):0)>u+1){const A=w(I(b));if(A instanceof E){const S=A;return re(re(t,e,I(S)),v(S),re(B(S),v(b),B(b)))}else throw new Error("internal error: Set.rebalance")}else return re(re(t,e,I(b)),v(b),B(b))}else throw new Error("internal error: Set.rebalance")}else if(u>h+2){const g=w(t);if(g instanceof E){const b=g;if(c=B(b),(c!=null?(l=w(c),l instanceof E?(d=l,Re(d)):1):0)>h+1){const A=w(B(b));if(A instanceof E){const S=A;return re(re(I(b),v(b),I(S)),v(S),re(B(S),e,n))}else throw new Error("internal error: Set.rebalance")}else return re(I(b),v(b),re(B(b),e,n))}else throw new Error("internal error: Set.rebalance")}else return re(t,e,n)}function Ge(t,e,n){if(n!=null){const r=w(n),o=t.Compare(e,v(r))|0;if(r instanceof E){const i=r;return o<0?Jn(Ge(t,e,I(i)),v(i),B(i)):o===0?n:Jn(I(i),v(i),Ge(t,e,B(i)))}else{const i=t.Compare(e,v(r))|0;return i<0?Z(e,void 0,n,2):i===0?n:Z(e,n,void 0,2)}}else return G(e)}function mo(t,e,n){e:for(;;){const r=t,o=e,i=n;if(i!=null){const s=w(i),a=r.Compare(o,v(s))|0;if(s instanceof E){const c=s;if(a<0){t=r,e=o,n=I(c);continue e}else{if(a===0)return!0;t=r,e=o,n=B(c);continue e}}else return a===0}else return!1}}function wo(t,e){e:for(;;){const n=t,r=e;if(r!=null){const o=w(r);if(o instanceof E){const i=o;wo(n,I(i)),n(v(i)),t=n,e=B(i);continue e}else n(v(o))}break}}class Ts extends be{constructor(e,n){super(),this.stack=e,this.started=n}}function bo(t){e:for(;;){const e=t;if(R(e))return Ce();{const n=y(e),r=F(e);if(n!=null){const o=w(n);if(o instanceof E){const i=o;t=V([I(i),G(v(i)),B(i)],r);continue e}else return e}else{t=r;continue e}}}}function Yn(t){return new Ts(bo(Y(t)),!1)}function Ps(){throw new Error("Enumeration not started")}function Ls(){throw new Error("Enumeration already started")}function Qn(t){if(t.started){const e=t.stack;if(R(e))return Ls();if(y(e)!=null){const n=w(y(e));return v(n)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return Ps()}function Rs(t){if(t.started){const e=t.stack;if(R(e))return!1;if(y(e)!=null){if(w(y(e))instanceof E)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return t.stack=bo(F(e)),!R(t.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return t.started=!0,!R(t.stack)}function Xn(t){let e=Yn(t);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return Qn(e)},"System.Collections.IEnumerator.get_Current"(){return Qn(e)},"System.Collections.IEnumerator.MoveNext"(){return Rs(e)},"System.Collections.IEnumerator.Reset"(){e=Yn(t)},Dispose(){}}}function zs(t,e,n){e:for(;;){const r=t,o=e,i=n;if(R(o))return R(i)?0:-1;if(R(i))return 1;if(y(i)!=null)if(y(o)!=null){const s=w(y(o)),a=w(y(i));if(s instanceof E){const c=s;if(I(c)==null)if(a instanceof E){const l=a;if(I(l)==null){const d=r.Compare(v(c),v(l))|0;if(d!==0)return d|0;t=r,e=fe(B(c),F(o)),n=fe(B(l),F(i));continue e}else{let d,u,f,h,m;switch(R(o)?R(i)?d=2:y(i)!=null?(d=1,h=F(i),m=w(y(i))):d=2:y(o)!=null?(d=0,u=F(o),f=w(y(o))):R(i)?d=2:y(i)!=null?(d=1,h=F(i),m=w(y(i))):d=2,d){case 0:if(f instanceof E){const g=f;t=r,e=V([I(g),Z(v(g),void 0,B(g),0)],u),n=i;continue e}else{t=r,e=V([void 0,G(v(f))],u),n=i;continue e}case 1:if(m instanceof E){const g=m;t=r,e=o,n=V([I(g),Z(v(g),void 0,B(g),0)],h);continue e}else{t=r,e=o,n=V([void 0,G(v(m))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const l=r.Compare(v(c),v(a))|0;if(l!==0)return l|0;t=r,e=fe(B(c),F(o)),n=fe(void 0,F(i));continue e}else{let l,d,u,f,h;switch(R(o)?R(i)?l=2:y(i)!=null?(l=1,f=F(i),h=w(y(i))):l=2:y(o)!=null?(l=0,d=F(o),u=w(y(o))):R(i)?l=2:y(i)!=null?(l=1,f=F(i),h=w(y(i))):l=2,l){case 0:if(u instanceof E){const m=u;t=r,e=V([I(m),Z(v(m),void 0,B(m),0)],d),n=i;continue e}else{t=r,e=V([void 0,G(v(u))],d),n=i;continue e}case 1:if(h instanceof E){const m=h;t=r,e=o,n=V([I(m),Z(v(m),void 0,B(m),0)],f);continue e}else{t=r,e=o,n=V([void 0,G(v(h))],f);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else if(a instanceof E){const c=a;if(I(c)==null){const l=r.Compare(v(s),v(c))|0;if(l!==0)return l|0;t=r,e=fe(void 0,F(o)),n=fe(B(c),F(i));continue e}else{let l,d,u,f,h;switch(R(o)?R(i)?l=2:y(i)!=null?(l=1,f=F(i),h=w(y(i))):l=2:y(o)!=null?(l=0,d=F(o),u=w(y(o))):R(i)?l=2:y(i)!=null?(l=1,f=F(i),h=w(y(i))):l=2,l){case 0:if(u instanceof E){const m=u;t=r,e=V([I(m),Z(v(m),void 0,B(m),0)],d),n=i;continue e}else{t=r,e=V([void 0,G(v(u))],d),n=i;continue e}case 1:if(h instanceof E){const m=h;t=r,e=o,n=V([I(m),Z(v(m),void 0,B(m),0)],f);continue e}else{t=r,e=o,n=V([void 0,G(v(h))],f);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const c=r.Compare(v(s),v(a))|0;if(c!==0)return c|0;t=r,e=F(o),n=F(i);continue e}}else{w(y(i));let s,a,c,l,d;switch(R(o)?R(i)?s=2:y(i)!=null?(s=1,l=F(i),d=w(y(i))):s=2:y(o)!=null?(s=0,a=F(o),c=w(y(o))):R(i)?s=2:y(i)!=null?(s=1,l=F(i),d=w(y(i))):s=2,s){case 0:if(c instanceof E){const u=c;t=r,e=V([I(u),Z(v(u),void 0,B(u),0)],a),n=i;continue e}else{t=r,e=V([void 0,G(v(c))],a),n=i;continue e}case 1:if(d instanceof E){const u=d;t=r,e=o,n=V([I(u),Z(v(u),void 0,B(u),0)],l);continue e}else{t=r,e=o,n=V([void 0,G(v(d))],l);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else if(y(o)!=null){w(y(o));let s,a,c,l,d;switch(R(o)?R(i)?s=2:y(i)!=null?(s=1,l=F(i),d=w(y(i))):s=2:y(o)!=null?(s=0,a=F(o),c=w(y(o))):R(i)?s=2:y(i)!=null?(s=1,l=F(i),d=w(y(i))):s=2,s){case 0:if(c instanceof E){const u=c;t=r,e=V([I(u),Z(v(u),void 0,B(u),0)],a),n=i;continue e}else{t=r,e=V([void 0,G(v(c))],a),n=i;continue e}case 1:if(d instanceof E){const u=d;t=r,e=o,n=V([I(u),Z(v(u),void 0,B(u),0)],l);continue e}else{t=r,e=o,n=V([void 0,G(v(d))],l);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else{t=r,e=F(o),n=F(i);continue e}}}function er(t,e,n){return e==null?n==null?0:-1:n==null?1:zs(t,Y(e),Y(n))|0}function Vs(t,e,n){let r=n;wo(o=>{ot(e,r,o),r=r+1|0},t)}function js(t,e,n){e:for(;;){const r=t,o=e,i=n;if(i["System.Collections.IEnumerator.MoveNext"]()){t=r,e=Ge(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i;continue e}else return o}}function Ds(t,e){return $i((n,r)=>Ge(t,r,n),void 0,e)}function Us(t,e){return ge((n,r)=>Ge(t,r,n),void 0,e)}function Hs(t,e){if(me(e))return Ds(t,e);if(e instanceof Q)return Us(t,e);{const n=K(e);try{return js(t,void 0,n)}finally{H(n)}}}class cn{constructor(e,n){this.comparer=e,this.tree=n}GetHashCode(){return Gs(this)|0}Equals(e){let n;const r=this;return e instanceof cn&&(n=e,er(Ve(r),ie(r),ie(n))===0)}toString(){return"set ["+U("; ",Le(n=>ce(n),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const e=this;return Array.from(e)}CompareTo(e){const n=this;return er(Ve(n),ie(n),ie(e))|0}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){const n=this;return mo(Ve(n),e,ie(n))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(e,n){Vs(ie(this),e,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Nt(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Nt(this)|0}GetEnumerator(){return Xn(ie(this))}[Symbol.iterator](){return on(K(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Xn(ie(this))}get size(){return Nt(this)|0}add(e){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(e){throw new Error("Set cannot be mutated")}has(e){return go(this,e)}keys(){return Le(n=>n,this)}values(){return Le(n=>n,this)}entries(){return Le(n=>[n,n],this)}forEach(e,n){const r=this;cs(o=>{e(o,o,r)},r)}}function dn(t,e){return new cn(t,e)}function Ve(t){return t.comparer}function ie(t){return t.tree}function Ws(t){return dn(t,void 0)}function qs(t,e){return dn(Ve(t),Ge(Ve(t),e,ie(t)))}function Nt(t){return Os(ie(t))}function go(t,e){return mo(Ve(t),e,ie(t))}function Gs(t){let e=0;const n=K(t);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();e=(e<<1)+Me(r)+631|0}}finally{H(n)}return Math.abs(e)|0}function zt(t,e){return go(e,t)}function Zs(t,e){return qs(e,t)}function Ks(t){return Ws(t)}function Js(t,e){return dn(e,Hs(e,t))}function Ys(){return Ce()}function fn(t){return U("/",t)}function Qs(t,e){const n=new Error("Duplicate SubId");return t(["Duplicate SubId: "+fn(e),n])}function yo(t,e,n){try{H(n)}catch(r){t(["Error stopping subscription: "+fn(e),r])}}function Xs(t,e,n,r){try{return[n,r(e)]}catch(o){t(["Error starting subscription: "+fn(n),o]);return}}function ea(t,e){wt(n=>{yo(t,n[0],n[1])},e)}function tr(t,e,n,r,o,i){return wt(s=>{Qs(t,s)},n),wt(s=>{yo(t,s[0],s[1])},r),ji(o,qi(s=>Xs(t,e,s[0],s[1]),i))}function ta(){return[Ce(),Ks({Compare:we}),Ce()]}function na(t,e,n,r,o){return zt(t,r)?[fe(t,n),r,o]:[n,Zs(t,r),fe([t,e],o)]}function ra(t){return Li((e,n)=>na(e[0],e[1],n[0],n[1],n[2]),t,ta())}const oa=Ce();function nr(t,e){const n=Js(ro(s=>s[0],t),{Compare:we}),r=ra(e),o=r[1],i=r[0];if(n.Equals(o))return[i,Ce(),t,Ce()];{const s=Wi(a=>zt(a[0],o),t);return[i,s[1],s[0],Hi(a=>!zt(a[0],n),r[2])]}}function ia(t,e,n,r){const o=we(t,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,e)|0;return i&&a<=0||!i&&a>=0?[s,r(s,t)]:void 0}}function sa(t,e,n,r,o){const i=ia(e,n,r,o);return T(()=>ss(i,t))}function aa(t,e,n){return sa(t,e,n,0,(r,o)=>r+o)}class je extends W{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["Writable","ReadWritable"]}}class ua{constructor(e){this.state=new je(0,[eo(new Array(Gn(e,10)),0,Gn(e,10),null),0])}}function la(t){return new ua(t)}function rr(t){const e=t.state;if(e.tag===1){const n=e.fields[1]|0,r=e.fields[2]|0,o=e.fields[0],i=(r+1)%o.length|0;return i===n?t.state=new je(0,[o,n]):t.state=new je(1,[o,n,i]),Qe(to(r,o))}else return}function ca(t,e){const n=t.state;if(n.tag===1){const r=n.fields[1]|0,o=n.fields[2]|0,i=n.fields[0];ot(i,r,e);const s=(r+1)%i.length|0;s===o?t.state=new je(1,[da(t,o,i),i.length,0]):t.state=new je(1,[i,s,o])}else{const r=n.fields[1]|0,o=n.fields[0];ot(o,r,e);const i=(r+1)%o.length|0;t.state=new je(1,[o,i,r])}}function da(t,e,n){return Array.from(T(()=>ae(ds(e,n),T(()=>ae(fs(e,n),T(()=>hs(r=>j(He()),aa(0,1,n.length))))))))}class hn extends be{constructor(e,n,r,o,i,s,a){super(),this.init=e,this.update=n,this.subscribe=r,this.view=o,this.setState=i,this.onError=s,this.termination=a}}function fa(t,e,n){return new hn(t,e,r=>Ys(),n,ze(r=>{const o=N(n)(r);return i=>{o(i)}}),r=>{Is(r[0],r[1])},[r=>!1,r=>{}])}function ha(t,e){return new hn(e.init,e.update,e.subscribe,e.view,t,e.onError,e.termination)}function _a(t){return t.init}function pa(t,e,n,r,o,i,s){const a=N(t)(s.init),c=Et(e)(N(s.update)),l=Et(n)(N(s.view)),d=Et(r)(N(s.setState));return new hn(a,ze(c),N(o)(s.subscribe),ze(l),ze(d),s.onError,i(s.termination))}function ma(t,e,n){let r;const o=n.init(e),i=o[0],s=n.subscribe(i),a=n.termination,c=la(10);let l=!1,d=i,u=oa,f=!1;const h=b=>{f||(ca(c,b),l||(l=!0,g(),l=!1))},m=N(t)(h),g=()=>{let b,A=rr(c);for(;!f&&A!=null;){const S=w(A);if(a[0](S))ea(n.onError,u),a[1](d),f=!0;else{const xe=n.update(S,d),J=xe[0],Te=n.subscribe(J);n.setState(J,m),Kn(Ee=>{n.onError([Wn(Hn("Error handling the message: %A"))(S),Ee])},m,xe[1]),d=J,u=(b=nr(u,Te),tr(n.onError,m,b[0],b[1],b[2],b[3])),A=rr(c)}}};l=!0,n.setState(i,m),Kn(b=>{n.onError([Wn(Hn("Error intitializing:")),b])},m,o[1]),u=(r=nr(u,s),tr(n.onError,m,r[0],r[1],r[2],r[3])),g(),l=!1}function wa(t,e){ma(ze(n=>n),t,e)}function ba(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return t[r]}})}),n}var vo={exports:{}},xo={};const ga=ba(qo);/**
|
|
1
|
+
var jt,M,os,ut,Wr,ss,jn,ur,Gn,Wn,is,Rt={},as=[],Ea=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,vn=Array.isArray;function He(e,t){for(var n in t)e[n]=t[n];return e}function us(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function w(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?jt.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 Pt(e,i,r,o,null)}function Pt(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&&M.vnode!=null&&M.vnode(s),s}function ls(){return{current:null}}function Be(e){return e.children}function Me(e,t){this.props=e,this.context=t}function St(e,t){if(t==null)return e.__?St(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"?St(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 qn(e){(!e.__d&&(e.__d=!0)&&ut.push(e)&&!ln.__r++||Wr!==M.debounceRendering)&&((Wr=M.debounceRendering)||ss)(ln)}function ln(){var e,t,n,r,o,s,i,a;for(ut.sort(jn);e=ut.shift();)e.__d&&(t=ut.length,r=void 0,s=(o=(n=e).__v).__e,i=[],a=[],n.__P&&((r=He({},o)).__v=o.__v+1,M.vnode&&M.vnode(r),lr(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[s]:null,i,s??St(o),!!(32&o.__u),a),r.__v=o.__v,r.__.__k[r.__i]=r,hs(i,r,a),r.__e!=s&&cs(r)),ut.length>t&&ut.sort(jn));ln.__r=0}function ds(e,t,n,r,o,s,i,a,c,l,f){var u,m,h,p,g,_=r&&r.__k||as,b=t.length;for(n.__d=c,Na(n,t,_),c=n.__d,u=0;u<b;u++)(h=n.__k[u])!=null&&(m=h.__i===-1?Rt:_[h.__i]||Rt,h.__i=u,lr(e,h,m,o,s,i,a,c,l,f),p=h.__e,h.ref&&m.ref!=h.ref&&(m.ref&&cr(m.ref,null,h),f.push(h.ref,h.__c||p,h)),g==null&&p!=null&&(g=p),65536&h.__u||m.__k===h.__k?c=fs(h,c,e):typeof h.type=="function"&&h.__d!==void 0?c=h.__d:p&&(c=p.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=c,n.__e=g}function Na(e,t,n){var r,o,s,i,a,c=t.length,l=n.length,f=l,u=0;for(e.__k=[],r=0;r<c;r++)(o=t[r])!=null&&typeof o!="boolean"&&typeof o!="function"?(i=r+u,(o=e.__k[r]=typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?Pt(null,o,null,null,null):vn(o)?Pt(Be,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?Pt(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=Fa(o,n,i,f))!==-1&&(f--,(s=n[a])&&(s.__u|=131072)),s==null||s.__v===null?(a==-1&&u--,typeof o.type!="function"&&(o.__u|=65536)):a!==i&&(a==i-1?u--:a==i+1?u++:(a>i?u--:u++,o.__u|=65536))):o=e.__k[r]=null;if(f)for(r=0;r<l;r++)(s=n[r])!=null&&!(131072&s.__u)&&(s.__e==e.__d&&(e.__d=St(s)),ms(s,s))}function fs(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=fs(r[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=St(e)),n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function Ge(e,t){return t=t||[],e==null||typeof e=="boolean"||(vn(e)?e.some(function(n){Ge(n,t)}):t.push(e)),t}function Fa(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(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 qr(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Ea.test(t)?n:n+"px"}function tn(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||qr(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||qr(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=ur,e.addEventListener(t,s?Wn:Gn,s)):e.removeEventListener(t,s?Wn:Gn,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 Zr(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=ur++;else if(t.t<n.u)return;return n(M.event?M.event(t):t)}}}function lr(e,t,n,r,o,s,i,a,c,l){var f,u,m,h,p,g,_,b,k,F,y,Z,Ce,it,Ye,Xe,de=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(c=!!(32&n.__u),s=[a=t.__e=n.__e]),(f=M.__b)&&f(t);e:if(typeof de=="function")try{if(b=t.props,k="prototype"in de&&de.prototype.render,F=(f=de.contextType)&&r[f.__c],y=f?F?F.props.value:f.__:r,n.__c?_=(u=t.__c=n.__c).__=u.__E:(k?t.__c=u=new de(b,y):(t.__c=u=new Me(b,y),u.constructor=de,u.render=Ta),F&&F.sub(u),u.props=b,u.state||(u.state={}),u.context=y,u.__n=r,m=u.__d=!0,u.__h=[],u._sb=[]),k&&u.__s==null&&(u.__s=u.state),k&&de.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=He({},u.__s)),He(u.__s,de.getDerivedStateFromProps(b,u.__s))),h=u.props,p=u.state,u.__v=t,m)k&&de.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),k&&u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(k&&de.getDerivedStateFromProps==null&&b!==h&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(b,y),!u.__e&&(u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(b,u.__s,y)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(u.props=b,u.state=u.__s,u.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(en){en&&(en.__=t)}),Z=0;Z<u._sb.length;Z++)u.__h.push(u._sb[Z]);u._sb=[],u.__h.length&&i.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(b,u.__s,y),k&&u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(h,p,g)})}if(u.context=y,u.props=b,u.__P=e,u.__e=!1,Ce=M.__r,it=0,k){for(u.state=u.__s,u.__d=!1,Ce&&Ce(t),f=u.render(u.props,u.state,u.context),Ye=0;Ye<u._sb.length;Ye++)u.__h.push(u._sb[Ye]);u._sb=[]}else do u.__d=!1,Ce&&Ce(t),f=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++it<25);u.state=u.__s,u.getChildContext!=null&&(r=He(He({},r),u.getChildContext())),k&&!m&&u.getSnapshotBeforeUpdate!=null&&(g=u.getSnapshotBeforeUpdate(h,p)),ds(e,vn(Xe=f!=null&&f.type===Be&&f.key==null?f.props.children:f)?Xe:[Xe],t,n,r,o,s,i,a,c,l),u.base=t.__e,t.__u&=-161,u.__h.length&&i.push(u),_&&(u.__E=u.__=null)}catch(en){if(t.__v=null,c||s!=null){for(t.__u|=c?160:32;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;M.__e(en,t,n)}else s==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Ma(n.__e,t,n,r,o,s,i,c,l);(f=M.diffed)&&f(t)}function hs(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)cr(n[r],n[++r],n[++r]);M.__c&&M.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(s){s.call(o)})}catch(s){M.__e(s,o.__v)}})}function Ma(e,t,n,r,o,s,i,a,c){var l,f,u,m,h,p,g,_=n.props,b=t.props,k=t.type;if(k==="svg"?o="http://www.w3.org/2000/svg":k==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),s!=null){for(l=0;l<s.length;l++)if((h=s[l])&&"setAttribute"in h==!!k&&(k?h.localName===k:h.nodeType===3)){e=h,s[l]=null;break}}if(e==null){if(k===null)return document.createTextNode(b);e=document.createElementNS(o,k,b.is&&b),a&&(M.__m&&M.__m(t,s),a=!1),s=null}if(k===null)_===b||a&&e.data===b||(e.data=b);else{if(s=s&&jt.call(e.childNodes),_=n.props||Rt,!a&&s!=null)for(_={},l=0;l<e.attributes.length;l++)_[(h=e.attributes[l]).name]=h.value;for(l in _)if(h=_[l],l!="children"){if(l=="dangerouslySetInnerHTML")u=h;else if(!(l in b)){if(l=="value"&&"defaultValue"in b||l=="checked"&&"defaultChecked"in b)continue;tn(e,l,null,h,o)}}for(l in b)h=b[l],l=="children"?m=h:l=="dangerouslySetInnerHTML"?f=h:l=="value"?p=h:l=="checked"?g=h:a&&typeof h!="function"||_[l]===h||tn(e,l,h,_[l],o);if(f)a||u&&(f.__html===u.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(u&&(e.innerHTML=""),ds(e,vn(m)?m:[m],t,n,r,k==="foreignObject"?"http://www.w3.org/1999/xhtml":o,s,i,s?s[0]:n.__k&&St(n,0),a,c),s!=null)for(l=s.length;l--;)us(s[l]);a||(l="value",k==="progress"&&p==null?e.removeAttribute("value"):p!==void 0&&(p!==e[l]||k==="progress"&&!p||k==="option"&&p!==_[l])&&tn(e,l,p,_[l],o),l="checked",g!==void 0&&g!==e[l]&&tn(e,l,g,_[l],o))}return e}function cr(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){M.__e(o,n)}}function ms(e,t,n){var r,o;if(M.unmount&&M.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||cr(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(s){M.__e(s,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&ms(r[o],t,n||typeof e.type!="function");n||us(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Ta(e,t,n){return this.constructor(e,n)}function nt(e,t,n){var r,o,s,i;M.__&&M.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,s=[],i=[],lr(t,e=(!r&&n||t).__k=w(Be,null,[e]),o||Rt,Rt,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?jt.call(t.childNodes):null,s,!r&&n?n:o?o.__e:t.firstChild,r,i),hs(s,e,i)}function dr(e,t){nt(e,t,dr)}function fr(e,t,n){var r,o,s,i,a=He({},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?jt.call(arguments,2):n),Pt(e.type,a,r||e.key,o||e.ref,null)}function ps(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=[],(s={})[t]=this,this.getChildContext=function(){return s},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&o.some(function(a){a.__e=!0,qn(a)})},this.sub=function(i){o.push(i);var a=i.componentWillUnmount;i.componentWillUnmount=function(){o&&o.splice(o.indexOf(i),1),a&&a.call(i)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}jt=as.slice,M={__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,Me.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=He({},this.state),typeof e=="function"&&(e=e(He({},n),this.props)),e&&He(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),qn(this))},Me.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),qn(this))},Me.prototype.render=Be,ut=[],ss=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,jn=function(e,t){return e.__v.__b-t.__v.__b},ln.__r=0,ur=0,Gn=Zr(!1),Wn=Zr(!0),is=0;var We,R,Ln,Jr,Ct=0,_s=[],W=M,Kr=W.__b,Yr=W.__r,Xr=W.diffed,Qr=W.__c,eo=W.unmount,to=W.__;function mt(e,t){W.__h&&W.__h(R,e,Ct||t),Ct=0;var n=R.__H||(R.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Tt(e){return Ct=1,kn(ws,e)}function kn(e,t,n){var r=mt(We++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ws(void 0,t),function(a){var c=r.__N?r.__N[0]:r.__[0],l=r.t(c,a);c!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=R,!R.u)){var o=function(a,c,l){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(m){return!!m.__c});if(f.every(function(m){return!m.__N}))return!s||s.call(this,a,c,l);var u=!1;return f.forEach(function(m){if(m.__N){var h=m.__[0];m.__=m.__N,m.__N=void 0,h!==m.__[0]&&(u=!0)}}),!(!u&&r.__c.props===a)&&(!s||s.call(this,a,c,l))};R.u=!0;var s=R.shouldComponentUpdate,i=R.componentWillUpdate;R.componentWillUpdate=function(a,c,l){if(this.__e){var f=s;s=void 0,o(a,c,l),s=f}i&&i.call(this,a,c,l)},R.shouldComponentUpdate=o}return r.__N||r.__}function Gt(e,t){var n=mt(We++,3);!W.__s&&br(n.__H,t)&&(n.__=e,n.i=t,R.__H.__h.push(n))}function Bt(e,t){var n=mt(We++,4);!W.__s&&br(n.__H,t)&&(n.__=e,n.i=t,R.__h.push(n))}function hr(e){return Ct=5,Wt(function(){return{current:e}},[])}function mr(e,t,n){Ct=6,Bt(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 Wt(e,t){var n=mt(We++,7);return br(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function pr(e,t){return Ct=8,Wt(function(){return e},t)}function _r(e){var t=R.context[e.__c],n=mt(We++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(R)),t.props.value):e.__}function wr(e,t){W.useDebugValue&&W.useDebugValue(t?t(e):e)}function Ba(e){var t=mt(We++,10),n=Tt();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 gr(){var e=mt(We++,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 $a(){for(var e;e=_s.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(sn),e.__H.__h.forEach(Zn),e.__H.__h=[]}catch(t){e.__H.__h=[],W.__e(t,e.__v)}}W.__b=function(e){R=null,Kr&&Kr(e)},W.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),to&&to(e,t)},W.__r=function(e){Yr&&Yr(e),We=0;var t=(R=e.__c).__H;t&&(Ln===R?(t.__h=[],R.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(sn),t.__h.forEach(Zn),t.__h=[],We=0)),Ln=R},W.diffed=function(e){Xr&&Xr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(_s.push(t)!==1&&Jr===W.requestAnimationFrame||((Jr=W.requestAnimationFrame)||Ia)($a)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),Ln=R=null},W.__c=function(e,t){t.some(function(n){try{n.__h.forEach(sn),n.__h=n.__h.filter(function(r){return!r.__||Zn(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],W.__e(r,n.__v)}}),Qr&&Qr(e,t)},W.unmount=function(e){eo&&eo(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{sn(r)}catch(o){t=o}}),n.__H=void 0,t&&W.__e(t,n.__v))};var no=typeof requestAnimationFrame=="function";function Ia(e){var t,n=function(){clearTimeout(r),no&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);no&&(t=requestAnimationFrame(n))}function sn(e){var t=R,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),R=t}function Zn(e){var t=R;e.__c=e.__(),R=t}function br(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function ws(e,t){return typeof t=="function"?t(e):t}function gs(e,t){for(var n in t)e[n]=t[n];return e}function Jn(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 cn(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:Jn(this.props,o)}function r(o){return this.shouldComponentUpdate=n,w(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(cn.prototype=new Me).isPureReactComponent=!0,cn.prototype.shouldComponentUpdate=function(e,t){return Jn(this.props,e)||Jn(this.state,t)};var ro=M.__b;M.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ro&&ro(e)};var Oa=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ys(e){function t(n){var r=gs({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Oa,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var oo=function(e,t){return e==null?null:Ge(Ge(e).map(t))},vs={map:oo,forEach:oo,count:function(e){return e?Ge(e).length:0},only:function(e){var t=Ge(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Ge},La=M.__e;M.__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)}La(e,t,n,r)};var so=M.unmount;function ks(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=gs({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return ks(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 Dt(){this.__u=0,this.t=null,this.__b=null}function Ss(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Cs(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 w(n,s)}return o.displayName="Lazy",o.__f=!0,o}function bt(){this.u=null,this.o=null}M.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),so&&so(e)},(Dt.prototype=new Me).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Ss(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 l;for(r.setState({__a:r.__b=null});l=r.t.pop();)l.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(i,i)},Dt.prototype.componentWillUnmount=function(){this.t=[]},Dt.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]=ks(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&w(Be,null,e.fallback);return o&&(o.__u&=-33),[w(Be,null,t.__a?null:e.children),o]};var io=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Va(e){return this.getChildContext=function(){return e.context},e.children}function Pa(e){var t=this,n=e.i;t.componentWillUnmount=function(){nt(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),nt(w(Va,{context:t.context},e.__v),t.l)}function As(e,t){var n=w(Pa,{__v:e,i:t});return n.containerInfo=t,n}(bt.prototype=new Me).__a=function(e){var t=this,n=Ss(t.__v),r=t.o.get(e);return r[0]++,function(o){var s=function(){t.props.revealOrder?(r.push(o),io(t,e,r)):o()};n?n(s):s()}},bt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Ge(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},bt.prototype.componentDidUpdate=bt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){io(e,n,t)})};var Es=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Da=/^(?: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]/,Ra=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ua=/[A-Z0-9]/g,za=typeof document<"u",Ha=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Ns(e,t,n){return t.__k==null&&(t.textContent=""),nt(e,t),typeof n=="function"&&n(),e?e.__c:null}function Fs(e,t,n){return dr(e,t),typeof n=="function"&&n(),e?e.__c:null}Me.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Me.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var ao=M.event;function ja(){}function Ga(){return this.cancelBubble}function Wa(){return this.defaultPrevented}M.event=function(e){return ao&&(e=ao(e)),e.persist=ja,e.isPropagationStopped=Ga,e.isDefaultPrevented=Wa,e.nativeEvent=e};var yr,qa={enumerable:!1,configurable:!0,get:function(){return this.class}},uo=M.vnode;M.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||za&&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"||Ha(n.type)?c==="onfocus"?i="onfocusin":c==="onblur"?i="onfocusout":Ra.test(i)&&(i=c):c=i="oninput":s&&Da.test(i)?i=i.replace(Ua,"-$&").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=Ge(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Ge(n.children).forEach(function(l){l.props.selected=o.multiple?o.defaultValue.indexOf(l.props.value)!=-1:o.defaultValue==l.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",qa)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Es,uo&&uo(e)};var lo=M.__r;M.__r=function(e){lo&&lo(e),yr=e.__c};var co=M.diffed;M.diffed=function(e){co&&co(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),yr=null};var Ms={ReactCurrentDispatcher:{current:{readContext:function(e){return yr.__n[e.__c].props.value},useCallback:pr,useContext:_r,useDebugValue:wr,useDeferredValue:kr,useEffect:Gt,useId:gr,useImperativeHandle:mr,useInsertionEffect:Sr,useLayoutEffect:Bt,useMemo:Wt,useReducer:kn,useRef:hr,useState:Tt,useSyncExternalStore:Cr,useTransition:xr}}},Za="18.3.1";function Ts(e){return w.bind(null,e)}function qt(e){return!!e&&e.$$typeof===Es}function Bs(e){return qt(e)&&e.type===Be}function $s(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Is(e){return qt(e)?fr.apply(null,arguments):e}function Os(e){return!!e.__k&&(nt(null,e),!0)}function Ls(e){return e&&(e.base||e.nodeType===1&&e)||null}var Vs=function(e,t){return e(t)},Ps=function(e,t){return e(t)},Ds=Be;function vr(e){e()}function kr(e){return e}function xr(){return[!1,vr]}var Sr=Bt,Rs=qt;function Cr(e,t){var n=t(),r=Tt({h:{__:n,v:t}}),o=r[0].h,s=r[1];return Bt(function(){o.__=n,o.v=t,Vn(o)&&s({h:o})},[e,n,t]),Gt(function(){return Vn(o)&&s({h:o}),e(function(){Vn(o)&&s({h:o})})},[e]),n}function Vn(e){var t,n,r=e.v,o=e.__;try{var s=r();return!((t=o)===(n=s)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var Us={useState:Tt,useId:gr,useReducer:kn,useEffect:Gt,useLayoutEffect:Bt,useInsertionEffect:Sr,useTransition:xr,useDeferredValue:kr,useSyncExternalStore:Cr,startTransition:vr,useRef:hr,useImperativeHandle:mr,useMemo:Wt,useCallback:pr,useContext:_r,useDebugValue:wr,version:"18.3.1",Children:vs,render:Ns,hydrate:Fs,unmountComponentAtNode:Os,createPortal:As,createElement:w,createContext:ps,createFactory:Ts,cloneElement:Is,createRef:ls,Fragment:Be,isValidElement:qt,isElement:Rs,isFragment:Bs,isMemo:$s,findDOMNode:Ls,Component:Me,PureComponent:cn,memo:bs,forwardRef:ys,flushSync:Ps,unstable_batchedUpdates:Vs,StrictMode:Ds,Suspense:Dt,SuspenseList:bt,lazy:Cs,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ms};const Ja=Object.freeze(Object.defineProperty({__proto__:null,Children:vs,Component:Me,Fragment:Be,PureComponent:cn,StrictMode:Ds,Suspense:Dt,SuspenseList:bt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ms,cloneElement:Is,createContext:ps,createElement:w,createFactory:Ts,createPortal:As,createRef:ls,default:Us,findDOMNode:Ls,flushSync:Ps,forwardRef:ys,hydrate:Fs,isElement:Rs,isFragment:Bs,isMemo:$s,isValidElement:qt,lazy:Cs,memo:bs,render:Ns,startTransition:vr,unmountComponentAtNode:Os,unstable_batchedUpdates:Vs,useCallback:pr,useContext:_r,useDebugValue:wr,useDeferredValue:kr,useEffect:Gt,useErrorBoundary:Ba,useId:gr,useImperativeHandle:mr,useInsertionEffect:Sr,useLayoutEffect:Bt,useMemo:Wt,useReducer:kn,useRef:hr,useState:Tt,useSyncExternalStore:Cr,useTransition:xr,version:Za},Symbol.toStringTag,{value:"Module"})),Ka=`*,: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]{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}@font-face{font-family:Inter}.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-auto{pointer-events:auto}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.left-0{left:0}.top-0{top:0}.mx-auto{margin-left:auto;margin-right:auto}.my-3{margin-top:.75rem;margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-8{margin-bottom:2rem}.ml-3{margin-left:.75rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.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-10{height:2.5rem}.h-14{height:3.5rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-80{height:20rem}.h-9{height:2.25rem}.h-full{height:100%}.w-1\\/2{width:50%}.w-5{width:1.25rem}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-3xl{max-width:48rem}.max-w-48{max-width:12rem}.max-w-7xl{max-width:80rem}.max-w-96{max-width:24rem}.flex-1{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.flex-grow,.grow{flex-grow:1}.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))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.gap-10{gap:2.5rem}.gap-2{gap:.5rem}.gap-6{gap:1.5rem}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.-space-y-px>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(-1px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(-1px * var(--tw-space-y-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-stretch{align-self:stretch}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.border{border-width:1px}.border-l-4{border-left-width:4px}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(250 204 21 / var(--tw-border-opacity))}.border-zinc-200{--tw-border-opacity: 1;border-color:rgb(228 228 231 / var(--tw-border-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-primary-base{background-color:var(--fl-color-primary)}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.p-4{padding:1rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-20{padding-top:5rem;padding-bottom:5rem}.pb-6{padding-bottom:1.5rem}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.placeholder-red-300::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(252 165 165 / var(--tw-placeholder-opacity))}.placeholder-red-300::placeholder{--tw-placeholder-opacity: 1;color:rgb(252 165 165 / var(--tw-placeholder-opacity))}.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-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;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}.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)}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\\:bg-primary-hover:hover{background-color:var(--fl-color-primary-hover)}.focus\\:z-10:focus{z-index:10}.focus\\:border-primary-base:focus{border-color:var(--fl-color-primary)}.focus\\:border-red-500:focus{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.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-primary-focus:focus{--tw-ring-color: var(--fl-color-primary-focus)}.focus\\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity))}.focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:border-gray-300:disabled{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.disabled\\:bg-gray-100:disabled{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.disabled\\:text-gray-400:disabled{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\\:mb-8{margin-bottom:2rem}.sm\\:space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.sm\\:p-6{padding:1.5rem}.sm\\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\\:pb-8{padding-bottom:2rem}.sm\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\\:leading-8{line-height:2rem}}@media (min-width: 1024px){.lg\\:px-8{padding-left:2rem;padding-right:2rem}}`;function Pe(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Ya(e){return e!=null&&typeof e.GetEnumerator=="function"}function Xa(e){return e!=null&&typeof e.CompareTo=="function"}function Qa(e){return e!=null&&typeof e.Equals=="function"}function eu(e){return e!=null&&typeof e.GetHashCode=="function"}function Kn(e){return e!=null&&typeof e.Dispose=="function"}function q(e){Kn(e)&&e.Dispose()}function qe(){return null}function dn(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 tu{constructor(t){this.iter=t,this.current=qe()}"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 X(e){return Ya(e)?e.GetEnumerator():new tu(e[Symbol.iterator]())}function xn(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 z(e,t){return e.toString(10).padStart(t,"0")}function fo(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function nu(e,t){return e=e<0&&t!=null&&t!==10?65535+e+1:e,e.toString(t)}function ct(e,t){return e=e<0&&t!=null&&t!==10?4294967295+e+1:e,e.toString(t)}class tt{static id(t){return tt.idMap.has(t)||tt.idMap.set(t,++tt.count),tt.idMap.get(t)}}tt.idMap=new WeakMap;tt.count=0;function Ar(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=n*33^e.charCodeAt(t++);return n}function Ue(e){return e*2654435761|0}function ru(e){return Ar(e.toString(32))}function Zt(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 ou(e){return e.getTime()}function su(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=Ze(e[r]);return Zt(n)}function Ze(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Ue(e);case"bigint":return ru(e);case"string":return Ar(e);default:{if(eu(e))return e.GetHashCode();if(Pe(e))return su(e);if(e instanceof Date)return ou(e);if(((t=Object.getPrototypeOf(e))==null?void 0:t.constructor)===Object){const n=Object.values(e).map(r=>Ze(r));return Zt(n)}else return Ue(tt.id(e))}}}function Yn(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 zs(e,t){return Yn(e,t,Te)}function iu(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]||!Te(e[n[o]],t[r[o]]))return!1;return!0}function Te(e,t){var n;return e===t?!0:e==null?t==null:t==null?!1:Qa(e)?e.Equals(t):Pe(e)?Pe(t)&&zs(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&Hs(e,t)===0:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object&&iu(e,t)}function Hs(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+fo(e),r=t.getTime()+fo(t)),n===r?0:n<r?-1:1}function Er(e,t){return e===t?0:e<t?-1:1}function au(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 js(e,t){return au(e,t,Se)}function uu(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=Se(e[i],t[i]),s!==0)return s}return 0}function Se(e,t){var n;return e===t?0:e==null?t==null?0:-1:t==null?1:Xa(e)?e.CompareTo(t):Pe(e)?Pe(t)?js(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?Hs(e,t):-1:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object?uu(e,t):-1}function E(e){const t={};for(const n of e)t[n[0]]=n[1];return t}function lu(e){Pe(e)?e.splice(0):e.clear()}const Sn=new WeakMap;function J(e){if(e==null)return null;const t=(n,r)=>e(n)(r);return Sn.set(t,e),t}function T(e){return Sn.get(e)??(t=>n=>e(t,n))}function Xn(e){if(e==null)return null;const t=(n,r,o)=>e(n)(r)(o);return Sn.set(t,e),t}function Pn(e){return Sn.get(e)??(t=>n=>r=>e(t,n,r))}function cu(e){let t=0,n="[";for(const r of e){if(t===0)n+=$e(r);else if(t===100){n+="; ...";break}else n+="; "+$e(r);t++}return n+"]"}function $e(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 cu(e);{const r=(n=Object.getPrototypeOf(e))==null?void 0:n.constructor;return r===Object&&t<10?"{ "+Object.entries(e).map(([o,s])=>o+" = "+$e(s,t+1)).join(`
|
|
2
|
+
`)+" }":(r==null?void 0:r.name)??""}}return String(e)}function du(e,t){if(t.length===0)return e;{let n,r=!0;return t.length===1?(n=$e(t[0]),r=n.indexOf(" ")>=0):n=t.map(o=>$e(o)).join(", "),e+(r?" (":" ")+n+(r?")":"")}}class V{get name(){return this.cases()[this.tag]}toJSON(){return this.fields.length===0?this.name:[this.name].concat(this.fields)}toString(){return du(this.name,this.fields)}GetHashCode(){const t=this.fields.map(n=>Ze(n));return t.splice(0,0,Ue(this.tag)),Zt(t)}Equals(t){return this===t?!0:dn(this,t)&&this.tag===t.tag?zs(this.fields,t.fields):!1}CompareTo(t){return this===t?0:dn(this,t)?this.tag===t.tag?js(this.fields,t.fields):this.tag<t.tag?-1:1:-1}}function fu(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}function hu(e){return"{ "+Object.entries(e).map(([t,n])=>t+" = "+$e(n)).join(`
|
|
3
|
+
`)+" }"}function mu(e){const t=Object.values(e).map(n=>Ze(n));return Zt(t)}function pu(e,t){if(e===t)return!0;if(dn(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!Te(e[n[r]],t[n[r]]))return!1;return!0}else return!1}function _u(e,t){if(e===t)return 0;if(dn(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=Se(e[n[r]],t[n[r]]);if(o!==0)return o}return 0}else return-1}class Q{toJSON(){return fu(this)}toString(){return hu(this)}GetHashCode(){return mu(this)}Equals(t){return pu(this,t)}CompareTo(t){return _u(this,t)}}class Ie{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 wu{constructor(t){this.message=t}}function gu(e){return e instanceof wu||e instanceof Error}function bu(e){return e instanceof Promise}function fn(e){return gu(e)||bu(e)?e:new Error(String(e))}const yu=$e(Ka),C=Us,$t=Symbol("numeric");function Gs(e){return typeof e=="number"||typeof e=="bigint"||(e==null?void 0:e[$t])}function vu(e,t){return typeof e=="number"||typeof e=="bigint"?e<t?-1:e>t?1:0:e.CompareTo(t)}function Qn(e,t){return typeof e=="number"?e*t:typeof e=="bigint"?e*BigInt(t):e[$t]().multiply(t)}function an(e,t){return typeof e=="number"?e.toFixed(t):typeof e=="bigint"?e:e[$t]().toFixed(t)}function hn(e,t){return typeof e=="number"?e.toPrecision(t):typeof e=="bigint"?e:e[$t]().toPrecision(t)}function mn(e,t){return typeof e=="number"?e.toExponential(t):typeof e=="bigint"?e:e[$t]().toExponential(t)}function pn(e){return typeof e=="number"?(Number(e)>>>0).toString(16):typeof e=="bigint"?BigInt.asUintN(64,e).toString(16):e[$t]().toHex()}const ku=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],xu=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Su=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Cu=["January","February","March","April","May","June","July","August","September","October","November","December"];function me(e,t,n){let r=0,o=t;for(;o<e.length&&e[o]===n;)o++,r++;return r}function ho(e,t){return t>=e.length-1?-1:e.charCodeAt(t+1)}function Au(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 Nr(e,t,n){let r=0,o=0,s="";const i=n?Jt(e.getTime(),1):e;for(;r<t.length;){const a=t[r];switch(a){case"d":switch(o=me(t,r,"d"),r+=o,o){case 1:s+=po(i);break;case 2:s+=z(po(i),2);break;case 3:s+=ku[go(i)];break;case 4:s+=xu[go(i)];break}break;case"f":if(o=me(t,r,"f"),r+=o,o<=3){const _=10**(3-o);s+=z(Math.floor(rn(i)/_),o)}else o<=7&&(s+=(""+rn(i)).padEnd(o,"0"));break;case"F":if(o=me(t,r,"F"),r+=o,o<=3){const _=10**(3-o),b=Math.floor(rn(i)/_);b!=0&&(s+=z(b,o))}else if(o<=7){const _=rn(i);_!=0&&(s+=z(_,3))}break;case"g":o=me(t,r,"g"),r+=o,o<=2&&(s+="A.D.");break;case"h":switch(o=me(t,r,"h"),r+=o,o){case 1:s+=nn(i)%12;break;case 2:s+=z(nn(i)%12,2);break}break;case"H":switch(o=me(t,r,"H"),r+=o,o){case 1:s+=nn(i);break;case 2:s+=z(nn(i),2);break}break;case"K":switch(o=me(t,r,"K"),r+=o,o){case 1:switch(mo(i)){case 1:s+="Z";break;case 2:s+=vt(i.getTimezoneOffset()*-6e4);break}break}break;case"m":switch(o=me(t,r,"m"),r+=o,o){case 1:s+=_o(i);break;case 2:s+=z(_o(i),2);break}break;case"M":switch(o=me(t,r,"M"),r+=o,o){case 1:s+=on(i);break;case 2:s+=z(on(i),2);break;case 3:s+=Su[on(i)-1];break;case 4:s+=Cu[on(i)-1];break}break;case"s":switch(o=me(t,r,"s"),r+=o,o){case 1:s+=wo(i);break;case 2:s+=z(wo(i),2);break}break;case"t":switch(o=me(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=me(t,r,"y"),r+=o,o){case 1:s+=i.getFullYear()%100;break;case 2:s+=z(i.getFullYear()%100,2);break;case 3:s+=z(i.getFullYear(),3);break;case 4:s+=z(i.getFullYear(),4);break;case 5:s+=z(i.getFullYear(),5);break}break;case"z":o=me(t,r,"z"),r+=o;let c="";switch(mo(i)){case 1:c="+00:00";break;case 2:c=vt(i.getTimezoneOffset()*-6e4);break;case 0:c=vt(Ou(i).getTimezoneOffset()*-6e4);break}const l=c[0]==="-"?"-":"+",f=parseInt(c.substring(1,3),10),u=parseInt(c.substring(4,6),10);switch(o){case 1:s+=`${l}${f}`;break;case 2:s+=`${l}${z(f,2)}`;break;default:s+=`${l}${z(f,2)}:${z(u,2)}`;break}break;case":":s+=":",r++;break;case"/":s+="/",r++;break;case"'":case'"':const[m,h]=Au(t,r);s+=m,r+=h;break;case"%":const p=ho(t,r);if(p>=0&&p!==37)r+=2,s+=Nr(i,String.fromCharCode(p),n);else throw new Error("Invalid format string");break;case"\\":const g=ho(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 mo(e){return e.kind||0}function vt(e){const t=e<0;e=Math.abs(e);const n=~~(e/36e5),r=e%36e5/6e4;return(t?"-":"+")+z(n,2)+":"+z(r,2)}function _n(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 Eu(e,t){if(t)return e.toISOString();{const n=e.kind==null?!0:e.kind===2;return z(e.getFullYear(),4)+"-"+z(e.getMonth()+1,2)+"-"+z(e.getDate(),2)+"T"+z(e.getHours(),2)+":"+z(e.getMinutes(),2)+":"+z(e.getSeconds(),2)+"."+z(e.getMilliseconds(),3)+(n?vt(e.getTimezoneOffset()*-6e4):"")}}function Nu(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+vt(t)}function Fu(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," ")+vt(e.offset??0);if(t.length===1)switch(t){case"D":case"d":return _n(n,"first");case"T":case"t":return _n(n,"second");case"O":case"o":return Nu(n,e.offset??0);default:throw new Error("Unrecognized Date print format")}else return Nr(n,t,!0)}function Mu(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?_n(e,"first"):e.toLocaleDateString();case"T":case"t":return n?_n(e,"second"):e.toLocaleTimeString();case"O":case"o":return Eu(e,n);default:throw new Error("Unrecognized Date print format")}else return Nr(e,t,n)}function Ws(e,t,n){return e.offset!=null?Fu(e,t):Mu(e,t)}function Jt(e,t){const n=new Date(e);return n.kind=(t??0)|0,n}function Tu(){return Jt(-621355968e5,1)}function qs(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 Bu(e,t=!1){const[n,r]=qs(e),o=r!=null?t&&r==="Z"?1:2:0;return Jt(n.getTime(),o)}function $u(e,t){try{return t.contents=Bu(e),!0}catch{return!1}}function Iu(e){return e.kind===1?e:Jt(e.getTime(),1)}function Ou(e){return e.kind===2?e:Jt(e.getTime(),2)}function po(e){return e.kind===1?e.getUTCDate():e.getDate()}function nn(e){return e.kind===1?e.getUTCHours():e.getHours()}function rn(e){return e.kind===1?e.getUTCMilliseconds():e.getMilliseconds()}function _o(e){return e.kind===1?e.getUTCMinutes():e.getMinutes()}function on(e){return(e.kind===1?e.getUTCMonth():e.getMonth())+1}function wo(e){return e.kind===1?e.getUTCSeconds():e.getSeconds()}function go(e){return e.kind===1?e.getUTCDay():e.getDay()}function Zs(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 Lu(e,t,n=0){return e.lastIndex=n,e.test(t)}function bo(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 Fr(e,t,n,r,o=0){function s(){let i=arguments[0];if(r){r--;const a=[],c=arguments.length,l=typeof arguments[c-1]!="string";let f=l?c-3:c-2;for(let u=0;u<f;u++)a.push(arguments[u]);a.index=arguments[f++],a.input=arguments[f++],l&&(a.groups=arguments[f]),i=n(a)}return i}if(typeof e=="string"){const i=e;e=Zs(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=bo(e,a),l=bo.length>r?(i=c[r-1],a.substring(0,i.index+i[0].length)):a;return t.substring(0,o)+l.replace(e,n)+t.substring(o+l.length)}else return t.replace(e,n)}const Lt=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,Vu=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function Ks(e,t){return vu(e,t)<0}function At(e){return{input:e,cont:Ru(e)}}function Ys(e,t){return typeof t=="string"?e(t):t.cont(e)}function Ut(e){return Ys(t=>t,e)}function Pu(e){return Ys(t=>{throw new Error(t)},e)}function Du(e,t,n,r,o){let s="";if(t=t||"",o=o||"",Gs(e))switch(o.toLowerCase()!=="x"&&(Ks(e,0)?(e=Qn(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=an(e,r);break;case"g":case"G":e=r!=null?hn(e,r):hn(e);break;case"e":case"E":e=r!=null?mn(e,r):mn(e);break;case"x":e=pn(e);break;case"X":e=pn(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=Ws(e):e=$e(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=zt(e,n-s.length,c,a),e=s+e):e=zt(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 l of s){const[,,f,u,m,h]=c[0];let p=u;if(o>=0)p=o,o=-1;else if(p==="*"){if(l<0)throw new Error("Non-negative number required");o=l;continue}i+=a[0],i+=Du(l,f,p,m,h),a.splice(0,1),c.splice(0,1)}return c.length===0?(i+=a[0],e(i)):Xs(e,a,c,i,o)}}function Ru(e){return t=>{Lt.lastIndex=0;const n=[],r=[];let o=0,s=Lt.exec(e);for(;s;){const i=s.index+(s[1]||"").length;n.push(e.substring(o,i).replace(/%%/g,"%")),r.push(s),o=Lt.lastIndex,Lt.lastIndex-=1,s=Lt.exec(e)}return n.length===0?t(e.replace(/%%/g,"%")):(n.push(e.substring(o).replace(/%%/g,"%")),Xs(t,n,r))}}function Uu(e,...t){let n;return n=e,n.replace(Vu,(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 l=t[o];if(Gs(l))switch(a=a==null?null:parseInt(a,10),i){case"f":case"F":a=a??2,l=an(l,a);break;case"g":case"G":l=a!=null?hn(l,a):hn(l);break;case"e":case"E":l=a!=null?mn(l,a):mn(l);break;case"p":case"P":a=a??2,l=an(Qn(l,100),a)+" %";break;case"d":case"D":l=a!=null?Dn(String(l),a,"0"):String(l);break;case"x":case"X":l=a!=null?Dn(pn(l),a,"0"):pn(l),i==="X"&&(l=l.toUpperCase());break;default:if(c){let f="";l=c.replace(/([0#,]+)(\.[0#]+)?/,(u,m,h)=>{Ks(l,0)&&(l=Qn(l,-1),f="-"),h=h==null?"":h.substring(1),l=an(l,Math.max(h.length,0));let[p,g]=l.split(".");g||(g="");const _=m.replace(/,/g,"").replace(/^#+/,"").length;p=Dn(p,_,"0");const b=h.replace(/#+$/,"").length;if(b>g.length?g=Hu(g,b,"0"):b<g.length&&(g=g.substring(0,b)+g.substring(b).replace(/0+$/,"")),m.indexOf(",")>0){const k=p.length%3,F=Math.floor(p.length/3);let y=k>0?p.substr(0,k)+(F>0?",":""):"";for(let Z=0;Z<F;Z++)y+=p.substr(k+Z*3,3)+(Z<F-1?",":"");p=y}return g.length>0?p+"."+g:p}),l=f+l}}else l instanceof Date?l=Ws(l,c||i):l=$e(l);return s=parseInt((s||" ").substring(1),10),isNaN(s)||(l=zt(String(l),Math.abs(s)," ",s<0)),l})}function zu(e){return typeof e!="string"||e.length===0}function Qs(e){return typeof e!="string"||/^\s*$/.test(e)}function H(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function zt(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 Dn(e,t,n){return zt(e,t,n)}function Hu(e,t,n){return zt(e,t,n,!0)}function ju(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,l=0;do{const f=a.exec(e);if(f===null){const u=s?e.substring(l).trim():e.substring(l);(!o||u.length>0)&&i.push(u),c=!1}else{const u=s?e.substring(l,f.index).trim():e.substring(l,f.index);(!o||u.length>0)&&(n!=null&&i.length+1===n?(i.push(s?e.substring(l).trim():e.substring(l)),c=!1):i.push(u)),l=a.lastIndex}}while(c);return i}function Gu(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 dt{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return Ze(this.value)}Equals(t){return t==null?!1:Te(this.value,t instanceof dt?t.value:t)}CompareTo(t){return t==null?1:Se(this.value,t instanceof dt?t.value:t)}}function v(e){if(e==null)throw new Error("Option has no value");return e instanceof dt?e.value:e}function ei(e){return e instanceof dt?e.value:e}function xe(e){return e==null||e instanceof dt?new dt(e):e}function Cn(e,t){return e!=null?v(e):t}class ot{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 re(this)}GetHashCode(){return ti(this)}Equals(t){return er(this,t)}}function ze(e){return e.generics!=null?e.generics:[]}function ti(e){const t=Ar(e.fullname),n=ze(e).map(ti);return Zt([t,...n])}function er(e,t){return e.fullname===""?t.fullname===""&&Yn(wn(e),wn(t),([n,r],[o,s])=>n===o&&er(r,s)):e.fullname===t.fullname&&Yn(ze(e),ze(t),er)}function Kt(e,t,n,r){return new ot(e,t,n,void 0,r)}function Ht(e){return new ot("Microsoft.FSharp.Core.FSharpOption`1",[e])}const Wu=new ot("System.Object"),oe=new ot("System.String");function Mr(e){if(Array.isArray(e))return e[0];if(e instanceof ot){const t=An(e);if(t!=null)return Mr(t)+"[]";{const n=e.fullname.lastIndexOf(".");return n===-1?e.fullname:e.fullname.substr(n+1)}}else return e.name}function re(e){const t=An(e);return t!=null?re(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(n=>re(n)).join(",")+"]"}function qu(e){return An(e)!=null}function An(e){var t;return e.fullname==="[]"&&((t=e.generics)==null?void 0:t.length)===1?e.generics[0]:void 0}function Zu(e){return e.generics!=null&&e.generics.length>0}function ni(e){return e.enumCases!=null&&e.enumCases.length>0}function Ju(e){return e.generics==null?e:new ot(e.fullname,e.generics.map(()=>Wu))}function Ku(e){var t;return(t=e.generics)==null?void 0:t[0]}function pt(e){if(ni(e)&&e.enumCases!=null)return e.enumCases.map(t=>t[1]);throw new Error(`${e.fullname} is not an enum type`)}function Yu(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 _t(e,t){const n=parseInt(t,10);return Yu(e,isNaN(n)?t:n)[1]}function Xu(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function wn(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function Qu(e){if(ri(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function el(e){return e instanceof ot?e.cases!=null:e instanceof V}function tl(e){return e instanceof ot?e.fields!=null:e instanceof Q}function ri(e){return e.fullname.startsWith("System.Tuple")}function nl(e){return e.fields==null?[]:e.fields}function rl(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 ol(e,t){const n=wn(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 sl(e,t){return e}const oi="Collection was empty.";function si(e,t){return new Array(t)}function yo(e,t){return e>t?e:t}function Tr(e,t,n,r){const o=t|0;return e.fill(r,o,o+n)}function En(e,t,n){const r=t.length|0,o=si(n,r);for(let s=0;s<=r-1;s++)rt(o,s,e(le(s,t)));return o}function il(e,t){const n=si(t,1);return rt(n,0,e),n}function al(e){return e.slice().reverse()}function ul(e,t){return t.find(e)}function ll(e,t,n){const r=[];for(let o=0;o<=t.length-1;o++){const s=e(le(o,t));if(s!=null){const i=v(s);r.push(i)}}return Te(n,qe())?r:En(o=>o,r,n)}function Nn(e,t,n){const r=e;return n.reduce(r,t)}function le(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 rt(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 fe extends Q{constructor(t,n){super(),this.head=t,this.tail=n}toString(){return"["+H("; ",this)+"]"}Equals(t){const n=this;return n===t?!0:((o,s)=>{e:for(;;){const i=o,a=s,c=i.tail,l=a.tail;if(c!=null)if(l!=null){const f=v(c),u=v(l);if(Te(i.head,a.head)){o=f,s=u;continue e}else return!1}else return!1;else return l==null}})(n,t)}GetHashCode(){return((r,o,s)=>{e:for(;;){const i=r,a=o,c=s,l=c.tail;if(l!=null){const f=v(l);if(i>18)return a|0;r=i+1,o=(a<<1)+Ze(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,l=a.tail;if(c!=null)if(l!=null){const f=v(c),u=v(l),m=Se(i.head,a.head)|0;if(m===0){o=f,s=u;continue e}else return m|0}else return 1;else return l!=null?-1:0}})(this,t)|0}GetEnumerator(){return dl(this)}[Symbol.iterator](){return xn(X(this))}"System.Collections.IEnumerable.GetEnumerator"(){return X(this)}}class cl{constructor(t){this.xs=t,this.it=this.xs,this.current=qe()}"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=v(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=qe()}Dispose(){}}function dl(e){return new cl(e)}function ne(){return new fe(qe(),void 0)}function Yt(e,t){return new fe(e,t)}function ft(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=v(i);continue e}else return o|0}})(0,e)|0}function Et(e){if(e.tail!=null)return e.head;throw new Error(oi+"\\nParameter name: list")}function he(e){const t=e.tail;if(t!=null)return v(t);throw new Error(oi+"\\nParameter name: list")}function se(){return ne()}function ge(e,t){return Yt(e,t)}function O(e){return Yt(e,ne())}function I(e){return ft(e)}function vo(e){return ai(e)}function A(e){return Et(e)}function $(e){return he(e)}function Xt(e){const t=ai(e)|0,n=Tr(new Array(t),0,t,null);return((o,s)=>{e:for(;;){const i=o,a=s;if(!ft(a)){rt(n,i,Et(a)),o=i+1,s=he(a);continue e}break}})(0,e),n}function De(e,t,n){let r=t,o=n;for(;!ft(o);)r=e(r,A(o)),o=he(o);return r}function Br(e){return De((t,n)=>Yt(n,t),ne(),e)}function fl(e,t,n){return ii(e,Xt(t),n)}function hl(e,t,n){return((o,s,i)=>{e:for(;;){const a=o,c=s,l=i;if(ft(l))return c;o=a+1,s=e(a,c,Et(l)),i=he(l);continue e}})(0,t,n)}function ml(e,t,n,r){let o=t,s=n,i=r;for(;!ft(s)&&!ft(i);)o=e(o,Et(s),Et(i)),s=he(s),i=he(i);return o}function gn(e,t){De((n,r)=>{e(r)},void 0,t)}function j(e,t){let n=t;for(let r=e.length-1;r>=0;r--)n=Yt(le(r,e),n);return n}function S(e){return j(e,ne())}function pl(e){let t,n;if(Pe(e))return S(e);if(e instanceof fe)return e;{const r=ne();let o=r;const s=X(e);try{for(;s["System.Collections.IEnumerator.MoveNext"]();){const c=s["System.Collections.Generic.IEnumerator`1.get_Current"]();o=(t=o,n=new fe(c,void 0),t.tail=n,n)}}finally{q(s)}const i=o,a=ne();return i.tail=a,he(r)}}function $r(e,t){return De((n,r)=>Yt(r,n),t,Br(e))}function _l(e,t){const n=ne(),r=hl((s,i,a)=>{const c=new fe(e(s,a),void 0);return i.tail=c,c},n,t),o=ne();return r.tail=o,he(n)}function ui(e,t){const n=ne(),r=De((s,i)=>{const a=new fe(e(i),void 0);return s.tail=a,a},n,t),o=ne();return r.tail=o,he(n)}function wl(e,t){return(r=>{e:for(;;){const o=r;if(ft(o))return;{const s=e(Et(o));if(s==null){r=he(o);continue e}else return s}}})(t)}function gl(e,t){const n=ne(),r=De((s,i)=>{if(e(i)){const a=new fe(i,void 0);return s.tail=a,a}else return s},n,t),o=ne();return r.tail=o,he(n)}function bl(e,t){const n=ne(),r=ne(),o=n,s=De((c,l)=>{let f,u;const m=c[0],h=c[1];return e(l)?[(f=new fe(l,void 0),m.tail=f,f),h]:[m,(u=new fe(l,void 0),h.tail=u,u)]},[o,r],t),i=ne();s[0].tail=i;const a=ne();return s[1].tail=a,[he(o),he(r)]}function yl(e,t){const n=ne(),r=De((s,i)=>{const a=e(i);if(a==null)return s;{const c=new fe(v(a),void 0);return s.tail=c,c}},n,t),o=ne();return r.tail=o,he(n)}function li(e,t){return De((n,r)=>n&&e(r),!0,t)}class vl{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 Fn extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Fn.prototype)}}class Ir{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>Ir.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function je(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new Fn);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(n){t.onError(fn(n))}});else try{e(t)}catch(n){t.onError(fn(n))}}}function kl(e,t){return je(n=>{e({onSuccess:r=>{try{t(r)(n)}catch(o){n.onError(fn(o))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})})}function xl(e){return je(t=>t.onSuccess(e))}class Sl{Bind(t,n){return kl(t,n)}Combine(t,n){return this.Bind(t,()=>n)}Delay(t){return je(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 xl(t)}ReturnFrom(t){return t}TryFinally(t,n){return je(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 je(r=>{t({onSuccess:r.onSuccess,onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline,onError:o=>{try{n(o)(r)}catch(s){r.onError(fn(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 je(t=>t.onSuccess(void 0))}}const te=new Sl;function Cl(e){return new ci(0,[e])}function Al(e){return new ci(1,[e])}class ci extends V{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Choice1Of2","Choice2Of2"]}}function El(e){return Cl(e)}function Nl(e){return Al(e)}function Rn(e){}const Fl=new vl;function Ml(e){return je(t=>{e({onSuccess:n=>t.onSuccess(El(n)),onError:n=>t.onSuccess(Nl(n)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function Tl(e){return je(t=>e([t.onSuccess,t.onError,t.onCancel]))}function Bl(e){return je(t=>{let n;const r=setTimeout(()=>{t.cancelToken.removeListener(n),t.onSuccess(void 0)},e);n=t.cancelToken.addListener(()=>{clearTimeout(r),t.onCancel(new Fn)})})}function $l(e,t){return Ol(e,t)}function Il(e,t){return $l(e,t)}function Ol(e,t,n,r,o){typeof t!="function"&&(o=t,t=void 0);const s=new Ir;e({onSuccess:t||Rn,onError:Rn,onCancel:Rn,cancelToken:o||Fl,trampoline:s})}class Or extends V{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class Ll extends V{constructor(t,n){super(),this.tag=0,this.fields=[t,n]}cases(){return["Header"]}}class Vl extends V{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Empty","Text","Binary","Form"]}}class Mn extends Q{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 gt extends V{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class di extends Q{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 Pl(e){throw new Error(e)}const Dl="Enumeration already finished.",Rl="Enumeration has not started. Call MoveNext.",fi="The input sequence has an insufficient number of elements.",Ul="Reset is not supported on this enumerator.";function zl(){throw new Error(Ul)}function Lr(){throw new Error(Rl)}function tr(){throw new Error(Dl)}class Hl{constructor(t){this.f=t}toString(){const t=this;let n=0,r="seq [";const o=X(t);try{for(;n<4&&o["System.Collections.IEnumerator.MoveNext"]();)n>0&&(r=r+"; "),r=r+$e(o["System.Collections.Generic.IEnumerator`1.get_Current"]()),n=n+1|0;return n===4&&(r=r+"; ..."),r+"]"}finally{q(o)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return xn(X(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function jl(e){return new Hl(e)}class Gl{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"(){zl()}Dispose(){this.dispose()}}function Tn(e,t,n){return new Gl(e,t,n)}function Wl(e){let t,n,r=!1,o=!1,s;const i=()=>{if(o=!0,n!=null){const a=v(n);try{q(a)}finally{n=void 0}}if(t!=null){const a=v(t);try{q(a)}finally{t=void 0}}};return Tn(()=>(r?o&&tr():Lr(),s!=null?v(s):tr()),()=>{let a;if(r||(r=!0),o)return!1;{let c;for(;c==null;){const l=t,f=n;if(l!=null)if(f!=null){const u=v(f);if(u["System.Collections.IEnumerator.MoveNext"]())s=xe(u["System.Collections.Generic.IEnumerator`1.get_Current"]()),c=!0;else try{q(u)}finally{n=void 0}}else{const u=v(l);u["System.Collections.IEnumerator.MoveNext"]()?n=(a=u["System.Collections.Generic.IEnumerator`1.get_Current"](),X(a)):(i(),c=!1)}else t=X(e)}return v(c)}},()=>{o||i()})}function ql(e,t){return Tn(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{q(t)}finally{}})}function hi(e,t,n){let r=!1,o,s=xe(e());const i=()=>{if(s!=null){const c=v(s);try{n(c)}finally{s=void 0}}},a=()=>{try{i()}finally{o=void 0}};return Tn(()=>(r||Lr(),o!=null?v(o):tr()),()=>{if(r||(r=!0),s!=null){const c=v(s);let l;try{l=t(c)}catch(f){throw a(),f}return l!=null?(o=l,!0):(a(),!1)}else return!1},i)}function Zl(e,t){let n,r=t;return Tn(()=>{if(n!=null){const o=v(n)[0];return v(n)[1],o}else return Lr()},()=>(n=e(r),n!=null?(v(n)[0],r=v(n)[1],!0):!1),()=>{})}function Jl(e,t){t==null&&Pl(e)}function It(e){return jl(e)}function ht(e){return Jl("source",e),X(e)}function P(e){return It(()=>X(e()))}function mi(e){return It(()=>Wl(e))}function Kl(e,t){return It(()=>Zl(e,t))}function Re(){return P(()=>new Array(0))}function K(e){return P(()=>il(e))}function Yl(e){return e instanceof fe?Xt(e):Array.from(e)}function Oe(e){return Pe(e)?S(e):e instanceof fe?e:pl(e)}function Xl(e,t,n){return It(()=>hi(e,t,n))}function Ql(e,t,n){return It(()=>{let r=-1;return hi(e,o=>(r=r+1|0,t(r,o)),n)})}function ye(e,t){return mi([e,t])}function ec(e,t,n){const r=ht(t);try{const o=ht(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{q(o)}}finally{q(r)}}function wt(e,t,n){const r=ht(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{q(r)}}function pi(e,t,n){const r=ht(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{q(r)}}function _i(e,t){pi((n,r)=>{e(r)},void 0,t)}function Ve(e,t){return Xl(()=>ht(t),n=>n["System.Collections.IEnumerator.MoveNext"]()?xe(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{q(n)})}function tc(e){return P(()=>al(Yl(e)))}function nc(e,t){return It(()=>{const n=ht(t);try{for(let r=1;r<=e;r++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(fi+"\\nParameter name: source");return ql(()=>{},n)}catch(r){throw q(n),r}})}function rc(e,t){return Ql(()=>ht(t),(n,r)=>{if(n<e){if(r["System.Collections.IEnumerator.MoveNext"]())return xe(r["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(fi+"\\nParameter name: source")}else return},n=>{q(n)})}function oc(e,t){return P(()=>mi(Ve(e,t)))}class wi{constructor(t,n){this.k=t,this.v=n}}function bn(e,t){return new wi(e,t)}function ce(e){return e.k}function be(e){return e.v}class Y extends wi{constructor(t,n,r,o,s){super(t,n),this.left=r,this.right=o,this.h=s|0}}function un(e,t,n,r,o){return new Y(e,t,n,r,o)}function ae(e){return e.left}function ue(e){return e.right}function lt(e){return e.h}function gi(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=v(r);if(o instanceof Y){const s=o;e=gi(n+1,ae(s)),t=ue(s);continue e}else return n+1|0}else return n|0}}function sc(e){return gi(0,e)}function Ae(e,t,n,r){let o,s,i;const a=e;if(a!=null){const u=v(a);i=u instanceof Y?(o=u,lt(o)):1}else i=0;let c;const l=r;if(l!=null){const u=v(l);c=u instanceof Y?(s=u,lt(s)):1}else c=0;const f=(i<c?c:i)|0;return f===0?bn(t,n):un(t,n,e,r,f+1)}function ko(e,t,n,r){let o,s,i,a,c,l,f,u,m;const h=e;if(h!=null){const _=v(h);m=_ instanceof Y?(o=_,lt(o)):1}else m=0;let p;const g=r;if(g!=null){const _=v(g);p=_ instanceof Y?(s=_,lt(s)):1}else p=0;if(p>m+2){const _=v(r);if(_ instanceof Y){const b=_;if(i=ae(b),(i!=null?(a=v(i),a instanceof Y?(c=a,lt(c)):1):0)>m+1){const k=v(ae(b));if(k instanceof Y){const F=k;return Ae(Ae(e,t,n,ae(F)),ce(F),be(F),Ae(ue(F),ce(b),be(b),ue(b)))}else throw new Error("internal error: Map.rebalance")}else return Ae(Ae(e,t,n,ae(b)),ce(b),be(b),ue(b))}else throw new Error("internal error: Map.rebalance")}else if(m>p+2){const _=v(e);if(_ instanceof Y){const b=_;if(l=ue(b),(l!=null?(f=v(l),f instanceof Y?(u=f,lt(u)):1):0)>p+1){const k=v(ue(b));if(k instanceof Y){const F=k;return Ae(Ae(ae(b),ce(b),be(b),ae(F)),ce(F),be(F),Ae(ue(F),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return Ae(ae(b),ce(b),be(b),Ae(ue(b),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return Ae(e,t,n,r)}function Nt(e,t,n,r){if(r!=null){const o=v(r),s=e.Compare(t,ce(o))|0;if(o instanceof Y){const i=o;return s<0?ko(Nt(e,t,n,ae(i)),ce(i),be(i),ue(i)):s===0?un(t,n,ae(i),ue(i),lt(i)):ko(ae(i),ce(i),be(i),Nt(e,t,n,ue(i)))}else return s<0?un(t,n,void 0,r,2):s===0?bn(t,n):un(t,n,r,void 0,2)}else return bn(t,n)}function bi(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s!=null){const i=v(s),a=r.Compare(o,ce(i))|0;if(a===0)return xe(be(i));if(i instanceof Y){const c=i;e=r,t=o,n=a<0?ae(c):ue(c);continue e}else return}else return}}function ic(e,t,n){const r=bi(e,t,n);if(r==null)throw new Error;return v(r)}function ac(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s!=null){const i=v(s),a=r.Compare(o,ce(i))|0;if(i instanceof Y){const c=i;if(a<0){e=r,t=o,n=ae(c);continue e}else{if(a===0)return!0;e=r,t=o,n=ue(c);continue e}}else return a===0}else return!1}}function yi(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=v(r);if(o instanceof Y){const s=o;yi(n,ae(s)),n(ce(s),be(s)),e=n,t=ue(s);continue e}else n(ce(o),be(o))}break}}function uc(e,t){yi(e,t)}function lc(e,t,n){let r=n;uc((o,s)=>{rt(t,r,[o,s]),r=r+1|0},e)}function cc(e,t){return De((n,r)=>Nt(e,r[0],r[1],n),void 0,t)}function dc(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=Nt(r,i[0],i[1],o),n=s;continue e}else return o}}function fc(e,t){let n=void 0;for(let r=0;r<=t.length-1;r++){const o=le(r,t);n=Nt(e,o[0],o[1],n)}return n}function vi(e,t){if(Pe(t))return fc(e,t);if(t instanceof fe)return cc(e,t);{const n=X(t);try{return dc(e,void 0,n)}finally{q(n)}}}class hc extends Q{constructor(t,n){super(),this.stack=t,this.started=n}}function ki(e){e:for(;;){const t=e;if(I(t))return se();{const n=$(t),r=A(t);if(r!=null){const o=v(r);if(o instanceof Y){const s=o;e=j([ae(s),bn(ce(s),be(s)),ue(s)],n);continue e}else return t}else{e=n;continue e}}}}function xo(e){return new hc(ki(O(e)),!1)}function mc(){throw new Error("enumeration not started")}function pc(){throw new Error("enumeration already finished")}function So(e){if(e.started){const t=e.stack;if(I(t))return pc();if(A(t)!=null){const n=v(A(t));if(n instanceof Y)throw new Error("Please report error: Map iterator, unexpected stack for current");return[ce(n),be(n)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return mc()}function _c(e){if(e.started){const t=e.stack;if(I(t))return!1;if(A(t)!=null){if(v(A(t))instanceof Y)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=ki($(t)),!I(e.stack)}else throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}else return e.started=!0,!I(e.stack)}function Co(e){let t=xo(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return So(t)},"System.Collections.IEnumerator.get_Current"(){return So(t)},"System.Collections.IEnumerator.MoveNext"(){return _c(t)},"System.Collections.IEnumerator.Reset"(){t=xo(e)},Dispose(){}}}class yn{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return yc(this)|0}Equals(t){const n=this;if(t instanceof yn){const r=t,o=X(n);try{const s=X(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"](),l=s["System.Collections.Generic.IEnumerator`1.get_Current"]();return Te(c[0],l[0])&&Te(c[1],l[1])?i():!1}else return!0;else return!1};return i()}finally{q(s)}}finally{q(o)}}else return!1}toString(){return"map ["+H("; ",Ve(n=>Uu("({0}, {1})",n[0],n[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return Co(this.tree)}[Symbol.iterator](){return xn(X(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Co(this.tree)}CompareTo(t){const n=this;if(t instanceof yn)return ec((o,s)=>{const i=n.comparer.Compare(o[0],s[0])|0;return(i!==0?i:Se(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 Eo(n,t[0])&&Te(Ao(n,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){lc(this.tree,t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Un(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Un(this)|0}get size(){return Un(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return Ve(n=>[n[0],n[1]],this)}get(t){return Ao(this,t)}has(t){return Eo(this,t)}keys(){return Ve(n=>n[0],this)}set(t,n){throw new Error("Map cannot be mutated")}values(){return Ve(n=>n[1],this)}forEach(t,n){const r=this;_i(o=>{t(o[1],o[0],r)},r)}}function Bn(e,t){return new yn(e,t)}function wc(e){return Bn(e,void 0)}function gc(e,t,n){return Bn(e.comparer,Nt(e.comparer,t,n,e.tree))}function Ao(e,t){return ic(e.comparer,t,e.tree)}function Un(e){return sc(e.tree)}function Eo(e,t){return ac(e.comparer,t,e.tree)}function bc(e,t){return bi(e.comparer,t,e.tree)}function yc(e){const t=(o,s)=>(o<<1)+s+631;let n=0;const r=X(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const o=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=t(n,Ze(o[0]))|0,n=t(n,Ze(o[1]))|0}}finally{q(r)}return n|0}function vc(e,t,n){return gc(n,e,t)}function kc(e,t){return bc(t,e)}function xc(e,t){return Bn(t,vi(t,e))}function Sc(e,t){return Bn(t,vi(t,e))}function xi(e){return wc(e)}function Si(e){return new Ll("Authorization",e)}const at=new Mn("",new Or(0,[]),se(),!1,void 0,void 0,void 0,new Vl(0,[]));new di(0,"","","",xi({Compare:Er}),new gt(0,[""]));function No(e,t){return zu(t)?new Array(0):ju(t,[e],void 0,0)}function Cc(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 Ci(e){return new Mn(e,at.method,at.headers,at.withCredentials,at.overridenMimeType,at.overridenResponseType,at.timeout,at.content)}function Ai(e,t){return new Mn(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Ei(e,t){return new Mn(t.url,t.method,$r(t.headers,O(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Ni(e){return Tl(t=>{const n=new XMLHttpRequest;n.open(Cc(e.method),e.url),n.onreadystatechange=()=>{let c,l,f,u,m,h,p;n.readyState===4&&t[0]((c=(l=n.responseType,l===""||l==="text"?n.responseText:""),f=n.status|0,u=n.responseType,m=(h=n.responseType,h===""?new gt(0,[n.responseText]):h==="text"?new gt(0,[n.responseText]):h==="arraybuffer"?new gt(2,[n.response]):h==="blob"?new gt(1,[n.response]):new gt(3,[n.response])),p=Sc(ll(g=>{const _=S(No(":",g));if(!I(_))return[A(_).toLocaleLowerCase(),H(":",$(_)).trim()]},No(`\r
|
|
4
|
+
`,n.getAllResponseHeaders())),{Compare:Er}),new di(f,c,u,n.responseURL,p,m)))};const r=X(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{q(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(xe(a.fields[0]));break}case 3:{n.send(xe(a.fields[0]));break}case 2:{n.send(xe(a.fields[0]));break}default:n.send()}})}function Ac(e){return new d(0,[e])}function Fi(e){return new d(1,[e])}class d extends V{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Ok","Error"]}}function Je(e,t){return t.tag===0?Ac(e(t.fields[0])):Fi(t.fields[0])}function Ec(e,t){return t.tag===0?e(t.fields[0]):Fi(t.fields[0])}function Nc(e){if(e.tag===0)return xe(e.fields[0])}class x extends V{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class Vr extends V{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function Fo(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function Fc(e,t){switch(e.tag){case 2:return Fr(Fo(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return Fo(t)}}const Mc=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,Mo=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Tc=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Bc(e){function t(r){return r.replace(Mo,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(Mc.test(n))return Gu(n,"{","}","(",")");if(Mo.test(n))return t(n);if(Tc.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=Bc(e),!0}catch{return!1}}var nr;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(nr||(nr={}));function Ic(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}function To(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 Oc(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 Lc(e,t){if(t&nr.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 Vc(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||Lc(s,t),!Oc(n).test(i))return Ic(o,n)}return null}function Pc(e,t,n,r,o){const s=Vc(e,t,o);if(s!=null){let i=Number.parseInt(s.sign+s.digits,s.radix);if(!Number.isNaN(i)){const[a,c]=To(!0,r);!n&&s.radix!==10&&i>=a&&i<=c&&(i=i<<32-r>>32-r);const[l,f]=To(n,r);if(i>=l&&i<=f)return i}}throw new Error(`The input string ${e} was not in a correct format.`)}function Ot(e,t,n,r,o){try{return o.contents=Pc(e,t,n,r),!0}catch{return!1}}function Mi(e,t){Dc(t);const n=new Date(e);return n.offset=t??new Date().getTimezoneOffset()*-6e4,n}function Dc(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 Rc(){return Mi(-621355968e5,0)}function Uc(e){const[t,n]=qs(e),r=n==null?t.getTimezoneOffset()*-6e4:n==="Z"?0:n*6e4;return Mi(t.getTime(),r)}function zc(e,t){try{return t.contents=Uc(e),!0}catch{return!1}}function Bo(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return Hc(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 Hc(e){return Number(BigInt(e)/10000n)}function jc(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 Bo(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],l=+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*Bo(o,c,l,i,s)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function Gc(e,t){try{return t.contents=jc(e),!0}catch{return!1}}class Ti{constructor(t){this.k=t}}function _e(e){return new Ti(e)}function N(e){return e.k}class L extends Ti{constructor(t,n,r,o){super(t),this.left=n,this.right=r,this.h=o|0}}function we(e,t,n,r){return new L(e,t,n,r)}function U(e){return e.left}function D(e){return e.right}function yt(e){return e.h}function Bi(e,t){e:for(;;){const n=e,r=t;if(n!=null){const o=v(n);if(o instanceof L){const s=o;e=U(s),t=Bi(D(s),r+1);continue e}else return r+1|0}else return r|0}}function Wc(e){return Bi(e,0)}function Ee(e,t,n){let r,o,s;const i=e;if(i!=null){const f=v(i);s=f instanceof L?(r=f,yt(r)):1}else s=0;let a;const c=n;if(c!=null){const f=v(c);a=f instanceof L?(o=f,yt(o)):1}else a=0;const l=(s<a?a:s)|0;return l===0?_e(t):we(t,e,n,l+1)}function $o(e,t,n){let r,o,s,i,a,c,l,f,u;const m=e;if(m!=null){const g=v(m);u=g instanceof L?(r=g,yt(r)):1}else u=0;let h;const p=n;if(p!=null){const g=v(p);h=g instanceof L?(o=g,yt(o)):1}else h=0;if(h>u+2){const g=v(n);if(g instanceof L){const _=g;if(s=U(_),(s!=null?(i=v(s),i instanceof L?(a=i,yt(a)):1):0)>u+1){const b=v(U(_));if(b instanceof L){const k=b;return Ee(Ee(e,t,U(k)),N(k),Ee(D(k),N(_),D(_)))}else throw new Error("internal error: Set.rebalance")}else return Ee(Ee(e,t,U(_)),N(_),D(_))}else throw new Error("internal error: Set.rebalance")}else if(u>h+2){const g=v(e);if(g instanceof L){const _=g;if(c=D(_),(c!=null?(l=v(c),l instanceof L?(f=l,yt(f)):1):0)>h+1){const b=v(D(_));if(b instanceof L){const k=b;return Ee(Ee(U(_),N(_),U(k)),N(k),Ee(D(k),t,n))}else throw new Error("internal error: Set.rebalance")}else return Ee(U(_),N(_),Ee(D(_),t,n))}else throw new Error("internal error: Set.rebalance")}else return Ee(e,t,n)}function Ft(e,t,n){if(n!=null){const r=v(n),o=e.Compare(t,N(r))|0;if(r instanceof L){const s=r;return o<0?$o(Ft(e,t,U(s)),N(s),D(s)):o===0?n:$o(U(s),N(s),Ft(e,t,D(s)))}else{const s=e.Compare(t,N(r))|0;return s<0?we(t,void 0,n,2):s===0?n:we(t,n,void 0,2)}}else return _e(t)}function $i(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s!=null){const i=v(s),a=r.Compare(o,N(i))|0;if(i instanceof L){const c=i;if(a<0){e=r,t=o,n=U(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 Ii(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=v(r);if(o instanceof L){const s=o;Ii(n,U(s)),n(N(s)),e=n,t=D(s);continue e}else n(N(o))}break}}class qc extends Q{constructor(t,n){super(),this.stack=t,this.started=n}}function Oi(e){e:for(;;){const t=e;if(I(t))return se();{const n=A(t),r=$(t);if(n!=null){const o=v(n);if(o instanceof L){const s=o;e=j([U(s),_e(N(s)),D(s)],r);continue e}else return t}else{e=r;continue e}}}}function Io(e){return new qc(Oi(O(e)),!1)}function Zc(){throw new Error("Enumeration not started")}function Jc(){throw new Error("Enumeration already started")}function Oo(e){if(e.started){const t=e.stack;if(I(t))return Jc();if(A(t)!=null){const n=v(A(t));return N(n)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return Zc()}function Kc(e){if(e.started){const t=e.stack;if(I(t))return!1;if(A(t)!=null){if(v(A(t))instanceof L)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Oi($(t)),!I(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!I(e.stack)}function Lo(e){let t=Io(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return Oo(t)},"System.Collections.IEnumerator.get_Current"(){return Oo(t)},"System.Collections.IEnumerator.MoveNext"(){return Kc(t)},"System.Collections.IEnumerator.Reset"(){t=Io(e)},Dispose(){}}}function Yc(e,t,n){e:for(;;){const r=e,o=t,s=n;if(I(o))return I(s)?0:-1;if(I(s))return 1;if(A(s)!=null)if(A(o)!=null){const i=v(A(o)),a=v(A(s));if(i instanceof L){const c=i;if(U(c)==null)if(a instanceof L){const l=a;if(U(l)==null){const f=r.Compare(N(c),N(l))|0;if(f!==0)return f|0;e=r,t=ge(D(c),$(o)),n=ge(D(l),$(s));continue e}else{let f,u,m,h,p;switch(I(o)?I(s)?f=2:A(s)!=null?(f=1,h=$(s),p=v(A(s))):f=2:A(o)!=null?(f=0,u=$(o),m=v(A(o))):I(s)?f=2:A(s)!=null?(f=1,h=$(s),p=v(A(s))):f=2,f){case 0:if(m instanceof L){const g=m;e=r,t=j([U(g),we(N(g),void 0,D(g),0)],u),n=s;continue e}else{e=r,t=j([void 0,_e(N(m))],u),n=s;continue e}case 1:if(p instanceof L){const g=p;e=r,t=o,n=j([U(g),we(N(g),void 0,D(g),0)],h);continue e}else{e=r,t=o,n=j([void 0,_e(N(p))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const l=r.Compare(N(c),N(a))|0;if(l!==0)return l|0;e=r,t=ge(D(c),$(o)),n=ge(void 0,$(s));continue e}else{let l,f,u,m,h;switch(I(o)?I(s)?l=2:A(s)!=null?(l=1,m=$(s),h=v(A(s))):l=2:A(o)!=null?(l=0,f=$(o),u=v(A(o))):I(s)?l=2:A(s)!=null?(l=1,m=$(s),h=v(A(s))):l=2,l){case 0:if(u instanceof L){const p=u;e=r,t=j([U(p),we(N(p),void 0,D(p),0)],f),n=s;continue e}else{e=r,t=j([void 0,_e(N(u))],f),n=s;continue e}case 1:if(h instanceof L){const p=h;e=r,t=o,n=j([U(p),we(N(p),void 0,D(p),0)],m);continue e}else{e=r,t=o,n=j([void 0,_e(N(h))],m);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else if(a instanceof L){const c=a;if(U(c)==null){const l=r.Compare(N(i),N(c))|0;if(l!==0)return l|0;e=r,t=ge(void 0,$(o)),n=ge(D(c),$(s));continue e}else{let l,f,u,m,h;switch(I(o)?I(s)?l=2:A(s)!=null?(l=1,m=$(s),h=v(A(s))):l=2:A(o)!=null?(l=0,f=$(o),u=v(A(o))):I(s)?l=2:A(s)!=null?(l=1,m=$(s),h=v(A(s))):l=2,l){case 0:if(u instanceof L){const p=u;e=r,t=j([U(p),we(N(p),void 0,D(p),0)],f),n=s;continue e}else{e=r,t=j([void 0,_e(N(u))],f),n=s;continue e}case 1:if(h instanceof L){const p=h;e=r,t=o,n=j([U(p),we(N(p),void 0,D(p),0)],m);continue e}else{e=r,t=o,n=j([void 0,_e(N(h))],m);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const c=r.Compare(N(i),N(a))|0;if(c!==0)return c|0;e=r,t=$(o),n=$(s);continue e}}else{v(A(s));let i,a,c,l,f;switch(I(o)?I(s)?i=2:A(s)!=null?(i=1,l=$(s),f=v(A(s))):i=2:A(o)!=null?(i=0,a=$(o),c=v(A(o))):I(s)?i=2:A(s)!=null?(i=1,l=$(s),f=v(A(s))):i=2,i){case 0:if(c instanceof L){const u=c;e=r,t=j([U(u),we(N(u),void 0,D(u),0)],a),n=s;continue e}else{e=r,t=j([void 0,_e(N(c))],a),n=s;continue e}case 1:if(f instanceof L){const u=f;e=r,t=o,n=j([U(u),we(N(u),void 0,D(u),0)],l);continue e}else{e=r,t=o,n=j([void 0,_e(N(f))],l);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else if(A(o)!=null){v(A(o));let i,a,c,l,f;switch(I(o)?I(s)?i=2:A(s)!=null?(i=1,l=$(s),f=v(A(s))):i=2:A(o)!=null?(i=0,a=$(o),c=v(A(o))):I(s)?i=2:A(s)!=null?(i=1,l=$(s),f=v(A(s))):i=2,i){case 0:if(c instanceof L){const u=c;e=r,t=j([U(u),we(N(u),void 0,D(u),0)],a),n=s;continue e}else{e=r,t=j([void 0,_e(N(c))],a),n=s;continue e}case 1:if(f instanceof L){const u=f;e=r,t=o,n=j([U(u),we(N(u),void 0,D(u),0)],l);continue e}else{e=r,t=o,n=j([void 0,_e(N(f))],l);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=r,t=$(o),n=$(s);continue e}}}function Vo(e,t,n){return t==null?n==null?0:-1:n==null?1:Yc(e,O(t),O(n))|0}function Xc(e,t,n){let r=n;Ii(o=>{rt(t,r,o),r=r+1|0},e)}function Qc(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s["System.Collections.IEnumerator.MoveNext"]()){e=r,t=Ft(r,s["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=s;continue e}else return o}}function ed(e,t){return Nn((n,r)=>Ft(e,r,n),void 0,t)}function td(e,t){return De((n,r)=>Ft(e,r,n),void 0,t)}function Li(e,t){if(Pe(t))return ed(e,t);if(t instanceof fe)return td(e,t);{const n=X(t);try{return Qc(e,void 0,n)}finally{q(n)}}}class Pr{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return od(this)|0}Equals(t){let n;const r=this;return t instanceof Pr&&(n=t,Vo(kt(r),Ne(r),Ne(n))===0)}toString(){return"set ["+H("; ",Ve(n=>$e(n),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const n=this;return Vo(kt(n),Ne(n),Ne(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 $i(kt(n),t,Ne(n))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){Xc(Ne(this),t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return zn(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return zn(this)|0}GetEnumerator(){return Lo(Ne(this))}[Symbol.iterator](){return xn(X(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Lo(Ne(this))}get size(){return zn(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 Vi(this,t)}keys(){return Ve(n=>n,this)}values(){return Ve(n=>n,this)}entries(){return Ve(n=>[n,n],this)}forEach(t,n){const r=this;_i(o=>{t(o,o,r)},r)}}function $n(e,t){return new Pr(e,t)}function kt(e){return e.comparer}function Ne(e){return e.tree}function nd(e){return $n(e,void 0)}function rd(e,t){return $n(kt(e),Ft(kt(e),t,Ne(e)))}function zn(e){return Wc(Ne(e))}function Vi(e,t){return $i(kt(e),t,Ne(e))}function od(e){let t=0;const n=X(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+Ze(r)+631|0}}finally{q(n)}return Math.abs(t)|0}function rr(e,t){return Vi(t,e)}function sd(e,t){return rd(t,e)}function id(e){return nd(e)}function ad(e,t){return $n(t,Li(t,e))}function ud(e,t){return $n(t,Li(t,e))}function Vt(e,t,n){try{return"Expecting "+e+" but instead got:"+(n?`
|
|
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 ld(e,t){const n=t.tag===2?Vt(t.fields[0],t.fields[1],!0):t.tag===1?Vt(t.fields[0],t.fields[1],!1)+`
|
|
7
|
+
Reason: `+t.fields[2]:t.tag===3?Vt(t.fields[0],t.fields[1],!0):t.tag===4?Vt(t.fields[0],t.fields[1],!0)+("\nNode `"+t.fields[2]+"` is unkown."):t.tag===5?"Expecting "+t.fields[0]+`.
|
|
8
|
+
`+(JSON.stringify(t.fields[1],null,4)+""):t.tag===7?`The following errors were found:
|
|
9
|
+
|
|
10
|
+
`+H(`
|
|
11
|
+
|
|
12
|
+
`,t.fields[0]):t.tag===6?"The following `failure` occurred with the decoder: "+t.fields[0]:Vt(t.fields[0],t.fields[1],!1);return t.tag===7?n:"Error at: `"+e+"`\n"+n}function Pi(e,t,n){const r=t(e,n);if(r.tag===1){const o=r.fields[0];return new d(1,[ld(o[0],o[1])])}else return new d(0,[r.fields[0]])}function Di(e,t){try{return Pi("$",e,JSON.parse(t))}catch(n){if(n instanceof SyntaxError)return new d(1,["Given an invalid JSON: "+n.message]);throw n}}function Ri(e,t){return typeof t=="string"?new d(0,[t]):new d(1,[[e,new x(0,["a string",t])]])}function cd(e,t){if(typeof t=="string"){const n=t;return n.length===1?new d(0,[n[0]]):new d(1,[[e,new x(0,["a single character string",t])]])}else return new d(1,[[e,new x(0,["a char",t])]])}function dd(e,t){if(typeof t=="string"){let n,r="00000000-0000-0000-0000-000000000000";return n=[$c(t,new Ie(()=>r,o=>{r=o})),r],n[0]?new d(0,[n[1]]):new d(1,[[e,new x(0,["a guid",t])]])}else return new d(1,[[e,new x(0,["a guid",t])]])}function fd(e,t){return t==null?new d(0,[void 0]):new d(1,[[e,new x(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 d(0,[(o+128&255)-128]):new d(1,[[n,new x(1,["a sbyte",o,"Value was either too large or too small for a sbyte"])]]):new d(1,[[n,new x(1,["a sbyte",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ot(r,511,!1,8,new Ie(()=>s,i=>{s=i|0})),s],o[0]?new d(0,[o[1]]):new d(1,[[n,new x(0,["a sbyte",r])]])}else return new d(1,[[n,new x(0,["a sbyte",r])]])},Do=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 d(0,[o&255]):new d(1,[[n,new x(1,["a byte",o,"Value was either too large or too small for a byte"])]]):new d(1,[[n,new x(1,["a byte",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ot(r,511,!0,8,new Ie(()=>s,i=>{s=i})),s],o[0]?new d(0,[o[1]]):new d(1,[[n,new x(0,["a byte",r])]])}else return new d(1,[[n,new x(0,["a byte",r])]])},Ro=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 d(0,[(o+32768&65535)-32768]):new d(1,[[n,new x(1,["an int16",o,"Value was either too large or too small for an int16"])]]):new d(1,[[n,new x(1,["an int16",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ot(r,511,!1,16,new Ie(()=>s,i=>{s=i|0})),s],o[0]?new d(0,[o[1]]):new d(1,[[n,new x(0,["an int16",r])]])}else return new d(1,[[n,new x(0,["an int16",r])]])},Uo=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 d(0,[o&65535]):new d(1,[[n,new x(1,["an uint16",o,"Value was either too large or too small for an uint16"])]]):new d(1,[[n,new x(1,["an uint16",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ot(r,511,!0,16,new Ie(()=>s,i=>{s=i})),s],o[0]?new d(0,[o[1]]):new d(1,[[n,new x(0,["an uint16",r])]])}else return new d(1,[[n,new x(0,["an uint16",r])]])},zo=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 d(0,[~~o]):new d(1,[[n,new x(1,["an int",o,"Value was either too large or too small for an int"])]]):new d(1,[[n,new x(1,["an int",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ot(r,511,!1,32,new Ie(()=>s,i=>{s=i|0})),s],o[0]?new d(0,[o[1]]):new d(1,[[n,new x(0,["an int",r])]])}else return new d(1,[[n,new x(0,["an int",r])]])},Ho=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 d(0,[o>>>0]):new d(1,[[n,new x(1,["an uint32",o,"Value was either too large or too small for an uint32"])]]):new d(1,[[n,new x(1,["an uint32",o,"Value is not an integral value"])]])}else if(typeof r=="string"){let o,s=0;return o=[Ot(r,511,!0,32,new Ie(()=>s,i=>{s=i})),s],o[0]?new d(0,[o[1]]):new d(1,[[n,new x(0,["an uint32",r])]])}else return new d(1,[[n,new x(0,["an uint32",r])]])};function hd(e,t){return typeof t=="boolean"?new d(0,[t]):new d(1,[[e,new x(0,["a boolean",t])]])}function md(e,t){return typeof t=="number"?new d(0,[t]):new d(1,[[e,new x(0,["a float",t])]])}function pd(e,t){return typeof t=="number"?new d(0,[t]):new d(1,[[e,new x(0,["a float32",t])]])}function _d(e,t){if(typeof t=="string"){let n,r=Tu();return n=[$u(t,new Ie(()=>r,o=>{r=o})),r],n[0]?new d(0,[Iu(n[1])]):new d(1,[[e,new x(0,["a datetime",t])]])}else return new d(1,[[e,new x(0,["a datetime",t])]])}function wd(e,t){if(typeof t=="string"){let n,r=Rc();return n=[zc(t,new Ie(()=>r,o=>{r=o})),r],n[0]?new d(0,[n[1]]):new d(1,[[e,new x(0,["a datetimeoffset",t])]])}else return new d(1,[[e,new x(0,["a datetime",t])]])}function gd(e,t){if(typeof t=="string"){let n,r=0;return n=[Gc(t,new Ie(()=>r,o=>{r=o})),r],n[0]?new d(0,[n[1]]):new d(1,[[e,new x(0,["a timespan",t])]])}else return new d(1,[[e,new x(0,["a timespan",t])]])}function jo(e,t,n,r){let o;const s=n+".["+ct(e)+"]";if(Array.isArray(r)){const i=r;return e<i.length?t(s,le(e,i)):new d(1,[[s,new x(5,["a longer array. Need index `"+ct(e)+"` but there are only `"+(o=i.length,ct(o))+"` entries",r])]])}else return new d(1,[[s,new x(0,["an array",r])]])}function bd(e,t,n){return n==null?new d(0,[void 0]):Je(xe,e(t,n))}function Go(e,t,n){if(Array.isArray(n)){let r=-1;return Je(Br,Nn((o,s)=>{if(r=r+1|0,o.tag===0){const i=e(t+".["+ct(r)+"]",s);return i.tag===0?new d(0,[ge(i.fields[0],o.fields[0])]):new d(1,[i.fields[0]])}else return o},new d(0,[se()]),n))}else return new d(1,[[t,new x(0,["a list",n])]])}function yd(e,t,n){if(Array.isArray(n)){let r=-1;return Je(tc,Nn((o,s)=>{if(r=r+1|0,o.tag===0){const i=e(t+".["+ct(r)+"]",s);return i.tag===0?new d(0,[ye([i.fields[0]],o.fields[0])]):new d(1,[i.fields[0]])}else return o},new d(0,[[]]),n))}else return new d(1,[[t,new x(0,["a seq",n])]])}function Wo(e,t,n){if(Array.isArray(n)){let r=-1;const o=n;return Nn((s,i)=>{if(r=r+1|0,s.tag===0){const a=s.fields[0],c=e(t+".["+ct(r)+"]",i);return c.tag===0?(rt(a,r,c.fields[0]),new d(0,[a])):new d(1,[c.fields[0]])}else return s},new d(0,[Tr(new Array(o.length),0,o.length,null)]),o)}else return new d(1,[[t,new x(0,["an array",n])]])}function vd(e,t,n){return((o,s)=>{e:for(;;){const i=o,a=s;if(I(i))return new d(1,[[t,new x(7,[a])]]);{const c=Pi(t,J(A(i)),n);if(c.tag===1){o=$(i),s=$r(a,O(c.fields[0]));continue e}else return new d(0,[c.fields[0]])}}})(e,se())}function kd(e,t,n){return new d(0,[e])}function qo(e,t,n,r){const o=t(n,r);return o.tag===0?e(o.fields[0],n,r):new d(1,[o.fields[0]])}function xd(e,t,n,r){const o=t(n,r);return o.tag===1?new d(1,[o.fields[0]]):new d(0,[e(o.fields[0])])}function Sd(e,t){let n;const r=e;return n=o=>s=>jo(0,r,o,s),o=>s=>qo(Xn(i=>{let a;const c=t;return a=l=>f=>jo(1,c,l,f),l=>f=>qo((u,m,h)=>kd([i,u]),J(a),l,f)}),J(n),o,s)}function Cd(e){return xc(e,{Compare:Se})}function Ad(e){return ud(e,{Compare:Se})}function Ed(e,t,n){return n!==null&&Object.getPrototypeOf(n||!1)===Object.prototype?ii((r,o)=>{const s=r[0];return o.tag===0?Je(i=>ge(i,o.fields[0]),r[1](t+"."+s)(n[s])):o},e,new d(0,[se()])):new d(1,[[t,new x(0,["an object",n])]])}function Nd(e,t,n,r){return r!==null&&Object.getPrototypeOf(r||!1)===Object.prototype?pi((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 d(0,[ge([i.fields[0],a.fields[0]],o.fields[0])]):new d(1,[a.fields[0]])}else return new d(1,[i.fields[0]])}else return o},new d(0,[se()]),Object.keys(r)):new d(1,[[n,new x(0,["an object",r])]])}function Ui(e,t,n,r){let o;const s=t.length+e|0;if(s!==r.length)return new d(1,[[n,new x(6,[(o=r.length|0,Ut(At("Expected array of length %i but got %i"))(s)(o))])]]);{let i=new d(0,[se()]);for(let a=e;a<=r.length-1;a++)if(i.tag===0){const c=i.fields[0],l=Ut(At("%s[%i]"))(n)(a),f=le(a-e,t),u=le(a,r);i=Je(m=>ge(m,c),f(l)(u))}return Je(Br,i)}}function Zo(e,t,n,r,o,s){const i=ul(a=>Mr(a)===r,Xu(n));if(i!=null){const a=i,c=En(l=>Fe(e,t,!1,l[1]),nl(a));return Je(l=>rl(a,Xt(l)),c.length===0&&s.length<=1?new d(0,[se()]):Ui(1,c,o,s))}else return new d(1,[[o,new x(6,["Cannot find case "+r+" in "+re(n)])]])}function Jo(e,t,n,r){let o;const s=new Ie(qe());let i;const a=re(r);i=a===""?e:vc(a,s,e);let c;if(tl(r)){const l=En(f=>[Fc(t,Mr(f)),Fe(i,t,!1,f[1])],wn(r));c=f=>u=>Je(m=>ol(r,Xt(m)),Ed(l,f,u))}else if(el(r))c=l=>f=>{if(typeof f=="string")return Zo(i,t,r,f,l,[]);if(Array.isArray(f)){const u=f;return Ec(m=>Zo(i,t,r,m,l,u),Ri(l+"[0]",le(0,u)))}else return new d(1,[[l,new x(0,["a string or array",f])]])};else if(n)c=l=>f=>new d(1,[[l,new x(2,["an extra coder for "+re(r),f])]]);else throw new Error((o=re(r),Ut(At(`Cannot generate auto decoder for %s. Please pass an extra decoder.
|
|
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 Fe(e,t,n,r){let o,s,i,a;const c=re(r),l=kc(c,e);if(l==null)if(qu(r)){const f=Fe(e,t,!1,An(r));return u=>m=>Wo(J(f),u,m)}else if(ni(r))switch(re(Ku(r))){case"System.SByte":return u=>m=>{const h=r,p=u,g=m,_=Po(p)(g);if(_.tag===1)return new d(1,[_.fields[0]]);{const b=_.fields[0]|0;return wt(b,pt(h),{Equals:(k,F)=>k===F,GetHashCode:Ue})?new d(0,[_t(h,b.toString())]):new d(1,[[p,new x(1,[re(h),g,"Unkown value provided for the enum"])]])}};case"System.Byte":return u=>m=>{const h=r,p=u,g=m,_=Do(p)(g);if(_.tag===1)return new d(1,[_.fields[0]]);{const b=_.fields[0];return wt(b,pt(h),{Equals:(k,F)=>k===F,GetHashCode:Ue})?new d(0,[_t(h,b.toString())]):new d(1,[[p,new x(1,[re(h),g,"Unkown value provided for the enum"])]])}};case"System.Int16":return u=>m=>{const h=r,p=u,g=m,_=Ro(p)(g);if(_.tag===1)return new d(1,[_.fields[0]]);{const b=_.fields[0]|0;return wt(b,pt(h),{Equals:(k,F)=>k===F,GetHashCode:Ue})?new d(0,[_t(h,nu(b))]):new d(1,[[p,new x(1,[re(h),g,"Unkown value provided for the enum"])]])}};case"System.UInt16":return u=>m=>{const h=r,p=u,g=m,_=Uo(p)(g);if(_.tag===1)return new d(1,[_.fields[0]]);{const b=_.fields[0];return wt(b,pt(h),{Equals:(k,F)=>k===F,GetHashCode:Ue})?new d(0,[_t(h,b.toString())]):new d(1,[[p,new x(1,[re(h),g,"Unkown value provided for the enum"])]])}};case"System.Int32":return u=>m=>{const h=r,p=u,g=m,_=zo(p)(g);if(_.tag===1)return new d(1,[_.fields[0]]);{const b=_.fields[0]|0;return wt(b,pt(h),{Equals:(k,F)=>k===F,GetHashCode:Ue})?new d(0,[_t(h,ct(b))]):new d(1,[[p,new x(1,[re(h),g,"Unkown value provided for the enum"])]])}};case"System.UInt32":return u=>m=>{const h=r,p=u,g=m,_=Ho(p)(g);if(_.tag===1)return new d(1,[_.fields[0]]);{const b=_.fields[0];return wt(b,pt(h),{Equals:(k,F)=>k===F,GetHashCode:Ue})?new d(0,[_t(h,b.toString())]):new d(1,[[p,new x(1,[re(h),g,"Unkown value provided for the enum"])]])}};default:{const u=re(r),m=Pu(At(`Cannot generate auto decoder for %s.
|
|
15
|
+
Thoth.Json.Net only support the following enum types:
|
|
16
|
+
- sbyte
|
|
17
|
+
- byte
|
|
18
|
+
- int16
|
|
19
|
+
- uint16
|
|
20
|
+
- int
|
|
21
|
+
- uint32
|
|
22
|
+
If you can't use one of these types, please pass an extra decoder.
|
|
23
|
+
`))(u);return h=>m(h)}}else if(Zu(r))if(ri(r)){const f=En(u=>Fe(e,t,!1,u),Qu(r));return u=>m=>Array.isArray(m)?Je(h=>sl(Xt(h)),Ui(0,f,u,m)):new d(1,[[u,new x(0,["an array",m])]])}else switch(re(Ju(r))){case"Microsoft.FSharp.Core.FSharpOption`1[System.Object]":return o=Fe(e,t,!0,le(0,ze(r))),u=>m=>bd(J(o),u,m);case"Microsoft.FSharp.Collections.FSharpList`1[System.Object]":return s=Fe(e,t,!1,le(0,ze(r))),u=>m=>Go(J(s),u,m);case"System.Collections.Generic.IEnumerable`1[System.Object]":return i=Fe(e,t,!1,le(0,ze(r))),u=>m=>yd(J(i),u,m);case"Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]":{const u=Fe(e,t,!1,le(0,ze(r))),m=Fe(e,t,!1,le(1,ze(r)));let h;const p=S([g=>_=>Nd(J(u),J(m),g,_),(a=Sd(J(u),J(m)),g=>_=>Go(J(a),g,_))]);return h=g=>_=>vd(p,g,_),g=>_=>xd(Cd,J(h),g,_)}case"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]":{const u=Fe(e,t,!1,le(0,ze(r)));return m=>h=>{const p=Wo(J(u),m,h);return p.tag===0?new d(0,[Ad(p.fields[0])]):new d(1,[p.fields[0]])}}default:return Jo(e,t,n,r)}else switch(c){case"System.Boolean":return f=>u=>hd(f,u);case"Microsoft.FSharp.Core.Unit":return f=>u=>fd(f,u);case"System.String":return f=>u=>Ri(f,u);case"System.Char":return f=>u=>cd(f,u);case"System.SByte":return Po;case"System.Byte":return Do;case"System.Int16":return Ro;case"System.UInt16":return Uo;case"System.Int32":return zo;case"System.UInt32":return Ho;case"System.Double":return f=>u=>md(f,u);case"System.Single":return f=>u=>pd(f,u);case"System.DateTime":return f=>u=>_d(f,u);case"System.DateTimeOffset":return f=>u=>wd(f,u);case"System.TimeSpan":return f=>u=>gd(f,u);case"System.Guid":return f=>u=>dd(f,u);case"System.Object":return f=>u=>new d(0,[u]);default:return Jo(e,t,n,r)}else{const f=l;return u=>m=>f.contents(u)(m)}}function Fd(e){return xi({Compare:Er})}function zi(e,t,n){const r=Cn(t,new Vr(0,[]));return Fe(Fd(),r,!1,e)}class Md extends Q{constructor(t){super(),this.SmsfChoice=t}}function Td(){return Kt("SuperSelection.UI.BackendService.SMSFChoiceResponse",[],Md,()=>[["SmsfChoice",Ht($d())]])}class Bd extends Q{constructor(t,n,r,o,s,i,a,c,l){super(),this.Abn=t,this.FundName=n,this.FundAddress=r,this.Bsb=o,this.BankAccountName=s,this.BankAccountNumber=i,this.ElectronicServiceAddress=a,this.MemberFirstName=c,this.MemberFamilyName=l}}function $d(){return Kt("SuperSelection.UI.BackendService.SMSFChoiceDto",[],Bd,()=>[["Abn",oe],["FundName",oe],["FundAddress",Od()],["Bsb",oe],["BankAccountName",oe],["BankAccountNumber",oe],["ElectronicServiceAddress",oe],["MemberFirstName",Ht(oe)],["MemberFamilyName",Ht(oe)]])}class Id extends Q{constructor(t,n,r,o,s){super(),this.AddressLine1=t,this.AddressLine2=n,this.City=r,this.State=o,this.Postcode=s}}function Od(){return Kt("SuperSelection.UI.BackendService.AustralianFundAddressDto",[],Id,()=>[["AddressLine1",oe],["AddressLine2",Ht(oe)],["City",oe],["State",oe],["Postcode",oe]])}class Ld extends Q{constructor(t){super(),this.BankDetails=t}}function Vd(){return Kt("SuperSelection.UI.BackendService.BsbLookupResponse",[],Ld,()=>[["BankDetails",Ht(Dd())]])}class Pd extends Q{constructor(t,n,r){super(),this.Bsb=t,this.Bank=n,this.Branch=r}}function Dd(){return Kt("SuperSelection.UI.BackendService.BankDetailsDto",[],Pd,()=>[["Bsb",oe],["Bank",oe],["Branch",oe]])}class Rd{constructor(t,n){this.accessToken=n,this.baseUrl=`${t}/super-selection/backend`}}function Ud(e,t){return new Rd(e,t)}function zd(e){return jd(e,5,te.Delay(()=>{let t;return te.Bind(Ni((t=Ai(new Or(0,[]),Ci(`${e.baseUrl}/v1.0/super-choice/smsf`)),Ei(Si(`Bearer ${e.accessToken}`),t))),n=>{const r=n;return r.statusCode===200?te.Return(Di(J(zi(Td(),new Vr(1,[]))),r.responseText)):te.Return(new d(1,["Failed to retrieve SMSF choice"]))})}))}function Hd(e,t){return te.Delay(()=>{let n;return te.Bind(Ni((n=Ai(new Or(0,[]),Ci(`${e.baseUrl}/v1.0/bsb-lookup/${t}`)),Ei(Si(`Bearer ${e.accessToken}`),n))),r=>{const o=r;return o.statusCode===200?te.Return(Di(J(zi(Vd(),new Vr(1,[]))),o.responseText)):te.Return(new d(1,["Failed to lookup BSB"]))})})}function jd(e,t,n){const r=o=>te.Delay(()=>te.Bind(n,s=>{const i=s;return i.tag===1?o>1?te.Bind(Bl(1e3),()=>te.ReturnFrom(r(o-1))):te.Return(new d(1,[i.fields[0]])):te.Return(new d(0,[i.fields[0]]))}));return r(t)}class Gd{constructor(t,n,r){this.OnNext=t,this.OnError=n||(o=>{}),this.OnCompleted=r||(()=>{})}}function Wd(e,t){t.Subscribe(new Gd(e))}class qd{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 Jd(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 Zd extends qd{}function Jd(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 Kd{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 Zd}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 Yd(e,t){console.error(xe(e),t)}function Xd(e,t){let n,r=new Kd(e);r.AutoReset=!1,n=r,Wd(t,n.Elapsed()),n.Enabled=!0,n.Start()}function Ko(e,t,n){gn(r=>{try{r(t)}catch(o){e(o)}},n)}function G(){return se()}function Hi(e,t,n,r){return O(o=>{e(te.Delay(()=>te.Bind(Ml(t(n)),s=>{const i=s;return i.tag===0&&o(r(i.fields[0])),te.Zero()})))})}function ji(e){Xd(1,t=>{Il(e)})}class Qd extends Q{constructor(t,n,r,o,s,i,a,c,l,f,u,m,h){super(),this.FundName=t,this.FundAbn=n,this.FundEsa=r,this.FundAddressLine1=o,this.FundAddressLine2=s,this.FundCity=i,this.FundState=a,this.FundPostcode=c,this.MemberFirstName=l,this.MemberLastName=f,this.BankAccountName=u,this.BankAccountBsb=m,this.BankAccountNumber=h}}const ef={sender:"super-smsf",type:"smsf-loaded"},tf={sender:"super-smsf",type:"smsf-cancelled"};function nf(e){return{bankAccountNumber:e.BankAccountNumber,bankBsb:e.BankAccountBsb,fundAbn:e.FundAbn,fundAddressLine1:e.FundAddressLine1,fundAddressLine2:ei(e.FundAddressLine2),fundCity:e.FundCity,fundEsa:e.FundEsa,fundName:e.FundName,fundPostcode:e.FundPostcode,fundState:e.FundState,memberFirstName:e.MemberFirstName,memberLastName:e.MemberLastName,sender:"super-smsf",type:"smsf-completed"}}class or extends V{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Loaded","Cancelled","Completed"]}}function sr(e){const t=e.tag===1?tf:e.tag===2?nf(e.fields[0]):ef;window.postMessage(t,"*")}function rf(){return se()}function Dr(e){return H("/",e)}function of(e,t){const n=new Error("Duplicate SubId");return e(["Duplicate SubId: "+Dr(t),n])}function Gi(e,t,n){try{q(n)}catch(r){e(["Error stopping subscription: "+Dr(t),r])}}function sf(e,t,n,r){try{return[n,r(t)]}catch(o){e(["Error starting subscription: "+Dr(n),o]);return}}function af(e,t){gn(n=>{Gi(e,n[0],n[1])},t)}function Yo(e,t,n,r,o,s){return gn(i=>{of(e,i)},n),gn(i=>{Gi(e,i[0],i[1])},r),$r(o,yl(i=>sf(e,t,i[0],i[1]),s))}function uf(){return[se(),id({Compare:Se}),se()]}function lf(e,t,n,r,o){return rr(e,r)?[ge(e,n),r,o]:[n,sd(e,r),ge([e,t],o)]}function cf(e){return fl((t,n)=>lf(t[0],t[1],n[0],n[1],n[2]),e,uf())}const df=se();function Xo(e,t){const n=ad(ui(i=>i[0],e),{Compare:Se}),r=cf(t),o=r[1],s=r[0];if(n.Equals(o))return[s,se(),e,se()];{const i=bl(a=>rr(a[0],o),e);return[s,i[1],i[0],gl(a=>!rr(a[0],n),r[2])]}}function ff(e,t,n,r){const o=Se(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=Se(i,t)|0;return s&&a<=0||!s&&a>=0?[i,r(i,e)]:void 0}}function hf(e,t,n,r,o){const s=ff(t,n,r,o);return P(()=>Kl(s,e))}function mf(e,t,n){return hf(e,t,n,0,(r,o)=>r+o)}class xt extends V{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Writable","ReadWritable"]}}class pf{constructor(t){this.state=new xt(0,[Tr(new Array(yo(t,10)),0,yo(t,10),null),0])}}function _f(e){return new pf(e)}function Qo(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 xt(0,[o,n]):e.state=new xt(1,[o,n,s]),xe(le(r,o))}else return}function wf(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];rt(s,r,t);const i=(r+1)%s.length|0;i===o?e.state=new xt(1,[gf(e,o,s),s.length,0]):e.state=new xt(1,[s,i,o])}else{const r=n.fields[1]|0,o=n.fields[0];rt(o,r,t);const s=(r+1)%o.length|0;e.state=new xt(1,[o,s,r])}}function gf(e,t,n){return Array.from(P(()=>ye(nc(t,n),P(()=>ye(rc(t,n),P(()=>oc(r=>K(qe()),mf(0,1,n.length))))))))}class Rr extends Q{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 Wi(e,t,n){return new Rr(e,t,r=>rf(),n,J(r=>{const o=T(n)(r);return s=>{o(s)}}),r=>{Yd(r[0],r[1])},[r=>!1,r=>{}])}function bf(e,t){return new Rr(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}function yf(e){return e.init}function vf(e,t,n,r,o,s,i){const a=T(e)(i.init),c=Pn(t)(T(i.update)),l=Pn(n)(T(i.view)),f=Pn(r)(T(i.setState));return new Rr(a,J(c),T(o)(i.subscribe),J(l),J(f),i.onError,s(i.termination))}function kf(e,t,n){let r;const o=n.init(t),s=o[0],i=n.subscribe(s),a=n.termination,c=_f(10);let l=!1,f=s,u=df,m=!1;const h=_=>{m||(wf(c,_),l||(l=!0,g(),l=!1))},p=T(e)(h),g=()=>{let _,b=Qo(c);for(;!m&&b!=null;){const k=v(b);if(a[0](k))af(n.onError,u),a[1](f),m=!0;else{const F=n.update(k,f),y=F[0],Z=n.subscribe(y);n.setState(y,p),Ko(Ce=>{n.onError([Ut(At("Error handling the message: %A"))(k),Ce])},p,F[1]),f=y,u=(_=Xo(u,Z),Yo(n.onError,p,_[0],_[1],_[2],_[3])),b=Qo(c)}}};l=!0,n.setState(s,p),Ko(_=>{n.onError([Ut(At("Error intitializing:")),_])},p,o[1]),u=(r=Xo(u,i),Yo(n.onError,p,r[0],r[1],r[2],r[3])),g(),l=!1}function xf(e,t){kf(J(n=>n),e,t)}function Sf(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 qi={exports:{}},Zi={};const Cf=Sf(Ja);/**
|
|
4
24
|
* @license React
|
|
5
25
|
* use-sync-external-store-shim.production.min.js
|
|
6
26
|
*
|
|
@@ -8,4 +28,4 @@ var it,x,ar,Ne,bn,ur,Bt,Vt,$t,Mt,lr,rt={},cr=[],Ao=/acit|ex(?:s|g|n|p|$)|rph|gri
|
|
|
8
28
|
*
|
|
9
29
|
* This source code is licensed under the MIT license found in the
|
|
10
30
|
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/var Ze=ga;function ya(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var va=typeof Object.is=="function"?Object.is:ya,xa=Ze.useState,ka=Ze.useEffect,Aa=Ze.useLayoutEffect,Sa=Ze.useDebugValue;function Ca(t,e){var n=e(),r=xa({inst:{value:n,getSnapshot:e}}),o=r[0].inst,i=r[1];return Aa(function(){o.value=n,o.getSnapshot=e,Ft(o)&&i({inst:o})},[t,n,e]),ka(function(){return Ft(o)&&i({inst:o}),t(function(){Ft(o)&&i({inst:o})})},[t]),Sa(n),n}function Ft(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!va(t,n)}catch{return!0}}function Ea(t,e){return e()}var Na=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Ea:Ca;xo.useSyncExternalStore=Ze.useSyncExternalStore!==void 0?Ze.useSyncExternalStore:Na;vo.exports=xo;var Fa=vo.exports;class Ba{constructor(e,n,r){this.arg=n,this.dependencies=r;const o=e(),i=[];this.finalDispatch=void 0;let s;const a=_a(o)(this.arg);let c=a[0],l=a[1];s=[[c,d=>{const u=this.finalDispatch;u==null?i.push(d):u(d)},!1,i],l],this.state=s[0],this.cmd=s[1],this.subscribe=d=>{let u=!1;const f=Pt(this.state[0]);return wa(this.arg,ha((h,m)=>{const g=this.state;this.finalDispatch=m,this.state=[h,g[1],!0,i],h!==g[0]&&d()},pa((h,m)=>{const g=this.cmd;return this.cmd=M(),[this.state[0],g]},(h,m,g)=>h(m)(this.state[0]),zn(h=>h),zn(h=>h),ze(h=>h),h=>[m=>h[0](m)?!0:f&&u,m=>{const g=m;Pt(g)?H(g):h[1](m)}],o))),()=>{u=!0}}}}function or(t,e,n){return new Ba(t,e,n)}function $a(t){return t.state}function Ma(t){return t.subscribe}function Ia(t,e,n){return Fe(t.arg,e)?!Fe(t.dependencies,n):!0}function Oa(t,e,n){const r=Ke(()=>or(t,e,n)),o=r[0];Ia(o,e,n)&&r[1](or(t,e,n));const i=Fa.useSyncExternalStore(Ma(o),()=>$a(o)),s=i[2],a=i[3],c=i[1];return st(()=>{if(s&&a.length>0){let l=K(a);try{for(;l["System.Collections.IEnumerator.MoveNext"]();){const d=l["System.Collections.Generic.IEnumerator`1.get_Current"]();setTimeout(()=>{c(d)})}}finally{H(l)}si(a)}},[s,a]),[i[0],c]}function _n(t){const e=t.target,n=Gi(e.value);return e.value=n,n}const Ta=_("svg",O(C([["fill","#facc15"],["className","h-5 w-5"],["viewBox","0 0 20 20"],["xmlns","http://www.w3.org/2000/svg"],(()=>{let t;const e=Y(_("path",O(C([["fill-rule","evenodd"],(t="M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z",["d",t]),["clipRule","evenodd"]]))));return["children",k.Children.toArray(Array.from(e))]})()]))),Pa=_("div",O(C([["className","bg-yellow-50 border-l-4 border-yellow-400 p-4 my-3"],(()=>{let t;const e=[_("div",O(C([["className","flex"],(t=[_("div",{className:"flex-shrink-0",children:k.Children.toArray([Ta])}),_("div",{className:"ml-3 text-sm text-yellow-700 leading-5",children:"Make sure your Self-managed super fund (SMSF) is a registered fund before completing this step."})],["children",k.Children.toArray(Array.from(t))])])))];return["children",k.Children.toArray(Array.from(e))]})()])));function Oe(t){if(t==null)return He();{const e=t;return _("div",{className:U(" ",["mt-2 text-sm text-red-600"]),children:e})}}function pn(t){return de(T(()=>ae(j("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10"),T(()=>t?j("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):ve()))))}function La(t){let e;const n=C([_("label",{className:"text-sm font-medium text-gray-700",for:"fundName",children:"Fund name"}),_("div",O(C([["className","mt-1"],(e=[_("input",{type:"text",className:U(" ",pn(t.Field.ErrorMessage!=null)),name:"fundName",id:"fundName",onBlur:t.OnBlur,onChange:r=>{t.OnChange(r.target.value)}}),Oe(t.Field.ErrorMessage)],["children",k.Children.toArray(Array.from(e))])])))]);return _("div",{children:k.Children.toArray(Array.from(n))})}function Ra(t){let e;const n=C([_("label",{className:"text-sm font-medium text-gray-700",for:"fundAbn",children:"Fund ABN"}),_("div",O(C([["className","mt-1"],(e=[_("input",{id:"fundAbn",name:"fundAbn",type:"text",inputmode:"numeric",className:U(" ",pn(t.Field.ErrorMessage!=null)),onKeyUp:r=>{t.OnChange(_n(r))},onBlur:t.OnBlur,onChange:r=>{t.OnChange(r.target.value)}}),Oe(t.Field.ErrorMessage)],["children",k.Children.toArray(Array.from(e))])])))]);return _("div",{children:k.Children.toArray(Array.from(n))})}function za(t){let e;const n=C([_("label",{className:"text-sm font-medium text-gray-700",for:"fundEsa",children:"Electronic service address alias (ESA)"}),_("div",O(C([["className","mt-1"],(e=[_("input",{id:"fundEsa",name:"fundEsa",type:"text",className:U(" ",pn(t.Field.ErrorMessage!=null)),onBlur:t.OnBlur,onChange:r=>{t.OnChange(r.target.value)}}),Oe(t.Field.ErrorMessage)],["children",k.Children.toArray(Array.from(e))])])))]);return _("div",{children:k.Children.toArray(Array.from(n))})}function Va(t,e){return _("input",{placeholder:"Address line 1",type:"text",className:U(" ",de(T(()=>ae(j("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10 rounded-none rounded-t-md shadow-none"),T(()=>t&&e.Field.ErrorMessage!=null?j("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):ve()))))),required:!0,minLength:2,name:"addressLine1",id:"addressLine1",value:e.Field.Value,onBlur:e.OnBlur,onChange:n=>{e.OnChange(n.target.value)}})}function ja(t,e){return _("input",{placeholder:"Address line 2 (optional)",type:"text",className:U(" ",de(T(()=>ae(j("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10 rounded-none shadow-none"),T(()=>t&&e.Field.ErrorMessage!=null?j("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):ve()))))),name:"addressLine2",id:"addressLine2",value:e.Field.Value,onBlur:e.OnBlur,onChange:n=>{e.OnChange(n.target.value)}})}function Da(t,e){return _("input",{placeholder:"City/suburb",type:"text",className:U(" ",de(T(()=>ae(j("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10 rounded-none shadow-none"),T(()=>t&&e.Field.ErrorMessage!=null?j("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):ve()))))),name:"city",required:!0,id:"city",value:e.Field.Value,onBlur:e.OnBlur,onChange:n=>{e.OnChange(n.target.value)}})}function Ua(t,e){let n;return _("div",O(C([["className","flex-1 min-w-0"],(n=[_("input",{placeholder:"Postcode",type:"text",required:!0,className:U(" ",de(T(()=>ae(j("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10 rounded-none rounded-bl-md shadow-none"),T(()=>t&&e.Field.ErrorMessage!=null?j("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):ve()))))),name:"postcode",minLength:4,maxLength:4,pattern:"[0-9]{4}",inputmode:"numeric",id:"postcode",value:e.Field.Value,onBlur:e.OnBlur,onChange:r=>{e.OnChange(r.target.value)}})],["children",k.Children.toArray(Array.from(n))])])))}function Ha(t,e){let n;const r=_("option",{disabled:!0,value:"",children:"State",selected:e.Field.Value===""}),o=ro(i=>_("option",{value:i,children:i,selected:e.Field.Value===i}),C(["NSW","QLD","ACT","VIC","TAS","WA","SA","NT"]));return _("div",O(C([["className","w-1/2 flex-1 min-w-0"],(n=[_("select",{className:U(" ",de(T(()=>ae(j("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10 rounded-none rounded-br-md shadow-none text-gray-500"),T(()=>t&&e.Field.ErrorMessage!=null?j("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):ve()))))),id:"state",name:"state",required:!0,children:k.Children.toArray(Array.from(fe(r,o))),onBlur:e.OnBlur,onChange:i=>{e.OnChange(i.target.value)}})],["children",k.Children.toArray(Array.from(n))])])))}function Wa(t){let e,n,r,o;const i=a=>a.IsTouched;o=oo(a=>a,C([i(t.AddressLine1.Field),i(t.City.Field),i(t.AddressState.Field),i(t.Postcode.Field)]));const s=Ui(a=>a,C([t.AddressLine1.Field.ErrorMessage,t.City.Field.ErrorMessage,t.AddressState.Field.ErrorMessage,t.Postcode.Field.ErrorMessage]));return _("div",O(C([["className","mt-3"],(e=[_("label",{className:"text-sm font-medium text-gray-700",children:"Fund address"}),_("div",O(C([["className","mt-1 rounded-md shadow-sm -space-y-px"],(n=[Va(o,t.AddressLine1),ja(o,t.AddressLine2),Da(o,t.City),_("div",O(C([["className","flex -space-x-px"],(r=[Ua(o,t.Postcode),Ha(o,t.AddressState)],["children",k.Children.toArray(Array.from(r))])])))],["children",k.Children.toArray(Array.from(n))])]))),Oe(o?s:void 0)],["children",k.Children.toArray(Array.from(e))])])))}function qa(t){let e;const n=t.Field.IsTouched&&t.Field.ErrorMessage!=null,r=C([_("label",{className:"text-sm font-medium text-gray-700",for:"bankAccountName",children:"Account name"}),_("div",O(C([["className","mt-1"],(e=[_("input",{id:"bankAccountName",name:"bankAccountName",type:"text",className:U(" ",de(T(()=>ae(j("peer relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10"),T(()=>n?j("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):ve()))))),onBlur:t.OnBlur,onChange:o=>{t.OnChange(o.target.value)}}),Oe(t.Field.ErrorMessage)],["children",k.Children.toArray(Array.from(e))])])))]);return _("div",{children:k.Children.toArray(Array.from(r))})}function Ga(t){let e;const n=t.Field.IsTouched&&t.Field.ErrorMessage!=null,r=C([_("label",{className:"text-sm font-medium text-gray-700",for:"bankAccountBsb",children:"BSB"}),_("div",O(C([["className","mt-1"],(e=[_("input",{id:"bankAccountBsb",name:"bankAccountBsb",type:"text",inputmode:"numeric",className:U(" ",de(T(()=>ae(j("peer relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10"),T(()=>n?j("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):ve()))))),onKeyUp:o=>{t.OnChange(_n(o))},onBlur:t.OnBlur,onChange:o=>{t.OnChange(o.target.value)}}),Oe(t.Field.ErrorMessage)],["children",k.Children.toArray(Array.from(e))])])))]);return _("div",{children:k.Children.toArray(Array.from(r))})}function Za(t){let e;const n=t.Field.IsTouched&&t.Field.ErrorMessage!=null,r=C([_("label",{className:"text-sm font-medium text-gray-700",for:"bankAccountNumber",children:"Account number"}),_("div",O(C([["className","mt-1"],(e=[_("input",{id:"bankAccountNumber",name:"bankAccountNumber",type:"text",inputmode:"numeric",className:U(" ",de(T(()=>ae(j("peer relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10"),T(()=>n?j("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):ve()))))),onKeyUp:o=>{t.OnChange(_n(o))},onBlur:t.OnBlur,onChange:o=>{t.OnChange(o.target.value)}}),Oe(t.Field.ErrorMessage)],["children",k.Children.toArray(Array.from(e))])])))]);return _("div",{children:k.Children.toArray(Array.from(r))})}const Ka=_("div",O(C([["className","mb-4"],(()=>{let t;const e=[_("div",O(Y((t=[_("button",{type:"submit",className:U(" ",["px-4 py-2 text-base inline-flex items-center justify-center border font-medium","rounded-md shadow-sm pointer-events-auto border-transparent text-white bg-primary-base w-full","disabled:pointer-events-none disabled:border-gray-300 disabled:bg-gray-100 disabled:text-gray-400","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-focus","hover:bg-primary-hover"]),"data-testid":"continue-button",disabled:!1,children:"Continue"})],["children",k.Children.toArray(Array.from(t))]))))];return["children",k.Children.toArray(Array.from(e))]})()]))),Ja=_("div",O(Y((()=>{let t,e;const n=[_("a",O(C([["href","/"],(t=[_("div",O(Y((e=[_("button",{className:U(" ",["px-4 py-2 text-base inline-flex items-center justify-center border font-medium rounded-md shadow-sm pointer-events-auto border-gray-300 text-gray-700 bg-white w-full","disabled:pointer-events-none disabled:border-gray-300 disabled:bg-gray-100 disabled:text-gray-400","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-focus","hover:bg-gray-50"]),"data-testid":"back-button",children:"Back"})],["children",k.Children.toArray(Array.from(e))]))))],["children",k.Children.toArray(Array.from(t))])])))];return["children",k.Children.toArray(Array.from(n))]})())));class ir extends W{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["SetValue","SetTouched"]}}class P extends W{constructor(e,n){super(),this.tag=e,this.fields=n}cases(){return["UpdateFundName","UpdateFundAbn","UpdateFundEsa","UpdateAddressLine1","UpdateAddressLine2","UpdateCity","UpdateAddressState","UpdatePostcode","UpdateBankAccountName","UpdateBankAccountBsb","UpdateBankAccountNumber","Submit","AppReady"]}}class Ya extends be{constructor(e,n,r){super(),this.FundName=e,this.FundAbn=n,this.FundEsa=r}}class L extends be{constructor(e,n,r,o,i,s,a){super(),this.FundName=e,this.FundAbn=n,this.FundEsa=r,this.FundAddress=o,this.BankAccountName=i,this.BankAccountBsb=s,this.BankAccountNumber=a}}class oe extends be{constructor(e,n,r,o,i){super(),this.AddressLine1=e,this.AddressLine2=n,this.City=r,this.AddressState=o,this.Postcode=i}}function Qa(){return[new L(ee(co),ee(fo),ee(ho),new oe(ee(bs),ee(ys),ee(xs),ee(ks),ee(Ss)),ee(Es),ee(Fs),ee($s)),M()]}function Xa(t){let e;const n=co(t.FundName.Value);if(e=n.tag===1?new p(1,[Y(n.fields[0])]):new p(0,[n.fields[0]]),e.tag===1)return new p(1,[e.fields[0]]);{let r;const o=fo(t.FundAbn.Value);if(r=o.tag===1?new p(1,[Y(o.fields[0])]):new p(0,[o.fields[0]]),r.tag===1)return new p(1,[r.fields[0]]);{let i;const s=ho(t.FundEsa.Value);return i=s.tag===1?new p(1,[Y(s.fields[0])]):new p(0,[s.fields[0]]),i.tag===1?new p(1,[i.fields[0]]):new p(0,[new Ya(e.fields[0],r.fields[0],i.fields[0])])}}}function eu(t,e){let n,r,o,i,s,a,c,l,d,u;switch(t.tag){case 1:return t.fields[0].tag===1?[new L(e.FundName,ne(e.FundAbn),e.FundEsa,e.FundAddress,e.BankAccountName,e.BankAccountBsb,e.BankAccountNumber),M()]:[new L(e.FundName,te(e.FundAbn,t.fields[0].fields[0]),e.FundEsa,e.FundAddress,e.BankAccountName,e.BankAccountBsb,e.BankAccountNumber),M()];case 2:return t.fields[0].tag===1?[new L(e.FundName,e.FundAbn,ne(e.FundEsa),e.FundAddress,e.BankAccountName,e.BankAccountBsb,e.BankAccountNumber),M()]:[new L(e.FundName,e.FundAbn,te(e.FundEsa,t.fields[0].fields[0]),e.FundAddress,e.BankAccountName,e.BankAccountBsb,e.BankAccountNumber),M()];case 3:return t.fields[0].tag===1?[new L(e.FundName,e.FundAbn,e.FundEsa,(n=e.FundAddress,new oe(ne(e.FundAddress.AddressLine1),n.AddressLine2,n.City,n.AddressState,n.Postcode)),e.BankAccountName,e.BankAccountBsb,e.BankAccountNumber),M()]:[new L(e.FundName,e.FundAbn,e.FundEsa,(r=e.FundAddress,new oe(te(e.FundAddress.AddressLine1,t.fields[0].fields[0]),r.AddressLine2,r.City,r.AddressState,r.Postcode)),e.BankAccountName,e.BankAccountBsb,e.BankAccountNumber),M()];case 4:return t.fields[0].tag===1?[new L(e.FundName,e.FundAbn,e.FundEsa,(o=e.FundAddress,new oe(o.AddressLine1,ne(e.FundAddress.AddressLine2),o.City,o.AddressState,o.Postcode)),e.BankAccountName,e.BankAccountBsb,e.BankAccountNumber),M()]:[new L(e.FundName,e.FundAbn,e.FundEsa,(i=e.FundAddress,new oe(i.AddressLine1,te(e.FundAddress.AddressLine2,t.fields[0].fields[0]),i.City,i.AddressState,i.Postcode)),e.BankAccountName,e.BankAccountBsb,e.BankAccountNumber),M()];case 5:return t.fields[0].tag===1?[new L(e.FundName,e.FundAbn,e.FundEsa,(s=e.FundAddress,new oe(s.AddressLine1,s.AddressLine2,ne(e.FundAddress.City),s.AddressState,s.Postcode)),e.BankAccountName,e.BankAccountBsb,e.BankAccountNumber),M()]:[new L(e.FundName,e.FundAbn,e.FundEsa,(a=e.FundAddress,new oe(a.AddressLine1,a.AddressLine2,te(e.FundAddress.City,t.fields[0].fields[0]),a.AddressState,a.Postcode)),e.BankAccountName,e.BankAccountBsb,e.BankAccountNumber),M()];case 6:return t.fields[0].tag===1?[new L(e.FundName,e.FundAbn,e.FundEsa,(c=e.FundAddress,new oe(c.AddressLine1,c.AddressLine2,c.City,ne(e.FundAddress.AddressState),c.Postcode)),e.BankAccountName,e.BankAccountBsb,e.BankAccountNumber),M()]:[new L(e.FundName,e.FundAbn,e.FundEsa,(l=e.FundAddress,new oe(l.AddressLine1,l.AddressLine2,l.City,te(e.FundAddress.AddressState,t.fields[0].fields[0]),l.Postcode)),e.BankAccountName,e.BankAccountBsb,e.BankAccountNumber),M()];case 7:return t.fields[0].tag===1?[new L(e.FundName,e.FundAbn,e.FundEsa,(d=e.FundAddress,new oe(d.AddressLine1,d.AddressLine2,d.City,d.AddressState,ne(e.FundAddress.Postcode))),e.BankAccountName,e.BankAccountBsb,e.BankAccountNumber),M()]:[new L(e.FundName,e.FundAbn,e.FundEsa,(u=e.FundAddress,new oe(u.AddressLine1,u.AddressLine2,u.City,u.AddressState,te(e.FundAddress.Postcode,t.fields[0].fields[0]))),e.BankAccountName,e.BankAccountBsb,e.BankAccountNumber),M()];case 8:return t.fields[0].tag===1?[new L(e.FundName,e.FundAbn,e.FundEsa,e.FundAddress,ne(e.BankAccountName),e.BankAccountBsb,e.BankAccountNumber),M()]:[new L(e.FundName,e.FundAbn,e.FundEsa,e.FundAddress,te(e.BankAccountName,t.fields[0].fields[0]),e.BankAccountBsb,e.BankAccountNumber),M()];case 9:return t.fields[0].tag===1?[new L(e.FundName,e.FundAbn,e.FundEsa,e.FundAddress,e.BankAccountName,ne(e.BankAccountBsb),e.BankAccountNumber),M()]:[new L(e.FundName,e.FundAbn,e.FundEsa,e.FundAddress,e.BankAccountName,te(e.BankAccountBsb,t.fields[0].fields[0]),e.BankAccountNumber),M()];case 10:return t.fields[0].tag===1?[new L(e.FundName,e.FundAbn,e.FundEsa,e.FundAddress,e.BankAccountName,e.BankAccountBsb,ne(e.BankAccountNumber)),M()]:[new L(e.FundName,e.FundAbn,e.FundEsa,e.FundAddress,e.BankAccountName,e.BankAccountBsb,te(e.BankAccountNumber,t.fields[0].fields[0])),M()];case 11:return Si(`Result: ${Xa(e)}`),[e,M()];case 12:return[e,M()];default:return t.fields[0].tag===1?[new L(ne(e.FundName),e.FundAbn,e.FundEsa,e.FundAddress,e.BankAccountName,e.BankAccountBsb,e.BankAccountNumber),M()]:[new L(te(e.FundName,t.fields[0].fields[0]),e.FundAbn,e.FundEsa,e.FundAddress,e.BankAccountName,e.BankAccountBsb,e.BankAccountNumber),M()]}}function tu(){let t,e,n,r,o,i;const s=Qa();i=Oa(()=>fa(()=>s,eu,(f,h)=>{}),void 0,void 0);const a=i[0],c=i[1],l=(f,h)=>{c(f(new ir(1,[])))},d=(f,h)=>{c(f(new ir(0,[h])))},u=Y(_("form",O(C([["id","form"],["novalidate",""],["onSubmit",f=>{f.preventDefault(),c(new P(11,[]))}],(t=[_("div",O(C([["className","p-4 sm:p-6 pb-6 sm:pb-8 border shadow-sm rounded-lg max-w-560"],(e=[_("p",{className:"sm:text-lg font-bold",children:"Fund details"}),Pa,_("div",O(Y((n=[(r=C([La(new X(a.FundName,N(l)(f=>new P(0,[f])),N(d)(f=>new P(0,[f])))),Ra(new X(a.FundAbn,N(l)(f=>new P(1,[f])),N(d)(f=>new P(1,[f])))),za(new X(a.FundEsa,N(l)(f=>new P(2,[f])),N(d)(f=>new P(2,[f])))),Wa(new Ms(new X(a.FundAddress.AddressLine1,N(l)(f=>new P(3,[f])),N(d)(f=>new P(3,[f]))),new X(a.FundAddress.AddressLine2,N(l)(f=>new P(4,[f])),N(d)(f=>new P(4,[f]))),new X(a.FundAddress.City,N(l)(f=>new P(5,[f])),N(d)(f=>new P(5,[f]))),new X(a.FundAddress.AddressState,N(l)(f=>new P(6,[f])),N(d)(f=>new P(6,[f]))),new X(a.FundAddress.Postcode,N(l)(f=>new P(7,[f])),N(d)(f=>new P(7,[f]))))),_("h3",{className:"text-lg font-bold mt-6",children:"Fund bank details"}),qa(new X(a.BankAccountName,N(l)(f=>new P(8,[f])),N(d)(f=>new P(8,[f])))),Ga(new X(a.BankAccountBsb,N(l)(f=>new P(9,[f])),N(d)(f=>new P(9,[f])))),Za(new X(a.BankAccountNumber,N(l)(f=>new P(10,[f])),N(d)(f=>new P(10,[f]))))]),_("div",{children:k.Children.toArray(Array.from(r))}))],["children",k.Children.toArray(Array.from(n))]))))],["children",k.Children.toArray(Array.from(e))])]))),_("div",O(C([["className","flex justify-center mt-8"],(o=[_("div",{className:"sm:max-w-320 w-full",children:k.Children.toArray([Ka,Ja])})],["children",k.Children.toArray(Array.from(o))])])))],["children",k.Children.toArray(Array.from(t))])]))));return _("div",{children:k.Children.toArray(Array.from(u))})}function mn(){return(mn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var nu=["context","children"];function ru(t){this.getChildContext=function(){return t.context};var e=t.children,n=function(r,o){if(r==null)return{};var i,s,a={},c=Object.keys(r);for(s=0;s<c.length;s++)o.indexOf(i=c[s])>=0||(a[i]=r[i]);return a}(t,nu);return Ht(e,n)}function ou(){var t=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(t),this._vdom=_(ru,mn({},this._props,{context:t.detail.context}),function e(n,r){if(n.nodeType===3)return n.data;if(n.nodeType!==1)return null;var o=[],i={},s=0,a=n.attributes,c=n.childNodes;for(s=a.length;s--;)a[s].name!=="slot"&&(i[a[s].name]=a[s].value,i[ko(a[s].name)]=a[s].value);for(s=c.length;s--;){var l=e(c[s],null),d=c[s].slot;d?i[d]=_(sr,{name:d},l):o[s]=l}var u=r?_(sr,null,o):o;return _(r||n.nodeName.toLowerCase(),i,u)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Ut:Se)(this._vdom,this._root)}function ko(t){return t.replace(/-(\w)/g,function(e,n){return n?n.toUpperCase():""})}function iu(t,e,n){if(this._vdom){var r={};r[t]=n=n??void 0,r[ko(t)]=n,this._vdom=Ht(this._vdom,r),Se(this._vdom,this._root)}}function su(){Se(this._vdom=null,this._root)}function sr(t,e){var n=this;return _("slot",mn({},t,{ref:function(r){r?(n.ref=r,n._listener||(n._listener=function(o){o.stopPropagation(),o.detail.context=e},r.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}function au(t,e,n,r){function o(){var i=Reflect.construct(HTMLElement,[],o);return i._vdomComponent=t,i._root=r&&r.shadow?i.attachShadow({mode:r.mode||"open"}):i,i}return(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=ou,o.prototype.attributeChangedCallback=iu,o.prototype.disconnectedCallback=su,n=n||t.observedAttributes||Object.keys(t.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(e,o)}function uu(t,e){au(t,e,void 0,{shadow:!0})}function lu(t){let e;const n=C([_("style",{children:[_i]}),_("div",O(C([["className","mx-auto max-w-7xl px-4 sm:px-6 lg:px-8"],(e=[_("div",{className:"mx-auto max-w-3xl",children:k.Children.toArray([t])})],["children",k.Children.toArray(Array.from(e))])])))]);return _("div",{children:k.Children.toArray(Array.from(n))})}function cu(t){return lu(_(tu,null))}function du(){uu(t=>_(cu,t),"apollo-super-smsf")}du();
|
|
31
|
+
*/var Mt=Cf;function Af(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ef=typeof Object.is=="function"?Object.is:Af,Nf=Mt.useState,Ff=Mt.useEffect,Mf=Mt.useLayoutEffect,Tf=Mt.useDebugValue;function Bf(e,t){var n=t(),r=Nf({inst:{value:n,getSnapshot:t}}),o=r[0].inst,s=r[1];return Mf(function(){o.value=n,o.getSnapshot=t,Hn(o)&&s({inst:o})},[e,n,t]),Ff(function(){return Hn(o)&&s({inst:o}),e(function(){Hn(o)&&s({inst:o})})},[e]),Tf(n),n}function Hn(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ef(e,n)}catch{return!0}}function $f(e,t){return t()}var If=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?$f:Bf;Zi.useSyncExternalStore=Mt.useSyncExternalStore!==void 0?Mt.useSyncExternalStore:If;qi.exports=Zi;var Of=qi.exports;class Lf{constructor(t,n,r){this.arg=n,this.dependencies=r;const o=t(),s=[];this.finalDispatch=void 0;let i;const a=yf(o)(this.arg);let c=a[0],l=a[1];i=[[c,f=>{const u=this.finalDispatch;u==null?s.push(f):u(f)},!1,s],l],this.state=i[0],this.cmd=i[1],this.subscribe=f=>{let u=!1;const m=Kn(this.state[0]);return xf(this.arg,bf((h,p)=>{const g=this.state;this.finalDispatch=p,this.state=[h,g[1],!0,s],h!==g[0]&&f()},vf((h,p)=>{const g=this.cmd;return this.cmd=G(),[this.state[0],g]},(h,p,g)=>h(p)(this.state[0]),Xn(h=>h),Xn(h=>h),J(h=>h),h=>[p=>h[0](p)?!0:m&&u,p=>{const g=p;Kn(g)?q(g):h[1](p)}],o))),()=>{u=!0}}}}function es(e,t,n){return new Lf(e,t,n)}function Vf(e){return e.state}function Pf(e){return e.subscribe}function Df(e,t,n){return Te(e.arg,t)?!Te(e.dependencies,n):!0}function Ji(e,t,n){const r=Tt(()=>es(e,t,n)),o=r[0];Df(o,t,n)&&r[1](es(e,t,n));const s=Of.useSyncExternalStore(Pf(o),()=>Vf(o)),i=s[2],a=s[3],c=s[1];return Gt(()=>{if(i&&a.length>0){let l=X(a);try{for(;l["System.Collections.IEnumerator.MoveNext"]();){const f=l["System.Collections.Generic.IEnumerator`1.get_Current"]();setTimeout(()=>{c(f)})}}finally{q(l)}lu(a)}},[i,a]),[s[0],c]}class ir extends V{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Started","Finished"]}}class Ur extends Q{constructor(t,n,r,o){super(),this.Value=t,this.IsTouched=n,this.Validator=r,this.ErrorMessage=o}}class pe extends Q{constructor(t,n,r){super(),this.Field=t,this.OnBlur=n,this.OnChange=r}}function ve(e,t){return new Ur(Cn(t,""),!1,e,void 0)}function Ki(e,t){let n;return new Ur(t,e.IsTouched,e.Validator,(n=e.Validator(e.Value),n.tag===1&&e.IsTouched?n.fields[0]:void 0))}function ie(e){let t;return new Ur(e.Value,!0,e.Validator,(t=e.Validator(e.Value),t.tag===1?t.fields[0]:void 0))}function Le(e,t){return Qs(t)?new d(1,[`${e} is required`]):new d(0,[t])}function st(e,t,n){return n.length>=t?new d(0,[n]):new d(1,[`${e} requires a minimum length of ${t} characters`])}function zr(e,t,n){return n.length<=t?new d(0,[n]):new d(1,[`${e} exceeds maximum length of ${t} characters`])}function Hr(e){return e.trim()}function Yi(e){return Fr(e,"\\s+","")}function In(e,t,n){return Lu(Zs(t),n)?new d(0,[n]):new d(1,[`${e} is invalid`])}function Rf(e){return Fr(e,"[^0-9]","")}class Uf extends V{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["FundName"]}}function Xi(e){let t;const n=Le("Fund name",Hr(e));return t=n.tag===1?new d(1,[n.fields[0]]):st("Fund name",2,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new Uf(t.fields[0])])}function Qi(e){return ve(Xi,e)}function zf(e){return e.fields[0]}class Hf extends V{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["FundAbn"]}}function ea(e){const t=Oe(Ve(o=>~~o.charCodeAt(0)-48,e.split(""))),n=S([10,1,3,5,7,9,11,13,15,17,19]),r=li(o=>o>=0?o<=9:!1,t)?new d(0,[void 0]):new d(1,["Enter a valid fund ABN (digits only)"]);if(r.tag===1)return new d(1,[r.fields[0]]);{const o=vo(t)===vo(n)?new d(0,[void 0]):new d(1,["Enter a valid fund ABN"]);if(o.tag===1)return new d(1,[o.fields[0]]);{const s=ml((i,a,c)=>i+a*c,0,_l((i,a)=>i===0?a-1|0:a|0,t),n)%89===0?new d(0,[void 0]):new d(1,["Enter a valid fund ABN"]);return s.tag===1?new d(1,[s.fields[0]]):new d(0,[new Hf(e)])}}}function ta(e){return ve(ea,e)}function jf(e){return e.fields[0]}class Gf extends V{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["FundEsa"]}}function na(e){let t;const n=Le("Fund ESA",Hr(e));return t=n.tag===1?new d(1,[n.fields[0]]):st("Fund ESA",2,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new Gf(t.fields[0])])}function ra(e){return ve(na,e)}function Wf(e){return e.fields[0]}class qf extends V{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["AddressLine1"]}}function oa(e){let t;const n=Le("Address Line 1",e);return t=n.tag===1?new d(1,[n.fields[0]]):st("Address Line 1",2,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new qf(t.fields[0])])}function sa(e){return ve(oa,e)}function Zf(e){return e.fields[0]}class Jf extends V{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["AddressLine2"]}}function ia(e){if(Qs(e))return new d(0,[void 0]);{const t=st("Address Line 1",2,e);return t.tag===1?new d(1,[t.fields[0]]):new d(0,[new Jf(t.fields[0])])}}function aa(e){return ve(ia,e)}function Kf(e){if(e!=null)return e.fields[0]}class Yf extends V{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["City"]}}function ua(e){const t=Le("City",e);return t.tag===1?new d(1,[t.fields[0]]):new d(0,[new Yf(t.fields[0])])}function la(e){return ve(ua,e)}function Xf(e){return e.fields[0]}class Qe extends V{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["NSW","QLD","ACT","VIC","TAS","WA","SA","NT"]}}function ca(e){const t=Le("State",e);if(t.tag===1)return new d(1,[t.fields[0]]);switch(t.fields[0]){case"NSW":return new d(0,[new Qe(0,[])]);case"QLD":return new d(0,[new Qe(1,[])]);case"ACT":return new d(0,[new Qe(2,[])]);case"VIC":return new d(0,[new Qe(3,[])]);case"TAS":return new d(0,[new Qe(4,[])]);case"WA":return new d(0,[new Qe(5,[])]);case"SA":return new d(0,[new Qe(6,[])]);case"NT":return new d(0,[new Qe(7,[])]);default:return new d(1,["Select a state'"])}}function da(e){return ve(ca,e)}function Qf(e){switch(e.tag){case 1:return"QLD";case 2:return"ACT";case 3:return"VIC";case 4:return"TAS";case 5:return"WA";case 6:return"SA";case 7:return"NT";default:return"NSW"}}class eh extends V{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["Postcode"]}}function fa(e){let t,n;const r=Le("Postcode",e);return n=r.tag===1?new d(1,[r.fields[0]]):st("Postcode",4,r.fields[0]),t=n.tag===1?new d(1,[n.fields[0]]):zr("Postcode",4,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new eh(t.fields[0])])}function ha(e){return ve(fa,e)}function th(e){return e.fields[0]}class nh extends V{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["MemberFirstName"]}}const rh="[A-Za-z][A-Za-z']+(( |-)[A-Za-z][A-Za-z']+)*\\s*$";function ma(e){let t;const n=Le("Member given name(s)",e);return t=n.tag===1?new d(1,[n.fields[0]]):In("Member given name(s)",rh,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new nh(t.fields[0])])}function pa(e){return ve(ma,e)}function oh(e){return e.fields[0]}class sh extends V{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["MemberLastName"]}}const ih="[A-Za-z][A-Za-z']+(( |-)[A-Za-z][A-Za-z']+)*\\s*$";function _a(e){let t;const n=Le("Last Name",e);return t=n.tag===1?new d(1,[n.fields[0]]):In("Last Name",ih,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new sh(t.fields[0])])}function wa(e){return ve(_a,e)}function ah(e){return e.fields[0]}class uh extends V{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["BankAccountName"]}}function ga(e){let t;const n=Le("Account name",Hr(e));return t=n.tag===1?new d(1,[n.fields[0]]):st("Account name",2,n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new uh(t.fields[0])])}function ba(e){return ve(ga,e)}function lh(e){return e.fields[0]}class ch extends V{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["BankAccountBsb"]}}function ya(e){let t,n,r;const o=Le("BSB",Yi(e));return r=o.tag===1?new d(1,[o.fields[0]]):st("BSB",6,o.fields[0]),n=r.tag===1?new d(1,[r.fields[0]]):zr("BSB",6,r.fields[0]),t=n.tag===1?new d(1,[n.fields[0]]):In("BSB","^\\d{6}$",n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new ch(t.fields[0])])}function va(e){return ve(ya,e)}function dh(e){return e.fields[0]}class fh extends V{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["BankAccountNumber"]}}function ka(e){let t,n,r;const o=Le("Account Number",Yi(e));return r=o.tag===1?new d(1,[o.fields[0]]):st("Account Number",2,o.fields[0]),n=r.tag===1?new d(1,[r.fields[0]]):zr("Account Number",11,r.fields[0]),t=n.tag===1?new d(1,[n.fields[0]]):In("Account Number","^\\d{2,11}$",n.fields[0]),t.tag===1?new d(1,[t.fields[0]]):new d(0,[new fh(t.fields[0])])}function xa(e){return ve(ka,e)}function hh(e){return e.fields[0]}class mh extends Q{constructor(t,n,r,o,s){super(),this.AddressLine1=t,this.AddressLine2=n,this.City=r,this.AddressState=o,this.Postcode=s}}function jr(e){const t=e.target,n=Rf(t.value);return t.value=n,n}const ph=w("svg",E(S([["fill","#facc15"],["className","h-5 w-5"],["viewBox","0 0 20 20"],["xmlns","http://www.w3.org/2000/svg"],(()=>{let e;const t=O(w("path",E(S([["fill-rule","evenodd"],(e="M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z",["d",e]),["clipRule","evenodd"]]))));return["children",C.Children.toArray(Array.from(t))]})()]))),_h=w("div",E(S([["className","bg-yellow-50 border-l-4 border-yellow-400 p-4 my-3"],(()=>{let e;const t=[w("div",E(S([["className","flex"],(e=[w("div",{className:"flex-shrink-0",children:C.Children.toArray([ph])}),w("div",{className:"ml-3 text-sm text-yellow-700 leading-5",children:"Make sure your Self-managed super fund (SMSF) is a registered fund before completing this step."})],["children",C.Children.toArray(Array.from(e))])])))];return["children",C.Children.toArray(Array.from(t))]})()])));function Ke(e){if(e==null)return qe();{const t=e;return w("div",{className:H(" ",["mt-2 text-sm text-red-600"]),children:t})}}function Qt(e){return Oe(P(()=>ye(K("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10"),P(()=>e?K("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Re()))))}function wh(e){let t,n;return w("div",E(S([["className","mt-3"],(t=[w("label",{className:"text-sm font-medium text-gray-700",for:"fundName",children:"Fund name"}),w("div",E(S([["className","mt-1"],(n=[w("input",{type:"text",className:H(" ",Qt(e.Field.ErrorMessage!=null)),id:"fundName",value:e.Field.Value,onBlur:e.OnBlur,onChange:r=>{e.OnChange(r.target.value)}}),Ke(e.Field.ErrorMessage)],["children",C.Children.toArray(Array.from(n))])])))],["children",C.Children.toArray(Array.from(t))])])))}function gh(e){let t,n;return w("div",E(S([["className","mt-3"],(t=[w("label",{className:"text-sm font-medium text-gray-700",for:"fundAbn",children:"Fund ABN"}),w("div",E(S([["className","mt-1"],(n=[w("input",{id:"fundAbn",type:"text",inputmode:"numeric",value:e.Field.Value,className:H(" ",Qt(e.Field.ErrorMessage!=null)),onKeyUp:r=>{e.OnChange(jr(r))},onBlur:e.OnBlur,onChange:r=>{e.OnChange(r.target.value)}}),Ke(e.Field.ErrorMessage)],["children",C.Children.toArray(Array.from(n))])])))],["children",C.Children.toArray(Array.from(t))])])))}function bh(e){let t,n;return w("div",E(S([["className","mt-3"],(t=[w("label",{className:"text-sm font-medium text-gray-700",for:"fundEsa",children:"Electronic service address alias (ESA)"}),w("div",E(S([["className","mt-1"],(n=[w("input",{id:"fundEsa",type:"text",value:e.Field.Value,className:H(" ",Qt(e.Field.ErrorMessage!=null)),onBlur:e.OnBlur,onChange:r=>{e.OnChange(r.target.value)}}),Ke(e.Field.ErrorMessage)],["children",C.Children.toArray(Array.from(n))])])))],["children",C.Children.toArray(Array.from(t))])])))}function yh(e,t){return w("input",{placeholder:"Address line 1",type:"text",className:H(" ",Oe(P(()=>ye(K("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10 rounded-none rounded-t-md shadow-none"),P(()=>e&&t.Field.ErrorMessage!=null?K("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Re()))))),required:!0,minLength:2,id:"addressLine1",value:t.Field.Value,onBlur:t.OnBlur,onChange:n=>{t.OnChange(n.target.value)}})}function vh(e,t){return w("input",{placeholder:"Address line 2 (optional)",type:"text",className:H(" ",Oe(P(()=>ye(K("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10 rounded-none shadow-none"),P(()=>e&&t.Field.ErrorMessage!=null?K("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Re()))))),id:"addressLine2",value:t.Field.Value,onBlur:t.OnBlur,onChange:n=>{t.OnChange(n.target.value)}})}function kh(e,t){return w("input",{placeholder:"City/suburb",type:"text",className:H(" ",Oe(P(()=>ye(K("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10 rounded-none shadow-none"),P(()=>e&&t.Field.ErrorMessage!=null?K("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Re()))))),required:!0,id:"city",value:t.Field.Value,onBlur:t.OnBlur,onChange:n=>{t.OnChange(n.target.value)}})}function xh(e,t){let n;return w("div",E(S([["className","flex-1 min-w-0"],(n=[w("input",{placeholder:"Postcode",type:"text",required:!0,className:H(" ",Oe(P(()=>ye(K("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10 rounded-none rounded-bl-md shadow-none"),P(()=>e&&t.Field.ErrorMessage!=null?K("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Re()))))),minLength:4,maxLength:4,pattern:"[0-9]{4}",inputmode:"numeric",id:"postcode",value:t.Field.Value,onBlur:t.OnBlur,onChange:r=>{t.OnChange(r.target.value)}})],["children",C.Children.toArray(Array.from(n))])])))}function Sh(e,t){let n;const r=w("option",{disabled:!0,value:"",children:"State",selected:t.Field.Value===""}),o=ui(s=>w("option",{value:s,children:s,selected:t.Field.Value===s}),S(["NSW","QLD","ACT","VIC","TAS","WA","SA","NT"]));return w("div",E(S([["className","w-1/2 flex-1 min-w-0"],(n=[w("select",{className:H(" ",Oe(P(()=>ye(K("relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10 rounded-none rounded-br-md shadow-none text-gray-500"),P(()=>e&&t.Field.ErrorMessage!=null?K("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Re()))))),id:"state",required:!0,children:C.Children.toArray(Array.from(ge(r,o))),onBlur:t.OnBlur,onChange:s=>{t.OnChange(s.target.value)}})],["children",C.Children.toArray(Array.from(n))])])))}function Ch(e){let t,n,r,o;const s=a=>a.IsTouched;o=li(a=>a,S([s(e.AddressLine1.Field),s(e.City.Field),s(e.AddressState.Field),s(e.Postcode.Field)]));const i=wl(a=>a,S([e.AddressLine1.Field.ErrorMessage,e.City.Field.ErrorMessage,e.AddressState.Field.ErrorMessage,e.Postcode.Field.ErrorMessage]));return w("div",E(S([["className","mt-3"],(t=[w("label",{className:"text-sm font-medium text-gray-700",children:"Fund address"}),w("div",E(S([["className","mt-1 rounded-md shadow-sm -space-y-px"],(n=[yh(o,e.AddressLine1),vh(o,e.AddressLine2),kh(o,e.City),w("div",E(S([["className","flex -space-x-px"],(r=[xh(o,e.Postcode),Sh(o,e.AddressState)],["children",C.Children.toArray(Array.from(r))])])))],["children",C.Children.toArray(Array.from(n))])]))),Ke(o?i:void 0)],["children",C.Children.toArray(Array.from(t))])])))}function Ah(e){let t,n;return w("div",E(S([["className","mt-3 w-1/2"],(t=[w("label",{className:"text-sm font-medium text-gray-700",for:"memberGivenNames",children:"Given name(s)"}),w("div",E(S([["className","mt-1"],(n=[w("input",{type:"text",className:H(" ",Qt(e.Field.ErrorMessage!=null)),id:"memberGivenNames",value:e.Field.Value,onBlur:e.OnBlur,onChange:r=>{e.OnChange(r.target.value)}}),Ke(e.Field.ErrorMessage)],["children",C.Children.toArray(Array.from(n))])])))],["children",C.Children.toArray(Array.from(t))])])))}function Eh(e){let t,n;return w("div",E(S([["className","mt-3 w-1/2"],(t=[w("label",{className:"text-sm font-medium text-gray-700",for:"memberLastNames",children:"Last name"}),w("div",E(S([["className","mt-1"],(n=[w("input",{type:"text",className:H(" ",Qt(e.Field.ErrorMessage!=null)),id:"memberLastName",value:e.Field.Value,onBlur:e.OnBlur,onChange:r=>{e.OnChange(r.target.value)}}),Ke(e.Field.ErrorMessage)],["children",C.Children.toArray(Array.from(n))])])))],["children",C.Children.toArray(Array.from(t))])])))}function Nh(e){let t,n;const r=e.Field.IsTouched&&e.Field.ErrorMessage!=null;return w("div",E(S([["className","mt-3"],(t=[w("label",{className:"text-sm font-medium text-gray-700",for:"bankAccountName",children:"Account name"}),w("div",E(S([["className","mt-1"],(n=[w("input",{id:"bankAccountName",type:"text",value:e.Field.Value,className:H(" ",Oe(P(()=>ye(K("peer relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10"),P(()=>r?K("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Re()))))),onBlur:e.OnBlur,onChange:o=>{e.OnChange(o.target.value)}}),Ke(e.Field.ErrorMessage)],["children",C.Children.toArray(Array.from(n))])])))],["children",C.Children.toArray(Array.from(t))])])))}function Fh(e){let t,n;const r=e.Field.IsTouched&&e.Field.ErrorMessage!=null;return w("div",E(S([["className","mt-3"],(t=[w("label",{className:"text-sm font-medium text-gray-700",for:"bankAccountBsb",children:"BSB"}),w("div",E(S([["className","mt-1"],(n=[w("input",{id:"bankAccountBsb",type:"text",value:e.Field.Value,inputmode:"numeric",className:H(" ",Oe(P(()=>ye(K("peer relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10"),P(()=>r?K("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Re()))))),onKeyUp:o=>{e.OnChange(jr(o))},onBlur:e.OnBlur,onChange:o=>{e.OnChange(o.target.value)}}),Ke(e.Field.ErrorMessage)],["children",C.Children.toArray(Array.from(n))])])))],["children",C.Children.toArray(Array.from(t))])])))}function Mh(e){let t;return w("div",E(S([["className","mt-3"],(t=[w("label",{className:"text-sm font-medium text-gray-700",children:"Bank name"}),w("div",{className:"mt-1 shadow-sm px-3 py-2 rounded-md border border-gray-300 bg-gray-50 text-gray-500 text-sm",children:e})],["children",C.Children.toArray(Array.from(t))])])))}function Th(e){let t,n;const r=e.Field.IsTouched&&e.Field.ErrorMessage!=null;return w("div",E(S([["className","mt-3"],(t=[w("label",{className:"text-sm font-medium text-gray-700",for:"bankAccountNumber",children:"Account number"}),w("div",E(S([["className","mt-1"],(n=[w("input",{id:"bankAccountNumber",type:"text",value:e.Field.Value,inputmode:"numeric",className:H(" ",Oe(P(()=>ye(K("peer relative shadow-sm focus:ring-primary-focus focus:border-primary-base block w-full text-base sm:text-sm border-gray-300 rounded-md focus:z-10"),P(()=>r?K("border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500"):Re()))))),onKeyUp:o=>{e.OnChange(jr(o))},onBlur:e.OnBlur,onChange:o=>{e.OnChange(o.target.value)}}),Ke(e.Field.ErrorMessage)],["children",C.Children.toArray(Array.from(n))])])))],["children",C.Children.toArray(Array.from(t))])])))}function Bh(e,t){let n;return w("div",E(S([["className","mb-4"],(n=[w("div",E(Oe(P(()=>ye(e?Re():K(["onClick",t]),P(()=>{let r;return K((r=[w("button",{className:H(" ",["px-4 py-2 text-base inline-flex items-center justify-center border font-medium","rounded-md shadow-sm pointer-events-auto border-transparent text-white bg-primary-base w-full","disabled:pointer-events-none disabled:border-gray-300 disabled:bg-gray-100 disabled:text-gray-400","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-focus","hover:bg-primary-hover"]),"data-testid":"continue-button",disabled:!e,children:"Continue",onClick:t})],["children",C.Children.toArray(Array.from(r))]))}))))))],["children",C.Children.toArray(Array.from(n))])])))}function $h(e){let t,n,r;return w("div",E(O((t=[w("a",E(S([["href","/"],(n=[w("div",E(O((r=[w("button",{className:H(" ",["px-4 py-2 text-base inline-flex items-center justify-center border font-medium rounded-md shadow-sm pointer-events-auto border-gray-300 text-gray-700 bg-white w-full","disabled:pointer-events-none disabled:border-gray-300 disabled:bg-gray-100 disabled:text-gray-400","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-focus","hover:bg-gray-50"]),"data-testid":"back-button",children:"Back",onClick:e})],["children",C.Children.toArray(Array.from(r))]))))],["children",C.Children.toArray(Array.from(n))])])))],["children",C.Children.toArray(Array.from(t))]))))}class ts extends V{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["SetValue","SetTouched"]}}let B=class extends V{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["UpdateFundName","UpdateFundAbn","UpdateFundEsa","UpdateAddressLine1","UpdateAddressLine2","UpdateCity","UpdateAddressState","UpdatePostcode","UpdateMemberFirstName","UpdateMemberLastName","UpdateBankAccountName","UpdateBankAccountBsb","UpdateBankAccountNumber","BsbLookup","Submit","Cancel"]}};class Ih extends Q{constructor(t,n,r,o,s,i,a,c,l,f,u,m,h){super(),this.FundName=t,this.FundAbn=n,this.FundEsa=r,this.FundAddressLine1=o,this.FundAddressLine2=s,this.FundCity=i,this.FundState=a,this.FundPostcode=c,this.MemberFirstName=l,this.MemberLastName=f,this.BankAccountName=u,this.BankAccountBsb=m,this.BankAccountNumber=h}}let ee=class extends Q{constructor(t,n,r,o,s,i,a,c,l,f){super(),this.FundName=t,this.FundAbn=n,this.FundEsa=r,this.FundAddress=o,this.MemberFirstName=s,this.MemberLastName=i,this.BankAccountName=a,this.BankAccountBsb=c,this.BankAccountNumber=l,this.BankName=f}};class et extends Q{constructor(t,n,r,o,s){super(),this.AddressLine1=t,this.AddressLine2=n,this.City=r,this.AddressState=o,this.Postcode=s}}const Oh=new ee(Qi(void 0),ta(void 0),ra(void 0),new et(sa(void 0),aa(void 0),la(void 0),da(void 0),ha(void 0)),pa(void 0),wa(void 0),ba(void 0),va(void 0),xa(void 0),void 0);function Lh(e){return new ee(Qi(e.FundName),ta(e.Abn),ra(e.ElectronicServiceAddress),new et(sa(e.FundAddress.AddressLine1),aa(e.FundAddress.AddressLine2),la(e.FundAddress.City),da(e.FundAddress.State),ha(e.FundAddress.Postcode)),pa(e.MemberFirstName),wa(e.MemberFamilyName),ba(e.BankAccountName),va(e.Bsb),xa(e.BankAccountNumber),void 0)}function Vh(e){let t;return[Cn((t=e,t==null?void 0:Lh(t)),Oh),e!=null?O(n=>{n(new B(13,[new ir(0,[])]))}):G()]}function Sa(e){let t;const n=Xi(e.FundName.Value);if(t=n.tag===1?new d(1,[O(n.fields[0])]):new d(0,[n.fields[0]]),t.tag===1)return new d(1,[t.fields[0]]);{let r;const o=ea(e.FundAbn.Value);if(r=o.tag===1?new d(1,[O(o.fields[0])]):new d(0,[o.fields[0]]),r.tag===1)return new d(1,[r.fields[0]]);{let s;const i=na(e.FundEsa.Value);if(s=i.tag===1?new d(1,[O(i.fields[0])]):new d(0,[i.fields[0]]),s.tag===1)return new d(1,[s.fields[0]]);{let a;const c=oa(e.FundAddress.AddressLine1.Value);if(a=c.tag===1?new d(1,[O(c.fields[0])]):new d(0,[c.fields[0]]),a.tag===1)return new d(1,[a.fields[0]]);{let l;const f=ia(e.FundAddress.AddressLine2.Value);if(l=f.tag===1?new d(1,[O(f.fields[0])]):new d(0,[f.fields[0]]),l.tag===1)return new d(1,[l.fields[0]]);{let u;const m=ua(e.FundAddress.City.Value);if(u=m.tag===1?new d(1,[O(m.fields[0])]):new d(0,[m.fields[0]]),u.tag===1)return new d(1,[u.fields[0]]);{let h;const p=ca(e.FundAddress.AddressState.Value);if(h=p.tag===1?new d(1,[O(p.fields[0])]):new d(0,[p.fields[0]]),h.tag===1)return new d(1,[h.fields[0]]);{let g;const _=fa(e.FundAddress.Postcode.Value);if(g=_.tag===1?new d(1,[O(_.fields[0])]):new d(0,[_.fields[0]]),g.tag===1)return new d(1,[g.fields[0]]);{let b;const k=ma(e.MemberFirstName.Value);if(b=k.tag===1?new d(1,[O(k.fields[0])]):new d(0,[k.fields[0]]),b.tag===1)return new d(1,[b.fields[0]]);{let F;const y=_a(e.MemberLastName.Value);if(F=y.tag===1?new d(1,[O(y.fields[0])]):new d(0,[y.fields[0]]),F.tag===1)return new d(1,[F.fields[0]]);{let Z;const Ce=ga(e.BankAccountName.Value);if(Z=Ce.tag===1?new d(1,[O(Ce.fields[0])]):new d(0,[Ce.fields[0]]),Z.tag===1)return new d(1,[Z.fields[0]]);{let it;const Ye=ya(e.BankAccountBsb.Value);if(it=Ye.tag===1?new d(1,[O(Ye.fields[0])]):new d(0,[Ye.fields[0]]),it.tag===1)return new d(1,[it.fields[0]]);{let Xe;const de=ka(e.BankAccountNumber.Value);return Xe=de.tag===1?new d(1,[O(de.fields[0])]):new d(0,[de.fields[0]]),Xe.tag===1?new d(1,[Xe.fields[0]]):new d(0,[new Ih(t.fields[0],r.fields[0],s.fields[0],a.fields[0],l.fields[0],u.fields[0],h.fields[0],g.fields[0],b.fields[0],F.fields[0],Z.fields[0],it.fields[0],Xe.fields[0])])}}}}}}}}}}}}}function Ph(e){return new ee(ie(e.FundName),ie(e.FundAbn),ie(e.FundEsa),new et(ie(e.FundAddress.AddressLine1),ie(e.FundAddress.AddressLine2),ie(e.FundAddress.City),ie(e.FundAddress.AddressState),ie(e.FundAddress.Postcode)),ie(e.MemberFirstName),ie(e.MemberLastName),ie(e.BankAccountName),ie(e.BankAccountBsb),ie(e.BankAccountNumber),e.BankName)}function ke(e,t,n){return n(e.tag===1?ie(t):Ki(t,e.fields[0]))}function Dh(e,t,n){let r,o;switch(t.tag){case 1:return[ke(t.fields[0],n.FundAbn,s=>new ee(n.FundName,s,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)),G()];case 2:return[ke(t.fields[0],n.FundEsa,s=>new ee(n.FundName,n.FundAbn,s,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)),G()];case 3:return[ke(t.fields[0],n.FundAddress.AddressLine1,s=>{let i;return new ee(n.FundName,n.FundAbn,n.FundEsa,(i=n.FundAddress,new et(s,i.AddressLine2,i.City,i.AddressState,i.Postcode)),n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)}),G()];case 4:return[ke(t.fields[0],n.FundAddress.AddressLine2,s=>{let i;return new ee(n.FundName,n.FundAbn,n.FundEsa,(i=n.FundAddress,new et(i.AddressLine1,s,i.City,i.AddressState,i.Postcode)),n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)}),G()];case 5:return[ke(t.fields[0],n.FundAddress.City,s=>{let i;return new ee(n.FundName,n.FundAbn,n.FundEsa,(i=n.FundAddress,new et(i.AddressLine1,i.AddressLine2,s,i.AddressState,i.Postcode)),n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)}),G()];case 6:return[ke(t.fields[0],n.FundAddress.AddressState,s=>{let i;return new ee(n.FundName,n.FundAbn,n.FundEsa,(i=n.FundAddress,new et(i.AddressLine1,i.AddressLine2,i.City,s,i.Postcode)),n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)}),G()];case 7:return[ke(t.fields[0],n.FundAddress.Postcode,s=>{let i;return new ee(n.FundName,n.FundAbn,n.FundEsa,(i=n.FundAddress,new et(i.AddressLine1,i.AddressLine2,i.City,i.AddressState,s)),n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)}),G()];case 8:return[ke(t.fields[0],n.MemberFirstName,s=>new ee(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,s,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)),G()];case 9:return[ke(t.fields[0],n.MemberLastName,s=>new ee(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,s,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)),G()];case 10:return[ke(t.fields[0],n.BankAccountName,s=>new ee(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,s,n.BankAccountBsb,n.BankAccountNumber,n.BankName)),G()];case 11:if(t.fields[0].tag===1)return[new ee(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,ie(n.BankAccountBsb),n.BankAccountNumber,n.BankName),G()];{const s=t.fields[0].fields[0],i=Nc(n.BankAccountBsb.Validator(s))!=null,a=i?n.BankName:void 0,c=i?O(l=>{l(new B(13,[new ir(0,[])]))}):G();return[new ee(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,Ki(n.BankAccountBsb,s),n.BankAccountNumber,a),c]}case 12:return[ke(t.fields[0],n.BankAccountNumber,s=>new ee(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,s,n.BankName)),G()];case 13:return t.fields[0].tag===1?t.fields[0].fields[0].tag===1?[n,G()]:[new ee(n.FundName,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,(r=t.fields[0].fields[0].fields[0].BankDetails,r==null?void 0:(o=r,`${o.Bank} - ${o.Branch}`))),G()]:[n,Hi(s=>{ji(s)},s=>Hd(e,s),n.BankAccountBsb.Value,s=>new B(13,[new ir(1,[s])]))];case 14:{const s=Sa(n);if(s.tag===1)return[Ph(n),G()];{const i=s.fields[0];return sr(new or(2,[new Qd(zf(i.FundName),jf(i.FundAbn),Wf(i.FundEsa),Zf(i.FundAddressLine1),Kf(i.FundAddressLine2),Xf(i.FundCity),Qf(i.FundState),th(i.FundPostcode),oh(i.MemberFirstName),ah(i.MemberLastName),lh(i.BankAccountName),dh(i.BankAccountBsb),hh(i.BankAccountNumber))])),[n,G()]}}case 15:return sr(new or(1,[])),[n,G()];default:return[ke(t.fields[0],n.FundName,s=>new ee(s,n.FundAbn,n.FundEsa,n.FundAddress,n.MemberFirstName,n.MemberLastName,n.BankAccountName,n.BankAccountBsb,n.BankAccountNumber,n.BankName)),G()]}}function Rh(e){let t,n,r,o,s,i,a,c;const l=e.smsfChoice,f=e.backendService;let u;const m=Vh(l);u=Ji(()=>Wi(()=>m,(y,Z)=>Dh(f,y,Z),(y,Z)=>{}),void 0,void 0);const h=u[0],p=u[1],g=(y,Z)=>{p(y(new ts(1,[])))},_=(y,Z)=>{p(y(new ts(0,[Z])))};let b;b=Sa(h).tag!==1;const F=O(w("form",E(S([["id","form"],["novalidate",""],(t=[w("div",E(S([["className","p-4 sm:p-6 pb-6 sm:pb-8 border shadow-sm rounded-lg max-w-560"],(n=[w("p",{className:"sm:text-lg font-bold",children:"Fund details"}),_h,w("div",E(O((r=[(o=S([wh(new pe(h.FundName,T(g)(y=>new B(0,[y])),T(_)(y=>new B(0,[y])))),gh(new pe(h.FundAbn,T(g)(y=>new B(1,[y])),T(_)(y=>new B(1,[y])))),bh(new pe(h.FundEsa,T(g)(y=>new B(2,[y])),T(_)(y=>new B(2,[y])))),Ch(new mh(new pe(h.FundAddress.AddressLine1,T(g)(y=>new B(3,[y])),T(_)(y=>new B(3,[y]))),new pe(h.FundAddress.AddressLine2,T(g)(y=>new B(4,[y])),T(_)(y=>new B(4,[y]))),new pe(h.FundAddress.City,T(g)(y=>new B(5,[y])),T(_)(y=>new B(5,[y]))),new pe(h.FundAddress.AddressState,T(g)(y=>new B(6,[y])),T(_)(y=>new B(6,[y]))),new pe(h.FundAddress.Postcode,T(g)(y=>new B(7,[y])),T(_)(y=>new B(7,[y]))))),w("div",E(S([["className","flex space-x-4"],(s=[Ah(new pe(h.MemberFirstName,T(g)(y=>new B(8,[y])),T(_)(y=>new B(8,[y])))),Eh(new pe(h.MemberLastName,T(g)(y=>new B(9,[y])),T(_)(y=>new B(9,[y]))))],["children",C.Children.toArray(Array.from(s))])]))),w("h3",{className:"text-lg font-bold mt-6",children:"Fund bank details"}),Nh(new pe(h.BankAccountName,T(g)(y=>new B(10,[y])),T(_)(y=>new B(10,[y])))),Fh(new pe(h.BankAccountBsb,T(g)(y=>new B(11,[y])),T(_)(y=>new B(11,[y])))),Cn((i=h.BankName,i==null?void 0:Mh(i)),qe()),Th(new pe(h.BankAccountNumber,T(g)(y=>new B(12,[y])),T(_)(y=>new B(12,[y]))))]),w("div",{children:C.Children.toArray(Array.from(o))}))],["children",C.Children.toArray(Array.from(r))]))))],["children",C.Children.toArray(Array.from(n))])]))),w("div",E(S([["className","flex justify-center mt-8"],(a=[w("div",E(S([["className","sm:max-w-320 w-full"],(c=[Bh(b,y=>{y.preventDefault(),p(new B(14,[]))}),$h(y=>{y.preventDefault(),p(new B(15,[]))})],["children",C.Children.toArray(Array.from(c))])])))],["children",C.Children.toArray(Array.from(a))])])))],["children",C.Children.toArray(Array.from(t))])]))));return w("div",{children:C.Children.toArray(Array.from(F))})}const Uh=w("svg",E(S([["fill","none"],["height",47],["viewBox","0 0 48 47"],["width",48],["xmlns","http://www.w3.org/2000/svg"],(()=>{let e,t,n,r;const o=S([w("rect",{width:48,height:47,rx:8,fill:"#FEE2E2"}),w("g",E(S([["clipPath","url(#clip0_153_10600)"],(e=S([w("path",{d:"M24 15V27",stroke:"#DC2626",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),w("path",E(S([(t="M24 34C24.8284 34 25.5 33.3284 25.5 32.5C25.5 31.6716 24.8284 31 24 31C23.1716 31 22.5 31.6716 22.5 32.5C22.5 33.3284 23.1716 34 24 34Z",["d",t]),["fill","#DC2626"]]))),w("path",{d:"M30.213 9H17.787L9 17.787V30.213L17.787 39H30.213L39 30.213V17.787L30.213 9Z",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})]),["children",C.Children.toArray(Array.from(e))])]))),(n=O(w("clipPath",E(S([["id","clip0_153_10600"],(r=O(w("rect",{width:32,height:32,fill:"white",transform:"translate(8,8)"})),["children",C.Children.toArray(Array.from(r))])])))),w("defs",{children:C.Children.toArray(Array.from(n))}))]);return["children",C.Children.toArray(Array.from(o))]})()])));function zh(e){return w("h1",{className:"mt-4 mb-4 sm:mb-8 text-2xl sm:text-3xl font-semibold text-gray-900",children:e})}function Hh(){let e,t,n,r;return w("div",E(S([(e="w-full h-full px-8 py-20 bg-white rounded border border-zinc-200 flex-col justify-start items-center gap-10 inline-flex",["className",e]),(t=[Uh,zh("Something went wrong"),w("div",E(S([["className","justify-start items-center"],(n=[w("p",E(S([(r="text-center text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4 mb-4",["className",r]),["children","We are unable to load the Self Managed Super Fund form at this time."]]))),w("p",{className:"text-center text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 mb-8",children:"Please try again later."})],["children",C.Children.toArray(Array.from(n))])])))],["children",C.Children.toArray(Array.from(t))])])))}function On(e,t){let n;return w("div",E(S([["className",H(" ",["animate-pulse w-full relative",e,t])],(n=[w("div",{className:H(" ",["w-full left-0 top-0 absolute bg-gray-200 rounded",e])})],["children",C.Children.toArray(Array.from(n))])])))}const jh=On("h-9","max-w-96"),ns=On("h-6","max-w-96"),Gh=On("h-80","max-w-96"),Wh=On("h-10","max-w-48"),qh=(()=>{let e,t,n;const r=[w("div",E(S([(e="w-full h-full px-8 py-20 bg-white rounded border border-zinc-200 flex-col justify-start items-center gap-10 inline-flex",["className",e]),(t=[w("div",E(S([["className","max-w-96 w-full flex-col justify-start items-center gap-6 flex"],(n=[jh,w("div",{className:"self-stretch h-14 flex-col justify-start items-center gap-2 flex",children:C.Children.toArray([ns,ns])})],["children",C.Children.toArray(Array.from(n))])]))),Gh,Wh],["children",C.Children.toArray(Array.from(t))])])))];return w(Be,{},...r)})();function Gr(){return(Gr=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 Zh=["context","children"];function Jh(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,Zh);return fr(t,n)}function Kh(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=w(Jh,Gr({},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[Ca(a[i].name)]=a[i].value);for(i=c.length;i--;){var l=t(c[i],null),f=c[i].slot;f?s[f]=w(rs,{name:f},l):o[i]=l}var u=r?w(rs,null,o):o;return w(r||n.nodeName.toLowerCase(),s,u)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?dr:nt)(this._vdom,this._root)}function Ca(e){return e.replace(/-(\w)/g,function(t,n){return n?n.toUpperCase():""})}function Yh(e,t,n){if(this._vdom){var r={};r[e]=n=n??void 0,r[Ca(e)]=n,this._vdom=fr(this._vdom,r),nt(this._vdom,this._root)}}function Xh(){nt(this._vdom=null,this._root)}function rs(e,t){var n=this;return w("slot",Gr({},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 Qh(e,t,n,r){function o(){var s=Reflect.construct(HTMLElement,[],o);return s._vdomComponent=e,s._root=r&&r.shadow?s.attachShadow({mode:r.mode||"open"}):s,s}return(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=Kh,o.prototype.attributeChangedCallback=Yh,o.prototype.disconnectedCallback=Xh,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,o)}function em(e,t){Qh(e,t,void 0,{shadow:!0})}function tm(e){let t;const n=S([w("style",{children:[yu]}),w("div",E(S([["className","mx-auto max-w-7xl px-4 sm:px-6 lg:px-8"],(t=[w("div",{className:"mx-auto max-w-3xl",children:C.Children.toArray([e])})],["children",C.Children.toArray(Array.from(t))])])))]);return w("div",{children:C.Children.toArray(Array.from(n))})}class Aa extends V{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Initialise","LoadedSmsfChoice"]}}class ar extends V{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Loading","Loaded","Failed"]}}function nm(){return[new ar(0,[]),O(e=>{e(new Aa(0,[]))})]}function rm(e,t,n){return t.tag===1?t.fields[0].tag===1?[new ar(2,[]),G()]:(sr(new or(0,[])),[new ar(1,[t.fields[0].fields[0].SmsfChoice]),G()]):[n,Hi(r=>{ji(r)},()=>zd(e),void 0,r=>new Aa(1,[r]))]}function om(e){const t=Ud(e.backendUrl,e.accessToken),n=Ji(()=>Wi(nm,(r,o)=>rm(t,r,o),(r,o)=>{}),void 0,void 0)[0];return tm(n.tag===1?w(Rh,{backendService:t,smsfChoice:ei(n.fields[0])}):n.tag===2?Hh():qh)}function sm(){em(e=>w(om,e),"apollo-super-smsf")}sm();
|