@flarehr/bank-details-app 2.17.1 → 2.21.1
Sign up to get free protection for your applications and to get access to all the features.
package/README.md
CHANGED
@@ -1,3 +1,38 @@
|
|
1
1
|
# Flare Bank Details App
|
2
2
|
|
3
3
|
Flare HR Pty Ltd © 2015-2020
|
4
|
+
|
5
|
+
|
6
|
+
# Bank Details Web App
|
7
|
+
|
8
|
+
## Installation
|
9
|
+
|
10
|
+
To install the project's dependencies, run the following commands:
|
11
|
+
|
12
|
+
```bash
|
13
|
+
dotnet tool restore
|
14
|
+
dotnet restore
|
15
|
+
npm i
|
16
|
+
```
|
17
|
+
|
18
|
+
## Development
|
19
|
+
|
20
|
+
To start the development server, run the following commands:
|
21
|
+
|
22
|
+
```bash
|
23
|
+
npm start
|
24
|
+
```
|
25
|
+
|
26
|
+
### Instructions for local UI development with remote backend
|
27
|
+
|
28
|
+
1. open autodev instance and copy the jwt out of the chrome console
|
29
|
+
1. uncomment bank-component and paste token into "token" attribute
|
30
|
+
2. comment out all of the above elements (including loading screen and div)
|
31
|
+
|
32
|
+
## Build
|
33
|
+
|
34
|
+
To build the project, run the following commands:
|
35
|
+
|
36
|
+
```bash
|
37
|
+
npm run build
|
38
|
+
```
|
package/dist/bank-details-app.js
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
!function(n){var t={};function e(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var o in n)e.d(r,o,function(t){return n[t]}.bind(null,o));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s=56)}([function(n,t,e){"use strict";e.d(t,"j",(function(){return c})),e.d(t,"c",(function(){return a})),e.d(t,"H",(function(){return f})),e.d(t,"K",(function(){return d})),e.d(t,"J",(function(){return h})),e.d(t,"y",(function(){return p})),e.d(t,"F",(function(){return b})),e.d(t,"z",(function(){return g})),e.d(t,"a",(function(){return _})),e.d(t,"E",(function(){return m})),e.d(t,"L",(function(){return w})),e.d(t,"I",(function(){return v})),e.d(t,"b",(function(){return O})),e.d(t,"r",(function(){return y})),e.d(t,"d",(function(){return j})),e.d(t,"D",(function(){return S})),e.d(t,"e",(function(){return C})),e.d(t,"s",(function(){return E})),e.d(t,"f",(function(){return x})),e.d(t,"u",(function(){return k})),e.d(t,"t",(function(){return I})),e.d(t,"i",(function(){return A})),e.d(t,"g",(function(){return T})),e.d(t,"h",(function(){return D})),e.d(t,"G",(function(){return F})),e.d(t,"p",(function(){return P})),e.d(t,"k",(function(){return R})),e.d(t,"m",(function(){return N})),e.d(t,"x",(function(){return U})),e.d(t,"v",(function(){return H})),e.d(t,"w",(function(){return L})),e.d(t,"q",(function(){return G})),e.d(t,"o",(function(){return q})),e.d(t,"l",(function(){return z})),e.d(t,"n",(function(){return V})),e.d(t,"C",(function(){return $})),e.d(t,"A",(function(){return W})),e.d(t,"B",(function(){return B}));var r=e(1),o=e(2);class i{constructor(n,t,e,r){this.declaringType=n,this.tag=t,this.name=e,this.fields=r}}class u{constructor(n,t,e,r,o,i,u){this.fullname=n,this.generics=t,this.construct=e,this.parent=r,this.fields=o,this.cases=i,this.enumCases=u}toString(){return C(this)}GetHashCode(){return s(this)}Equals(n){return l(this,n)}}function c(n){return null!=n.generics?n.generics:[]}function s(n){const t=Object(o.E)(n.fullname),e=c(n).map(s);return Object(o.e)([t,...e])}function l(n,t){return""===n.fullname?""===t.fullname&&Object(o.o)(R(n),R(t),([n,t],[e,r])=>n===e&&l(t,r)):n.fullname===t.fullname&&Object(o.o)(c(n),c(t),l)}function a(n,t,e,r){return new u(n,t,e,r)}function f(n,t,e,r){return new u(n,t,e,void 0,r)}function d(n,t,e,r){const o=new u(n,t,e,void 0,void 0,()=>{const n=e.prototype.cases();return r().map((t,e)=>new i(o,e,n[e],t))});return o}function h(...n){return new u("System.Tuple`"+n.length,n)}function p(n,t){return new u("Microsoft.FSharp.Core.FSharpFunc`2",[n,t])}function b(n){return new u("Microsoft.FSharp.Core.FSharpOption`1",[n])}function g(n){return new u("Microsoft.FSharp.Collections.FSharpList`1",[n])}function _(n){return new u(n.fullname+"[]",[n])}const m=new u("System.Object"),w=new u("Microsoft.FSharp.Core.Unit"),v=(new u("System.Char"),new u("System.String")),O=new u("System.Boolean"),y=(new u("System.SByte"),new u("System.Byte"),new u("System.Int16"),new u("System.UInt16"),new u("System.Int32")),j=(new u("System.UInt32"),new u("System.Single"),new u("System.Double"));new u("System.Decimal");function S(n){if(Array.isArray(n))return n[0];if(n instanceof i)return n.name;{const t=n.fullname.lastIndexOf(".");return-1===t?n.fullname:n.fullname.substr(t+1)}}function C(n){const t=null==n.generics||E(n)?[]:n.generics;return t.length>0?n.fullname+"["+t.map(n=>C(n)).join(",")+"]":n.fullname}function E(n){return n.fullname.endsWith("[]")}function x(n){var t;return E(n)?null===(t=n.generics)||void 0===t?void 0:t[0]:void 0}function k(n){return null!=n.generics&&n.generics.length>0}function I(n){return null!=n.enumCases&&n.enumCases.length>0}function A(n){return null==n.generics?n:new u(n.fullname,n.generics.map(()=>m))}function T(n){var t;return null===(t=n.generics)||void 0===t?void 0:t[0]}function D(n){if(I(n)&&null!=n.enumCases)return n.enumCases.map(n=>n[1]);throw new Error(n.fullname+" is not an enum type")}function M(n,t){if(null!=n.enumCases){if("string"==typeof t){for(const e of n.enumCases)if(e[0]===t)return e;throw new Error(`'${t}' was not found in ${n.fullname}`)}for(const e of n.enumCases)if(e[1]===t)return e;return["",t]}throw new Error(n.fullname+" is not an enum type")}function F(n,t){const e=parseInt(t,10);return M(n,isNaN(e)?t:e)[1]}function P(n){if(null!=n.cases)return n.cases();throw new Error(n.fullname+" is not an F# union type")}function R(n){if(null!=n.fields)return n.fields();throw new Error(n.fullname+" is not an F# record type")}function N(n){if(L(n)&&null!=n.generics)return n.generics;throw new Error(n.fullname+" is not a tuple type")}function U(n){return n instanceof u?null!=n.cases:n instanceof r.d}function H(n){return n instanceof u?null!=n.fields:n instanceof r.c}function L(n){return n.fullname.startsWith("System.Tuple")&&!E(n)}function G(n,t){const e=P(t)[n.tag];if(null==e)throw new Error(`Cannot find case ${n.name} in union type`);return[e,n.fields]}function q(n){return null==n.fields?[]:n.fields}function z(n,t){return n[t[0]]}function V(n){return n}function $(n,t){const e=(n.fields||[]).length;if(t.length!==e)throw new Error(`Expected an array of length ${e} but got ${t.length}`);return null!=n.declaringType.construct?new n.declaringType.construct(n.tag,...t):{}}function W(n,t){const e=R(n);if(e.length!==t.length)throw new Error(`Expected an array of length ${e.length} but got ${t.length}`);return null!=n.construct?new n.construct(...t):e.reduce((n,[e,r],o)=>(n[e]=t[o],n),{})}function B(n,t){return n}},function(n,t,e){"use strict";e.d(t,"e",(function(){return i})),e.d(t,"b",(function(){return c})),e.d(t,"d",(function(){return s})),e.d(t,"c",(function(){return p})),e.d(t,"a",(function(){return b}));var r=e(2);function o(n){let t=0,e="[";for(const r of n){if(0===t)e+=i(r);else{if(100===t){e+="; ...";break}e+="; "+i(r)}t++}return e+"]"}function i(n,t=0){if(null!=n&&"object"==typeof n){if("function"==typeof n.toString)return n.toString();if(Symbol.iterator in n)return o(n);{const e=Object.getPrototypeOf(n).constructor;return e===Object&&t<10?"{ "+Object.entries(n).map(([n,e])=>n+" = "+i(e,t+1)).join("\n ")+" }":e.name}}return String(n)}function u(n,t){if(n===t)return 0;if(null==t)return-1;for(;null!=n.tail;){if(null==t.tail)return 1;const e=Object(r.f)(n.head,t.head);if(0!==e)return e;n=n.tail,t=t.tail}return null==t.tail?0:-1}class c{constructor(n,t){this.head=n,this.tail=t}[Symbol.iterator](){let n=this;return{next:()=>{const t=null==n?void 0:n.head,e=null==(null==n?void 0:n.tail);return n=null==n?void 0:n.tail,{done:e,value:t}}}}toJSON(){return Array.from(this)}toString(){return o(this)}GetHashCode(){return Object(r.e)(Array.from(this).map(r.F))}Equals(n){return 0===u(this,n)}CompareTo(n){return u(this,n)}}class s{get name(){return this.cases()[this.tag]}toJSON(){return 0===this.fields.length?this.name:[this.name].concat(this.fields)}toString(){if(0===this.fields.length)return this.name;{let n="",t=!0;if(1===this.fields.length){const e=i(this.fields[0]);t=e.indexOf(" ")>=0,n=e}else n=this.fields.map(n=>i(n)).join(", ");return this.name+(t?" (":" ")+n+(t?")":"")}}GetHashCode(){const n=this.fields.map(n=>Object(r.F)(n));return n.splice(0,0,Object(r.x)(this.tag)),Object(r.e)(n)}Equals(n){return this===n||!!Object(r.D)(this,n)&&(this.tag===n.tag&&Object(r.n)(this.fields,n.fields))}CompareTo(n){return this===n?0:Object(r.D)(this,n)?this.tag===n.tag?Object(r.g)(this.fields,n.fields):this.tag<n.tag?-1:1:-1}}function l(n){const t={},e=Object.keys(n);for(let r=0;r<e.length;r++)t[e[r]]=n[e[r]];return t}function a(n){return"{ "+Object.entries(n).map(([n,t])=>n+" = "+i(t)).join("\n ")+" }"}function f(n){const t=Object.values(n).map(n=>Object(r.F)(n));return Object(r.e)(t)}function d(n,t){if(n===t)return!0;if(Object(r.D)(n,t)){const e=Object.keys(n);for(let o=0;o<e.length;o++)if(!Object(r.p)(n[e[o]],t[e[o]]))return!1;return!0}return!1}function h(n,t){if(n===t)return 0;if(Object(r.D)(n,t)){const e=Object.keys(n);for(let o=0;o<e.length;o++){const i=Object(r.f)(n[e[o]],t[e[o]]);if(0!==i)return i}return 0}return-1}class p{toJSON(){return l(this)}toString(){return a(this)}GetHashCode(){return f(this)}Equals(n){return d(this,n)}CompareTo(n){return h(this,n)}}class b{constructor(n,t){"function"==typeof t?(this.getter=n,this.setter=t):(this.getter=()=>n,this.setter=t=>{n=t})}get contents(){return this.getter()}set contents(n){this.setter(n)}}},function(n,t,e){"use strict";function r(n){return Array.isArray(n)||ArrayBuffer.isView(n)}function o(n){return"function"==typeof n.GetHashCode}function i(n){return null!=n&&"function"==typeof n.Dispose}function u(n,t){return Object.getPrototypeOf(n).constructor===Object.getPrototypeOf(t).constructor}e.d(t,"s",(function(){return r})),e.d(t,"t",(function(){return i})),e.d(t,"D",(function(){return u})),e.d(t,"a",(function(){return c})),e.d(t,"z",(function(){return s})),e.d(t,"y",(function(){return l})),e.d(t,"m",(function(){return a})),e.d(t,"q",(function(){return f})),e.d(t,"r",(function(){return d})),e.d(t,"E",(function(){return p})),e.d(t,"x",(function(){return b})),e.d(t,"e",(function(){return g})),e.d(t,"B",(function(){return _})),e.d(t,"b",(function(){return m})),e.d(t,"F",(function(){return w})),e.d(t,"C",(function(){return v})),e.d(t,"o",(function(){return O})),e.d(t,"n",(function(){return y})),e.d(t,"p",(function(){return j})),e.d(t,"h",(function(){return S})),e.d(t,"i",(function(){return C})),e.d(t,"g",(function(){return E})),e.d(t,"f",(function(){return x})),e.d(t,"w",(function(){return k})),e.d(t,"v",(function(){return I})),e.d(t,"k",(function(){return A})),e.d(t,"j",(function(){return T})),e.d(t,"d",(function(){return D})),e.d(t,"G",(function(){return M})),e.d(t,"l",(function(){return F})),e.d(t,"c",(function(){return P})),e.d(t,"A",(function(){return R})),e.d(t,"u",(function(){return N}));class c{constructor(n){this.factory=n,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function s(n,t){let e=n.toString(10);for(;e.length<t;)e="0"+e;return e}function l(n,t,e){let r=n.toString(10);for(;r.length<t;)r="0"+r;for(;r.length<e;)r+="0";return r}function a(n){const t=n;return"number"==typeof t.offset?t.offset:1===n.kind?0:-6e4*n.getTimezoneOffset()}function f(n,t){return(n=n<0&&null!=t&&10!==t?65535+n+1:n).toString(t)}function d(n,t){return(n=n<0&&null!=t&&10!==t?4294967295+n+1:n).toString(t)}class h{static id(n){return h.idMap.has(n)||h.idMap.set(n,++h.count),h.idMap.get(n)}}function p(n){let t=0,e=5381;const r=n.length;for(;t<r;)e=33*e^n.charCodeAt(t++);return e}function b(n){return 2654435761*n|0}function g(n){return 0===n.length?0:n.reduce((n,t)=>(n<<5)+n^t)}function _(n){if(null==n)return 0;switch(typeof n){case"boolean":return n?1:0;case"number":return b(n);case"string":return p(n);default:return b(h.id(n))}}function m(n){const t=n.length,e=new Array(t);for(let r=0;r<t;r++)e[r]=w(n[r]);return g(e)}function w(n){if(null==n)return 0;switch(typeof n){case"boolean":return n?1:0;case"number":return b(n);case"string":return p(n);default:if(o(n))return n.GetHashCode();if(r(n))return m(n);if(n instanceof Date)return function(n){return n.getTime()}(n);if(Object.getPrototypeOf(n).constructor===Object){return g(Object.values(n).map(n=>w(n)))}return b(h.id(n))}}function v(n){return null==n?0:o(n)?n.GetHashCode():b(h.id(n))}function O(n,t,e){if(null==n)return null==t;if(null==t)return!1;if(n.length!==t.length)return!1;for(let r=0;r<n.length;r++)if(!e(n[r],t[r]))return!1;return!0}function y(n,t){return O(n,t,j)}function j(n,t){return n===t||(null==n?null==t:null!=t&&("object"==typeof n&&(function(n){return"function"==typeof n.Equals}(n)?n.Equals(t):r(n)?r(t)&&y(n,t):n instanceof Date?t instanceof Date&&0===S(n,t):Object.getPrototypeOf(n).constructor===Object&&function(n,t){const e=Object.keys(n),r=Object.keys(t);if(e.length!==r.length)return!1;e.sort(),r.sort();for(let o=0;o<e.length;o++)if(e[o]!==r[o]||!j(n[e[o]],t[r[o]]))return!1;return!0}(n,t))))}function S(n,t){let e,r;return"offset"in n&&"offset"in t?(e=n.getTime(),r=t.getTime()):(e=n.getTime()+a(n),r=t.getTime()+a(t)),e===r?0:e<r?-1:1}function C(n,t){return n===t?0:n<t?-1:1}function E(n,t){return function(n,t,e){if(null==n)return null==t?0:1;if(null==t)return-1;if(n.length!==t.length)return n.length<t.length?-1:1;for(let r=0,o=0;r<n.length;r++)if(o=e(n[r],t[r]),0!==o)return o;return 0}(n,t,x)}function x(n,t){return n===t?0:null==n?null==t?0:-1:null==t?1:"object"!=typeof n?n<t?-1:1:function(n){return"function"==typeof n.CompareTo}(n)?n.CompareTo(t):r(n)?r(t)?E(n,t):-1:n instanceof Date?t instanceof Date?S(n,t):-1:Object.getPrototypeOf(n).constructor===Object?function(n,t){const e=Object.keys(n),r=Object.keys(t);if(e.length!==r.length)return e.length<r.length?-1:1;e.sort(),r.sort();for(let o=0,i=0;o<e.length;o++){const u=e[o];if(u!==r[o])return u<r[o]?-1:1;if(i=x(n[u],t[u]),0!==i)return i}return 0}(n,t):-1}function k(n,t,e){return n(t,e)<0?t:e}function I(n,t,e){return n(t,e)>0?t:e}function A(n){const t={};for(const e of n)t[e[0]]=e[1];return t}function T(n){if(r(n))return n.length;{let t=0;for(const e of n)t++;return t}}function D(n){r(n)?n.splice(0):n.clear()}h.idMap=new WeakMap,h.count=0;function M(n,t){if(null==t||t.length>1)return t;let e;switch(n){case 2:e=(n,e)=>t(n)(e);break;case 3:e=(n,e,r)=>t(n)(e)(r);break;case 4:e=(n,e,r,o)=>t(n)(e)(r)(o);break;case 5:e=(n,e,r,o,i)=>t(n)(e)(r)(o)(i);break;case 6:e=(n,e,r,o,i,u)=>t(n)(e)(r)(o)(i)(u);break;case 7:e=(n,e,r,o,i,u,c)=>t(n)(e)(r)(o)(i)(u)(c);break;case 8:e=(n,e,r,o,i,u,c,s)=>t(n)(e)(r)(o)(i)(u)(c)(s);break;default:throw new Error("Uncurrying to more than 8-arity is not supported: "+n)}return e.__CURRIED__=t,e}function F(n,t){if(null==t||1===t.length)return t;if("__CURRIED__"in t)return t.__CURRIED__;switch(n){case 2:return n=>e=>t(n,e);case 3:return n=>e=>r=>t(n,e,r);case 4:return n=>e=>r=>o=>t(n,e,r,o);case 5:return n=>e=>r=>o=>i=>t(n,e,r,o,i);case 6:return n=>e=>r=>o=>i=>u=>t(n,e,r,o,i,u);case 7:return n=>e=>r=>o=>i=>u=>c=>t(n,e,r,o,i,u,c);case 8:return n=>e=>r=>o=>i=>u=>c=>s=>t(n,e,r,o,i,u,c,s);default:throw new Error("Currying to more than 8-arity is not supported: "+n)}}function P(n,t){return t.length>n?(...n)=>(...e)=>t.apply(void 0,n.concat(e)):t}function R(n,t,e){if(null!=t){if("__CURRIED__"in t){t=t.__CURRIED__;for(let n=0;n<e.length;n++)t=t(e[n]);return t}switch(n){case 1:return n=>t.apply(void 0,e.concat([n]));case 2:return n=>r=>t.apply(void 0,e.concat([n,r]));case 3:return n=>r=>o=>t.apply(void 0,e.concat([n,r,o]));case 4:return n=>r=>o=>i=>t.apply(void 0,e.concat([n,r,o,i]));case 5:return n=>r=>o=>i=>u=>t.apply(void 0,e.concat([n,r,o,i,u]));case 6:return n=>r=>o=>i=>u=>c=>t.apply(void 0,e.concat([n,r,o,i,u,c]));case 7:return n=>r=>o=>i=>u=>c=>s=>t.apply(void 0,e.concat([n,r,o,i,u,c,s]));case 8:return n=>r=>o=>i=>u=>c=>s=>l=>t.apply(void 0,e.concat([n,r,o,i,u,c,s,l]));default:throw new Error("Partially applying to more than 8-arity is not supported: "+n)}}}function N(n,t){return e=>function n(t,e,r,o){const i=r[o];if(0!==i){const n=i[0],t=i[1];n>1&&(e=F(n,e)),t>1&&(e=M(t,e))}const u=t(e);return o+1===r.length?u:t=>n(u,t,r,o+1)}(n,e,t,0)}},function(n,t,e){"use strict";e.d(t,"e",(function(){return i})),e.d(t,"g",(function(){return u})),e.d(t,"h",(function(){return c})),e.d(t,"f",(function(){return s})),e.d(t,"a",(function(){return a})),e.d(t,"b",(function(){return f})),e.d(t,"c",(function(){return d})),e.d(t,"d",(function(){return h}));var r=e(1),o=(e(0),e(6));class i extends r.d{constructor(n,...t){super(),this.tag=0|n,this.fields=t}cases(){return["Ok","Error"]}}function u(n,t){return 0===t.tag?new i(0,n(t.fields[0])):new i(1,t.fields[0])}function c(n,t){return 0===t.tag?new i(0,t.fields[0]):new i(1,n(t.fields[0]))}function s(n,t){return 0===t.tag?n(t.fields[0]):new i(1,t.fields[0])}class l extends r.d{constructor(n,...t){super(),this.tag=0|n,this.fields=t}cases(){return["Choice1Of2","Choice2Of2"]}}r.d;r.d;r.d;r.d;r.d;function a(n){return new l(0,n)}function f(n){return new l(1,n)}function d(n){return 0===n.tag?Object(o.f)(n.fields[0]):void 0}function h(n){return 1===n.tag?Object(o.f)(n.fields[0]):void 0}},function(n,t,e){"use strict";e.d(t,"m",(function(){return u})),e.d(t,"E",(function(){return c})),e.d(t,"a",(function(){return h})),e.d(t,"e",(function(){return p})),e.d(t,"c",(function(){return b})),e.d(t,"b",(function(){return g})),e.d(t,"d",(function(){return _})),e.d(t,"g",(function(){return m})),e.d(t,"h",(function(){return w})),e.d(t,"z",(function(){return v})),e.d(t,"i",(function(){return O})),e.d(t,"f",(function(){return y})),e.d(t,"j",(function(){return S})),e.d(t,"k",(function(){return C})),e.d(t,"l",(function(){return E})),e.d(t,"G",(function(){return x})),e.d(t,"o",(function(){return k})),e.d(t,"p",(function(){return I})),e.d(t,"n",(function(){return A})),e.d(t,"q",(function(){return T})),e.d(t,"r",(function(){return D})),e.d(t,"s",(function(){return M})),e.d(t,"u",(function(){return F})),e.d(t,"v",(function(){return P})),e.d(t,"w",(function(){return R})),e.d(t,"x",(function(){return N})),e.d(t,"y",(function(){return U})),e.d(t,"A",(function(){return H})),e.d(t,"B",(function(){return L})),e.d(t,"C",(function(){return G})),e.d(t,"D",(function(){return q})),e.d(t,"H",(function(){return z})),e.d(t,"t",(function(){return V})),e.d(t,"I",(function(){return $})),e.d(t,"F",(function(){return W}));e(26),e(5);var r=e(6),o=e(2);class i{constructor(n){this.iter=n}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const n=this.iter.next();return this.current=n.value,!n.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function u(n){return"function"==typeof n.GetEnumerator?n.GetEnumerator():new i(n[Symbol.iterator]())}function c(n){return{[Symbol.iterator](){return this},next(){const t=n["System.Collections.IEnumerator.MoveNext"]();return{done:!t,value:t?n["System.Collections.IEnumerator.get_Current"]():void 0}}}}function s(n){if(null==n)throw new Error("Seq did not contain any matching element");return Object(r.h)(n)}class l{constructor(n){this.f=n}[Symbol.iterator](){return new l(this.f)}next(){var n;return this.iter=null!==(n=this.iter)&&void 0!==n?n:this.f(),this.iter.next()}toString(){return"seq ["+Array.from(this).join("; ")+"]"}}function a(n){return new l(n)}function f(n){return Array.isArray(n)||ArrayBuffer.isView(n)}function d(n){return Array.isArray(n)?m(()=>n):m(()=>$(t=>null!=t&&t<n.length?[n[t],t+1]:void 0,0))}function h(n,t){return m(()=>{let e=!1;let r=[n[Symbol.iterator](),void 0];return $(()=>{var n,o;let i;if(!e){if(i=null===(n=r[0])||void 0===n?void 0:n.next(),null!=i&&!i.done)return[i.value,r];e=!0,r=[void 0,t[Symbol.iterator]()]}return i=null===(o=r[1])||void 0===o?void 0:o.next(),null==i||i.done?void 0:[i.value,r]},r)})}function p(n){return m(()=>{const t=n[Symbol.iterator]();let e;return $(n=>{let r=!1;for(;!r;)if(null==n){const e=t.next();e.done?r=!0:n=e.value[Symbol.iterator]()}else{const t=n.next();t.done?n=void 0:(e=t.value,r=!0)}return null!=n?[e,n]:void 0},void 0)})}function b(n,t){return p(T(n,t))}function g(n,t){return m(()=>$(t=>{let e=t.next();for(;!e.done;){const o=n(e.value);if(null!=o)return[Object(r.h)(o),t];e=t.next()}},t[Symbol.iterator]()))}function _(n,t,e){if(t===e)return 0;let r,o,i=0;for(const u=t[Symbol.iterator](),c=e[Symbol.iterator]();(r=u.next(),o=c.next(),!r.done&&!o.done)&&(i=n(r.value,o.value),0===i););return 0!==i?i:r.done&&!o.done?-1:!r.done&&o.done?1:0}function m(n){return a(()=>n()[Symbol.iterator]())}function w(){return m(()=>[])}function v(n){return m(()=>[n])}function O(n,t){let e;for(const r=t[Symbol.iterator]();e=r.next(),!e.done;)if(n(e.value))return!0;return!1}function y(n,t){return O(t=>Object(o.p)(t,n),t)}function j(n,t){return m(()=>$(t=>{let e=t.next();for(;!e.done;){if(n(e.value))return[e.value,t];e=t.next()}},t[Symbol.iterator]()))}function S(n,t,e){if(f(e))return e.reduce(n,t);{let r;for(let o=0,i=e[Symbol.iterator]();r=i.next(),!r.done;o++)t=n(t,r.value,o);return t}}function C(n,t,e,r){const o=e[Symbol.iterator](),i=r[Symbol.iterator]();let u,c;for(let e=0;u=o.next(),c=i.next(),!u.done&&!c.done;e++)t=n(t,u.value,c.value,e);return t}function E(n,t,e,r){const o=f(t)?t:Array.from(t),i=f(e)?e:Array.from(e);for(let t=o.length-1;t>=0;t--)r=n(o[t],i[t],r,t);return r}function x(n){const t=n[Symbol.iterator]().next();return t.done?void 0:Object(r.f)(t.value)}function k(n,t){S((t,e)=>{n(e)},void 0,t)}function I(n,t){S((t,e,r)=>{n(null!=r?r:0,e)},void 0,t)}function A(n){return n[Symbol.iterator]().next().done}function T(n,t){return m(()=>$(t=>{const e=t.next();return e.done?void 0:[n(e.value),t]},t[Symbol.iterator]()))}function D(n,t){return m(()=>{let e=0;return $(t=>{const r=t.next();return r.done?void 0:[n(e++,r.value),t]},t[Symbol.iterator]())})}function M(n){return m(()=>{const t=n[Symbol.iterator]().next();if(t.done)return w();const e=t.value,r=function(n){return H(1,n)}(n);return H(1,N(([n,t],e)=>[t,e],[e,e],r))})}function F(n,t,e){if(0===t)throw new Error("Step cannot be 0");return m(()=>$(n=>t>0&&n<=e||t<0&&n>=e?[n,n+t]:void 0,n))}function P(n,t){if(f(t))return t.reduce(n);const e=t[Symbol.iterator]();let r=e.next();if(r.done)throw new Error("Seq was empty");let o=r.value;for(;r=e.next(),!r.done;)o=n(o,r.value);return o}function R(n){return d((f(n)?n.slice(0):Array.from(n)).reverse())}function N(n,t,e){return m(()=>{const r=e[Symbol.iterator]();return $(e=>{if(null==e)return[t,t];const o=r.next();return o.done?void 0:[e=n(e,o.value),e]},void 0)})}function U(n,t,e){return R(N((t,e)=>n(e,t),e,R(t)))}function H(n,t){return a(()=>{const e=t[Symbol.iterator]();for(let t=1;t<=n;t++)if(e.next().done)throw new Error("Seq has not enough elements");return e})}function L(n,t){return m(()=>{let e=!1;return j(t=>e||(e=!n(t)),t)})}function G(n,t,e){return S((t,r)=>e.Add(t,n(r)),e.GetZero(),t)}function q(n,t,e=!1){return m(()=>{const r=t[Symbol.iterator]();return $(t=>{if(t<n){const n=r.next();if(!n.done)return[n.value,t+1];if(!e)throw new Error("Seq has not enough elements")}},0)})}function z(n,t){for(let e=0,r=t[Symbol.iterator]();;e++){const t=r.next();if(t.done)break;const o=n(t.value,e);if(null!=o)return o}}function V(n,t){return s(z(n,t))}function $(n,t){return a(()=>{let e=t;return{next(){const t=n(e);if(null!=t){const n=Object(r.h)(t);if(null!=n)return e=n[1],{done:!1,value:n[0]}}return{done:!0,value:void 0}}}})}function W(n){return a(()=>{const t=Array.from(n,n=>n[Symbol.iterator]());return{next(){if(0===t.length)return{done:!0,value:void 0};const n=Array.from(t,n=>n.next());if(n[0].done){if(!n.every(n=>n.done))throw new Error("Sequences have different lengths");return{done:!0,value:void 0}}if(!n.every(n=>!n.done))throw new Error("Sequences have different lengths");return{done:!1,value:n.map(n=>n.value)}}}})}},function(n,t,e){"use strict";e.d(t,"i",(function(){return J})),e.d(t,"o",(function(){return Y})),e.d(t,"n",(function(){return X})),e.d(t,"k",(function(){return Q})),e.d(t,"m",(function(){return nn})),e.d(t,"p",(function(){return tn})),e.d(t,"l",(function(){return en})),e.d(t,"j",(function(){return rn})),e.d(t,"b",(function(){return on})),e.d(t,"a",(function(){return un})),e.d(t,"d",(function(){return cn})),e.d(t,"c",(function(){return sn})),e.d(t,"f",(function(){return ln})),e.d(t,"g",(function(){return an})),e.d(t,"r",(function(){return fn})),e.d(t,"s",(function(){return dn})),e.d(t,"e",(function(){return hn})),e.d(t,"t",(function(){return bn})),e.d(t,"u",(function(){return gn})),e.d(t,"q",(function(){return _n})),e.d(t,"h",(function(){return mn}));var r=e(23),o=e(17),i=null;try{i=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(n){}function u(n,t,e){this.low=0|n,this.high=0|t,this.unsigned=!!e}function c(n){return!0===(n&&n.__isLong__)}u.prototype.GetHashCode=function(){let n=this.unsigned?1:0;return n=(n<<5)+n^this.high,n=(n<<5)+n^this.low,n},u.prototype.Equals=function(n){return F(this,n)},u.prototype.CompareTo=function(n){return U(this,n)},u.prototype.toString=function(n){return A(this,n)},u.prototype.toJSON=function(){return A(this)},u.prototype[o.d]=function(){const n=this;return{multiply:t=>q(n,t),toPrecision:t=>String(n)+(0).toPrecision(t).substr(1),toExponential:t=>String(n)+(0).toExponential(t).substr(1),toFixed:t=>String(n)+(0).toFixed(t).substr(1),toHex:()=>A(n.unsigned?n:Z(K(n),!0),16)}},u.prototype.__isLong__,Object.defineProperty(u.prototype,"__isLong__",{value:!0});var s={},l={};function a(n,t){var e,r,o;return t?(o=0<=(n>>>=0)&&n<256)&&(r=l[n])?r:(e=d(n,(0|n)<0?-1:0,!0),o&&(l[n]=e),e):(o=-128<=(n|=0)&&n<128)&&(r=s[n])?r:(e=d(n,n<0?-1:0,!1),o&&(s[n]=e),e)}function f(n,t){if(isNaN(n))return t?O:v;if(t){if(n<0)return O;if(n>=_)return E}else{if(n<=-m)return x;if(n+1>=m)return C}return n<0?H(f(-n,t)):d(n%g|0,n/g|0,t)}function d(n,t,e){return new u(n,t,e)}var h=Math.pow;function p(n,t,e){if(0===n.length)throw Error("empty string");if("NaN"===n||"Infinity"===n||"+Infinity"===n||"-Infinity"===n)return v;if("number"==typeof t?(e=t,t=!1):t=!!t,(e=e||10)<2||36<e)throw RangeError("radix");var r=n.indexOf("-");if(r>0)throw Error("interior hyphen");if(0===r)return H(p(n.substring(1),t,e));for(var o=f(h(e,8)),i=v,u=0;u<n.length;u+=8){var c=Math.min(8,n.length-u),s=parseInt(n.substring(u,u+c),e);if(c<8)i=L(q(i,f(h(e,c))),f(s));else i=L(i=q(i,o),f(s))}return i.unsigned=t,i}function b(n,t){return"number"==typeof n?f(n,t):"string"==typeof n?p(n,t):d(n.low,n.high,"boolean"==typeof t?t:n.unsigned)}var g=4294967296,_=g*g,m=_/2,w=a(1<<24),v=a(0),O=a(0,!0),y=a(1),j=a(1,!0),S=a(-1),C=d(-1,2147483647,!1),E=d(-1,-1,!0),x=d(0,-2147483648,!1);function k(n){return n.unsigned?n.low>>>0:n.low}function I(n){return n.unsigned?(n.high>>>0)*g+(n.low>>>0):n.high*g+(n.low>>>0)}function A(n,t){if((t=t||10)<2||36<t)throw RangeError("radix");if(T(n))return"0";if(D(n)){if(F(n,x)){var e=f(t),r=z(n,e),o=G(q(r,e),n);return A(r,t)+k(o).toString(t)}return"-"+A(H(n),t)}for(var i=f(h(t,6),n.unsigned),u=n,c="";;){var s=z(u,i),l=(k(G(u,q(s,i)))>>>0).toString(t);if(T(u=s))return l+c;for(;l.length<6;)l="0"+l;c=""+l+c}}function T(n){return 0===n.high&&0===n.low}function D(n){return!n.unsigned&&n.high<0}function M(n){return 1==(1&n.low)}function F(n,t){return c(t)||(t=b(t)),(n.unsigned===t.unsigned||n.high>>>31!=1||t.high>>>31!=1)&&(n.high===t.high&&n.low===t.low)}function P(n,t){return U(n,t)<0}function R(n,t){return U(n,t)>0}function N(n,t){return U(n,t)>=0}function U(n,t){if(c(t)||(t=b(t)),F(n,t))return 0;var e=D(n),r=D(t);return e&&!r?-1:!e&&r?1:n.unsigned?t.high>>>0>n.high>>>0||t.high===n.high&&t.low>>>0>n.low>>>0?-1:1:D(G(n,t))?-1:1}function H(n){return!n.unsigned&&F(n,x)?x:L(V(n),y)}function L(n,t){c(t)||(t=b(t));var e=n.high>>>16,r=65535&n.high,o=n.low>>>16,i=65535&n.low,u=t.high>>>16,s=65535&t.high,l=t.low>>>16,a=0,f=0,h=0,p=0;return h+=(p+=i+(65535&t.low))>>>16,f+=(h+=o+l)>>>16,a+=(f+=r+s)>>>16,a+=e+u,d((h&=65535)<<16|(p&=65535),(a&=65535)<<16|(f&=65535),n.unsigned)}function G(n,t){return c(t)||(t=b(t)),L(n,H(t))}function q(n,t){if(T(n))return n.unsigned?O:v;if(c(t)||(t=b(t)),i)return d(i.mul(n.low,n.high,t.low,t.high),i.get_high(),n.unsigned);if(T(t))return n.unsigned?O:v;if(F(n,x))return M(t)?x:v;if(F(t,x))return M(n)?x:v;if(D(n))return D(t)?q(H(n),H(t)):H(q(H(n),t));if(D(t))return H(q(n,H(t)));if(P(n,w)&&P(t,w))return f(I(n)*I(t),n.unsigned);var e=n.high>>>16,r=65535&n.high,o=n.low>>>16,u=65535&n.low,s=t.high>>>16,l=65535&t.high,a=t.low>>>16,h=65535&t.low,p=0,g=0,_=0,m=0;return _+=(m+=u*h)>>>16,g+=(_+=o*h)>>>16,_&=65535,g+=(_+=u*a)>>>16,p+=(g+=r*h)>>>16,g&=65535,p+=(g+=o*a)>>>16,g&=65535,p+=(g+=u*l)>>>16,p+=e*h+r*a+o*l+u*s,d((_&=65535)<<16|(m&=65535),(p&=65535)<<16|(g&=65535),n.unsigned)}function z(n,t){if(c(t)||(t=b(t)),T(t))throw Error("division by zero");var e,r,o;if(i)return n.unsigned||-2147483648!==n.high||-1!==t.low||-1!==t.high?d((n.unsigned?i.div_u:i.div_s)(n.low,n.high,t.low,t.high),i.get_high(),n.unsigned):n;if(T(n))return n.unsigned?O:v;if(n.unsigned){if(t.unsigned||(t=function(n){return n.unsigned?n:d(n.low,n.high,!0)}(t)),R(t,n))return O;if(R(t,B(n,1)))return j;o=O}else{if(F(n,x))return F(t,y)||F(t,S)?x:F(t,x)?y:F(e=$(z(W(n,1),t),1),v)?D(t)?y:S:o=L(e,z(r=G(n,q(t,e)),t));if(F(t,x))return n.unsigned?O:v;if(D(n))return D(t)?z(H(n),H(t)):H(z(H(n),t));if(D(t))return H(z(n,H(t)));o=v}for(r=n;N(r,t);){e=Math.max(1,Math.floor(I(r)/I(t)));for(var u=Math.ceil(Math.log(e)/Math.LN2),s=u<=48?1:h(2,u-48),l=f(e),a=q(l,t);D(a)||R(a,r);)a=q(l=f(e-=s,n.unsigned),t);T(l)&&(l=y),o=L(o,l),r=G(r,a)}return o}function V(n){return d(~n.low,~n.high,n.unsigned)}function $(n,t){return c(t)&&(t=k(t)),0==(t&=63)?n:t<32?d(n.low<<t,n.high<<t|n.low>>>32-t,n.unsigned):d(0,n.low<<t-32,n.unsigned)}function W(n,t){return c(t)&&(t=k(t)),0==(t&=63)?n:t<32?d(n.low>>>t|n.high<<32-t,n.high>>t,n.unsigned):d(n.high>>t-32,n.high>=0?0:-1,n.unsigned)}function B(n,t){if(c(t)&&(t=k(t)),0===(t&=63))return n;var e=n.high;return t<32?d(n.low>>>t|e<<32-t,e>>>t,n.unsigned):d(32===t?e:e>>>t-32,0,n.unsigned)}function K(n,t){return t?function(n){var t=n.high,e=n.low;return[255&e,e>>>8&255,e>>>16&255,e>>>24,255&t,t>>>8&255,t>>>16&255,t>>>24]}(n):function(n){var t=n.high,e=n.low;return[t>>>24,t>>>16&255,t>>>8&255,255&t,e>>>24,e>>>16&255,e>>>8&255,255&e]}(n)}function Z(n,t,e){return e?function(n,t){return new u(n[0]|n[1]<<8|n[2]<<16|n[3]<<24,n[4]|n[5]<<8|n[6]<<16|n[7]<<24,t)}(n,t):function(n,t){return new u(n[4]<<24|n[5]<<16|n[6]<<8|n[7],n[0]<<24|n[1]<<16|n[2]<<8|n[3],t)}(n,t)}const J=L,Y=G,X=q,Q=z,nn=function(n,t){return c(t)||(t=b(t)),i?d((n.unsigned?i.rem_u:i.rem_s)(n.low,n.high,t.low,t.high),i.get_high(),n.unsigned):G(n,q(z(n,t),t))},tn=H,en=$,rn=function(n,t){return c(t)||(t=b(t)),d(n.low&t.low,n.high&t.high,n.unsigned)},on=F,un=U,cn=a,sn=d,ln=f,an=b,fn=k,dn=I;function hn(n,t,e){let r=n,o=0;switch(e){case 0:r=n<<24>>24,o=r;break;case 4:r=n<<24>>>24;break;case 1:r=n<<16>>16,o=r;break;case 5:r=n<<16>>>16;break;case 2:r=n>>0,o=r;break;case 6:r=n>>>0}return d(r,o>>31,t)}function pn(n,t,e,o,i){const u=Object(r.a)(n,t,i);if(null!=u){const t=(n,t)=>{const e=Math.max(n.length,t.length);return n.padStart(e,"0")<=t.padStart(e,"0")},r="-"===u.sign,o=function(n,t,e){switch(t){case 2:return n?"1111111111111111111111111111111111111111111111111111111111111111":e?"1000000000000000000000000000000000000000000000000000000000000000":"111111111111111111111111111111111111111111111111111111111111111";case 8:return n?"1777777777777777777777":e?"1000000000000000000000":"777777777777777777777";case 10:return n?"18446744073709551615":e?"9223372036854775808":"9223372036854775807";case 16:return n?"FFFFFFFFFFFFFFFF":e?"8000000000000000":"7FFFFFFFFFFFFFFF";default:throw new Error("Invalid radix.")}}(e||10!==u.radix,u.radix,r);if(t(u.digits.toUpperCase(),o))return p(n=r?u.sign+u.digits:u.digits,e,u.radix)}throw new Error("Input string was not in a correct format.")}function bn(n,t,e,r,o){try{return o.contents=pn(n,t,e),!0}catch(n){return!1}}function gn(n,t){return X(J(J(f(n),621355968e5),t),1e4)}function _n(n){return I(Y(Q(n,1e4),621355968e5))}function mn(n,t,e){const r=U(n,e?O:v);if(0===r)throw new Error("The step of a range cannot be zero");const o=r>0;return e=>{const r=U(e,t);return o&&r<=0||!o&&r>=0?[e,J(e,n)]:void 0}}},function(n,t,e){"use strict";e.d(t,"f",(function(){return i})),e.d(t,"h",(function(){return u})),e.d(t,"e",(function(){return c})),e.d(t,"g",(function(){return s})),e.d(t,"b",(function(){return l})),e.d(t,"c",(function(){return a})),e.d(t,"d",(function(){return f})),e.d(t,"a",(function(){return d}));var r=e(2);class o{constructor(n){this.value=n}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return Object(r.F)(this.value)}Equals(n){return null!=n&&Object(r.p)(this.value,n instanceof o?n.value:n)}CompareTo(n){return null==n?1:Object(r.f)(this.value,n instanceof o?n.value:n)}}function i(n){return null==n||n instanceof o?new o(n):n}function u(n){if(null==n)throw new Error("Option has no value");return n instanceof o?n.value:n}function c(n){return null==n?void 0:n}function s(n){return null==n?[]:[u(n)]}function l(n,t){return null!=n?u(n):t}function a(n,t){return null!=n?u(n):t()}function f(n,t){return null!=t?i(n(u(t))):void 0}function d(n,t){return null!=t?n(u(t)):void 0}},function(n,t,e){"use strict";e.d(t,"a",(function(){return r})),e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return i})),e.d(t,"e",(function(){return u})),e.d(t,"d",(function(){return c})),e.d(t,"f",(function(){return s})),e.d(t,"g",(function(){return l}));class r{constructor(n=!1){this._id=0,this._cancelled=n,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,n]of this._listeners)n()}}addListener(n){const t=this._id;return this._listeners.set(this._id++,n),t}removeListener(n){return this._listeners.delete(n)}register(n,t){const e=this,r=this.addListener(null==t?n:()=>n(t));return{Dispose(){e.removeListener(r)}}}}class o extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,o.prototype)}}class i{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>i.maxTrampolineCallCount}hijack(n){this.callCount=0,setTimeout(n,0)}}function u(n){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new o);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{n(t)}catch(n){t.onError(n)}});else try{n(t)}catch(n){t.onError(n)}}}function c(n,t){return u(e=>{n({onSuccess:n=>{try{t(n)(e)}catch(n){e.onError(n)}},onError:e.onError,onCancel:e.onCancel,cancelToken:e.cancelToken,trampoline:e.trampoline})})}function s(n){return u(t=>t.onSuccess(n))}const l=new class{Bind(n,t){return c(n,t)}Combine(n,t){return this.Bind(n,()=>t)}Delay(n){return u(t=>n()(t))}For(n,t){const e=n[Symbol.iterator]();let r=e.next();return this.While(()=>!r.done,this.Delay(()=>{const n=t(r.value);return r=e.next(),n}))}Return(n){return s(n)}ReturnFrom(n){return n}TryFinally(n,t){return u(e=>{n({onSuccess:n=>{t(),e.onSuccess(n)},onError:n=>{t(),e.onError(n)},onCancel:n=>{t(),e.onCancel(n)},cancelToken:e.cancelToken,trampoline:e.trampoline})})}TryWith(n,t){return u(e=>{n({onSuccess:e.onSuccess,onCancel:e.onCancel,cancelToken:e.cancelToken,trampoline:e.trampoline,onError:n=>{try{t(n)(e)}catch(n){e.onError(n)}}})})}Using(n,t){return this.TryFinally(t(n),()=>n.Dispose())}While(n,t){return n()?this.Bind(t,()=>this.While(n,t)):this.Return(void 0)}Zero(){return u(n=>n.onSuccess(void 0))}}},function(n,t,e){"use strict";e.d(t,"f",(function(){return l})),e.d(t,"s",(function(){return a})),e.d(t,"e",(function(){return f})),e.d(t,"k",(function(){return d})),e.d(t,"u",(function(){return h})),e.d(t,"x",(function(){return p})),e.d(t,"i",(function(){return g})),e.d(t,"r",(function(){return _})),e.d(t,"q",(function(){return m})),e.d(t,"d",(function(){return w})),e.d(t,"m",(function(){return v})),e.d(t,"a",(function(){return O})),e.d(t,"c",(function(){return y})),e.d(t,"n",(function(){return j})),e.d(t,"o",(function(){return S})),e.d(t,"l",(function(){return C})),e.d(t,"p",(function(){return E})),e.d(t,"y",(function(){return k})),e.d(t,"v",(function(){return A})),e.d(t,"h",(function(){return D})),e.d(t,"w",(function(){return M})),e.d(t,"g",(function(){return F})),e.d(t,"b",(function(){return P})),e.d(t,"t",(function(){return R})),e.d(t,"j",(function(){return N}));var r=e(1),o=e(6),i=e(4),u=e(2),c=(e(16),e(25),e(12)),s=e(29);function l(){return new r.b}function a(n){return new r.b(n,l())}function f(n,t){return new r.b(n,t)}function d(n){if(null!=n.tail)return n.head;throw new Error("List was empty")}function h(n){if(null!=n.tail)return n.tail;throw new Error("List was empty")}function p(n){for(;;){const t=n;if(null==t.tail)return;if(null==t.tail.tail)return Object(o.f)(t.head);n=t.tail}}function b(n,t,e){return function(n,t,e,r){for(;;){const o=n,i=t,u=e,c=r;if(null==c.tail)return u;n=o,t=i+1,e=o(i,u,c.head),r=c.tail}}(n,0,t,e)}function g(n,t,e){for(;;){const r=n,o=t,i=e;if(null==i.tail)return o;n=r,t=r(o,i.head),e=i.tail}}function _(n){return g((n,t)=>new r.b(t,n),new r.b,n)}function m(n){return _(Object(i.j)((n,t)=>new r.b(t,n),new r.b,n))}function w(n){return _(Object(i.j)((n,t)=>g((n,t)=>new r.b(t,n),n,t),new r.b,n))}function v(n){return g((n,t)=>n+1,0,n)}function O(n,t){return g((n,t)=>new r.b(t,n),t,_(n))}function y(n,t){return m(Object(i.c)(n,t))}function j(n,t){return _(g((t,e)=>new r.b(n(e),t),new r.b,t))}function S(n,t){return _(b((t,e,o)=>new r.b(n(t,o),e),new r.b,t))}function C(n,t){return g((t,e)=>{n(e)},void 0,t)}function E(n){return function(n,t){let e=t;for(let t=Object(u.j)(n)-1;t>=0;t--)e=new r.b(n[t],e);return e}(n,new r.b)}function x(n,t){return function(n,t,e){n:for(;;){const r=n,o=t,i=e;if(null!=i.tail){const u=r(o,i.head);if(null==u){n=r,t=o+1,e=i.tail;continue n}return u}return}}(n,0,t)}function k(n,t){return x((t,e)=>n(e),t)}function I(n,t){return x((t,e)=>n(t,e)?Object(o.f)(e):void 0,t)}function A(n,t){return x((t,e)=>n(e)?Object(o.f)(e):void 0,t)}function T(n,t){const e=I(n,t);if(null!=e)return Object(o.h)(e);throw new Error("List did not contain any matching elements")}function D(n,t){return T((t,e)=>n(e),t)}function M(n,t){return I((t,e)=>n===t,t)}function F(n,t){return _(g((t,e)=>n(e)?new r.b(e,t):t,new r.b,t))}function P(n,t){return _(g((t,e)=>{const i=n(e);return null==i?t:new r.b(Object(o.h)(i),t)},new r.b,t))}function R(n,t){n:for(;;){const e=n,r=t;let o,i,u;switch(null!=r.tail&&e(r.head)?(o=0,i=r.head,u=r.tail):o=1,o){case 0:n=e,t=u;continue n;case 1:return r}break}}function N(n,t,e){const o=new s.a([],e);let i=new r.b;C(t=>{const e=n(t);let u,s=null;u=[Object(c.e)(o,e,new r.a(()=>s,n=>{s=n})),s],u[0]?o.set(e,new r.b(t,u[1])):(Object(c.a)(o,e,new r.b(t,new r.b)),i=new r.b(e,i))},t);let u=new r.b;return C(n=>{u=new r.b([n,_(Object(c.c)(o,n))],u)},i),u}},function(n,t,e){"use strict";e.r(t),e.d(t,"useState",(function(){return p})),e.d(t,"useReducer",(function(){return b})),e.d(t,"useEffect",(function(){return g})),e.d(t,"useLayoutEffect",(function(){return _})),e.d(t,"useRef",(function(){return m})),e.d(t,"useImperativeHandle",(function(){return w})),e.d(t,"useMemo",(function(){return v})),e.d(t,"useCallback",(function(){return O})),e.d(t,"useContext",(function(){return y})),e.d(t,"useDebugValue",(function(){return j})),e.d(t,"useErrorBoundary",(function(){return S})),e.d(t,"createElement",(function(){return u.f})),e.d(t,"createContext",(function(){return u.e})),e.d(t,"createRef",(function(){return u.g})),e.d(t,"Fragment",(function(){return u.b})),e.d(t,"Component",(function(){return u.a})),e.d(t,"version",(function(){return un})),e.d(t,"Children",(function(){return H})),e.d(t,"render",(function(){return Q})),e.d(t,"hydrate",(function(){return nn})),e.d(t,"unmountComponentAtNode",(function(){return an})),e.d(t,"createPortal",(function(){return J})),e.d(t,"createFactory",(function(){return cn})),e.d(t,"cloneElement",(function(){return ln})),e.d(t,"isValidElement",(function(){return sn})),e.d(t,"findDOMNode",(function(){return fn})),e.d(t,"PureComponent",(function(){return M})),e.d(t,"memo",(function(){return F})),e.d(t,"forwardRef",(function(){return N})),e.d(t,"unstable_batchedUpdates",(function(){return dn})),e.d(t,"StrictMode",(function(){return hn})),e.d(t,"Suspense",(function(){return z})),e.d(t,"SuspenseList",(function(){return W})),e.d(t,"lazy",(function(){return $}));var r,o,i,u=e(10),c=0,s=[],l=u.j.__r,a=u.j.diffed,f=u.j.__c,d=u.j.unmount;function h(n,t){u.j.__h&&u.j.__h(o,n,c||t),c=0;var e=o.__H||(o.__H={__:[],__h:[]});return n>=e.__.length&&e.__.push({}),e.__[n]}function p(n){return c=1,b(A,n)}function b(n,t,e){var i=h(r++,2);return i.t=n,i.__c||(i.__c=o,i.__=[e?e(t):A(void 0,t),function(n){var t=i.t(i.__[0],n);i.__[0]!==t&&(i.__=[t,i.__[1]],i.__c.setState({}))}]),i.__}function g(n,t){var e=h(r++,3);!u.j.__s&&I(e.__H,t)&&(e.__=n,e.__H=t,o.__H.__h.push(e))}function _(n,t){var e=h(r++,4);!u.j.__s&&I(e.__H,t)&&(e.__=n,e.__H=t,o.__h.push(e))}function m(n){return c=5,v((function(){return{current:void 0===n?null:n}}),[])}function w(n,t,e){c=6,_((function(){"function"==typeof n?n(t()):n&&(n.current=t())}),null==e?e:e.concat(n))}function v(n,t){var e=h(r++,7);return I(e.__H,t)?(e.__H=t,e.__h=n,e.__=n()):e.__}function O(n,t){return c=8,v((function(){return n}),t)}function y(n){var t=o.context[n.__c],e=h(r++,9);return e.__c=n,t?(null==e.__&&(e.__=!0,t.sub(o)),t.props.value):n.__}function j(n,t){u.j.useDebugValue&&u.j.useDebugValue(t?t(n):n)}function S(n){var t=h(r++,10),e=p();return t.__=n,o.componentDidCatch||(o.componentDidCatch=function(n){t.__&&t.__(n),e[1](n)}),[e[0],function(){e[1](void 0)}]}function C(){s.some((function(n){if(n.__P)try{n.__H.__h.forEach(x),n.__H.__h.forEach(k),n.__H.__h=[]}catch(t){return n.__H.__h=[],u.j.__e(t,n.__v),!0}})),s=[]}u.j.__r=function(n){l&&l(n),r=0;var t=(o=n.__c).__H;t&&(t.__h.forEach(x),t.__h.forEach(k),t.__h=[])},u.j.diffed=function(n){a&&a(n);var t=n.__c;t&&t.__H&&t.__H.__h.length&&(1!==s.push(t)&&i===u.j.requestAnimationFrame||((i=u.j.requestAnimationFrame)||function(n){var t,e=function(){clearTimeout(r),E&&cancelAnimationFrame(t),setTimeout(n)},r=setTimeout(e,100);E&&(t=requestAnimationFrame(e))})(C))},u.j.__c=function(n,t){t.some((function(n){try{n.__h.forEach(x),n.__h=n.__h.filter((function(n){return!n.__||k(n)}))}catch(e){t.some((function(n){n.__h&&(n.__h=[])})),t=[],u.j.__e(e,n.__v)}})),f&&f(n,t)},u.j.unmount=function(n){d&&d(n);var t=n.__c;if(t&&t.__H)try{t.__H.__.forEach(x)}catch(n){u.j.__e(n,t.__v)}};var E="function"==typeof requestAnimationFrame;function x(n){"function"==typeof n.u&&n.u()}function k(n){n.u=n.__()}function I(n,t){return!n||t.some((function(t,e){return t!==n[e]}))}function A(n,t){return"function"==typeof t?t(n):t}function T(n,t){for(var e in t)n[e]=t[e];return n}function D(n,t){for(var e in n)if("__source"!==e&&!(e in t))return!0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return!0;return!1}var M=function(n){var t,e;function r(t){var e;return(e=n.call(this,t)||this).isPureReactComponent=!0,e}return e=n,(t=r).prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e,r.prototype.shouldComponentUpdate=function(n,t){return D(this.props,n)||D(this.state,t)},r}(u.a);function F(n,t){function e(n){var e=this.props.ref,r=e==n.ref;return!r&&e&&(e.call?e(null):e.current=null),t?!t(this.props,n)||!r:D(this.props,n)}function r(t){return this.shouldComponentUpdate=e,Object(u.f)(n,t)}return r.prototype.isReactComponent=!0,r.displayName="Memo("+(n.displayName||n.name)+")",r.t=!0,r}var P=u.j.__b;u.j.__b=function(n){n.type&&n.type.t&&n.ref&&(n.props.ref=n.ref,n.ref=null),P&&P(n)};var R="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function N(n){function t(t,e){var r=T({},t);return delete r.ref,n(r,(e=t.ref||e)&&("object"!=typeof e||"current"in e)?e:null)}return t.$$typeof=R,t.render=t,t.prototype.isReactComponent=t.t=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var U=function(n,t){return n?Object(u.l)(n).reduce((function(n,e,r){return n.concat(t(e,r))}),[]):null},H={map:U,forEach:U,count:function(n){return n?Object(u.l)(n).length:0},only:function(n){if(1!==(n=Object(u.l)(n)).length)throw new Error("Children.only() expects only one child.");return n[0]},toArray:u.l},L=u.j.__e;function G(n){return n&&((n=T({},n)).__c=null,n.__k=n.__k&&n.__k.map(G)),n}function q(n){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(q)),n}function z(){this.__u=0,this.o=null,this.__b=null}function V(n){var t=n.__.__c;return t&&t.u&&t.u(n)}function $(n){var t,e,r;function o(o){if(t||(t=n()).then((function(n){e=n.default||n}),(function(n){r=n})),r)throw r;if(!e)throw t;return Object(u.f)(e,o)}return o.displayName="Lazy",o.t=!0,o}function W(){this.i=null,this.l=null}u.j.__e=function(n,t,e){if(n.then)for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),r.__c(n,t.__c);L(n,t,e)},(z.prototype=new u.a).__c=function(n,t){var e=this;null==e.o&&(e.o=[]),e.o.push(t);var r=V(e.__v),o=!1,i=function(){o||(o=!0,t.componentWillUnmount=t.__c,r?r(u):u())};t.__c=t.componentWillUnmount,t.componentWillUnmount=function(){i(),t.__c&&t.__c()};var u=function(){var n;if(!--e.__u)for(e.__v.__k[0]=q(e.state.u),e.setState({u:e.__b=null});n=e.o.pop();)n.forceUpdate()};e.__u++||e.setState({u:e.__b=e.__v.__k[0]}),n.then(i,i)},z.prototype.componentWillUnmount=function(){this.o=[]},z.prototype.render=function(n,t){return this.__b&&(this.__v.__k&&(this.__v.__k[0]=G(this.__b)),this.__b=null),[Object(u.f)(u.b,null,t.u?null:n.children),t.u&&n.fallback]};var B=function(n,t,e){if(++e[1]===e[0]&&n.l.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.l.size))for(e=n.i;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.i=e=e[2]}};(W.prototype=new u.a).u=function(n){var t=this,e=V(t.__v),r=t.l.get(n);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),B(t,n,r)):o()};e?e(i):i()}},W.prototype.render=function(n){this.i=null,this.l=new Map;var t=Object(u.l)(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.l.set(t[e],this.i=[1,0,this.i]);return n.children},W.prototype.componentDidUpdate=W.prototype.componentDidMount=function(){var n=this;n.l.forEach((function(t,e){B(n,e,t)}))};var K=function(){function n(){}var t=n.prototype;return t.getChildContext=function(){return this.props.context},t.render=function(n){return n.children},n}();function Z(n){var t=this,e=n.container,r=Object(u.f)(K,{context:t.context},n.vnode);return t.s&&t.s!==e&&(t.h.parentNode&&t.s.removeChild(t.h),Object(u.c)(t.v),t.p=!1),n.vnode?t.p?(e.__k=t.__k,Object(u.k)(r,e),t.__k=e.__k):(t.h=document.createTextNode(""),Object(u.i)("",e),e.appendChild(t.h),t.p=!0,t.s=e,Object(u.k)(r,e,t.h),t.__k=t.h.__k):t.p&&(t.h.parentNode&&t.s.removeChild(t.h),Object(u.c)(t.v)),t.v=r,t.componentWillUnmount=function(){t.h.parentNode&&t.s.removeChild(t.h),Object(u.c)(t.v)},null}function J(n,t){return Object(u.f)(Z,{vnode:n,container:t})}var Y=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/;u.a.prototype.isReactComponent={};var X="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;function Q(n,t,e){if(null==t.__k)for(;t.firstChild;)t.removeChild(t.firstChild);return Object(u.k)(n,t),"function"==typeof e&&e(),n?n.__c:null}function nn(n,t,e){return Object(u.i)(n,t),"function"==typeof e&&e(),n?n.__c:null}var tn=u.j.event;function en(n,t){n["UNSAFE_"+t]&&!n[t]&&Object.defineProperty(n,t,{configurable:!1,get:function(){return this["UNSAFE_"+t]},set:function(n){this["UNSAFE_"+t]=n}})}u.j.event=function(n){tn&&(n=tn(n)),n.persist=function(){};var t=!1,e=!1,r=n.stopPropagation;n.stopPropagation=function(){r.call(n),t=!0};var o=n.preventDefault;return n.preventDefault=function(){o.call(n),e=!0},n.isPropagationStopped=function(){return t},n.isDefaultPrevented=function(){return e},n.nativeEvent=n};var rn={configurable:!0,get:function(){return this.class}},on=u.j.vnode;u.j.vnode=function(n){n.$$typeof=X;var t=n.type,e=n.props;if(t){if(e.class!=e.className&&(rn.enumerable="className"in e,null!=e.className&&(e.class=e.className),Object.defineProperty(e,"className",rn)),"function"!=typeof t){var r,o,i;for(i in e.defaultValue&&void 0!==e.value&&(e.value||0===e.value||(e.value=e.defaultValue),delete e.defaultValue),Array.isArray(e.value)&&e.multiple&&"select"===t&&(Object(u.l)(e.children).forEach((function(n){-1!=e.value.indexOf(n.props.value)&&(n.props.selected=!0)})),delete e.value),!0===e.download&&(e.download=""),e)if(r=Y.test(i))break;if(r)for(i in o=n.props={},e)o[Y.test(i)?i.replace(/[A-Z0-9]/,"-$&").toLowerCase():i]=e[i]}!function(t){var e=n.type,r=n.props;if(r&&"string"==typeof e){var o={};for(var i in r)/^on(Ani|Tra|Tou)/.test(i)&&(r[i.toLowerCase()]=r[i],delete r[i]),o[i.toLowerCase()]=i;if(o.ondoubleclick&&(r.ondblclick=r[o.ondoubleclick],delete r[o.ondoubleclick]),o.onbeforeinput&&(r.onbeforeinput=r[o.onbeforeinput],delete r[o.onbeforeinput]),o.onchange&&("textarea"===e||"input"===e.toLowerCase()&&!/^fil|che|ra/i.test(r.type))){var u=o.oninput||"oninput";r[u]||(r[u]=r[o.onchange],delete r[o.onchange])}}}(),"function"==typeof t&&!t.m&&t.prototype&&(en(t.prototype,"componentWillMount"),en(t.prototype,"componentWillReceiveProps"),en(t.prototype,"componentWillUpdate"),t.m=!0)}on&&on(n)};var un="16.8.0";function cn(n){return u.f.bind(null,n)}function sn(n){return!!n&&n.$$typeof===X}function ln(n){return sn(n)?u.d.apply(null,arguments):n}function an(n){return!!n.__k&&(Object(u.k)(null,n),!0)}function fn(n){return n&&(n.base||1===n.nodeType&&n)||null}var dn=function(n,t){return n(t)},hn=u.b;t.default={useState:p,useReducer:b,useEffect:g,useLayoutEffect:_,useRef:m,useImperativeHandle:w,useMemo:v,useCallback:O,useContext:y,useDebugValue:j,version:"16.8.0",Children:H,render:Q,hydrate:nn,unmountComponentAtNode:an,createPortal:J,createElement:u.f,createContext:u.e,createFactory:cn,cloneElement:ln,createRef:u.g,Fragment:u.b,isValidElement:sn,findDOMNode:fn,Component:u.a,PureComponent:M,memo:F,forwardRef:N,unstable_batchedUpdates:dn,StrictMode:u.b,Suspense:z,SuspenseList:W,lazy:$}},function(n,t,e){"use strict";e.d(t,"k",(function(){return R})),e.d(t,"i",(function(){return N})),e.d(t,"f",(function(){return p})),e.d(t,"h",(function(){return p})),e.d(t,"b",(function(){return _})),e.d(t,"g",(function(){return g})),e.d(t,"a",(function(){return m})),e.d(t,"d",(function(){return U})),e.d(t,"e",(function(){return H})),e.d(t,"l",(function(){return S})),e.d(t,"c",(function(){return F})),e.d(t,"j",(function(){return r}));var r,o,i,u,c,s,l={},a=[],f=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function d(n,t){for(var e in t)n[e]=t[e];return n}function h(n){var t=n.parentNode;t&&t.removeChild(n)}function p(n,t,e){var r,o=arguments,i={};for(r in t)"key"!==r&&"ref"!==r&&(i[r]=t[r]);if(arguments.length>3)for(e=[e],r=3;r<arguments.length;r++)e.push(o[r]);if(null!=e&&(i.children=e),"function"==typeof n&&null!=n.defaultProps)for(r in n.defaultProps)void 0===i[r]&&(i[r]=n.defaultProps[r]);return b(n,i,t&&t.key,t&&t.ref,null)}function b(n,t,e,o,i){var u={type:n,props:t,key:e,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i};return null==i&&(u.__v=u),r.vnode&&r.vnode(u),u}function g(){return{current:null}}function _(n){return n.children}function m(n,t){this.props=n,this.context=t}function w(n,t){if(null==t)return n.__?w(n.__,n.__.__k.indexOf(n)+1):null;for(var e;t<n.__k.length;t++)if(null!=(e=n.__k[t])&&null!=e.__e)return e.__e;return"function"==typeof n.type?w(n):null}function v(n){var t,e;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,t=0;t<n.__k.length;t++)if(null!=(e=n.__k[t])&&null!=e.__e){n.__e=n.__c.base=e.__e;break}return v(n)}}function O(n){(!n.__d&&(n.__d=!0)&&o.push(n)&&!y.__r++||u!==r.debounceRendering)&&((u=r.debounceRendering)||i)(y)}function y(){for(var n;y.__r=o.length;)n=o.sort((function(n,t){return n.__v.__b-t.__v.__b})),o=[],n.some((function(n){var t,e,r,o,i,u,c;n.__d&&(u=(i=(t=n).__v).__e,(c=t.__P)&&(e=[],(r=d({},i)).__v=r,o=A(c,i,r,t.__n,void 0!==c.ownerSVGElement,null,e,null==u?w(i):u),T(e,i),o!=u&&v(i)))}))}function j(n,t,e,r,o,i,u,c,s,f){var d,p,g,m,v,O,y,j=r&&r.__k||a,S=j.length;for(s==l&&(s=null!=u?u[0]:S?w(r,0):null),e.__k=[],d=0;d<t.length;d++)if(null!=(m=e.__k[d]=null==(m=t[d])||"boolean"==typeof m?null:"string"==typeof m||"number"==typeof m?b(null,m,null,null,m):Array.isArray(m)?b(_,{children:m},null,null,null):null!=m.__e||null!=m.__c?b(m.type,m.props,m.key,null,m.__v):m)){if(m.__=e,m.__b=e.__b+1,null===(g=j[d])||g&&m.key==g.key&&m.type===g.type)j[d]=void 0;else for(p=0;p<S;p++){if((g=j[p])&&m.key==g.key&&m.type===g.type){j[p]=void 0;break}g=null}v=A(n,m,g=g||l,o,i,u,c,s,f),(p=m.ref)&&g.ref!=p&&(y||(y=[]),g.ref&&y.push(g.ref,null,m),y.push(p,m.__c||v,m)),null!=v?(null==O&&(O=v),s=C(n,m,g,j,u,v,s),f||"option"!=e.type?"function"==typeof e.type&&(e.__d=s):n.value=""):s&&g.__e==s&&s.parentNode!=n&&(s=w(g))}if(e.__e=O,null!=u&&"function"!=typeof e.type)for(d=u.length;d--;)null!=u[d]&&h(u[d]);for(d=S;d--;)null!=j[d]&&F(j[d],j[d]);if(y)for(d=0;d<y.length;d++)M(y[d],y[++d],y[++d])}function S(n){return null==n||"boolean"==typeof n?[]:Array.isArray(n)?a.concat.apply([],n.map(S)):[n]}function C(n,t,e,r,o,i,u){var c,s,l;if(void 0!==t.__d)c=t.__d,t.__d=void 0;else if(o==e||i!=u||null==i.parentNode)n:if(null==u||u.parentNode!==n)n.appendChild(i),c=null;else{for(s=u,l=0;(s=s.nextSibling)&&l<r.length;l+=2)if(s==i)break n;n.insertBefore(i,u),c=u}return void 0!==c?c:i.nextSibling}function E(n,t,e){"-"===t[0]?n.setProperty(t,e):n[t]="number"==typeof e&&!1===f.test(t)?e+"px":null==e?"":e}function x(n,t,e,r,o){var i,u,c,s,l;if(o?"className"===t&&(t="class"):"class"===t&&(t="className"),"style"===t)if(i=n.style,"string"==typeof e)i.cssText=e;else{if("string"==typeof r&&(i.cssText="",r=null),r)for(s in r)e&&s in e||E(i,s,"");if(e)for(l in e)r&&e[l]===r[l]||E(i,l,e[l])}else"o"===t[0]&&"n"===t[1]?(u=t!==(t=t.replace(/Capture$/,"")),c=t.toLowerCase(),t=(c in n?c:t).slice(2),e?(r||n.addEventListener(t,k,u),(n.l||(n.l={}))[t]=e):n.removeEventListener(t,k,u)):"list"!==t&&"tagName"!==t&&"form"!==t&&"type"!==t&&"size"!==t&&"download"!==t&&!o&&t in n?n[t]=null==e?"":e:"function"!=typeof e&&"dangerouslySetInnerHTML"!==t&&(t!==(t=t.replace(/^xlink:?/,""))?null==e||!1===e?n.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):n.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),e):null==e||!1===e&&!/^ar/.test(t)?n.removeAttribute(t):n.setAttribute(t,e))}function k(n){this.l[n.type](r.event?r.event(n):n)}function I(n,t,e){var r,o;for(r=0;r<n.__k.length;r++)(o=n.__k[r])&&(o.__=n,o.__e&&("function"==typeof o.type&&o.__k.length>1&&I(o,t,e),t=C(e,o,o,n.__k,null,o.__e,t),"function"==typeof n.type&&(n.__d=t)))}function A(n,t,e,o,i,u,c,s,l){var a,f,h,p,b,g,w,v,O,y,S,C=t.type;if(void 0!==t.constructor)return null;(a=r.__b)&&a(t);try{n:if("function"==typeof C){if(v=t.props,O=(a=C.contextType)&&o[a.__c],y=a?O?O.props.value:a.__:o,e.__c?w=(f=t.__c=e.__c).__=f.__E:("prototype"in C&&C.prototype.render?t.__c=f=new C(v,y):(t.__c=f=new m(v,y),f.constructor=C,f.render=P),O&&O.sub(f),f.props=v,f.state||(f.state={}),f.context=y,f.__n=o,h=f.__d=!0,f.__h=[]),null==f.__s&&(f.__s=f.state),null!=C.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=d({},f.__s)),d(f.__s,C.getDerivedStateFromProps(v,f.__s))),p=f.props,b=f.state,h)null==C.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==C.getDerivedStateFromProps&&v!==p&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(v,y),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(v,f.__s,y)||t.__v===e.__v){f.props=v,f.state=f.__s,t.__v!==e.__v&&(f.__d=!1),f.__v=t,t.__e=e.__e,t.__k=e.__k,f.__h.length&&c.push(f),I(t,s,n);break n}null!=f.componentWillUpdate&&f.componentWillUpdate(v,f.__s,y),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(p,b,g)}))}f.context=y,f.props=v,f.state=f.__s,(a=r.__r)&&a(t),f.__d=!1,f.__v=t,f.__P=n,a=f.render(f.props,f.state,f.context),f.state=f.__s,null!=f.getChildContext&&(o=d(d({},o),f.getChildContext())),h||null==f.getSnapshotBeforeUpdate||(g=f.getSnapshotBeforeUpdate(p,b)),S=null!=a&&a.type==_&&null==a.key?a.props.children:a,j(n,Array.isArray(S)?S:[S],t,e,o,i,u,c,s,l),f.base=t.__e,f.__h.length&&c.push(f),w&&(f.__E=f.__=null),f.__e=!1}else null==u&&t.__v===e.__v?(t.__k=e.__k,t.__e=e.__e):t.__e=D(e.__e,t,e,o,i,u,c,l);(a=r.diffed)&&a(t)}catch(n){t.__v=null,r.__e(n,t,e)}return t.__e}function T(n,t){r.__c&&r.__c(t,n),n.some((function(t){try{n=t.__h,t.__h=[],n.some((function(n){n.call(t)}))}catch(n){r.__e(n,t.__v)}}))}function D(n,t,e,r,o,i,u,c){var s,f,d,h,p,b=e.props,g=t.props;if(o="svg"===t.type||o,null!=i)for(s=0;s<i.length;s++)if(null!=(f=i[s])&&((null===t.type?3===f.nodeType:f.localName===t.type)||n==f)){n=f,i[s]=null;break}if(null==n){if(null===t.type)return document.createTextNode(g);n=o?document.createElementNS("http://www.w3.org/2000/svg",t.type):document.createElement(t.type,g.is&&{is:g.is}),i=null,c=!1}if(null===t.type)b!==g&&n.data!==g&&(n.data=g);else{if(null!=i&&(i=a.slice.call(n.childNodes)),d=(b=e.props||l).dangerouslySetInnerHTML,h=g.dangerouslySetInnerHTML,!c){if(null!=i)for(b={},p=0;p<n.attributes.length;p++)b[n.attributes[p].name]=n.attributes[p].value;(h||d)&&(h&&d&&h.__html==d.__html||(n.innerHTML=h&&h.__html||""))}(function(n,t,e,r,o){var i;for(i in e)"children"===i||"key"===i||i in t||x(n,i,null,e[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||e[i]===t[i]||x(n,i,t[i],e[i],r)})(n,g,b,o,c),h?t.__k=[]:(s=t.props.children,j(n,Array.isArray(s)?s:[s],t,e,r,"foreignObject"!==t.type&&o,i,u,l,c)),c||("value"in g&&void 0!==(s=g.value)&&s!==n.value&&x(n,"value",s,b.value,!1),"checked"in g&&void 0!==(s=g.checked)&&s!==n.checked&&x(n,"checked",s,b.checked,!1))}return n}function M(n,t,e){try{"function"==typeof n?n(t):n.current=t}catch(n){r.__e(n,e)}}function F(n,t,e){var o,i,u;if(r.unmount&&r.unmount(n),(o=n.ref)&&(o.current&&o.current!==n.__e||M(o,null,t)),e||"function"==typeof n.type||(e=null!=(i=n.__e)),n.__e=n.__d=void 0,null!=(o=n.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(n){r.__e(n,t)}o.base=o.__P=null}if(o=n.__k)for(u=0;u<o.length;u++)o[u]&&F(o[u],t,e);null!=i&&h(i)}function P(n,t,e){return this.constructor(n,e)}function R(n,t,e){var o,i,u;r.__&&r.__(n,t),i=(o=e===c)?null:e&&e.__k||t.__k,n=p(_,null,[n]),u=[],A(t,(o?t:e||t).__k=n,i||l,l,void 0!==t.ownerSVGElement,e&&!o?[e]:i?null:t.childNodes.length?a.slice.call(t.childNodes):null,u,e||l,o),T(u,n)}function N(n,t){R(n,t,c)}function U(n,t){var e,r;for(r in t=d(d({},n.props),t),arguments.length>2&&(t.children=a.slice.call(arguments,2)),e={},t)"key"!==r&&"ref"!==r&&(e[r]=t[r]);return b(n.type,e,t.key||n.key,t.ref||n.ref,null)}function H(n){var t={},e={__c:"__cC"+s++,__:n,Consumer:function(n,t){return n.children(t)},Provider:function(n){var r,o=this;return this.getChildContext||(r=[],this.getChildContext=function(){return t[e.__c]=o,t},this.shouldComponentUpdate=function(n){o.props.value!==n.value&&r.some((function(t){t.context=n.value,O(t)}))},this.sub=function(n){r.push(n);var t=n.componentWillUnmount;n.componentWillUnmount=function(){r.splice(r.indexOf(n),1),t&&t.call(n)}}),n.children}};return e.Consumer.contextType=e,e.Provider.__=e,e}r={__e:function(n,t){for(var e,r;t=t.__;)if((e=t.__c)&&!e.__)try{if(e.constructor&&null!=e.constructor.getDerivedStateFromError&&(r=!0,e.setState(e.constructor.getDerivedStateFromError(n))),null!=e.componentDidCatch&&(r=!0,e.componentDidCatch(n)),r)return O(e.__E=e)}catch(t){n=t}throw n}},m.prototype.setState=function(n,t){var e;e=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d({},this.state),"function"==typeof n&&(n=n(e,this.props)),n&&d(e,n),null!=n&&this.__v&&(t&&this.__h.push(t),O(this))},m.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),O(this))},m.prototype.render=_,o=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,y.__r=0,c=l,s=0},,function(n,t,e){"use strict";e.d(t,"d",(function(){return a})),e.d(t,"e",(function(){return f})),e.d(t,"b",(function(){return d})),e.d(t,"a",(function(){return h})),e.d(t,"c",(function(){return p}));e(2);var r=e(1);const o=0,i=1,u=2,c=3,s=4;function l(n,t){return n.replace(/[a-z]?[A-Z]/g,n=>1===n.length?n.toLowerCase():n.charAt(0)+t+n.charAt(1).toLowerCase())}function a(n,t=o){const e={},a=t;function f(n){throw new Error("Cannot infer key and value of "+String(n))}function d(n,t,r){n=function(n,t){switch(t){case i:return n.charAt(0).toLowerCase()+n.slice(1);case u:return l(n,"_");case c:return l(n,"_").toUpperCase();case s:return l(n,"-");case o:default:return n}}(n,t),e[n]=r}for(let t of n){let n=o;if(null==t&&f(t),t instanceof r.d){const e=t.cases()[t.tag];t=0===t.fields.length?e:[e].concat(t.fields),n=a}if(Array.isArray(t))switch(t.length){case 0:f(t);break;case 1:d(t[0],n,!0);break;case 2:const e=t[1];d(t[0],n,e);break;default:d(t[0],n,t.slice(1))}else"string"==typeof t?d(t,n,!0):f(t)}return e}function f(n,t,e){return!!n.has(t)&&(e.contents=n.get(t),!0)}function d(n,t){return!t.has(n)&&(t.add(n),!0)}function h(n,t,e){if(n.has(t))throw new Error("An item with the same key has already been added. Key: "+t);n.set(t,e)}function p(n,t){if(n.has(t))return n.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}},function(n,t,e){"use strict";e.d(t,"g",(function(){return a})),e.d(t,"k",(function(){return d})),e.d(t,"j",(function(){return h})),e.d(t,"c",(function(){return g})),e.d(t,"a",(function(){return _})),e.d(t,"d",(function(){return m})),e.d(t,"e",(function(){return w})),e.d(t,"f",(function(){return v})),e.d(t,"h",(function(){return y})),e.d(t,"l",(function(){return j})),e.d(t,"m",(function(){return S})),e.d(t,"b",(function(){return C})),e.d(t,"i",(function(){return E}));var r=e(24),o=e(17),i=e(30),u=e(1);const c=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/,s=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function l(n,t){return Object(o.a)(n,t)<0}function a(n){return{input:n,cont:(t=n,n=>c.test(t)?function n(t,e,r=new u.a(null)){return(...o)=>{let i=t;for(const n of o)i=b(i,n,r);return c.test(i)?n(i,e,r):e(i.replace(/%%/g,"%"))}}(t,n):n(t))};var t}function f(n,t){return"string"==typeof t?n(t):t.cont(n)}function d(n){return f(n=>n,n)}function h(n){return f(n=>{throw new Error(n)},n)}function p(n,t,e,i,c,s){let a="";if(e=e||"",s=s||"",Object(o.b)(n))switch("x"!==s.toLowerCase()&&(l(n,0)?(n=Object(o.c)(n,-1),a="-"):e.indexOf(" ")>=0?a=" ":e.indexOf("+")>=0&&(a="+")),c=null==c?null:parseInt(c,10),s){case"f":case"F":c=null!=c?c:6,n=Object(o.f)(n,c);break;case"g":case"G":n=null!=c?Object(o.h)(n,c):Object(o.h)(n);break;case"e":case"E":n=null!=c?Object(o.e)(n,c):Object(o.e)(n);break;case"x":n=Object(o.g)(n);break;case"X":n=Object(o.g)(n).toUpperCase();break;default:n=String(n)}else n=n instanceof Date?Object(r.g)(n):Object(u.e)(n);if(i="number"==typeof i?i:parseInt(i,10),isNaN(i))n=a+n;else{const t=e.indexOf("0")>=0,r=e.indexOf("-")>=0,o=r||!t?" ":"0";n="0"===o?a+(n=O(n,i-a.length,o,r)):O(a+n,i,o,r)}return t?t+n:n}function b(n,t,e){return n.replace(c,(n,r,o,i,u,c)=>{if(null!=e.contents)i=e.contents,e.contents=null;else if("*"===i){if(t<0)throw new Error("Non-negative number required");return e.contents=t,n}return p(t,r,o,i,u,c).replace(/%/g,"%%")})}function g(n,...t){return"object"==typeof n&&t.length>0&&(n=t[0],t.shift()),n.replace(s,(n,e,i,c,s,a)=>{let f=t[e];if(Object(o.b)(f))switch(s=null==s?null:parseInt(s,10),c){case"f":case"F":s=null!=s?s:2,f=Object(o.f)(f,s);break;case"g":case"G":f=null!=s?Object(o.h)(f,s):Object(o.h)(f);break;case"e":case"E":f=null!=s?Object(o.e)(f,s):Object(o.e)(f);break;case"p":case"P":s=null!=s?s:2,f=Object(o.f)(Object(o.c)(f,100),s)+" %";break;case"d":case"D":f=null!=s?O(String(f),s,"0"):String(f);break;case"x":case"X":f=null!=s?O(Object(o.g)(f),s,"0"):Object(o.g)(f),"X"===c&&(f=f.toUpperCase());break;default:if(a){let n="";f=a.replace(/(0+)(\.0+)?/,(t,e,r)=>(l(f,0)&&(f=Object(o.c)(f,-1),n="-"),f=Object(o.f)(f,null!=r?r.length-1:0),O(f,(e||"").length-n.length+(null!=r?r.length:0),"0"))),f=n+f}}else f=f instanceof Date?Object(r.g)(f,a||c):Object(u.e)(f);return i=parseInt((i||" ").substring(1),10),isNaN(i)||(f=O(String(f),Math.abs(i)," ",i<0)),f})}function _(n,t){const e=n.lastIndexOf(t);return e>=0&&e===n.length-t.length}function m(n){return"string"!=typeof n||0===n.length}function w(n){return"string"!=typeof n||/^\s*$/.test(n)}function v(n,t){return Array.isArray(t)?t.join(n):Array.from(t).join(n)}function O(n,t,e,r){e=e||" ",t-=n.length;for(let o=0;o<t;o++)n=r?n+e:e+n;return n}function y(n,t,e,r){if(r="number"==typeof r?r:void 0,(e="number"==typeof e?e:void 0)&&e<0)throw new Error("Count cannot be less than zero");if(0===e)return[];if(!Array.isArray(t)){if(0===r)return n.split(t,e);const o=arguments.length;t=Array(o-1);for(let n=1;n<o;n++)t[n-1]=arguments[n]}t=(t=t.map(n=>Object(i.a)(n))).length>0?t:[" "];let o=0;const u=[],c=new RegExp(t.join("|"),"g");for(;null==e||e>1;){const t=c.exec(n);if(null===t)break;(!r||t.index-o>0)&&(e=null!=e?e-1:e,u.push(n.substring(o,t.index))),o=c.lastIndex}return(!r||n.length-o>0)&&u.push(n.substring(o)),u}function j(n,...t){if(0===t.length)return n.trim();const e="["+Object(i.a)(t.join(""))+"]+";return n.replace(new RegExp("^"+e),"").replace(new RegExp(e+"$"),"")}function S(n,...t){return 0===t.length?n.trimEnd():n.replace(new RegExp("["+Object(i.a)(t.join(""))+"]+$"),"")}function C(n,t){return t.split("").filter(t=>n(t)).join("")}function E(n,t,e){if(t+(e||0)>n.length)throw new Error("Invalid startIndex and/or length");return null!=e?n.substr(t,e):n.substr(t)}},function(n,t,e){"use strict";e.d(t,"c",(function(){return i})),e.d(t,"d",(function(){return u})),e.d(t,"a",(function(){return c})),e.d(t,"b",(function(){return s}));var r=e(1),o=e(0);class i extends r.d{constructor(n,...t){super(),this.tag=0|n,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}function u(n){return Object(o.K)("DeferredTypes.Deferred`1",[n],i,()=>[[],[],[["Item",n]]])}class c extends r.d{constructor(n,...t){super(),this.tag=0|n,this.fields=t}cases(){return["Started","Finished"]}}function s(n){return Object(o.K)("DeferredTypes.AsyncOperationStatus`1",[n],c,()=>[[],[["Item",n]]])}},function(n,t,e){"use strict";e.d(t,"h",(function(){return c})),e.d(t,"j",(function(){return s})),e.d(t,"i",(function(){return l})),e.d(t,"g",(function(){return a})),e.d(t,"d",(function(){return f})),e.d(t,"a",(function(){return d})),e.d(t,"b",(function(){return h})),e.d(t,"c",(function(){return p})),e.d(t,"f",(function(){return b})),e.d(t,"e",(function(){return g}));var r=e(8),o=e(7),i=e(22),u=e(31);function c(n,t,e){Object(r.l)(e=>{try{e(t)}catch(t){n(t)}},e)}function s(){return Object(r.f)()}function l(n,t){return Object(r.n)(t=>e=>{t(t=>{e(n(t))})},t)}function a(n){return Object(r.d)(n)}function f(n){return Object(r.s)(t=>{t(n)})}function d(n,t,e,u,c){return Object(r.s)(r=>{n(o.g.Delay(()=>o.g.Bind(Object(i.b)(t(e)),n=>{const t=n;return r(1===t.tag?c(t.fields[0]):u(t.fields[0])),o.g.Zero()})))})}function h(n,t,e,u){return Object(r.s)(r=>{n(o.g.Delay(()=>o.g.Bind(Object(i.b)(t(e)),n=>{const t=n;return 0===t.tag?(r(u(t.fields[0])),o.g.Zero()):o.g.Zero()})))})}function p(n){Object(u.c)(0,t=>{Object(i.g)(n)})}function b(n,t,e,o){return Object(r.s)(r=>{n(t).then(n=>r(e(n))).catch(n=>r(o(n)))})}function g(n,t,e){return Object(r.s)(r=>{n(t).catch(n=>{r(e(n))})})}},function(n,t,e){"use strict";e.d(t,"f",(function(){return s})),e.d(t,"l",(function(){return l})),e.d(t,"c",(function(){return a})),e.d(t,"k",(function(){return f})),e.d(t,"d",(function(){return d})),e.d(t,"n",(function(){return h})),e.d(t,"p",(function(){return p})),e.d(t,"g",(function(){return b})),e.d(t,"q",(function(){return g})),e.d(t,"a",(function(){return _})),e.d(t,"h",(function(){return m})),e.d(t,"m",(function(){return v})),e.d(t,"b",(function(){return O})),e.d(t,"e",(function(){return y})),e.d(t,"i",(function(){return j})),e.d(t,"j",(function(){return S})),e.d(t,"o",(function(){return C}));var r=e(6),o=e(2);e(29),e(12),e(1),e(25),e(4);function i(n,t){return"function"==typeof n?new n(t):new Array(t)}function u(){throw new Error("An index satisfying the predicate was not found in the collection.")}function c(){throw new Error("Arrays had different lengths")}function s(n,t,e,r){const o=0|t;return n.fill(r,o,o+e)}function l(n,t,e){const r=0|t.length,o=i(e,r);for(let e=0;e<=r-1;e++)o[e]=n(t[e]);return o}function a(n,t,e){return(r=>{for(;;){const o=r;if(o>=t.length)return!1;if(e.Equals(n,t[o]))return!0;r=o+1}})(0)}function f(n,t,e){if(n<0)throw new Error("The input must be non-negative\\nParameter name: count");const r=i(e,n);for(let e=0;e<=n-1;e++)r[e]=t(e);return r}function d(n){return n.slice()}function h(n){return n.slice().reverse()}function p(n,t){return t.find(n)}function b(n,t){return 0|(e=>{for(;;){const r=e;if(r<0)return u();if(n(t[r]))return 0|r;e=r-1}})(t.length-1)}function g(n,t){return(e=>{for(;;){const r=e;if(r<0)return;if(n(t[r]))return r;e=r-1}})(t.length-1)}function _(n,t,e){return l(t=>Object(r.h)(n(t)),t.filter(t=>null!=n(t)),e)}function m(n,t,e){return e.reduce((t,e)=>n(t,e),t)}function w(n,t){for(let e=0;e<=t.length-1;e++)n(e,t[e])}function v(n,t){const e=0|t.length,r=t.slice(),o=new Array(e);if(w((t,i)=>{const u=0|n(t);if(u<0||u>=e)throw new Error("Not a valid permutation");r[u]=i,o[u]=1},t),!o.every(n=>1===n))throw new Error("Not a valid permutation");return r}function O(n,t){if(n<1)throw new Error("The input must be positive.\\nParameter name: size");if(0===t.length)return[[]];{const e=[];for(let r=0;r<=~~Math.ceil(t.length/n)-1;r++){let o;const i=r*n|0;o=t.slice(i,i+n);e.push(o)}return e}}function y(n,t,e){return 0===function(n,t,e){if(null==t)return null==e?0:-1;if(null==e)return 1;{let r=0,o=0;const i=0|t.length,u=0|e.length;if(i>u)return 1;if(i<u)return-1;for(;r<i&&0===o;)o=n(t[r],e[r]),r+=1;return 0|o}}((n,t)=>Object(o.f)(n,t),t,e)}function j(n,t,e){return t.reduceRight((t,e)=>n(e,t),e)}function S(n,t,e,r){return function(n,t,e,r){let o=r;t.length!==e.length&&c();const i=0|t.length;for(let r=1;r<=i;r++)o=n(r-1,t[i-r],e[i-r],o);return o}((t,e,r,o)=>n(e,r,o),t,e,r)}function C(n,t){if(n<1)throw new Error("The input must be positive.\\nParameter name: chunks");if(0===t.length)return[[]];{const e=[],r=0|Object(o.w)((n,t)=>Object(o.i)(n,t),n,t.length),i=0|~~(t.length/r),u=t.length%r|0;for(let n=0;n<=r-1;n++){const r=0|(n<u?i+1:i);let c;const s=n*i+Object(o.w)((n,t)=>Object(o.i)(n,t),u,n)|0;c=t.slice(s,s+r);e.push(c)}return e}}},function(n,t,e){"use strict";e.d(t,"d",(function(){return r})),e.d(t,"b",(function(){return o})),e.d(t,"a",(function(){return i})),e.d(t,"c",(function(){return u})),e.d(t,"f",(function(){return c})),e.d(t,"h",(function(){return s})),e.d(t,"e",(function(){return l})),e.d(t,"g",(function(){return a}));const r=Symbol("numeric");function o(n){return"number"==typeof n||(null==n?void 0:n[r])}function i(n,t){return"number"==typeof n?n<t?-1:n>t?1:0:n.CompareTo(t)}function u(n,t){return"number"==typeof n?n*t:n[r]().multiply(t)}function c(n,t){return"number"==typeof n?n.toFixed(t):n[r]().toFixed(t)}function s(n,t){return"number"==typeof n?n.toPrecision(t):n[r]().toPrecision(t)}function l(n,t){return"number"==typeof n?n.toExponential(t):n[r]().toExponential(t)}function a(n){return"number"==typeof n?(Number(n)>>>0).toString(16):n[r]().toHex()}},function(n,t,e){"use strict";e.d(t,"a",(function(){return h})),e.d(t,"i",(function(){return p})),e.d(t,"h",(function(){return b})),e.d(t,"e",(function(){return g})),e.d(t,"f",(function(){return _})),e.d(t,"g",(function(){return m})),e.d(t,"k",(function(){return w})),e.d(t,"j",(function(){return v})),e.d(t,"b",(function(){return O})),e.d(t,"d",(function(){return y})),e.d(t,"c",(function(){return j}));var r=e(9);e(0);var o=e(4),i=e(6);const u=r.default;var c=e(2);const s=n=>{Object(r.useEffect)(()=>{const t=n();return()=>{t.Dispose()}})},l=(n,t)=>{Object(r.useEffect)(()=>{const t=n();return()=>{t.Dispose()}},t)},a=n=>{Object(r.useLayoutEffect)(()=>{const t=n();return()=>{t.Dispose()}})};function f(n,t,e,r){const s=u.memo(n,Object(c.G)(2,Object(i.b)(Object(c.l)(2,e),null)));return Object(o.o)(t=>{n.displayName=t},Object(i.g)(t)),n=>u.createElement(s,d(r,n))}function d(n,t){if(null==n)return t;{const e=n;return t.key=e(t),t}}function h(n){return{Dispose(){n()}}}function p(n){s(n)}function b(n,t){l(n,t)}function g(n){b(n,[])}function _(n){s(t=>(n(),h(()=>{})))}function m(n,t){l(t=>(n(),h(()=>{})),t)}function w(n){return u.useRef(n)}function v(n,t){return u.useMemo(n,Object(i.b)(t,[]))}function O(n,t,e){return f(n,void 0,e,t)}function y(n){const t=w(n),e=(r=n=>t.current(n),o=[],u.useCallback(r,Object(i.b)(o,[])));var r,o,c;return c=()=>{t.current=n},a(n=>(c(),h(()=>{}))),e}r.useState;function j(n){return u.useState(n)}r.useState},function(n,t,e){"use strict";e.d(t,"a",(function(){return o})),e.d(t,"b",(function(){return i}));var r=e(1);e(0);r.d;r.d;r.c;class o extends r.d{constructor(n,...t){super(),this.tag=0|n,this.fields=t}cases(){return["DangerouslySetInnerHTML","OnCut","OnPaste","OnCompositionEnd","OnCompositionStart","OnCopy","OnCompositionUpdate","OnFocus","OnBlur","OnChange","OnInput","OnSubmit","OnReset","OnLoad","OnError","OnKeyDown","OnKeyPress","OnKeyUp","OnAbort","OnCanPlay","OnCanPlayThrough","OnDurationChange","OnEmptied","OnEncrypted","OnEnded","OnLoadedData","OnLoadedMetadata","OnLoadStart","OnPause","OnPlay","OnPlaying","OnProgress","OnRateChange","OnSeeked","OnSeeking","OnStalled","OnSuspend","OnTimeUpdate","OnVolumeChange","OnWaiting","OnClick","OnContextMenu","OnDoubleClick","OnDrag","OnDragEnd","OnDragEnter","OnDragExit","OnDragLeave","OnDragOver","OnDragStart","OnDrop","OnMouseDown","OnMouseEnter","OnMouseLeave","OnMouseMove","OnMouseOut","OnMouseOver","OnMouseUp","OnSelect","OnTouchCancel","OnTouchEnd","OnTouchMove","OnTouchStart","OnScroll","OnWheel","OnAnimationStart","OnAnimationEnd","OnAnimationIteration","OnTransitionEnd"]}}r.d;class i extends r.d{constructor(n,...t){super(),this.tag=0|n,this.fields=t}cases(){return["DefaultChecked","DefaultValue","Accept","AcceptCharset","AccessKey","Action","AllowFullScreen","AllowTransparency","Alt","aria-atomic","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","Async","AutoComplete","AutoFocus","AutoPlay","Capture","CellPadding","CellSpacing","CharSet","Challenge","Checked","ClassID","ClassName","className","Cols","ColSpan","Content","ContentEditable","ContextMenu","Controls","Coords","CrossOrigin","data-toggle","DateTime","Default","Defer","Dir","Disabled","Download","Draggable","EncType","Form","FormAction","FormEncType","FormMethod","FormNoValidate","FormTarget","FrameBorder","Headers","Height","Hidden","High","Href","HrefLang","HtmlFor","HttpEquiv","Icon","Id","InputMode","Integrity","Is","KeyParams","KeyType","Kind","Label","Lang","List","Loop","Low","Manifest","MarginHeight","MarginWidth","Max","MaxLength","Media","MediaGroup","Method","Min","MinLength","Multiple","Muted","Name","NoValidate","Open","Optimum","Pattern","Placeholder","Poster","Preload","RadioGroup","ReadOnly","Rel","Required","Role","Rows","RowSpan","Sandbox","Scope","Scoped","Scrolling","Seamless","Selected","Shape","Size","Sizes","Span","SpellCheck","Src","SrcDoc","SrcLang","SrcSet","Start","Step","Summary","TabIndex","Target","Title","Type","UseMap","Value","value","Width","Wmode","Wrap","About","Datatype","Inlist","Prefix","Property","Resource","Typeof","Vocab","AutoCapitalize","AutoCorrect","AutoSave","ItemProp","ItemScope","ItemType","ItemID","ItemRef","Results","Security","Unselectable","Custom"]}}r.d},function(n,t,e){"use strict";e.d(t,"a",(function(){return s})),e.d(t,"f",(function(){return a})),e.d(t,"d",(function(){return f})),e.d(t,"e",(function(){return d})),e.d(t,"b",(function(){return h})),e.d(t,"c",(function(){return p}));var r=e(1),o=e(0),i=e(3),u=e(14),c=e(28);class s extends r.c{constructor(n){super(),this.AccessToken=n}}function l(){return Object(o.H)("Auth.Types.Auth",[],s,()=>[["AccessToken",o.I]])}function a(n){return new s(n.access_token)}class f extends r.c{constructor(n){super(),this.Auth=n}}function d(){return Object(o.H)("Auth.Types.State",[],f,()=>[["Auth",Object(u.d)(Object(o.K)("Microsoft.FSharp.Core.FSharpResult`2",[l(),o.I],i.e,()=>[[["ResultValue",l()]],[["ErrorValue",o.I]]]))]])}class h extends r.d{constructor(n,...t){super(),this.tag=0|n,this.fields=t}cases(){return["GetUser","SignInRedirect","SignInRedirectCallback","SignInSilentCallback"]}}function p(){return Object(o.K)("Auth.Types.Msg",[],h,()=>[[["Item",Object(u.b)(Object(o.K)("Microsoft.FSharp.Core.FSharpResult`2",[Object(o.F)(Object(o.c)("OidcClient.User")),o.I],i.e,()=>[[["ResultValue",Object(o.F)(Object(o.c)("OidcClient.User"))]],[["ErrorValue",o.I]]]))]],[["Item1",Object(u.b)(Object(o.K)("Microsoft.FSharp.Core.FSharpResult`2",[o.L,o.I],i.e,()=>[[["ResultValue",o.L]],[["ErrorValue",o.I]]]))],["Item2",Object(c.c)()]],[["Item1",Object(u.b)(Object(o.K)("Microsoft.FSharp.Core.FSharpResult`2",[Object(o.c)("OidcClient.User"),o.I],i.e,()=>[[["ResultValue",Object(o.c)("OidcClient.User")]],[["ErrorValue",o.I]]]))],["Item2",Object(c.b)()]],[["Item1",Object(u.b)(Object(o.K)("Microsoft.FSharp.Core.FSharpResult`2",[Object(o.F)(Object(o.c)("OidcClient.User")),o.I],i.e,()=>[[["ResultValue",Object(o.F)(Object(o.c)("OidcClient.User"))]],[["ErrorValue",o.I]]]))],["Item2",Object(c.b)()]]])}},function(n,t,e){"use strict";e.d(t,"a",(function(){return u})),e.d(t,"b",(function(){return c}));e(9),e(2);var r=e(19),o=e(4),i=e(13);function u(n,t){return new r.b(64,Object(o.j)((n,t)=>n+" "+t,n,Object(o.b)(n=>{const t=n[0];return n[1]&&!Object(i.d)(t)?t:void 0},t)))}function c(n){return u("",n)}},function(n,t,e){"use strict";e.d(t,"c",(function(){return u})),e.d(t,"a",(function(){return c})),e.d(t,"e",(function(){return s})),e.d(t,"b",(function(){return a})),e.d(t,"d",(function(){return f})),e.d(t,"f",(function(){return d})),e.d(t,"g",(function(){return h}));var r=e(7),o=e(3);e(4);function i(n){}function u(n){const t=new r.a("boolean"==typeof n&&n);return"number"==typeof n&&setTimeout(()=>{t.cancel()},n),t}function c(n){n.cancel()}function s(n){return null!=n&&n.isCancelled}const l=new r.a;function a(n){return Object(r.e)(t=>{n({onSuccess:n=>t.onSuccess(Object(o.a)(n)),onError:n=>t.onSuccess(Object(o.b)(n)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function f(n){return Object(r.e)(t=>n([t.onSuccess,t.onError,t.onCancel]))}function d(n){return Object(r.e)(t=>{let e;const o=setTimeout(()=>{t.cancelToken.removeListener(e),t.onSuccess(void 0)},n);e=t.cancelToken.addListener(()=>{clearTimeout(o),t.onCancel(new r.b)})})}function h(n,t){return function(n,t){return p(n,t)}(n,t)}function p(n,t,e,o,u){"function"!=typeof t&&(u=t,t=void 0);const c=new r.c;n({onSuccess:t||i,onError:e||i,onCancel:o||i,cancelToken:u||l,trampoline:c})}},function(n,t,e){"use strict";var r;function o(n,t){switch(t){case 8:return n?[0,255]:[-128,127];case 16:return n?[0,65535]:[-32768,32767];case 32:return n?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function i(n,t,e){const o=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(n.replace(/_/g,""));if(null!=o){const[,,n,i]=o;if(!function(n){switch(n){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.")}}(e=e||function(n,t){if(t&r.AllowHexSpecifier)return 16;switch(n){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}(n,t)).test(i))return function(n,t){const[,e,r,o]=n;return{sign:e||"",prefix:r||"",digits:o,radix:t}}(o,e)}return null}function u(n,t,e,r,u){try{return u.contents=function(n,t,e,r,u){const c=i(n,t,u);if(null!=c){let n=Number.parseInt(c.sign+c.digits,c.radix);if(!Number.isNaN(n)){const[t,i]=o(!0,r);!e&&10!==c.radix&&n>=t&&n<=i&&(n=n<<32-r>>32-r);const[u,s]=o(e,r);if(n>=u&&n<=s)return n}}throw new Error("Input string was not in a correct format.")}(n,t,e,r),!0}catch(n){return!1}}function c(n){return-2147483648===n?n:-n}e.d(t,"a",(function(){return i})),e.d(t,"c",(function(){return u})),e.d(t,"b",(function(){return c})),function(n){n[n.AllowHexSpecifier=512]="AllowHexSpecifier"}(r||(r={}))},function(n,t,e){"use strict";e.d(t,"e",(function(){return o})),e.d(t,"b",(function(){return i})),e.d(t,"g",(function(){return a})),e.d(t,"d",(function(){return d})),e.d(t,"f",(function(){return h})),e.d(t,"i",(function(){return p})),e.d(t,"a",(function(){return b})),e.d(t,"c",(function(){return g})),e.d(t,"h",(function(){return _}));e(5);var r=e(2);const o=/(?:Z|[+-](\d+):?([0-5]?\d)?)\s*$/;function i(n){const t=n<0,e=~~((n=Math.abs(n))/36e5),o=n%36e5/6e4;return(t?"-":"+")+Object(r.z)(e,2)+":"+Object(r.z)(o,2)}function u(n,t){const e=n.toISOString();return"first"===t?e.substring(0,e.indexOf("T")):e.substring(e.indexOf("T")+1,e.length-1)}function c(n,t,e){return t.replace(/(\w)\1*/g,t=>{let r=Number.NaN;switch(t.substring(0,1)){case"y":const o=e?n.getUTCFullYear():n.getFullYear();r=t.length<4?o%100:o;break;case"M":r=(e?n.getUTCMonth():n.getMonth())+1;break;case"d":r=e?n.getUTCDate():n.getDate();break;case"H":r=e?n.getUTCHours():n.getHours();break;case"h":const i=e?n.getUTCHours():n.getHours();r=i>12?i%12:i;break;case"m":r=e?n.getUTCMinutes():n.getMinutes();break;case"s":r=e?n.getUTCSeconds():n.getSeconds();break;case"f":r=e?n.getUTCMilliseconds():n.getMilliseconds()}return Number.isNaN(r)?t:r<10&&t.length>1?"0"+r:""+r})}function s(n,t){var e,r,o;const s=new Date(n.getTime()+(null!==(e=n.offset)&&void 0!==e?e:0));if("string"!=typeof t)return s.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+i(null!==(r=n.offset)&&void 0!==r?r:0);if(1!==t.length)return c(s,t,!0);switch(t){case"D":case"d":return u(s,"first");case"T":case"t":return u(s,"second");case"O":case"o":return function(n,t){const e=n.toISOString();return e.substring(0,e.length-1)+i(t)}(s,null!==(o=n.offset)&&void 0!==o?o:0);default:throw new Error("Unrecognized Date print format")}}function l(n,t){const e=1===n.kind;if("string"!=typeof t)return e?n.toUTCString():n.toLocaleString();if(1!==t.length)return c(n,t,e);switch(t){case"D":case"d":return e?u(n,"first"):n.toLocaleDateString();case"T":case"t":return e?u(n,"second"):n.toLocaleTimeString();case"O":case"o":return function(n,t){if(t)return n.toISOString();{const t=null==n.kind||2===n.kind;return Object(r.z)(n.getFullYear(),4)+"-"+Object(r.z)(n.getMonth()+1,2)+"-"+Object(r.z)(n.getDate(),2)+"T"+Object(r.z)(n.getHours(),2)+":"+Object(r.z)(n.getMinutes(),2)+":"+Object(r.z)(n.getSeconds(),2)+"."+Object(r.z)(n.getMilliseconds(),3)+(t?i(-6e4*n.getTimezoneOffset()):"")}}(n,e);default:throw new Error("Unrecognized Date print format")}}function a(n,t,e){return null!=n.offset?s(n,t):l(n,t)}function f(n,t){const e=new Date(n);return e.kind=0|(null==t?0:t),e}function d(){return f(-621355968e5,0)}function h(n){if(null===n)throw new Error("Value cannot be null when parsing DateTime");if(""===n.trim())throw new Error("An empty string is not recognized as a valid DateTime");let t=new Date(n);if(isNaN(t.getTime())){const e=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*([+-]\d+(?::\d+)?)?\s*$/.exec(n);if(null==e)throw new Error("The string is not a valid Date.");{let n,r=0;if(null!=e[2]){const n=e[2].split(":");r=3600*parseInt(n[0],10)+60*parseInt(n[1]||"0",10)+parseFloat(n[2]||"0"),null!=e[3]&&"PM"===e[3].toUpperCase()&&(r+=720)}if(null!=e[4]){if(null!=e[1])n=new Date(e[1]+" UTC");else{const t=new Date;n=new Date(t.getUTCFullYear()+"/"+(t.getUTCMonth()+1)+"/"+t.getUTCDate())}const t=e[4].substr(1).split(":");let o=60*parseInt(t[0],10)+parseInt(t[1]||"0",10);"+"===e[4][0]&&(o*=-1),r+=60*o}else if(null!=e[1])n=new Date(e[1]);else{const t=new Date;n=new Date(t.getFullYear()+"/"+(t.getMonth()+1)+"/"+t.getDate())}t=new Date(n.getTime()+1e3*r),t=new Date(t.getTime()+6e4*(t.getTimezoneOffset()-n.getTimezoneOffset()))}}return t}function p(n,t){try{return t.contents=function(n,t=!1){const e=h(n),r=o.exec(n),i=null!=r?t&&"Z"===r[0]?1:2:0;return f(e.getTime(),i)}(n),!0}catch(n){return!1}}function b(n,t,e,r=0,o=0,i=0,u=0,c){const s=1===c?Date.UTC(n,t-1,e,r,o,i,u):new Date(n,t-1,e,r,o,i,u).getTime();if(isNaN(s))throw new Error("The parameters describe an unrepresentable Date.");const l=f(s,c);return n<=99&&l.setFullYear(n,t-1,e),l}function g(n,t){return 2===t?function(n){return n%4==0&&n%100!=0||n%400==0}(n)?29:28:t>=8?t%2==0?31:30:t%2==0?30:31}function _(n){return 1===n.kind?n:f(n.getTime(),1)}r.h,r.h},function(n,t,e){"use strict";e.d(t,"a",(function(){return u})),e.d(t,"b",(function(){return c})),e.d(t,"c",(function(){return f}));var r=e(4),o=e(1),i=(e(0),e(12));e(6);class u{constructor(n,t){const e=new o.a(null);this.comparer=t,e.contents=this,this.hashMap=new Map([]),this["init@8-2"]=1;const i=Object(r.m)(n);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){f(e.contents,i["System.Collections.Generic.IEnumerator`1.get_Current"]())}}finally{i.Dispose()}}get[Symbol.toStringTag](){return"HashSet"}"System.Collections.IEnumerable.GetEnumerator"(){return Object(r.m)(this)}GetEnumerator(){return Object(r.m)(Object(r.e)(this.hashMap.values()))}[Symbol.iterator](){return Object(r.E)(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(n){f(this,n)}"System.Collections.Generic.ICollection`1.Clear"(){l(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(n){return d(this,n)}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(n,t){Object(r.p)((e,r)=>{n[t+e]=r},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|a(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(n){return h(this,n)}get size(){return 0|a(this)}add(n){f(this,n);return this}clear(){l(this)}delete(n){return h(this,n)}has(n){return d(this,n)}keys(){return Object(r.q)(n=>n,this)}values(){return Object(r.q)(n=>n,this)}entries(){return Object(r.q)(n=>[n,n],this)}forEach(n,t){const e=this;Object(r.o)(t=>{n(t,t,e)},e)}}function c(n,t){return new u(n,t)}function s(n,t){const e=0|n.comparer.GetHashCode(t);let r,u=null;return r=[Object(i.e)(n.hashMap,e,new o.a(()=>u,n=>{u=n})),u],r[0]?[!0,e,r[1].findIndex(e=>n.comparer.Equals(t,e))]:[!1,e,-1]}function l(n){n.hashMap.clear()}function a(n){return Object(r.C)(n=>n.length,n.hashMap.values(),{GetZero:()=>0,Add:(n,t)=>n+t})}function f(n,t){const e=s(n,t);let r;switch(r=e[0]&&e[2]>-1?0:1,r){case 0:return!1;case 1:if(e[0]){Object(i.c)(n.hashMap,e[1]).push(t);return!0}return n.hashMap.set(e[1],[t]),!0}}function d(n,t){const e=s(n,t);let r;switch(r=e[0]&&e[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function h(n,t){const e=s(n,t);let r;switch(r=e[0]&&e[2]>-1?0:1,r){case 0:return Object(i.c)(n.hashMap,e[1]).splice(e[2],1),!0;case 1:return!1}}},function(n,t,e){"use strict";e.d(t,"c",(function(){return g})),e.d(t,"d",(function(){return _})),e.d(t,"b",(function(){return m}));var r=e(2),o={GetHashCode(){return Object(r.e)([this.s,this.e].concat(this.c))},Equals(n){return!this.cmp(n)},CompareTo(n){return this.cmp(n)},[e(17).d](){const n=this;return{multiply:t=>n.mul(t),toPrecision:t=>n.toPrecision(t),toExponential:t=>n.toExponential(t),toFixed:t=>n.toFixed(t),toHex:()=>(Number(n)>>>0).toString(16)}}},i="[big.js] ",u=i+"Invalid ",c=u+"decimal places",s=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function l(n,t){var e,r,o;if(0===t&&1/t<0)t="-0";else if(!s.test(t+=""))throw Error(u+"number");for(n.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(e=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(e<0&&(e=r),e+=+t.slice(r+1),t=t.substring(0,r)):e<0&&(e=t.length),o=t.length,r=0;r<e&&r<o&&"0"==t.charAt(r);)++r;if(r==o)n.c=[n.e=0];else for(n.e=e-r-1,n.c=[],e=0;r<o;)n.c[e++]=+t.charAt(r++);return n=a(n,d.DP,d.RM)}function a(n,t,e,r){var o=n.c,i=n.e+t+1;if(i<o.length){if(1===e)r=o[i]>=5;else if(2===e)r=o[i]>5||5==o[i]&&(r||i<0||void 0!==o[i+1]||1&o[i-1]);else if(3===e){const n=o.findIndex((n,t)=>t>=i&&n>0)<0;r=r||!n}else if(r=!1,0!==e)throw Error("[big.js] Invalid rounding mode");if(i<1)o.length=1,r?(n.e=-t,o[0]=1):o[0]=n.e=0;else{if(o.length=i--,r)for(;++o[i]>9;)o[i]=0,i--||(++n.e,o.unshift(1));for(i=o.length;!o[--i];)o.pop()}}else if(e<0||e>3||e!==~~e)throw Error("[big.js] Invalid rounding mode");return n}function f(n,t,e,r){var o,i,s=n.constructor,l=!n.c[0];if(void 0!==e){if(e!==~~e||e<(3==t)||e>1e6)throw Error(3==t?u+"precision":c);for(e=r-(n=new s(n)).e,n.c.length>++r&&a(n,e,s.RM),2==t&&(r=n.e+e+1);n.c.length<r;)n.c.push(0)}if(o=n.e,e=(i=n.c.join("")).length,2!=t&&(1==t||3==t&&r<=o||o<=s.NE||o>=s.PE))i=i.charAt(0)+(e>1?"."+i.slice(1):"")+(o<0?"e":"e+")+o;else if(o<0){for(;++o;)i="0"+i;i="0."+i}else if(o>0)if(++o>e)for(o-=e;o--;)i+="0";else o<e&&(i=i.slice(0,o)+"."+i.slice(o));else e>1&&(i=i.charAt(0)+"."+i.slice(1));return n.s<0&&(!l||4==t)?"-"+i:i}o.abs=function(){var n=new this.constructor(this);return n.s=1,n},o.cmp=function(n){var t,e=this.constructor,r=new e(this),o=(n=new e(n),r.c),i=n.c,u=r.s,c=n.s,s=r.e,l=n.e;if(!o[0]||!i[0])return o[0]?u:i[0]?-c:0;if(u!=c)return u;if(t=u<0,s!=l)return s>l^t?1:-1;for(c=Math.max(o.length,i.length),u=0;u<c;u++)if((s=u<o.length?o[u]:0)!=(l=u<i.length?i[u]:0))return s>l^t?1:-1;return 0},o.div=function(n){var t=this.constructor,e=new t(this),r=(n=new t(n),e.c),o=n.c,i=e.s==n.s?1:-1,u=t.DP;if(u!==~~u||u<0||u>1e6)throw Error(c);if(!o[0])throw Error("[big.js] Division by zero");if(!r[0])return new t(0*i);var s,l,f,d,h,p=o.slice(),b=s=o.length,g=r.length,_=r.slice(0,s),m=_.length,w=n,v=w.c=[],O=0,y=u+(w.e=e.e-n.e)+1;for(w.s=i,i=y<0?0:y,p.unshift(0);m++<s;)_.push(0);do{for(f=0;f<10;f++){if(s!=(m=_.length))d=s>m?1:-1;else for(h=-1,d=0;++h<s;)if(o[h]!=_[h]){d=o[h]>_[h]?1:-1;break}if(!(d<0))break;for(l=m==s?o:p;m;){if(_[--m]<l[m]){for(h=m;h&&!_[--h];)_[h]=9;--_[h],_[m]+=10}_[m]-=l[m]}for(;!_[0];)_.shift()}v[O++]=d?f:++f,_[0]&&d?_[m]=r[b]||0:_=[r[b]]}while((b++<g||void 0!==_[0])&&i--);return v[0]||1==O||(v.shift(),w.e--),O>y&&a(w,u,t.RM,void 0!==_[0]),w},o.eq=function(n){return!this.cmp(n)},o.gt=function(n){return this.cmp(n)>0},o.gte=function(n){return this.cmp(n)>-1},o.lt=function(n){return this.cmp(n)<0},o.lte=function(n){return this.cmp(n)<1},o.minus=o.sub=function(n){var t,e,r,o,i=this.constructor,u=new i(this),c=(n=new i(n),u.s),s=n.s;if(c!=s)return n.s=-s,u.plus(n);var l=u.c.slice(),a=u.e,f=n.c,d=n.e;if(!l[0]||!f[0])return f[0]?(n.s=-s,n):new i(l[0]?u:0);if(c=a-d){for((o=c<0)?(c=-c,r=l):(d=a,r=f),r.reverse(),s=c;s--;)r.push(0);r.reverse()}else for(e=((o=l.length<f.length)?l:f).length,c=s=0;s<e;s++)if(l[s]!=f[s]){o=l[s]<f[s];break}if(o&&(r=l,l=f,f=r,n.s=-n.s),(s=(e=f.length)-(t=l.length))>0)for(;s--;)l[t++]=0;for(s=t;e>c;){if(l[--e]<f[e]){for(t=e;t&&!l[--t];)l[t]=9;--l[t],l[e]+=10}l[e]-=f[e]}for(;0===l[--s];)l.pop();for(;0===l[0];)l.shift(),--d;return l[0]||(n.s=1,l=[d=0]),n.c=l,n.e=d,n},o.mod=function(n){var t,e=this.constructor,r=new e(this),o=(n=new e(n),r.s),i=n.s;if(!n.c[0])throw Error("[big.js] Division by zero");return r.s=n.s=1,t=1==n.cmp(r),r.s=o,n.s=i,t?new e(r):(o=e.DP,i=e.RM,e.DP=e.RM=0,r=r.div(n),e.DP=o,e.RM=i,this.minus(r.times(n)))},o.plus=o.add=function(n){var t,e=this.constructor,r=new e(this),o=(n=new e(n),r.s),i=n.s;if(o!=i)return n.s=-i,r.minus(n);var u=r.e,c=r.c,s=n.e,l=n.c;if(!c[0]||!l[0])return l[0]?n:new e(c[0]?r:0*o);if(c=c.slice(),o=u-s){for(o>0?(s=u,t=l):(o=-o,t=c),t.reverse();o--;)t.push(0);t.reverse()}for(c.length-l.length<0&&(t=l,l=c,c=t),o=l.length,i=0;o;c[o]%=10)i=(c[--o]=c[o]+l[o]+i)/10|0;for(i&&(c.unshift(i),++s),o=c.length;0===c[--o];)c.pop();return n.c=c,n.e=s,n},o.pow=function(n){var t=this.constructor,e=new t(this),r=new t(1),o=new t(1),i=n<0;if(n!==~~n||n<-1e6||n>1e6)throw Error(u+"exponent");for(i&&(n=-n);1&n&&(r=r.times(e)),n>>=1;)e=e.times(e);return i?o.div(r):r},o.round=function(n,t){var e=this.constructor;if(void 0===n)n=0;else if(n!==~~n||n<-1e6||n>1e6)throw Error(c);return a(new e(this),n,void 0===t?e.RM:t)},o.sqrt=function(){var n,t,e,r=this.constructor,o=new r(this),u=o.s,c=o.e,s=new r(.5);if(!o.c[0])return new r(o);if(u<0)throw Error(i+"No square root");0===(u=Math.sqrt(o+""))||u===1/0?((t=o.c.join("")).length+c&1||(t+="0"),c=((c+1)/2|0)-(c<0||1&c),n=new r(((u=Math.sqrt(t))==1/0?"1e":(u=u.toExponential()).slice(0,u.indexOf("e")+1))+c)):n=new r(u),c=n.e+(r.DP+=4);do{e=n,n=s.times(e.plus(o.div(e)))}while(e.c.slice(0,c).join("")!==n.c.slice(0,c).join(""));return a(n,r.DP-=4,r.RM)},o.times=o.mul=function(n){var t,e=this.constructor,r=new e(this),o=(n=new e(n),r.c),i=n.c,u=o.length,c=i.length,s=r.e,l=n.e;if(n.s=r.s==n.s?1:-1,!o[0]||!i[0])return new e(0*n.s);for(n.e=s+l,u<c&&(t=o,o=i,i=t,l=u,u=c,c=l),t=new Array(l=u+c);l--;)t[l]=0;for(s=c;s--;){for(c=0,l=u+s;l>s;)c=t[l]+i[s]*o[l-s-1]+c,t[l--]=c%10,c=c/10|0;t[l]=(t[l]+c)%10}for(c?++n.e:t.shift(),s=t.length;!t[--s];)t.pop();return n.c=t,n},o.toExponential=function(n){return f(this,1,n,n)},o.toFixed=function(n){return f(this,2,n,this.e+n)},o.toPrecision=function(n){return f(this,3,n,n-1)},o.toString=function(){return f(this)},o.valueOf=o.toJSON=function(){return f(this,4)};var d=function n(){function t(e){var r=this;if(!(r instanceof t))return void 0===e?n():new t(e);e instanceof t?(r.s=e.s,r.e=e.e,r.c=e.c.slice(),function(n){if((n=a(n,28,0)).c.length>1&&!n.c[0]){let t=n.c.findIndex(n=>n);n.c=n.c.slice(t),n.e=n.e-t}}(r)):l(r,e),r.constructor=t}return t.prototype=o,t.DP=28,t.RM=1,t.NE=-29,t.PE=29,t.version="5.2.2",t}(),h=d;e(1),t.a=h;const p=new h(0);new h(1),new h(-1),new h("79228162514264337593543950335"),new h("-79228162514264337593543950335");function b(n,t){return n.add(t)}function g(n){return n.toString()}function _(n,t){try{return t.contents=new h(n.trim()),!0}catch(n){return!1}}function m(n,t){const e=n.cmp(p);if(0===e)throw new Error("The step of a range cannot be zero");const r=e>0;return e=>{const o=e.cmp(t);return r&&o<=0||!r&&o>=0?[e,b(e,n)]:void 0}}},,function(n,t,e){"use strict";e.d(t,"c",(function(){return l})),e.d(t,"b",(function(){return f})),e.d(t,"a",(function(){return h})),e.d(t,"d",(function(){return p}));var r=e(1),o=e(0),i=e(4),u=e(34),c=e(6);class s extends r.d{constructor(n,...t){super(),this.tag=0|n,this.fields=t}cases(){return["Token"]}}function l(){return Object(o.K)("App.PageTypes.Token",[],s,()=>[[["Item",o.I]]])}class a extends r.d{constructor(n,...t){super(),this.tag=0|n,this.fields=t}cases(){return["QueryString"]}}function f(){return Object(o.K)("App.PageTypes.QueryString",[],a,()=>[[["Item",o.I]]])}class d extends r.d{constructor(n,...t){super(),this.tag=0|n,this.fields=t}cases(){return["Home","OidcSignIn","OidcSignInRedirectCallback","OidcSignInSilentCallback","NotFound"]}}function h(){return Object(o.K)("App.PageTypes.Page",[],d,()=>[[],[["Item",l()]],[["Item",f()]],[["Item",f()]],[]])}function p(n){let t,e,r;switch(null!=n.tail?"oidc"===n.head&&null!=n.tail.tail?"callback"===n.tail.head?null!=n.tail.tail.tail&&null==n.tail.tail.tail.tail?(t=1,e=n.tail.tail.head):t=3:"silent-refresh"===n.tail.head&&null!=n.tail.tail.tail&&null==n.tail.tail.tail.tail?(t=2,r=n.tail.tail.head):t=3:t=3:t=0,t){case 0:{const n=window.location.search,t=new URLSearchParams(n),e=t.get("token");if(null==e)return new d(0);{const n=e;return Object(i.o)(n=>{Object(u.b)("success-redirection-url",n)},Object(c.g)(t.get("success-redirection-url"))),new d(1,new s(0,n))}}case 1:return new d(2,new a(0,e));case 2:return new d(3,new a(0,r));case 3:return new d(4)}}},function(n,t,e){"use strict";e.d(t,"a",(function(){return s})),e.d(t,"b",(function(){return l}));var r=e(4),o=e(2),i=e(1),u=(e(0),e(12)),c=e(13);class s{constructor(n,t){const e=new i.a(null);this.comparer=t,e.contents=this,this.hashMap=new Map([]),this["init@8-1"]=1;const o=Object(r.m)(n);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const n=o["System.Collections.Generic.IEnumerator`1.get_Current"]();p(e.contents,n[0],n[1])}}finally{o.Dispose()}}get[Symbol.toStringTag](){return"Dictionary"}"System.Collections.IEnumerable.GetEnumerator"(){return Object(r.m)(this)}GetEnumerator(){return Object(r.m)(Object(r.e)(this.hashMap.values()))}[Symbol.iterator](){return Object(r.E)(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(n){p(this,n[0],n[1])}"System.Collections.Generic.ICollection`1.Clear"(){d(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(n){const t=f(this,n[0]);let e;switch(e=null!=t&&Object(o.p)(t[1],n[1])?0:1,e){case 0:return!0;case 1:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(n,t){Object(r.p)((e,r)=>{n[t+e]=r},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|h(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(n){const t=this,e=f(t,n[0]);if(null!=e){if(Object(o.p)(e[1],n[1])){b(t,n[0])}return!0}return!1}get size(){return 0|h(this)}clear(){d(this)}delete(n){return b(this,n)}entries(){return Object(r.q)(n=>[n[0],n[1]],this)}get(n){return function(n,t){const e=f(n,t);if(null!=e)return e[1];throw new Error("The item was not found in collection")}(this,n)}has(n){return function(n,t){const e=a(n,t);let r;r=e[0]&&e[2]>-1?0:1;switch(r){case 0:return!0;case 1:return!1}}(this,n)}keys(){return Object(r.q)(n=>n[0],this)}set(n,t){return function(n,t,e){const r=a(n,t);let o;o=r[0]&&r[2]>-1?0:1;switch(o){case 0:Object(u.c)(n.hashMap,r[1])[r[2]]=[t,e];break;case 1:if(r[0]){Object(u.c)(n.hashMap,r[1]).push([t,e])}else n.hashMap.set(r[1],[[t,e]])}}(this,n,t),this}values(){return Object(r.q)(n=>n[1],this)}forEach(n,t){const e=this;Object(r.o)(t=>{n(t[1],t[0],e)},e)}}function l(n,t){return new s(n,t)}function a(n,t){const e=0|n.comparer.GetHashCode(t);let r,o=null;return r=[Object(u.e)(n.hashMap,e,new i.a(()=>o,n=>{o=n})),o],r[0]?[!0,e,r[1].findIndex(e=>n.comparer.Equals(t,e[0]))]:[!1,e,-1]}function f(n,t){const e=a(n,t);let r;switch(r=e[0]&&e[2]>-1?0:1,r){case 0:return Object(u.c)(n.hashMap,e[1])[e[2]];case 1:return}}function d(n){n.hashMap.clear()}function h(n){return Object(r.C)(n=>n.length,n.hashMap.values(),{GetZero:()=>0,Add:(n,t)=>n+t})}function p(n,t,e){const r=a(n,t);let o;switch(o=r[0]&&r[2]>-1?0:1,o){case 0:{const n=Object(c.c)("An item with the same key has already been added. Key: {0}",t);throw new Error(n)}case 1:if(r[0]){Object(u.c)(n.hashMap,r[1]).push([t,e])}else n.hashMap.set(r[1],[[t,e]])}}function b(n,t){const e=a(n,t);let r;switch(r=e[0]&&e[2]>-1?0:1,r){case 0:return Object(u.c)(n.hashMap,e[1]).splice(e[2],1),!0;case 1:return!1}}},function(n,t,e){"use strict";function r(n,t=0){if(0!=(-276&t))throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Singleline and ECMAScript");let e="g";return e+=1&t?"i":"",e+=2&t?"m":"",e+=16&t?"s":"",new RegExp(n,e)}function o(n){return n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function i(n,t,e=0){let o;if(o=n instanceof RegExp?(o=n,n=t,o.lastIndex=e,o):o=r(t,e),!o.global)throw new Error("Non-global RegExp");let i=o.exec(n);const u=[];for(;null!==i;)u.push(i),i=o.exec(n);return u}function u(n,t,e,o,u=0){if("string"==typeof n){const e=n;n=r(t,null!=o?o:0),t=e,o=void 0}if("function"==typeof e)return o=null==o?-1:o,t.substring(0,u)+t.substring(u).replace(n,(function(){let n=arguments[0];if(o){o--;const t=[],r=arguments.length,i="string"!=typeof arguments[r-1];let u=i?r-3:r-2;for(let n=0;n<u;n++)t.push(arguments[n]);t.index=arguments[u++],t.input=arguments[u++],i&&(t.groups=arguments[u]),n=e(t)}return n}));if(e=e.replace(/\$0/g,n=>"$&").replace(/\${([^}]+)}/g,"$<$1>"),null!=o){let r;const c=t.substring(u),s=i(n,c),l=i.length>o?(r=s[o-1],c.substring(0,r.index+r[0].length)):c;return t.substring(0,u)+l.replace(n,e)+t.substring(u+l.length)}return t.replace(n,e)}e.d(t,"a",(function(){return o})),e.d(t,"b",(function(){return u}))},function(n,t,e){"use strict";e.d(t,"a",(function(){return l})),e.d(t,"b",(function(){return a})),e.d(t,"c",(function(){return f}));var r=e(6);e(3);class o{constructor(n,t,e){this.OnNext=n,this.OnError=t||(n=>{}),this.OnCompleted=e||(()=>{})}}var i=e(4);class u{constructor(n,t){this._subscriber=n,this.delegates=t||new Array}Add(n){this._addHandler(n)}get Publish(){return this}Trigger(n){Object(i.o)(t=>t(n),this.delegates)}AddHandler(n){null==this._dotnetDelegates&&(this._dotnetDelegates=new Map);const t=t=>n(null,t);this._dotnetDelegates.set(n,t),this._addHandler(t)}RemoveHandler(n){if(null!=this._dotnetDelegates){const t=this._dotnetDelegates.get(n);null!=t&&(this._dotnetDelegates.delete(n),this._removeHandler(t))}}Subscribe(n){return"function"==typeof n?this._subscribeFromCallback(n):this._subscribeFromObserver(n)}_addHandler(n){this.delegates.push(n)}_removeHandler(n){const t=this.delegates.indexOf(n);t>-1&&this.delegates.splice(t,1)}_subscribeFromObserver(n){if(this._subscriber)return this._subscriber(n);const t=n.OnNext;return this._addHandler(t),{Dispose:()=>{this._removeHandler(t)}}}_subscribeFromCallback(n){return this._addHandler(n),{Dispose:()=>{this._removeHandler(n)}}}}var c=u;var s=class{constructor(n){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=n&&n>0?n:100,this.AutoReset=!0,this._elapsed=new c}get Elapsed(){return this._elapsed}get Enabled(){return this._enabled}set Enabled(n){this._isDisposed||this._enabled===n||(this._enabled=n,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 l(n,t){console.error(Object(r.f)(n),t)}function a(n,t){console.log(Object(r.f)(n),t)}function f(n,t){let e,r=new s(n);r.AutoReset=!1,e=r,function(n,t){t.Subscribe(new o(n))}(t,e.Elapsed),e.Enabled=!0,e.Start()}},function(n,t,e){"use strict";e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){return u}));var r=e(6);const o=Object(r.e)(document.querySelector("#bank-details-app")),i=Object(r.d)(n=>n.getAttribute("data-identity-url"),o),u=Object(r.d)(n=>n.getAttribute("data-backend-url"),o)},function(n,t,e){"use strict";e.d(t,"b",(function(){return c})),e.d(t,"a",(function(){return s}));var r=e(13);const o=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,i=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,u=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function c(n,t){try{return t.contents=function(n){function t(n){return n.replace(i,"$1-$2-$3-$4-$5")}const e=n.trim().toLowerCase();if(o.test(e))return Object(r.l)(e,"{","}","(",")");if(i.test(e))return t(e);if(u.test(e))return t(e.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}(n),!0}catch(n){return!1}}function s(){let n="";for(let t=0;t++<36;)n+=51*t&52?(15^t?8^Math.random()*(20^t?16:4):4).toString(16):"-";return n}},function(n,t,e){"use strict";function r(n,t){sessionStorage.setItem(n,t)}function o(n){const t=sessionStorage.getItem(n);return null==t?void 0:t}e.d(t,"b",(function(){return r})),e.d(t,"a",(function(){return o}))},,,,,,,,,,,,,,,,,,,,,,function(n,t,e){"use strict";e.r(t),e.d(t,"render",(function(){return J}));var r=e(32),o=e(9);var i=e(1),u=(e(0),e(12));class c extends i.d{constructor(n,...t){super(),this.tag=0|n,this.fields=t}cases(){return["backend-url","access-token"]}}var s=e(13),l=e(8),a=e(16),f=e(2),d=e(18),h=e(6);const p=(()=>{try{"undefined"!=typeof window&&"function"==typeof window.addEventListener&&(window.addEventListener("testPassiveEventSupport",n=>{},{passive:!0}),window.removeEventListener("testPassiveEventSupport",n=>{}))}catch(n){}return!1})();function b(n){return Object(h.d)(n=>n.passive&&!p?{capture:n.capture,once:n.once,passive:!1}:n,n)}function g(n){return Object(h.a)(n=>n.capture?{capture:!0}:void 0,n)}e(23),e(5),e(33);e(26);var _=e(4);function m(n,t){return 0===t.indexOf(n)?t:void 0}function w(n,t){return Object(s.a)(t,n)?t:void 0}function v(n,t){return function(n){return 1===n?n=>{let t,e,r,o,i,u;return t=m("/",n),null!=t?(e=t,"#"+e):(r=m("#/",n),null!=r?(o=r,o):(i=m("#",n),null!=i?(u=i,"#/"+Object(s.i)(u,1,u.length-1)):"#/"+n))}:n=>{let t,e;return t=m("/",n),null!=t?(e=t,e):"/"+n}}(t)(Object(s.f)("/",Object(l.n)(n=>n.indexOf("?")>=0||0===n.indexOf("#")||0===n.indexOf("/")?n:encodeURIComponent(n),n)))}function O(n,t){return Object(l.c)(n=>{if(Object(s.e)(n))return Object(l.f)();{const t=Object(s.m)(n,"#");if("?"===t)return Object(l.f)();if(null!=m("?",t))return Object(l.s)(t);{const n=t.split("?");if(Object(a.e)((n,t)=>Object(f.i)(n,t),n,null)||1!==n.length){if(Object(a.e)((n,t)=>Object(f.i)(n,t),n,null)||2!==n.length)return Object(l.f)();if(""===n[1]){const t=n[0];return Object(l.s)(decodeURIComponent(t))}{const t=n[0],e=n[1];return Object(l.p)([decodeURIComponent(t),"?"+e])}}{const t=n[0];return Object(l.s)(decodeURIComponent(t))}}}},Object(l.p)((null!=m("#",n)?Object(s.i)(n,1,n.length-1):1===t&&(null!=w("#",n)||null!=w("#/",n))?"":n).split("/")))}const y=Object(d.b)(n=>{const t=Object(d.d)(t=>{const e=Object(h.b)(n.onUrlChanged,n=>{});return function(n,t,e){return t(O(2===n?window.location.pathname+window.location.search:window.location.hash,n))}(Object(h.b)(n.hashMode,1),e)});if(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0){const n="hashchange",e=n=>{t(n)},r=void 0,o=Object(d.j)(()=>b(r),[r]),i=Object(d.j)(()=>g(r),[r]),u=Object(d.j)(()=>n=>{e(n)},[e]);Object(d.i)(Object(d.d)(()=>(null==o?window.addEventListener(n,u):window.addEventListener(n,u,o),Object(d.a)(()=>{null==i?window.removeEventListener(n,u):window.removeEventListener(n,u,i)}))))}else{const n="popstate",e=t,r=void 0,o=Object(d.j)(()=>b(r),[r]),i=Object(d.j)(()=>g(r),[r]),u=Object(d.j)(()=>n=>{e(n)},[e]);Object(d.i)(Object(d.d)(()=>(null==o?window.addEventListener(n,u):window.addEventListener(n,u,o),Object(d.a)(()=>{null==i?window.removeEventListener(n,u):window.removeEventListener(n,u,i)}))))}const e="CUSTOM_NAVIGATION_EVENT",r=t,o=Object(d.j)(()=>b(void 0),[void 0]),i=Object(d.j)(()=>g(void 0),[void 0]),u=Object(d.j)(()=>n=>{r(n)},[r]);Object(d.i)(Object(d.d)(()=>(null==o?window.addEventListener(e,u):window.addEventListener(e,u,o),Object(d.a)(()=>{null==i?window.removeEventListener(e,u):window.removeEventListener(e,u,i)}))));const c=n.application;return null==c?null:c});var j=e(28),S=e(20);class C extends i.c{constructor(n,t){super(),this.CurrentPage=n,this.Auth=t}}class E extends i.d{constructor(n,...t){super(),this.tag=0|n,this.fields=t}cases(){return["UrlChanged","AuthMsg"]}}var x=e(21),k=e(15),I=e(31);class A extends i.d{constructor(n,...t){super(),this.tag=0|n,this.fields=t}cases(){return["Writable","ReadWritable"]}}class T{constructor(n){this.state=new A(0,Object(a.f)(new Array(Object(f.v)((n,t)=>Object(f.i)(n,t),n,10)),0,Object(f.v)((n,t)=>Object(f.i)(n,t),n,10),null),0)}}function D(n){const t=n.state;if(1===t.tag){const e=0|t.fields[1],r=0|t.fields[2],o=t.fields[0],i=(r+1)%o.length|0;return n.state=i===e?new A(0,o,e):new A(1,o,e,i),Object(h.f)(o[r])}}function M(n,t){const e=n.state;if(1===e.tag){const i=0|e.fields[1],u=0|e.fields[2],c=e.fields[0];c[i]=t;const s=(i+1)%c.length|0;n.state=s===u?new A(1,(r=u,o=c,Array.from(Object(_.g)(()=>Object(_.a)(Object(_.A)(r,o),Object(_.g)(()=>Object(_.a)(Object(_.D)(r,o),Object(_.g)(()=>Object(_.c)(n=>Object(_.z)(null),Object(_.u)(0,1,o.length))))))))),c.length,0):new A(1,c,s,u)}else{const r=0|e.fields[1],o=e.fields[0];o[r]=t;const i=(r+1)%o.length|0;n.state=new A(1,o,i,r)}var r,o}class F extends i.c{constructor(n,t,e,r,o,i,u){super(),this.init=n,this.update=t,this.subscribe=e,this.view=r,this.setState=o,this.onError=i,this.syncDispatch=u}}function P(n,t){return new F(t.init,t.update,t.subscribe,Object(f.c)(2,t.view),n,t.onError,t.syncDispatch)}function R(n){return Object(f.l)(2,Object(f.c)(2,n.view))}function N(n,t){const e=t.init(n),r=e[0],o=new T(10);let i=!1,u=r;const c=Object(f.A)(1,t.syncDispatch,[n=>{if(i)M(o,n);else{i=!0;let e=Object(h.f)(n);for(;null!=e;){const n=Object(h.h)(e);try{const e=t.update(n,u),r=e[0];t.setState(r,c),Object(k.h)(e=>{t.onError([Object(s.k)(Object(s.g)("Error in command while handling: %A"))(n),e])},c,e[1]),u=r}catch(e){t.onError([Object(s.k)(Object(s.g)("Unable to process the message: %A"))(n),e])}e=D(o)}i=!1}}]);t.setState(r,c),Object(k.h)(n=>{t.onError(["Error intitializing:",n])},c,Object(k.g)(Object(l.p)([(()=>{try{return t.subscribe(r)}catch(n){return t.onError(["Unable to subscribe:",n]),Object(k.j)()}})(),e[1]])))}class U extends i.c{constructor(n,t,e){super(),this.model=n,this.render=t,this.equal=e}}class H extends o.Component{constructor(n){super(n)}shouldComponentUpdate(n,t){return!this.props.equal(this.props.model,n.model)}render(){return this.props.render()}}function L(n,t,e,r){return o.createElement(H,new U(e,()=>t(e,r),n))}function G(n,t,e){return P((r,i)=>{o.render(n((n,t)=>n===t,Object(f.G)(2,R(e)),r,i),document.getElementById(t))},e)}var q=e(14),z=e(3);const V=(()=>{const n={};return n.store=Object(h.f)(window.sessionStorage),n})();function $(){const n=(t=window.location.origin+window.location.pathname,Object(s.a)(t,"/")?t:t+"/");var t;const e={};return e.authority=r.c,e.client_id="apollo-bank-details-ui",e.redirect_uri=n+"#/oidc/callback?",e.response_type="id_token token",e.scope="openid profile",e.automaticSilentRenew=!0,e.silent_redirect_uri=Object(h.f)(n+"#/oidc/silent-refresh?"),e.post_logout_redirect_uri=n+"#/oidc/logout?",e.accessTokenExpiringNotificationTime=10,e.filterProtocolClaims=!0,e.loadUserInfo=!1,e.clockSkew=2592e3,e.userStore=new WebStorageStateStore(V),e}function W(){return new UserManager($())}function B(n){return n.length>0?Object(s.i)(n,1):n}function K(){return W().getUser()}function Z(n,t){const e=n=>[new S.d(new q.c(2,new z.e(1,n))),Object(k.j)()];return 1===n.tag?1===n.fields[0].tag?1===n.fields[0].fields[0].tag?e(Object(s.k)(Object(s.g)("SignInRedirect failed: %s"))(n.fields[0].fields[0].fields[0])):[t,Object(k.j)()]:[new S.d(new q.c(1)),Object(k.e)(n=>{return t=n,W().signinRedirect(Object(h.f)({extraQueryParams:{irt:t.fields[0]}}));var t},n.fields[1],t=>new S.b(1,new q.a(1,new z.e(1,t.message)),n.fields[1]))]:2===n.tag?1===n.fields[0].tag?1===n.fields[0].fields[0].tag?e(Object(s.k)(Object(s.g)("failed sign in: %s"))(n.fields[0].fields[0].fields[0])):[new S.d(new q.c(2,new z.e(0,Object(S.f)(n.fields[0].fields[0].fields[0])))),Object(l.s)(n=>{!function(n,t,e){1===t?history.pushState(void 0,"",v(n,e)):history.replaceState(void 0,"",v(n,e));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}(Object(l.s)(""),1,1)})]:[new S.d(new q.c(1)),Object(k.f)(n=>{return t=n,W().signinRedirectCallback(B(t.fields[0]));var t},n.fields[1],t=>(window.gtag&&window.gtag("event","oidc_sign_in",{}),new S.b(2,new q.a(1,new z.e(0,t)),n.fields[1])),t=>new S.b(2,new q.a(1,new z.e(1,t.message)),n.fields[1]))]:3===n.tag?1===n.fields[0].tag?1===n.fields[0].fields[0].tag?e(Object(s.k)(Object(s.g)("failed silent sign in: %s"))(n.fields[0].fields[0].fields[0])):null==n.fields[0].fields[0].fields[0]?e("silent refresh expected a user but got none"):[new S.d(new q.c(2,new z.e(0,Object(S.f)(n.fields[0].fields[0].fields[0])))),Object(k.j)()]:[t,Object(k.f)(n=>{return t=n,W().signinSilentCallback(B(t.fields[0]));var t},n.fields[1],t=>new S.b(3,new q.a(1,new z.e(0,t)),n.fields[1]),t=>new S.b(3,new q.a(1,new z.e(1,t.message)),n.fields[1]))]:1===n.fields[0].tag?1===n.fields[0].fields[0].tag?e(Object(s.k)(Object(s.g)("failed to get current user: %s"))(n.fields[0].fields[0].fields[0])):null==n.fields[0].fields[0].fields[0]?e("expected a user but got none"):[new S.d(new q.c(2,new z.e(0,Object(S.f)(n.fields[0].fields[0].fields[0])))),Object(k.j)()]:[new S.d(new q.c(1)),Object(k.f)(K,void 0,n=>new S.b(0,new q.a(1,new z.e(0,n))),n=>new S.b(0,new q.a(1,new z.e(1,n.message))))]}function J(n,t){let e;const i=[r.a,r.c];let s,l;switch(null!=i[0]&&null!=i[1]?(s=0,l=i[0]):s=1,s){case 0:switch(n.CurrentPage.tag){case 1:case 2:case 3:e=o.createElement("div",{},"Please wait...");break;case 4:e=o.createElement("h1",{},"Not found");break;default:{const t=n.Auth.Auth;let r,i;switch(2===t.tag&&0===t.fields[0].tag?(r=0,i=t.fields[0].fields[0]):r=1,r){case 0:a=[new c(0,l),new c(1,i.AccessToken)],f=[],e=o.createElement("bank-component",Object(u.d)(a,1),...f);break;case 1:e=o.createElement("h1",{},"Unauthorised")}}}break;case 1:e=o.createElement("h1",{},"Invalid attribute configuration")}var a,f;return y({onUrlChanged:n=>{t(new E(0,n))},application:o.createElement(o.Fragment,{},o.createElement("div",Object(u.d)([Object(x.b)([["container-lg",!0],["p-5",!0]])],1),e))})}var Y,X,Q,nn,tn;!function(n){N(void 0,n)}((Y="bank-details-app",Q=function(){const n=Object(j.d)(O(window.location.hash,1)),t=function(){const n=Object(j.d)(O(window.location.hash,1));return[new S.d(new q.c(0)),1===n.tag?Object(k.d)(new S.b(1,new q.a(0),n.fields[0])):2===n.tag?Object(k.d)(new S.b(2,new q.a(0),n.fields[0])):3===n.tag?Object(k.d)(new S.b(3,new q.a(0),n.fields[0])):Object(k.d)(new S.b(0,new q.a(0)))]}();return[new C(n,t[0]),Object(k.i)(n=>new E(1,n),t[1])]},nn=(n,t)=>function(n,t){if(1===n.tag){const e=Z(n.fields[0],t.Auth);return[new C(t.CurrentPage,e[0]),Object(k.i)(n=>new E(1,n),e[1])]}return[new C(Object(j.d)(n.fields[0]),t.Auth),Object(k.j)()]}(n,t),tn=(n,t)=>J(n,t),X=new F(Q,nn,n=>Object(k.j)(),tn,(n,t)=>{tn(n,t)},n=>{Object(I.a)(n[0],n[1])},Object(f.G)(2,n=>n)),G((n,t,e,r)=>L(n,t,e,r),Y,X)))}]);
|
1
|
+
(()=>{"use strict";function e(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function n(e,n){return Object.getPrototypeOf(e).constructor===Object.getPrototypeOf(n).constructor}function t(e,n){let t=e.toString(10);for(;t.length<n;)t="0"+t;return t}function r(e){const n=e;return"number"==typeof n.offset?n.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}class i{static id(e){return i.idMap.has(e)||i.idMap.set(e,++i.count),i.idMap.get(e)}}function o(e){let n=0,t=5381;const r=e.length;for(;n<r;)t=33*t^e.charCodeAt(n++);return t}function u(e){return 2654435761*e|0}function s(e){return 0===e.length?0:e.reduce(((e,n)=>(e<<5)+e^n))}function l(n){if(null==n)return 0;switch(typeof n){case"boolean":return n?1:0;case"number":return u(n);case"string":return o(n);default:if(function(e){return"function"==typeof e.GetHashCode}(n))return n.GetHashCode();if(e(n))return function(e){const n=e.length,t=new Array(n);for(let r=0;r<n;r++)t[r]=l(e[r]);return s(t)}(n);if(n instanceof Date)return function(e){return e.getTime()}(n);if(Object.getPrototypeOf(n).constructor===Object){const e=Object.values(n).map((e=>l(e)));return s(e)}return u(i.id(n))}}function c(e,n,t){if(null==e)return null==n;if(null==n)return!1;if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++)if(!t(e[r],n[r]))return!1;return!0}function a(e,n){return c(e,n,f)}function f(n,t){return n===t||(null==n?null==t:null!=t&&"object"==typeof n&&(function(e){return"function"==typeof e.Equals}(n)?n.Equals(t):e(n)?e(t)&&a(n,t):n instanceof Date?t instanceof Date&&0===_(n,t):Object.getPrototypeOf(n).constructor===Object&&function(e,n){const t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;t.sort(),r.sort();for(let i=0;i<t.length;i++)if(t[i]!==r[i]||!f(e[t[i]],n[r[i]]))return!1;return!0}(n,t)))}function _(e,n){let t,i;return"offset"in e&&"offset"in n?(t=e.getTime(),i=n.getTime()):(t=e.getTime()+r(e),i=n.getTime()+r(n)),t===i?0:t<i?-1:1}function h(e,n){return e===n?0:e<n?-1:1}function d(e,n){return function(e,n,t){if(null==e)return null==n?0:1;if(null==n)return-1;if(e.length!==n.length)return e.length<n.length?-1:1;for(let r=0,i=0;r<e.length;r++)if(i=t(e[r],n[r]),0!==i)return i;return 0}(e,n,p)}function p(n,t){return n===t?0:null==n?null==t?0:-1:null==t?1:"object"!=typeof n?n<t?-1:1:function(e){return"function"==typeof e.CompareTo}(n)?n.CompareTo(t):e(n)?e(t)?d(n,t):-1:n instanceof Date?t instanceof Date?_(n,t):-1:Object.getPrototypeOf(n).constructor===Object?function(e,n){const t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return t.length<r.length?-1:1;t.sort(),r.sort();for(let i=0,o=0;i<t.length;i++){const u=t[i];if(u!==r[i])return u<r[i]?-1:1;if(o=p(e[u],n[u]),0!==o)return o}return 0}(n,t):-1}function g(e,n,t){return e(n,t)>0?n:t}i.idMap=new WeakMap,i.count=0;const v="__CURRIED__";function m(e,n){if(null==n||n.length>1)return n;let t;switch(e){case 2:t=(e,t)=>n(e)(t);break;case 3:t=(e,t,r)=>n(e)(t)(r);break;case 4:t=(e,t,r,i)=>n(e)(t)(r)(i);break;case 5:t=(e,t,r,i,o)=>n(e)(t)(r)(i)(o);break;case 6:t=(e,t,r,i,o,u)=>n(e)(t)(r)(i)(o)(u);break;case 7:t=(e,t,r,i,o,u,s)=>n(e)(t)(r)(i)(o)(u)(s);break;case 8:t=(e,t,r,i,o,u,s,l)=>n(e)(t)(r)(i)(o)(u)(s)(l);break;default:throw new Error("Uncurrying to more than 8-arity is not supported: "+e)}return t.__CURRIED__=n,t}function w(e,n){if(null==n||1===n.length)return n;if(v in n)return n.__CURRIED__;switch(e){case 2:return e=>t=>n(e,t);case 3:return e=>t=>r=>n(e,t,r);case 4:return e=>t=>r=>i=>n(e,t,r,i);case 5:return e=>t=>r=>i=>o=>n(e,t,r,i,o);case 6:return e=>t=>r=>i=>o=>u=>n(e,t,r,i,o,u);case 7:return e=>t=>r=>i=>o=>u=>s=>n(e,t,r,i,o,u,s);case 8:return e=>t=>r=>i=>o=>u=>s=>l=>n(e,t,r,i,o,u,s,l);default:throw new Error("Currying to more than 8-arity is not supported: "+e)}}function y(e,n){return n.length>e?(...e)=>(...t)=>n.apply(void 0,e.concat(t)):n}class b{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return l(this.value)}Equals(e){return null!=e&&f(this.value,e instanceof b?e.value:e)}CompareTo(e){return null==e?1:p(this.value,e instanceof b?e.value:e)}}function S(e){return null==e||e instanceof b?new b(e):e}function k(e){if(null==e)throw new Error("Option has no value");return e instanceof b?e.value:e}function C(e){return null==e?[]:[k(e)]}function E(e,n){return null!=e?k(e):n}function x(e,n){return null!=n?S(e(k(n))):void 0}const O=function(e){return null==e?void 0:e}(document.querySelector("#bank-details-app")),A=x((e=>e.getAttribute("data-identity-url")),O),T=x((e=>e.getAttribute("data-backend-url")),O);var P,M,D,N,R,U,I,H={},L=[],j=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function F(e,n){for(var t in n)e[t]=n[t];return e}function W(e){var n=e.parentNode;n&&n.removeChild(e)}function q(e,n,t){var r,i,o,u={};for(o in n)"key"==o?r=n[o]:"ref"==o?i=n[o]:u[o]=n[o];if(arguments.length>2&&(u.children=arguments.length>3?P.call(arguments,2):t),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===u[o]&&(u[o]=e.defaultProps[o]);return V(e,u,r,i,null)}function V(e,n,t,r,i){var o={type:e,props:n,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==i?++D:i};return null==i&&null!=M.vnode&&M.vnode(o),o}function B(e){return e.children}function z(e,n){this.props=e,this.context=n}function G(e,n){if(null==n)return e.__?G(e.__,e.__.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?G(e):null}function $(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return $(e)}}function J(e){(!e.__d&&(e.__d=!0)&&N.push(e)&&!Y.__r++||U!==M.debounceRendering)&&((U=M.debounceRendering)||R)(Y)}function Y(){for(var e;Y.__r=N.length;)e=N.sort((function(e,n){return e.__v.__b-n.__v.__b})),N=[],e.some((function(e){var n,t,r,i,o,u;e.__d&&(o=(i=(n=e).__v).__e,(u=n.__P)&&(t=[],(r=F({},i)).__v=i.__v+1,ie(u,i,r,n.__n,void 0!==u.ownerSVGElement,null!=i.__h?[o]:null,t,null==o?G(i):o,i.__h),oe(t,i),i.__e!=o&&$(i)))}))}function Z(e,n,t,r,i,o,u,s,l,c){var a,f,_,h,d,p,g,v=r&&r.__k||L,m=v.length;for(t.__k=[],a=0;a<n.length;a++)if(null!=(h=t.__k[a]=null==(h=n[a])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?V(null,h,null,null,h):Array.isArray(h)?V(B,{children:h},null,null,null):h.__b>0?V(h.type,h.props,h.key,null,h.__v):h)){if(h.__=t,h.__b=t.__b+1,null===(_=v[a])||_&&h.key==_.key&&h.type===_.type)v[a]=void 0;else for(f=0;f<m;f++){if((_=v[f])&&h.key==_.key&&h.type===_.type){v[f]=void 0;break}_=null}ie(e,h,_=_||H,i,o,u,s,l,c),d=h.__e,(f=h.ref)&&_.ref!=f&&(g||(g=[]),_.ref&&g.push(_.ref,null,h),g.push(f,h.__c||d,h)),null!=d?(null==p&&(p=d),"function"==typeof h.type&&h.__k===_.__k?h.__d=l=K(h,l,e):l=X(e,h,_,v,d,l),"function"==typeof t.type&&(t.__d=l)):l&&_.__e==l&&l.parentNode!=e&&(l=G(_))}for(t.__e=p,a=m;a--;)null!=v[a]&&("function"==typeof t.type&&null!=v[a].__e&&v[a].__e==t.__d&&(t.__d=G(r,a+1)),le(v[a],v[a]));if(g)for(a=0;a<g.length;a++)se(g[a],g[++a],g[++a])}function K(e,n,t){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,n="function"==typeof r.type?K(r,n,t):X(t,r,r,i,r.__e,n));return n}function Q(e,n){return n=n||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){Q(e,n)})):n.push(e)),n}function X(e,n,t,r,i,o){var u,s,l;if(void 0!==n.__d)u=n.__d,n.__d=void 0;else if(null==t||i!=o||null==i.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(i),u=null;else{for(s=o,l=0;(s=s.nextSibling)&&l<r.length;l+=2)if(s==i)break e;e.insertBefore(i,o),u=o}return void 0!==u?u:i.nextSibling}function ee(e,n,t){"-"===n[0]?e.setProperty(n,t):e[n]=null==t?"":"number"!=typeof t||j.test(n)?t:t+"px"}function ne(e,n,t,r,i){var o;e:if("style"===n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(n in r)t&&n in t||ee(e.style,n,"");if(t)for(n in t)r&&t[n]===r[n]||ee(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])o=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+o]=t,t?r||e.addEventListener(n,o?re:te,o):e.removeEventListener(n,o?re:te,o);else if("dangerouslySetInnerHTML"!==n){if(i)n=n.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&n in e)try{e[n]=null==t?"":t;break e}catch(e){}"function"==typeof t||(null!=t&&(!1!==t||"a"===n[0]&&"r"===n[1])?e.setAttribute(n,t):e.removeAttribute(n))}}function te(e){this.l[e.type+!1](M.event?M.event(e):e)}function re(e){this.l[e.type+!0](M.event?M.event(e):e)}function ie(e,n,t,r,i,o,u,s,l){var c,a,f,_,h,d,p,g,v,m,w,y=n.type;if(void 0!==n.constructor)return null;null!=t.__h&&(l=t.__h,s=n.__e=t.__e,n.__h=null,o=[s]),(c=M.__b)&&c(n);try{e:if("function"==typeof y){if(g=n.props,v=(c=y.contextType)&&r[c.__c],m=c?v?v.props.value:c.__:r,t.__c?p=(a=n.__c=t.__c).__=a.__E:("prototype"in y&&y.prototype.render?n.__c=a=new y(g,m):(n.__c=a=new z(g,m),a.constructor=y,a.render=ce),v&&v.sub(a),a.props=g,a.state||(a.state={}),a.context=m,a.__n=r,f=a.__d=!0,a.__h=[]),null==a.__s&&(a.__s=a.state),null!=y.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=F({},a.__s)),F(a.__s,y.getDerivedStateFromProps(g,a.__s))),_=a.props,h=a.state,f)null==y.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==y.getDerivedStateFromProps&&g!==_&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(g,m),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(g,a.__s,m)||n.__v===t.__v){a.props=g,a.state=a.__s,n.__v!==t.__v&&(a.__d=!1),a.__v=n,n.__e=t.__e,n.__k=t.__k,n.__k.forEach((function(e){e&&(e.__=n)})),a.__h.length&&u.push(a);break e}null!=a.componentWillUpdate&&a.componentWillUpdate(g,a.__s,m),null!=a.componentDidUpdate&&a.__h.push((function(){a.componentDidUpdate(_,h,d)}))}a.context=m,a.props=g,a.state=a.__s,(c=M.__r)&&c(n),a.__d=!1,a.__v=n,a.__P=e,c=a.render(a.props,a.state,a.context),a.state=a.__s,null!=a.getChildContext&&(r=F(F({},r),a.getChildContext())),f||null==a.getSnapshotBeforeUpdate||(d=a.getSnapshotBeforeUpdate(_,h)),w=null!=c&&c.type===B&&null==c.key?c.props.children:c,Z(e,Array.isArray(w)?w:[w],n,t,r,i,o,u,s,l),a.base=n.__e,n.__h=null,a.__h.length&&u.push(a),p&&(a.__E=a.__=null),a.__e=!1}else null==o&&n.__v===t.__v?(n.__k=t.__k,n.__e=t.__e):n.__e=ue(t.__e,n,t,r,i,o,u,l);(c=M.diffed)&&c(n)}catch(e){n.__v=null,(l||null!=o)&&(n.__e=s,n.__h=!!l,o[o.indexOf(s)]=null),M.__e(e,n,t)}}function oe(e,n){M.__c&&M.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){M.__e(e,n.__v)}}))}function ue(e,n,t,r,i,o,u,s){var l,c,a,f=t.props,_=n.props,h=n.type,d=0;if("svg"===h&&(i=!0),null!=o)for(;d<o.length;d++)if((l=o[d])&&(l===e||(h?l.localName==h:3==l.nodeType))){e=l,o[d]=null;break}if(null==e){if(null===h)return document.createTextNode(_);e=i?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,_.is&&_),o=null,s=!1}if(null===h)f===_||s&&e.data===_||(e.data=_);else{if(o=o&&P.call(e.childNodes),c=(f=t.props||H).dangerouslySetInnerHTML,a=_.dangerouslySetInnerHTML,!s){if(null!=o)for(f={},d=0;d<e.attributes.length;d++)f[e.attributes[d].name]=e.attributes[d].value;(a||c)&&(a&&(c&&a.__html==c.__html||a.__html===e.innerHTML)||(e.innerHTML=a&&a.__html||""))}if(function(e,n,t,r,i){var o;for(o in t)"children"===o||"key"===o||o in n||ne(e,o,null,t[o],r);for(o in n)i&&"function"!=typeof n[o]||"children"===o||"key"===o||"value"===o||"checked"===o||t[o]===n[o]||ne(e,o,n[o],t[o],r)}(e,_,f,i,s),a)n.__k=[];else if(d=n.props.children,Z(e,Array.isArray(d)?d:[d],n,t,r,i&&"foreignObject"!==h,o,u,o?o[0]:t.__k&&G(t,0),s),null!=o)for(d=o.length;d--;)null!=o[d]&&W(o[d]);s||("value"in _&&void 0!==(d=_.value)&&(d!==e.value||"progress"===h&&!d)&&ne(e,"value",d,f.value,!1),"checked"in _&&void 0!==(d=_.checked)&&d!==e.checked&&ne(e,"checked",d,f.checked,!1))}return e}function se(e,n,t){try{"function"==typeof e?e(n):e.current=n}catch(e){M.__e(e,t)}}function le(e,n,t){var r,i;if(M.unmount&&M.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||se(r,null,n)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){M.__e(e,n)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&le(r[i],n,"function"!=typeof e.type);t||null==e.__e||W(e.__e),e.__e=e.__d=void 0}function ce(e,n,t){return this.constructor(e,t)}function ae(e,n,t){var r,i,o;M.__&&M.__(e,n),i=(r="function"==typeof t)?null:t&&t.__k||n.__k,o=[],ie(n,e=(!r&&t||n).__k=q(B,null,[e]),i||H,H,void 0!==n.ownerSVGElement,!r&&t?[t]:i?null:n.firstChild?P.call(n.childNodes):null,o,!r&&t?t:i?i.__e:n.firstChild,r),oe(o,e)}function fe(e,n){ae(e,n,fe)}function _e(e,n,t){var r,i,o,u=F({},e.props);for(o in n)"key"==o?r=n[o]:"ref"==o?i=n[o]:u[o]=n[o];return arguments.length>2&&(u.children=arguments.length>3?P.call(arguments,2):t),V(e.type,u,r||e.key,i||e.ref,null)}P=L.slice,M={__e:function(e,n){for(var t,r,i;n=n.__;)if((t=n.__c)&&!t.__)try{if((r=t.constructor)&&null!=r.getDerivedStateFromError&&(t.setState(r.getDerivedStateFromError(e)),i=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(e),i=t.__d),i)return t.__E=t}catch(n){e=n}throw e}},D=0,z.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=F({},this.state),"function"==typeof e&&(e=e(F({},t),this.props)),e&&F(t,e),null!=e&&this.__v&&(n&&this.__h.push(n),J(this))},z.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),J(this))},z.prototype.render=B,N=[],R="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Y.__r=0,I=0;var he,de,pe,ge=0,ve=[],me=M.__b,we=M.__r,ye=M.diffed,be=M.__c,Se=M.unmount;function ke(e,n){M.__h&&M.__h(de,e,ge||n),ge=0;var t=de.__H||(de.__H={__:[],__h:[]});return e>=t.__.length&&t.__.push({}),t.__[e]}function Ce(e,n,t){var r=ke(he++,2);return r.t=e,r.__c||(r.__=[t?t(n):Ne(void 0,n),function(e){var n=r.t(r.__[0],e);r.__[0]!==n&&(r.__=[n,r.__[1]],r.__c.setState({}))}],r.__c=de),r.__}function Ee(e,n){var t=ke(he++,3);!M.__s&&De(t.__H,n)&&(t.__=e,t.__H=n,de.__H.__h.push(t))}function xe(e,n){var t=ke(he++,4);!M.__s&&De(t.__H,n)&&(t.__=e,t.__H=n,de.__h.push(t))}function Oe(e,n){var t=ke(he++,7);return De(t.__H,n)&&(t.__=e(),t.__H=n,t.__h=e),t.__}function Ae(){ve.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(Pe),e.__H.__h.forEach(Me),e.__H.__h=[]}catch(n){e.__H.__h=[],M.__e(n,e.__v)}})),ve=[]}M.__b=function(e){de=null,me&&me(e)},M.__r=function(e){we&&we(e),he=0;var n=(de=e.__c).__H;n&&(n.__h.forEach(Pe),n.__h.forEach(Me),n.__h=[])},M.diffed=function(e){ye&&ye(e);var n=e.__c;n&&n.__H&&n.__H.__h.length&&(1!==ve.push(n)&&pe===M.requestAnimationFrame||((pe=M.requestAnimationFrame)||function(e){var n,t=function(){clearTimeout(r),Te&&cancelAnimationFrame(n),setTimeout(e)},r=setTimeout(t,100);Te&&(n=requestAnimationFrame(t))})(Ae)),de=null},M.__c=function(e,n){n.some((function(e){try{e.__h.forEach(Pe),e.__h=e.__h.filter((function(e){return!e.__||Me(e)}))}catch(t){n.some((function(e){e.__h&&(e.__h=[])})),n=[],M.__e(t,e.__v)}})),be&&be(e,n)},M.unmount=function(e){Se&&Se(e);var n=e.__c;if(n&&n.__H)try{n.__H.__.forEach(Pe)}catch(e){M.__e(e,n.__v)}};var Te="function"==typeof requestAnimationFrame;function Pe(e){var n=de;"function"==typeof e.__c&&e.__c(),de=n}function Me(e){var n=de;e.__c=e.__(),de=n}function De(e,n){return!e||e.length!==n.length||n.some((function(n,t){return n!==e[t]}))}function Ne(e,n){return"function"==typeof n?n(e):n}function Re(e,n){for(var t in n)e[t]=n[t];return e}function Ue(e,n){for(var t in e)if("__source"!==t&&!(t in n))return!0;for(var r in n)if("__source"!==r&&e[r]!==n[r])return!0;return!1}function Ie(e){this.props=e}(Ie.prototype=new z).isPureReactComponent=!0,Ie.prototype.shouldComponentUpdate=function(e,n){return Ue(this.props,e)||Ue(this.state,n)};var He=M.__b;M.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),He&&He(e)};var Le="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,je=function(e,n){return null==e?null:Q(Q(e).map(n))},Fe={map:je,forEach:je,count:function(e){return e?Q(e).length:0},only:function(e){var n=Q(e);if(1!==n.length)throw"Children.only";return n[0]},toArray:Q},We=M.__e;M.__e=function(e,n,t){if(e.then)for(var r,i=n;i=i.__;)if((r=i.__c)&&r.__c)return null==n.__e&&(n.__e=t.__e,n.__k=t.__k),r.__c(e,n);We(e,n,t)};var qe=M.unmount;function Ve(){this.__u=0,this.t=null,this.__b=null}function Be(e){var n=e.__.__c;return n&&n.__e&&n.__e(e)}function ze(){this.u=null,this.o=null}M.unmount=function(e){var n=e.__c;n&&n.__R&&n.__R(),n&&!0===e.__h&&(e.type=null),qe&&qe(e)},(Ve.prototype=new z).__c=function(e,n){var t=n.__c,r=this;null==r.t&&(r.t=[]),r.t.push(t);var i=Be(r.__v),o=!1,u=function(){o||(o=!0,t.__R=null,i?i(s):s())};t.__R=u;var s=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(n,t,r){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map((function(n){return e(n,t,r)})),n.__c&&n.__c.__P===t&&(n.__e&&r.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=r)),n}(e,e.__c.__P,e.__c.__O)}var n;for(r.setState({__e:r.__b=null});n=r.t.pop();)n.forceUpdate()}},l=!0===n.__h;r.__u++||l||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(u,u)},Ve.prototype.componentWillUnmount=function(){this.t=[]},Ve.prototype.render=function(e,n){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(n,t,r){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),n.__c.__H=null),null!=(n=Re({},n)).__c&&(n.__c.__P===r&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map((function(n){return e(n,t,r)}))),n}(this.__b,t,r.__O=r.__P)}this.__b=null}var i=n.__e&&q(B,null,e.fallback);return i&&(i.__h=null),[q(B,null,n.__e?null:e.children),i]};var Ge=function(e,n,t){if(++t[1]===t[0]&&e.o.delete(n),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(t=e.u;t;){for(;t.length>3;)t.pop()();if(t[1]<t[0])break;e.u=t=t[2]}};function $e(e){return this.getChildContext=function(){return e.context},e.children}function Je(e){var n=this,t=e.i;n.componentWillUnmount=function(){ae(null,n.l),n.l=null,n.i=null},n.i&&n.i!==t&&n.componentWillUnmount(),e.__v?(n.l||(n.i=t,n.l={nodeType:1,parentNode:t,childNodes:[],appendChild:function(e){this.childNodes.push(e),n.i.appendChild(e)},insertBefore:function(e,t){this.childNodes.push(e),n.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),n.i.removeChild(e)}}),ae(q($e,{context:n.context},e.__v),n.l)):n.l&&n.componentWillUnmount()}(ze.prototype=new z).__e=function(e){var n=this,t=Be(n.__v),r=n.o.get(e);return r[0]++,function(i){var o=function(){n.props.revealOrder?(r.push(i),Ge(n,e,r)):i()};t?t(o):o()}},ze.prototype.render=function(e){this.u=null,this.o=new Map;var n=Q(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&n.reverse();for(var t=n.length;t--;)this.o.set(n[t],this.u=[1,0,this.u]);return e.children},ze.prototype.componentDidUpdate=ze.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(n,t){Ge(e,t,n)}))};var Ye="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ze=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ke="undefined"!=typeof document,Qe=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function Xe(e,n,t){return null==n.__k&&(n.textContent=""),ae(e,n),"function"==typeof t&&t(),e?e.__c:null}z.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(z.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(n){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:n})}})}));var en=M.event;function nn(){}function tn(){return this.cancelBubble}function rn(){return this.defaultPrevented}M.event=function(e){return en&&(e=en(e)),e.persist=nn,e.isPropagationStopped=tn,e.isDefaultPrevented=rn,e.nativeEvent=e};var on,un={configurable:!0,get:function(){return this.class}},sn=M.vnode;M.vnode=function(e){var n=e.type,t=e.props,r=t;if("string"==typeof n){var i=-1===n.indexOf("-");for(var o in r={},t){var u=t[o];Ke&&"children"===o&&"noscript"===n||"value"===o&&"defaultValue"in t&&null==u||("defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===u?u="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+n)&&!Qe(t.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():i&&Ze.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===u&&(u=void 0),r[o]=u)}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=Q(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=Q(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r}n&&t.class!=t.className&&(un.enumerable="className"in t,null!=t.className&&(r.class=t.className),Object.defineProperty(r,"className",un)),e.$$typeof=Ye,sn&&sn(e)};var ln=M.__r;M.__r=function(e){ln&&ln(e),on=e.__c};var cn={ReactCurrentDispatcher:{current:{readContext:function(e){return on.__n[e.__c].props.value}}}};function an(e){return!!e&&e.$$typeof===Ye}const fn={useState:function(e){return ge=1,Ce(Ne,e)},useReducer:Ce,useEffect:Ee,useLayoutEffect:xe,useRef:function(e){return ge=5,Oe((function(){return{current:e}}),[])},useImperativeHandle:function(e,n,t){ge=6,xe((function(){"function"==typeof e?e(n()):e&&(e.current=n())}),null==t?t:t.concat(e))},useMemo:Oe,useCallback:function(e,n){return ge=8,Oe((function(){return e}),n)},useContext:function(e){var n=de.context[e.__c],t=ke(he++,9);return t.c=e,n?(null==t.__&&(t.__=!0,n.sub(de)),n.props.value):e.__},useDebugValue:function(e,n){M.useDebugValue&&M.useDebugValue(n?n(e):e)},version:"17.0.2",Children:Fe,render:Xe,hydrate:function(e,n,t){return fe(e,n),"function"==typeof t&&t(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(ae(null,e),!0)},createPortal:function(e,n){return q(Je,{__v:e,i:n})},createElement:q,createContext:function(e,n){var t={__c:n="__cC"+I++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var t,r;return this.getChildContext||(t=[],(r={})[n]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some(J)},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Provider.__=t.Consumer.contextType=t},createFactory:function(e){return q.bind(null,e)},cloneElement:function(e){return an(e)?_e.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:B,isValidElement:an,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:z,PureComponent:Ie,memo:function(e,n){function t(e){var t=this.props.ref,r=t==e.ref;return!r&&t&&(t.call?t(null):t.current=null),n?!n(this.props,e)||!r:Ue(this.props,e)}function r(n){return this.shouldComponentUpdate=t,q(e,n)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function n(n,t){var r=Re({},n);return delete r.ref,e(r,(t=n.ref||t)&&("object"!=typeof t||"current"in t)?t:null)}return n.$$typeof=Le,n.render=n,n.prototype.isReactComponent=n.__f=!0,n.displayName="ForwardRef("+(e.displayName||e.name)+")",n},flushSync:function(e,n){return e(n)},unstable_batchedUpdates:function(e,n){return e(n)},StrictMode:B,Suspense:Ve,SuspenseList:ze,lazy:function(e){var n,t,r;function i(i){if(n||(n=e()).then((function(e){t=e.default||e}),(function(e){r=e})),r)throw r;if(!t)throw n;return q(t,i)}return i.displayName="Lazy",i.__f=!0,i},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:cn};function _n(e){let n=0,t="[";for(const r of e){if(0===n)t+=hn(r);else{if(100===n){t+="; ...";break}t+="; "+hn(r)}n++}return t+"]"}function hn(e,n=0){if(null!=e&&"object"==typeof e){if("function"==typeof e.toString)return e.toString();if(Symbol.iterator in e)return _n(e);{const t=Object.getPrototypeOf(e).constructor;return t===Object&&n<10?"{ "+Object.entries(e).map((([e,t])=>e+" = "+hn(t,n+1))).join("\n ")+" }":t.name}}return String(e)}function dn(e,n){if(e===n)return 0;if(null==n)return-1;for(;null!=e.tail;){if(null==n.tail)return 1;const t=p(e.head,n.head);if(0!==t)return t;e=e.tail,n=n.tail}return null==n.tail?0:-1}class pn{constructor(e,n){this.head=e,this.tail=n}[Symbol.iterator](){let e=this;return{next:()=>{const n=null==e?void 0:e.head,t=null==(null==e?void 0:e.tail);return e=null==e?void 0:e.tail,{done:t,value:n}}}}toJSON(){return Array.from(this)}toString(){return _n(this)}GetHashCode(){return s(Array.from(this).map(l))}Equals(e){return 0===dn(this,e)}CompareTo(e){return dn(this,e)}}class gn{get name(){return this.cases()[this.tag]}toJSON(){return 0===this.fields.length?this.name:[this.name].concat(this.fields)}toString(){if(0===this.fields.length)return this.name;{let e="",n=!0;if(1===this.fields.length){const t=hn(this.fields[0]);n=t.indexOf(" ")>=0,e=t}else e=this.fields.map((e=>hn(e))).join(", ");return this.name+(n?" (":" ")+e+(n?")":"")}}GetHashCode(){const e=this.fields.map((e=>l(e)));return e.splice(0,0,u(this.tag)),s(e)}Equals(e){return this===e||!!n(this,e)&&this.tag===e.tag&&a(this.fields,e.fields)}CompareTo(e){return this===e?0:n(this,e)?this.tag===e.tag?d(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class vn{toJSON(){return function(e){const n={},t=Object.keys(e);for(let r=0;r<t.length;r++)n[t[r]]=e[t[r]];return n}(this)}toString(){return e=this,"{ "+Object.entries(e).map((([e,n])=>e+" = "+hn(n))).join("\n ")+" }";var e}GetHashCode(){return function(e){const n=Object.values(e).map((e=>l(e)));return s(n)}(this)}Equals(e){return function(e,t){if(e===t)return!0;if(n(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!f(e[n[r]],t[n[r]]))return!1;return!0}return!1}(this,e)}CompareTo(e){return function(e,t){if(e===t)return 0;if(n(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=p(e[n[r]],t[n[r]]);if(0!==i)return i}return 0}return-1}(this,e)}}class mn{constructor(e,n){"function"==typeof n?(this.getter=e,this.setter=n):(this.getter=()=>e,this.setter=n=>{e=n})}get contents(){return this.getter()}set contents(e){this.setter(e)}}class wn{constructor(e,n,t,r,i,o,u){this.fullname=e,this.generics=n,this.construct=t,this.parent=r,this.fields=i,this.cases=o,this.enumCases=u}toString(){return kn(this)}GetHashCode(){return bn(this)}Equals(e){return Sn(this,e)}}function yn(e){return null!=e.generics?e.generics:[]}function bn(e){return s([o(e.fullname),...yn(e).map(bn)])}function Sn(e,n){return""===e.fullname?""===n.fullname&&c(Cn(e),Cn(n),(([e,n],[t,r])=>e===t&&Sn(n,r))):e.fullname===n.fullname&&c(yn(e),yn(n),Sn)}function kn(e){const n=null==e.generics||function(e){return e.fullname.endsWith("[]")}(e)?[]:e.generics;return n.length>0?e.fullname+"["+n.map((e=>kn(e))).join(",")+"]":e.fullname}function Cn(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}new wn("System.Object"),new wn("Microsoft.FSharp.Core.Unit"),new wn("System.Char"),new wn("System.String"),new wn("System.Boolean"),new wn("System.SByte"),new wn("System.Byte"),new wn("System.Int16"),new wn("System.UInt16"),new wn("System.Int32"),new wn("System.UInt32"),new wn("System.Single"),new wn("System.Double"),new wn("System.Decimal");function En(e,n){return e.replace(/[a-z]?[A-Z]/g,(e=>1===e.length?e.toLowerCase():e.charAt(0)+n+e.charAt(1).toLowerCase()))}function xn(e,n=0){const t={},r=n;function i(e){throw new Error("Cannot infer key and value of "+String(e))}function o(e,n,r){e=function(e,n){switch(n){case 1:return e.charAt(0).toLowerCase()+e.slice(1);case 2:return En(e,"_");case 3:return En(e,"_").toUpperCase();case 4:return En(e,"-");default:return e}}(e,n),t[e]=r}for(let n of e){let e=0;if(null==n&&i(n),n instanceof gn){const t=n.cases()[n.tag];n=0===n.fields.length?t:[t].concat(n.fields),e=r}if(Array.isArray(n))switch(n.length){case 0:i(n);break;case 1:o(n[0],e,!0);break;case 2:const t=n[1];o(n[0],e,t);break;default:o(n[0],e,n.slice(1))}else"string"==typeof n?o(n,e,!0):i(n)}return t}class On extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["backend-url","access-token"]}}var An;!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(An||(An={}));const Tn=Symbol("numeric");function Pn(e,n){return"number"==typeof e?e.toPrecision(n):e[Tn]().toPrecision(n)}function Mn(e,n){return"number"==typeof e?e.toExponential(n):e[Tn]().toExponential(n)}function Dn(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[Tn]().toHex()}var Nn=null;try{Nn=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(H){}function Rn(e,n,t){this.low=0|e,this.high=0|n,this.unsigned=!!t}function Un(e){return!0===(e&&e.__isLong__)}Rn.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},Rn.prototype.Equals=function(e){return lt(this,e)},Rn.prototype.CompareTo=function(e){return _t(this,e)},Rn.prototype.toString=function(e){return it(this,e)},Rn.prototype.toJSON=function(){return it(this)},Rn.prototype[Tn]=function(){const e=this;return{multiply:n=>gt(e,n),toPrecision:n=>String(e)+(0).toPrecision(n).substr(1),toExponential:n=>String(e)+(0).toExponential(n).substr(1),toFixed:n=>String(e)+(0).toFixed(n).substr(1),toHex:()=>{return it(e.unsigned?e:function(e,n,t){return t?function(e,n){return new Rn(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,n)}(e,n):function(e,n){return new Rn(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],n)}(e,n)}((n=e,t?function(e){var n=e.high,t=e.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&n,n>>>8&255,n>>>16&255,n>>>24]}(n):function(e){var n=e.high,t=e.low;return[n>>>24,n>>>16&255,n>>>8&255,255&n,t>>>24,t>>>16&255,t>>>8&255,255&t]}(n)),!0),16);var n,t}}},Rn.prototype.__isLong__,Object.defineProperty(Rn.prototype,"__isLong__",{value:!0});var In={},Hn={};function Ln(e,n){var t,r,i;return n?(i=0<=(e>>>=0)&&e<256)&&(r=Hn[e])?r:(t=Fn(e,(0|e)<0?-1:0,!0),i&&(Hn[e]=t),t):(i=-128<=(e|=0)&&e<128)&&(r=In[e])?r:(t=Fn(e,e<0?-1:0,!1),i&&(In[e]=t),t)}function jn(e,n){if(isNaN(e))return n?Yn:Jn;if(n){if(e<0)return Yn;if(e>=zn)return et}else{if(e<=-Gn)return nt;if(e+1>=Gn)return Xn}return e<0?ht(jn(-e,n)):Fn(e%Bn|0,e/Bn|0,n)}function Fn(e,n,t){return new Rn(e,n,t)}var Wn=Math.pow;function qn(e,n,t){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return Jn;if("number"==typeof n?(t=n,n=!1):n=!!n,(t=t||10)<2||36<t)throw RangeError("radix");var r=e.indexOf("-");if(r>0)throw Error("interior hyphen");if(0===r)return ht(qn(e.substring(1),n,t));for(var i=jn(Wn(t,8)),o=Jn,u=0;u<e.length;u+=8){var s=Math.min(8,e.length-u),l=parseInt(e.substring(u,u+s),t);o=dt(s<8?gt(o,jn(Wn(t,s))):o=gt(o,i),jn(l))}return o.unsigned=n,o}function Vn(e,n){return"number"==typeof e?jn(e,n):"string"==typeof e?qn(e,n):Fn(e.low,e.high,"boolean"==typeof n?n:e.unsigned)}var Bn=4294967296,zn=Bn*Bn,Gn=zn/2,$n=Ln(1<<24),Jn=Ln(0),Yn=Ln(0,!0),Zn=Ln(1),Kn=Ln(1,!0),Qn=Ln(-1),Xn=Fn(-1,2147483647,!1),et=Fn(-1,-1,!0),nt=Fn(0,-2147483648,!1);function tt(e){return e.unsigned?e.low>>>0:e.low}function rt(e){return e.unsigned?(e.high>>>0)*Bn+(e.low>>>0):e.high*Bn+(e.low>>>0)}function it(e,n){if((n=n||10)<2||36<n)throw RangeError("radix");if(ot(e))return"0";if(ut(e)){if(lt(e,nt)){var t=jn(n),r=vt(e,t),i=pt(gt(r,t),e);return it(r,n)+tt(i).toString(n)}return"-"+it(ht(e),n)}for(var o=jn(Wn(n,6),e.unsigned),u=e,s="";;){var l=vt(u,o),c=(tt(pt(u,gt(l,o)))>>>0).toString(n);if(ot(u=l))return c+s;for(;c.length<6;)c="0"+c;s=""+c+s}}function ot(e){return 0===e.high&&0===e.low}function ut(e){return!e.unsigned&&e.high<0}function st(e){return 1==(1&e.low)}function lt(e,n){return Un(n)||(n=Vn(n)),(e.unsigned===n.unsigned||e.high>>>31!=1||n.high>>>31!=1)&&e.high===n.high&&e.low===n.low}function ct(e,n){return _t(e,n)<0}function at(e,n){return _t(e,n)>0}function ft(e,n){return _t(e,n)>=0}function _t(e,n){if(Un(n)||(n=Vn(n)),lt(e,n))return 0;var t=ut(e),r=ut(n);return t&&!r?-1:!t&&r?1:e.unsigned?n.high>>>0>e.high>>>0||n.high===e.high&&n.low>>>0>e.low>>>0?-1:1:ut(pt(e,n))?-1:1}function ht(e){return!e.unsigned&<(e,nt)?nt:dt(function(e){return Fn(~e.low,~e.high,e.unsigned)}(e),Zn)}function dt(e,n){Un(n)||(n=Vn(n));var t=e.high>>>16,r=65535&e.high,i=e.low>>>16,o=65535&e.low,u=n.high>>>16,s=65535&n.high,l=n.low>>>16,c=0,a=0,f=0,_=0;return f+=(_+=o+(65535&n.low))>>>16,a+=(f+=i+l)>>>16,c+=(a+=r+s)>>>16,c+=t+u,Fn((f&=65535)<<16|(_&=65535),(c&=65535)<<16|(a&=65535),e.unsigned)}function pt(e,n){return Un(n)||(n=Vn(n)),dt(e,ht(n))}function gt(e,n){if(ot(e))return e.unsigned?Yn:Jn;if(Un(n)||(n=Vn(n)),Nn)return Fn(Nn.mul(e.low,e.high,n.low,n.high),Nn.get_high(),e.unsigned);if(ot(n))return e.unsigned?Yn:Jn;if(lt(e,nt))return st(n)?nt:Jn;if(lt(n,nt))return st(e)?nt:Jn;if(ut(e))return ut(n)?gt(ht(e),ht(n)):ht(gt(ht(e),n));if(ut(n))return ht(gt(e,ht(n)));if(ct(e,$n)&&ct(n,$n))return jn(rt(e)*rt(n),e.unsigned);var t=e.high>>>16,r=65535&e.high,i=e.low>>>16,o=65535&e.low,u=n.high>>>16,s=65535&n.high,l=n.low>>>16,c=65535&n.low,a=0,f=0,_=0,h=0;return _+=(h+=o*c)>>>16,f+=(_+=i*c)>>>16,_&=65535,f+=(_+=o*l)>>>16,a+=(f+=r*c)>>>16,f&=65535,a+=(f+=i*l)>>>16,f&=65535,a+=(f+=o*s)>>>16,a+=t*c+r*l+i*s+o*u,Fn((_&=65535)<<16|(h&=65535),(a&=65535)<<16|(f&=65535),e.unsigned)}function vt(e,n){if(Un(n)||(n=Vn(n)),ot(n))throw Error("division by zero");var t,r,i;if(Nn)return e.unsigned||-2147483648!==e.high||-1!==n.low||-1!==n.high?Fn((e.unsigned?Nn.div_u:Nn.div_s)(e.low,e.high,n.low,n.high),Nn.get_high(),e.unsigned):e;if(ot(e))return e.unsigned?Yn:Jn;if(e.unsigned){if(n.unsigned||(n=function(e){return e.unsigned?e:Fn(e.low,e.high,!0)}(n)),at(n,e))return Yn;if(at(n,function(e,n){if(Un(n)&&(n=tt(n)),0==(n&=63))return e;var t=e.high;return n<32?Fn(e.low>>>n|t<<32-n,t>>>n,e.unsigned):Fn(32===n?t:t>>>n-32,0,e.unsigned)}(e,1)))return Kn;i=Yn}else{if(lt(e,nt))return lt(n,Zn)||lt(n,Qn)?nt:lt(n,nt)?Zn:lt(t=function(e,n){return Un(n)&&(n=tt(n)),0==(n&=63)?e:n<32?Fn(e.low<<n,e.high<<n|e.low>>>32-n,e.unsigned):Fn(0,e.low<<n-32,e.unsigned)}(vt(function(e,n){return Un(n)&&(n=tt(n)),0==(n&=63)?e:n<32?Fn(e.low>>>n|e.high<<32-n,e.high>>n,e.unsigned):Fn(e.high>>n-32,e.high>=0?0:-1,e.unsigned)}(e,1),n),1),Jn)?ut(n)?Zn:Qn:i=dt(t,vt(r=pt(e,gt(n,t)),n));if(lt(n,nt))return e.unsigned?Yn:Jn;if(ut(e))return ut(n)?vt(ht(e),ht(n)):ht(vt(ht(e),n));if(ut(n))return ht(vt(e,ht(n)));i=Jn}for(r=e;ft(r,n);){t=Math.max(1,Math.floor(rt(r)/rt(n)));for(var o=Math.ceil(Math.log(t)/Math.LN2),u=o<=48?1:Wn(2,o-48),s=jn(t),l=gt(s,n);ut(l)||at(l,r);)l=gt(s=jn(t-=u,e.unsigned),n);ot(s)&&(s=Zn),i=dt(i,s),r=pt(r,l)}return i}function mt(e){const n=e<0,r=(e=Math.abs(e))%36e5/6e4;return(n?"-":"+")+t(~~(e/36e5),2)+":"+t(r,2)}function wt(e,n){const t=e.toISOString();return"first"===n?t.substring(0,t.indexOf("T")):t.substring(t.indexOf("T")+1,t.length-1)}function yt(e,n,t){return n.replace(/(\w)\1*/g,(n=>{let r=Number.NaN;switch(n.substring(0,1)){case"y":const i=t?e.getUTCFullYear():e.getFullYear();r=n.length<4?i%100:i;break;case"M":r=(t?e.getUTCMonth():e.getMonth())+1;break;case"d":r=t?e.getUTCDate():e.getDate();break;case"H":r=t?e.getUTCHours():e.getHours();break;case"h":const o=t?e.getUTCHours():e.getHours();r=o>12?o%12:o;break;case"m":r=t?e.getUTCMinutes():e.getMinutes();break;case"s":r=t?e.getUTCSeconds():e.getSeconds();break;case"f":r=t?e.getUTCMilliseconds():e.getMilliseconds()}return Number.isNaN(r)?n:r<10&&n.length>1?"0"+r:""+r}))}const bt=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/;function St(e){return{input:e,cont:(n=e,e=>bt.test(n)?xt(n,e):e(n))};var n}function kt(e){return function(e,n){return"string"==typeof n?e(n):n.cont(e)}((e=>e),e)}function Ct(e,n,r,i,o,u){let s="";if(r=r||"",u=u||"",function(e){return"number"==typeof e||(null==e?void 0:e[Tn])}(e))switch("x"!==u.toLowerCase()&&(function(e,n){return function(e,n){return"number"==typeof e?e<n?-1:e>n?1:0:e.CompareTo(n)}(e,n)<0}(e,0)?(e=function(e,n){return"number"==typeof e?-1*e:e[Tn]().multiply(-1)}(e),s="-"):r.indexOf(" ")>=0?s=" ":r.indexOf("+")>=0&&(s="+")),o=null==o?null:parseInt(o,10),u){case"f":case"F":e=function(e,n){return"number"==typeof e?e.toFixed(n):e[Tn]().toFixed(n)}(e,o=null!=o?o:6);break;case"g":case"G":e=null!=o?Pn(e,o):Pn(e);break;case"e":case"E":e=null!=o?Mn(e,o):Mn(e);break;case"x":e=Dn(e);break;case"X":e=Dn(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?function(e,n,r){return null!=e.offset?function(e,n){var t,r,i;const o=new Date(e.getTime()+(null!==(t=e.offset)&&void 0!==t?t:0));if("string"!=typeof n)return o.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+mt(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==n.length)return yt(o,n,!0);switch(n){case"D":case"d":return wt(o,"first");case"T":case"t":return wt(o,"second");case"O":case"o":return function(e,n){const t=e.toISOString();return t.substring(0,t.length-1)+mt(n)}(o,null!==(i=e.offset)&&void 0!==i?i:0);default:throw new Error("Unrecognized Date print format")}}(e,n):function(e,n){const r=1===e.kind;if("string"!=typeof n)return r?e.toUTCString():e.toLocaleString();if(1!==n.length)return yt(e,n,r);switch(n){case"D":case"d":return r?wt(e,"first"):e.toLocaleDateString();case"T":case"t":return r?wt(e,"second"):e.toLocaleTimeString();case"O":case"o":return function(e,n){if(n)return e.toISOString();{const n=null==e.kind||2===e.kind;return t(e.getFullYear(),4)+"-"+t(e.getMonth()+1,2)+"-"+t(e.getDate(),2)+"T"+t(e.getHours(),2)+":"+t(e.getMinutes(),2)+":"+t(e.getSeconds(),2)+"."+t(e.getMilliseconds(),3)+(n?mt(-6e4*e.getTimezoneOffset()):"")}}(e,r);default:throw new Error("Unrecognized Date print format")}}(e,n)}(e):hn(e);if(i="number"==typeof i?i:parseInt(i,10),isNaN(i))e=s+e;else{const n=r.indexOf("0")>=0,t=r.indexOf("-")>=0,o=t||!n?" ":"0";e="0"===o?s+(e=At(e,i-s.length,o,t)):At(s+e,i,o,t)}return n?n+e:e}function Et(e,n,t){return e.replace(bt,((e,r,i,o,u,s)=>{if(null!=t.contents)o=t.contents,t.contents=null;else if("*"===o){if(n<0)throw new Error("Non-negative number required");return t.contents=n,e}return Ct(n,r,i,o,u,s).replace(/%/g,"%%")}))}function xt(e,n,t=new mn(null)){return(...r)=>{let i=e;for(const e of r)i=Et(i,e,t);return bt.test(i)?xt(i,n,t):n(i.replace(/%%/g,"%"))}}function Ot(e,n){const t=e.lastIndexOf(n);return t>=0&&t===e.length-n.length}function At(e,n,t,r){t=t||" ",n-=e.length;for(let i=0;i<n;i++)e=r?e+t:t+e;return e}function Tt(e,n,t){if(n+(t||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=t?e.substr(n,t):e.substr(n)}var Pt={GetHashCode(){return s([this.s,this.e].concat(this.c))},Equals(e){return!this.cmp(e)},CompareTo(e){return this.cmp(e)},[Tn](){const e=this;return{multiply:n=>e.mul(n),toPrecision:n=>e.toPrecision(n),toExponential:n=>e.toExponential(n),toFixed:n=>e.toFixed(n),toHex:()=>(Number(e)>>>0).toString(16)}}},Mt=1e6,Dt="[big.js] ",Nt=Dt+"Invalid ",Rt=Nt+"decimal places",Ut=Nt+"rounding mode",It=Dt+"Division by zero",Ht=void 0,Lt=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function jt(e,n){var t,r,i;if(0===n&&1/n<0)n="-0";else if(!Lt.test(n+=""))throw Error(Nt+"number");for(e.s="-"==n.charAt(0)?(n=n.slice(1),-1):1,(t=n.indexOf("."))>-1&&(n=n.replace(".","")),(r=n.search(/e/i))>0?(t<0&&(t=r),t+=+n.slice(r+1),n=n.substring(0,r)):t<0&&(t=n.length),i=n.length,r=0;r<t&&r<i&&"0"==n.charAt(r);)++r;if(r==i)e.c=[e.e=0];else for(e.e=t-r-1,e.c=[],t=0;r<i;)e.c[t++]=+n.charAt(r++);return Ft(e,qt.DP,qt.RM)}function Ft(e,n,t,r){var i=e.c,o=e.e+n+1;if(o<i.length){if(1===t)r=i[o]>=5;else if(2===t)r=i[o]>5||5==i[o]&&(r||o<0||i[o+1]!==Ht||1&i[o-1]);else if(3===t){const e=i.findIndex(((e,n)=>n>=o&&e>0))<0;r=r||!e}else if(r=!1,0!==t)throw Error(Ut);if(o<1)i.length=1,r?(e.e=-n,i[0]=1):i[0]=e.e=0;else{if(i.length=o--,r)for(;++i[o]>9;)i[o]=0,o--||(++e.e,i.unshift(1));for(o=i.length;!i[--o];)i.pop()}}else if(t<0||t>3||t!==~~t)throw Error(Ut);return e}function Wt(e,n,t,r){var i,o,u=e.constructor,s=!e.c[0];if(t!==Ht){if(t!==~~t||t<(3==n)||t>Mt)throw Error(3==n?Nt+"precision":Rt);for(t=r-(e=new u(e)).e,e.c.length>++r&&Ft(e,t,u.RM),2==n&&(r=e.e+t+1);e.c.length<r;)e.c.push(0)}if(i=e.e,t=(o=e.c.join("")).length,2!=n&&(1==n||3==n&&r<=i||i<=u.NE||i>=u.PE))o=o.charAt(0)+(t>1?"."+o.slice(1):"")+(i<0?"e":"e+")+i;else if(i<0){for(;++i;)o="0"+o;o="0."+o}else if(i>0)if(++i>t)for(i-=t;i--;)o+="0";else i<t&&(o=o.slice(0,i)+"."+o.slice(i));else t>1&&(o=o.charAt(0)+"."+o.slice(1));return e.s<0&&(!s||4==n)?"-"+o:o}Pt.abs=function(){var e=new this.constructor(this);return e.s=1,e},Pt.cmp=function(e){var n,t=this.constructor,r=new t(this),i=(e=new t(e),r.c),o=e.c,u=r.s,s=e.s,l=r.e,c=e.e;if(!i[0]||!o[0])return i[0]?u:o[0]?-s:0;if(u!=s)return u;if(n=u<0,l!=c)return l>c^n?1:-1;for(s=Math.max(i.length,o.length),u=0;u<s;u++)if((l=u<i.length?i[u]:0)!=(c=u<o.length?o[u]:0))return l>c^n?1:-1;return 0},Pt.div=function(e){var n=this.constructor,t=new n(this),r=(e=new n(e),t.c),i=e.c,o=t.s==e.s?1:-1,u=n.DP;if(u!==~~u||u<0||u>Mt)throw Error(Rt);if(!i[0])throw Error(It);if(!r[0])return new n(0*o);var s,l,c,a,f,_=i.slice(),h=s=i.length,d=r.length,p=r.slice(0,s),g=p.length,v=e,m=v.c=[],w=0,y=u+(v.e=t.e-e.e)+1;for(v.s=o,o=y<0?0:y,_.unshift(0);g++<s;)p.push(0);do{for(c=0;c<10;c++){if(s!=(g=p.length))a=s>g?1:-1;else for(f=-1,a=0;++f<s;)if(i[f]!=p[f]){a=i[f]>p[f]?1:-1;break}if(!(a<0))break;for(l=g==s?i:_;g;){if(p[--g]<l[g]){for(f=g;f&&!p[--f];)p[f]=9;--p[f],p[g]+=10}p[g]-=l[g]}for(;!p[0];)p.shift()}m[w++]=a?c:++c,p[0]&&a?p[g]=r[h]||0:p=[r[h]]}while((h++<d||p[0]!==Ht)&&o--);return m[0]||1==w||(m.shift(),v.e--),w>y&&Ft(v,u,n.RM,p[0]!==Ht),v},Pt.eq=function(e){return!this.cmp(e)},Pt.gt=function(e){return this.cmp(e)>0},Pt.gte=function(e){return this.cmp(e)>-1},Pt.lt=function(e){return this.cmp(e)<0},Pt.lte=function(e){return this.cmp(e)<1},Pt.minus=Pt.sub=function(e){var n,t,r,i,o=this.constructor,u=new o(this),s=(e=new o(e),u.s),l=e.s;if(s!=l)return e.s=-l,u.plus(e);var c=u.c.slice(),a=u.e,f=e.c,_=e.e;if(!c[0]||!f[0])return f[0]?(e.s=-l,e):new o(c[0]?u:0);if(s=a-_){for((i=s<0)?(s=-s,r=c):(_=a,r=f),r.reverse(),l=s;l--;)r.push(0);r.reverse()}else for(t=((i=c.length<f.length)?c:f).length,s=l=0;l<t;l++)if(c[l]!=f[l]){i=c[l]<f[l];break}if(i&&(r=c,c=f,f=r,e.s=-e.s),(l=(t=f.length)-(n=c.length))>0)for(;l--;)c[n++]=0;for(l=n;t>s;){if(c[--t]<f[t]){for(n=t;n&&!c[--n];)c[n]=9;--c[n],c[t]+=10}c[t]-=f[t]}for(;0===c[--l];)c.pop();for(;0===c[0];)c.shift(),--_;return c[0]||(e.s=1,c=[_=0]),e.c=c,e.e=_,e},Pt.mod=function(e){var n,t=this.constructor,r=new t(this),i=(e=new t(e),r.s),o=e.s;if(!e.c[0])throw Error(It);return r.s=e.s=1,n=1==e.cmp(r),r.s=i,e.s=o,n?new t(r):(i=t.DP,o=t.RM,t.DP=t.RM=0,r=r.div(e),t.DP=i,t.RM=o,this.minus(r.times(e)))},Pt.plus=Pt.add=function(e){var n,t=this.constructor,r=new t(this),i=(e=new t(e),r.s),o=e.s;if(i!=o)return e.s=-o,r.minus(e);var u=r.e,s=r.c,l=e.e,c=e.c;if(!s[0]||!c[0])return c[0]?e:new t(s[0]?r:0*i);if(s=s.slice(),i=u-l){for(i>0?(l=u,n=c):(i=-i,n=s),n.reverse();i--;)n.push(0);n.reverse()}for(s.length-c.length<0&&(n=c,c=s,s=n),i=c.length,o=0;i;s[i]%=10)o=(s[--i]=s[i]+c[i]+o)/10|0;for(o&&(s.unshift(o),++l),i=s.length;0===s[--i];)s.pop();return e.c=s,e.e=l,e},Pt.pow=function(e){var n=this.constructor,t=new n(this),r=new n(1),i=new n(1),o=e<0;if(e!==~~e||e<-1e6||e>1e6)throw Error(Nt+"exponent");for(o&&(e=-e);1&e&&(r=r.times(t)),e>>=1;)t=t.times(t);return o?i.div(r):r},Pt.round=function(e,n){var t=this.constructor;if(e===Ht)e=0;else if(e!==~~e||e<-Mt||e>Mt)throw Error(Rt);return Ft(new t(this),e,n===Ht?t.RM:n)},Pt.sqrt=function(){var e,n,t,r=this.constructor,i=new r(this),o=i.s,u=i.e,s=new r(.5);if(!i.c[0])return new r(i);if(o<0)throw Error(Dt+"No square root");0===(o=Math.sqrt(i+""))||o===1/0?((n=i.c.join("")).length+u&1||(n+="0"),u=((u+1)/2|0)-(u<0||1&u),e=new r(((o=Math.sqrt(n))==1/0?"1e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+u)):e=new r(o),u=e.e+(r.DP+=4);do{t=e,e=s.times(t.plus(i.div(t)))}while(t.c.slice(0,u).join("")!==e.c.slice(0,u).join(""));return Ft(e,r.DP-=4,r.RM)},Pt.times=Pt.mul=function(e){var n,t=this.constructor,r=new t(this),i=(e=new t(e),r.c),o=e.c,u=i.length,s=o.length,l=r.e,c=e.e;if(e.s=r.s==e.s?1:-1,!i[0]||!o[0])return new t(0*e.s);for(e.e=l+c,u<s&&(n=i,i=o,o=n,c=u,u=s,s=c),n=new Array(c=u+s);c--;)n[c]=0;for(l=s;l--;){for(s=0,c=u+l;c>l;)s=n[c]+o[l]*i[c-l-1]+s,n[c--]=s%10,s=s/10|0;n[c]=(n[c]+s)%10}for(s?++e.e:n.shift(),l=n.length;!n[--l];)n.pop();return e.c=n,e},Pt.toExponential=function(e){return Wt(this,1,e,e)},Pt.toFixed=function(e){return Wt(this,2,e,this.e+e)},Pt.toPrecision=function(e){return Wt(this,3,e,e-1)},Pt.toString=function(){return Wt(this)},Pt.valueOf=Pt.toJSON=function(){return Wt(this,4)};var qt=function e(){function n(t){var r=this;if(!(r instanceof n))return t===Ht?e():new n(t);t instanceof n?(r.s=t.s,r.e=t.e,r.c=t.c.slice(),function(e){if((e=Ft(e,28,0)).c.length>1&&!e.c[0]){let n=e.c.findIndex((e=>e));e.c=e.c.slice(n),e.e=e.e-n}}(r)):jt(r,t),r.constructor=n}return n.prototype=Pt,n.DP=28,n.RM=1,n.NE=-29,n.PE=29,n.version="5.2.2",n}();const Vt=qt;new Vt(0),new Vt(1),new Vt(-1),new Vt("79228162514264337593543950335"),new Vt("-79228162514264337593543950335");class Bt{constructor(e){this.f=e}[Symbol.iterator](){return new Bt(this.f)}next(){var e;return this.iter=null!==(e=this.iter)&&void 0!==e?e:this.f(),this.iter.next()}toString(){return"seq ["+Array.from(this).join("; ")+"]"}}function zt(e){return new Bt(e)}function Gt(e,n){return Jt((()=>{let t=!1,r=[e[Symbol.iterator](),void 0];return Kt((()=>{var e,i;let o;if(!t){if(o=null===(e=r[0])||void 0===e?void 0:e.next(),null!=o&&!o.done)return[o.value,r];t=!0,r=[void 0,n[Symbol.iterator]()]}return o=null===(i=r[1])||void 0===i?void 0:i.next(),null==o||o.done?void 0:[o.value,r]}),r)}))}function $t(e,n){return function(e){return Jt((()=>{const n=e[Symbol.iterator]();let t;return Kt((e=>{let r=!1;for(;!r;)if(null==e){const t=n.next();t.done?r=!0:e=t.value[Symbol.iterator]()}else{const n=e.next();n.done?e=void 0:(t=n.value,r=!0)}return null!=e?[t,e]:void 0}),void 0)}))}(function(e,n){return Jt((()=>Kt((n=>{const t=n.next();return t.done?void 0:[e(t.value),n]}),n[Symbol.iterator]())))}(e,n))}function Jt(e){return zt((()=>e()[Symbol.iterator]()))}function Yt(e,n,t){if(function(e){return Array.isArray(e)||ArrayBuffer.isView(e)}(t))return t.reduce(e,n);{let r;for(let i=0,o=t[Symbol.iterator]();r=o.next(),!r.done;i++)n=e(n,r.value,i);return n}}function Zt(e,n){Yt(((n,t)=>{e(t)}),void 0,n)}function Kt(e,n){return zt((()=>{let t=n;const r={next(){const n=e(t);if(null!=n){const e=k(n);if(null!=e)return t=e[1],{done:!1,value:e[0]}}return{done:!0,value:void 0}}};return r}))}function Qt(e,n,t){return 0===function(e,n,t){if(null==n)return null==t?0:-1;if(null==t)return 1;{let e=0,o=0;const u=0|n.length,s=0|t.length;if(u>s)return 1;if(u<s)return-1;for(;e<u&&0===o;)r=n[e],i=t[e],o=p(r,i),e+=1;return 0|o}var r,i}(0,n,t)}function Xt(){return new pn}function er(e){return new pn(e,Xt())}function nr(e,n,t){for(;;){const r=e,i=n,o=t;if(null==o.tail)return i;e=r,n=r(i,o.head),t=o.tail}}function tr(e){return nr(((e,n)=>new pn(n,e)),new pn,e)}function rr(e,n){return tr(nr(((n,t)=>new pn(e(t),n)),new pn,n))}function ir(n){return function(n,t){let r=t;for(let t=function(n){if(e(n))return n.length;{let e=0;for(const t of n)e++;return e}}(n)-1;t>=0;t--)r=new pn(n[t],r);return r}(n,new pn)}Symbol.toStringTag,Symbol.iterator,Symbol.toStringTag,Symbol.iterator;const or=fn;function ur(e){return{Dispose(){e()}}}function sr(e){var n;n=e,Ee((()=>{const e=n();return()=>{e.Dispose()}}))}function lr(e,n){return or.useMemo(e,E(n,[]))}function cr(e){const n=(r=e,or.useRef(r)),t=(i=e=>n.current(e),o=[],or.useCallback(i,E(o,[])));var r,i,o,u,s;return u=()=>{n.current=e},s=e=>(u(),ur((()=>{}))),xe((()=>{const e=s();return()=>{e.Dispose()}})),t}const ar=(()=>{try{"undefined"!=typeof window&&"function"==typeof window.addEventListener&&(window.addEventListener("testPassiveEventSupport",(e=>{}),{passive:!0}),window.removeEventListener("testPassiveEventSupport",(e=>{})))}catch(e){}return!1})();function fr(e){return x((e=>e.passive&&!ar?{capture:e.capture,once:e.once,passive:!1}:e),e)}function _r(e){return null!=(n=e)?(e=>e.capture?{capture:!0}:void 0)(k(n)):void 0;var n}function hr(e,n){return 0===n.indexOf(e)?n:void 0}function dr(e,n){return Ot(n,e)?n:void 0}function pr(e,n){return function(e){return 1===e?e=>{let n,t,r,i,o,u;return n=hr("/",e),null!=n?(t=n,"#"+t):(r=hr("#/",e),null!=r?(i=r,i):(o=hr("#",e),null!=o?(u=o,"#/"+Tt(u,1,u.length-1)):"#/"+e))}:e=>{let n,t;return n=hr("/",e),null!=n?(t=n,t):"/"+e}}(n)(function(e,n){return Array.isArray(n)?n.join("/"):Array.from(n).join("/")}(0,rr((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function gr(e,n){return function(e){return tr(Yt(((e,n)=>new pn(n,e)),new pn,e))}($t((e=>{if("string"!=typeof(n=e)||/^\s*$/.test(n))return Xt();{const n=function(e,...n){return 0===n.length?e.trimEnd():e.replace(new RegExp("["+function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}(n.join(""))+"]+$"),"")}(e,"#");if("?"===n)return Xt();if(null!=hr("?",n))return er(n);{const e=n.split("?");if(Qt(0,e,null)||1!==e.length){if(Qt(0,e,null)||2!==e.length)return Xt();if(""===e[1]){const n=e[0];return er(decodeURIComponent(n))}{const n=e[0],t=e[1];return ir([decodeURIComponent(n),"?"+t])}}{const n=e[0];return er(decodeURIComponent(n))}}}var n}),ir((null!=hr("#",e)?Tt(e,1,e.length-1):1!==n||null==dr("#",e)&&null==dr("#/",e)?e:"").split("/"))))}const vr=function(e,n,t,r){const i=or.memo(e,m(2,E(w(2,t),null)));return Zt((n=>{e.displayName=n}),C(n)),e=>or.createElement(i,function(e,n){if(null==e)return n;{const t=e;return n.key=t(n),n}}(r,e))}((e=>{const n=cr((n=>{const t=E(e.onUrlChanged,(e=>{}));return function(e,n,t){return n(gr(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(E(e.hashMode,1),t)}));if(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0){const e="hashchange",t=e=>{n(e)},r=void 0,i=lr((()=>fr(r)),[r]),o=lr((()=>_r(r)),[r]),u=lr((()=>e=>{t(e)}),[t]);sr(cr((()=>(null==i?window.addEventListener(e,u):window.addEventListener(e,u,i),ur((()=>{null==o?window.removeEventListener(e,u):window.removeEventListener(e,u,o)}))))))}else{const e="popstate",t=n,r=void 0,i=lr((()=>fr(r)),[r]),o=lr((()=>_r(r)),[r]),u=lr((()=>e=>{t(e)}),[t]);sr(cr((()=>(null==i?window.addEventListener(e,u):window.addEventListener(e,u,i),ur((()=>{null==o?window.removeEventListener(e,u):window.removeEventListener(e,u,o)}))))))}const t="CUSTOM_NAVIGATION_EVENT",r=n,i=void 0,o=lr((()=>fr(i)),[i]),u=lr((()=>_r(i)),[i]),s=lr((()=>e=>{r(e)}),[r]);sr(cr((()=>(null==o?window.addEventListener(t,s):window.addEventListener(t,s,o),ur((()=>{null==u?window.removeEventListener(t,s):window.removeEventListener(t,s,u)}))))));const l=e.application;return null==l?null:l}),void 0,void 0,void 0);class mr extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Token"]}}class wr extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["QueryString"]}}class yr extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Home","OidcSignIn","OidcSignInRedirectCallback","OidcSignInSilentCallback","NotFound"]}}function br(e){let n,t,r;switch(null!=e.tail?"oidc"===e.head&&null!=e.tail.tail?"callback"===e.tail.head?null!=e.tail.tail.tail&&null==e.tail.tail.tail.tail?(n=1,t=e.tail.tail.head):n=3:"silent-refresh"===e.tail.head&&null!=e.tail.tail.tail&&null==e.tail.tail.tail.tail?(n=2,r=e.tail.tail.head):n=3:n=3:n=0,n){case 0:{const e=window.location.search,n=new URLSearchParams(e),t=n.get("token");if(null==t)return new yr(0);{const e=t;return Zt((e=>{!function(e,n){sessionStorage.setItem("success-redirection-url",n)}(0,e)}),C(n.get("success-redirection-url"))),new yr(1,new mr(0,e))}}case 1:return new yr(2,new wr(0,t));case 2:return new yr(3,new wr(0,r));case 3:return new yr(4)}}class Sr extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Ok","Error"]}}class kr extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class Cr extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Started","Finished"]}}class Er extends vn{constructor(e){super(),this.AccessToken=e}}function xr(e){return new Er(e.access_token)}class Or extends vn{constructor(e){super(),this.Auth=e}}class Ar extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["GetUser","SignInRedirect","SignInRedirectCallback","SignInSilentCallback"]}}class Tr extends vn{constructor(e,n){super(),this.CurrentPage=e,this.Auth=n}}class Pr extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["UrlChanged","AuthMsg"]}}class Mr extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["DefaultChecked","DefaultValue","Accept","AcceptCharset","AccessKey","Action","AllowFullScreen","AllowTransparency","Alt","aria-atomic","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","Async","AutoComplete","AutoFocus","AutoPlay","Capture","CellPadding","CellSpacing","CharSet","Challenge","Checked","ClassID","ClassName","className","Cols","ColSpan","Content","ContentEditable","ContextMenu","Controls","Coords","CrossOrigin","data-toggle","DateTime","Default","Defer","Dir","Disabled","Download","Draggable","EncType","Form","FormAction","FormEncType","FormMethod","FormNoValidate","FormTarget","FrameBorder","Headers","Height","Hidden","High","Href","HrefLang","HtmlFor","HttpEquiv","Icon","Id","InputMode","Integrity","Is","KeyParams","KeyType","Kind","Label","Lang","List","Loop","Low","Manifest","MarginHeight","MarginWidth","Max","MaxLength","Media","MediaGroup","Method","Min","MinLength","Multiple","Muted","Name","NoValidate","Open","Optimum","Pattern","Placeholder","Poster","Preload","RadioGroup","ReadOnly","Rel","Required","Role","Rows","RowSpan","Sandbox","Scope","Scoped","Scrolling","Seamless","Selected","Shape","Size","Sizes","Span","SpellCheck","Src","SrcDoc","SrcLang","SrcSet","Start","Step","Summary","TabIndex","Target","Title","Type","UseMap","Value","value","Width","Wmode","Wrap","About","Datatype","Inlist","Prefix","Property","Resource","Typeof","Vocab","AutoCapitalize","AutoCorrect","AutoSave","ItemProp","ItemScope","ItemType","ItemID","ItemRef","Results","Security","Unselectable","Custom"]}}function Dr(e,n){return new Mr(64,Yt(((e,n)=>e+" "+n),e,function(e,n){return Jt((()=>Kt((n=>{let t=n.next();for(;!t.done;){const r=e(t.value);if(null!=r)return[k(r),n];t=n.next()}}),n[Symbol.iterator]())))}((e=>{const n=e[0];return e[1]&&"string"==typeof(t=n)&&0!==t.length?n:void 0;var t}),n)))}class Nr extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Nr.prototype)}}function Rr(e){return n=>{if(n.cancelToken.isCancelled)n.onCancel(new Nr);else if(n.trampoline.incrementAndCheck())n.trampoline.hijack((()=>{try{e(n)}catch(e){n.onError(e)}}));else try{e(n)}catch(e){n.onError(e)}}}function Ur(e,n,t){!function(e,n){nr(((n,t)=>{e(t)}),void 0,n)}((t=>{try{t(n)}catch(n){e(n)}}),t)}function Ir(){return Xt()}function Hr(e,n){return rr((n=>t=>{n((n=>{t(e(n))}))}),n)}function Lr(e){return er((n=>{n(e)}))}function jr(e,n,t,r){return er((i=>{e(n).then((e=>i(t(e)))).catch((e=>i(r(e))))}))}new class{Bind(e,n){return function(e,n){return Rr((t=>{e({onSuccess:e=>{try{n(e)(t)}catch(e){t.onError(e)}},onError:t.onError,onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})}))}(e,n)}Combine(e,n){return this.Bind(e,(()=>n))}Delay(e){return Rr((n=>e()(n)))}For(e,n){const t=e[Symbol.iterator]();let r=t.next();return this.While((()=>!r.done),this.Delay((()=>{const e=n(r.value);return r=t.next(),e})))}Return(e){return function(e){return Rr((n=>n.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,n){return Rr((t=>{e({onSuccess:e=>{n(),t.onSuccess(e)},onError:e=>{n(),t.onError(e)},onCancel:e=>{n(),t.onCancel(e)},cancelToken:t.cancelToken,trampoline:t.trampoline})}))}TryWith(e,n){return Rr((t=>{e({onSuccess:t.onSuccess,onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline,onError:e=>{try{n(e)(t)}catch(e){t.onError(e)}}})}))}Using(e,n){return this.TryFinally(n(e),(()=>e.Dispose()))}While(e,n){return e()?this.Bind(n,(()=>this.While(e,n))):this.Return(void 0)}Zero(){return Rr((e=>e.onSuccess(void 0)))}},new class{constructor(e=!1){this._id=0,this._cancelled=e,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,e]of this._listeners)e()}}addListener(e){const n=this._id;return this._listeners.set(this._id++,e),n}removeListener(e){return this._listeners.delete(e)}register(e,n){const t=this,r=this.addListener(null==n?e:()=>e(n));return{Dispose(){t.removeListener(r)}}}};class Fr extends gn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Writable","ReadWritable"]}}class Wr{constructor(e){var n,t;this.state=new Fr(0,(n=new Array(g(((e,n)=>h(e,n)),e,10)),t=g(((e,n)=>h(e,n)),e,10),n.fill(null,0,0+t)),0)}}function qr(e){const n=e.state;if(1===n.tag){const t=0|n.fields[1],r=0|n.fields[2],i=n.fields[0],o=(r+1)%i.length|0;return e.state=o===t?new Fr(0,i,t):new Fr(1,i,t,o),S(i[r])}}function Vr(e,n){const t=e.state;if(1===t.tag){const o=0|t.fields[1],u=0|t.fields[2],s=t.fields[0];s[o]=n;const l=(o+1)%s.length|0;e.state=l===u?new Fr(1,(r=u,i=s,Array.from(Jt((()=>Gt(function(e,n){return zt((()=>{const t=n[Symbol.iterator]();for(let n=1;n<=e;n++)if(t.next().done)throw new Error("Seq has not enough elements");return t}))}(r,i),Jt((()=>Gt(function(e,n,t=!1){return Jt((()=>{const r=n[Symbol.iterator]();return Kt((n=>{if(n<e){const e=r.next();if(!e.done)return[e.value,n+1];if(!t)throw new Error("Seq has not enough elements")}}),0)}))}(r,i),Jt((()=>{return $t((e=>Jt((()=>[null]))),(e=i.length,Jt((()=>Kt((n=>n<=e?[n,n+1]:void 0),0)))));var e})))))))))),s.length,0):new Fr(1,s,l,u)}else{const r=0|t.fields[1],i=t.fields[0];i[r]=n;const o=(r+1)%i.length|0;e.state=new Fr(1,i,o,r)}var r,i}class Br extends vn{constructor(e,n,t,r,i,o,u){super(),this.init=e,this.update=n,this.subscribe=t,this.view=r,this.setState=i,this.onError=o,this.syncDispatch=u}}function zr(e,n){const t=n.init(e),r=t[0],i=new Wr(10);let o=!1,u=r;const s=function(e,n,t){if(null!=n){if(v in n){n=n.__CURRIED__;for(let e=0;e<t.length;e++)n=n(t[e]);return n}return e=>n.apply(void 0,t.concat([e]))}}(0,n.syncDispatch,[e=>{if(o)Vr(i,e);else{o=!0;let t=S(e);for(;null!=t;){const e=k(t);try{const t=n.update(e,u),r=t[0];n.setState(r,s),Ur((t=>{n.onError([kt(St("Error in command while handling: %A"))(e),t])}),s,t[1]),u=r}catch(t){n.onError([kt(St("Unable to process the message: %A"))(e),t])}t=qr(i)}o=!1}}]);var l,c;n.setState(r,s),Ur((e=>{n.onError(["Error intitializing:",e])}),s,(l=ir([(()=>{try{return n.subscribe(r)}catch(e){return n.onError(["Unable to subscribe:",e]),Ir()}})(),t[1]]),c=l,tr(Yt(((e,n)=>nr(((e,n)=>new pn(n,e)),e,n)),new pn,c))))}class Gr extends vn{constructor(e,n,t){super(),this.model=e,this.render=n,this.equal=t}}class $r extends z{constructor(e){super(e)}shouldComponentUpdate(e,n){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}const Jr=(()=>{const e={};return e.store=S(window.sessionStorage),e})();function Yr(){return new UserManager(function(){const e=function(e){return Ot(e,"/")?e:e+"/"}(window.location.origin+window.location.pathname),n={};return n.authority=A,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=S(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(Jr),n}())}function Zr(e){return e.length>0?Tt(e,1):e}function Kr(){return Yr().getUser()}var Qr;!function(e){zr(void 0,e)}(("bank-details-app",Qr=function(e,n,t){return new Br((function(){const e=br(gr(window.location.hash,1)),n=function(){const e=br(gr(window.location.hash,1));return[new Or(new kr(0)),1===e.tag?Lr(new Ar(1,new Cr(0),e.fields[0])):2===e.tag?Lr(new Ar(2,new Cr(0),e.fields[0])):3===e.tag?Lr(new Ar(3,new Cr(0),e.fields[0])):Lr(new Ar(0,new Cr(0)))]}();return[new Tr(e,n[0]),Hr((e=>new Pr(1,e)),n[1])]}),n,(e=>Ir()),t,((e,n)=>{t(e,n)}),(e=>{var n,t;n=e[0],t=e[1],console.error(S(n),t)}),m(2,(e=>e)))}(0,((e,n)=>function(e,n){if(1===e.tag){const t=function(e,n){const t=e=>[new Or(new kr(2,new Sr(1,e))),Ir()];return 1===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?t(kt(St("SignInRedirect failed: %s"))(e.fields[0].fields[0].fields[0])):[n,Ir()]:[new Or(new kr(1)),(r=e=>{return n=e,Yr().signinRedirect(S({extraQueryParams:{irt:n.fields[0]}}));var n},i=e.fields[1],o=n=>new Ar(1,new Cr(1,new Sr(1,n.message)),e.fields[1]),er((e=>{r(i).catch((n=>{e(o(n))}))})))]:2===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?t(kt(St("failed sign in: %s"))(e.fields[0].fields[0].fields[0])):[new Or(new kr(2,new Sr(0,xr(e.fields[0].fields[0].fields[0])))),er((e=>{!function(e,n,t){history.pushState(void 0,"",pr(e,1));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}(er(""))}))]:[new Or(new kr(1)),jr((e=>{return n=e,Yr().signinRedirectCallback(Zr(n.fields[0]));var n}),e.fields[1],(n=>(window.gtag&&window.gtag("event","oidc_sign_in",{}),new Ar(2,new Cr(1,new Sr(0,n)),e.fields[1]))),(n=>new Ar(2,new Cr(1,new Sr(1,n.message)),e.fields[1])))]:3===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?t(kt(St("failed silent sign in: %s"))(e.fields[0].fields[0].fields[0])):null==e.fields[0].fields[0].fields[0]?t("silent refresh expected a user but got none"):[new Or(new kr(2,new Sr(0,xr(e.fields[0].fields[0].fields[0])))),Ir()]:[n,jr((e=>{return n=e,Yr().signinSilentCallback(Zr(n.fields[0]));var n}),e.fields[1],(n=>new Ar(3,new Cr(1,new Sr(0,n)),e.fields[1])),(n=>new Ar(3,new Cr(1,new Sr(1,n.message)),e.fields[1])))]:1===e.fields[0].tag?1===e.fields[0].fields[0].tag?t(kt(St("failed to get current user: %s"))(e.fields[0].fields[0].fields[0])):null==e.fields[0].fields[0].fields[0]?t("expected a user but got none"):[new Or(new kr(2,new Sr(0,xr(e.fields[0].fields[0].fields[0])))),Ir()]:[new Or(new kr(1)),jr(Kr,void 0,(e=>new Ar(0,new Cr(1,new Sr(0,e)))),(e=>new Ar(0,new Cr(1,new Sr(1,e.message)))))];var r,i,o}(e.fields[0],n.Auth);return[new Tr(n.CurrentPage,t[0]),Hr((e=>new Pr(1,e)),t[1])]}return[new Tr(br(e.fields[0]),n.Auth),Ir()]}(e,n)),((e,n)=>function(e,n){let t;const r=[T,A];let i,o;switch(null!=r[0]&&null!=r[1]?(i=0,o=r[0]):i=1,i){case 0:switch(e.CurrentPage.tag){case 1:case 2:case 3:t=q("div",{},"Please wait...");break;case 4:t=q("h1",{},"Not found");break;default:{const n=e.Auth.Auth;let r,i;switch(2===n.tag&&0===n.fields[0].tag?(r=0,i=n.fields[0].fields[0]):r=1,r){case 0:u=[],t=q("bank-component",xn([new On(0,o),new On(1,i.AccessToken)],1),...u);break;case 1:t=q("h1",{},"Unauthorised")}}}break;case 1:t=q("h1",{},"Invalid attribute configuration")}var u,s;return vr({onUrlChanged:e=>{n(new Pr(0,e))},application:q(B,{},q("div",xn([(s=[["container-lg",!0],["p-5",!0]],Dr("",s))],1),t))})}(e,n))),function(e,n,t){return function(e,n){return new Br(n.init,n.update,n.subscribe,y(2,n.view),e,n.onError,n.syncDispatch)}(((r,i)=>{Xe(e(((e,n)=>e===n),m(2,function(e){return w(2,y(2,e.view))}(t)),r,i),document.getElementById(n))}),t)}(((e,n,t,r)=>function(e,n,t,r){return q($r,new Gr(t,(()=>n(t,r)),e))}(e,n,t,r)),"bank-details-app",Qr)))})();
|
2
|
+
//# sourceMappingURL=bank-details-app.js.map
|