@flarehr/bank-details-app 0.1.1942 → 0.1.1943
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +19 -2
- package/package.json +1 -2
- package/LICENCE +0 -1
- package/dist/assets/program.fs-B3mu_Z86.js +0 -3
- package/dist/bank-details-app.js +0 -1
- package/dist/bank-details-web-component.js +0 -807
package/README.md
CHANGED
@@ -37,12 +37,29 @@ To build the project, run the following commands:
|
|
37
37
|
npm run build
|
38
38
|
```
|
39
39
|
|
40
|
-
## Launch in Development Mode
|
40
|
+
## Launch the Embedded Bank App in Development Mode
|
41
41
|
|
42
|
-
|
42
|
+
First run the app/vite server, a browser may open to show the bank component, but this window can be closed.
|
43
|
+
```bash
|
44
|
+
npm run start
|
45
|
+
```
|
46
|
+
|
47
|
+
Open the `./Run-App-Dev.fsx` file and update the script settings, specifically the `profileId` and `apiKey` values.
|
43
48
|
|
44
49
|
Then, run the following fsharp script in the terminal:
|
45
50
|
|
46
51
|
```bash
|
47
52
|
dotnet fsi .\Run-App-Dev.fsx
|
48
53
|
```
|
54
|
+
|
55
|
+
|
56
|
+
## Launch the Embedded Bank App in Development Mode
|
57
|
+
|
58
|
+
Open the `.env.development` file and replace the `VITE_ACCESS_TOKEN` with a Autdoev Worklfow access token that can be obtains from the partner app.
|
59
|
+
|
60
|
+
Run the app/vite server
|
61
|
+
```bash
|
62
|
+
npm run start
|
63
|
+
```
|
64
|
+
|
65
|
+
A browser should open to `http://localhost:8080/` change the address to `http://localhost:8080/index.dev.component.html`
|
package/package.json
CHANGED
package/LICENCE
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
Flare HR Pty Ltd © 2015-2023
|
@@ -1,3 +0,0 @@
|
|
1
|
-
var qe,w,sr,he,bn,ir,Rt,ur,Gt,xt,Ft,lr,We={},ar=[],Io=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,pt=Array.isArray;function Q(e,t){for(var n in t)e[n]=t[n];return e}function qt(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Z(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?qe.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 Le(e,i,r,o,null)}function Le(e,t,n,r,o){var s={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++sr,__i:-1,__u:0};return o==null&&w.vnode!=null&&w.vnode(s),s}function cr(){return{current:null}}function J(e){return e.children}function B(e,t){this.props=e,this.context=t}function $e(e,t){if(t==null)return e.__?$e(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"?$e(e):null}function fr(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return fr(e)}}function At(e){(!e.__d&&(e.__d=!0)&&he.push(e)&&!ut.__r++||bn!==w.debounceRendering)&&((bn=w.debounceRendering)||ir)(ut)}function ut(){var e,t,n,r,o,s,i,u;for(he.sort(Rt);e=he.shift();)e.__d&&(t=he.length,r=void 0,s=(o=(n=e).__v).__e,i=[],u=[],n.__P&&((r=Q({},o)).__v=o.__v+1,w.vnode&&w.vnode(r),Bt(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[s]:null,i,s??$e(o),!!(32&o.__u),u),r.__v=o.__v,r.__.__k[r.__i]=r,dr(i,r,u),r.__e!=s&&fr(r)),he.length>t&&he.sort(Rt));ut.__r=0}function _r(e,t,n,r,o,s,i,u,a,l,f){var c,h,_,d,g,m,y=r&&r.__k||ar,C=t.length;for(a=$o(n,t,y,a,C),c=0;c<C;c++)(_=n.__k[c])!=null&&(h=_.__i===-1?We:y[_.__i]||We,_.__i=c,m=Bt(e,_,h,o,s,i,u,a,l,f),d=_.__e,_.ref&&h.ref!=_.ref&&(h.ref&&zt(h.ref,null,_),f.push(_.ref,_.__c||d,_)),g==null&&d!=null&&(g=d),4&_.__u||h.__k===_.__k?a=hr(_,a,e):typeof _.type=="function"&&m!==void 0?a=m:d&&(a=d.nextSibling),_.__u&=-7);return n.__e=g,a}function $o(e,t,n,r,o){var s,i,u,a,l,f=n.length,c=f,h=0;for(e.__k=new Array(o),s=0;s<o;s++)(i=t[s])!=null&&typeof i!="boolean"&&typeof i!="function"?(a=s+h,(i=e.__k[s]=typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?Le(null,i,null,null,null):pt(i)?Le(J,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?Le(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,u=null,(l=i.__i=Oo(i,n,a,c))!==-1&&(c--,(u=n[l])&&(u.__u|=2)),u==null||u.__v===null?(l==-1&&h--,typeof i.type!="function"&&(i.__u|=4)):l!=a&&(l==a-1?h--:l==a+1?h++:(l>a?h--:h++,i.__u|=4))):e.__k[s]=null;if(c)for(s=0;s<f;s++)(u=n[s])!=null&&!(2&u.__u)&&(u.__e==r&&(r=$e(u)),pr(u,u));return r}function hr(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=hr(r[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=$e(e)),n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function te(e,t){return t=t||[],e==null||typeof e=="boolean"||(pt(e)?e.some(function(n){te(n,t)}):t.push(e)),t}function Oo(e,t,n,r){var o,s,i=e.key,u=e.type,a=t[n];if(a===null||a&&i==a.key&&u===a.type&&!(2&a.__u))return n;if(r>(a!=null&&!(2&a.__u)?1:0))for(o=n-1,s=n+1;o>=0||s<t.length;){if(o>=0){if((a=t[o])&&!(2&a.__u)&&i==a.key&&u===a.type)return o;o--}if(s<t.length){if((a=t[s])&&!(2&a.__u)&&i==a.key&&u===a.type)return s;s++}}return-1}function Sn(e,t,n){t[0]=="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Io.test(t)?n:n+"px"}function tt(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||Sn(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Sn(e.style,t,n[t])}else if(t[0]=="o"&&t[1]=="n")s=t!=(t=t.replace(ur,"$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=Gt,e.addEventListener(t,s?Ft:xt,s)):e.removeEventListener(t,s?Ft:xt,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 Cn(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=Gt++;else if(t.t<n.u)return;return n(w.event?w.event(t):t)}}}function Bt(e,t,n,r,o,s,i,u,a,l){var f,c,h,_,d,g,m,y,C,W,A,j,_e,yn,et,vt,Et,z=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(a=!!(32&n.__u),s=[u=t.__e=n.__e]),(f=w.__b)&&f(t);e:if(typeof z=="function")try{if(y=t.props,C="prototype"in z&&z.prototype.render,W=(f=z.contextType)&&r[f.__c],A=f?W?W.props.value:f.__:r,n.__c?m=(c=t.__c=n.__c).__=c.__E:(C?t.__c=c=new z(y,A):(t.__c=c=new B(y,A),c.constructor=z,c.render=No),W&&W.sub(c),c.props=y,c.state||(c.state={}),c.context=A,c.__n=r,h=c.__d=!0,c.__h=[],c._sb=[]),C&&c.__s==null&&(c.__s=c.state),C&&z.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Q({},c.__s)),Q(c.__s,z.getDerivedStateFromProps(y,c.__s))),_=c.props,d=c.state,c.__v=t,h)C&&z.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),C&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(C&&z.getDerivedStateFromProps==null&&y!==_&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(y,A),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(y,c.__s,A)===!1||t.__v==n.__v)){for(t.__v!=n.__v&&(c.props=y,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(Ae){Ae&&(Ae.__=t)}),j=0;j<c._sb.length;j++)c.__h.push(c._sb[j]);c._sb=[],c.__h.length&&i.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(y,c.__s,A),C&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(_,d,g)})}if(c.context=A,c.props=y,c.__P=e,c.__e=!1,_e=w.__r,yn=0,C){for(c.state=c.__s,c.__d=!1,_e&&_e(t),f=c.render(c.props,c.state,c.context),et=0;et<c._sb.length;et++)c.__h.push(c._sb[et]);c._sb=[]}else do c.__d=!1,_e&&_e(t),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++yn<25);c.state=c.__s,c.getChildContext!=null&&(r=Q(Q({},r),c.getChildContext())),C&&!h&&c.getSnapshotBeforeUpdate!=null&&(g=c.getSnapshotBeforeUpdate(_,d)),u=_r(e,pt(vt=f!=null&&f.type===J&&f.key==null?f.props.children:f)?vt:[vt],t,n,r,o,s,i,u,a,l),c.base=t.__e,t.__u&=-161,c.__h.length&&i.push(c),m&&(c.__E=c.__=null)}catch(Ae){if(t.__v=null,a||s!=null)if(Ae.then){for(t.__u|=a?160:128;u&&u.nodeType==8&&u.nextSibling;)u=u.nextSibling;s[s.indexOf(u)]=null,t.__e=u}else for(Et=s.length;Et--;)qt(s[Et]);else t.__e=n.__e,t.__k=n.__k;w.__e(Ae,t,n)}else s==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):u=t.__e=Mo(n.__e,t,n,r,o,s,i,a,l);return(f=w.diffed)&&f(t),128&t.__u?void 0:u}function dr(e,t,n){for(var r=0;r<n.length;r++)zt(n[r],n[++r],n[++r]);w.__c&&w.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(s){s.call(o)})}catch(s){w.__e(s,o.__v)}})}function Mo(e,t,n,r,o,s,i,u,a){var l,f,c,h,_,d,g,m=n.props,y=t.props,C=t.type;if(C=="svg"?o="http://www.w3.org/2000/svg":C=="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((_=s[l])&&"setAttribute"in _==!!C&&(C?_.localName==C:_.nodeType==3)){e=_,s[l]=null;break}}if(e==null){if(C==null)return document.createTextNode(y);e=document.createElementNS(o,C,y.is&&y),u&&(w.__m&&w.__m(t,s),u=!1),s=null}if(C===null)m===y||u&&e.data===y||(e.data=y);else{if(s=s&&qe.call(e.childNodes),m=n.props||We,!u&&s!=null)for(m={},l=0;l<e.attributes.length;l++)m[(_=e.attributes[l]).name]=_.value;for(l in m)if(_=m[l],l!="children"){if(l=="dangerouslySetInnerHTML")c=_;else if(!(l in y)){if(l=="value"&&"defaultValue"in y||l=="checked"&&"defaultChecked"in y)continue;tt(e,l,null,_,o)}}for(l in y)_=y[l],l=="children"?h=_:l=="dangerouslySetInnerHTML"?f=_:l=="value"?d=_:l=="checked"?g=_:u&&typeof _!="function"||m[l]===_||tt(e,l,_,m[l],o);if(f)u||c&&(f.__html===c.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(c&&(e.innerHTML=""),_r(e,pt(h)?h:[h],t,n,r,C=="foreignObject"?"http://www.w3.org/1999/xhtml":o,s,i,s?s[0]:n.__k&&$e(n,0),u,a),s!=null)for(l=s.length;l--;)qt(s[l]);u||(l="value",C=="progress"&&d==null?e.removeAttribute("value"):d!==void 0&&(d!==e[l]||C=="progress"&&!d||C=="option"&&d!==m[l])&&tt(e,l,d,m[l],o),l="checked",g!==void 0&&g!==e[l]&&tt(e,l,g,m[l],o))}return e}function zt(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){w.__e(o,n)}}function pr(e,t,n){var r,o;if(w.unmount&&w.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||zt(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(s){w.__e(s,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&pr(r[o],t,n||typeof e.type!="function");n||qt(e.__e),e.__c=e.__=e.__e=void 0}function No(e,t,n){return this.constructor(e,n)}function Ve(e,t,n){var r,o,s,i;t==document&&(t=document.documentElement),w.__&&w.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,s=[],i=[],Bt(t,e=(!r&&n||t).__k=Z(J,null,[e]),o||We,We,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?qe.call(t.childNodes):null,s,!r&&n?n:o?o.__e:t.firstChild,r,i),dr(s,e,i)}function mr(e,t){Ve(e,t,mr)}function Do(e,t,n){var r,o,s,i,u=Q({},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]:u[s]=t[s]===void 0&&i!==void 0?i[s]:t[s];return arguments.length>2&&(u.children=arguments.length>3?qe.call(arguments,2):n),Le(e.type,u,r||e.key,o||e.ref,null)}function gr(e,t){var n={__c:t="__cC"+lr++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,s;return this.getChildContext||(o=new Set,(s={})[t]=this,this.getChildContext=function(){return s},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&o.forEach(function(u){u.__e=!0,At(u)})},this.sub=function(i){o.add(i);var u=i.componentWillUnmount;i.componentWillUnmount=function(){o&&o.delete(i),u&&u.call(i)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}qe=ar.slice,w={__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(u){e=u}throw e}},sr=0,B.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Q({},this.state),typeof e=="function"&&(e=e(Q({},n),this.props)),e&&Q(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),At(this))},B.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),At(this))},B.prototype.render=J,he=[],ir=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Rt=function(e,t){return e.__v.__b-t.__v.__b},ut.__r=0,ur=/(PointerCapture)$|Capture$/i,Gt=0,xt=Cn(!1),Ft=Cn(!0),lr=0;var oe,T,kt,wn,Oe=0,yr=[],M=w,vn=M.__b,En=M.__r,kn=M.diffed,Tn=M.__c,In=M.unmount,$n=M.__;function ye(e,t){M.__h&&M.__h(T,e,Oe||t),Oe=0;var n=T.__H||(T.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Be(e){return Oe=1,mt(br,e)}function mt(e,t,n){var r=ye(oe++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):br(void 0,t),function(u){var a=r.__N?r.__N[0]:r.__[0],l=r.t(a,u);a!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=T,!T.u)){var o=function(u,a,l){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(h){return!!h.__c});if(f.every(function(h){return!h.__N}))return!s||s.call(this,u,a,l);var c=r.__c.props!==u;return f.forEach(function(h){if(h.__N){var _=h.__[0];h.__=h.__N,h.__N=void 0,_!==h.__[0]&&(c=!0)}}),s&&s.call(this,u,a,l)||c};T.u=!0;var s=T.shouldComponentUpdate,i=T.componentWillUpdate;T.componentWillUpdate=function(u,a,l){if(this.__e){var f=s;s=void 0,o(u,a,l),s=f}i&&i.call(this,u,a,l)},T.shouldComponentUpdate=o}return r.__N||r.__}function ze(e,t){var n=ye(oe++,3);!M.__s&&en(n.__H,t)&&(n.__=e,n.i=t,T.__H.__h.push(n))}function be(e,t){var n=ye(oe++,4);!M.__s&&en(n.__H,t)&&(n.__=e,n.i=t,T.__h.push(n))}function Zt(e){return Oe=5,Ze(function(){return{current:e}},[])}function Jt(e,t,n){Oe=6,be(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 Ze(e,t){var n=ye(oe++,7);return en(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Kt(e,t){return Oe=8,Ze(function(){return e},t)}function Yt(e){var t=T.context[e.__c],n=ye(oe++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(T)),t.props.value):e.__}function Xt(e,t){M.useDebugValue&&M.useDebugValue(t?t(e):e)}function Ro(e){var t=ye(oe++,10),n=Be();return t.__=e,T.componentDidCatch||(T.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Qt(){var e=ye(oe++,11);if(!e.__){for(var t=T.__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 xo(){for(var e;e=yr.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(st),e.__H.__h.forEach(Pt),e.__H.__h=[]}catch(t){e.__H.__h=[],M.__e(t,e.__v)}}M.__b=function(e){T=null,vn&&vn(e)},M.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),$n&&$n(e,t)},M.__r=function(e){En&&En(e),oe=0;var t=(T=e.__c).__H;t&&(kt===T?(t.__h=[],T.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(st),t.__h.forEach(Pt),t.__h=[],oe=0)),kt=T},M.diffed=function(e){kn&&kn(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(yr.push(t)!==1&&wn===M.requestAnimationFrame||((wn=M.requestAnimationFrame)||Fo)(xo)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),kt=T=null},M.__c=function(e,t){t.some(function(n){try{n.__h.forEach(st),n.__h=n.__h.filter(function(r){return!r.__||Pt(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],M.__e(r,n.__v)}}),Tn&&Tn(e,t)},M.unmount=function(e){In&&In(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{st(r)}catch(o){t=o}}),n.__H=void 0,t&&M.__e(t,n.__v))};var On=typeof requestAnimationFrame=="function";function Fo(e){var t,n=function(){clearTimeout(r),On&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);On&&(t=requestAnimationFrame(n))}function st(e){var t=T,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),T=t}function Pt(e){var t=T;e.__c=e.__(),T=t}function en(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function br(e,t){return typeof t=="function"?t(e):t}function Sr(e,t){for(var n in t)e[n]=t[n];return e}function Ht(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 tn(e,t){var n=t(),r=Be({t:{__:n,u:t}}),o=r[0].t,s=r[1];return be(function(){o.__=n,o.u=t,Tt(o)&&s({t:o})},[e,n,t]),ze(function(){return Tt(o)&&s({t:o}),e(function(){Tt(o)&&s({t:o})})},[e]),n}function Tt(e){var t,n,r=e.u,o=e.__;try{var s=r();return!((t=o)===(n=s)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}function nn(e){e()}function rn(e){return e}function on(){return[!1,nn]}var sn=be;function lt(e,t){this.props=e,this.context=t}function Cr(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:Ht(this.props,o)}function r(o){return this.shouldComponentUpdate=n,Z(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(lt.prototype=new B).isPureReactComponent=!0,lt.prototype.shouldComponentUpdate=function(e,t){return Ht(this.props,e)||Ht(this.state,t)};var Mn=w.__b;w.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Mn&&Mn(e)};var Ao=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function wr(e){function t(n){var r=Sr({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Ao,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Nn=function(e,t){return e==null?null:te(te(e).map(t))},vr={map:Nn,forEach:Nn,count:function(e){return e?te(e).length:0},only:function(e){var t=te(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:te},Po=w.__e;w.__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)}Po(e,t,n,r)};var Dn=w.unmount;function Er(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=Sr({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Er(r,t,n)})),e}function kr(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return kr(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 Ue(){this.__u=0,this.o=null,this.__b=null}function Tr(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ir(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 Z(n,s)}return o.displayName="Lazy",o.__f=!0,o}function we(){this.i=null,this.l=null}w.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Dn&&Dn(e)},(Ue.prototype=new B).__c=function(e,t){var n=t.__c,r=this;r.o==null&&(r.o=[]),r.o.push(n);var o=Tr(r.__v),s=!1,i=function(){s||(s=!0,n.__R=null,o?o(u):u())};n.__R=i;var u=function(){if(!--r.__u){if(r.state.__a){var a=r.state.__a;r.__v.__k[0]=kr(a,a.__c.__P,a.__c.__O)}var l;for(r.setState({__a:r.__b=null});l=r.o.pop();)l.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(i,i)},Ue.prototype.componentWillUnmount=function(){this.o=[]},Ue.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]=Er(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&Z(J,null,e.fallback);return o&&(o.__u&=-33),[Z(J,null,t.__a?null:e.children),o]};var Rn=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function Ho(e){return this.getChildContext=function(){return e.context},e.children}function Lo(e){var t=this,n=e.h;t.componentWillUnmount=function(){Ve(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),t.v||(t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.h.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.h.insertBefore(r,o)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.h.removeChild(r)}}),Ve(Z(Ho,{context:t.context},e.__v),t.v)}function $r(e,t){var n=Z(Lo,{__v:e,h:t});return n.containerInfo=t,n}(we.prototype=new B).__a=function(e){var t=this,n=Tr(t.__v),r=t.l.get(e);return r[0]++,function(o){var s=function(){t.props.revealOrder?(r.push(o),Rn(t,e,r)):o()};n?n(s):s()}},we.prototype.render=function(e){this.i=null,this.l=new Map;var t=te(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},we.prototype.componentDidUpdate=we.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){Rn(e,n,t)})};var Or=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Uo=/^(?: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]/,Wo=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Vo=/[A-Z0-9]/g,jo=typeof document<"u",Go=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Mr(e,t,n){return t.__k==null&&(t.textContent=""),Ve(e,t),typeof n=="function"&&n(),e?e.__c:null}function Nr(e,t,n){return mr(e,t),typeof n=="function"&&n(),e?e.__c:null}B.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(B.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var xn=w.event;function qo(){}function Bo(){return this.cancelBubble}function zo(){return this.defaultPrevented}w.event=function(e){return xn&&(e=xn(e)),e.persist=qo,e.isPropagationStopped=Bo,e.isDefaultPrevented=zo,e.nativeEvent=e};var un,Zo={enumerable:!1,configurable:!0,get:function(){return this.class}},Fn=w.vnode;w.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 u=n[i];if(!(i==="value"&&"defaultValue"in n&&u==null||jo&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var a=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&u===!0?u="":a==="translate"&&u==="no"?u=!1:a[0]==="o"&&a[1]==="n"?a==="ondoubleclick"?i="ondblclick":a!=="onchange"||r!=="input"&&r!=="textarea"||Go(n.type)?a==="onfocus"?i="onfocusin":a==="onblur"?i="onfocusout":Wo.test(i)&&(i=a):a=i="oninput":s&&Uo.test(i)?i=i.replace(Vo,"-$&").toLowerCase():u===null&&(u=void 0),a==="oninput"&&o[i=a]&&(i="oninputCapture"),o[i]=u}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=te(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=te(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",Zo)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Or,Fn&&Fn(e)};var An=w.__r;w.__r=function(e){An&&An(e),un=e.__c};var Pn=w.diffed;w.diffed=function(e){Pn&&Pn(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),un=null};var Dr={ReactCurrentDispatcher:{current:{readContext:function(e){return un.__n[e.__c].props.value},useCallback:Kt,useContext:Yt,useDebugValue:Xt,useDeferredValue:rn,useEffect:ze,useId:Qt,useImperativeHandle:Jt,useInsertionEffect:sn,useLayoutEffect:be,useMemo:Ze,useReducer:mt,useRef:Zt,useState:Be,useSyncExternalStore:tn,useTransition:on}}},Jo="18.3.1";function Rr(e){return Z.bind(null,e)}function Je(e){return!!e&&e.$$typeof===Or}function xr(e){return Je(e)&&e.type===J}function Fr(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Ar(e){return Je(e)?Do.apply(null,arguments):e}function Pr(e){return!!e.__k&&(Ve(null,e),!0)}function Hr(e){return e&&(e.base||e.nodeType===1&&e)||null}var Lr=function(e,t){return e(t)},Ur=function(e,t){return e(t)},Wr=J,Vr=Je,jr={useState:Be,useId:Qt,useReducer:mt,useEffect:ze,useLayoutEffect:be,useInsertionEffect:sn,useTransition:on,useDeferredValue:rn,useSyncExternalStore:tn,startTransition:nn,useRef:Zt,useImperativeHandle:Jt,useMemo:Ze,useCallback:Kt,useContext:Yt,useDebugValue:Xt,version:"18.3.1",Children:vr,render:Mr,hydrate:Nr,unmountComponentAtNode:Pr,createPortal:$r,createElement:Z,createContext:gr,createFactory:Rr,cloneElement:Ar,createRef:cr,Fragment:J,isValidElement:Je,isElement:Vr,isFragment:xr,isMemo:Fr,findDOMNode:Hr,Component:B,PureComponent:lt,memo:Cr,forwardRef:wr,flushSync:Ur,unstable_batchedUpdates:Lr,StrictMode:Wr,Suspense:Ue,SuspenseList:we,lazy:Ir,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Dr};const Ou=Object.freeze(Object.defineProperty({__proto__:null,Children:vr,Component:B,Fragment:J,PureComponent:lt,StrictMode:Wr,Suspense:Ue,SuspenseList:we,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Dr,cloneElement:Ar,createContext:gr,createElement:Z,createFactory:Rr,createPortal:$r,createRef:cr,default:jr,findDOMNode:Hr,flushSync:Ur,forwardRef:wr,hydrate:Nr,isElement:Vr,isFragment:xr,isMemo:Fr,isValidElement:Je,lazy:Ir,memo:Cr,render:Mr,startTransition:nn,unmountComponentAtNode:Pr,unstable_batchedUpdates:Lr,useCallback:Kt,useContext:Yt,useDebugValue:Xt,useDeferredValue:rn,useEffect:ze,useErrorBoundary:Ro,useId:Qt,useImperativeHandle:Jt,useInsertionEffect:sn,useLayoutEffect:be,useMemo:Ze,useReducer:mt,useRef:Zt,useState:Be,useSyncExternalStore:tn,useTransition:on,version:Jo},Symbol.toStringTag,{value:"Module"}));function K(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Ko(e){return e!=null&&typeof e.GetEnumerator=="function"}function Yo(e){return e!=null&&typeof e.CompareTo=="function"}function Xo(e){return e!=null&&typeof e.Equals=="function"}function Qo(e){return e!=null&&typeof e.GetHashCode=="function"}function es(e){return e!=null&&typeof e.Dispose=="function"}function R(e){es(e)&&e.Dispose()}function pe(){return null}function at(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 ts{constructor(t){this.iter=t,this.current=pe()}"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 U(e){return Ko(e)?e.GetEnumerator():new ts(e[Symbol.iterator]())}function ln(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}}}}class Mu{constructor(t){this.factory=t,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function $(e,t){return e.toString(10).padStart(t,"0")}function Nu(e,t,n){return e.toString(10).padStart(t,"0").padEnd(n,"0")}function Hn(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function Du(e,t){return e=e,e.toString(t)}function Ru(e,t){return e=e,e.toString(t)}class ae{static id(t){return ae.idMap.has(t)||ae.idMap.set(t,++ae.count),ae.idMap.get(t)}}ae.idMap=new WeakMap;ae.count=0;function Gr(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=n*33^e.charCodeAt(t++);return n}function Lt(e){return e*2654435761|0}function ns(e){return Gr(e.toString(32))}function gt(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 rs(e){return e.getTime()}function os(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=Se(e[r]);return gt(n)}function Se(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Lt(e);case"bigint":return ns(e);case"string":return Gr(e);default:{if(Qo(e))return e.GetHashCode();if(K(e))return os(e);if(e instanceof Date)return rs(e);if(((t=Object.getPrototypeOf(e))==null?void 0:t.constructor)===Object){const n=Object.values(e).map(r=>Se(r));return gt(n)}else return Lt(ae.id(e))}}}function ss(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 qr(e,t){return ss(e,t,Re)}function is(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]||!Re(e[n[o]],t[r[o]]))return!1;return!0}function Re(e,t){var n;return e===t?!0:e==null?t==null:t==null?!1:Xo(e)?e.Equals(t):K(e)?K(t)&&qr(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&Br(e,t)===0:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object&&is(e,t)}function Br(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+Hn(e),r=t.getTime()+Hn(t)),n===r?0:n<r?-1:1}function xu(e,t){return e===t?0:e<t?-1:1}function us(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 zr(e,t){return us(e,t,se)}function ls(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:Yo(e)?e.CompareTo(t):K(e)?K(t)?zr(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?Br(e,t):-1:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object?ls(e,t):-1}function Fu(e){const t={};for(const n of e)t[n[0]]=n[1];return t}function Au(e){K(e)?e.splice(0):e.clear()}const yt=new WeakMap;function Ee(e){if(e==null)return null;const t=(n,r)=>e(n)(r);return yt.set(t,e),t}function le(e){return yt.get(e)??(t=>n=>e(t,n))}function Pu(e){if(e==null)return null;const t=(n,r,o)=>e(n)(r)(o);return yt.set(t,e),t}function It(e){return yt.get(e)??(t=>n=>r=>e(t,n,r))}function as(e){let t=0,n="[";for(const r of e){if(t===0)n+=Y(r);else if(t===100){n+="; ...";break}else n+="; "+Y(r);t++}return n+"]"}function Y(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 as(e);{const r=(n=Object.getPrototypeOf(e))==null?void 0:n.constructor;return r===Object&&t<10?"{ "+Object.entries(e).map(([o,s])=>o+" = "+Y(s,t+1)).join(`
|
2
|
-
`)+" }":(r==null?void 0:r.name)??""}}return String(e)}function cs(e,t){if(t.length===0)return e;{let n,r=!0;return t.length===1?(n=Y(t[0]),r=n.indexOf(" ")>=0):n=t.map(o=>Y(o)).join(", "),e+(r?" (":" ")+n+(r?")":"")}}class Ce{get name(){return this.cases()[this.tag]}toJSON(){return this.fields.length===0?this.name:[this.name].concat(this.fields)}toString(){return cs(this.name,this.fields)}GetHashCode(){const t=this.fields.map(n=>Se(n));return t.splice(0,0,Lt(this.tag)),gt(t)}Equals(t){return this===t?!0:at(this,t)&&this.tag===t.tag?qr(this.fields,t.fields):!1}CompareTo(t){return this===t?0:at(this,t)?this.tag===t.tag?zr(this.fields,t.fields):this.tag<t.tag?-1:1:-1}}function fs(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}function _s(e){return"{ "+Object.entries(e).map(([t,n])=>t+" = "+Y(n)).join(`
|
3
|
-
`)+" }"}function hs(e){const t=Object.values(e).map(n=>Se(n));return gt(t)}function ds(e,t){if(e===t)return!0;if(at(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!Re(e[n[r]],t[n[r]]))return!1;return!0}else return!1}function ps(e,t){if(e===t)return 0;if(at(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 Ke{toJSON(){return fs(this)}toString(){return _s(this)}GetHashCode(){return hs(this)}Equals(t){return ds(this,t)}CompareTo(t){return ps(this,t)}}class Hu{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 ms{constructor(t){this.message=t}}function gs(e){return e instanceof ms||e instanceof Error}function ys(e){return e instanceof Promise}function ct(e){return gs(e)||ys(e)?e:new Error(String(e))}const xe=Symbol("numeric");function Zr(e){return typeof e=="number"||typeof e=="bigint"||(e==null?void 0:e[xe])}function bs(e,t){return typeof e=="number"||typeof e=="bigint"?e<t?-1:e>t?1:0:e.CompareTo(t)}function Ut(e,t){return typeof e=="number"?e*t:typeof e=="bigint"?e*BigInt(t):e[xe]().multiply(t)}function it(e,t){return typeof e=="number"?e.toFixed(t):typeof e=="bigint"?e:e[xe]().toFixed(t)}function ft(e,t){return typeof e=="number"?e.toPrecision(t):typeof e=="bigint"?e:e[xe]().toPrecision(t)}function _t(e,t){return typeof e=="number"?e.toExponential(t):typeof e=="bigint"?e:e[xe]().toExponential(t)}function ht(e){return typeof e=="number"?(Number(e)>>>0).toString(16):typeof e=="bigint"?BigInt.asUintN(64,e).toString(16):e[xe]().toHex()}const de={None:0,LowerFirst:1,SnakeCase:2,SnakeCaseAllCaps:3,KebabCase:4};function $t(e,t){return e.replace(/[a-z]?[A-Z]/g,n=>n.length===1?n.toLowerCase():n.charAt(0)+t+n.charAt(1).toLowerCase())}function Ss(e,t){switch(t){case de.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case de.SnakeCase:return $t(e,"_");case de.SnakeCaseAllCaps:return $t(e,"_").toUpperCase();case de.KebabCase:return $t(e,"-");case de.None:default:return e}}function Lu(e,t=de.None){const n={},r=t;function o(i){throw new Error("Cannot infer key and value of "+String(i))}function s(i,u,a){i=Ss(i,u),n[i]=a}for(let i of e){let u=de.None;if(i==null&&o(i),i instanceof Ce){const a=i.cases()[i.tag];i=i.fields.length===0?a:[a].concat(i.fields),u=r}if(Array.isArray(i))switch(i.length){case 0:o(i);break;case 1:s(i[0],u,!0);break;case 2:const a=i[1];s(i[0],u,a);break;default:s(i[0],u,i.slice(1))}else typeof i=="string"?s(i,u,!0):o(i)}return n}function Uu(e,t,n){return e.has(t)?(n.contents=e.get(t),!0):!1}function Wu(e,t,n){if(e.has(t))throw new Error("An item with the same key has already been added. Key: "+t);e.set(t,n)}function Vu(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}class Me{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return Se(this.value)}Equals(t){return t==null?!1:Re(this.value,t instanceof Me?t.value:t)}CompareTo(t){return t==null?1:se(this.value,t instanceof Me?t.value:t)}}function p(e){if(e==null)throw new Error("Option has no value");return e instanceof Me?e.value:e}function V(e){return e==null||e instanceof Me?new Me(e):e}function Cs(e){return e??void 0}function Jr(e){return e==null?[]:[p(e)]}function Wt(e,t){return e!=null?p(e):t}function ju(e,t){return e!=null?p(e):t()}function bt(e,t){return t!=null?V(e(p(t))):void 0}const Kr=Cs(document.querySelector("#bank-details-app")),Gu=bt(e=>e.getAttribute("data-identity-url"),Kr),qu=bt(e=>e.getAttribute("data-backend-url"),Kr),ws=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],vs=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Es=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ks=["January","February","March","April","May","June","July","August","September","October","November","December"];function P(e,t,n){let r=0,o=t;for(;o<e.length&&e[o]===n;)o++,r++;return r}function Ln(e,t){return t>=e.length-1?-1:e.charCodeAt(t+1)}function Ts(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 an(e,t,n){let r=0,o=0,s="";const i=n?Ye(e.getTime(),1):e;for(;r<t.length;){const u=t[r];switch(u){case"d":switch(o=P(t,r,"d"),r+=o,o){case 1:s+=Wn(i);break;case 2:s+=$(Wn(i),2);break;case 3:s+=ws[Gn(i)];break;case 4:s+=vs[Gn(i)];break}break;case"f":if(o=P(t,r,"f"),r+=o,o<=3){const m=10**(3-o);s+=$(Math.floor(rt(i)/m),o)}else o<=7&&(s+=(""+rt(i)).padEnd(o,"0"));break;case"F":if(o=P(t,r,"F"),r+=o,o<=3){const m=10**(3-o),y=Math.floor(rt(i)/m);y!=0&&(s+=$(y,o))}else if(o<=7){const m=rt(i);m!=0&&(s+=$(m,3))}break;case"g":o=P(t,r,"g"),r+=o,o<=2&&(s+="A.D.");break;case"h":switch(o=P(t,r,"h"),r+=o,o){case 1:s+=nt(i)%12;break;case 2:s+=$(nt(i)%12,2);break}break;case"H":switch(o=P(t,r,"H"),r+=o,o){case 1:s+=nt(i);break;case 2:s+=$(nt(i),2);break}break;case"K":switch(o=P(t,r,"K"),r+=o,o){case 1:switch(Un(i)){case 1:s+="Z";break;case 2:s+=ke(i.getTimezoneOffset()*-6e4);break}break}break;case"m":switch(o=P(t,r,"m"),r+=o,o){case 1:s+=Vn(i);break;case 2:s+=$(Vn(i),2);break}break;case"M":switch(o=P(t,r,"M"),r+=o,o){case 1:s+=ot(i);break;case 2:s+=$(ot(i),2);break;case 3:s+=Es[ot(i)-1];break;case 4:s+=ks[ot(i)-1];break}break;case"s":switch(o=P(t,r,"s"),r+=o,o){case 1:s+=jn(i);break;case 2:s+=$(jn(i),2);break}break;case"t":switch(o=P(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=P(t,r,"y"),r+=o,o){case 1:s+=i.getFullYear()%100;break;case 2:s+=$(i.getFullYear()%100,2);break;case 3:s+=$(i.getFullYear(),3);break;case 4:s+=$(i.getFullYear(),4);break;case 5:s+=$(i.getFullYear(),5);break}break;case"z":o=P(t,r,"z"),r+=o;let a="";switch(Un(i)){case 1:a="+00:00";break;case 2:a=ke(i.getTimezoneOffset()*-6e4);break;case 0:a=ke(Rs(i).getTimezoneOffset()*-6e4);break}const l=a[0]==="-"?"-":"+",f=parseInt(a.substring(1,3),10),c=parseInt(a.substring(4,6),10);switch(o){case 1:s+=`${l}${f}`;break;case 2:s+=`${l}${$(f,2)}`;break;default:s+=`${l}${$(f,2)}:${$(c,2)}`;break}break;case":":s+=":",r++;break;case"/":s+="/",r++;break;case"'":case'"':const[h,_]=Ts(t,r);s+=h,r+=_;break;case"%":const d=Ln(t,r);if(d>=0&&d!==37)r+=2,s+=an(i,String.fromCharCode(d),n);else throw new Error("Invalid format string");break;case"\\":const g=Ln(t,r);if(g>=0)r+=2,s+=String.fromCharCode(g);else throw new Error("Invalid format string");break;default:r++,s+=u;break}}return s}function Un(e){return e.kind||0}function ke(e){const t=e<0;e=Math.abs(e);const n=~~(e/36e5),r=e%36e5/6e4;return(t?"-":"+")+$(n,2)+":"+$(r,2)}function dt(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 Is(e,t){if(t)return e.toISOString();{const n=e.kind==null?!0:e.kind===2;return $(e.getFullYear(),4)+"-"+$(e.getMonth()+1,2)+"-"+$(e.getDate(),2)+"T"+$(e.getHours(),2)+":"+$(e.getMinutes(),2)+":"+$(e.getSeconds(),2)+"."+$(e.getMilliseconds(),3)+(n?ke(e.getTimezoneOffset()*-6e4):"")}}function $s(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+ke(t)}function Os(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," ")+ke(e.offset??0);if(t.length===1)switch(t){case"D":case"d":return dt(n,"first");case"T":case"t":return dt(n,"second");case"O":case"o":return $s(n,e.offset??0);default:throw new Error("Unrecognized Date print format")}else return an(n,t,!0)}function Ms(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?dt(e,"first"):e.toLocaleDateString();case"T":case"t":return n?dt(e,"second"):e.toLocaleTimeString();case"O":case"o":return Is(e,n);default:throw new Error("Unrecognized Date print format")}else return an(e,t,n)}function Yr(e,t,n){return e.offset!=null?Os(e,t):Ms(e,t)}function Ye(e,t){const n=new Date(e);return n.kind=(t??0)|0,n}function Bu(){return Ye(-621355968e5,1)}function Ns(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 u=o[2].split(":"),a=parseInt(u[0],10);i=a*3600+parseInt(u[1]||"0",10)*60+parseFloat(u[2]||"0"),o[3]!=null&&o[3].toUpperCase()==="PM"&&a<12&&(i+=720)}if(o[4]!=null){if(o[1]!=null)s=new Date(o[1]+" UTC");else{const u=new Date;s=new Date(u.getUTCFullYear()+"/"+(u.getUTCMonth()+1)+"/"+u.getUTCDate())}if(o[4]==="Z")r="Z";else{let u=parseInt(o[5],10)*60+parseInt(o[6]||"0",10);o[4][0]==="-"&&(u*=-1),r=u,i-=u*60}}else if(o[1]!=null)s=new Date(o[1]);else{const u=new Date;s=new Date(u.getFullYear()+"/"+(u.getMonth()+1)+"/"+u.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 Ds(e,t=!1){const[n,r]=Ns(e),o=r!=null?t&&r==="Z"?1:2:0;return Ye(n.getTime(),o)}function zu(e,t){try{return t.contents=Ds(e),!0}catch{return!1}}function Zu(e){return e.kind===1?e:Ye(e.getTime(),1)}function Rs(e){return e.kind===2?e:Ye(e.getTime(),2)}function Wn(e){return e.kind===1?e.getUTCDate():e.getDate()}function nt(e){return e.kind===1?e.getUTCHours():e.getHours()}function rt(e){return e.kind===1?e.getUTCMilliseconds():e.getMilliseconds()}function Vn(e){return e.kind===1?e.getUTCMinutes():e.getMinutes()}function ot(e){return(e.kind===1?e.getUTCMonth():e.getMonth())+1}function jn(e){return e.kind===1?e.getUTCSeconds():e.getSeconds()}function Gn(e){return e.kind===1?e.getUTCDay():e.getDay()}function xs(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 cn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Ju(e,t,n=0){return e.lastIndex=n,e.test(t)}function qn(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 Ku(e,t,n,r,o=0){function s(){let i=arguments[0];if(r){r--;const u=[],a=arguments.length,l=typeof arguments[a-1]!="string";let f=l?a-3:a-2;for(let c=0;c<f;c++)u.push(arguments[c]);u.index=arguments[f++],u.input=arguments[f++],l&&(u.groups=arguments[f]),i=n(u)}return i}if(typeof e=="string"){const i=e;e=xs(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 u=t.substring(o),a=qn(e,u),l=qn.length>r?(i=a[r-1],u.substring(0,i.index+i[0].length)):u;return t.substring(0,o)+l.replace(e,n)+t.substring(o+l.length)}else return t.replace(e,n)}const Pe=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,Fs=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function Xr(e,t){return bs(e,t)<0}function Bn(e){return{input:e,cont:Ps(e)}}function Qr(e,t){return typeof t=="string"?e(t):t.cont(e)}function zn(e){return Qr(t=>t,e)}function Yu(e){return Qr(t=>{throw new Error(t)},e)}function As(e,t,n,r,o){let s="";if(t=t||"",o=o||"",Zr(e))switch(o.toLowerCase()!=="x"&&(Xr(e,0)?(e=Ut(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=it(e,r);break;case"g":case"G":e=r!=null?ft(e,r):ft(e);break;case"e":case"E":e=r!=null?_t(e,r):_t(e);break;case"x":e=ht(e);break;case"X":e=ht(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=Yr(e):e=Y(e);if(n=typeof n=="number"?n:parseInt(n,10),isNaN(n))e=s+e;else{const i=t.indexOf("0")>=0,u=t.indexOf("-")>=0,a=u||!i?" ":"0";a==="0"?(e=je(e,n-s.length,a,u),e=s+e):e=je(s+e,n,a,u)}return e}function eo(e,t,n,r="",o=-1){return(...s)=>{let i=r;const u=t.slice(),a=n.slice();for(const l of s){const[,,f,c,h,_]=a[0];let d=c;if(o>=0)d=o,o=-1;else if(d==="*"){if(l<0)throw new Error("Non-negative number required");o=l;continue}i+=u[0],i+=As(l,f,d,h,_),u.splice(0,1),a.splice(0,1)}return a.length===0?(i+=u[0],e(i)):eo(e,u,a,i,o)}}function Ps(e){return t=>{Pe.lastIndex=0;const n=[],r=[];let o=0,s=Pe.exec(e);for(;s;){const i=s.index+(s[1]||"").length;n.push(e.substring(o,i).replace(/%%/g,"%")),r.push(s),o=Pe.lastIndex,Pe.lastIndex-=1,s=Pe.exec(e)}return n.length===0?t(e.replace(/%%/g,"%")):(n.push(e.substring(o).replace(/%%/g,"%")),eo(t,n,r))}}function Xu(e,...t){let n;return typeof e=="object"?(n=String(t[0]),t.shift()):n=e,n.replace(Fs,(r,o,s,i,u,a)=>{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(Zr(l))switch(u=u==null?null:parseInt(u,10),i){case"f":case"F":u=u??2,l=it(l,u);break;case"g":case"G":l=u!=null?ft(l,u):ft(l);break;case"e":case"E":l=u!=null?_t(l,u):_t(l);break;case"p":case"P":u=u??2,l=it(Ut(l,100),u)+" %";break;case"d":case"D":l=u!=null?Ot(String(l),u,"0"):String(l);break;case"x":case"X":l=u!=null?Ot(ht(l),u,"0"):ht(l),i==="X"&&(l=l.toUpperCase());break;default:if(a){let f="";l=a.replace(/([0#,]+)(\.[0#]+)?/,(c,h,_)=>{Xr(l,0)&&(l=Ut(l,-1),f="-"),_=_==null?"":_.substring(1),l=it(l,Math.max(_.length,0));let[d,g]=l.split(".");g||(g="");const m=h.replace(/,/g,"").replace(/^#+/,"").length;d=Ot(d,m,"0");const y=_.replace(/#+$/,"").length;if(y>g.length?g=Hs(g,y,"0"):y<g.length&&(g=g.substring(0,y)+g.substring(y).replace(/0+$/,"")),h.indexOf(",")>0){const C=d.length%3,W=Math.floor(d.length/3);let A=C>0?d.substr(0,C)+(W>0?",":""):"";for(let j=0;j<W;j++)A+=d.substr(C+j*3,3)+(j<W-1?",":"");d=A}return g.length>0?d+"."+g:d}),l=f+l}}else l instanceof Date?l=Yr(l,a||i):l=Y(l);return s=parseInt((s||" ").substring(1),10),isNaN(s)||(l=je(String(l),Math.abs(s)," ",s<0)),l})}function Qu(e){return typeof e!="string"||e.length===0}function el(e){return typeof e!="string"||/^\s*$/.test(e)}function fn(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function je(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 Ot(e,t,n){return je(e,t,n)}function Hs(e,t,n){return je(e,t,n,!0)}function tl(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(cn),t=t.length>0?t:["\\s"];const i=[],u=new RegExp(t.join("|"),"g");let a=!0,l=0;do{const f=u.exec(e);if(f===null){const c=s?e.substring(l).trim():e.substring(l);(!o||c.length>0)&&i.push(c),a=!1}else{const c=s?e.substring(l,f.index).trim():e.substring(l,f.index);(!o||c.length>0)&&(n!=null&&i.length+1===n?(i.push(s?e.substring(l).trim():e.substring(l)),a=!1):i.push(c)),l=u.lastIndex}}while(a);return i}function nl(e,...t){if(t.length===0)return e.trim();const n="["+cn(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}function rl(e,...t){return t.length===0?e.trimEnd():e.replace(new RegExp("["+cn(t.join(""))+"]+$"),"")}function ol(e,t){return t.split("").filter(n=>e(n)).join("")}function sl(e,t,n){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return n!=null?e.substr(t,n):e.substr(t)}const to="Collection was empty.";function no(e,t){return new Array(t)}function Zn(e,t){return e>t?e:t}function ro(e,t,n,r){const o=t|0;return e.fill(r,o,o+n)}function Ls(e,t,n){const r=t.length|0,o=no(n,r);for(let s=0;s<=r-1;s++)Ne(o,s,e(Xe(s,t)));return o}function Us(e,t,n,r,o){const s=Wt(n,0)|0,i=Wt(bt(a=>s+a,r),e.length)|0;return(a=>{e:for(;;){const l=a;if(l>=i)return-1;if(o.Equals(t,Xe(l,e)))return l|0;a=l+1;continue e}})(s)|0}function il(e,t,n){return Us(t,e,void 0,void 0,n)>=0}function Ws(e,t){const n=no(t,1);return Ne(n,0,e),n}function Vs(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(Xe(o,t));if(s!=null){const i=p(s);r.push(i)}}return Re(n,pe())?r:Ls(o=>o,r,n)}function js(e,t,n){const r=e;return n.reduce(r,t)}function al(e,t,n){return t==null}function Xe(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 Ne(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 Gs(e,t,n){return t.reduceRight((r,o)=>e(o,r),n)}class F extends Ke{constructor(t,n){super(),this.head=t,this.tail=n}toString(){return"["+fn("; ",this)+"]"}Equals(t){const n=this;return n===t?!0:((o,s)=>{e:for(;;){const i=o,u=s,a=i.tail,l=u.tail;if(a!=null)if(l!=null){const f=p(a),c=p(l);if(Re(i.head,u.head)){o=f,s=c;continue e}else return!1}else return!1;else return l==null}})(n,t)}GetHashCode(){return((r,o,s)=>{e:for(;;){const i=r,u=o,a=s,l=a.tail;if(l!=null){const f=p(l);if(i>18)return u|0;r=i+1,o=(u<<1)+Se(a.head)+631*i,s=f;continue e}else return u|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((o,s)=>{e:for(;;){const i=o,u=s,a=i.tail,l=u.tail;if(a!=null)if(l!=null){const f=p(a),c=p(l),h=se(i.head,u.head)|0;if(h===0){o=f,s=c;continue e}else return h|0}else return 1;else return l!=null?-1:0}})(this,t)|0}GetEnumerator(){return Bs(this)}[Symbol.iterator](){return ln(U(this))}"System.Collections.IEnumerable.GetEnumerator"(){return U(this)}}class qs{constructor(t){this.xs=t,this.it=this.xs,this.current=pe()}"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=p(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=pe()}Dispose(){}}function Bs(e){return new qs(e)}function D(){return new F(pe(),void 0)}function Qe(e,t){return new F(e,t)}function ce(e){return e.tail==null}function oo(e){return((n,r)=>{e:for(;;){const o=n,i=r.tail;if(i!=null){n=o+1,r=p(i);continue e}else return o|0}})(0,e)|0}function me(e){if(e.tail!=null)return e.head;throw new Error(to+"\\nParameter name: list")}function x(e){const t=e.tail;if(t!=null)return p(t);throw new Error(to+"\\nParameter name: list")}function fe(){return D()}function ue(e,t){return Qe(e,t)}function ge(e){return Qe(e,D())}function O(e){return ce(e)}function cl(e){return oo(e)}function b(e){return me(e)}function E(e){return x(e)}function so(e){const t=oo(e)|0,n=ro(new Array(t),0,t,null);return((o,s)=>{e:for(;;){const i=o,u=s;if(!ce(u)){Ne(n,i,me(u)),o=i+1,s=x(u);continue e}break}})(0,e),n}function X(e,t,n){let r=t,o=n;for(;!ce(o);)r=e(r,b(o)),o=x(o);return r}function zs(e){return X((t,n)=>Qe(n,t),D(),e)}function Zs(e,t,n){return Gs(e,so(t),n)}function Js(e,t,n){return((o,s,i)=>{e:for(;;){const u=o,a=s,l=i;if(ce(l))return a;o=u+1,s=e(u,a,me(l)),i=x(l);continue e}})(0,t,n)}function Ge(e,t){X((n,r)=>{e(r)},void 0,t)}function N(e,t){let n=t;for(let r=e.length-1;r>=0;r--)n=Qe(Xe(r,e),n);return n}function io(e){return N(e,D())}function Ks(e){let t,n;if(K(e))return io(e);if(e instanceof F)return e;{const r=D();let o=r;const s=U(e);try{for(;s["System.Collections.IEnumerator.MoveNext"]();){const a=s["System.Collections.Generic.IEnumerator`1.get_Current"]();o=(t=o,n=new F(a,void 0),t.tail=n,n)}}finally{R(s)}const i=o,u=D();return i.tail=u,x(r)}}function Ys(e){const t=D();let n=t;const r=i=>{n=X((u,a)=>{const l=new F(a,void 0);return u.tail=l,l},n,i)};if(K(e))e.forEach(r);else if(e instanceof F)Ge(r,e);else{const i=U(e);try{for(;i["System.Collections.IEnumerator.MoveNext"]();)r(i["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{R(i)}}const o=n,s=D();return o.tail=s,x(t)}function Xs(e,t){return X((n,r)=>Qe(r,n),t,zs(e))}function fl(e,t){let n,r;const o=D();let s=o,i=t;for(;!ce(i);){let l=e(me(i));for(;!ce(l);)s=(n=s,r=new F(me(l),void 0),n.tail=r,r),l=x(l);i=x(i)}const u=s,a=D();return u.tail=a,x(o)}function _l(e,t){const n=D(),r=Js((s,i,u)=>{const a=new F(e(s,u),void 0);return i.tail=a,a},n,t),o=D();return r.tail=o,x(n)}function uo(e,t){const n=D(),r=X((s,i)=>{const u=new F(e(i),void 0);return s.tail=u,u},n,t),o=D();return r.tail=o,x(n)}function Qs(e,t){return(r=>{e:for(;;){const o=r;if(ce(o))return;{const s=e(me(o));if(s==null){r=x(o);continue e}else return s}}})(t)}function hl(e,t){return Qs(n=>e(n)?V(n):void 0,t)}function dl(e,t){return((r,o)=>{e:for(;;){const s=r,i=o;if(ce(i))return;if(s===e)return V(me(i));r=s+1,o=x(i);continue e}})(0,t)}function ei(e,t){const n=D(),r=X((s,i)=>{if(e(i)){const u=new F(i,void 0);return s.tail=u,u}else return s},n,t),o=D();return r.tail=o,x(n)}function ti(e,t){const n=D(),r=D(),o=n,s=X((a,l)=>{let f,c;const h=a[0],_=a[1];return e(l)?[(f=new F(l,void 0),h.tail=f,f),_]:[h,(c=new F(l,void 0),_.tail=c,c)]},[o,r],t),i=D();s[0].tail=i;const u=D();return s[1].tail=u,[x(o),x(r)]}function ni(e,t){const n=D(),r=X((s,i)=>{const u=e(i);if(u==null)return s;{const a=new F(p(u),void 0);return s.tail=a,a}},n,t),o=D();return r.tail=o,x(n)}function pl(e,t,n){return X((r,o)=>n.Add(r,e(o)),n.GetZero(),t)}function ri(e){throw new Error(e)}const oi="Enumeration already finished.",si="Enumeration has not started. Call MoveNext.",lo="The input sequence has an insufficient number of elements.",ii="Reset is not supported on this enumerator.";function ui(){throw new Error(ii)}function _n(){throw new Error(si)}function Vt(){throw new Error(oi)}class li{constructor(t){this.f=t}toString(){const t=this;let n=0,r="seq [";const o=U(t);try{for(;n<4&&o["System.Collections.IEnumerator.MoveNext"]();)n>0&&(r=r+"; "),r=r+Y(o["System.Collections.Generic.IEnumerator`1.get_Current"]()),n=n+1|0;return n===4&&(r=r+"; ..."),r+"]"}finally{R(o)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return ln(U(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function ai(e){return new li(e)}class ci{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"(){ui()}Dispose(){this.dispose()}}function St(e,t,n){return new ci(e,t,n)}function fi(e){let t,n,r=!1,o=!1,s;const i=()=>{if(o=!0,n!=null){const u=p(n);try{R(u)}finally{n=void 0}}if(t!=null){const u=p(t);try{R(u)}finally{t=void 0}}};return St(()=>(r?o&&Vt():_n(),s!=null?p(s):Vt()),()=>{let u;if(r||(r=!0),o)return!1;{let a;for(;a==null;){const l=t,f=n;if(l!=null)if(f!=null){const c=p(f);if(c["System.Collections.IEnumerator.MoveNext"]())s=V(c["System.Collections.Generic.IEnumerator`1.get_Current"]()),a=!0;else try{R(c)}finally{n=void 0}}else{const c=p(l);c["System.Collections.IEnumerator.MoveNext"]()?n=(u=c["System.Collections.Generic.IEnumerator`1.get_Current"](),U(u)):(i(),a=!1)}else t=U(e)}return p(a)}},()=>{o||i()})}function _i(e,t){return St(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{R(t)}finally{}})}function ao(e,t,n){let r=!1,o,s=V(e());const i=()=>{if(s!=null){const a=p(s);try{n(a)}finally{s=void 0}}},u=()=>{try{i()}finally{o=void 0}};return St(()=>(r||_n(),o!=null?p(o):Vt()),()=>{if(r||(r=!0),s!=null){const a=p(s);let l;try{l=t(a)}catch(f){throw u(),f}return l!=null?(o=l,!0):(u(),!1)}else return!1},i)}function hi(e,t){let n,r=t;return St(()=>{if(n!=null){const o=p(n)[0];return p(n)[1],o}else return _n()},()=>(n=e(r),n!=null?(p(n)[0],r=p(n)[1],!0):!1),()=>{})}function di(e,t){t==null&&ri(e)}function Fe(e){return ai(e)}function ie(e){return di("source",e),U(e)}function ne(e){return Fe(()=>U(e()))}function co(e){return Fe(()=>fi(e))}function pi(e,t){return Fe(()=>hi(e,t))}function ml(){return ne(()=>new Array(0))}function mi(e){return ne(()=>Ws(e))}function gi(e){return e instanceof F?so(e):Array.from(e)}function gl(e){return K(e)?io(e):e instanceof F?e:Ks(e)}function fo(e,t,n){return Fe(()=>ao(e,t,n))}function _o(e,t,n){return Fe(()=>{let r=-1;return ao(e,o=>(r=r+1|0,t(r,o)),n)})}function Jn(e,t){return co([e,t])}function yi(e,t){return fo(()=>ie(t),n=>{let r;for(;r==null&&n["System.Collections.IEnumerator.MoveNext"]();)r=e(n["System.Collections.Generic.IEnumerator`1.get_Current"]());return r},n=>{R(n)})}function yl(e,t,n){const r=ie(t);try{const o=ie(n);try{let s=0,i=r["System.Collections.IEnumerator.MoveNext"](),u=o["System.Collections.IEnumerator.MoveNext"]();for(;s===0&&i&&u;)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"](),u=o["System.Collections.IEnumerator.MoveNext"]());return(s!==0?s:i?1:u?-1:0)|0}finally{R(o)}}finally{R(r)}}function bl(e,t,n){const r=ie(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{R(r)}}function bi(e,t){return yi(n=>{if(e(n))return V(n)},t)}function ho(e,t,n){const r=ie(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{R(r)}}function hn(e,t){ho((n,r)=>{e(r)},void 0,t)}function Sl(e,t){ho((n,r)=>(e(n,r),n+1|0),0,t)}function He(e,t){return fo(()=>ie(t),n=>n["System.Collections.IEnumerator.MoveNext"]()?V(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{R(n)})}function Cl(e,t){return _o(()=>ie(t),(n,r)=>r["System.Collections.IEnumerator.MoveNext"]()?V(e(n,r["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{R(n)})}function wl(e){return ne(()=>Vs(gi(e)))}function Si(e,t){return Fe(()=>{const n=ie(t);try{for(let r=1;r<=e;r++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(lo+"\\nParameter name: source");return _i(()=>{},n)}catch(r){throw R(n),r}})}function vl(e,t){return ne(()=>{let n=!0;return bi(r=>(n&&(n=e(r)),!n),t)})}function Ci(e,t){return _o(()=>ie(t),(n,r)=>{if(n<e){if(r["System.Collections.IEnumerator.MoveNext"]())return V(r["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(lo+"\\nParameter name: source")}else return},n=>{R(n)})}function wi(e,t){return ne(()=>co(He(e,t)))}const re=jr,vi=(e,t)=>{ze(()=>{const n=e();return()=>{n.Dispose()}},t)},Ei=e=>{be(()=>{const t=e();return()=>{t.Dispose()}})};function ki(e){return{Dispose(){hn(t=>{R(t)},Jr(e))}}}class po{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 Ct extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Ct.prototype)}}class dn{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>dn.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function ee(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new Ct);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(n){t.onError(ct(n))}});else try{e(t)}catch(n){t.onError(ct(n))}}}function Ti(e,t){return ee(n=>{e({onSuccess:r=>{try{t(r)(n)}catch(o){n.onError(ct(o))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})})}function Ii(e){return ee(t=>t.onSuccess(e))}class $i{Bind(t,n){return Ti(t,n)}Combine(t,n){return this.Bind(t,()=>n)}Delay(t){return ee(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 Ii(t)}ReturnFrom(t){return t}TryFinally(t,n){return ee(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 ee(r=>{t({onSuccess:r.onSuccess,onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline,onError:o=>{try{n(o)(r)}catch(s){r.onError(ct(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 ee(t=>t.onSuccess(void 0))}}const Mt=new $i;function Oi(e){return new mo(0,[e])}function Mi(e){return new mo(1,[e])}class mo extends Ce{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Choice1Of2","Choice2Of2"]}}function Ni(e){return Oi(e)}function Di(e){return Mi(e)}function Nt(e){}function El(e){return new po(!1)}function kl(e){e.cancel()}const Ri=new po;function xi(e){return ee(t=>{e({onSuccess:n=>t.onSuccess(Ni(n)),onError:n=>t.onSuccess(Di(n)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function Tl(e){return ee(t=>e([t.onSuccess,t.onError,t.onCancel]))}function Il(e){return ee(t=>{let n;const r=setTimeout(()=>{t.cancelToken.removeListener(n),t.onSuccess(void 0)},e);n=t.cancelToken.addListener(()=>{clearTimeout(r),t.onCancel(new Ct)})})}function Fi(e,t){return Pi(e,t)}function Ai(e,t){return Fi(e,t)}function Pi(e,t,n,r,o){typeof t!="function"&&(o=t,t=void 0);const s=new dn;e({onSuccess:t||Nt,onError:Nt,onCancel:Nt,cancelToken:o||Ri,trampoline:s})}function Hi(e,t){return t}function $l(e,t,n,r){const o=re.memo(e,Ee(Wt(bt(le,n),pe())));return hn(s=>{e.displayName=s},Jr(t)),s=>{const i=Hi(r,s);return re.createElement(o,i)}}function Li(e){return{Dispose(){e()}}}function Ol(e){const t=re.useRef(!1);re.useEffect(()=>{t.current||(t.current=!0,e())},[])}function Ml(e){const t=re.useRef(void 0),n=re.useRef(!1),r=re.useRef(!1);n.current&&(r.current=!0),vi(()=>ki(n.current?void 0:(n.current=!0,t.current=V(e()),r.current?t.current:void 0)),[])}function Nl(e){const t=re.useRef(e),n=re.useCallback(r=>t.current(r),[]);return Ei(r=>(t.current=e,Li(()=>{}))),n}function Dl(e,t){sessionStorage.setItem(e,t)}function Rl(e){const t=sessionStorage.getItem(e);if(t!=null)return t}function Ui(e){return new yo(0,[e])}function go(e){return new yo(1,[e])}class yo extends Ce{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Ok","Error"]}}function xl(e,t){return t.tag===0?Ui(e(t.fields[0])):go(t.fields[0])}function Fl(e,t){return t.tag===0?e(t.fields[0]):go(t.fields[0])}class Al extends Ce{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class Pl extends Ce{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Started","Finished"]}}class Wi extends Ke{constructor(t){super(),this.AccessToken=t}}function Hl(e){return new Wi(e.access_token)}class Ll extends Ke{constructor(t){super(),this.Auth=t}}class Ul extends Ce{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["GetUser","SignInRedirect","SignInRedirectCallback","SignInSilentCallback"]}}class bo{constructor(t){this.k=t}}function H(e){return new bo(e)}function S(e){return e.k}class v extends bo{constructor(t,n,r,o){super(t),this.left=n,this.right=r,this.h=o|0}}function L(e,t,n,r){return new v(e,t,n,r)}function I(e){return e.left}function k(e){return e.right}function ve(e){return e.h}function So(e,t){e:for(;;){const n=e,r=t;if(n!=null){const o=p(n);if(o instanceof v){const s=o;e=I(s),t=So(k(s),r+1);continue e}else return r+1|0}else return r|0}}function Vi(e){return So(e,0)}function G(e,t,n){let r,o,s;const i=e;if(i!=null){const f=p(i);s=f instanceof v?(r=f,ve(r)):1}else s=0;let u;const a=n;if(a!=null){const f=p(a);u=f instanceof v?(o=f,ve(o)):1}else u=0;const l=(s<u?u:s)|0;return l===0?H(t):L(t,e,n,l+1)}function Kn(e,t,n){let r,o,s,i,u,a,l,f,c;const h=e;if(h!=null){const g=p(h);c=g instanceof v?(r=g,ve(r)):1}else c=0;let _;const d=n;if(d!=null){const g=p(d);_=g instanceof v?(o=g,ve(o)):1}else _=0;if(_>c+2){const g=p(n);if(g instanceof v){const m=g;if(s=I(m),(s!=null?(i=p(s),i instanceof v?(u=i,ve(u)):1):0)>c+1){const y=p(I(m));if(y instanceof v){const C=y;return G(G(e,t,I(C)),S(C),G(k(C),S(m),k(m)))}else throw new Error("internal error: Set.rebalance")}else return G(G(e,t,I(m)),S(m),k(m))}else throw new Error("internal error: Set.rebalance")}else if(c>_+2){const g=p(e);if(g instanceof v){const m=g;if(a=k(m),(a!=null?(l=p(a),l instanceof v?(f=l,ve(f)):1):0)>_+1){const y=p(k(m));if(y instanceof v){const C=y;return G(G(I(m),S(m),I(C)),S(C),G(k(C),t,n))}else throw new Error("internal error: Set.rebalance")}else return G(I(m),S(m),G(k(m),t,n))}else throw new Error("internal error: Set.rebalance")}else return G(e,t,n)}function De(e,t,n){if(n!=null){const r=p(n),o=e.Compare(t,S(r))|0;if(r instanceof v){const s=r;return o<0?Kn(De(e,t,I(s)),S(s),k(s)):o===0?n:Kn(I(s),S(s),De(e,t,k(s)))}else{const s=e.Compare(t,S(r))|0;return s<0?L(t,void 0,n,2):s===0?n:L(t,n,void 0,2)}}else return H(t)}function Co(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s!=null){const i=p(s),u=r.Compare(o,S(i))|0;if(i instanceof v){const a=i;if(u<0){e=r,t=o,n=I(a);continue e}else{if(u===0)return!0;e=r,t=o,n=k(a);continue e}}else return u===0}else return!1}}function wo(e,t){e:for(;;){const n=e,r=t;if(r!=null){const o=p(r);if(o instanceof v){const s=o;wo(n,I(s)),n(S(s)),e=n,t=k(s);continue e}else n(S(o))}break}}class ji extends Ke{constructor(t,n){super(),this.stack=t,this.started=n}}function vo(e){e:for(;;){const t=e;if(O(t))return fe();{const n=b(t),r=E(t);if(n!=null){const o=p(n);if(o instanceof v){const s=o;e=N([I(s),H(S(s)),k(s)],r);continue e}else return t}else{e=r;continue e}}}}function Yn(e){return new ji(vo(ge(e)),!1)}function Gi(){throw new Error("Enumeration not started")}function qi(){throw new Error("Enumeration already started")}function Xn(e){if(e.started){const t=e.stack;if(O(t))return qi();if(b(t)!=null){const n=p(b(t));return S(n)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return Gi()}function Bi(e){if(e.started){const t=e.stack;if(O(t))return!1;if(b(t)!=null){if(p(b(t))instanceof v)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=vo(E(t)),!O(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!O(e.stack)}function Qn(e){let t=Yn(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return Xn(t)},"System.Collections.IEnumerator.get_Current"(){return Xn(t)},"System.Collections.IEnumerator.MoveNext"(){return Bi(t)},"System.Collections.IEnumerator.Reset"(){t=Yn(e)},Dispose(){}}}function zi(e,t,n){e:for(;;){const r=e,o=t,s=n;if(O(o))return O(s)?0:-1;if(O(s))return 1;if(b(s)!=null)if(b(o)!=null){const i=p(b(o)),u=p(b(s));if(i instanceof v){const a=i;if(I(a)==null)if(u instanceof v){const l=u;if(I(l)==null){const f=r.Compare(S(a),S(l))|0;if(f!==0)return f|0;e=r,t=ue(k(a),E(o)),n=ue(k(l),E(s));continue e}else{let f,c,h,_,d;switch(O(o)?O(s)?f=2:b(s)!=null?(f=1,_=E(s),d=p(b(s))):f=2:b(o)!=null?(f=0,c=E(o),h=p(b(o))):O(s)?f=2:b(s)!=null?(f=1,_=E(s),d=p(b(s))):f=2,f){case 0:if(h instanceof v){const g=h;e=r,t=N([I(g),L(S(g),void 0,k(g),0)],c),n=s;continue e}else{e=r,t=N([void 0,H(S(h))],c),n=s;continue e}case 1:if(d instanceof v){const g=d;e=r,t=o,n=N([I(g),L(S(g),void 0,k(g),0)],_);continue e}else{e=r,t=o,n=N([void 0,H(S(d))],_);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const l=r.Compare(S(a),S(u))|0;if(l!==0)return l|0;e=r,t=ue(k(a),E(o)),n=ue(void 0,E(s));continue e}else{let l,f,c,h,_;switch(O(o)?O(s)?l=2:b(s)!=null?(l=1,h=E(s),_=p(b(s))):l=2:b(o)!=null?(l=0,f=E(o),c=p(b(o))):O(s)?l=2:b(s)!=null?(l=1,h=E(s),_=p(b(s))):l=2,l){case 0:if(c instanceof v){const d=c;e=r,t=N([I(d),L(S(d),void 0,k(d),0)],f),n=s;continue e}else{e=r,t=N([void 0,H(S(c))],f),n=s;continue e}case 1:if(_ instanceof v){const d=_;e=r,t=o,n=N([I(d),L(S(d),void 0,k(d),0)],h);continue e}else{e=r,t=o,n=N([void 0,H(S(_))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else if(u instanceof v){const a=u;if(I(a)==null){const l=r.Compare(S(i),S(a))|0;if(l!==0)return l|0;e=r,t=ue(void 0,E(o)),n=ue(k(a),E(s));continue e}else{let l,f,c,h,_;switch(O(o)?O(s)?l=2:b(s)!=null?(l=1,h=E(s),_=p(b(s))):l=2:b(o)!=null?(l=0,f=E(o),c=p(b(o))):O(s)?l=2:b(s)!=null?(l=1,h=E(s),_=p(b(s))):l=2,l){case 0:if(c instanceof v){const d=c;e=r,t=N([I(d),L(S(d),void 0,k(d),0)],f),n=s;continue e}else{e=r,t=N([void 0,H(S(c))],f),n=s;continue e}case 1:if(_ instanceof v){const d=_;e=r,t=o,n=N([I(d),L(S(d),void 0,k(d),0)],h);continue e}else{e=r,t=o,n=N([void 0,H(S(_))],h);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const a=r.Compare(S(i),S(u))|0;if(a!==0)return a|0;e=r,t=E(o),n=E(s);continue e}}else{p(b(s));let i,u,a,l,f;switch(O(o)?O(s)?i=2:b(s)!=null?(i=1,l=E(s),f=p(b(s))):i=2:b(o)!=null?(i=0,u=E(o),a=p(b(o))):O(s)?i=2:b(s)!=null?(i=1,l=E(s),f=p(b(s))):i=2,i){case 0:if(a instanceof v){const c=a;e=r,t=N([I(c),L(S(c),void 0,k(c),0)],u),n=s;continue e}else{e=r,t=N([void 0,H(S(a))],u),n=s;continue e}case 1:if(f instanceof v){const c=f;e=r,t=o,n=N([I(c),L(S(c),void 0,k(c),0)],l);continue e}else{e=r,t=o,n=N([void 0,H(S(f))],l);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else if(b(o)!=null){p(b(o));let i,u,a,l,f;switch(O(o)?O(s)?i=2:b(s)!=null?(i=1,l=E(s),f=p(b(s))):i=2:b(o)!=null?(i=0,u=E(o),a=p(b(o))):O(s)?i=2:b(s)!=null?(i=1,l=E(s),f=p(b(s))):i=2,i){case 0:if(a instanceof v){const c=a;e=r,t=N([I(c),L(S(c),void 0,k(c),0)],u),n=s;continue e}else{e=r,t=N([void 0,H(S(a))],u),n=s;continue e}case 1:if(f instanceof v){const c=f;e=r,t=o,n=N([I(c),L(S(c),void 0,k(c),0)],l);continue e}else{e=r,t=o,n=N([void 0,H(S(f))],l);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=r,t=E(o),n=E(s);continue e}}}function er(e,t,n){return t==null?n==null?0:-1:n==null?1:zi(e,ge(t),ge(n))|0}function Zi(e,t,n){let r=n;wo(o=>{Ne(t,r,o),r=r+1|0},e)}function Ji(e,t,n){e:for(;;){const r=e,o=t,s=n;if(s["System.Collections.IEnumerator.MoveNext"]()){e=r,t=De(r,s["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=s;continue e}else return o}}function Ki(e,t){return js((n,r)=>De(e,r,n),void 0,t)}function Yi(e,t){return X((n,r)=>De(e,r,n),void 0,t)}function Eo(e,t){if(K(t))return Ki(e,t);if(t instanceof F)return Yi(e,t);{const n=U(t);try{return Ji(e,void 0,n)}finally{R(n)}}}class pn{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return eu(this)|0}Equals(t){let n;const r=this;return t instanceof pn&&(n=t,er(Te(r),q(r),q(n))===0)}toString(){return"set ["+fn("; ",He(n=>Y(n),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const n=this;return er(Te(n),q(n),q(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 Co(Te(n),t,q(n))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){Zi(q(this),t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Dt(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Dt(this)|0}GetEnumerator(){return Qn(q(this))}[Symbol.iterator](){return ln(U(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Qn(q(this))}get size(){return Dt(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 ko(this,t)}keys(){return He(n=>n,this)}values(){return He(n=>n,this)}entries(){return He(n=>[n,n],this)}forEach(t,n){const r=this;hn(o=>{t(o,o,r)},r)}}function wt(e,t){return new pn(e,t)}function Te(e){return e.comparer}function q(e){return e.tree}function Xi(e){return wt(e,void 0)}function Qi(e,t){return wt(Te(e),De(Te(e),t,q(e)))}function Dt(e){return Vi(q(e))}function ko(e,t){return Co(Te(e),t,q(e))}function eu(e){let t=0;const n=U(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+Se(r)+631|0}}finally{R(n)}return Math.abs(t)|0}function jt(e,t){return ko(t,e)}function tu(e,t){return Qi(t,e)}function nu(e){return Xi(e)}function ru(e,t){return wt(t,Eo(t,e))}function Wl(e,t){return wt(t,Eo(t,e))}function ou(){return fe()}function mn(e){return fn("/",e)}function su(e,t){const n=new Error("Duplicate SubId");return e(["Duplicate SubId: "+mn(t),n])}function To(e,t,n){try{R(n)}catch(r){e(["Error stopping subscription: "+mn(t),r])}}function iu(e,t,n,r){try{return[n,r(t)]}catch(o){e(["Error starting subscription: "+mn(n),o]);return}}function uu(e,t){Ge(n=>{To(e,n[0],n[1])},t)}function tr(e,t,n,r,o,s){return Ge(i=>{su(e,i)},n),Ge(i=>{To(e,i[0],i[1])},r),Xs(o,ni(i=>iu(e,t,i[0],i[1]),s))}function lu(){return[fe(),nu({Compare:se}),fe()]}function au(e,t,n,r,o){return jt(e,r)?[ue(e,n),r,o]:[n,tu(e,r),ue([e,t],o)]}function cu(e){return Zs((t,n)=>au(t[0],t[1],n[0],n[1],n[2]),e,lu())}const fu=fe();function nr(e,t){const n=ru(uo(i=>i[0],e),{Compare:se}),r=cu(t),o=r[1],s=r[0];if(n.Equals(o))return[s,fe(),e,fe()];{const i=ti(u=>jt(u[0],o),e);return[s,i[1],i[0],ei(u=>!jt(u[0],n),r[2])]}}class _u{constructor(t,n,r){this.OnNext=t,this.OnError=n||(o=>{}),this.OnCompleted=r||(()=>{})}}function hu(e,t){t.Subscribe(new _u(e))}class du{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 mu(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 pu extends du{}function mu(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 gu{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 pu}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 yu(e,t){console.error(V(e),t)}function bu(e,t){let n,r=new gu(e);r.AutoReset=!1,n=r,hu(t,n.Elapsed()),n.Enabled=!0,n.Start()}function rr(e,t,n){Ge(r=>{try{r(t)}catch(o){e(o)}},n)}function Vl(){return fe()}function jl(e,t){return uo(n=>r=>{n(o=>{r(e(o))})},t)}function Gl(e){return Ys(e)}function ql(e){return ge(e)}function Bl(e,t,n,r,o){return ge(s=>{e(Mt.Delay(()=>Mt.Bind(xi(t(n)),i=>{const u=i;return s(u.tag===1?o(u.fields[0]):r(u.fields[0])),Mt.Zero()})))})}function zl(e){bu(1,t=>{Ai(e)})}function Zl(e,t,n,r){return ge(o=>{e(t).then(s=>{o(n(s))}).catch(s=>{o(r(s))})})}function Jl(e,t,n){return ge(r=>{e(t).catch(o=>{r(n(o))})})}function Su(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 u=se(i,t)|0;return s&&u<=0||!s&&u>=0?[i,r(i,e)]:void 0}}function Cu(e,t,n,r,o){const s=Su(t,n,r,o);return ne(()=>pi(s,e))}function wu(e,t,n){return Cu(e,t,n,0,(r,o)=>r+o)}class Ie extends Ce{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Writable","ReadWritable"]}}class vu{constructor(t){this.state=new Ie(0,[ro(new Array(Zn(t,10)),0,Zn(t,10),null),0])}}function Eu(e){return new vu(e)}function or(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 Ie(0,[o,n]):e.state=new Ie(1,[o,n,s]),V(Xe(r,o))}else return}function ku(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];Ne(s,r,t);const i=(r+1)%s.length|0;i===o?e.state=new Ie(1,[Tu(e,o,s),s.length,0]):e.state=new Ie(1,[s,i,o])}else{const r=n.fields[1]|0,o=n.fields[0];Ne(o,r,t);const s=(r+1)%o.length|0;e.state=new Ie(1,[o,s,r])}}function Tu(e,t,n){return Array.from(ne(()=>Jn(Si(t,n),ne(()=>Jn(Ci(t,n),ne(()=>wi(r=>mi(pe()),wu(0,1,n.length))))))))}class gn extends Ke{constructor(t,n,r,o,s,i,u){super(),this.init=t,this.update=n,this.subscribe=r,this.view=o,this.setState=s,this.onError=i,this.termination=u}}function Kl(e,t,n){return new gn(e,t,r=>ou(),n,Ee(r=>{const o=le(n)(r);return s=>{o(s)}}),r=>{yu(r[0],r[1])},[r=>!1,r=>{}])}function Yl(e,t){return new gn(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}function Xl(e){return e.init}function Ql(e,t,n,r,o,s,i){const u=le(e)(i.init),a=It(t)(le(i.update)),l=It(n)(le(i.view)),f=It(r)(le(i.setState));return new gn(u,Ee(a),le(o)(i.subscribe),Ee(l),Ee(f),i.onError,s(i.termination))}function Iu(e,t,n){let r;const o=n.init(t),s=o[0],i=n.subscribe(s),u=n.termination,a=Eu(10);let l=!1,f=s,c=fu,h=!1;const _=m=>{h||(ku(a,m),l||(l=!0,g(),l=!1))},d=le(e)(_),g=()=>{let m,y=or(a);for(;!h&&y!=null;){const C=p(y);if(u[0](C))uu(n.onError,c),u[1](f),h=!0;else{const W=n.update(C,f),A=W[0],j=n.subscribe(A);n.setState(A,d),rr(_e=>{n.onError([zn(Bn("Error handling the message: %A"))(C),_e])},d,W[1]),f=A,c=(m=nr(c,j),tr(n.onError,d,m[0],m[1],m[2],m[3])),y=or(a)}}};l=!0,n.setState(s,d),rr(m=>{n.onError([zn(Bn("Error intitializing:")),m])},d,o[1]),c=(r=nr(c,i),tr(n.onError,d,r[0],r[1],r[2],r[3])),g(),l=!1}function $u(e,t){Iu(Ee(n=>n),e,t)}function ea(e){$u(void 0,e)}export{Ou as $,Dl as A,V as B,Gu as C,Al as D,zn as E,Bn as F,yo as G,Hl as H,Vl as I,Zl as J,ql as K,Jl as L,Ul as M,Pl as N,jl as O,ea as P,Kl as Q,Ke as R,Ll as S,J as T,Ce as U,qu as V,gt as W,xe as X,Gr as Y,ss as Z,nl as _,Ml as a,Bu as a$,Be as a0,ze as a1,U as a2,R as a3,Au as a4,Re as a5,Xl as a6,es as a7,$u as a8,Yl as a9,pl as aA,Ru as aB,dl as aC,vl as aD,qr as aE,os as aF,yl as aG,Se as aH,se as aI,N as aJ,K as aK,F as aL,X as aM,xu as aN,Tl as aO,ll as aP,Qu as aQ,Ku as aR,Ns as aS,$ as aT,Nu as aU,Yu as aV,bl as aW,Du as aX,Ls as aY,xl as aZ,so as a_,Ql as aa,Ee as ab,Pu as ac,il as ad,Cs as ae,Kr as af,Ju as ag,Hu as ah,co as ai,ln as aj,p as ak,Sl as al,gi as am,He as an,Vu as ao,Xu as ap,Ne as aq,ne as ar,Uu as as,gl as at,Wu as au,ol as av,ei as aw,Xs as ax,cl as ay,hl as az,Ol as b,zu as b0,Zu as b1,js as b2,ue as b3,zs as b4,Jn as b5,wl as b6,ro as b7,Wl as b8,ho as b9,Zt as bA,wr as bB,Je as bC,Ar as bD,gr as bE,Yt as bF,Ze as bG,mt as bH,cr as bI,ml as bJ,wi as bK,_l as bL,mr as bM,Ve as bN,Do as bO,Wi as bP,Lt as ba,Fl as bb,Gs as bc,ul as bd,Yr as be,Cl as bf,Mu as bg,ju as bh,bt as bi,ni as bj,Mt as bk,Rl as bl,Gl as bm,Bl as bn,Ai as bo,Il as bp,Qs as bq,zl as br,Y as bs,jr as bt,Fu as bu,re as bv,kl as bw,mi as bx,El as by,be as bz,Wt as c,pe as d,fl as e,sl as f,Z as g,fe as h,el as i,ge as j,Lu as k,al as l,$l as m,Xe as n,io as o,Li as p,fn as q,uo as r,tl as s,rl as t,Nl as u,O as v,b as w,E as x,hn as y,Jr as z};
|
package/dist/bank-details-app.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
import{g as p,U as E,k as j,m as z,u as H,a as J,b as K,d as X,c as V,e as Y,o as $,s as Z,f as U,i as ee,h as A,t as ne,j as h,l as L,n as _,p as te,q as se,r as ie,v as g,w as S,x as l,y as re,z as ae,A as le,R as oe,B as T,C as q,S as f,D as w,E as b,F as m,G as o,H as M,I as k,J as P,K as ue,L as de,M as u,N as d,O as B,P as ce,Q as fe,T as we,V as W}from"./assets/program.fs-B3mu_Z86.js";function he(){return p("div",{children:"Please wait..."})}class G extends E{constructor(n,t){super(),this.tag=n,this.fields=t}cases(){return["backend-url","access-token"]}}function ge(e,n){return p("bank-component",j(e,1),...n)}function v(e,n){if(n.startsWith(e))return n}function Q(e,n){if(n.endsWith(e))return n}function pe(e){return n=>{let t,s,i,r,a,c;return t=v("/",n),t!=null?(s=t,"#"+s):(i=v("#/",n),i!=null?(r=i,r):(a=v("#",n),a!=null?(c=a,"#/"+U(c,1,c.length-1)):"#/"+n))}}function _e(e,n){return pe()(se("/",ie(t=>t.indexOf("?")>=0||t.startsWith("#")||t.startsWith("/")?t:encodeURIComponent(t),e)))}function Ce(e,n,t){history.pushState(void 0,"",_e(e));const s=document.createEvent("CustomEvent");s.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(s)}function x(e,n){return Y(t=>{if(ee(t))return A();{const s=ne(t,"#");if(s==="?")return A();if(v("?",s)!=null)return h(s);{const i=s.split("?");if(!L((r,a)=>r===a,i)&&i.length===1){const r=_(0,i);return h(decodeURIComponent(r))}else if(!L((r,a)=>r===a,i)&&i.length===2)if(_(1,i)===""){const r=_(0,i);return h(decodeURIComponent(r))}else{const r=_(0,i),a=_(1,i);return $([decodeURIComponent(r),"?"+a])}else return A()}}},$(Z(v("#",e)!=null?U(e,1,e.length-1):n===1&&(Q("#",e)!=null||Q("#/",e)!=null)?"":e,["/"],void 0,0)))}function ke(e,n,t){return n(x(e===2?window.location.pathname+window.location.search:window.location.hash,e))}const ve=z(e=>{const n=H(s=>{const i=V(e.onUrlChanged,r=>{});ke(V(e.hashMode,1),i)});J(()=>(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.addEventListener("hashchange",n):window.addEventListener("popstate",n),window.addEventListener("CUSTOM_NAVIGATION_EVENT",n),te(()=>{window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.removeEventListener("hashchange",n):window.removeEventListener("popstate",n),window.removeEventListener("CUSTOM_NAVIGATION_EVENT",n)}))),K(()=>{const s=document.createEvent("CustomEvent");s.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(s)});const t=e.application;return t??X()},void 0,void 0,void 0);class Ee extends E{constructor(n){super(),this.tag=0,this.fields=[n]}cases(){return["Token"]}}class D extends E{constructor(n){super(),this.tag=0,this.fields=[n]}cases(){return["QueryString"]}}class C extends E{constructor(n,t){super(),this.tag=n,this.fields=t}cases(){return["Home","OidcSignIn","OidcSignInRedirectCallback","OidcSignInSilentCallback","NotFound"]}}function N(e){let n,t,s;if(g(e))n=0;else if(S(e)==="oidc")if(g(l(e)))n=3;else switch(S(l(e))){case"callback":{g(l(l(e)))?n=3:g(l(l(l(e))))?(n=1,t=S(l(l(e)))):n=3;break}case"silent-refresh":{g(l(l(e)))?n=3:g(l(l(l(e))))?(n=2,s=S(l(l(e)))):n=3;break}default:n=3}else n=3;switch(n){case 0:{const i=window.location.search,r=new URLSearchParams(i),a=r.get("token");if(a==null)return new C(0,[]);{const c=a;return re(R=>{le("success-redirection-url",R)},ae(r.get("success-redirection-url"))),new C(1,[new Ee(c)])}}case 1:return new C(2,[new D(t)]);case 2:return new C(3,[new D(s)]);default:return new C(4,[])}}class O extends oe{constructor(n,t){super(),this.CurrentPage=n,this.Auth=t}}class y extends E{constructor(n,t){super(),this.tag=n,this.fields=t}cases(){return["UrlChanged","AuthMsg"]}}const Re=(()=>{const e={};return e.store=T(window.sessionStorage),e})();function Se(e){return e.endsWith("/")?e:e+"/"}function be(){const e=Se(window.location.origin+window.location.pathname),n={};return n.authority=q,n.client_id="apollo-bank-details-ui",n.redirect_uri=e+"#/oidc/callback?",n.response_type="id_token token",n.scope="openid profile",n.automaticSilentRenew=!0,n.silent_redirect_uri=T(e+"#/oidc/silent-refresh?"),n.post_logout_redirect_uri=e+"#/oidc/logout?",n.accessTokenExpiringNotificationTime=10,n.filterProtocolClaims=!0,n.loadUserInfo=!1,n.clockSkew=2592e3,n.userStore=new WebStorageStateStore(Re),n}function I(){return new UserManager(be())}function F(e){return e.length>0?U(e,1):e}function me(e){return I().signinRedirect(T({extraQueryParams:{irt:e.fields[0]}}))}function Ie(e){return I().signinRedirectCallback(F(e.fields[0]))}function Ae(e){return I().signinSilentCallback(F(e.fields[0]))}function Me(){return I().getUser()}function Pe(){const e=N(x(window.location.hash,1));return[new f(new w(0,[])),e.tag===1?h(n=>{n(new u(1,[new d(0,[]),e.fields[0]]))}):e.tag===2?h(n=>{n(new u(2,[new d(0,[]),e.fields[0]]))}):e.tag===3?h(n=>{n(new u(3,[new d(0,[]),e.fields[0]]))}):h(n=>{n(new u(0,[new d(0,[])]))})]}function Oe(e,n){const t=s=>[new f(new w(2,[new o(1,[s])])),k()];switch(e.tag){case 1:return e.fields[0].tag===1?e.fields[0].fields[0].tag===1?t(b(m("SignInRedirect failed: %s"))(e.fields[0].fields[0].fields[0])):[n,k()]:[new f(new w(1,[])),de(me,e.fields[1],s=>new u(1,[new d(1,[new o(1,[s.message])]),e.fields[1]]))];case 2:return e.fields[0].tag===1?e.fields[0].fields[0].tag===1?t(b(m("failed sign in: %s"))(e.fields[0].fields[0].fields[0])):[new f(new w(2,[new o(0,[M(e.fields[0].fields[0].fields[0])])])),ue(s=>{Ce(h(""))})]:[new f(new w(1,[])),P(Ie,e.fields[1],s=>(window.gtag&&window.gtag("event","oidc_sign_in",{}),new u(2,[new d(1,[new o(0,[s])]),e.fields[1]])),s=>new u(2,[new d(1,[new o(1,[s.message])]),e.fields[1]]))];case 3:return e.fields[0].tag===1?e.fields[0].fields[0].tag===1?t(b(m("failed silent sign in: %s"))(e.fields[0].fields[0].fields[0])):e.fields[0].fields[0].fields[0]==null?t("silent refresh expected a user but got none"):[new f(new w(2,[new o(0,[M(e.fields[0].fields[0].fields[0])])])),k()]:[n,P(Ae,e.fields[1],s=>new u(3,[new d(1,[new o(0,[s])]),e.fields[1]]),s=>new u(3,[new d(1,[new o(1,[s.message])]),e.fields[1]]))];default:return e.fields[0].tag===1?e.fields[0].fields[0].tag===1?t(b(m("failed to get current user: %s"))(e.fields[0].fields[0].fields[0])):e.fields[0].fields[0].fields[0]==null?t("expected a user but got none"):[new f(new w(2,[new o(0,[M(e.fields[0].fields[0].fields[0])])])),k()]:[new f(new w(1,[])),P(Me,void 0,s=>new u(0,[new d(1,[new o(0,[s])])]),s=>new u(0,[new d(1,[new o(1,[s.message])])]))]}}function Ue(){const e=N(x(window.location.hash,1)),n=Pe();return[new O(e,n[0]),B(t=>new y(1,[t]),n[1])]}function Te(e,n){if(e.tag===1){const t=Oe(e.fields[0],n.Auth);return[new O(n.CurrentPage,t[0]),B(s=>new y(1,[s]),t[1])]}else return[new O(N(e.fields[0]),n.Auth),k()]}function xe(e,n){let t,s,i;switch(W!=null&&q!=null?(s=0,i=W):s=1,s){case 0:{switch(e.CurrentPage.tag){case 1:case 2:case 3:{t=he();break}case 4:{t=p("h1",{children:"Not found"});break}default:{const a=e.Auth.Auth;let c,R;switch(a.tag===2&&a.fields[0].tag===0?(c=0,R=a.fields[0].fields[0]):c=1,c){case 0:{t=ge([new G(0,[i]),new G(1,[R.AccessToken])],[]);break}default:t=p("h1",{children:"Unauthorised"})}}}break}default:t=p("h1",{children:"Invalid attribute configuration"})}return ve({onUrlChanged:r=>{n(new y(0,[r]))},application:p(we,{},t)})}ce(fe(Ue,Te,xe));
|