@flarehr/bank-details-app 0.1.1930 → 0.1.1936
Sign up to get free protection for your applications and to get access to all the features.
package/README.md
CHANGED
@@ -36,3 +36,13 @@ To build the project, run the following commands:
|
|
36
36
|
```bash
|
37
37
|
npm run build
|
38
38
|
```
|
39
|
+
|
40
|
+
## Launch in Development Mode
|
41
|
+
|
42
|
+
To launch the application in development mode, first open the `./Run-App-Dev.fsx` file and update the script settings, specifically the `profileId` and `apiKey` values.
|
43
|
+
|
44
|
+
Then, run the following fsharp script in the terminal:
|
45
|
+
|
46
|
+
```bash
|
47
|
+
dotnet fsi .\Run-App-Dev.fsx
|
48
|
+
```
|
package/dist/bank-details-app.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
(()=>{"use strict";var e,t,n,r,o,i,u,s,c={},l=[],a=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,f=Array.isArray;function _(e,t){for(var n in t)e[n]=t[n];return e}function d(e){var t=e.parentNode;t&&t.removeChild(e)}function h(t,n,r){var o,i,u,s={};for(u in n)"key"==u?o=n[u]:"ref"==u?i=n[u]:s[u]=n[u];if(arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(u in t.defaultProps)void 0===s[u]&&(s[u]=t.defaultProps[u]);return p(t,s,o,i,null)}function p(e,r,o,i,u){var s={type:e,props:r,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==u?++n:u};return null==u&&null!=t.vnode&&t.vnode(s),s}function m(e){return e.children}function g(e,t){this.props=e,this.context=t}function v(e,t){if(null==t)return e.__?v(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?v(e):null}function y(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return y(e)}}function w(e){(!e.__d&&(e.__d=!0)&&r.push(e)&&!b.__r++||o!==t.debounceRendering)&&((o=t.debounceRendering)||i)(b)}function b(){var e,t,n,o,i,s,c,l,a;for(r.sort(u);e=r.shift();)e.__d&&(t=r.length,o=void 0,i=void 0,s=void 0,l=(c=(n=e).__v).__e,(a=n.__P)&&(o=[],i=[],(s=_({},c)).__v=c.__v+1,A(a,c,s,n.__n,void 0!==a.ownerSVGElement,null!=c.__h?[l]:null,o,null==l?v(c):l,c.__h,i),M(o,c,i),c.__e!=l&&y(c)),r.length>t&&r.sort(u));b.__r=0}function C(e,t,n,r,o,i,u,s,a,_,d){var h,g,y,w,b,C,E,I,O,N=0,T=r&&r.__k||l,M=T.length,P=M,D=t.length;for(n.__k=[],h=0;h<D;h++)null!=(w=n.__k[h]=null==(w=t[h])||"boolean"==typeof w||"function"==typeof w?null:"string"==typeof w||"number"==typeof w||"bigint"==typeof w?p(null,w,null,null,w):f(w)?p(m,{children:w},null,null,null):w.__b>0?p(w.type,w.props,w.key,w.ref?w.ref:null,w.__v):w)?(w.__=n,w.__b=n.__b+1,-1===(I=x(w,T,E=h+N,P))?y=c:(y=T[I]||c,T[I]=void 0,P--),A(e,w,y,o,i,u,s,a,_,d),b=w.__e,(g=w.ref)&&y.ref!=g&&(y.ref&&U(y.ref,null,w),d.push(g,w.__c||b,w)),null!=b&&(null==C&&(C=b),(O=y===c||null===y.__v)?-1==I&&N--:I!==E&&(I===E+1?N++:I>E?P>D-E?N+=I-E:N--:N=I<E&&I==E-1?I-E:0),E=h+N,"function"!=typeof w.type||I===E&&y.__k!==w.__k?"function"==typeof w.type||I===E&&!O?void 0!==w.__d?(a=w.__d,w.__d=void 0):a=b.nextSibling:a=k(e,b,a):a=S(w,a,e),"function"==typeof n.type&&(n.__d=a))):(y=T[h])&&null==y.key&&y.__e&&(y.__e==a&&(a=v(y)),R(y,y,!1),T[h]=null);for(n.__e=C,h=M;h--;)null!=T[h]&&("function"==typeof n.type&&null!=T[h].__e&&T[h].__e==n.__d&&(n.__d=T[h].__e.nextSibling),R(T[h],T[h]))}function S(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?S(r,t,n):k(n,r.__e,t));return t}function E(e,t){return t=t||[],null==e||"boolean"==typeof e||(f(e)?e.some((function(e){E(e,t)})):t.push(e)),t}function k(e,t,n){return null==n||n.parentNode!==e?e.insertBefore(t,null):t==n&&null!=t.parentNode||e.insertBefore(t,n),t.nextSibling}function x(e,t,n,r){var o=e.key,i=e.type,u=n-1,s=n+1,c=t[n];if(null===c||c&&o==c.key&&i===c.type)return n;if(r>(null!=c?1:0))for(;u>=0||s<t.length;){if(u>=0){if((c=t[u])&&o==c.key&&i===c.type)return u;u--}if(s<t.length){if((c=t[s])&&o==c.key&&i===c.type)return s;s++}}return-1}function I(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||a.test(t)?n:n+"px"}function O(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||I(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||I(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?T:N,i):e.removeEventListener(t,i?T:N,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function N(e){return this.l[e.type+!1](t.event?t.event(e):e)}function T(e){return this.l[e.type+!0](t.event?t.event(e):e)}function A(e,n,r,o,i,u,s,c,l,a){var d,h,p,v,y,w,b,S,E,k,x,I,O,N,T,A=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(l=r.__h,c=n.__e=r.__e,n.__h=null,u=[c]),(d=t.__b)&&d(n);e:if("function"==typeof A)try{if(S=n.props,E=(d=A.contextType)&&o[d.__c],k=d?E?E.props.value:d.__:o,r.__c?b=(h=n.__c=r.__c).__=h.__E:("prototype"in A&&A.prototype.render?n.__c=h=new A(S,k):(n.__c=h=new g(S,k),h.constructor=A,h.render=D),E&&E.sub(h),h.props=S,h.state||(h.state={}),h.context=k,h.__n=o,p=h.__d=!0,h.__h=[],h._sb=[]),null==h.__s&&(h.__s=h.state),null!=A.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=_({},h.__s)),_(h.__s,A.getDerivedStateFromProps(S,h.__s))),v=h.props,y=h.state,h.__v=n,p)null==A.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==A.getDerivedStateFromProps&&S!==v&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(S,k),!h.__e&&(null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(S,h.__s,k)||n.__v===r.__v)){for(n.__v!==r.__v&&(h.props=S,h.state=h.__s,h.__d=!1),n.__e=r.__e,n.__k=r.__k,n.__k.forEach((function(e){e&&(e.__=n)})),x=0;x<h._sb.length;x++)h.__h.push(h._sb[x]);h._sb=[],h.__h.length&&s.push(h);break e}null!=h.componentWillUpdate&&h.componentWillUpdate(S,h.__s,k),null!=h.componentDidUpdate&&h.__h.push((function(){h.componentDidUpdate(v,y,w)}))}if(h.context=k,h.props=S,h.__P=e,h.__e=!1,I=t.__r,O=0,"prototype"in A&&A.prototype.render){for(h.state=h.__s,h.__d=!1,I&&I(n),d=h.render(h.props,h.state,h.context),N=0;N<h._sb.length;N++)h.__h.push(h._sb[N]);h._sb=[]}else do{h.__d=!1,I&&I(n),d=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++O<25);h.state=h.__s,null!=h.getChildContext&&(o=_(_({},o),h.getChildContext())),p||null==h.getSnapshotBeforeUpdate||(w=h.getSnapshotBeforeUpdate(v,y)),C(e,f(T=null!=d&&d.type===m&&null==d.key?d.props.children:d)?T:[T],n,r,o,i,u,s,c,l,a),h.base=n.__e,n.__h=null,h.__h.length&&s.push(h),b&&(h.__E=h.__=null)}catch(e){n.__v=null,(l||null!=u)&&(n.__e=c,n.__h=!!l,u[u.indexOf(c)]=null),t.__e(e,n,r)}else null==u&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=P(r.__e,n,r,o,i,u,s,l,a);(d=t.diffed)&&d(n)}function M(e,n,r){for(var o=0;o<r.length;o++)U(r[o],r[++o],r[++o]);t.__c&&t.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){t.__e(e,n.__v)}}))}function P(t,n,r,o,i,u,s,l,a){var _,h,p,m=r.props,g=n.props,y=n.type,w=0;if("svg"===y&&(i=!0),null!=u)for(;w<u.length;w++)if((_=u[w])&&"setAttribute"in _==!!y&&(y?_.localName===y:3===_.nodeType)){t=_,u[w]=null;break}if(null==t){if(null===y)return document.createTextNode(g);t=i?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,g.is&&g),u=null,l=!1}if(null===y)m===g||l&&t.data===g||(t.data=g);else{if(u=u&&e.call(t.childNodes),h=(m=r.props||c).dangerouslySetInnerHTML,p=g.dangerouslySetInnerHTML,!l){if(null!=u)for(m={},w=0;w<t.attributes.length;w++)m[t.attributes[w].name]=t.attributes[w].value;(p||h)&&(p&&(h&&p.__html==h.__html||p.__html===t.innerHTML)||(t.innerHTML=p&&p.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||O(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||O(e,i,t[i],n[i],r)}(t,g,m,i,l),p)n.__k=[];else if(C(t,f(w=n.props.children)?w:[w],n,r,o,i&&"foreignObject"!==y,u,s,u?u[0]:r.__k&&v(r,0),l,a),null!=u)for(w=u.length;w--;)null!=u[w]&&d(u[w]);l||("value"in g&&void 0!==(w=g.value)&&(w!==t.value||"progress"===y&&!w||"option"===y&&w!==m.value)&&O(t,"value",w,m.value,!1),"checked"in g&&void 0!==(w=g.checked)&&w!==t.checked&&O(t,"checked",w,m.checked,!1))}return t}function U(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function R(e,n,r){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||U(o,null,n)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){t.__e(e,n)}o.base=o.__P=null,e.__c=void 0}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&R(o[i],n,r||"function"!=typeof e.type);r||null==e.__e||d(e.__e),e.__=e.__e=e.__d=void 0}function D(e,t,n){return this.constructor(e,n)}function H(n,r,o){var i,u,s,l;t.__&&t.__(n,r),u=(i="function"==typeof o)?null:o&&o.__k||r.__k,s=[],l=[],A(r,n=(!i&&o||r).__k=h(m,null,[n]),u||c,c,void 0!==r.ownerSVGElement,!i&&o?[o]:u?null:r.firstChild?e.call(r.childNodes):null,s,!i&&o?o:u?u.__e:r.firstChild,i,l),M(s,n,l)}function G(e,t){H(e,t,G)}function F(t,n,r){var o,i,u,s,c=_({},t.props);for(u in t.type&&t.type.defaultProps&&(s=t.type.defaultProps),n)"key"==u?o=n[u]:"ref"==u?i=n[u]:c[u]=void 0===n[u]&&void 0!==s?s[u]:n[u];return arguments.length>2&&(c.children=arguments.length>3?e.call(arguments,2):r),p(t.type,c,o||t.key,i||t.ref,null)}e=l.slice,t={__e:function(e,t,n,r){for(var o,i,u;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),u=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),u=o.__d),u)return o.__E=o}catch(t){e=t}throw e}},n=0,g.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=_({},this.state),"function"==typeof e&&(e=e(_({},n),this.props)),e&&_(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),w(this))},g.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),w(this))},g.prototype.render=m,r=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,u=function(e,t){return e.__v.__b-t.__v.__b},b.__r=0,s=0;var j,L,W,V,$=0,B=[],z=[],q=t.__b,J=t.__r,Y=t.diffed,Z=t.__c,X=t.unmount;function K(e,n){t.__h&&t.__h(L,e,$||n),$=0;var r=L.__H||(L.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:z}),r.__[e]}function Q(e){return $=1,ee(ae,e)}function ee(e,t,n){var r=K(j++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ae(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=L,!L.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var u=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(u=!0)}})),!(!u&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};L.u=!0;var i=L.shouldComponentUpdate,u=L.componentWillUpdate;L.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}u&&u.call(this,e,t,n)},L.shouldComponentUpdate=o}return r.__N||r.__}function te(e,n){var r=K(j++,3);!t.__s&&le(r.__H,n)&&(r.__=e,r.i=n,L.__H.__h.push(r))}function ne(e,n){var r=K(j++,4);!t.__s&&le(r.__H,n)&&(r.__=e,r.i=n,L.__h.push(r))}function re(e,t){var n=K(j++,7);return le(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function oe(){for(var e;e=B.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(se),e.__H.__h.forEach(ce),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}}t.__b=function(e){L=null,q&&q(e)},t.__r=function(e){J&&J(e),j=0;var t=(L=e.__c).__H;t&&(W===L?(t.__h=[],L.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=z,e.__N=e.i=void 0}))):(t.__h.forEach(se),t.__h.forEach(ce),t.__h=[],j=0)),W=L},t.diffed=function(e){Y&&Y(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==B.push(n)&&V===t.requestAnimationFrame||((V=t.requestAnimationFrame)||ue)(oe)),n.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==z&&(e.__=e.__V),e.i=void 0,e.__V=z}))),W=L=null},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach(se),e.__h=e.__h.filter((function(e){return!e.__||ce(e)}))}catch(r){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(r,e.__v)}})),Z&&Z(e,n)},t.unmount=function(e){X&&X(e);var n,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{se(e)}catch(e){n=e}})),r.__H=void 0,n&&t.__e(n,r.__v))};var ie="function"==typeof requestAnimationFrame;function ue(e){var t,n=function(){clearTimeout(r),ie&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ie&&(t=requestAnimationFrame(n))}function se(e){var t=L,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),L=t}function ce(e){var t=L;e.__c=e.__(),L=t}function le(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function ae(e,t){return"function"==typeof t?t(e):t}function fe(e,t){for(var n in t)e[n]=t[n];return e}function _e(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function de(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}function he(e){this.props=e}(he.prototype=new g).isPureReactComponent=!0,he.prototype.shouldComponentUpdate=function(e,t){return _e(this.props,e)||_e(this.state,t)};var pe=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),pe&&pe(e)};var me="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,ge=function(e,t){return null==e?null:E(E(e).map(t))},ve={map:ge,forEach:ge,count:function(e){return e?E(e).length:0},only:function(e){var t=E(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:E},ye=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);ye(e,t,n,r)};var we=t.unmount;function be(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=fe({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return be(e,t,n)}))),e}function Ce(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Ce(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function Se(){this.__u=0,this.t=null,this.__b=null}function Ee(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ke(){this.u=null,this.o=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),we&&we(e)},(Se.prototype=new g).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=Ee(r.__v),i=!1,u=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=u;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Ce(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(u,u)},Se.prototype.componentWillUnmount=function(){this.t=[]},Se.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=be(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&h(m,null,e.fallback);return o&&(o.__h=null),[h(m,null,t.__a?null:e.children),o]};var xe=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Ie(e){return this.getChildContext=function(){return e.context},e.children}function Oe(e){var t=this,n=e.i;t.componentWillUnmount=function(){H(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),H(h(Ie,{context:t.context},e.__v),t.l)}(ke.prototype=new g).__a=function(e){var t=this,n=Ee(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),xe(t,e,r)):o()};n?n(i):i()}},ke.prototype.render=function(e){this.u=null,this.o=new Map;var t=E(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},ke.prototype.componentDidUpdate=ke.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){xe(e,n,t)}))};var Ne="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Te=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ae=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Me=/[A-Z0-9]/g,Pe="undefined"!=typeof document,Ue=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function Re(e,t,n){return null==t.__k&&(t.textContent=""),H(e,t),"function"==typeof n&&n(),e?e.__c:null}g.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(g.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var De=t.event;function He(){}function Ge(){return this.cancelBubble}function Fe(){return this.defaultPrevented}t.event=function(e){return De&&(e=De(e)),e.persist=He,e.isPropagationStopped=Ge,e.isDefaultPrevented=Fe,e.nativeEvent=e};var je,Le={enumerable:!1,configurable:!0,get:function(){return this.class}},We=t.vnode;t.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||Pe&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var u=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"ondoubleclick"===u?o="ondblclick":"onchange"!==u||"input"!==n&&"textarea"!==n||Ue(t.type)?"onfocus"===u?o="onfocusin":"onblur"===u?o="onfocusout":Ae.test(o)?o=u:-1===n.indexOf("-")&&Te.test(o)?o=o.replace(Me,"-$&").toLowerCase():null===i&&(i=void 0):u=o="oninput","oninput"===u&&r[o=u]&&(o="oninputCapture"),r[o]=i}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=E(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=E(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",Le)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Ne,We&&We(e)};var Ve=t.__r;t.__r=function(e){Ve&&Ve(e),je=e.__c};var $e=t.diffed;t.diffed=function(e){$e&&$e(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),je=null};var Be={ReactCurrentDispatcher:{current:{readContext:function(e){return je.__n[e.__c].props.value}}}};function ze(e){return!!e&&e.$$typeof===Ne}function qe(e){return!!e.__k&&(H(null,e),!0)}function Je(e){e()}var Ye={useState:Q,useId:function(){var e=K(j++,11);if(!e.__){for(var t=L.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__},useReducer:ee,useEffect:te,useLayoutEffect:ne,useInsertionEffect:ne,useTransition:function(){return[!1,Je]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,t){var n=t(),r=Q({h:{__:n,v:t}}),o=r[0].h,i=r[1];return ne((function(){o.__=n,o.v=t,de(o.__,t())||i({h:o})}),[e,n,t]),te((function(){return de(o.__,o.v())||i({h:o}),e((function(){de(o.__,o.v())||i({h:o})}))}),[e]),n},startTransition:Je,useRef:function(e){return $=5,re((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){$=6,ne((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))},useMemo:re,useCallback:function(e,t){return $=8,re((function(){return e}),t)},useContext:function(e){var t=L.context[e.__c],n=K(j++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(L)),t.props.value):e.__},useDebugValue:function(e,n){t.useDebugValue&&t.useDebugValue(n?n(e):e)},version:"17.0.2",Children:ve,render:Re,hydrate:function(e,t,n){return G(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:qe,createPortal:function(e,t){var n=h(Oe,{__v:e,i:t});return n.containerInfo=t,n},createElement:h,createContext:function(e,t){var n={__c:t="__cC"+s++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,w(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return h.bind(null,e)},cloneElement:function(e){return ze(e)?F.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:m,isValidElement:ze,isElement:ze,isFragment:function(e){return ze(e)&&e.type===m},findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:g,PureComponent:he,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:_e(this.props,e)}function r(t){return this.shouldComponentUpdate=n,h(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(t){var n=fe({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=me,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:m,Suspense:Se,SuspenseList:ke,lazy:function(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return h(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Be};function Ze(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Xe(e){(function(e){return null!=e&&"function"==typeof e.Dispose})(e)&&e.Dispose()}function Ke(e,t){return Object.getPrototypeOf(e)?.constructor===Object.getPrototypeOf(t)?.constructor}Symbol.iterator;class Qe{constructor(e){this.iter=e,this.current=null}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this.iter.next();return this.current=e.value,!e.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function et(e){return function(e){return null!=e&&"function"==typeof e.GetEnumerator}(e)?e.GetEnumerator():new Qe(e[Symbol.iterator]())}function tt(e){return{next(){const t=e["System.Collections.IEnumerator.MoveNext"]();return{done:!t,value:t?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0}}}}function nt(e,t){return e.toString(10).padStart(t,"0")}function rt(e){const t=e;return"number"==typeof t.offset?t.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}class ot{static id(e){return ot.idMap.has(e)||ot.idMap.set(e,++ot.count),ot.idMap.get(e)}}function it(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=33*n^e.charCodeAt(t++);return n}function ut(e){return 2654435761*e|0}function st(e){let t=0;const n=e.length;for(let r=0;r<n;r++)t=(t<<5)+t^e[r];return t}function ct(e){if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return ut(e);case"bigint":return function(e){return it(e.toString(32))}(e);case"string":return it(e);default:if(function(e){return null!=e&&"function"==typeof e.GetHashCode}(e))return e.GetHashCode();if(Ze(e))return function(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=ct(e[r]);return st(n)}(e);if(e instanceof Date)return function(e){return e.getTime()}(e);if(Object.getPrototypeOf(e)?.constructor===Object){const t=Object.values(e).map((e=>ct(e)));return st(t)}return ut(ot.id(e))}}function lt(e,t){return function(e,t,n){if(null==e)return null==t;if(null==t)return!1;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}(e,t,at)}function at(e,t){return e===t||(null==e?null==t:null!=t&&(function(e){return null!=e&&"function"==typeof e.Equals}(e)?e.Equals(t):Ze(e)?Ze(t)&<(e,t):"object"==typeof e&&(e instanceof Date?t instanceof Date&&0===ft(e,t):Object.getPrototypeOf(e)?.constructor===Object&&function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let o=0;o<n.length;o++)if(n[o]!==r[o]||!at(e[n[o]],t[r[o]]))return!1;return!0}(e,t))))}function ft(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+rt(e),r=t.getTime()+rt(t)),n===r?0:n<r?-1:1}function _t(e,t){return function(e,t,n){if(null==e)return null==t?0:1;if(null==t)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,o=0;r<e.length;r++)if(o=n(e[r],t[r]),0!==o)return o;return 0}(e,t,dt)}function dt(e,t){return e===t?0:null==e?null==t?0:-1:null==t?1:function(e){return null!=e&&"function"==typeof e.CompareTo}(e)?e.CompareTo(t):Ze(e)?Ze(t)?_t(e,t):-1:"object"!=typeof e?e<t?-1:1:e instanceof Date?t instanceof Date?ft(e,t):-1:Object.getPrototypeOf(e)?.constructor===Object?function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return n.length<r.length?-1:1;n.sort(),r.sort();for(let o=0,i=0;o<n.length;o++){const u=n[o];if(u!==r[o])return u<r[o]?-1:1;if(i=dt(e[u],t[u]),0!==i)return i}return 0}(e,t):-1}ot.idMap=new WeakMap,ot.count=0;const ht=new WeakMap;function pt(e){if(null==e)return null;const t=(t,n)=>e(t)(n);return ht.set(t,e),t}function mt(e){return ht.get(e)??(t=>n=>e(t,n))}function gt(e,t=0){if(null!=e&&"object"==typeof e){if("function"==typeof e.toString)return e.toString();if(Symbol.iterator in e)return function(e){let t=0,n="[";for(const r of e){if(0===t)n+=gt(r);else{if(100===t){n+="; ...";break}n+="; "+gt(r)}t++}return n+"]"}(e);{const n=Object.getPrototypeOf(e)?.constructor;return n===Object&&t<10?"{ "+Object.entries(e).map((([e,n])=>e+" = "+gt(n,t+1))).join("\n ")+" }":n?.name??""}}return String(e)}class vt{get name(){return this.cases()[this.tag]}toJSON(){return 0===this.fields.length?this.name:[this.name].concat(this.fields)}toString(){return function(e,t){if(0===t.length)return e;{let n,r=!0;return 1===t.length?(n=gt(t[0]),r=n.indexOf(" ")>=0):n=t.map((e=>gt(e))).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>ct(e)));return e.splice(0,0,ut(this.tag)),st(e)}Equals(e){return this===e||!!Ke(this,e)&&this.tag===e.tag&<(this.fields,e.fields)}CompareTo(e){return this===e?0:Ke(this,e)?this.tag===e.tag?_t(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class yt{toJSON(){return function(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}(this)}toString(){return e=this,"{ "+Object.entries(e).map((([e,t])=>e+" = "+gt(t))).join("\n ")+" }";var e}GetHashCode(){return function(e){const t=Object.values(e).map((e=>ct(e)));return st(t)}(this)}Equals(e){return function(e,t){if(e===t)return!0;if(Ke(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!at(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(Ke(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=dt(e[n[r]],t[n[r]]);if(0!==o)return o}return 0}return-1}(this,e)}}const wt=0,bt=1,Ct=2,St=3,Et=4;function kt(e,t){return e.replace(/[a-z]?[A-Z]/g,(e=>1===e.length?e.toLowerCase():e.charAt(0)+t+e.charAt(1).toLowerCase()))}class xt extends vt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["backend-url","access-token"]}}class It{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return ct(this.value)}Equals(e){return null!=e&&at(this.value,e instanceof It?e.value:e)}CompareTo(e){return null==e?1:dt(this.value,e instanceof It?e.value:e)}}function Ot(e){if(null==e)throw new Error("Option has no value");return e instanceof It?e.value:e}function Nt(e){return null==e||e instanceof It?new It(e):e}function Tt(e){return null==e?[]:[Ot(e)]}function At(e,t){return null!=e?Ot(e):t}function Mt(e,t){return null!=t?Nt(e(Ot(t))):void 0}const Pt=function(e){return null==e?void 0:e}(document.querySelector("#bank-details-app")),Ut=Mt((e=>e.getAttribute("data-identity-url")),Pt),Rt=Mt((e=>e.getAttribute("data-backend-url")),Pt),Dt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Ht=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Gt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ft=["January","February","March","April","May","June","July","August","September","October","November","December"];function jt(e,t,n){let r=0,o=t;for(;o<e.length&&e[o]===n;)o++,r++;return r}function Lt(e,t){return t>=e.length-1?-1:e.charCodeAt(t+1)}function Wt(e,t){let n=t;const r=e[t];let o="",i=!1;for(;t<e.length;){const n=e[++t];if(n===r){i=!0;break}if("\\"===n){if(!(t<e.length))throw new Error("Invalid string format");o+=e[++t]}else o+=n}if(!i)throw new Error(`Invalid string format could not find matching quote for ${r}`);return[o,t-n+1]}function Vt(e,t,n){let r=0,o=0,i="";const u=n?qt(e.getTime(),1):e;for(;r<t.length;){const e=t[r];switch(e){case"d":switch(o=jt(t,r,"d"),r+=o,o){case 1:i+=Yt(u);break;case 2:i+=nt(Yt(u),2);break;case 3:i+=Dt[tn(u)];break;case 4:i+=Ht[tn(u)]}break;case"f":if(o=jt(t,r,"f"),r+=o,o<=3){const e=10**(3-o);i+=nt(Math.floor(Xt(u)/e),o)}else o<=7&&(i+=(""+Xt(u)).padEnd(o,"0"));break;case"F":if(o=jt(t,r,"F"),r+=o,o<=3){const e=10**(3-o),t=Math.floor(Xt(u)/e);0!=t&&(i+=nt(t,o))}else if(o<=7){const e=Xt(u);0!=e&&(i+=nt(e,3))}break;case"g":o=jt(t,r,"g"),r+=o,o<=2&&(i+="A.D.");break;case"h":switch(o=jt(t,r,"h"),r+=o,o){case 1:i+=Zt(u)%12;break;case 2:i+=nt(Zt(u)%12,2)}break;case"H":switch(o=jt(t,r,"H"),r+=o,o){case 1:i+=Zt(u);break;case 2:i+=nt(Zt(u),2)}break;case"K":if(o=jt(t,r,"K"),r+=o,1===o)switch($t(u)){case 1:i+="Z";break;case 2:i+=Bt(-6e4*u.getTimezoneOffset())}break;case"m":switch(o=jt(t,r,"m"),r+=o,o){case 1:i+=Kt(u);break;case 2:i+=nt(Kt(u),2)}break;case"M":switch(o=jt(t,r,"M"),r+=o,o){case 1:i+=Qt(u);break;case 2:i+=nt(Qt(u),2);break;case 3:i+=Gt[Qt(u)-1];break;case 4:i+=Ft[Qt(u)-1]}break;case"s":switch(o=jt(t,r,"s"),r+=o,o){case 1:i+=en(u);break;case 2:i+=nt(en(u),2)}break;case"t":switch(o=jt(t,r,"t"),r+=o,o){case 1:i+=u.getHours()<12?"A":"P";break;case 2:i+=u.getHours()<12?"AM":"PM"}break;case"y":switch(o=jt(t,r,"y"),r+=o,o){case 1:i+=u.getFullYear()%100;break;case 2:i+=nt(u.getFullYear()%100,2);break;case 3:i+=nt(u.getFullYear(),3);break;case 4:i+=nt(u.getFullYear(),4);break;case 5:i+=nt(u.getFullYear(),5)}break;case"z":o=jt(t,r,"z"),r+=o;let s="";switch($t(u)){case 1:s="+00:00";break;case 2:s=Bt(-6e4*u.getTimezoneOffset());break;case 0:s=Bt(-6e4*Jt(u).getTimezoneOffset())}const c="-"===s[0]?"-":"+",l=parseInt(s.substring(1,3),10),a=parseInt(s.substring(4,6),10);switch(o){case 1:i+=`${c}${l}`;break;case 2:i+=`${c}${nt(l,2)}`;break;default:i+=`${c}${nt(l,2)}:${nt(a,2)}`}break;case":":i+=":",r++;break;case"/":i+="/",r++;break;case"'":case'"':const[f,_]=Wt(t,r);i+=f,r+=_;break;case"%":const d=Lt(t,r);if(!(d>=0&&d!=="%".charCodeAt(0)))throw new Error("Invalid format string");r+=2,i+=Vt(u,String.fromCharCode(d),n);break;case"\\":const h=Lt(t,r);if(!(h>=0))throw new Error("Invalid format string");r+=2,i+=String.fromCharCode(h);break;default:r++,i+=e}}return i}function $t(e){return e.kind||0}function Bt(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+nt(~~(e/36e5),2)+":"+nt(n,2)}function zt(e,t){const n=e.toISOString();return"first"===t?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function qt(e,t){const n=new Date(e);return n.kind=0|(null==t?0:t),n}function Jt(e){return 2===e.kind?e:qt(e.getTime(),2)}function Yt(e){return 1===e.kind?e.getUTCDate():e.getDate()}function Zt(e){return 1===e.kind?e.getUTCHours():e.getHours()}function Xt(e){return 1===e.kind?e.getUTCMilliseconds():e.getMilliseconds()}function Kt(e){return 1===e.kind?e.getUTCMinutes():e.getMinutes()}function Qt(e){return(1===e.kind?e.getUTCMonth():e.getMonth())+1}function en(e){return 1===e.kind?e.getUTCSeconds():e.getSeconds()}function tn(e){return 1===e.kind?e.getUTCDay():e.getDay()}const nn=Symbol("numeric");function rn(e,t){return"number"==typeof e?e.toPrecision(t):"bigint"==typeof e?e:e[nn]().toPrecision(t)}function on(e,t){return"number"==typeof e?e.toExponential(t):"bigint"==typeof e?e:e[nn]().toExponential(t)}function un(e){return"number"==typeof e?(Number(e)>>>0).toString(16):"bigint"==typeof e?BigInt.asUintN(64,e).toString(16):e[nn]().toHex()}function sn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}const cn=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g;function ln(e){return{input:e,cont:(t=e,e=>{cn.lastIndex=0;const n=[],r=[];let o=0,i=cn.exec(t);for(;i;){const e=i.index+(i[1]||"").length;n.push(t.substring(o,e).replace(/%%/g,"%")),r.push(i),o=cn.lastIndex,cn.lastIndex-=1,i=cn.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(o).replace(/%%/g,"%")),_n(e,n,r))})};var t}function an(e){return function(e,t){return"string"==typeof t?e(t):t.cont(e)}((e=>e),e)}function fn(e,t,n,r,o){let i="";if(t=t||"",o=o||"",function(e){return"number"==typeof e||"bigint"==typeof e||e?.[nn]}(e))switch("x"!==o.toLowerCase()&&(function(e,t){return function(e,t){return"number"==typeof e||"bigint"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}(e,t)<0}(e,0)?(e=function(e,t){return"number"==typeof e?-1*e:"bigint"==typeof e?e*BigInt(-1):e[nn]().multiply(-1)}(e),i="-"):t.indexOf(" ")>=0?i=" ":t.indexOf("+")>=0&&(i="+")),r=null==r?null:parseInt(r,10),o){case"f":case"F":e=function(e,t){return"number"==typeof e?e.toFixed(t):"bigint"==typeof e?e:e[nn]().toFixed(t)}(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?rn(e,r):rn(e);break;case"e":case"E":e=null!=r?on(e,r):on(e);break;case"x":e=un(e);break;case"X":e=un(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?function(e,t,n){return null!=e.offset?function(e,t){const n=new Date(e.getTime()+(e.offset??0));if("string"!=typeof t)return n.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+Bt(e.offset??0);if(1!==t.length)return Vt(n,t,!0);switch(t){case"D":case"d":return zt(n,"first");case"T":case"t":return zt(n,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+Bt(t)}(n,e.offset??0);default:throw new Error("Unrecognized Date print format")}}(e,t):function(e,t){const n=1===e.kind;if("string"!=typeof t)return n?e.toUTCString():e.toLocaleString();if(1!==t.length)return Vt(e,t,n);switch(t){case"D":case"d":return n?zt(e,"first"):e.toLocaleDateString();case"T":case"t":return n?zt(e,"second"):e.toLocaleTimeString();case"O":case"o":return function(e,t){if(t)return e.toISOString();{const t=null==e.kind||2===e.kind;return nt(e.getFullYear(),4)+"-"+nt(e.getMonth()+1,2)+"-"+nt(e.getDate(),2)+"T"+nt(e.getHours(),2)+":"+nt(e.getMinutes(),2)+":"+nt(e.getSeconds(),2)+"."+nt(e.getMilliseconds(),3)+(t?Bt(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}(e):gt(e);if(n="number"==typeof n?n:parseInt(n,10),isNaN(n))e=i+e;else{const r=t.indexOf("0")>=0,o=t.indexOf("-")>=0,u=o||!r?" ":"0";e="0"===u?i+(e=hn(e,n-i.length,u,o)):hn(i+e,n,u,o)}return e}function _n(e,t,n,r="",o=-1){return(...i)=>{let u=r;const s=t.slice(),c=n.slice();for(const e of i){const[,,t,n,r,i]=c[0];let l=n;if(o>=0)l=o,o=-1;else if("*"===l){if(e<0)throw new Error("Non-negative number required");o=e;continue}u+=s[0],u+=fn(e,t,l,r,i),s.splice(0,1),c.splice(0,1)}return 0===c.length?(u+=s[0],e(u)):_n(e,s,c,u,o)}}function dn(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function hn(e,t,n,r){n=n||" ",t-=e.length;for(let o=0;o<t;o++)e=r?e+n:n+e;return e}function pn(e,t,n){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=n?e.substr(t,n):e.substr(t)}const mn="Collection was empty.";function gn(e,t,n,r){const o=0|t;return e.fill(r,o,o+n)}function vn(e,t,n){if(null==t)return null==n;if(null==n)return!1;{let r=0,o=!0;const i=0|t.length,u=0|n.length;if(i>u)return!1;if(i<u)return!1;for(;r<i&&o;)o=e(yn(r,t),yn(r,n)),r=r+1|0;return o}}function yn(e,t){if(e<0||e>=t.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");return t[e]}function wn(e,t,n){if(t<0||t>=e.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");e[t]=n}class bn extends yt{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+dn("; ",this)+"]"}Equals(e){return this===e||((e,t)=>{e:for(;;){const n=e,r=t,o=n.tail,i=r.tail;if(null!=o){if(null!=i){const u=Ot(o),s=Ot(i);if(at(n.head,r.head)){e=u,t=s;continue e}return!1}return!1}return null==i}})(this,e)}GetHashCode(){return 0|((e,t,n)=>{for(;;){const r=e,o=t,i=n,u=i.tail;if(null==u)return 0|o;{const s=Ot(u);if(r>18)return 0|o;e=r+1,t=(o<<1)+ct(i.head)+631*r,n=s}}})(0,0,this)}toJSON(){return Array.from(this)}CompareTo(e){return 0|((e,t)=>{e:for(;;){const n=e,r=t,o=n.tail,i=r.tail;if(null!=o){if(null!=i){const u=Ot(o),s=Ot(i),c=0|dt(n.head,r.head);if(0===c){e=u,t=s;continue e}return 0|c}return 1}return null!=i?-1:0}})(this,e)}GetEnumerator(){return new Cn(this)}[Symbol.iterator](){return tt(et(this))}"System.Collections.IEnumerable.GetEnumerator"(){return et(this)}}class Cn{constructor(e){this.xs=e,this.it=this.xs,this.current=null}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this,t=e.it.tail;if(null!=t){const n=Ot(t);return e.current=e.it.head,e.it=n,!0}return!1}"System.Collections.IEnumerator.Reset"(){const e=this;e.it=e.xs,e.current=null}Dispose(){}}function Sn(){return new bn(null,void 0)}function En(e,t){return new bn(e,t)}function kn(e){return null==e.tail}function xn(e){if(null!=e.tail)return e.head;throw new Error(mn+"\\nParameter name: list")}function In(e){const t=e.tail;if(null!=t)return Ot(t);throw new Error(mn+"\\nParameter name: list")}function On(){return Sn()}function Nn(e,t){return En(e,t)}function Tn(e){return En(e,Sn())}function An(e){return kn(e)}function Mn(e){return xn(e)}function Pn(e){return In(e)}function Un(e){const t=0|function(e){return 0|((e,t)=>{for(;;){const n=e,r=t.tail;if(null==r)return 0|n;e=n+1,t=Ot(r)}})(0,e)}(e),n=gn(new Array(t),0,t,null);return((e,t)=>{for(;;){const r=e,o=t;if(kn(o))break;wn(n,r,xn(o)),e=r+1,t=In(o)}})(0,e),n}function Rn(e,t,n){let r=t,o=n;for(;!kn(o);)r=e(r,Mn(o)),o=In(o);return r}function Dn(e,t){Rn(((t,n)=>{e(n)}),void 0,t)}function Hn(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=En(yn(t,e),n);return n}function Gn(e){return Hn(e,Sn())}function Fn(e,t){return Rn(((e,t)=>En(t,e)),t,function(e){return Rn(((e,t)=>En(t,e)),Sn(),e)}(e))}function jn(e,t){const n=Sn(),r=Rn(((t,n)=>{const r=new bn(e(n),void 0);return t.tail=r,r}),n,t),o=Sn();return r.tail=o,In(n)}function Ln(e,t){const n=Sn(),r=Rn(((t,n)=>{if(e(n)){const e=new bn(n,void 0);return t.tail=e,e}return t}),n,t),o=Sn();return r.tail=o,In(n)}const Wn="Enumeration already finished.",Vn="Enumeration has not started. Call MoveNext.",$n="The input sequence has an insufficient number of elements.";function Bn(){throw new Error(Vn)}function zn(){throw new Error(Wn)}class qn{constructor(e){this.f=e}toString(){let e=0,t="seq [";const n=et(this);try{for(;e<4&&n["System.Collections.IEnumerator.MoveNext"]();)e>0&&(t+="; "),t+=gt(n["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(t+="; ..."),t+"]"}finally{Xe(n)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return tt(et(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class Jn{constructor(e,t,n){this.current=e,this.next=t,this.dispose=n}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current()}"System.Collections.IEnumerator.get_Current"(){return this.current()}"System.Collections.IEnumerator.MoveNext"(){return this.next()}"System.Collections.IEnumerator.Reset"(){!function(){throw new Error("Reset is not supported on this enumerator.")}()}Dispose(){this.dispose()}}function Yn(e,t,n){return new Jn(e,t,n)}function Zn(e,t,n){let r,o=!1,i=Nt(e());const u=()=>{if(null!=i){const e=Ot(i);try{n(e)}finally{i=void 0}}},s=()=>{try{u()}finally{r=void 0}};return Yn((()=>(o||Bn(),null!=r?Ot(r):zn())),(()=>{if(o||(o=!0),null!=i){const e=Ot(i);let n;try{n=t(e)}catch(e){throw s(),e}return null!=n?(r=n,!0):(s(),!1)}return!1}),u)}function Xn(e){return function(e){return new qn(e)}(e)}function Kn(e){return t="source",null==e&&function(e){throw new Error(e)}(t),et(e);var t}function Qn(e){return Xn((()=>et(e())))}function er(e){return Xn((()=>function(e){let t,n,r,o=!1,i=!1;const u=()=>{if(i=!0,null!=n){const e=Ot(n);try{Xe(e)}finally{n=void 0}}if(null!=t){const e=Ot(t);try{Xe(e)}finally{t=void 0}}};return Yn((()=>(o?i&&zn():Bn(),null!=r?Ot(r):zn())),(()=>{let s;if(o||(o=!0),i)return!1;{let o;for(;null==o;){const i=t;if(null!=i)if(null!=n){const e=Ot(n);if(e["System.Collections.IEnumerator.MoveNext"]())r=Nt(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),o=!0;else try{Xe(e)}finally{n=void 0}}else{const e=Ot(i);e["System.Collections.IEnumerator.MoveNext"]()?(s=e["System.Collections.Generic.IEnumerator`1.get_Current"](),n=et(s)):(u(),o=!1)}else t=et(e)}return Ot(o)}}),(()=>{i||u()}))}(e)))}function tr(e){return Qn((()=>function(e,t){const n=function(e,t){return"function"==typeof e?new e(1):new Array(1)}(t);return wn(n,0,e),n}(e)))}function nr(e,t){return er([e,t])}function rr(e,t){!function(e,t,n){const r=Kn(n);try{let n=t;for(;r["System.Collections.IEnumerator.MoveNext"]();)n=e(n,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return n}finally{Xe(r)}}(((t,n)=>{e(n)}),void 0,t)}function or(e,t){return n=()=>Kn(t),r=t=>t["System.Collections.IEnumerator.MoveNext"]()?Nt(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,o=e=>{Xe(e)},Xn((()=>Zn(n,r,o)));var n,r,o}function ir(e,t){return Xn((()=>{const n=Kn(t);try{for(let t=1;t<=e;t++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error($n+"\\nParameter name: source");return function(e,t){return Yn((()=>t["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>t["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{Xe(t)}finally{e()}}))}((()=>{}),n)}catch(e){throw Xe(n),e}}))}Symbol.iterator;const ur=Ye;function sr(e){return{Dispose(){e()}}}function cr(e){const t=ur.useRef(void 0),n=ur.useRef(!1),r=ur.useRef(!1);var o;n.current&&(r.current=!0),o=()=>{return o=n.current?void 0:(n.current=!0,t.current=Nt(e()),r.current?t.current:void 0),{Dispose(){rr((e=>{Xe(e)}),Tt(o))}};var o},te((()=>{const e=o();return()=>{e.Dispose()}}),[])}function lr(e,t){return t.startsWith(e)?t:void 0}function ar(e,t){return t.endsWith(e)?t:void 0}function fr(e,t){return function(e){return 1===e?e=>{let t,n,r,o,i,u;return t=lr("/",e),null!=t?(n=t,"#"+n):(r=lr("#/",e),null!=r?(o=r,o):(i=lr("#",e),null!=i?(u=i,"#/"+pn(u,1,u.length-1)):"#/"+e))}:e=>{let t,n;return t=lr("/",e),null!=t?(n=t,n):"/"+e}}(t)(dn("/",jn((e=>e.indexOf("?")>=0||e.startsWith("#")||e.startsWith("/")?e:encodeURIComponent(e)),e)))}function _r(e,t){return function(e,t){let n,r;const o=Sn();let i=o,u=t;for(;!kn(u);){let t=e(xn(u));for(;!kn(t);)n=i,r=new bn(xn(t),void 0),n.tail=r,i=r,t=In(t);u=In(u)}const s=i,c=Sn();return s.tail=c,In(o)}((e=>{if("string"!=typeof(t=e)||/^\s*$/.test(t))return On();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+sn(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return On();if(null!=lr("?",t))return Tn(t);{const e=t.split("?");if(vn(((e,t)=>e===t),e,null)||1!==e.length){if(vn(((e,t)=>e===t),e,null)||2!==e.length)return On();if(""===yn(1,e)){const t=yn(0,e);return Tn(decodeURIComponent(t))}{const t=yn(0,e),n=yn(1,e);return Gn([decodeURIComponent(t),"?"+n])}}{const t=yn(0,e);return Tn(decodeURIComponent(t))}}}var t}),Gn(function(e,t,n,r){if(r="number"==typeof r?r:0,(n="number"==typeof n?n:void 0)&&n<0)throw new Error("Count cannot be less than zero");if(0===n)return[];const o=1==(1&r),i=2==(2&r);t=(t=t||[]).filter((e=>e)).map(sn),t=t.length>0?t:["\\s"];const u=[],s=new RegExp(t.join("|"),"g");let c=!0,l=0;do{const t=s.exec(e);if(null===t){const t=i?e.substring(l).trim():e.substring(l);(!o||t.length>0)&&u.push(t),c=!1}else{const r=i?e.substring(l,t.index).trim():e.substring(l,t.index);(!o||r.length>0)&&(null!=n&&u.length+1===n?(u.push(i?e.substring(l).trim():e.substring(l)),c=!1):u.push(r)),l=s.lastIndex}}while(c);return u}(null!=lr("#",e)?pn(e,1,e.length-1):1!==t||null==ar("#",e)&&null==ar("#/",e)?e:"",["/"],void 0,0)))}const dr=function(e,t,n,r){const o=ur.memo(e,pt(At(Mt(mt,void 0),null)));return rr((t=>{e.displayName=t}),Tt(void 0)),e=>{const t=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(undefined,e);return ur.createElement(o,t)}}((e=>{const t=function(e){const t=ur.useRef(e),n=ur.useCallback((e=>t.current(e)),[]);var r;return r=n=>(t.current=e,sr((()=>{}))),ne((()=>{const e=r();return()=>{e.Dispose()}})),n}((t=>{const n=At(e.onUrlChanged,(e=>{}));!function(e,t,n){t(_r(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(At(e.hashMode,1),n)}));cr((()=>(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.addEventListener("hashchange",t):window.addEventListener("popstate",t),window.addEventListener("CUSTOM_NAVIGATION_EVENT",t),sr((()=>{window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.removeEventListener("hashchange",t):window.removeEventListener("popstate",t),window.removeEventListener("CUSTOM_NAVIGATION_EVENT",t)}))))),function(e){const t=ur.useRef(!1);ur.useEffect((()=>{t.current||(t.current=!0,(()=>{const e=document.createEvent("CustomEvent");e.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(e)})())}),[])}();const n=e.application;return null==n?null:n}));class hr extends yt{constructor(e,t){super(),this.CurrentPage=e,this.Auth=t}}class pr extends vt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["UrlChanged","AuthMsg"]}}class mr{constructor(e){this.k=e}}function gr(e){return new mr(e)}function vr(e){return e.k}class yr extends mr{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=0|r}}function wr(e,t,n,r){return new yr(e,t,n,r)}function br(e){return e.left}function Cr(e){return e.right}function Sr(e){return e.h}function Er(e,t){e:for(;;){const n=t;if(null!=e){const r=Ot(e);if(r instanceof yr){const o=r;e=br(o),t=Er(Cr(o),n+1);continue e}return n+1|0}return 0|n}}function kr(e){return Er(e,0)}function xr(e,t,n){let r,o,i,u;if(null!=e){const t=Ot(e);i=t instanceof yr?(r=t,Sr(r)):1}else i=0;if(null!=n){const e=Ot(n);u=e instanceof yr?(o=e,Sr(o)):1}else u=0;const s=0|(i<u?u:i);return 0===s?gr(t):wr(t,e,n,s+1)}function Ir(e,t,n){let r,o,i,u,s,c,l,a,f,_;if(null!=e){const t=Ot(e);f=t instanceof yr?(r=t,Sr(r)):1}else f=0;if(null!=n){const e=Ot(n);_=e instanceof yr?(o=e,Sr(o)):1}else _=0;if(_>f+2){const r=Ot(n);if(r instanceof yr){const n=r;if(i=br(n),(null!=i?(u=Ot(i),u instanceof yr?(s=u,Sr(s)):1):0)>f+1){const r=Ot(br(n));if(r instanceof yr){const o=r;return xr(xr(e,t,br(o)),vr(o),xr(Cr(o),vr(n),Cr(n)))}throw new Error("internal error: Set.rebalance")}return xr(xr(e,t,br(n)),vr(n),Cr(n))}throw new Error("internal error: Set.rebalance")}if(f>_+2){const r=Ot(e);if(r instanceof yr){const e=r;if(c=Cr(e),(null!=c?(l=Ot(c),l instanceof yr?(a=l,Sr(a)):1):0)>_+1){const r=Ot(Cr(e));if(r instanceof yr){const o=r;return xr(xr(br(e),vr(e),br(o)),vr(o),xr(Cr(o),t,n))}throw new Error("internal error: Set.rebalance")}return xr(br(e),vr(e),xr(Cr(e),t,n))}throw new Error("internal error: Set.rebalance")}return xr(e,t,n)}function Or(e,t,n){if(null!=n){const r=Ot(n),o=0|e.Compare(t,vr(r));if(r instanceof yr){const i=r;return o<0?Ir(Or(e,t,br(i)),vr(i),Cr(i)):0===o?n:Ir(br(i),vr(i),Or(e,t,Cr(i)))}{const o=0|e.Compare(t,vr(r));return o<0?wr(t,void 0,n,2):0===o?n:wr(t,n,void 0,2)}}return gr(t)}function Nr(e,t,n){e:for(;;){const r=e,o=t;if(null!=n){const i=Ot(n),u=0|r.Compare(o,vr(i));if(i instanceof yr){const s=i;if(u<0){e=r,t=o,n=br(s);continue e}if(0===u)return!0;e=r,t=o,n=Cr(s);continue e}return 0===u}return!1}}function Tr(e,t){e:for(;;){const n=e;if(null!=t){const r=Ot(t);if(r instanceof yr){const o=r;Tr(n,br(o)),n(vr(o)),e=n,t=Cr(o);continue e}n(vr(r))}break}}class Ar extends yt{constructor(e,t){super(),this.stack=e,this.started=t}}function Mr(e){e:for(;;){const t=e;if(An(t))return On();{const n=Mn(t),r=Pn(t);if(null!=n){const o=Ot(n);if(o instanceof yr){const t=o;e=Hn([br(t),gr(vr(t)),Cr(t)],r);continue e}return t}e=r;continue e}}}function Pr(e){return new Ar(Mr(Tn(e)),!1)}function Ur(e){if(e.started){const t=e.stack;if(An(t))return function(){throw new Error("Enumeration already started")}();if(null!=Mn(t))return vr(Ot(Mn(t)));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function Rr(e){let t=Pr(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Ur(t),"System.Collections.IEnumerator.get_Current":()=>Ur(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(An(t))return!1;if(null!=Mn(t)){if(Ot(Mn(t))instanceof yr)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Mr(Pn(t)),!An(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!An(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=Pr(e)},Dispose(){}}}function Dr(e,t,n){return null==t?null==n?0:-1:null==n?1:0|function(e,t,n){e:for(;;){const r=e,o=t,i=n;if(An(o))return An(i)?0:-1;if(An(i))return 1;if(null!=Mn(i))if(null!=Mn(o)){const u=Ot(Mn(o)),s=Ot(Mn(i));if(u instanceof yr){const c=u;if(null==br(c)){if(!(s instanceof yr)){const u=0|r.Compare(vr(c),vr(s));if(0!==u)return 0|u;e=r,t=Nn(Cr(c),Pn(o)),n=Nn(void 0,Pn(i));continue e}{const u=s;if(null==br(u)){const s=0|r.Compare(vr(c),vr(u));if(0!==s)return 0|s;e=r,t=Nn(Cr(c),Pn(o)),n=Nn(Cr(u),Pn(i));continue e}{let u,s,c,l,a;switch(An(o)?An(i)?u=2:null!=Mn(i)?(u=1,l=Pn(i),a=Ot(Mn(i))):u=2:null!=Mn(o)?(u=0,s=Pn(o),c=Ot(Mn(o))):An(i)?u=2:null!=Mn(i)?(u=1,l=Pn(i),a=Ot(Mn(i))):u=2,u){case 0:if(c instanceof yr){const o=c;e=r,t=Hn([br(o),wr(vr(o),void 0,Cr(o),0)],s),n=i;continue e}e=r,t=Hn([void 0,gr(vr(c))],s),n=i;continue e;case 1:if(a instanceof yr){const i=a;e=r,t=o,n=Hn([br(i),wr(vr(i),void 0,Cr(i),0)],l);continue e}e=r,t=o,n=Hn([void 0,gr(vr(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{let u,s,c,l,a;switch(An(o)?An(i)?u=2:null!=Mn(i)?(u=1,l=Pn(i),a=Ot(Mn(i))):u=2:null!=Mn(o)?(u=0,s=Pn(o),c=Ot(Mn(o))):An(i)?u=2:null!=Mn(i)?(u=1,l=Pn(i),a=Ot(Mn(i))):u=2,u){case 0:if(c instanceof yr){const o=c;e=r,t=Hn([br(o),wr(vr(o),void 0,Cr(o),0)],s),n=i;continue e}e=r,t=Hn([void 0,gr(vr(c))],s),n=i;continue e;case 1:if(a instanceof yr){const i=a;e=r,t=o,n=Hn([br(i),wr(vr(i),void 0,Cr(i),0)],l);continue e}e=r,t=o,n=Hn([void 0,gr(vr(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{if(!(s instanceof yr)){const c=0|r.Compare(vr(u),vr(s));if(0!==c)return 0|c;e=r,t=Pn(o),n=Pn(i);continue e}{const c=s;if(null==br(c)){const s=0|r.Compare(vr(u),vr(c));if(0!==s)return 0|s;e=r,t=Nn(void 0,Pn(o)),n=Nn(Cr(c),Pn(i));continue e}{let u,s,c,l,a;switch(An(o)?An(i)?u=2:null!=Mn(i)?(u=1,l=Pn(i),a=Ot(Mn(i))):u=2:null!=Mn(o)?(u=0,s=Pn(o),c=Ot(Mn(o))):An(i)?u=2:null!=Mn(i)?(u=1,l=Pn(i),a=Ot(Mn(i))):u=2,u){case 0:if(c instanceof yr){const o=c;e=r,t=Hn([br(o),wr(vr(o),void 0,Cr(o),0)],s),n=i;continue e}e=r,t=Hn([void 0,gr(vr(c))],s),n=i;continue e;case 1:if(a instanceof yr){const i=a;e=r,t=o,n=Hn([br(i),wr(vr(i),void 0,Cr(i),0)],l);continue e}e=r,t=o,n=Hn([void 0,gr(vr(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}}}}else{let u,s,c,l,a;switch(Ot(Mn(i)),An(o)?An(i)?u=2:null!=Mn(i)?(u=1,l=Pn(i),a=Ot(Mn(i))):u=2:null!=Mn(o)?(u=0,s=Pn(o),c=Ot(Mn(o))):An(i)?u=2:null!=Mn(i)?(u=1,l=Pn(i),a=Ot(Mn(i))):u=2,u){case 0:if(c instanceof yr){const o=c;e=r,t=Hn([br(o),wr(vr(o),void 0,Cr(o),0)],s),n=i;continue e}e=r,t=Hn([void 0,gr(vr(c))],s),n=i;continue e;case 1:if(a instanceof yr){const i=a;e=r,t=o,n=Hn([br(i),wr(vr(i),void 0,Cr(i),0)],l);continue e}e=r,t=o,n=Hn([void 0,gr(vr(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==Mn(o)){e=r,t=Pn(o),n=Pn(i);continue e}{let u,s,c,l,a;switch(Ot(Mn(o)),An(o)?An(i)?u=2:null!=Mn(i)?(u=1,l=Pn(i),a=Ot(Mn(i))):u=2:null!=Mn(o)?(u=0,s=Pn(o),c=Ot(Mn(o))):An(i)?u=2:null!=Mn(i)?(u=1,l=Pn(i),a=Ot(Mn(i))):u=2,u){case 0:if(c instanceof yr){const o=c;e=r,t=Hn([br(o),wr(vr(o),void 0,Cr(o),0)],s),n=i;continue e}e=r,t=Hn([void 0,gr(vr(c))],s),n=i;continue e;case 1:if(a instanceof yr){const i=a;e=r,t=o,n=Hn([br(i),wr(vr(i),void 0,Cr(i),0)],l);continue e}e=r,t=o,n=Hn([void 0,gr(vr(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,Tn(t),Tn(n))}function Hr(e,t,n){let r=n;Tr((e=>{wn(t,r,e),r=r+1|0}),e)}function Gr(e,t){return function(t,n,r){const o=(t,n)=>Or(e,n,t);return r.reduce(o,void 0)}(0,0,t)}class Fr{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){let t=0;const n=et(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();)t=(t<<1)+ct(n["System.Collections.Generic.IEnumerator`1.get_Current"]())+631|0}finally{Xe(n)}return 0|Math.abs(t)}(this)}Equals(e){let t;return e instanceof Fr&&(t=e,0===Dr(Lr(this),Wr(this),Wr(t)))}toString(){return"set ["+dn("; ",or((e=>gt(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){return Array.from(this)}CompareTo(e){return 0|Dr(Lr(this),Wr(this),Wr(e))}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return Nr(Lr(this),e,Wr(this))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(e,t){Hr(Wr(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|$r(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|$r(this)}GetEnumerator(){return Rr(Wr(this))}[Symbol.iterator](){return tt(et(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Rr(Wr(this))}get size(){return 0|$r(this)}add(e){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(e){throw new Error("Set cannot be mutated")}has(e){return Br(this,e)}keys(){return or((e=>e),this)}values(){return or((e=>e),this)}entries(){return or((e=>[e,e]),this)}forEach(e,t){const n=this;rr((t=>{e(t,t,n)}),n)}}function jr(e,t){return new Fr(e,t)}function Lr(e){return e.comparer}function Wr(e){return e.tree}function Vr(e){return jr(e,void 0)}function $r(e){return kr(Wr(e))}function Br(e,t){return Nr(Lr(e),t,Wr(e))}function zr(e,t){return Br(t,e)}function qr(e,t){return function(e,t){return jr(Lr(e),Or(Lr(e),t,Wr(e)))}(t,e)}function Jr(e){return dn("/",e)}function Yr(e,t,n){try{Xe(n)}catch(n){e(["Error stopping subscription: "+Jr(t),n])}}function Zr(e,t){Dn((t=>{Yr(e,t[0],t[1])}),t)}function Xr(e,t,n,r,o,i){return Dn((t=>{!function(e,t){const n=new Error("Duplicate SubId");e(["Duplicate SubId: "+Jr(t),n])}(e,t)}),n),Dn((t=>{Yr(e,t[0],t[1])}),r),Fn(o,function(n,r){const o=Sn(),i=Rn(((n,r)=>{const o=function(e,t,n,r){try{return[n,r(t)]}catch(t){return void e(["Error starting subscription: "+Jr(n),t])}}(e,t,(i=r)[0],i[1]);var i;if(null==o)return n;{const e=new bn(Ot(o),void 0);return n.tail=e,e}}),o,r),u=Sn();return i.tail=u,In(o)}(0,i))}function Kr(e){return t=(e,t)=>{return n=e[0],r=e[1],o=t[0],i=t[1],u=t[2],zr(n,i)?[Nn(n,o),i,u]:[o,qr(n,i),Nn([n,r],u)];var n,r,o,i,u},n=e,r=[On(),(o={Compare:dt},Vr(o)),On()],function(e,t,n){return t.reduceRight(((t,n)=>e(n,t)),n)}(t,Un(n),r);var t,n,r,o}const Qr=On();function eo(e,t){const n=jr(r={Compare:dt},function(e,t){if(Ze(t))return Gr(e,t);if(t instanceof bn)return function(e,t){return Rn(((t,n)=>Or(e,n,t)),void 0,t)}(e,t);{const n=et(t);try{return function(e,t,n){for(;;){const r=e,o=t,i=n;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;e=r,t=Or(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i}}(e,void 0,n)}finally{Xe(n)}}}(r,jn((e=>e[0]),e)));var r;const o=Kr(t),i=o[1],u=o[0];if(n.Equals(i))return[u,On(),e,On()];{const t=function(e,t){const n=Sn(),r=Sn(),o=n,u=Rn(((e,t)=>{let n,r;const o=e[0],u=e[1];return(e=>zr(e[0],i))(t)?[(n=new bn(t,void 0),o.tail=n,n),u]:[o,(r=new bn(t,void 0),u.tail=r,r)]}),[o,r],t),s=Sn();u[0].tail=s;const c=Sn();return u[1].tail=c,[In(o),In(r)]}(0,e);return[u,t[1],t[0],Ln((e=>!zr(e[0],n)),o[2])]}}function to(e,t,n){Dn((n=>{try{n(t)}catch(t){e(t)}}),n)}function no(){return On()}function ro(e,t){return jn((t=>n=>{t((t=>{n(e(t))}))}),t)}function oo(e,t,n,r){return Tn((o=>{e(t).then((e=>{o(n(e))})).catch((e=>{o(r(e))}))}))}function io(e,t){return e>t?e:t}function uo(e,t,n,r,o){const i=function(e,t,n,r){const o=0|dt(e,n);if(0===o)throw new Error("The step of a range cannot be zero");const i=o>0;return n=>{const o=0|dt(n,t);return i&&o<=0||!i&&o>=0?[n,r(n,e)]:void 0}}(t,n,r,o);return Qn((()=>{return t=i,n=e,Xn((()=>function(e,t){let n,r=t;return Yn((()=>{if(null!=n){const e=Ot(n)[0];return Ot(n)[1],e}return Bn()}),(()=>{if(n=e(r),null!=n){Ot(n)[0];const e=Ot(n)[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}class so extends vt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class co{constructor(e){this.state=new so(0,[gn(new Array(io(e,10)),0,io(e,10),null),0])}}function lo(e){const t=e.state;if(1===t.tag){const n=0|t.fields[1],r=0|t.fields[2],o=t.fields[0],i=(r+1)%o.length|0;return e.state=i===n?new so(0,[o,n]):new so(1,[o,n,i]),Nt(yn(r,o))}}function ao(e,t){const n=e.state;if(1===n.tag){const i=0|n.fields[1],u=0|n.fields[2],s=n.fields[0];wn(s,i,t);const c=(i+1)%s.length|0;e.state=new so(1,c===u?[(r=u,o=s,Array.from(Qn((()=>nr(ir(r,o),Qn((()=>{return nr((e=r,t=o,n=()=>Kn(t),i=(t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return Nt(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error($n+"\\nParameter name: source")}},u=e=>{Xe(e)},Xn((()=>{let e=-1;return Zn(n,(t=>(e=e+1|0,i(e,t))),u)}))),Qn((()=>{return e=e=>tr(null),0,1,n=o.length,t=uo(0,1,n,0,((e,t)=>e+t)),Qn((()=>er(or(e,t))));var e,t,n})));var e,t,n,i,u}))))))),s.length,0]:[s,c,u])}else{const r=0|n.fields[1],o=n.fields[0];wn(o,r,t);const i=(r+1)%o.length|0;e.state=new so(1,[o,i,r])}var r,o}class fo extends yt{constructor(e,t,n,r,o,i,u){super(),this.init=e,this.update=t,this.subscribe=n,this.view=r,this.setState=o,this.onError=i,this.termination=u}}function _o(e){return mt(e.view)}var ho;function po(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function mo(e,t,n,r,o){const i=function(e,t,n){const r=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(null!=r){const[,,e,o]=r;n=n||function(e,t){if(t&ho.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}(e,t);const i=function(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}(n);if(!i.test(o))return function(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}(r,n)}return null}(e,t,o);if(null!=i){let e=Number.parseInt(i.sign+i.digits,i.radix);if(!Number.isNaN(e)){const[t,o]=po(!0,r);!n&&10!==i.radix&&e>=t&&e<=o&&(e=e<<32-r>>32-r);const[u,s]=po(n,r);if(e>=u&&e<=s)return e}}throw new Error(`The input string ${e} was not in a correct format.`)}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(ho||(ho={}));class go extends yt{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class vo extends g{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}const yo=(()=>{try{return mo("17.0.2".slice(void 0,2),511,!1,32)>=18}catch(e){return!1}})();class wo extends vt{constructor(e){super(),this.tag=0,this.fields=[e]}cases(){return["Token"]}}class bo extends vt{constructor(e){super(),this.tag=0,this.fields=[e]}cases(){return["QueryString"]}}class Co extends vt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Home","OidcSignIn","OidcSignInRedirectCallback","OidcSignInSilentCallback","NotFound"]}}function So(e){let t,n,r;if(An(e))t=0;else if("oidc"===Mn(e))if(An(Pn(e)))t=3;else switch(Mn(Pn(e))){case"callback":An(Pn(Pn(e)))?t=3:An(Pn(Pn(Pn(e))))?(t=1,n=Mn(Pn(Pn(e)))):t=3;break;case"silent-refresh":An(Pn(Pn(e)))?t=3:An(Pn(Pn(Pn(e))))?(t=2,r=Mn(Pn(Pn(e)))):t=3;break;default:t=3}else t=3;switch(t){case 0:{const e=window.location.search,t=new URLSearchParams(e),n=t.get("token");if(null==n)return new Co(0,[]);{const e=n;return rr((e=>{!function(e,t){sessionStorage.setItem("success-redirection-url",t)}(0,e)}),Tt(t.get("success-redirection-url"))),new Co(1,[new wo(e)])}}case 1:return new Co(2,[new bo(n)]);case 2:return new Co(3,[new bo(r)]);default:return new Co(4,[])}}class Eo extends vt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class ko extends vt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Started","Finished"]}}class xo extends yt{constructor(e){super(),this.AccessToken=e}}function Io(e){return new xo(e.access_token)}class Oo extends yt{constructor(e){super(),this.Auth=e}}class No extends vt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["GetUser","SignInRedirect","SignInRedirectCallback","SignInSilentCallback"]}}class To extends vt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Ok","Error"]}}const Ao=(()=>{const e={};return e.store=Nt(window.sessionStorage),e})();function Mo(){return new UserManager(function(){const e=function(e){return e.endsWith("/")?e:e+"/"}(window.location.origin+window.location.pathname),t={};return t.authority=Ut,t.client_id="apollo-bank-details-ui",t.redirect_uri=e+"#/oidc/callback?",t.response_type="id_token token",t.scope="openid profile",t.automaticSilentRenew=!0,t.silent_redirect_uri=Nt(e+"#/oidc/silent-refresh?"),t.post_logout_redirect_uri=e+"#/oidc/logout?",t.accessTokenExpiringNotificationTime=10,t.filterProtocolClaims=!0,t.loadUserInfo=!1,t.clockSkew=2592e3,t.userStore=new WebStorageStateStore(Ao),t}())}function Po(e){return e.length>0?pn(e,1):e}function Uo(e){return Mo().signinRedirect(Nt({extraQueryParams:{irt:e.fields[0]}}))}function Ro(e){return Mo().signinRedirectCallback(Po(e.fields[0]))}function Do(e){return Mo().signinSilentCallback(Po(e.fields[0]))}function Ho(){return Mo().getUser()}var Go;!function(e){!function(e,t){!function(e,t,n){let r;const o=n.init(t),i=o[0],u=n.subscribe(i),s=n.termination,c=new co(10);let l=!1,a=i,f=Qr,_=!1;const d=mt(e)((e=>{_||(ao(c,e),l||(l=!0,h(),l=!1))})),h=()=>{let e,t=lo(c);for(;!_&&null!=t;){const r=Ot(t);if(s[0](r))Zr(n.onError,f),s[1](a),_=!0;else{const o=n.update(r,a),i=o[0],u=n.subscribe(i);n.setState(i,d),to((e=>{n.onError([an(ln("Error handling the message: %A"))(r),e])}),d,o[1]),a=i,e=eo(f,u),f=Xr(n.onError,d,e[0],e[1],e[2],e[3]),t=lo(c)}}};l=!0,n.setState(i,d),to((e=>{n.onError([an(ln("Error intitializing:")),e])}),d,o[1]),r=eo(f,u),f=Xr(n.onError,d,r[0],r[1],r[2],r[3]),h(),l=!1}(pt((e=>e)),void 0,t)}(0,e)}(("bank-details-app",Go=function(e,t,n){return new fo((function(){const e=So(_r(window.location.hash,1)),t=function(){const e=So(_r(window.location.hash,1));return[new Oo(new Eo(0,[])),1===e.tag?Tn((t=>{t(new No(1,[new ko(0,[]),e.fields[0]]))})):2===e.tag?Tn((t=>{t(new No(2,[new ko(0,[]),e.fields[0]]))})):3===e.tag?Tn((t=>{t(new No(3,[new ko(0,[]),e.fields[0]]))})):Tn((e=>{e(new No(0,[new ko(0,[])]))}))]}();return[new hr(e,t[0]),ro((e=>new pr(1,[e])),t[1])]}),t,(e=>On()),n,pt((e=>{const t=mt(n)(e);return e=>{t(e)}})),(e=>{var t,n;t=e[0],n=e[1],console.error(Nt(t),n)}),[e=>!1,e=>{}])}(0,(function(e,t){if(1===e.tag){const n=function(e,t){const n=e=>[new Oo(new Eo(2,[new To(1,[e])])),no()];switch(e.tag){case 1:return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(an(ln("SignInRedirect failed: %s"))(e.fields[0].fields[0].fields[0])):[t,no()]:[new Oo(new Eo(1,[])),(o=Uo,i=e.fields[1],u=t=>new No(1,[new ko(1,[new To(1,[t.message])]),e.fields[1]]),Tn((e=>{o(i).catch((t=>{e(u(t))}))})))];case 2:return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(an(ln("failed sign in: %s"))(e.fields[0].fields[0].fields[0])):[new Oo(new Eo(2,[new To(0,[Io(e.fields[0].fields[0].fields[0])])])),(r=e=>{!function(e,t,n){history.pushState(void 0,"",fr(e,1));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}(Tn(""))},Tn(r))]:[new Oo(new Eo(1,[])),oo(Ro,e.fields[1],(t=>(window.gtag&&window.gtag("event","oidc_sign_in",{}),new No(2,[new ko(1,[new To(0,[t])]),e.fields[1]]))),(t=>new No(2,[new ko(1,[new To(1,[t.message])]),e.fields[1]])))];case 3:return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(an(ln("failed silent sign in: %s"))(e.fields[0].fields[0].fields[0])):null==e.fields[0].fields[0].fields[0]?n("silent refresh expected a user but got none"):[new Oo(new Eo(2,[new To(0,[Io(e.fields[0].fields[0].fields[0])])])),no()]:[t,oo(Do,e.fields[1],(t=>new No(3,[new ko(1,[new To(0,[t])]),e.fields[1]])),(t=>new No(3,[new ko(1,[new To(1,[t.message])]),e.fields[1]])))];default:return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(an(ln("failed to get current user: %s"))(e.fields[0].fields[0].fields[0])):null==e.fields[0].fields[0].fields[0]?n("expected a user but got none"):[new Oo(new Eo(2,[new To(0,[Io(e.fields[0].fields[0].fields[0])])])),no()]:[new Oo(new Eo(1,[])),oo(Ho,void 0,(e=>new No(0,[new ko(1,[new To(0,[e])])])),(e=>new No(0,[new ko(1,[new To(1,[e.message])])])))]}var r,o,i,u}(e.fields[0],t.Auth);return[new hr(t.CurrentPage,n[0]),ro((e=>new pr(1,[e])),n[1])]}return[new hr(So(e.fields[0]),t.Auth),no()]}),(function(e,t){let n,r,o;if(0===(null!=Rt&&null!=Ut?(r=0,o=Rt):r=1,r))switch(e.CurrentPage.tag){case 1:case 2:case 3:n=h("div",{},"Please wait...");break;case 4:n=h("h1",{},"Not found");break;default:{const t=e.Auth.Auth;let r,u;2===t.tag&&0===t.fields[0].tag?(r=0,u=t.fields[0].fields[0]):r=1,0===r?(i=[],n=h("bank-component",function(e,t=wt){const n={},r=t;function o(e){throw new Error("Cannot infer key and value of "+String(e))}function i(e,t,r){e=function(e,t){switch(t){case bt:return e.charAt(0).toLowerCase()+e.slice(1);case Ct:return kt(e,"_");case St:return kt(e,"_").toUpperCase();case Et:return kt(e,"-");default:return e}}(e,t),n[e]=r}for(let t of e){let e=wt;if(null==t&&o(t),t instanceof vt){const n=t.cases()[t.tag];t=0===t.fields.length?n:[n].concat(t.fields),e=r}if(Array.isArray(t))switch(t.length){case 0:o(t);break;case 1:i(t[0],e,!0);break;case 2:const n=t[1];i(t[0],e,n);break;default:i(t[0],e,t.slice(1))}else"string"==typeof t?i(t,e,!0):o(t)}return n}([new xt(0,[o]),new xt(1,[u.AccessToken])],1),...i)):n=h("h1",{},"Unauthorised")}}else n=h("h1",{},"Invalid attribute configuration");var i;return dr({onUrlChanged:e=>{t(new pr(0,[e]))},application:h(m,{},n)})})),function(e,t,n){let r;return function(e,t){return new fo(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}(pt(yo?(o=document.getElementById(t),r={render(e){Re(e,o)},unmount(){qe(o)}},t=>o=>{r.render(e((e=>t=>e===t),_o(n),t,o))}):r=>o=>{Re(e((e=>t=>e===t),_o(n),r,o),document.getElementById(t))}),n);var o}(((e,t,n,r)=>function(e,t,n,r){const o=new go(n,(()=>t(n,r)),e);return h(vo,o)}(pt(e),pt(t),n,r)),"bank-details-app",Go)))})();
|
1
|
+
(()=>{"use strict";var e,t,n,r,o,i,u,s,c={},l=[],a=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,f=Array.isArray;function _(e,t){for(var n in t)e[n]=t[n];return e}function d(e){var t=e.parentNode;t&&t.removeChild(e)}function h(t,n,r){var o,i,u,s={};for(u in n)"key"==u?o=n[u]:"ref"==u?i=n[u]:s[u]=n[u];if(arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(u in t.defaultProps)void 0===s[u]&&(s[u]=t.defaultProps[u]);return p(t,s,o,i,null)}function p(e,r,o,i,u){var s={type:e,props:r,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==u?++n:u};return null==u&&null!=t.vnode&&t.vnode(s),s}function m(e){return e.children}function g(e,t){this.props=e,this.context=t}function v(e,t){if(null==t)return e.__?v(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?v(e):null}function y(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return y(e)}}function w(e){(!e.__d&&(e.__d=!0)&&r.push(e)&&!b.__r++||o!==t.debounceRendering)&&((o=t.debounceRendering)||i)(b)}function b(){var e,t,n,o,i,s,c,l,a;for(r.sort(u);e=r.shift();)e.__d&&(t=r.length,o=void 0,i=void 0,s=void 0,l=(c=(n=e).__v).__e,(a=n.__P)&&(o=[],i=[],(s=_({},c)).__v=c.__v+1,A(a,c,s,n.__n,void 0!==a.ownerSVGElement,null!=c.__h?[l]:null,o,null==l?v(c):l,c.__h,i),M(o,c,i),c.__e!=l&&y(c)),r.length>t&&r.sort(u));b.__r=0}function C(e,t,n,r,o,i,u,s,a,_,d){var h,g,y,w,b,C,E,I,O,N=0,T=r&&r.__k||l,M=T.length,P=M,D=t.length;for(n.__k=[],h=0;h<D;h++)null!=(w=n.__k[h]=null==(w=t[h])||"boolean"==typeof w||"function"==typeof w?null:"string"==typeof w||"number"==typeof w||"bigint"==typeof w?p(null,w,null,null,w):f(w)?p(m,{children:w},null,null,null):w.__b>0?p(w.type,w.props,w.key,w.ref?w.ref:null,w.__v):w)?(w.__=n,w.__b=n.__b+1,-1===(I=x(w,T,E=h+N,P))?y=c:(y=T[I]||c,T[I]=void 0,P--),A(e,w,y,o,i,u,s,a,_,d),b=w.__e,(g=w.ref)&&y.ref!=g&&(y.ref&&U(y.ref,null,w),d.push(g,w.__c||b,w)),null!=b&&(null==C&&(C=b),(O=y===c||null===y.__v)?-1==I&&N--:I!==E&&(I===E+1?N++:I>E?P>D-E?N+=I-E:N--:N=I<E&&I==E-1?I-E:0),E=h+N,"function"!=typeof w.type||I===E&&y.__k!==w.__k?"function"==typeof w.type||I===E&&!O?void 0!==w.__d?(a=w.__d,w.__d=void 0):a=b.nextSibling:a=k(e,b,a):a=S(w,a,e),"function"==typeof n.type&&(n.__d=a))):(y=T[h])&&null==y.key&&y.__e&&(y.__e==a&&(a=v(y)),R(y,y,!1),T[h]=null);for(n.__e=C,h=M;h--;)null!=T[h]&&("function"==typeof n.type&&null!=T[h].__e&&T[h].__e==n.__d&&(n.__d=T[h].__e.nextSibling),R(T[h],T[h]))}function S(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?S(r,t,n):k(n,r.__e,t));return t}function E(e,t){return t=t||[],null==e||"boolean"==typeof e||(f(e)?e.some((function(e){E(e,t)})):t.push(e)),t}function k(e,t,n){return null==n||n.parentNode!==e?e.insertBefore(t,null):t==n&&null!=t.parentNode||e.insertBefore(t,n),t.nextSibling}function x(e,t,n,r){var o=e.key,i=e.type,u=n-1,s=n+1,c=t[n];if(null===c||c&&o==c.key&&i===c.type)return n;if(r>(null!=c?1:0))for(;u>=0||s<t.length;){if(u>=0){if((c=t[u])&&o==c.key&&i===c.type)return u;u--}if(s<t.length){if((c=t[s])&&o==c.key&&i===c.type)return s;s++}}return-1}function I(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||a.test(t)?n:n+"px"}function O(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||I(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||I(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?T:N,i):e.removeEventListener(t,i?T:N,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function N(e){return this.l[e.type+!1](t.event?t.event(e):e)}function T(e){return this.l[e.type+!0](t.event?t.event(e):e)}function A(e,n,r,o,i,u,s,c,l,a){var d,h,p,v,y,w,b,S,E,k,x,I,O,N,T,A=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(l=r.__h,c=n.__e=r.__e,n.__h=null,u=[c]),(d=t.__b)&&d(n);e:if("function"==typeof A)try{if(S=n.props,E=(d=A.contextType)&&o[d.__c],k=d?E?E.props.value:d.__:o,r.__c?b=(h=n.__c=r.__c).__=h.__E:("prototype"in A&&A.prototype.render?n.__c=h=new A(S,k):(n.__c=h=new g(S,k),h.constructor=A,h.render=D),E&&E.sub(h),h.props=S,h.state||(h.state={}),h.context=k,h.__n=o,p=h.__d=!0,h.__h=[],h._sb=[]),null==h.__s&&(h.__s=h.state),null!=A.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=_({},h.__s)),_(h.__s,A.getDerivedStateFromProps(S,h.__s))),v=h.props,y=h.state,h.__v=n,p)null==A.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==A.getDerivedStateFromProps&&S!==v&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(S,k),!h.__e&&(null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(S,h.__s,k)||n.__v===r.__v)){for(n.__v!==r.__v&&(h.props=S,h.state=h.__s,h.__d=!1),n.__e=r.__e,n.__k=r.__k,n.__k.forEach((function(e){e&&(e.__=n)})),x=0;x<h._sb.length;x++)h.__h.push(h._sb[x]);h._sb=[],h.__h.length&&s.push(h);break e}null!=h.componentWillUpdate&&h.componentWillUpdate(S,h.__s,k),null!=h.componentDidUpdate&&h.__h.push((function(){h.componentDidUpdate(v,y,w)}))}if(h.context=k,h.props=S,h.__P=e,h.__e=!1,I=t.__r,O=0,"prototype"in A&&A.prototype.render){for(h.state=h.__s,h.__d=!1,I&&I(n),d=h.render(h.props,h.state,h.context),N=0;N<h._sb.length;N++)h.__h.push(h._sb[N]);h._sb=[]}else do{h.__d=!1,I&&I(n),d=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++O<25);h.state=h.__s,null!=h.getChildContext&&(o=_(_({},o),h.getChildContext())),p||null==h.getSnapshotBeforeUpdate||(w=h.getSnapshotBeforeUpdate(v,y)),C(e,f(T=null!=d&&d.type===m&&null==d.key?d.props.children:d)?T:[T],n,r,o,i,u,s,c,l,a),h.base=n.__e,n.__h=null,h.__h.length&&s.push(h),b&&(h.__E=h.__=null)}catch(e){n.__v=null,(l||null!=u)&&(n.__e=c,n.__h=!!l,u[u.indexOf(c)]=null),t.__e(e,n,r)}else null==u&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=P(r.__e,n,r,o,i,u,s,l,a);(d=t.diffed)&&d(n)}function M(e,n,r){for(var o=0;o<r.length;o++)U(r[o],r[++o],r[++o]);t.__c&&t.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){t.__e(e,n.__v)}}))}function P(t,n,r,o,i,u,s,l,a){var _,h,p,m=r.props,g=n.props,y=n.type,w=0;if("svg"===y&&(i=!0),null!=u)for(;w<u.length;w++)if((_=u[w])&&"setAttribute"in _==!!y&&(y?_.localName===y:3===_.nodeType)){t=_,u[w]=null;break}if(null==t){if(null===y)return document.createTextNode(g);t=i?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,g.is&&g),u=null,l=!1}if(null===y)m===g||l&&t.data===g||(t.data=g);else{if(u=u&&e.call(t.childNodes),h=(m=r.props||c).dangerouslySetInnerHTML,p=g.dangerouslySetInnerHTML,!l){if(null!=u)for(m={},w=0;w<t.attributes.length;w++)m[t.attributes[w].name]=t.attributes[w].value;(p||h)&&(p&&(h&&p.__html==h.__html||p.__html===t.innerHTML)||(t.innerHTML=p&&p.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||O(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||O(e,i,t[i],n[i],r)}(t,g,m,i,l),p)n.__k=[];else if(C(t,f(w=n.props.children)?w:[w],n,r,o,i&&"foreignObject"!==y,u,s,u?u[0]:r.__k&&v(r,0),l,a),null!=u)for(w=u.length;w--;)null!=u[w]&&d(u[w]);l||("value"in g&&void 0!==(w=g.value)&&(w!==t.value||"progress"===y&&!w||"option"===y&&w!==m.value)&&O(t,"value",w,m.value,!1),"checked"in g&&void 0!==(w=g.checked)&&w!==t.checked&&O(t,"checked",w,m.checked,!1))}return t}function U(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function R(e,n,r){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||U(o,null,n)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){t.__e(e,n)}o.base=o.__P=null,e.__c=void 0}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&R(o[i],n,r||"function"!=typeof e.type);r||null==e.__e||d(e.__e),e.__=e.__e=e.__d=void 0}function D(e,t,n){return this.constructor(e,n)}function H(n,r,o){var i,u,s,l;t.__&&t.__(n,r),u=(i="function"==typeof o)?null:o&&o.__k||r.__k,s=[],l=[],A(r,n=(!i&&o||r).__k=h(m,null,[n]),u||c,c,void 0!==r.ownerSVGElement,!i&&o?[o]:u?null:r.firstChild?e.call(r.childNodes):null,s,!i&&o?o:u?u.__e:r.firstChild,i,l),M(s,n,l)}function G(e,t){H(e,t,G)}function F(t,n,r){var o,i,u,s,c=_({},t.props);for(u in t.type&&t.type.defaultProps&&(s=t.type.defaultProps),n)"key"==u?o=n[u]:"ref"==u?i=n[u]:c[u]=void 0===n[u]&&void 0!==s?s[u]:n[u];return arguments.length>2&&(c.children=arguments.length>3?e.call(arguments,2):r),p(t.type,c,o||t.key,i||t.ref,null)}e=l.slice,t={__e:function(e,t,n,r){for(var o,i,u;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),u=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),u=o.__d),u)return o.__E=o}catch(t){e=t}throw e}},n=0,g.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=_({},this.state),"function"==typeof e&&(e=e(_({},n),this.props)),e&&_(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),w(this))},g.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),w(this))},g.prototype.render=m,r=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,u=function(e,t){return e.__v.__b-t.__v.__b},b.__r=0,s=0;var j,L,W,V,$=0,B=[],z=[],q=t.__b,J=t.__r,Y=t.diffed,Z=t.__c,X=t.unmount;function K(e,n){t.__h&&t.__h(L,e,$||n),$=0;var r=L.__H||(L.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:z}),r.__[e]}function Q(e){return $=1,ee(ae,e)}function ee(e,t,n){var r=K(j++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ae(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=L,!L.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var u=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(u=!0)}})),!(!u&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};L.u=!0;var i=L.shouldComponentUpdate,u=L.componentWillUpdate;L.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}u&&u.call(this,e,t,n)},L.shouldComponentUpdate=o}return r.__N||r.__}function te(e,n){var r=K(j++,3);!t.__s&&le(r.__H,n)&&(r.__=e,r.i=n,L.__H.__h.push(r))}function ne(e,n){var r=K(j++,4);!t.__s&&le(r.__H,n)&&(r.__=e,r.i=n,L.__h.push(r))}function re(e,t){var n=K(j++,7);return le(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function oe(){for(var e;e=B.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(se),e.__H.__h.forEach(ce),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}}t.__b=function(e){L=null,q&&q(e)},t.__r=function(e){J&&J(e),j=0;var t=(L=e.__c).__H;t&&(W===L?(t.__h=[],L.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=z,e.__N=e.i=void 0}))):(t.__h.forEach(se),t.__h.forEach(ce),t.__h=[],j=0)),W=L},t.diffed=function(e){Y&&Y(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==B.push(n)&&V===t.requestAnimationFrame||((V=t.requestAnimationFrame)||ue)(oe)),n.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==z&&(e.__=e.__V),e.i=void 0,e.__V=z}))),W=L=null},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach(se),e.__h=e.__h.filter((function(e){return!e.__||ce(e)}))}catch(r){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(r,e.__v)}})),Z&&Z(e,n)},t.unmount=function(e){X&&X(e);var n,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{se(e)}catch(e){n=e}})),r.__H=void 0,n&&t.__e(n,r.__v))};var ie="function"==typeof requestAnimationFrame;function ue(e){var t,n=function(){clearTimeout(r),ie&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ie&&(t=requestAnimationFrame(n))}function se(e){var t=L,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),L=t}function ce(e){var t=L;e.__c=e.__(),L=t}function le(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function ae(e,t){return"function"==typeof t?t(e):t}function fe(e,t){for(var n in t)e[n]=t[n];return e}function _e(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function de(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}function he(e){this.props=e}(he.prototype=new g).isPureReactComponent=!0,he.prototype.shouldComponentUpdate=function(e,t){return _e(this.props,e)||_e(this.state,t)};var pe=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),pe&&pe(e)};var me="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,ge=function(e,t){return null==e?null:E(E(e).map(t))},ve={map:ge,forEach:ge,count:function(e){return e?E(e).length:0},only:function(e){var t=E(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:E},ye=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);ye(e,t,n,r)};var we=t.unmount;function be(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=fe({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return be(e,t,n)}))),e}function Ce(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Ce(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function Se(){this.__u=0,this.t=null,this.__b=null}function Ee(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ke(){this.u=null,this.o=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),we&&we(e)},(Se.prototype=new g).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=Ee(r.__v),i=!1,u=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=u;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Ce(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(u,u)},Se.prototype.componentWillUnmount=function(){this.t=[]},Se.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=be(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&h(m,null,e.fallback);return o&&(o.__h=null),[h(m,null,t.__a?null:e.children),o]};var xe=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Ie(e){return this.getChildContext=function(){return e.context},e.children}function Oe(e){var t=this,n=e.i;t.componentWillUnmount=function(){H(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),H(h(Ie,{context:t.context},e.__v),t.l)}(ke.prototype=new g).__a=function(e){var t=this,n=Ee(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),xe(t,e,r)):o()};n?n(i):i()}},ke.prototype.render=function(e){this.u=null,this.o=new Map;var t=E(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},ke.prototype.componentDidUpdate=ke.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){xe(e,n,t)}))};var Ne="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Te=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ae=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Me=/[A-Z0-9]/g,Pe="undefined"!=typeof document,Ue=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function Re(e,t,n){return null==t.__k&&(t.textContent=""),H(e,t),"function"==typeof n&&n(),e?e.__c:null}g.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(g.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var De=t.event;function He(){}function Ge(){return this.cancelBubble}function Fe(){return this.defaultPrevented}t.event=function(e){return De&&(e=De(e)),e.persist=He,e.isPropagationStopped=Ge,e.isDefaultPrevented=Fe,e.nativeEvent=e};var je,Le={enumerable:!1,configurable:!0,get:function(){return this.class}},We=t.vnode;t.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||Pe&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var u=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"ondoubleclick"===u?o="ondblclick":"onchange"!==u||"input"!==n&&"textarea"!==n||Ue(t.type)?"onfocus"===u?o="onfocusin":"onblur"===u?o="onfocusout":Ae.test(o)?o=u:-1===n.indexOf("-")&&Te.test(o)?o=o.replace(Me,"-$&").toLowerCase():null===i&&(i=void 0):u=o="oninput","oninput"===u&&r[o=u]&&(o="oninputCapture"),r[o]=i}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=E(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=E(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",Le)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Ne,We&&We(e)};var Ve=t.__r;t.__r=function(e){Ve&&Ve(e),je=e.__c};var $e=t.diffed;t.diffed=function(e){$e&&$e(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),je=null};var Be={ReactCurrentDispatcher:{current:{readContext:function(e){return je.__n[e.__c].props.value}}}};function ze(e){return!!e&&e.$$typeof===Ne}function qe(e){return!!e.__k&&(H(null,e),!0)}function Je(e){e()}var Ye={useState:Q,useId:function(){var e=K(j++,11);if(!e.__){for(var t=L.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__},useReducer:ee,useEffect:te,useLayoutEffect:ne,useInsertionEffect:ne,useTransition:function(){return[!1,Je]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,t){var n=t(),r=Q({h:{__:n,v:t}}),o=r[0].h,i=r[1];return ne((function(){o.__=n,o.v=t,de(o.__,t())||i({h:o})}),[e,n,t]),te((function(){return de(o.__,o.v())||i({h:o}),e((function(){de(o.__,o.v())||i({h:o})}))}),[e]),n},startTransition:Je,useRef:function(e){return $=5,re((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){$=6,ne((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))},useMemo:re,useCallback:function(e,t){return $=8,re((function(){return e}),t)},useContext:function(e){var t=L.context[e.__c],n=K(j++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(L)),t.props.value):e.__},useDebugValue:function(e,n){t.useDebugValue&&t.useDebugValue(n?n(e):e)},version:"17.0.2",Children:ve,render:Re,hydrate:function(e,t,n){return G(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:qe,createPortal:function(e,t){var n=h(Oe,{__v:e,i:t});return n.containerInfo=t,n},createElement:h,createContext:function(e,t){var n={__c:t="__cC"+s++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,w(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return h.bind(null,e)},cloneElement:function(e){return ze(e)?F.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:m,isValidElement:ze,isElement:ze,isFragment:function(e){return ze(e)&&e.type===m},findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:g,PureComponent:he,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:_e(this.props,e)}function r(t){return this.shouldComponentUpdate=n,h(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(t){var n=fe({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=me,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:m,Suspense:Se,SuspenseList:ke,lazy:function(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return h(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Be};function Ze(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Xe(e){(function(e){return null!=e&&"function"==typeof e.Dispose})(e)&&e.Dispose()}function Ke(e,t){return Object.getPrototypeOf(e)?.constructor===Object.getPrototypeOf(t)?.constructor}Symbol.iterator;class Qe{constructor(e){this.iter=e,this.current=null}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this.iter.next();return this.current=e.value,!e.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function et(e){return function(e){return null!=e&&"function"==typeof e.GetEnumerator}(e)?e.GetEnumerator():new Qe(e[Symbol.iterator]())}function tt(e){return{next(){const t=e["System.Collections.IEnumerator.MoveNext"]();return{done:!t,value:t?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0}}}}function nt(e,t){return e.toString(10).padStart(t,"0")}function rt(e){const t=e;return"number"==typeof t.offset?t.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}class ot{static id(e){return ot.idMap.has(e)||ot.idMap.set(e,++ot.count),ot.idMap.get(e)}}function it(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=33*n^e.charCodeAt(t++);return n}function ut(e){return 2654435761*e|0}function st(e){let t=0;const n=e.length;for(let r=0;r<n;r++)t=(t<<5)+t^e[r];return t}function ct(e){if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return ut(e);case"bigint":return function(e){return it(e.toString(32))}(e);case"string":return it(e);default:if(function(e){return null!=e&&"function"==typeof e.GetHashCode}(e))return e.GetHashCode();if(Ze(e))return function(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=ct(e[r]);return st(n)}(e);if(e instanceof Date)return function(e){return e.getTime()}(e);if(Object.getPrototypeOf(e)?.constructor===Object){const t=Object.values(e).map((e=>ct(e)));return st(t)}return ut(ot.id(e))}}function lt(e,t){return function(e,t,n){if(null==e)return null==t;if(null==t)return!1;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}(e,t,at)}function at(e,t){return e===t||(null==e?null==t:null!=t&&(function(e){return null!=e&&"function"==typeof e.Equals}(e)?e.Equals(t):Ze(e)?Ze(t)&<(e,t):"object"==typeof e&&(e instanceof Date?t instanceof Date&&0===ft(e,t):Object.getPrototypeOf(e)?.constructor===Object&&function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let o=0;o<n.length;o++)if(n[o]!==r[o]||!at(e[n[o]],t[r[o]]))return!1;return!0}(e,t))))}function ft(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+rt(e),r=t.getTime()+rt(t)),n===r?0:n<r?-1:1}function _t(e,t){return function(e,t,n){if(null==e)return null==t?0:1;if(null==t)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,o=0;r<e.length;r++)if(o=n(e[r],t[r]),0!==o)return o;return 0}(e,t,dt)}function dt(e,t){return e===t?0:null==e?null==t?0:-1:null==t?1:function(e){return null!=e&&"function"==typeof e.CompareTo}(e)?e.CompareTo(t):Ze(e)?Ze(t)?_t(e,t):-1:"object"!=typeof e?e<t?-1:1:e instanceof Date?t instanceof Date?ft(e,t):-1:Object.getPrototypeOf(e)?.constructor===Object?function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return n.length<r.length?-1:1;n.sort(),r.sort();for(let o=0,i=0;o<n.length;o++){const u=n[o];if(u!==r[o])return u<r[o]?-1:1;if(i=dt(e[u],t[u]),0!==i)return i}return 0}(e,t):-1}ot.idMap=new WeakMap,ot.count=0;const ht=new WeakMap;function pt(e){if(null==e)return null;const t=(t,n)=>e(t)(n);return ht.set(t,e),t}function mt(e){return ht.get(e)??(t=>n=>e(t,n))}function gt(e,t=0){if(null!=e&&"object"==typeof e){if("function"==typeof e.toString)return e.toString();if(Symbol.iterator in e)return function(e){let t=0,n="[";for(const r of e){if(0===t)n+=gt(r);else{if(100===t){n+="; ...";break}n+="; "+gt(r)}t++}return n+"]"}(e);{const n=Object.getPrototypeOf(e)?.constructor;return n===Object&&t<10?"{ "+Object.entries(e).map((([e,n])=>e+" = "+gt(n,t+1))).join("\n ")+" }":n?.name??""}}return String(e)}class vt{get name(){return this.cases()[this.tag]}toJSON(){return 0===this.fields.length?this.name:[this.name].concat(this.fields)}toString(){return function(e,t){if(0===t.length)return e;{let n,r=!0;return 1===t.length?(n=gt(t[0]),r=n.indexOf(" ")>=0):n=t.map((e=>gt(e))).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>ct(e)));return e.splice(0,0,ut(this.tag)),st(e)}Equals(e){return this===e||!!Ke(this,e)&&this.tag===e.tag&<(this.fields,e.fields)}CompareTo(e){return this===e?0:Ke(this,e)?this.tag===e.tag?_t(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class yt{toJSON(){return function(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}(this)}toString(){return e=this,"{ "+Object.entries(e).map((([e,t])=>e+" = "+gt(t))).join("\n ")+" }";var e}GetHashCode(){return function(e){const t=Object.values(e).map((e=>ct(e)));return st(t)}(this)}Equals(e){return function(e,t){if(e===t)return!0;if(Ke(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!at(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(Ke(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=dt(e[n[r]],t[n[r]]);if(0!==o)return o}return 0}return-1}(this,e)}}const wt=0,bt=1,Ct=2,St=3,Et=4;function kt(e,t){return e.replace(/[a-z]?[A-Z]/g,(e=>1===e.length?e.toLowerCase():e.charAt(0)+t+e.charAt(1).toLowerCase()))}class xt extends vt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["backend-url","access-token"]}}class It{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return ct(this.value)}Equals(e){return null!=e&&at(this.value,e instanceof It?e.value:e)}CompareTo(e){return null==e?1:dt(this.value,e instanceof It?e.value:e)}}function Ot(e){if(null==e)throw new Error("Option has no value");return e instanceof It?e.value:e}function Nt(e){return null==e||e instanceof It?new It(e):e}function Tt(e){return null==e?[]:[Ot(e)]}function At(e,t){return null!=e?Ot(e):t}function Mt(e,t){return null!=t?Nt(e(Ot(t))):void 0}const Pt=function(e){return null==e?void 0:e}(document.querySelector("#bank-details-app")),Ut=Mt((e=>e.getAttribute("data-identity-url")),Pt),Rt=Mt((e=>e.getAttribute("data-backend-url")),Pt),Dt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Ht=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Gt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ft=["January","February","March","April","May","June","July","August","September","October","November","December"];function jt(e,t,n){let r=0,o=t;for(;o<e.length&&e[o]===n;)o++,r++;return r}function Lt(e,t){return t>=e.length-1?-1:e.charCodeAt(t+1)}function Wt(e,t){let n=t;const r=e[t];let o="",i=!1;for(;t<e.length;){const n=e[++t];if(n===r){i=!0;break}if("\\"===n){if(!(t<e.length))throw new Error("Invalid string format");o+=e[++t]}else o+=n}if(!i)throw new Error(`Invalid string format could not find matching quote for ${r}`);return[o,t-n+1]}function Vt(e,t,n){let r=0,o=0,i="";const u=n?qt(e.getTime(),1):e;for(;r<t.length;){const e=t[r];switch(e){case"d":switch(o=jt(t,r,"d"),r+=o,o){case 1:i+=Yt(u);break;case 2:i+=nt(Yt(u),2);break;case 3:i+=Dt[tn(u)];break;case 4:i+=Ht[tn(u)]}break;case"f":if(o=jt(t,r,"f"),r+=o,o<=3){const e=10**(3-o);i+=nt(Math.floor(Xt(u)/e),o)}else o<=7&&(i+=(""+Xt(u)).padEnd(o,"0"));break;case"F":if(o=jt(t,r,"F"),r+=o,o<=3){const e=10**(3-o),t=Math.floor(Xt(u)/e);0!=t&&(i+=nt(t,o))}else if(o<=7){const e=Xt(u);0!=e&&(i+=nt(e,3))}break;case"g":o=jt(t,r,"g"),r+=o,o<=2&&(i+="A.D.");break;case"h":switch(o=jt(t,r,"h"),r+=o,o){case 1:i+=Zt(u)%12;break;case 2:i+=nt(Zt(u)%12,2)}break;case"H":switch(o=jt(t,r,"H"),r+=o,o){case 1:i+=Zt(u);break;case 2:i+=nt(Zt(u),2)}break;case"K":if(o=jt(t,r,"K"),r+=o,1===o)switch($t(u)){case 1:i+="Z";break;case 2:i+=Bt(-6e4*u.getTimezoneOffset())}break;case"m":switch(o=jt(t,r,"m"),r+=o,o){case 1:i+=Kt(u);break;case 2:i+=nt(Kt(u),2)}break;case"M":switch(o=jt(t,r,"M"),r+=o,o){case 1:i+=Qt(u);break;case 2:i+=nt(Qt(u),2);break;case 3:i+=Gt[Qt(u)-1];break;case 4:i+=Ft[Qt(u)-1]}break;case"s":switch(o=jt(t,r,"s"),r+=o,o){case 1:i+=en(u);break;case 2:i+=nt(en(u),2)}break;case"t":switch(o=jt(t,r,"t"),r+=o,o){case 1:i+=u.getHours()<12?"A":"P";break;case 2:i+=u.getHours()<12?"AM":"PM"}break;case"y":switch(o=jt(t,r,"y"),r+=o,o){case 1:i+=u.getFullYear()%100;break;case 2:i+=nt(u.getFullYear()%100,2);break;case 3:i+=nt(u.getFullYear(),3);break;case 4:i+=nt(u.getFullYear(),4);break;case 5:i+=nt(u.getFullYear(),5)}break;case"z":o=jt(t,r,"z"),r+=o;let s="";switch($t(u)){case 1:s="+00:00";break;case 2:s=Bt(-6e4*u.getTimezoneOffset());break;case 0:s=Bt(-6e4*Jt(u).getTimezoneOffset())}const c="-"===s[0]?"-":"+",l=parseInt(s.substring(1,3),10),a=parseInt(s.substring(4,6),10);switch(o){case 1:i+=`${c}${l}`;break;case 2:i+=`${c}${nt(l,2)}`;break;default:i+=`${c}${nt(l,2)}:${nt(a,2)}`}break;case":":i+=":",r++;break;case"/":i+="/",r++;break;case"'":case'"':const[f,_]=Wt(t,r);i+=f,r+=_;break;case"%":const d=Lt(t,r);if(!(d>=0&&d!=="%".charCodeAt(0)))throw new Error("Invalid format string");r+=2,i+=Vt(u,String.fromCharCode(d),n);break;case"\\":const h=Lt(t,r);if(!(h>=0))throw new Error("Invalid format string");r+=2,i+=String.fromCharCode(h);break;default:r++,i+=e}}return i}function $t(e){return e.kind||0}function Bt(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+nt(~~(e/36e5),2)+":"+nt(n,2)}function zt(e,t){const n=e.toISOString();return"first"===t?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function qt(e,t){const n=new Date(e);return n.kind=0|(null==t?0:t),n}function Jt(e){return 2===e.kind?e:qt(e.getTime(),2)}function Yt(e){return 1===e.kind?e.getUTCDate():e.getDate()}function Zt(e){return 1===e.kind?e.getUTCHours():e.getHours()}function Xt(e){return 1===e.kind?e.getUTCMilliseconds():e.getMilliseconds()}function Kt(e){return 1===e.kind?e.getUTCMinutes():e.getMinutes()}function Qt(e){return(1===e.kind?e.getUTCMonth():e.getMonth())+1}function en(e){return 1===e.kind?e.getUTCSeconds():e.getSeconds()}function tn(e){return 1===e.kind?e.getUTCDay():e.getDay()}const nn=Symbol("numeric");function rn(e,t){return"number"==typeof e?e.toPrecision(t):"bigint"==typeof e?e:e[nn]().toPrecision(t)}function on(e,t){return"number"==typeof e?e.toExponential(t):"bigint"==typeof e?e:e[nn]().toExponential(t)}function un(e){return"number"==typeof e?(Number(e)>>>0).toString(16):"bigint"==typeof e?BigInt.asUintN(64,e).toString(16):e[nn]().toHex()}function sn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}const cn=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g;function ln(e){return{input:e,cont:(t=e,e=>{cn.lastIndex=0;const n=[],r=[];let o=0,i=cn.exec(t);for(;i;){const e=i.index+(i[1]||"").length;n.push(t.substring(o,e).replace(/%%/g,"%")),r.push(i),o=cn.lastIndex,cn.lastIndex-=1,i=cn.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(o).replace(/%%/g,"%")),_n(e,n,r))})};var t}function an(e){return function(e,t){return"string"==typeof t?e(t):t.cont(e)}((e=>e),e)}function fn(e,t,n,r,o){let i="";if(t=t||"",o=o||"",function(e){return"number"==typeof e||"bigint"==typeof e||e?.[nn]}(e))switch("x"!==o.toLowerCase()&&(function(e,t){return function(e,t){return"number"==typeof e||"bigint"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}(e,t)<0}(e,0)?(e=function(e,t){return"number"==typeof e?-1*e:"bigint"==typeof e?e*BigInt(-1):e[nn]().multiply(-1)}(e),i="-"):t.indexOf(" ")>=0?i=" ":t.indexOf("+")>=0&&(i="+")),r=null==r?null:parseInt(r,10),o){case"f":case"F":e=function(e,t){return"number"==typeof e?e.toFixed(t):"bigint"==typeof e?e:e[nn]().toFixed(t)}(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?rn(e,r):rn(e);break;case"e":case"E":e=null!=r?on(e,r):on(e);break;case"x":e=un(e);break;case"X":e=un(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?function(e,t,n){return null!=e.offset?function(e,t){const n=new Date(e.getTime()+(e.offset??0));if("string"!=typeof t)return n.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+Bt(e.offset??0);if(1!==t.length)return Vt(n,t,!0);switch(t){case"D":case"d":return zt(n,"first");case"T":case"t":return zt(n,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+Bt(t)}(n,e.offset??0);default:throw new Error("Unrecognized Date print format")}}(e,t):function(e,t){const n=1===e.kind;if("string"!=typeof t)return n?e.toUTCString():e.toLocaleString();if(1!==t.length)return Vt(e,t,n);switch(t){case"D":case"d":return n?zt(e,"first"):e.toLocaleDateString();case"T":case"t":return n?zt(e,"second"):e.toLocaleTimeString();case"O":case"o":return function(e,t){if(t)return e.toISOString();{const t=null==e.kind||2===e.kind;return nt(e.getFullYear(),4)+"-"+nt(e.getMonth()+1,2)+"-"+nt(e.getDate(),2)+"T"+nt(e.getHours(),2)+":"+nt(e.getMinutes(),2)+":"+nt(e.getSeconds(),2)+"."+nt(e.getMilliseconds(),3)+(t?Bt(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}(e):gt(e);if(n="number"==typeof n?n:parseInt(n,10),isNaN(n))e=i+e;else{const r=t.indexOf("0")>=0,o=t.indexOf("-")>=0,u=o||!r?" ":"0";e="0"===u?i+(e=hn(e,n-i.length,u,o)):hn(i+e,n,u,o)}return e}function _n(e,t,n,r="",o=-1){return(...i)=>{let u=r;const s=t.slice(),c=n.slice();for(const e of i){const[,,t,n,r,i]=c[0];let l=n;if(o>=0)l=o,o=-1;else if("*"===l){if(e<0)throw new Error("Non-negative number required");o=e;continue}u+=s[0],u+=fn(e,t,l,r,i),s.splice(0,1),c.splice(0,1)}return 0===c.length?(u+=s[0],e(u)):_n(e,s,c,u,o)}}function dn(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function hn(e,t,n,r){n=n||" ",t-=e.length;for(let o=0;o<t;o++)e=r?e+n:n+e;return e}function pn(e,t,n){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=n?e.substr(t,n):e.substr(t)}const mn="Collection was empty.";function gn(e,t,n,r){const o=0|t;return e.fill(r,o,o+n)}function vn(e,t,n){if(null==t)return null==n;if(null==n)return!1;{let r=0,o=!0;const i=0|t.length,u=0|n.length;if(i>u)return!1;if(i<u)return!1;for(;r<i&&o;)o=e(yn(r,t),yn(r,n)),r=r+1|0;return o}}function yn(e,t){if(e<0||e>=t.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");return t[e]}function wn(e,t,n){if(t<0||t>=e.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");e[t]=n}class bn extends yt{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+dn("; ",this)+"]"}Equals(e){return this===e||((e,t)=>{e:for(;;){const n=e,r=t,o=n.tail,i=r.tail;if(null!=o){if(null!=i){const u=Ot(o),s=Ot(i);if(at(n.head,r.head)){e=u,t=s;continue e}return!1}return!1}return null==i}})(this,e)}GetHashCode(){return 0|((e,t,n)=>{for(;;){const r=e,o=t,i=n,u=i.tail;if(null==u)return 0|o;{const s=Ot(u);if(r>18)return 0|o;e=r+1,t=(o<<1)+ct(i.head)+631*r,n=s}}})(0,0,this)}toJSON(){return Array.from(this)}CompareTo(e){return 0|((e,t)=>{e:for(;;){const n=e,r=t,o=n.tail,i=r.tail;if(null!=o){if(null!=i){const u=Ot(o),s=Ot(i),c=0|dt(n.head,r.head);if(0===c){e=u,t=s;continue e}return 0|c}return 1}return null!=i?-1:0}})(this,e)}GetEnumerator(){return new Cn(this)}[Symbol.iterator](){return tt(et(this))}"System.Collections.IEnumerable.GetEnumerator"(){return et(this)}}class Cn{constructor(e){this.xs=e,this.it=this.xs,this.current=null}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this,t=e.it.tail;if(null!=t){const n=Ot(t);return e.current=e.it.head,e.it=n,!0}return!1}"System.Collections.IEnumerator.Reset"(){const e=this;e.it=e.xs,e.current=null}Dispose(){}}function Sn(){return new bn(null,void 0)}function En(e,t){return new bn(e,t)}function kn(e){return null==e.tail}function xn(e){if(null!=e.tail)return e.head;throw new Error(mn+"\\nParameter name: list")}function In(e){const t=e.tail;if(null!=t)return Ot(t);throw new Error(mn+"\\nParameter name: list")}function On(){return Sn()}function Nn(e,t){return En(e,t)}function Tn(e){return En(e,Sn())}function An(e){return kn(e)}function Mn(e){return xn(e)}function Pn(e){return In(e)}function Un(e){const t=0|function(e){return 0|((e,t)=>{for(;;){const n=e,r=t.tail;if(null==r)return 0|n;e=n+1,t=Ot(r)}})(0,e)}(e),n=gn(new Array(t),0,t,null);return((e,t)=>{for(;;){const r=e,o=t;if(kn(o))break;wn(n,r,xn(o)),e=r+1,t=In(o)}})(0,e),n}function Rn(e,t,n){let r=t,o=n;for(;!kn(o);)r=e(r,Mn(o)),o=In(o);return r}function Dn(e,t){Rn(((t,n)=>{e(n)}),void 0,t)}function Hn(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=En(yn(t,e),n);return n}function Gn(e){return Hn(e,Sn())}function Fn(e,t){return Rn(((e,t)=>En(t,e)),t,function(e){return Rn(((e,t)=>En(t,e)),Sn(),e)}(e))}function jn(e,t){const n=Sn(),r=Rn(((t,n)=>{const r=new bn(e(n),void 0);return t.tail=r,r}),n,t),o=Sn();return r.tail=o,In(n)}function Ln(e,t){const n=Sn(),r=Rn(((t,n)=>{if(e(n)){const e=new bn(n,void 0);return t.tail=e,e}return t}),n,t),o=Sn();return r.tail=o,In(n)}const Wn="Enumeration already finished.",Vn="Enumeration has not started. Call MoveNext.",$n="The input sequence has an insufficient number of elements.";function Bn(){throw new Error(Vn)}function zn(){throw new Error(Wn)}class qn{constructor(e){this.f=e}toString(){let e=0,t="seq [";const n=et(this);try{for(;e<4&&n["System.Collections.IEnumerator.MoveNext"]();)e>0&&(t+="; "),t+=gt(n["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(t+="; ..."),t+"]"}finally{Xe(n)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return tt(et(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class Jn{constructor(e,t,n){this.current=e,this.next=t,this.dispose=n}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current()}"System.Collections.IEnumerator.get_Current"(){return this.current()}"System.Collections.IEnumerator.MoveNext"(){return this.next()}"System.Collections.IEnumerator.Reset"(){!function(){throw new Error("Reset is not supported on this enumerator.")}()}Dispose(){this.dispose()}}function Yn(e,t,n){return new Jn(e,t,n)}function Zn(e,t,n){let r,o=!1,i=Nt(e());const u=()=>{if(null!=i){const e=Ot(i);try{n(e)}finally{i=void 0}}},s=()=>{try{u()}finally{r=void 0}};return Yn((()=>(o||Bn(),null!=r?Ot(r):zn())),(()=>{if(o||(o=!0),null!=i){const e=Ot(i);let n;try{n=t(e)}catch(e){throw s(),e}return null!=n?(r=n,!0):(s(),!1)}return!1}),u)}function Xn(e){return function(e){return new qn(e)}(e)}function Kn(e){return t="source",null==e&&function(e){throw new Error(e)}(t),et(e);var t}function Qn(e){return Xn((()=>et(e())))}function er(e){return Xn((()=>function(e){let t,n,r,o=!1,i=!1;const u=()=>{if(i=!0,null!=n){const e=Ot(n);try{Xe(e)}finally{n=void 0}}if(null!=t){const e=Ot(t);try{Xe(e)}finally{t=void 0}}};return Yn((()=>(o?i&&zn():Bn(),null!=r?Ot(r):zn())),(()=>{let s;if(o||(o=!0),i)return!1;{let o;for(;null==o;){const i=t;if(null!=i)if(null!=n){const e=Ot(n);if(e["System.Collections.IEnumerator.MoveNext"]())r=Nt(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),o=!0;else try{Xe(e)}finally{n=void 0}}else{const e=Ot(i);e["System.Collections.IEnumerator.MoveNext"]()?(s=e["System.Collections.Generic.IEnumerator`1.get_Current"](),n=et(s)):(u(),o=!1)}else t=et(e)}return Ot(o)}}),(()=>{i||u()}))}(e)))}function tr(e){return Qn((()=>function(e,t){const n=function(e,t){return"function"==typeof e?new e(1):new Array(1)}(t);return wn(n,0,e),n}(e)))}function nr(e,t){return er([e,t])}function rr(e,t){!function(e,t,n){const r=Kn(n);try{let n=t;for(;r["System.Collections.IEnumerator.MoveNext"]();)n=e(n,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return n}finally{Xe(r)}}(((t,n)=>{e(n)}),void 0,t)}function or(e,t){return n=()=>Kn(t),r=t=>t["System.Collections.IEnumerator.MoveNext"]()?Nt(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,o=e=>{Xe(e)},Xn((()=>Zn(n,r,o)));var n,r,o}function ir(e,t){return Xn((()=>{const n=Kn(t);try{for(let t=1;t<=e;t++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error($n+"\\nParameter name: source");return function(e,t){return Yn((()=>t["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>t["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{Xe(t)}finally{e()}}))}((()=>{}),n)}catch(e){throw Xe(n),e}}))}Symbol.iterator;const ur=Ye;function sr(e){return{Dispose(){e()}}}function cr(e){const t=ur.useRef(void 0),n=ur.useRef(!1),r=ur.useRef(!1);var o;n.current&&(r.current=!0),o=()=>{return o=n.current?void 0:(n.current=!0,t.current=Nt(e()),r.current?t.current:void 0),{Dispose(){rr((e=>{Xe(e)}),Tt(o))}};var o},te((()=>{const e=o();return()=>{e.Dispose()}}),[])}function lr(e,t){return t.startsWith(e)?t:void 0}function ar(e,t){return t.endsWith(e)?t:void 0}function fr(e,t){return function(e){return 1===e?e=>{let t,n,r,o,i,u;return t=lr("/",e),null!=t?(n=t,"#"+n):(r=lr("#/",e),null!=r?(o=r,o):(i=lr("#",e),null!=i?(u=i,"#/"+pn(u,1,u.length-1)):"#/"+e))}:e=>{let t,n;return t=lr("/",e),null!=t?(n=t,n):"/"+e}}(t)(dn("/",jn((e=>e.indexOf("?")>=0||e.startsWith("#")||e.startsWith("/")?e:encodeURIComponent(e)),e)))}function _r(e,t){return function(e,t){let n,r;const o=Sn();let i=o,u=t;for(;!kn(u);){let t=e(xn(u));for(;!kn(t);)n=i,r=new bn(xn(t),void 0),n.tail=r,i=r,t=In(t);u=In(u)}const s=i,c=Sn();return s.tail=c,In(o)}((e=>{if("string"!=typeof(t=e)||/^\s*$/.test(t))return On();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+sn(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return On();if(null!=lr("?",t))return Tn(t);{const e=t.split("?");if(vn(((e,t)=>e===t),e,null)||1!==e.length){if(vn(((e,t)=>e===t),e,null)||2!==e.length)return On();if(""===yn(1,e)){const t=yn(0,e);return Tn(decodeURIComponent(t))}{const t=yn(0,e),n=yn(1,e);return Gn([decodeURIComponent(t),"?"+n])}}{const t=yn(0,e);return Tn(decodeURIComponent(t))}}}var t}),Gn(function(e,t,n,r){if(r="number"==typeof r?r:0,(n="number"==typeof n?n:void 0)&&n<0)throw new Error("Count cannot be less than zero");if(0===n)return[];const o=1==(1&r),i=2==(2&r);t=(t=t||[]).filter((e=>e)).map(sn),t=t.length>0?t:["\\s"];const u=[],s=new RegExp(t.join("|"),"g");let c=!0,l=0;do{const t=s.exec(e);if(null===t){const t=i?e.substring(l).trim():e.substring(l);(!o||t.length>0)&&u.push(t),c=!1}else{const r=i?e.substring(l,t.index).trim():e.substring(l,t.index);(!o||r.length>0)&&(null!=n&&u.length+1===n?(u.push(i?e.substring(l).trim():e.substring(l)),c=!1):u.push(r)),l=s.lastIndex}}while(c);return u}(null!=lr("#",e)?pn(e,1,e.length-1):1!==t||null==ar("#",e)&&null==ar("#/",e)?e:"",["/"],void 0,0)))}const dr=function(e,t,n,r){const o=ur.memo(e,pt(At(Mt(mt,void 0),null)));return rr((t=>{e.displayName=t}),Tt(void 0)),e=>{const t=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(undefined,e);return ur.createElement(o,t)}}((e=>{const t=function(e){const t=ur.useRef(e),n=ur.useCallback((e=>t.current(e)),[]);var r;return r=n=>(t.current=e,sr((()=>{}))),ne((()=>{const e=r();return()=>{e.Dispose()}})),n}((t=>{const n=At(e.onUrlChanged,(e=>{}));!function(e,t,n){t(_r(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(At(e.hashMode,1),n)}));cr((()=>(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.addEventListener("hashchange",t):window.addEventListener("popstate",t),window.addEventListener("CUSTOM_NAVIGATION_EVENT",t),sr((()=>{window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.removeEventListener("hashchange",t):window.removeEventListener("popstate",t),window.removeEventListener("CUSTOM_NAVIGATION_EVENT",t)}))))),function(e){const t=ur.useRef(!1);ur.useEffect((()=>{t.current||(t.current=!0,(()=>{const e=document.createEvent("CustomEvent");e.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(e)})())}),[])}();const n=e.application;return null==n?null:n}));class hr extends yt{constructor(e,t){super(),this.CurrentPage=e,this.Auth=t}}class pr extends vt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["UrlChanged","AuthMsg"]}}class mr{constructor(e){this.k=e}}function gr(e){return new mr(e)}function vr(e){return e.k}class yr extends mr{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=0|r}}function wr(e,t,n,r){return new yr(e,t,n,r)}function br(e){return e.left}function Cr(e){return e.right}function Sr(e){return e.h}function Er(e,t){e:for(;;){const n=t;if(null!=e){const r=Ot(e);if(r instanceof yr){const o=r;e=br(o),t=Er(Cr(o),n+1);continue e}return n+1|0}return 0|n}}function kr(e){return Er(e,0)}function xr(e,t,n){let r,o,i,u;if(null!=e){const t=Ot(e);i=t instanceof yr?(r=t,Sr(r)):1}else i=0;if(null!=n){const e=Ot(n);u=e instanceof yr?(o=e,Sr(o)):1}else u=0;const s=0|(i<u?u:i);return 0===s?gr(t):wr(t,e,n,s+1)}function Ir(e,t,n){let r,o,i,u,s,c,l,a,f,_;if(null!=e){const t=Ot(e);f=t instanceof yr?(r=t,Sr(r)):1}else f=0;if(null!=n){const e=Ot(n);_=e instanceof yr?(o=e,Sr(o)):1}else _=0;if(_>f+2){const r=Ot(n);if(r instanceof yr){const n=r;if(i=br(n),(null!=i?(u=Ot(i),u instanceof yr?(s=u,Sr(s)):1):0)>f+1){const r=Ot(br(n));if(r instanceof yr){const o=r;return xr(xr(e,t,br(o)),vr(o),xr(Cr(o),vr(n),Cr(n)))}throw new Error("internal error: Set.rebalance")}return xr(xr(e,t,br(n)),vr(n),Cr(n))}throw new Error("internal error: Set.rebalance")}if(f>_+2){const r=Ot(e);if(r instanceof yr){const e=r;if(c=Cr(e),(null!=c?(l=Ot(c),l instanceof yr?(a=l,Sr(a)):1):0)>_+1){const r=Ot(Cr(e));if(r instanceof yr){const o=r;return xr(xr(br(e),vr(e),br(o)),vr(o),xr(Cr(o),t,n))}throw new Error("internal error: Set.rebalance")}return xr(br(e),vr(e),xr(Cr(e),t,n))}throw new Error("internal error: Set.rebalance")}return xr(e,t,n)}function Or(e,t,n){if(null!=n){const r=Ot(n),o=0|e.Compare(t,vr(r));if(r instanceof yr){const i=r;return o<0?Ir(Or(e,t,br(i)),vr(i),Cr(i)):0===o?n:Ir(br(i),vr(i),Or(e,t,Cr(i)))}{const o=0|e.Compare(t,vr(r));return o<0?wr(t,void 0,n,2):0===o?n:wr(t,n,void 0,2)}}return gr(t)}function Nr(e,t,n){e:for(;;){const r=e,o=t;if(null!=n){const i=Ot(n),u=0|r.Compare(o,vr(i));if(i instanceof yr){const s=i;if(u<0){e=r,t=o,n=br(s);continue e}if(0===u)return!0;e=r,t=o,n=Cr(s);continue e}return 0===u}return!1}}function Tr(e,t){e:for(;;){const n=e;if(null!=t){const r=Ot(t);if(r instanceof yr){const o=r;Tr(n,br(o)),n(vr(o)),e=n,t=Cr(o);continue e}n(vr(r))}break}}class Ar extends yt{constructor(e,t){super(),this.stack=e,this.started=t}}function Mr(e){e:for(;;){const t=e;if(An(t))return On();{const n=Mn(t),r=Pn(t);if(null!=n){const o=Ot(n);if(o instanceof yr){const t=o;e=Hn([br(t),gr(vr(t)),Cr(t)],r);continue e}return t}e=r;continue e}}}function Pr(e){return new Ar(Mr(Tn(e)),!1)}function Ur(e){if(e.started){const t=e.stack;if(An(t))return function(){throw new Error("Enumeration already started")}();if(null!=Mn(t))return vr(Ot(Mn(t)));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function Rr(e){let t=Pr(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Ur(t),"System.Collections.IEnumerator.get_Current":()=>Ur(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(An(t))return!1;if(null!=Mn(t)){if(Ot(Mn(t))instanceof yr)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Mr(Pn(t)),!An(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!An(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=Pr(e)},Dispose(){}}}function Dr(e,t,n){return null==t?null==n?0:-1:null==n?1:0|function(e,t,n){e:for(;;){const r=e,o=t,i=n;if(An(o))return An(i)?0:-1;if(An(i))return 1;if(null!=Mn(i))if(null!=Mn(o)){const u=Ot(Mn(o)),s=Ot(Mn(i));if(u instanceof yr){const c=u;if(null==br(c)){if(!(s instanceof yr)){const u=0|r.Compare(vr(c),vr(s));if(0!==u)return 0|u;e=r,t=Nn(Cr(c),Pn(o)),n=Nn(void 0,Pn(i));continue e}{const u=s;if(null==br(u)){const s=0|r.Compare(vr(c),vr(u));if(0!==s)return 0|s;e=r,t=Nn(Cr(c),Pn(o)),n=Nn(Cr(u),Pn(i));continue e}{let u,s,c,l,a;switch(An(o)?An(i)?u=2:null!=Mn(i)?(u=1,l=Pn(i),a=Ot(Mn(i))):u=2:null!=Mn(o)?(u=0,s=Pn(o),c=Ot(Mn(o))):An(i)?u=2:null!=Mn(i)?(u=1,l=Pn(i),a=Ot(Mn(i))):u=2,u){case 0:if(c instanceof yr){const o=c;e=r,t=Hn([br(o),wr(vr(o),void 0,Cr(o),0)],s),n=i;continue e}e=r,t=Hn([void 0,gr(vr(c))],s),n=i;continue e;case 1:if(a instanceof yr){const i=a;e=r,t=o,n=Hn([br(i),wr(vr(i),void 0,Cr(i),0)],l);continue e}e=r,t=o,n=Hn([void 0,gr(vr(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{let u,s,c,l,a;switch(An(o)?An(i)?u=2:null!=Mn(i)?(u=1,l=Pn(i),a=Ot(Mn(i))):u=2:null!=Mn(o)?(u=0,s=Pn(o),c=Ot(Mn(o))):An(i)?u=2:null!=Mn(i)?(u=1,l=Pn(i),a=Ot(Mn(i))):u=2,u){case 0:if(c instanceof yr){const o=c;e=r,t=Hn([br(o),wr(vr(o),void 0,Cr(o),0)],s),n=i;continue e}e=r,t=Hn([void 0,gr(vr(c))],s),n=i;continue e;case 1:if(a instanceof yr){const i=a;e=r,t=o,n=Hn([br(i),wr(vr(i),void 0,Cr(i),0)],l);continue e}e=r,t=o,n=Hn([void 0,gr(vr(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{if(!(s instanceof yr)){const c=0|r.Compare(vr(u),vr(s));if(0!==c)return 0|c;e=r,t=Pn(o),n=Pn(i);continue e}{const c=s;if(null==br(c)){const s=0|r.Compare(vr(u),vr(c));if(0!==s)return 0|s;e=r,t=Nn(void 0,Pn(o)),n=Nn(Cr(c),Pn(i));continue e}{let u,s,c,l,a;switch(An(o)?An(i)?u=2:null!=Mn(i)?(u=1,l=Pn(i),a=Ot(Mn(i))):u=2:null!=Mn(o)?(u=0,s=Pn(o),c=Ot(Mn(o))):An(i)?u=2:null!=Mn(i)?(u=1,l=Pn(i),a=Ot(Mn(i))):u=2,u){case 0:if(c instanceof yr){const o=c;e=r,t=Hn([br(o),wr(vr(o),void 0,Cr(o),0)],s),n=i;continue e}e=r,t=Hn([void 0,gr(vr(c))],s),n=i;continue e;case 1:if(a instanceof yr){const i=a;e=r,t=o,n=Hn([br(i),wr(vr(i),void 0,Cr(i),0)],l);continue e}e=r,t=o,n=Hn([void 0,gr(vr(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}}}}else{let u,s,c,l,a;switch(Ot(Mn(i)),An(o)?An(i)?u=2:null!=Mn(i)?(u=1,l=Pn(i),a=Ot(Mn(i))):u=2:null!=Mn(o)?(u=0,s=Pn(o),c=Ot(Mn(o))):An(i)?u=2:null!=Mn(i)?(u=1,l=Pn(i),a=Ot(Mn(i))):u=2,u){case 0:if(c instanceof yr){const o=c;e=r,t=Hn([br(o),wr(vr(o),void 0,Cr(o),0)],s),n=i;continue e}e=r,t=Hn([void 0,gr(vr(c))],s),n=i;continue e;case 1:if(a instanceof yr){const i=a;e=r,t=o,n=Hn([br(i),wr(vr(i),void 0,Cr(i),0)],l);continue e}e=r,t=o,n=Hn([void 0,gr(vr(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==Mn(o)){e=r,t=Pn(o),n=Pn(i);continue e}{let u,s,c,l,a;switch(Ot(Mn(o)),An(o)?An(i)?u=2:null!=Mn(i)?(u=1,l=Pn(i),a=Ot(Mn(i))):u=2:null!=Mn(o)?(u=0,s=Pn(o),c=Ot(Mn(o))):An(i)?u=2:null!=Mn(i)?(u=1,l=Pn(i),a=Ot(Mn(i))):u=2,u){case 0:if(c instanceof yr){const o=c;e=r,t=Hn([br(o),wr(vr(o),void 0,Cr(o),0)],s),n=i;continue e}e=r,t=Hn([void 0,gr(vr(c))],s),n=i;continue e;case 1:if(a instanceof yr){const i=a;e=r,t=o,n=Hn([br(i),wr(vr(i),void 0,Cr(i),0)],l);continue e}e=r,t=o,n=Hn([void 0,gr(vr(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,Tn(t),Tn(n))}function Hr(e,t,n){let r=n;Tr((e=>{wn(t,r,e),r=r+1|0}),e)}function Gr(e,t){return function(t,n,r){const o=(t,n)=>Or(e,n,t);return r.reduce(o,void 0)}(0,0,t)}class Fr{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){let t=0;const n=et(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();)t=(t<<1)+ct(n["System.Collections.Generic.IEnumerator`1.get_Current"]())+631|0}finally{Xe(n)}return 0|Math.abs(t)}(this)}Equals(e){let t;return e instanceof Fr&&(t=e,0===Dr(Lr(this),Wr(this),Wr(t)))}toString(){return"set ["+dn("; ",or((e=>gt(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){return Array.from(this)}CompareTo(e){return 0|Dr(Lr(this),Wr(this),Wr(e))}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return Nr(Lr(this),e,Wr(this))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(e,t){Hr(Wr(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|$r(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|$r(this)}GetEnumerator(){return Rr(Wr(this))}[Symbol.iterator](){return tt(et(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Rr(Wr(this))}get size(){return 0|$r(this)}add(e){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(e){throw new Error("Set cannot be mutated")}has(e){return Br(this,e)}keys(){return or((e=>e),this)}values(){return or((e=>e),this)}entries(){return or((e=>[e,e]),this)}forEach(e,t){const n=this;rr((t=>{e(t,t,n)}),n)}}function jr(e,t){return new Fr(e,t)}function Lr(e){return e.comparer}function Wr(e){return e.tree}function Vr(e){return jr(e,void 0)}function $r(e){return kr(Wr(e))}function Br(e,t){return Nr(Lr(e),t,Wr(e))}function zr(e,t){return Br(t,e)}function qr(e,t){return function(e,t){return jr(Lr(e),Or(Lr(e),t,Wr(e)))}(t,e)}function Jr(e){return dn("/",e)}function Yr(e,t,n){try{Xe(n)}catch(n){e(["Error stopping subscription: "+Jr(t),n])}}function Zr(e,t){Dn((t=>{Yr(e,t[0],t[1])}),t)}function Xr(e,t,n,r,o,i){return Dn((t=>{!function(e,t){const n=new Error("Duplicate SubId");e(["Duplicate SubId: "+Jr(t),n])}(e,t)}),n),Dn((t=>{Yr(e,t[0],t[1])}),r),Fn(o,function(n,r){const o=Sn(),i=Rn(((n,r)=>{const o=function(e,t,n,r){try{return[n,r(t)]}catch(t){return void e(["Error starting subscription: "+Jr(n),t])}}(e,t,(i=r)[0],i[1]);var i;if(null==o)return n;{const e=new bn(Ot(o),void 0);return n.tail=e,e}}),o,r),u=Sn();return i.tail=u,In(o)}(0,i))}function Kr(e){return t=(e,t)=>{return n=e[0],r=e[1],o=t[0],i=t[1],u=t[2],zr(n,i)?[Nn(n,o),i,u]:[o,qr(n,i),Nn([n,r],u)];var n,r,o,i,u},n=e,r=[On(),(o={Compare:dt},Vr(o)),On()],function(e,t,n){return t.reduceRight(((t,n)=>e(n,t)),n)}(t,Un(n),r);var t,n,r,o}const Qr=On();function eo(e,t){const n=jr(r={Compare:dt},function(e,t){if(Ze(t))return Gr(e,t);if(t instanceof bn)return function(e,t){return Rn(((t,n)=>Or(e,n,t)),void 0,t)}(e,t);{const n=et(t);try{return function(e,t,n){for(;;){const r=e,o=t,i=n;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;e=r,t=Or(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i}}(e,void 0,n)}finally{Xe(n)}}}(r,jn((e=>e[0]),e)));var r;const o=Kr(t),i=o[1],u=o[0];if(n.Equals(i))return[u,On(),e,On()];{const t=function(e,t){const n=Sn(),r=Sn(),o=n,u=Rn(((e,t)=>{let n,r;const o=e[0],u=e[1];return(e=>zr(e[0],i))(t)?[(n=new bn(t,void 0),o.tail=n,n),u]:[o,(r=new bn(t,void 0),u.tail=r,r)]}),[o,r],t),s=Sn();u[0].tail=s;const c=Sn();return u[1].tail=c,[In(o),In(r)]}(0,e);return[u,t[1],t[0],Ln((e=>!zr(e[0],n)),o[2])]}}function to(e,t,n){Dn((n=>{try{n(t)}catch(t){e(t)}}),n)}function no(){return On()}function ro(e,t){return jn((t=>n=>{t((t=>{n(e(t))}))}),t)}function oo(e,t,n,r){return Tn((o=>{e(t).then((e=>{o(n(e))})).catch((e=>{o(r(e))}))}))}function io(e,t){return e>t?e:t}function uo(e,t,n,r,o){const i=function(e,t,n,r){const o=0|dt(e,n);if(0===o)throw new Error("The step of a range cannot be zero");const i=o>0;return n=>{const o=0|dt(n,t);return i&&o<=0||!i&&o>=0?[n,r(n,e)]:void 0}}(t,n,r,o);return Qn((()=>{return t=i,n=e,Xn((()=>function(e,t){let n,r=t;return Yn((()=>{if(null!=n){const e=Ot(n)[0];return Ot(n)[1],e}return Bn()}),(()=>{if(n=e(r),null!=n){Ot(n)[0];const e=Ot(n)[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}class so extends vt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class co{constructor(e){this.state=new so(0,[gn(new Array(io(e,10)),0,io(e,10),null),0])}}function lo(e){const t=e.state;if(1===t.tag){const n=0|t.fields[1],r=0|t.fields[2],o=t.fields[0],i=(r+1)%o.length|0;return e.state=i===n?new so(0,[o,n]):new so(1,[o,n,i]),Nt(yn(r,o))}}function ao(e,t){const n=e.state;if(1===n.tag){const i=0|n.fields[1],u=0|n.fields[2],s=n.fields[0];wn(s,i,t);const c=(i+1)%s.length|0;e.state=new so(1,c===u?[(r=u,o=s,Array.from(Qn((()=>nr(ir(r,o),Qn((()=>{return nr((e=r,t=o,n=()=>Kn(t),i=(t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return Nt(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error($n+"\\nParameter name: source")}},u=e=>{Xe(e)},Xn((()=>{let e=-1;return Zn(n,(t=>(e=e+1|0,i(e,t))),u)}))),Qn((()=>{return e=e=>tr(null),0,1,n=o.length,t=uo(0,1,n,0,((e,t)=>e+t)),Qn((()=>er(or(e,t))));var e,t,n})));var e,t,n,i,u}))))))),s.length,0]:[s,c,u])}else{const r=0|n.fields[1],o=n.fields[0];wn(o,r,t);const i=(r+1)%o.length|0;e.state=new so(1,[o,i,r])}var r,o}class fo extends yt{constructor(e,t,n,r,o,i,u){super(),this.init=e,this.update=t,this.subscribe=n,this.view=r,this.setState=o,this.onError=i,this.termination=u}}function _o(e){return mt(e.view)}var ho;function po(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function mo(e,t,n,r,o){const i=function(e,t,n){const r=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(null!=r){const[,,e,o]=r;n=n||function(e,t){if(t&ho.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}(e,t);const i=function(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}(n);if(!i.test(o))return function(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}(r,n)}return null}(e,t,o);if(null!=i){let e=Number.parseInt(i.sign+i.digits,i.radix);if(!Number.isNaN(e)){const[t,o]=po(!0,r);!n&&10!==i.radix&&e>=t&&e<=o&&(e=e<<32-r>>32-r);const[u,s]=po(n,r);if(e>=u&&e<=s)return e}}throw new Error(`The input string ${e} was not in a correct format.`)}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(ho||(ho={}));class go extends yt{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class vo extends g{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}const yo=(()=>{try{return mo("17.0.2".slice(void 0,2),511,!1,32)>=18}catch(e){return!1}})();class wo extends vt{constructor(e){super(),this.tag=0,this.fields=[e]}cases(){return["Token"]}}class bo extends vt{constructor(e){super(),this.tag=0,this.fields=[e]}cases(){return["QueryString"]}}class Co extends vt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Home","OidcSignIn","OidcSignInRedirectCallback","OidcSignInSilentCallback","NotFound"]}}function So(e){let t,n,r;if(An(e))t=0;else if("oidc"===Mn(e))if(An(Pn(e)))t=3;else switch(Mn(Pn(e))){case"callback":An(Pn(Pn(e)))?t=3:An(Pn(Pn(Pn(e))))?(t=1,n=Mn(Pn(Pn(e)))):t=3;break;case"silent-refresh":An(Pn(Pn(e)))?t=3:An(Pn(Pn(Pn(e))))?(t=2,r=Mn(Pn(Pn(e)))):t=3;break;default:t=3}else t=3;switch(t){case 0:{const e=window.location.search,t=new URLSearchParams(e),n=t.get("token");if(null==n)return new Co(0,[]);{const e=n;return rr((e=>{!function(e,t){sessionStorage.setItem("success-redirection-url",t)}(0,e)}),Tt(t.get("success-redirection-url"))),new Co(1,[new wo(e)])}}case 1:return new Co(2,[new bo(n)]);case 2:return new Co(3,[new bo(r)]);default:return new Co(4,[])}}class Eo extends vt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class ko extends vt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Started","Finished"]}}class xo extends yt{constructor(e){super(),this.AccessToken=e}}function Io(e){return new xo(e.access_token)}class Oo extends yt{constructor(e){super(),this.Auth=e}}class No extends vt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["GetUser","SignInRedirect","SignInRedirectCallback","SignInSilentCallback"]}}class To extends vt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Ok","Error"]}}const Ao=(()=>{const e={};return e.store=Nt(window.sessionStorage),e})();function Mo(){return new UserManager(function(){const e=function(e){return e.endsWith("/")?e:e+"/"}(window.location.origin+window.location.pathname),t={};return t.authority=Ut,t.client_id="apollo-bank-details-ui",t.redirect_uri=e+"#/oidc/callback?",t.response_type="id_token token",t.scope="openid profile",t.automaticSilentRenew=!0,t.silent_redirect_uri=Nt(e+"#/oidc/silent-refresh?"),t.post_logout_redirect_uri=e+"#/oidc/logout?",t.accessTokenExpiringNotificationTime=10,t.filterProtocolClaims=!0,t.loadUserInfo=!1,t.clockSkew=2592e3,t.userStore=new WebStorageStateStore(Ao),t}())}function Po(e){return e.length>0?pn(e,1):e}function Uo(e){return Mo().signinRedirect(Nt({extraQueryParams:{irt:e.fields[0]}}))}function Ro(e){return Mo().signinRedirectCallback(Po(e.fields[0]))}function Do(e){return Mo().signinSilentCallback(Po(e.fields[0]))}function Ho(){return Mo().getUser()}var Go;!function(e){!function(e,t){!function(e,t,n){let r;const o=n.init(t),i=o[0],u=n.subscribe(i),s=n.termination,c=new co(10);let l=!1,a=i,f=Qr,_=!1;const d=mt(e)((e=>{_||(ao(c,e),l||(l=!0,h(),l=!1))})),h=()=>{let e,t=lo(c);for(;!_&&null!=t;){const r=Ot(t);if(s[0](r))Zr(n.onError,f),s[1](a),_=!0;else{const o=n.update(r,a),i=o[0],u=n.subscribe(i);n.setState(i,d),to((e=>{n.onError([an(ln("Error handling the message: %A"))(r),e])}),d,o[1]),a=i,e=eo(f,u),f=Xr(n.onError,d,e[0],e[1],e[2],e[3]),t=lo(c)}}};l=!0,n.setState(i,d),to((e=>{n.onError([an(ln("Error intitializing:")),e])}),d,o[1]),r=eo(f,u),f=Xr(n.onError,d,r[0],r[1],r[2],r[3]),h(),l=!1}(pt((e=>e)),void 0,t)}(0,e)}(("bank-details-app",Go=function(e,t,n){return new fo((function(){const e=So(_r(window.location.hash,1)),t=function(){const e=So(_r(window.location.hash,1));return[new Oo(new Eo(0,[])),1===e.tag?Tn((t=>{t(new No(1,[new ko(0,[]),e.fields[0]]))})):2===e.tag?Tn((t=>{t(new No(2,[new ko(0,[]),e.fields[0]]))})):3===e.tag?Tn((t=>{t(new No(3,[new ko(0,[]),e.fields[0]]))})):Tn((e=>{e(new No(0,[new ko(0,[])]))}))]}();return[new hr(e,t[0]),ro((e=>new pr(1,[e])),t[1])]}),t,(e=>On()),n,pt((e=>{const t=mt(n)(e);return e=>{t(e)}})),(e=>{var t,n;t=e[0],n=e[1],console.error(Nt(t),n)}),[e=>!1,e=>{}])}(0,(function(e,t){if(1===e.tag){const n=function(e,t){const n=e=>[new Oo(new Eo(2,[new To(1,[e])])),no()];switch(e.tag){case 1:return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(an(ln("SignInRedirect failed: %s"))(e.fields[0].fields[0].fields[0])):[t,no()]:[new Oo(new Eo(1,[])),(o=Uo,i=e.fields[1],u=t=>new No(1,[new ko(1,[new To(1,[t.message])]),e.fields[1]]),Tn((e=>{o(i).catch((t=>{e(u(t))}))})))];case 2:return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(an(ln("failed sign in: %s"))(e.fields[0].fields[0].fields[0])):[new Oo(new Eo(2,[new To(0,[Io(e.fields[0].fields[0].fields[0])])])),(r=e=>{!function(e,t,n){history.pushState(void 0,"",fr(e,1));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}(Tn(""))},Tn(r))]:[new Oo(new Eo(1,[])),oo(Ro,e.fields[1],(t=>(window.gtag&&window.gtag("event","oidc_sign_in",{}),new No(2,[new ko(1,[new To(0,[t])]),e.fields[1]]))),(t=>new No(2,[new ko(1,[new To(1,[t.message])]),e.fields[1]])))];case 3:return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(an(ln("failed silent sign in: %s"))(e.fields[0].fields[0].fields[0])):null==e.fields[0].fields[0].fields[0]?n("silent refresh expected a user but got none"):[new Oo(new Eo(2,[new To(0,[Io(e.fields[0].fields[0].fields[0])])])),no()]:[t,oo(Do,e.fields[1],(t=>new No(3,[new ko(1,[new To(0,[t])]),e.fields[1]])),(t=>new No(3,[new ko(1,[new To(1,[t.message])]),e.fields[1]])))];default:return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(an(ln("failed to get current user: %s"))(e.fields[0].fields[0].fields[0])):null==e.fields[0].fields[0].fields[0]?n("expected a user but got none"):[new Oo(new Eo(2,[new To(0,[Io(e.fields[0].fields[0].fields[0])])])),no()]:[new Oo(new Eo(1,[])),oo(Ho,void 0,(e=>new No(0,[new ko(1,[new To(0,[e])])])),(e=>new No(0,[new ko(1,[new To(1,[e.message])])])))]}var r,o,i,u}(e.fields[0],t.Auth);return[new hr(t.CurrentPage,n[0]),ro((e=>new pr(1,[e])),n[1])]}return[new hr(So(e.fields[0]),t.Auth),no()]}),(function(e,t){let n,r,o;if(0===(null!=Rt&&null!=Ut?(r=0,o=Rt):r=1,r))switch(e.CurrentPage.tag){case 1:case 2:case 3:n=h("div",{children:"Please wait..."});break;case 4:n=h("h1",{children:"Not found"});break;default:{const t=e.Auth.Auth;let r,u;2===t.tag&&0===t.fields[0].tag?(r=0,u=t.fields[0].fields[0]):r=1,0===r?(i=[],n=h("bank-component",function(e,t=wt){const n={},r=t;function o(e){throw new Error("Cannot infer key and value of "+String(e))}function i(e,t,r){e=function(e,t){switch(t){case bt:return e.charAt(0).toLowerCase()+e.slice(1);case Ct:return kt(e,"_");case St:return kt(e,"_").toUpperCase();case Et:return kt(e,"-");default:return e}}(e,t),n[e]=r}for(let t of e){let e=wt;if(null==t&&o(t),t instanceof vt){const n=t.cases()[t.tag];t=0===t.fields.length?n:[n].concat(t.fields),e=r}if(Array.isArray(t))switch(t.length){case 0:o(t);break;case 1:i(t[0],e,!0);break;case 2:const n=t[1];i(t[0],e,n);break;default:i(t[0],e,t.slice(1))}else"string"==typeof t?i(t,e,!0):o(t)}return n}([new xt(0,[o]),new xt(1,[u.AccessToken])],1),...i)):n=h("h1",{children:"Unauthorised"})}}else n=h("h1",{children:"Invalid attribute configuration"});var i;return dr({onUrlChanged:e=>{t(new pr(0,[e]))},application:h(m,{},n)})})),function(e,t,n){let r;return function(e,t){return new fo(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}(pt(yo?(o=document.getElementById(t),r={render(e){Re(e,o)},unmount(){qe(o)}},t=>o=>{r.render(e((e=>t=>e===t),_o(n),t,o))}):r=>o=>{Re(e((e=>t=>e===t),_o(n),r,o),document.getElementById(t))}),n);var o}(((e,t,n,r)=>function(e,t,n,r){const o=new go(n,(()=>t(n,r)),e);return h(vo,o)}(pt(e),pt(t),n,r)),"bank-details-app",Go)))})();
|
2
2
|
//# sourceMappingURL=bank-details-app.js.map
|