@flarehr/bank-details-app 3.13.0 → 3.15.0
Sign up to get free protection for your applications and to get access to all the features.
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,f,_={},d=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,p=Array.isArray;function m(e,t){for(var n in t)e[n]=t[n];return e}function g(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function v(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 y(t,s,o,i,null)}function y(e,r,o,i,u){var s={type:e,props:r,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==u?++n:u,__i:-1,__u:0};return null==u&&null!=t.vnode&&t.vnode(s),s}function w(e){return e.children}function b(e,t){this.props=e,this.context=t}function C(e,t){if(null==t)return e.__?C(e.__,e.__i+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?C(e):null}function S(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 S(e)}}function E(e){(!e.__d&&(e.__d=!0)&&r.push(e)&&!k.__r++||o!==t.debounceRendering)&&((o=t.debounceRendering)||i)(k)}function k(){var e,n,o,i,s,c,l,a;for(r.sort(u);e=r.shift();)e.__d&&(n=r.length,i=void 0,c=(s=(o=e).__v).__e,l=[],a=[],o.__P&&((i=m({},s)).__v=s.__v+1,t.vnode&&t.vnode(i),U(o.__P,i,s,o.__n,o.__P.namespaceURI,32&s.__u?[c]:null,l,null==c?C(s):c,!!(32&s.__u),a),i.__v=s.__v,i.__.__k[i.__i]=i,R(l,i,a),i.__e!=c&&S(i)),r.length>n&&r.sort(u));k.__r=0}function x(e,t,n,r,o,i,u,s,c,l,a){var f,h,p,m,g,v,y=r&&r.__k||d,w=t.length;for(c=I(n,t,y,c,w),f=0;f<w;f++)null!=(p=n.__k[f])&&(h=-1===p.__i?_:y[p.__i]||_,p.__i=f,v=U(e,p,h,o,i,u,s,c,l,a),m=p.__e,p.ref&&h.ref!=p.ref&&(h.ref&&H(h.ref,null,p),a.push(p.ref,p.__c||m,p)),null==g&&null!=m&&(g=m),4&p.__u||h.__k===p.__k?c=O(p,c,e):"function"==typeof p.type&&void 0!==v?c=v:m&&(c=m.nextSibling),p.__u&=-7);return n.__e=g,c}function I(e,t,n,r,o){var i,u,s,c,l,a=n.length,f=a,_=0;for(e.__k=new Array(o),i=0;i<o;i++)null!=(u=t[i])&&"boolean"!=typeof u&&"function"!=typeof u?(c=i+_,(u=e.__k[i]="string"==typeof u||"number"==typeof u||"bigint"==typeof u||u.constructor==String?y(null,u,null,null,null):p(u)?y(w,{children:u},null,null,null):void 0===u.constructor&&u.__b>0?y(u.type,u.props,u.key,u.ref?u.ref:null,u.__v):u).__=e,u.__b=e.__b+1,s=null,-1!==(l=u.__i=T(u,n,c,f))&&(f--,(s=n[l])&&(s.__u|=2)),null==s||null===s.__v?(-1==l&&_--,"function"!=typeof u.type&&(u.__u|=4)):l!=c&&(l==c-1?_--:l==c+1?_++:(l>c?_--:_++,u.__u|=4))):e.__k[i]=null;if(f)for(i=0;i<a;i++)null!=(s=n[i])&&!(2&s.__u)&&(s.__e==r&&(r=C(s)),G(s,s));return r}function O(e,t,n){var r,o;if("function"==typeof e.type){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=O(r[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=C(e)),n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function N(e,t){return t=t||[],null==e||"boolean"==typeof e||(p(e)?e.some((function(e){N(e,t)})):t.push(e)),t}function T(e,t,n,r){var o,i,u=e.key,s=e.type,c=t[n];if(null===c||c&&u==c.key&&s===c.type&&!(2&c.__u))return n;if(r>(null==c||2&c.__u?0:1))for(o=n-1,i=n+1;o>=0||i<t.length;){if(o>=0){if((c=t[o])&&!(2&c.__u)&&u==c.key&&s===c.type)return o;o--}if(i<t.length){if((c=t[i])&&!(2&c.__u)&&u==c.key&&s===c.type)return i;i++}}return-1}function A(e,t,n){"-"==t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||h.test(t)?n:n+"px"}function M(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||A(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||A(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])i=t!=(t=t.replace(s,"$1")),t=t.toLowerCase()in e||"onFocusOut"==t||"onFocusIn"==t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=c,e.addEventListener(t,i?a:l,i)):e.removeEventListener(t,i?a:l,i);else{if("http://www.w3.org/2000/svg"==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&&"role"!=t&&"popover"!=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,"popover"==t&&1==n?"":n))}}function P(e){return function(n){if(this.l){var r=this.l[n.type+e];if(null==n.t)n.t=c++;else if(n.t<r.u)return;return r(t.event?t.event(n):n)}}}function U(e,n,r,o,i,u,s,c,l,a){var f,_,d,h,v,y,C,S,E,k,I,O,N,T,A,M,P,U=n.type;if(void 0!==n.constructor)return null;128&r.__u&&(l=!!(32&r.__u),u=[c=n.__e=r.__e]),(f=t.__b)&&f(n);e:if("function"==typeof U)try{if(S=n.props,E="prototype"in U&&U.prototype.render,k=(f=U.contextType)&&o[f.__c],I=f?k?k.props.value:f.__:o,r.__c?C=(_=n.__c=r.__c).__=_.__E:(E?n.__c=_=new U(S,I):(n.__c=_=new b(S,I),_.constructor=U,_.render=F),k&&k.sub(_),_.props=S,_.state||(_.state={}),_.context=I,_.__n=o,d=_.__d=!0,_.__h=[],_._sb=[]),E&&null==_.__s&&(_.__s=_.state),E&&null!=U.getDerivedStateFromProps&&(_.__s==_.state&&(_.__s=m({},_.__s)),m(_.__s,U.getDerivedStateFromProps(S,_.__s))),h=_.props,v=_.state,_.__v=n,d)E&&null==U.getDerivedStateFromProps&&null!=_.componentWillMount&&_.componentWillMount(),E&&null!=_.componentDidMount&&_.__h.push(_.componentDidMount);else{if(E&&null==U.getDerivedStateFromProps&&S!==h&&null!=_.componentWillReceiveProps&&_.componentWillReceiveProps(S,I),!_.__e&&(null!=_.shouldComponentUpdate&&!1===_.shouldComponentUpdate(S,_.__s,I)||n.__v==r.__v)){for(n.__v!=r.__v&&(_.props=S,_.state=_.__s,_.__d=!1),n.__e=r.__e,n.__k=r.__k,n.__k.some((function(e){e&&(e.__=n)})),O=0;O<_._sb.length;O++)_.__h.push(_._sb[O]);_._sb=[],_.__h.length&&s.push(_);break e}null!=_.componentWillUpdate&&_.componentWillUpdate(S,_.__s,I),E&&null!=_.componentDidUpdate&&_.__h.push((function(){_.componentDidUpdate(h,v,y)}))}if(_.context=I,_.props=S,_.__P=e,_.__e=!1,N=t.__r,T=0,E){for(_.state=_.__s,_.__d=!1,N&&N(n),f=_.render(_.props,_.state,_.context),A=0;A<_._sb.length;A++)_.__h.push(_._sb[A]);_._sb=[]}else do{_.__d=!1,N&&N(n),f=_.render(_.props,_.state,_.context),_.state=_.__s}while(_.__d&&++T<25);_.state=_.__s,null!=_.getChildContext&&(o=m(m({},o),_.getChildContext())),E&&!d&&null!=_.getSnapshotBeforeUpdate&&(y=_.getSnapshotBeforeUpdate(h,v)),c=x(e,p(M=null!=f&&f.type===w&&null==f.key?f.props.children:f)?M:[M],n,r,o,i,u,s,c,l,a),_.base=n.__e,n.__u&=-161,_.__h.length&&s.push(_),C&&(_.__E=_.__=null)}catch(e){if(n.__v=null,l||null!=u)if(e.then){for(n.__u|=l?160:128;c&&8==c.nodeType&&c.nextSibling;)c=c.nextSibling;u[u.indexOf(c)]=null,n.__e=c}else for(P=u.length;P--;)g(u[P]);else n.__e=r.__e,n.__k=r.__k;t.__e(e,n,r)}else null==u&&n.__v==r.__v?(n.__k=r.__k,n.__e=r.__e):c=n.__e=D(r.__e,n,r,o,i,u,s,l,a);return(f=t.diffed)&&f(n),128&n.__u?void 0:c}function R(e,n,r){for(var o=0;o<r.length;o++)H(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 D(n,r,o,i,u,s,c,l,a){var f,d,h,m,v,y,w,b=o.props,S=r.props,E=r.type;if("svg"==E?u="http://www.w3.org/2000/svg":"math"==E?u="http://www.w3.org/1998/Math/MathML":u||(u="http://www.w3.org/1999/xhtml"),null!=s)for(f=0;f<s.length;f++)if((v=s[f])&&"setAttribute"in v==!!E&&(E?v.localName==E:3==v.nodeType)){n=v,s[f]=null;break}if(null==n){if(null==E)return document.createTextNode(S);n=document.createElementNS(u,E,S.is&&S),l&&(t.__m&&t.__m(r,s),l=!1),s=null}if(null===E)b===S||l&&n.data===S||(n.data=S);else{if(s=s&&e.call(n.childNodes),b=o.props||_,!l&&null!=s)for(b={},f=0;f<n.attributes.length;f++)b[(v=n.attributes[f]).name]=v.value;for(f in b)if(v=b[f],"children"==f);else if("dangerouslySetInnerHTML"==f)h=v;else if(!(f in S)){if("value"==f&&"defaultValue"in S||"checked"==f&&"defaultChecked"in S)continue;M(n,f,null,v,u)}for(f in S)v=S[f],"children"==f?m=v:"dangerouslySetInnerHTML"==f?d=v:"value"==f?y=v:"checked"==f?w=v:l&&"function"!=typeof v||b[f]===v||M(n,f,v,b[f],u);if(d)l||h&&(d.__html===h.__html||d.__html===n.innerHTML)||(n.innerHTML=d.__html),r.__k=[];else if(h&&(n.innerHTML=""),x(n,p(m)?m:[m],r,o,i,"foreignObject"==E?"http://www.w3.org/1999/xhtml":u,s,c,s?s[0]:o.__k&&C(o,0),l,a),null!=s)for(f=s.length;f--;)g(s[f]);l||(f="value","progress"==E&&null==y?n.removeAttribute("value"):void 0!==y&&(y!==n[f]||"progress"==E&&!y||"option"==E&&y!==b[f])&&M(n,f,y,b[f],u),f="checked",void 0!==w&&w!==n[f]&&M(n,f,w,b[f],u))}return n}function H(e,n,r){try{if("function"==typeof e){var o="function"==typeof e.__u;o&&e.__u(),o&&null==n||(e.__u=e(n))}else e.current=n}catch(e){t.__e(e,r)}}function G(e,n,r){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||H(o,null,n)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){t.__e(e,n)}o.base=o.__P=null}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&G(o[i],n,r||"function"!=typeof e.type);r||g(e.__e),e.__c=e.__=e.__e=void 0}function F(e,t,n){return this.constructor(e,n)}function j(n,r,o){var i,u,s,c;r==document&&(r=document.documentElement),t.__&&t.__(n,r),u=(i="function"==typeof o)?null:o&&o.__k||r.__k,s=[],c=[],U(r,n=(!i&&o||r).__k=v(w,null,[n]),u||_,_,r.namespaceURI,!i&&o?[o]:u?null:r.firstChild?e.call(r.childNodes):null,s,!i&&o?o:u?u.__e:r.firstChild,i,c),R(s,n,c)}function L(e,t){j(e,t,L)}function W(t,n,r){var o,i,u,s,c=m({},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),y(t.type,c,o||t.key,i||t.ref,null)}e=d.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,b.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=m({},this.state),"function"==typeof e&&(e=e(m({},n),this.props)),e&&m(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),E(this))},b.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),E(this))},b.prototype.render=w,r=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,u=function(e,t){return e.__v.__b-t.__v.__b},k.__r=0,s=/(PointerCapture)$|Capture$/i,c=0,l=P(!1),a=P(!0),f=0;var $,V,z,B,q=0,J=[],Y=t,Z=Y.__b,X=Y.__r,K=Y.diffed,Q=Y.__c,ee=Y.unmount,te=Y.__;function ne(e,t){Y.__h&&Y.__h(V,e,q||t),q=0;var n=V.__H||(V.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function re(e){return q=1,oe(we,e)}function oe(e,t,n){var r=ne($++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):we(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=V,!V.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=r.__c.props!==e;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(u=!0)}})),i&&i.call(this,e,t,n)||u};V.u=!0;var i=V.shouldComponentUpdate,u=V.componentWillUpdate;V.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)},V.shouldComponentUpdate=o}return r.__N||r.__}function ie(e,t){var n=ne($++,3);!Y.__s&&ye(n.__H,t)&&(n.__=e,n.i=t,V.__H.__h.push(n))}function ue(e,t){var n=ne($++,4);!Y.__s&&ye(n.__H,t)&&(n.__=e,n.i=t,V.__h.push(n))}function se(e){return q=5,le((function(){return{current:e}}),[])}function ce(e,t,n){q=6,ue((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))}function le(e,t){var n=ne($++,7);return ye(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ae(e,t){return q=8,le((function(){return e}),t)}function fe(e){var t=V.context[e.__c],n=ne($++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(V)),t.props.value):e.__}function _e(e,t){Y.useDebugValue&&Y.useDebugValue(t?t(e):e)}function de(){var e=ne($++,11);if(!e.__){for(var t=V.__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.__}function he(){for(var e;e=J.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ge),e.__H.__h.forEach(ve),e.__H.__h=[]}catch(t){e.__H.__h=[],Y.__e(t,e.__v)}}Y.__b=function(e){V=null,Z&&Z(e)},Y.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),te&&te(e,t)},Y.__r=function(e){X&&X(e),$=0;var t=(V=e.__c).__H;t&&(z===V?(t.__h=[],V.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(ge),t.__h.forEach(ve),t.__h=[],$=0)),z=V},Y.diffed=function(e){K&&K(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==J.push(t)&&B===Y.requestAnimationFrame||((B=Y.requestAnimationFrame)||me)(he)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),z=V=null},Y.__c=function(e,t){t.some((function(e){try{e.__h.forEach(ge),e.__h=e.__h.filter((function(e){return!e.__||ve(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],Y.__e(n,e.__v)}})),Q&&Q(e,t)},Y.unmount=function(e){ee&&ee(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{ge(e)}catch(e){t=e}})),n.__H=void 0,t&&Y.__e(t,n.__v))};var pe="function"==typeof requestAnimationFrame;function me(e){var t,n=function(){clearTimeout(r),pe&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);pe&&(t=requestAnimationFrame(n))}function ge(e){var t=V,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),V=t}function ve(e){var t=V;e.__c=e.__(),V=t}function ye(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function we(e,t){return"function"==typeof t?t(e):t}function be(e,t){for(var n in t)e[n]=t[n];return e}function Ce(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 Se(e,t){var n=t(),r=re({t:{__:n,u:t}}),o=r[0].t,i=r[1];return ue((function(){o.__=n,o.u=t,Ee(o)&&i({t:o})}),[e,n,t]),ie((function(){return Ee(o)&&i({t:o}),e((function(){Ee(o)&&i({t:o})}))}),[e]),n}function Ee(e){var t,n,r=e.u,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(e){return!0}}function ke(e){e()}function xe(e){return e}function Ie(){return[!1,ke]}var Oe=ue;function Ne(e,t){this.props=e,this.context=t}(Ne.prototype=new b).isPureReactComponent=!0,Ne.prototype.shouldComponentUpdate=function(e,t){return Ce(this.props,e)||Ce(this.state,t)};var Te=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Te&&Te(e)};var Ae="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,Me=function(e,t){return null==e?null:N(N(e).map(t))},Pe={map:Me,forEach:Me,count:function(e){return e?N(e).length:0},only:function(e){var t=N(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:N},Ue=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);Ue(e,t,n,r)};var Re=t.unmount;function De(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=be({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return De(e,t,n)}))),e}function He(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return He(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Ge(){this.__u=0,this.o=null,this.__b=null}function Fe(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function je(){this.i=null,this.l=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Re&&Re(e)},(Ge.prototype=new b).__c=function(e,t){var n=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(n);var o=Fe(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]=He(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.o.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(u,u)},Ge.prototype.componentWillUnmount=function(){this.o=[]},Ge.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]=De(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&v(w,null,e.fallback);return o&&(o.__u&=-33),[v(w,null,t.__a?null:e.children),o]};var Le=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function We(e){return this.getChildContext=function(){return e.context},e.children}function $e(e){var t=this,n=e.h;t.componentWillUnmount=function(){j(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),t.v||(t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(e){this.childNodes.push(e),t.h.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.h.insertBefore(e,n)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.h.removeChild(e)}}),j(v(We,{context:t.context},e.__v),t.v)}(je.prototype=new b).__a=function(e){var t=this,n=Fe(t.__v),r=t.l.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Le(t,e,r)):o()};n?n(i):i()}},je.prototype.render=function(e){this.i=null,this.l=new Map;var t=N(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},je.prototype.componentDidUpdate=je.prototype.componentDidMount=function(){var e=this;this.l.forEach((function(t,n){Le(e,n,t)}))};var Ve="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,ze=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|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]/,Be=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,qe=/[A-Z0-9]/g,Je="undefined"!=typeof document,Ye=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function Ze(e,t,n){return null==t.__k&&(t.textContent=""),j(e,t),"function"==typeof n&&n(),e?e.__c:null}b.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(b.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Xe=t.event;function Ke(){}function Qe(){return this.cancelBubble}function et(){return this.defaultPrevented}t.event=function(e){return Xe&&(e=Xe(e)),e.persist=Ke,e.isPropagationStopped=Qe,e.isDefaultPrevented=et,e.nativeEvent=e};var tt,nt={enumerable:!1,configurable:!0,get:function(){return this.class}},rt=t.vnode;t.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},o=-1===n.indexOf("-");for(var i in t){var u=t[i];if(!("value"===i&&"defaultValue"in t&&null==u||Je&&"children"===i&&"noscript"===n||"class"===i||"className"===i)){var s=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===u?u="":"translate"===s&&"no"===u?u=!1:"o"===s[0]&&"n"===s[1]?"ondoubleclick"===s?i="ondblclick":"onchange"!==s||"input"!==n&&"textarea"!==n||Ye(t.type)?"onfocus"===s?i="onfocusin":"onblur"===s?i="onfocusout":Be.test(i)&&(i=s):s=i="oninput":o&&ze.test(i)?i=i.replace(qe,"-$&").toLowerCase():null===u&&(u=void 0),"oninput"===s&&r[i=s]&&(i="oninputCapture"),r[i]=u}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=N(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=N(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",nt)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Ve,rt&&rt(e)};var ot=t.__r;t.__r=function(e){ot&&ot(e),tt=e.__c};var it=t.diffed;t.diffed=function(e){it&&it(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),tt=null};var ut={ReactCurrentDispatcher:{current:{readContext:function(e){return tt.__n[e.__c].props.value},useCallback:ae,useContext:fe,useDebugValue:_e,useDeferredValue:xe,useEffect:ie,useId:de,useImperativeHandle:ce,useInsertionEffect:Oe,useLayoutEffect:ue,useMemo:le,useReducer:oe,useRef:se,useState:re,useSyncExternalStore:Se,useTransition:Ie}}};function st(e){return!!e&&e.$$typeof===Ve}function ct(e){return!!e.__k&&(j(null,e),!0)}var lt={useState:re,useId:de,useReducer:oe,useEffect:ie,useLayoutEffect:ue,useInsertionEffect:Oe,useTransition:Ie,useDeferredValue:xe,useSyncExternalStore:Se,startTransition:ke,useRef:se,useImperativeHandle:ce,useMemo:le,useCallback:ae,useContext:fe,useDebugValue:_e,version:"18.3.1",Children:Pe,render:Ze,hydrate:function(e,t,n){return L(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:ct,createPortal:function(e,t){var n=v($e,{__v:e,h:t});return n.containerInfo=t,n},createElement:v,createContext:function(e,t){var n={__c:t="__cC"+f++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.forEach((function(e){e.__e=!0,E(e)}))},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return v.bind(null,e)},cloneElement:function(e){return st(e)?W.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:w,isValidElement:st,isElement:st,isFragment:function(e){return st(e)&&e.type===w},isMemo:function(e){return!!e&&!!e.displayName&&("string"==typeof e.displayName||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")},findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:b,PureComponent:Ne,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:Ce(this.props,e)}function r(t){return this.shouldComponentUpdate=n,v(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=be({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Ae,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:w,Suspense:Ge,SuspenseList:je,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 v(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ut};function at(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function ft(e){(function(e){return null!=e&&"function"==typeof e.Dispose})(e)&&e.Dispose()}function _t(e,t){return Object.getPrototypeOf(e)?.constructor===Object.getPrototypeOf(t)?.constructor}Symbol.iterator;class dt{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 ht(e){return function(e){return null!=e&&"function"==typeof e.GetEnumerator}(e)?e.GetEnumerator():new dt(e[Symbol.iterator]())}function pt(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 mt(e,t){return e.toString(10).padStart(t,"0")}function gt(e){const t=e;return"number"==typeof t.offset?t.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}class vt{static id(e){return vt.idMap.has(e)||vt.idMap.set(e,++vt.count),vt.idMap.get(e)}}function yt(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=33*n^e.charCodeAt(t++);return n}function wt(e){return 2654435761*e|0}function bt(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 wt(e);case"bigint":return function(e){return yt(e.toString(32))}(e);case"string":return yt(e);default:if(function(e){return null!=e&&"function"==typeof e.GetHashCode}(e))return e.GetHashCode();if(at(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 bt(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 bt(t)}return wt(vt.id(e))}}function St(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,Et)}function Et(e,t){return e===t||(null==e?null==t:null!=t&&(function(e){return null!=e&&"function"==typeof e.Equals}(e)?e.Equals(t):at(e)?at(t)&&St(e,t):"object"==typeof e&&(e instanceof Date?t instanceof Date&&0===kt(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]||!Et(e[n[o]],t[r[o]]))return!1;return!0}(e,t))))}function kt(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+gt(e),r=t.getTime()+gt(t)),n===r?0:n<r?-1:1}function xt(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,It)}function It(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):at(e)?at(t)?xt(e,t):-1:"object"!=typeof e?e<t?-1:1:e instanceof Date?t instanceof Date?kt(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=It(e[u],t[u]),0!==i)return i}return 0}(e,t):-1}vt.idMap=new WeakMap,vt.count=0;const Ot=new WeakMap;function Nt(e){if(null==e)return null;const t=(t,n)=>e(t)(n);return Ot.set(t,e),t}function Tt(e){return Ot.get(e)??(t=>n=>e(t,n))}function At(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+=At(r);else{if(100===t){n+="; ...";break}n+="; "+At(r)}t++}return n+"]"}(e);{const n=Object.getPrototypeOf(e)?.constructor;return n===Object&&t<10?"{ "+Object.entries(e).map((([e,n])=>e+" = "+At(n,t+1))).join("\n ")+" }":n?.name??""}}return String(e)}class Mt{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=At(t[0]),r=n.indexOf(" ")>=0):n=t.map((e=>At(e))).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>Ct(e)));return e.splice(0,0,wt(this.tag)),bt(e)}Equals(e){return this===e||!!_t(this,e)&&this.tag===e.tag&&St(this.fields,e.fields)}CompareTo(e){return this===e?0:_t(this,e)?this.tag===e.tag?xt(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class Pt{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+" = "+At(t))).join("\n ")+" }";var e}GetHashCode(){return function(e){const t=Object.values(e).map((e=>Ct(e)));return bt(t)}(this)}Equals(e){return function(e,t){if(e===t)return!0;if(_t(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!Et(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(_t(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=It(e[n[r]],t[n[r]]);if(0!==o)return o}return 0}return-1}(this,e)}}function Ut(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 Rt extends Mt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["backend-url","access-token"]}}class Dt{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return Ct(this.value)}Equals(e){return null!=e&&Et(this.value,e instanceof Dt?e.value:e)}CompareTo(e){return null==e?1:It(this.value,e instanceof Dt?e.value:e)}}function Ht(e){if(null==e)throw new Error("Option has no value");return e instanceof Dt?e.value:e}function Gt(e){return null==e||e instanceof Dt?new Dt(e):e}function Ft(e){return null==e?[]:[Ht(e)]}function jt(e,t){return null!=e?Ht(e):t}function Lt(e,t){return null!=t?Gt(e(Ht(t))):void 0}const Wt=function(e){return null==e?void 0:e}(document.querySelector("#bank-details-app")),$t=Lt((e=>e.getAttribute("data-identity-url")),Wt),Vt=Lt((e=>e.getAttribute("data-backend-url")),Wt),zt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Bt=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],qt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Jt=["January","February","March","April","May","June","July","August","September","October","November","December"];function Yt(e,t,n){let r=0,o=t;for(;o<e.length&&e[o]===n;)o++,r++;return r}function Zt(e,t){return t>=e.length-1?-1:e.charCodeAt(t+1)}function Xt(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 Kt(e,t,n){let r=0,o=0,i="";const u=n?nn(e.getTime(),1):e;for(;r<t.length;){const e=t[r];switch(e){case"d":switch(o=Yt(t,r,"d"),r+=o,o){case 1:i+=on(u);break;case 2:i+=mt(on(u),2);break;case 3:i+=zt[fn(u)];break;case 4:i+=Bt[fn(u)]}break;case"f":if(o=Yt(t,r,"f"),r+=o,o<=3){const e=10**(3-o);i+=mt(Math.floor(sn(u)/e),o)}else o<=7&&(i+=(""+sn(u)).padEnd(o,"0"));break;case"F":if(o=Yt(t,r,"F"),r+=o,o<=3){const e=10**(3-o),t=Math.floor(sn(u)/e);0!=t&&(i+=mt(t,o))}else if(o<=7){const e=sn(u);0!=e&&(i+=mt(e,3))}break;case"g":o=Yt(t,r,"g"),r+=o,o<=2&&(i+="A.D.");break;case"h":switch(o=Yt(t,r,"h"),r+=o,o){case 1:i+=un(u)%12;break;case 2:i+=mt(un(u)%12,2)}break;case"H":switch(o=Yt(t,r,"H"),r+=o,o){case 1:i+=un(u);break;case 2:i+=mt(un(u),2)}break;case"K":if(o=Yt(t,r,"K"),r+=o,1===o)switch(Qt(u)){case 1:i+="Z";break;case 2:i+=en(-6e4*u.getTimezoneOffset())}break;case"m":switch(o=Yt(t,r,"m"),r+=o,o){case 1:i+=cn(u);break;case 2:i+=mt(cn(u),2)}break;case"M":switch(o=Yt(t,r,"M"),r+=o,o){case 1:i+=ln(u);break;case 2:i+=mt(ln(u),2);break;case 3:i+=qt[ln(u)-1];break;case 4:i+=Jt[ln(u)-1]}break;case"s":switch(o=Yt(t,r,"s"),r+=o,o){case 1:i+=an(u);break;case 2:i+=mt(an(u),2)}break;case"t":switch(o=Yt(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=Yt(t,r,"y"),r+=o,o){case 1:i+=u.getFullYear()%100;break;case 2:i+=mt(u.getFullYear()%100,2);break;case 3:i+=mt(u.getFullYear(),3);break;case 4:i+=mt(u.getFullYear(),4);break;case 5:i+=mt(u.getFullYear(),5)}break;case"z":o=Yt(t,r,"z"),r+=o;let s="";switch(Qt(u)){case 1:s="+00:00";break;case 2:s=en(-6e4*u.getTimezoneOffset());break;case 0:s=en(-6e4*rn(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}${mt(l,2)}`;break;default:i+=`${c}${mt(l,2)}:${mt(a,2)}`}break;case":":i+=":",r++;break;case"/":i+="/",r++;break;case"'":case'"':const[f,_]=Xt(t,r);i+=f,r+=_;break;case"%":const d=Zt(t,r);if(!(d>=0&&d!=="%".charCodeAt(0)))throw new Error("Invalid format string");r+=2,i+=Kt(u,String.fromCharCode(d),n);break;case"\\":const h=Zt(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 Qt(e){return e.kind||0}function en(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+mt(~~(e/36e5),2)+":"+mt(n,2)}function tn(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 nn(e,t){const n=new Date(e);return n.kind=0|(null==t?0:t),n}function rn(e){return 2===e.kind?e:nn(e.getTime(),2)}function on(e){return 1===e.kind?e.getUTCDate():e.getDate()}function un(e){return 1===e.kind?e.getUTCHours():e.getHours()}function sn(e){return 1===e.kind?e.getUTCMilliseconds():e.getMilliseconds()}function cn(e){return 1===e.kind?e.getUTCMinutes():e.getMinutes()}function ln(e){return(1===e.kind?e.getUTCMonth():e.getMonth())+1}function an(e){return 1===e.kind?e.getUTCSeconds():e.getSeconds()}function fn(e){return 1===e.kind?e.getUTCDay():e.getDay()}const _n=Symbol("numeric");function dn(e,t){return"number"==typeof e?e.toPrecision(t):"bigint"==typeof e?e:e[_n]().toPrecision(t)}function hn(e,t){return"number"==typeof e?e.toExponential(t):"bigint"==typeof e?e:e[_n]().toExponential(t)}function pn(e){return"number"==typeof e?(Number(e)>>>0).toString(16):"bigint"==typeof e?BigInt.asUintN(64,e).toString(16):e[_n]().toHex()}function mn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}const gn=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g;function vn(e){return{input:e,cont:(t=e,e=>{gn.lastIndex=0;const n=[],r=[];let o=0,i=gn.exec(t);for(;i;){const e=i.index+(i[1]||"").length;n.push(t.substring(o,e).replace(/%%/g,"%")),r.push(i),o=gn.lastIndex,gn.lastIndex-=1,i=gn.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(o).replace(/%%/g,"%")),bn(e,n,r))})};var t}function yn(e){return function(e,t){return"string"==typeof t?e(t):t.cont(e)}((e=>e),e)}function wn(e,t,n,r,o){let i="";if(t=t||"",o=o||"",function(e){return"number"==typeof e||"bigint"==typeof e||e?.[_n]}(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){return"number"==typeof e?-1*e:"bigint"==typeof e?e*BigInt(-1):e[_n]().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[_n]().toFixed(t)}(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?dn(e,r):dn(e);break;case"e":case"E":e=null!=r?hn(e,r):hn(e);break;case"x":e=pn(e);break;case"X":e=pn(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?function(e,t){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," ")+en(e.offset??0);if(1!==t.length)return Kt(n,t,!0);switch(t){case"D":case"d":return tn(n,"first");case"T":case"t":return tn(n,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+en(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 Kt(e,t,n);switch(t){case"D":case"d":return n?tn(e,"first"):e.toLocaleDateString();case"T":case"t":return n?tn(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 mt(e.getFullYear(),4)+"-"+mt(e.getMonth()+1,2)+"-"+mt(e.getDate(),2)+"T"+mt(e.getHours(),2)+":"+mt(e.getMinutes(),2)+":"+mt(e.getSeconds(),2)+"."+mt(e.getMilliseconds(),3)+(t?en(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}(e):At(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=Sn(e,n-i.length,u,o)):Sn(i+e,n,u,o)}return e}function bn(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+=wn(e,t,l,r,i),s.splice(0,1),c.splice(0,1)}return 0===c.length?(u+=s[0],e(u)):bn(e,s,c,u,o)}}function Cn(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function Sn(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 En(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 kn="Collection was empty.";function xn(e,t,n,r){const o=0|t;return e.fill(r,o,o+n)}function In(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(On(r,t),On(r,n)),r=r+1|0;return o}}function On(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 Nn(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 Tn extends Pt{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+Cn("; ",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=Ht(o),s=Ht(i);if(Et(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=Ht(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=Ht(o),s=Ht(i),c=0|It(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 An(this)}[Symbol.iterator](){return pt(ht(this))}"System.Collections.IEnumerable.GetEnumerator"(){return ht(this)}}class An{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=Ht(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 Mn(){return new Tn(null,void 0)}function Pn(e,t){return new Tn(e,t)}function Un(e){return null==e.tail}function Rn(e){if(null!=e.tail)return e.head;throw new Error(kn+"\\nParameter name: list")}function Dn(e){const t=e.tail;if(null!=t)return Ht(t);throw new Error(kn+"\\nParameter name: list")}function Hn(){return Mn()}function Gn(e,t){return Pn(e,t)}function Fn(e){return Pn(e,Mn())}function jn(e){return Un(e)}function Ln(e){return Rn(e)}function Wn(e){return Dn(e)}function $n(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=Ht(r)}})(0,e)}(e),n=xn(new Array(t),0,t,null);return((e,t)=>{for(;;){const r=e,o=t;if(Un(o))break;Nn(n,r,Rn(o)),e=r+1,t=Dn(o)}})(0,e),n}function Vn(e,t,n){let r=t,o=n;for(;!Un(o);)r=e(r,Ln(o)),o=Dn(o);return r}function zn(e,t){Vn(((t,n)=>{e(n)}),void 0,t)}function Bn(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=Pn(On(t,e),n);return n}function qn(e){return Bn(e,Mn())}function Jn(e,t){return Vn(((e,t)=>Pn(t,e)),t,function(e){return Vn(((e,t)=>Pn(t,e)),Mn(),e)}(e))}function Yn(e,t){const n=Mn(),r=Vn(((t,n)=>{const r=new Tn(e(n),void 0);return t.tail=r,r}),n,t),o=Mn();return r.tail=o,Dn(n)}function Zn(e,t){const n=Mn(),r=Vn(((t,n)=>{if(e(n)){const e=new Tn(n,void 0);return t.tail=e,e}return t}),n,t),o=Mn();return r.tail=o,Dn(n)}const Xn="The input sequence has an insufficient number of elements.";function Kn(){throw new Error("Enumeration has not started. Call MoveNext.")}function Qn(){throw new Error("Enumeration already finished.")}class er{constructor(e){this.f=e}toString(){let e=0,t="seq [";const n=ht(this);try{for(;e<4&&n["System.Collections.IEnumerator.MoveNext"]();)e>0&&(t+="; "),t+=At(n["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(t+="; ..."),t+"]"}finally{ft(n)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return pt(ht(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class tr{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 nr(e,t,n){return new tr(e,t,n)}function rr(e,t,n){let r,o=!1,i=Gt(e());const u=()=>{if(null!=i){const e=Ht(i);try{n(e)}finally{i=void 0}}},s=()=>{try{u()}finally{r=void 0}};return nr((()=>(o||Kn(),null!=r?Ht(r):Qn())),(()=>{if(o||(o=!0),null!=i){const e=Ht(i);let n;try{n=t(e)}catch(e){throw s(),e}return null!=n?(r=n,!0):(s(),!1)}return!1}),u)}function or(e){return function(e){return new er(e)}(e)}function ir(e){return t="source",null==e&&function(e){throw new Error(e)}(t),ht(e);var t}function ur(e){return or((()=>ht(e())))}function sr(e){return or((()=>function(e){let t,n,r,o=!1,i=!1;const u=()=>{if(i=!0,null!=n){const e=Ht(n);try{ft(e)}finally{n=void 0}}if(null!=t){const e=Ht(t);try{ft(e)}finally{t=void 0}}};return nr((()=>(o?i&&Qn():Kn(),null!=r?Ht(r):Qn())),(()=>{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=Ht(n);if(e["System.Collections.IEnumerator.MoveNext"]())r=Gt(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),o=!0;else try{ft(e)}finally{n=void 0}}else{const e=Ht(i);e["System.Collections.IEnumerator.MoveNext"]()?(s=e["System.Collections.Generic.IEnumerator`1.get_Current"](),n=ht(s)):(u(),o=!1)}else t=ht(e)}return Ht(o)}}),(()=>{i||u()}))}(e)))}function cr(e){return ur((()=>function(e,t){const n=function(e){return"function"==typeof e?new e(1):new Array(1)}(t);return Nn(n,0,e),n}(e)))}function lr(e,t){return sr([e,t])}function ar(e,t){!function(e,t,n){const r=ir(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{ft(r)}}(((t,n)=>{e(n)}),void 0,t)}function fr(e,t){return n=()=>ir(t),r=t=>t["System.Collections.IEnumerator.MoveNext"]()?Gt(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,o=e=>{ft(e)},or((()=>rr(n,r,o)));var n,r,o}function _r(e,t){return or((()=>{const n=ir(t);try{for(let t=1;t<=e;t++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(Xn+"\\nParameter name: source");return function(e,t){return nr((()=>t["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>t["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{ft(t)}finally{e()}}))}((()=>{}),n)}catch(e){throw ft(n),e}}))}Symbol.iterator;const dr=lt;function hr(e){return{Dispose(){e()}}}function pr(e,t){return t.startsWith(e)?t:void 0}function mr(e,t){return t.endsWith(e)?t:void 0}function gr(e,t){return function(e){return 1===e?e=>{let t,n,r,o,i,u;return t=pr("/",e),null!=t?(n=t,"#"+n):(r=pr("#/",e),null!=r?(o=r,o):(i=pr("#",e),null!=i?(u=i,"#/"+En(u,1,u.length-1)):"#/"+e))}:e=>{let t,n;return t=pr("/",e),null!=t?(n=t,n):"/"+e}}(t)(Cn("/",Yn((e=>e.indexOf("?")>=0||e.startsWith("#")||e.startsWith("/")?e:encodeURIComponent(e)),e)))}function vr(e,t){return function(e,t){let n,r;const o=Mn();let i=o,u=t;for(;!Un(u);){let t=e(Rn(u));for(;!Un(t);)n=i,r=new Tn(Rn(t),void 0),n.tail=r,i=r,t=Dn(t);u=Dn(u)}const s=i,c=Mn();return s.tail=c,Dn(o)}((e=>{if("string"!=typeof(t=e)||/^\s*$/.test(t))return Hn();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+mn(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return Hn();if(null!=pr("?",t))return Fn(t);{const e=t.split("?");if(In(((e,t)=>e===t),e,null)||1!==e.length){if(In(((e,t)=>e===t),e,null)||2!==e.length)return Hn();if(""===On(1,e)){const t=On(0,e);return Fn(decodeURIComponent(t))}{const t=On(0,e),n=On(1,e);return qn([decodeURIComponent(t),"?"+n])}}{const t=On(0,e);return Fn(decodeURIComponent(t))}}}var t}),qn(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&~r),i=!(2&~r);t=(t=t||[]).filter((e=>e)).map(mn),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!=pr("#",e)?En(e,1,e.length-1):1!==t||null==mr("#",e)&&null==mr("#/",e)?e:"",["/"],void 0,0)))}const yr=function(e){const t=dr.memo(e,Nt(jt(Lt(Tt,void 0),null)));return ar((t=>{e.displayName=t}),Ft(void 0)),e=>{const n=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(undefined,e);return dr.createElement(t,n)}}((e=>{const t=function(e){const t=dr.useRef(e),n=dr.useCallback((e=>t.current(e)),[]);var r;return r=n=>(t.current=e,hr((()=>{}))),ue((()=>{const e=r();return()=>{e.Dispose()}})),n}((t=>{const n=jt(e.onUrlChanged,(e=>{}));!function(e,t){t(vr(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(jt(e.hashMode,1),n)}));(function(e){const t=dr.useRef(void 0),n=dr.useRef(!1),r=dr.useRef(!1);var o;n.current&&(r.current=!0),o=()=>{return o=n.current?void 0:(n.current=!0,t.current=Gt(e()),r.current?t.current:void 0),{Dispose(){ar((e=>{ft(e)}),Ft(o))}};var o},ie((()=>{const e=o();return()=>{e.Dispose()}}),[])})((()=>(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),hr((()=>{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(){const e=dr.useRef(!1);dr.useEffect((()=>{e.current||(e.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 wr extends Mt{constructor(e){super(),this.tag=0,this.fields=[e]}cases(){return["Token"]}}class br extends Mt{constructor(e){super(),this.tag=0,this.fields=[e]}cases(){return["QueryString"]}}class Cr extends Mt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Home","OidcSignIn","OidcSignInRedirectCallback","OidcSignInSilentCallback","NotFound"]}}function Sr(e){let t,n,r;if(jn(e))t=0;else if("oidc"===Ln(e))if(jn(Wn(e)))t=3;else switch(Ln(Wn(e))){case"callback":jn(Wn(Wn(e)))?t=3:jn(Wn(Wn(Wn(e))))?(t=1,n=Ln(Wn(Wn(e)))):t=3;break;case"silent-refresh":jn(Wn(Wn(e)))?t=3:jn(Wn(Wn(Wn(e))))?(t=2,r=Ln(Wn(Wn(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 Cr(0,[]);{const e=n;return ar((e=>{!function(e,t){sessionStorage.setItem("success-redirection-url",t)}(0,e)}),Ft(t.get("success-redirection-url"))),new Cr(1,[new wr(e)])}}case 1:return new Cr(2,[new br(n)]);case 2:return new Cr(3,[new br(r)]);default:return new Cr(4,[])}}class Er extends Mt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class kr extends Mt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Started","Finished"]}}class xr extends Pt{constructor(e){super(),this.AccessToken=e}}function Ir(e){return new xr(e.access_token)}class Or extends Pt{constructor(e){super(),this.Auth=e}}class Nr extends Mt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["GetUser","SignInRedirect","SignInRedirectCallback","SignInSilentCallback"]}}class Tr extends Pt{constructor(e,t){super(),this.CurrentPage=e,this.Auth=t}}class Ar extends Mt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["UrlChanged","AuthMsg"]}}class Mr{constructor(e){this.k=e}}function Pr(e){return new Mr(e)}function Ur(e){return e.k}class Rr extends Mr{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=0|r}}function Dr(e,t,n,r){return new Rr(e,t,n,r)}function Hr(e){return e.left}function Gr(e){return e.right}function Fr(e){return e.h}function jr(e,t){e:for(;;){const n=t;if(null!=e){const r=Ht(e);if(r instanceof Rr){const o=r;e=Hr(o),t=jr(Gr(o),n+1);continue e}return n+1|0}return 0|n}}function Lr(e){return jr(e,0)}function Wr(e,t,n){let r,o,i,u;if(null!=e){const t=Ht(e);i=t instanceof Rr?(r=t,Fr(r)):1}else i=0;if(null!=n){const e=Ht(n);u=e instanceof Rr?(o=e,Fr(o)):1}else u=0;const s=0|(i<u?u:i);return 0===s?Pr(t):Dr(t,e,n,s+1)}function $r(e,t,n){let r,o,i,u,s,c,l,a,f,_;if(null!=e){const t=Ht(e);f=t instanceof Rr?(r=t,Fr(r)):1}else f=0;if(null!=n){const e=Ht(n);_=e instanceof Rr?(o=e,Fr(o)):1}else _=0;if(_>f+2){const r=Ht(n);if(r instanceof Rr){const n=r;if(i=Hr(n),(null!=i?(u=Ht(i),u instanceof Rr?(s=u,Fr(s)):1):0)>f+1){const r=Ht(Hr(n));if(r instanceof Rr){const o=r;return Wr(Wr(e,t,Hr(o)),Ur(o),Wr(Gr(o),Ur(n),Gr(n)))}throw new Error("internal error: Set.rebalance")}return Wr(Wr(e,t,Hr(n)),Ur(n),Gr(n))}throw new Error("internal error: Set.rebalance")}if(f>_+2){const r=Ht(e);if(r instanceof Rr){const e=r;if(c=Gr(e),(null!=c?(l=Ht(c),l instanceof Rr?(a=l,Fr(a)):1):0)>_+1){const r=Ht(Gr(e));if(r instanceof Rr){const o=r;return Wr(Wr(Hr(e),Ur(e),Hr(o)),Ur(o),Wr(Gr(o),t,n))}throw new Error("internal error: Set.rebalance")}return Wr(Hr(e),Ur(e),Wr(Gr(e),t,n))}throw new Error("internal error: Set.rebalance")}return Wr(e,t,n)}function Vr(e,t,n){if(null!=n){const r=Ht(n),o=0|e.Compare(t,Ur(r));if(r instanceof Rr){const i=r;return o<0?$r(Vr(e,t,Hr(i)),Ur(i),Gr(i)):0===o?n:$r(Hr(i),Ur(i),Vr(e,t,Gr(i)))}{const o=0|e.Compare(t,Ur(r));return o<0?Dr(t,void 0,n,2):0===o?n:Dr(t,n,void 0,2)}}return Pr(t)}function zr(e,t,n){e:for(;;){const r=e,o=t;if(null!=n){const i=Ht(n),u=0|r.Compare(o,Ur(i));if(i instanceof Rr){const s=i;if(u<0){e=r,t=o,n=Hr(s);continue e}if(0===u)return!0;e=r,t=o,n=Gr(s);continue e}return 0===u}return!1}}function Br(e,t){e:for(;;){const n=e;if(null!=t){const r=Ht(t);if(r instanceof Rr){const o=r;Br(n,Hr(o)),n(Ur(o)),e=n,t=Gr(o);continue e}n(Ur(r))}break}}class qr extends Pt{constructor(e,t){super(),this.stack=e,this.started=t}}function Jr(e){e:for(;;){const t=e;if(jn(t))return Hn();{const n=Ln(t),r=Wn(t);if(null!=n){const o=Ht(n);if(o instanceof Rr){const t=o;e=Bn([Hr(t),Pr(Ur(t)),Gr(t)],r);continue e}return t}e=r;continue e}}}function Yr(e){return new qr(Jr(Fn(e)),!1)}function Zr(e){if(e.started){const t=e.stack;if(jn(t))return function(){throw new Error("Enumeration already started")}();if(null!=Ln(t))return Ur(Ht(Ln(t)));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function Xr(e){let t=Yr(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Zr(t),"System.Collections.IEnumerator.get_Current":()=>Zr(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(jn(t))return!1;if(null!=Ln(t)){if(Ht(Ln(t))instanceof Rr)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Jr(Wn(t)),!jn(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!jn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=Yr(e)},Dispose(){}}}function Kr(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(jn(o))return jn(i)?0:-1;if(jn(i))return 1;if(null!=Ln(i))if(null!=Ln(o)){const u=Ht(Ln(o)),s=Ht(Ln(i));if(u instanceof Rr){const c=u;if(null==Hr(c)){if(!(s instanceof Rr)){const u=0|r.Compare(Ur(c),Ur(s));if(0!==u)return 0|u;e=r,t=Gn(Gr(c),Wn(o)),n=Gn(void 0,Wn(i));continue e}{const u=s;if(null==Hr(u)){const s=0|r.Compare(Ur(c),Ur(u));if(0!==s)return 0|s;e=r,t=Gn(Gr(c),Wn(o)),n=Gn(Gr(u),Wn(i));continue e}{let u,s,c,l,a;switch(jn(o)?jn(i)?u=2:null!=Ln(i)?(u=1,l=Wn(i),a=Ht(Ln(i))):u=2:null!=Ln(o)?(u=0,s=Wn(o),c=Ht(Ln(o))):jn(i)?u=2:null!=Ln(i)?(u=1,l=Wn(i),a=Ht(Ln(i))):u=2,u){case 0:if(c instanceof Rr){const o=c;e=r,t=Bn([Hr(o),Dr(Ur(o),void 0,Gr(o),0)],s),n=i;continue e}e=r,t=Bn([void 0,Pr(Ur(c))],s),n=i;continue e;case 1:if(a instanceof Rr){const i=a;e=r,t=o,n=Bn([Hr(i),Dr(Ur(i),void 0,Gr(i),0)],l);continue e}e=r,t=o,n=Bn([void 0,Pr(Ur(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{let u,s,c,l,a;switch(jn(o)?jn(i)?u=2:null!=Ln(i)?(u=1,l=Wn(i),a=Ht(Ln(i))):u=2:null!=Ln(o)?(u=0,s=Wn(o),c=Ht(Ln(o))):jn(i)?u=2:null!=Ln(i)?(u=1,l=Wn(i),a=Ht(Ln(i))):u=2,u){case 0:if(c instanceof Rr){const o=c;e=r,t=Bn([Hr(o),Dr(Ur(o),void 0,Gr(o),0)],s),n=i;continue e}e=r,t=Bn([void 0,Pr(Ur(c))],s),n=i;continue e;case 1:if(a instanceof Rr){const i=a;e=r,t=o,n=Bn([Hr(i),Dr(Ur(i),void 0,Gr(i),0)],l);continue e}e=r,t=o,n=Bn([void 0,Pr(Ur(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{if(!(s instanceof Rr)){const c=0|r.Compare(Ur(u),Ur(s));if(0!==c)return 0|c;e=r,t=Wn(o),n=Wn(i);continue e}{const c=s;if(null==Hr(c)){const s=0|r.Compare(Ur(u),Ur(c));if(0!==s)return 0|s;e=r,t=Gn(void 0,Wn(o)),n=Gn(Gr(c),Wn(i));continue e}{let u,s,c,l,a;switch(jn(o)?jn(i)?u=2:null!=Ln(i)?(u=1,l=Wn(i),a=Ht(Ln(i))):u=2:null!=Ln(o)?(u=0,s=Wn(o),c=Ht(Ln(o))):jn(i)?u=2:null!=Ln(i)?(u=1,l=Wn(i),a=Ht(Ln(i))):u=2,u){case 0:if(c instanceof Rr){const o=c;e=r,t=Bn([Hr(o),Dr(Ur(o),void 0,Gr(o),0)],s),n=i;continue e}e=r,t=Bn([void 0,Pr(Ur(c))],s),n=i;continue e;case 1:if(a instanceof Rr){const i=a;e=r,t=o,n=Bn([Hr(i),Dr(Ur(i),void 0,Gr(i),0)],l);continue e}e=r,t=o,n=Bn([void 0,Pr(Ur(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}}}}else{let u,s,c,l,a;switch(Ht(Ln(i)),jn(o)?jn(i)?u=2:null!=Ln(i)?(u=1,l=Wn(i),a=Ht(Ln(i))):u=2:null!=Ln(o)?(u=0,s=Wn(o),c=Ht(Ln(o))):jn(i)?u=2:null!=Ln(i)?(u=1,l=Wn(i),a=Ht(Ln(i))):u=2,u){case 0:if(c instanceof Rr){const o=c;e=r,t=Bn([Hr(o),Dr(Ur(o),void 0,Gr(o),0)],s),n=i;continue e}e=r,t=Bn([void 0,Pr(Ur(c))],s),n=i;continue e;case 1:if(a instanceof Rr){const i=a;e=r,t=o,n=Bn([Hr(i),Dr(Ur(i),void 0,Gr(i),0)],l);continue e}e=r,t=o,n=Bn([void 0,Pr(Ur(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==Ln(o)){e=r,t=Wn(o),n=Wn(i);continue e}{let u,s,c,l,a;switch(Ht(Ln(o)),jn(o)?jn(i)?u=2:null!=Ln(i)?(u=1,l=Wn(i),a=Ht(Ln(i))):u=2:null!=Ln(o)?(u=0,s=Wn(o),c=Ht(Ln(o))):jn(i)?u=2:null!=Ln(i)?(u=1,l=Wn(i),a=Ht(Ln(i))):u=2,u){case 0:if(c instanceof Rr){const o=c;e=r,t=Bn([Hr(o),Dr(Ur(o),void 0,Gr(o),0)],s),n=i;continue e}e=r,t=Bn([void 0,Pr(Ur(c))],s),n=i;continue e;case 1:if(a instanceof Rr){const i=a;e=r,t=o,n=Bn([Hr(i),Dr(Ur(i),void 0,Gr(i),0)],l);continue e}e=r,t=o,n=Bn([void 0,Pr(Ur(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,Fn(t),Fn(n))}function Qr(e,t,n){let r=n;Br((e=>{Nn(t,r,e),r=r+1|0}),e)}function eo(e,t){return function(t,n,r){const o=(t,n)=>Vr(e,n,t);return r.reduce(o,void 0)}(0,0,t)}class to{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){let t=0;const n=ht(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();)t=(t<<1)+Ct(n["System.Collections.Generic.IEnumerator`1.get_Current"]())+631|0}finally{ft(n)}return 0|Math.abs(t)}(this)}Equals(e){let t;return e instanceof to&&(t=e,0===Kr(ro(this),oo(this),oo(t)))}toString(){return"set ["+Cn("; ",fr((e=>At(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){return Array.from(this)}CompareTo(e){return 0|Kr(ro(this),oo(this),oo(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 zr(ro(this),e,oo(this))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(e,t){Qr(oo(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|uo(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|uo(this)}GetEnumerator(){return Xr(oo(this))}[Symbol.iterator](){return pt(ht(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Xr(oo(this))}get size(){return 0|uo(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 so(this,e)}keys(){return fr((e=>e),this)}values(){return fr((e=>e),this)}entries(){return fr((e=>[e,e]),this)}forEach(e,t){const n=this;ar((t=>{e(t,t,n)}),n)}}function no(e,t){return new to(e,t)}function ro(e){return e.comparer}function oo(e){return e.tree}function io(e){return no(e,void 0)}function uo(e){return Lr(oo(e))}function so(e,t){return zr(ro(e),t,oo(e))}function co(e,t){return so(t,e)}function lo(e,t){return function(e,t){return no(ro(e),Vr(ro(e),t,oo(e)))}(t,e)}function ao(e){return Cn("/",e)}function fo(e,t,n){try{ft(n)}catch(n){e(["Error stopping subscription: "+ao(t),n])}}function _o(e,t){zn((t=>{fo(e,t[0],t[1])}),t)}function ho(e,t,n,r,o,i){return zn((t=>{!function(e,t){const n=new Error("Duplicate SubId");e(["Duplicate SubId: "+ao(t),n])}(e,t)}),n),zn((t=>{fo(e,t[0],t[1])}),r),Jn(o,function(n,r){const o=Mn(),i=Vn(((n,r)=>{const o=function(e,t,n,r){try{return[n,r(t)]}catch(t){return void e(["Error starting subscription: "+ao(n),t])}}(e,t,(i=r)[0],i[1]);var i;if(null==o)return n;{const e=new Tn(Ht(o),void 0);return n.tail=e,e}}),o,r),u=Mn();return i.tail=u,Dn(o)}(0,i))}function po(e){return t=(e,t)=>{return n=e[0],r=e[1],o=t[0],i=t[1],u=t[2],co(n,i)?[Gn(n,o),i,u]:[o,lo(n,i),Gn([n,r],u)];var n,r,o,i,u},n=e,r=[Hn(),(o={Compare:It},io(o)),Hn()],function(e,t,n){return t.reduceRight(((t,n)=>e(n,t)),n)}(t,$n(n),r);var t,n,r,o}const mo=Hn();function go(e,t){const n=no(r={Compare:It},function(e,t){if(at(t))return eo(e,t);if(t instanceof Tn)return function(e,t){return Vn(((t,n)=>Vr(e,n,t)),void 0,t)}(e,t);{const n=ht(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=Vr(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i}}(e,void 0,n)}finally{ft(n)}}}(r,Yn((e=>e[0]),e)));var r;const o=po(t),i=o[1],u=o[0];if(n.Equals(i))return[u,Hn(),e,Hn()];{const t=function(e,t){const n=Mn(),r=Mn(),o=n,u=Vn(((e,t)=>{let n,r;const o=e[0],u=e[1];return(e=>co(e[0],i))(t)?[(n=new Tn(t,void 0),o.tail=n,n),u]:[o,(r=new Tn(t,void 0),u.tail=r,r)]}),[o,r],t),s=Mn();u[0].tail=s;const c=Mn();return u[1].tail=c,[Dn(o),Dn(r)]}(0,e);return[u,t[1],t[0],Zn((e=>!co(e[0],n)),o[2])]}}function vo(e,t,n){zn((n=>{try{n(t)}catch(t){e(t)}}),n)}function yo(){return Hn()}function wo(e,t){return Yn((t=>n=>{t((t=>{n(e(t))}))}),t)}function bo(e,t,n,r){return Fn((o=>{e(t).then((e=>{o(n(e))})).catch((e=>{o(r(e))}))}))}function Co(e,t){return e>t?e:t}function So(e,t,n,r,o){const i=function(e,t,n,r){const o=0|It(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|It(n,t);return i&&o<=0||!i&&o>=0?[n,r(n,e)]:void 0}}(t,n,r,o);return ur((()=>{return t=i,n=e,or((()=>function(e,t){let n,r=t;return nr((()=>{if(null!=n){const e=Ht(n)[0];return Ht(n)[1],e}return Kn()}),(()=>{if(n=e(r),null!=n){Ht(n)[0];const e=Ht(n)[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}class Eo extends Mt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class ko{constructor(e){this.state=new Eo(0,[xn(new Array(Co(e,10)),0,Co(e,10),null),0])}}function xo(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 Eo(0,[o,n]):new Eo(1,[o,n,i]),Gt(On(r,o))}}function Io(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];Nn(s,i,t);const c=(i+1)%s.length|0;e.state=new Eo(1,c===u?[(r=u,o=s,Array.from(ur((()=>lr(_r(r,o),ur((()=>{return lr((e=r,t=o,n=()=>ir(t),i=(t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return Gt(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Xn+"\\nParameter name: source")}},u=e=>{ft(e)},or((()=>{let e=-1;return rr(n,(t=>(e=e+1|0,i(e,t))),u)}))),ur((()=>{return e=e=>cr(null),n=o.length,t=So(0,1,n,0,((e,t)=>e+t)),ur((()=>sr(fr(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];Nn(o,r,t);const i=(r+1)%o.length|0;e.state=new Eo(1,[o,i,r])}var r,o}class Oo extends Pt{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 No(e){return Tt(e.view)}var To;function Ao(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&To.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]=Ao(!0,r);!n&&10!==i.radix&&e>=t&&e<=o&&(e=e<<32-r>>32-r);const[u,s]=Ao(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"}(To||(To={}));class Po extends Pt{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class Uo extends b{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}const Ro=(()=>{try{return Mo("18.3.1".slice(void 0,2),511,!1,32)>=18}catch(e){return!1}})();class Do extends Mt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Ok","Error"]}}const Ho=(()=>{const e={};return e.store=Gt(window.sessionStorage),e})();function Go(){return new UserManager(function(){const e=function(e){return e.endsWith("/")?e:e+"/"}(window.location.origin+window.location.pathname),t={};return t.authority=$t,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=Gt(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(Ho),t}())}function Fo(e){return e.length>0?En(e,1):e}function jo(e){return Go().signinRedirect(Gt({extraQueryParams:{irt:e.fields[0]}}))}function Lo(e){return Go().signinRedirectCallback(Fo(e.fields[0]))}function Wo(e){return Go().signinSilentCallback(Fo(e.fields[0]))}function $o(){return Go().getUser()}var Vo;!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 ko(10);let l=!1,a=i,f=mo,_=!1;const d=Tt(e)((e=>{_||(Io(c,e),l||(l=!0,h(),l=!1))})),h=()=>{let e,t=xo(c);for(;!_&&null!=t;){const r=Ht(t);if(s[0](r))_o(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),vo((e=>{n.onError([yn(vn("Error handling the message: %A"))(r),e])}),d,o[1]),a=i,e=go(f,u),f=ho(n.onError,d,e[0],e[1],e[2],e[3]),t=xo(c)}}};l=!0,n.setState(i,d),vo((e=>{n.onError([yn(vn("Error intitializing:")),e])}),d,o[1]),r=go(f,u),f=ho(n.onError,d,r[0],r[1],r[2],r[3]),h(),l=!1}(Nt((e=>e)),void 0,t)}(0,e)}((Vo=function(e,t,n){return new Oo((function(){const e=Sr(vr(window.location.hash,1)),t=function(){const e=Sr(vr(window.location.hash,1));return[new Or(new Er(0,[])),1===e.tag?Fn((t=>{t(new Nr(1,[new kr(0,[]),e.fields[0]]))})):2===e.tag?Fn((t=>{t(new Nr(2,[new kr(0,[]),e.fields[0]]))})):3===e.tag?Fn((t=>{t(new Nr(3,[new kr(0,[]),e.fields[0]]))})):Fn((e=>{e(new Nr(0,[new kr(0,[])]))}))]}();return[new Tr(e,t[0]),wo((e=>new Ar(1,[e])),t[1])]}),t,(e=>Hn()),n,Nt((e=>{const t=Tt(n)(e);return e=>{t(e)}})),(e=>{var t,n;t=e[0],n=e[1],console.error(Gt(t),n)}),[e=>!1,e=>{}])}(0,(function(e,t){if(1===e.tag){const n=function(e,t){const n=e=>[new Or(new Er(2,[new Do(1,[e])])),yo()];switch(e.tag){case 1:return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(yn(vn("SignInRedirect failed: %s"))(e.fields[0].fields[0].fields[0])):[t,yo()]:[new Or(new Er(1,[])),(o=jo,i=e.fields[1],u=t=>new Nr(1,[new kr(1,[new Do(1,[t.message])]),e.fields[1]]),Fn((e=>{o(i).catch((t=>{e(u(t))}))})))];case 2:return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(yn(vn("failed sign in: %s"))(e.fields[0].fields[0].fields[0])):[new Or(new Er(2,[new Do(0,[Ir(e.fields[0].fields[0].fields[0])])])),(r=e=>{!function(e){history.pushState(void 0,"",gr(e,1));const t=document.createEvent("CustomEvent");t.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(t)}(Fn(""))},Fn(r))]:[new Or(new Er(1,[])),bo(Lo,e.fields[1],(t=>(window.gtag&&window.gtag("event","oidc_sign_in",{}),new Nr(2,[new kr(1,[new Do(0,[t])]),e.fields[1]]))),(t=>new Nr(2,[new kr(1,[new Do(1,[t.message])]),e.fields[1]])))];case 3:return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(yn(vn("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 Or(new Er(2,[new Do(0,[Ir(e.fields[0].fields[0].fields[0])])])),yo()]:[t,bo(Wo,e.fields[1],(t=>new Nr(3,[new kr(1,[new Do(0,[t])]),e.fields[1]])),(t=>new Nr(3,[new kr(1,[new Do(1,[t.message])]),e.fields[1]])))];default:return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(yn(vn("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 Or(new Er(2,[new Do(0,[Ir(e.fields[0].fields[0].fields[0])])])),yo()]:[new Or(new Er(1,[])),bo($o,void 0,(e=>new Nr(0,[new kr(1,[new Do(0,[e])])])),(e=>new Nr(0,[new kr(1,[new Do(1,[e.message])])])))]}var r,o,i,u}(e.fields[0],t.Auth);return[new Tr(t.CurrentPage,n[0]),wo((e=>new Ar(1,[e])),n[1])]}return[new Tr(Sr(e.fields[0]),t.Auth),yo()]}),(function(e,t){let n,r,o;if(0===(null!=Vt&&null!=$t?(r=0,o=Vt):r=1,r))switch(e.CurrentPage.tag){case 1:case 2:case 3:n=v("div",{children:"Please wait..."});break;case 4:n=v("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=v("bank-component",function(e,t=0){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 1:return e.charAt(0).toLowerCase()+e.slice(1);case 2:return Ut(e,"_");case 3:return Ut(e,"_").toUpperCase();case 4:return Ut(e,"-");default:return e}}(e,t),n[e]=r}for(let t of e){let e=0;if(null==t&&o(t),t instanceof Mt){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 Rt(0,[o]),new Rt(1,[u.AccessToken])],1),...i)):n=v("h1",{children:"Unauthorised"})}}else n=v("h1",{children:"Invalid attribute configuration"});var i;return yr({onUrlChanged:e=>{t(new Ar(0,[e]))},application:v(w,{},n)})})),function(e,t,n){let r;return function(e,t){return new Oo(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}(Nt(Ro?(o=document.getElementById(t),r={render:function(e){Ze(e,o)},unmount:function(){ct(o)}},t=>o=>{r.render(e((e=>t=>e===t),No(n),t,o))}):r=>o=>{Ze(e((e=>t=>e===t),No(n),r,o),document.getElementById(t))}),n);var o}(((e,t,n,r)=>function(e,t,n,r){const o=new Po(n,(()=>t(n,r)),e);return v(Uo,o)}(Nt(e),Nt(t),n,r)),"bank-details-app",Vo)))})();
|
1
|
+
(()=>{"use strict";var e,t,n,r,o,i,s,u,c,l,a,f,h={},d=[],_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,p=Array.isArray;function m(e,t){for(var n in t)e[n]=t[n];return e}function w(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function g(t,n,r){var o,i,s,u={};for(s in n)"key"==s?o=n[s]:"ref"==s?i=n[s]:u[s]=n[s];if(arguments.length>2&&(u.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(s in t.defaultProps)void 0===u[s]&&(u[s]=t.defaultProps[s]);return y(t,u,o,i,null)}function y(e,r,o,i,s){var u={type:e,props:r,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==s?++n:s,__i:-1,__u:0};return null==s&&null!=t.vnode&&t.vnode(u),u}function v(e){return e.children}function b(e,t){this.props=e,this.context=t}function C(e,t){if(null==t)return e.__?C(e.__,e.__i+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?C(e):null}function S(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 S(e)}}function E(e){(!e.__d&&(e.__d=!0)&&r.push(e)&&!x.__r++||o!==t.debounceRendering)&&((o=t.debounceRendering)||i)(x)}function x(){var e,n,o,i,u,c,l,a;for(r.sort(s);e=r.shift();)e.__d&&(n=r.length,i=void 0,c=(u=(o=e).__v).__e,l=[],a=[],o.__P&&((i=m({},u)).__v=u.__v+1,t.vnode&&t.vnode(i),P(o.__P,i,u,o.__n,o.__P.namespaceURI,32&u.__u?[c]:null,l,null==c?C(u):c,!!(32&u.__u),a),i.__v=u.__v,i.__.__k[i.__i]=i,U(l,i,a),i.__e!=c&&S(i)),r.length>n&&r.sort(s));x.__r=0}function k(e,t,n,r,o,i,s,u,c,l,a){var f,_,p,m,w,g,y=r&&r.__k||d,v=t.length;for(c=I(n,t,y,c,v),f=0;f<v;f++)null!=(p=n.__k[f])&&(_=-1===p.__i?h:y[p.__i]||h,p.__i=f,g=P(e,p,_,o,i,s,u,c,l,a),m=p.__e,p.ref&&_.ref!=p.ref&&(_.ref&&G(_.ref,null,p),a.push(p.ref,p.__c||m,p)),null==w&&null!=m&&(w=m),4&p.__u||_.__k===p.__k?c=T(p,c,e):"function"==typeof p.type&&void 0!==g?c=g:m&&(c=m.nextSibling),p.__u&=-7);return n.__e=w,c}function I(e,t,n,r,o){var i,s,u,c,l,a=n.length,f=a,h=0;for(e.__k=new Array(o),i=0;i<o;i++)null!=(s=t[i])&&"boolean"!=typeof s&&"function"!=typeof s?(c=i+h,(s=e.__k[i]="string"==typeof s||"number"==typeof s||"bigint"==typeof s||s.constructor==String?y(null,s,null,null,null):p(s)?y(v,{children:s},null,null,null):void 0===s.constructor&&s.__b>0?y(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):s).__=e,s.__b=e.__b+1,u=null,-1!==(l=s.__i=M(s,n,c,f))&&(f--,(u=n[l])&&(u.__u|=2)),null==u||null===u.__v?(-1==l&&h--,"function"!=typeof s.type&&(s.__u|=4)):l!=c&&(l==c-1?h--:l==c+1?h++:(l>c?h--:h++,s.__u|=4))):e.__k[i]=null;if(f)for(i=0;i<a;i++)null!=(u=n[i])&&!(2&u.__u)&&(u.__e==r&&(r=C(u)),H(u,u));return r}function T(e,t,n){var r,o;if("function"==typeof e.type){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=T(r[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=C(e)),n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function O(e,t){return t=t||[],null==e||"boolean"==typeof e||(p(e)?e.some((function(e){O(e,t)})):t.push(e)),t}function M(e,t,n,r){var o,i,s=e.key,u=e.type,c=t[n];if(null===c||c&&s==c.key&&u===c.type&&!(2&c.__u))return n;if(r>(null==c||2&c.__u?0:1))for(o=n-1,i=n+1;o>=0||i<t.length;){if(o>=0){if((c=t[o])&&!(2&c.__u)&&s==c.key&&u===c.type)return o;o--}if(i<t.length){if((c=t[i])&&!(2&c.__u)&&s==c.key&&u===c.type)return i;i++}}return-1}function N(e,t,n){"-"==t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||_.test(t)?n:n+"px"}function A(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||N(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||N(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])i=t!=(t=t.replace(u,"$1")),t=t.toLowerCase()in e||"onFocusOut"==t||"onFocusIn"==t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=c,e.addEventListener(t,i?a:l,i)):e.removeEventListener(t,i?a:l,i);else{if("http://www.w3.org/2000/svg"==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&&"role"!=t&&"popover"!=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,"popover"==t&&1==n?"":n))}}function D(e){return function(n){if(this.l){var r=this.l[n.type+e];if(null==n.t)n.t=c++;else if(n.t<r.u)return;return r(t.event?t.event(n):n)}}}function P(e,n,r,o,i,s,u,c,l,a){var f,h,d,_,g,y,C,S,E,x,I,T,O,M,N,A,D,P=n.type;if(void 0!==n.constructor)return null;128&r.__u&&(l=!!(32&r.__u),s=[c=n.__e=r.__e]),(f=t.__b)&&f(n);e:if("function"==typeof P)try{if(S=n.props,E="prototype"in P&&P.prototype.render,x=(f=P.contextType)&&o[f.__c],I=f?x?x.props.value:f.__:o,r.__c?C=(h=n.__c=r.__c).__=h.__E:(E?n.__c=h=new P(S,I):(n.__c=h=new b(S,I),h.constructor=P,h.render=F),x&&x.sub(h),h.props=S,h.state||(h.state={}),h.context=I,h.__n=o,d=h.__d=!0,h.__h=[],h._sb=[]),E&&null==h.__s&&(h.__s=h.state),E&&null!=P.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=m({},h.__s)),m(h.__s,P.getDerivedStateFromProps(S,h.__s))),_=h.props,g=h.state,h.__v=n,d)E&&null==P.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),E&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(E&&null==P.getDerivedStateFromProps&&S!==_&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(S,I),!h.__e&&(null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(S,h.__s,I)||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.some((function(e){e&&(e.__=n)})),T=0;T<h._sb.length;T++)h.__h.push(h._sb[T]);h._sb=[],h.__h.length&&u.push(h);break e}null!=h.componentWillUpdate&&h.componentWillUpdate(S,h.__s,I),E&&null!=h.componentDidUpdate&&h.__h.push((function(){h.componentDidUpdate(_,g,y)}))}if(h.context=I,h.props=S,h.__P=e,h.__e=!1,O=t.__r,M=0,E){for(h.state=h.__s,h.__d=!1,O&&O(n),f=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,O&&O(n),f=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++M<25);h.state=h.__s,null!=h.getChildContext&&(o=m(m({},o),h.getChildContext())),E&&!d&&null!=h.getSnapshotBeforeUpdate&&(y=h.getSnapshotBeforeUpdate(_,g)),c=k(e,p(A=null!=f&&f.type===v&&null==f.key?f.props.children:f)?A:[A],n,r,o,i,s,u,c,l,a),h.base=n.__e,n.__u&=-161,h.__h.length&&u.push(h),C&&(h.__E=h.__=null)}catch(e){if(n.__v=null,l||null!=s)if(e.then){for(n.__u|=l?160:128;c&&8==c.nodeType&&c.nextSibling;)c=c.nextSibling;s[s.indexOf(c)]=null,n.__e=c}else for(D=s.length;D--;)w(s[D]);else n.__e=r.__e,n.__k=r.__k;t.__e(e,n,r)}else null==s&&n.__v==r.__v?(n.__k=r.__k,n.__e=r.__e):c=n.__e=R(r.__e,n,r,o,i,s,u,l,a);return(f=t.diffed)&&f(n),128&n.__u?void 0:c}function U(e,n,r){for(var o=0;o<r.length;o++)G(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 R(n,r,o,i,s,u,c,l,a){var f,d,_,m,g,y,v,b=o.props,S=r.props,E=r.type;if("svg"==E?s="http://www.w3.org/2000/svg":"math"==E?s="http://www.w3.org/1998/Math/MathML":s||(s="http://www.w3.org/1999/xhtml"),null!=u)for(f=0;f<u.length;f++)if((g=u[f])&&"setAttribute"in g==!!E&&(E?g.localName==E:3==g.nodeType)){n=g,u[f]=null;break}if(null==n){if(null==E)return document.createTextNode(S);n=document.createElementNS(s,E,S.is&&S),l&&(t.__m&&t.__m(r,u),l=!1),u=null}if(null===E)b===S||l&&n.data===S||(n.data=S);else{if(u=u&&e.call(n.childNodes),b=o.props||h,!l&&null!=u)for(b={},f=0;f<n.attributes.length;f++)b[(g=n.attributes[f]).name]=g.value;for(f in b)if(g=b[f],"children"==f);else if("dangerouslySetInnerHTML"==f)_=g;else if(!(f in S)){if("value"==f&&"defaultValue"in S||"checked"==f&&"defaultChecked"in S)continue;A(n,f,null,g,s)}for(f in S)g=S[f],"children"==f?m=g:"dangerouslySetInnerHTML"==f?d=g:"value"==f?y=g:"checked"==f?v=g:l&&"function"!=typeof g||b[f]===g||A(n,f,g,b[f],s);if(d)l||_&&(d.__html===_.__html||d.__html===n.innerHTML)||(n.innerHTML=d.__html),r.__k=[];else if(_&&(n.innerHTML=""),k(n,p(m)?m:[m],r,o,i,"foreignObject"==E?"http://www.w3.org/1999/xhtml":s,u,c,u?u[0]:o.__k&&C(o,0),l,a),null!=u)for(f=u.length;f--;)w(u[f]);l||(f="value","progress"==E&&null==y?n.removeAttribute("value"):void 0!==y&&(y!==n[f]||"progress"==E&&!y||"option"==E&&y!==b[f])&&A(n,f,y,b[f],s),f="checked",void 0!==v&&v!==n[f]&&A(n,f,v,b[f],s))}return n}function G(e,n,r){try{if("function"==typeof e){var o="function"==typeof e.__u;o&&e.__u(),o&&null==n||(e.__u=e(n))}else e.current=n}catch(e){t.__e(e,r)}}function H(e,n,r){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||G(o,null,n)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){t.__e(e,n)}o.base=o.__P=null}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&H(o[i],n,r||"function"!=typeof e.type);r||w(e.__e),e.__c=e.__=e.__e=void 0}function F(e,t,n){return this.constructor(e,n)}function $(n,r,o){var i,s,u,c;r==document&&(r=document.documentElement),t.__&&t.__(n,r),s=(i="function"==typeof o)?null:o&&o.__k||r.__k,u=[],c=[],P(r,n=(!i&&o||r).__k=g(v,null,[n]),s||h,h,r.namespaceURI,!i&&o?[o]:s?null:r.firstChild?e.call(r.childNodes):null,u,!i&&o?o:s?s.__e:r.firstChild,i,c),U(u,n,c)}function j(e,t){$(e,t,j)}function B(t,n,r){var o,i,s,u,c=m({},t.props);for(s in t.type&&t.type.defaultProps&&(u=t.type.defaultProps),n)"key"==s?o=n[s]:"ref"==s?i=n[s]:c[s]=void 0===n[s]&&void 0!==u?u[s]:n[s];return arguments.length>2&&(c.children=arguments.length>3?e.call(arguments,2):r),y(t.type,c,o||t.key,i||t.ref,null)}e=d.slice,t={__e:function(e,t,n,r){for(var o,i,s;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),s=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),s=o.__d),s)return o.__E=o}catch(t){e=t}throw e}},n=0,b.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=m({},this.state),"function"==typeof e&&(e=e(m({},n),this.props)),e&&m(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),E(this))},b.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),E(this))},b.prototype.render=v,r=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,s=function(e,t){return e.__v.__b-t.__v.__b},x.__r=0,u=/(PointerCapture)$|Capture$/i,c=0,l=D(!1),a=D(!0),f=0;var L,W,V,q,z=0,J=[],Z=t,Y=Z.__b,X=Z.__r,K=Z.diffed,Q=Z.__c,ee=Z.unmount,te=Z.__;function ne(e,t){Z.__h&&Z.__h(W,e,z||t),z=0;var n=W.__H||(W.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function re(e){return z=1,oe(ve,e)}function oe(e,t,n){var r=ne(L++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ve(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=W,!W.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 s=r.__c.props!==e;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(s=!0)}})),i&&i.call(this,e,t,n)||s};W.u=!0;var i=W.shouldComponentUpdate,s=W.componentWillUpdate;W.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}s&&s.call(this,e,t,n)},W.shouldComponentUpdate=o}return r.__N||r.__}function ie(e,t){var n=ne(L++,3);!Z.__s&&ye(n.__H,t)&&(n.__=e,n.i=t,W.__H.__h.push(n))}function se(e,t){var n=ne(L++,4);!Z.__s&&ye(n.__H,t)&&(n.__=e,n.i=t,W.__h.push(n))}function ue(e){return z=5,le((function(){return{current:e}}),[])}function ce(e,t,n){z=6,se((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))}function le(e,t){var n=ne(L++,7);return ye(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ae(e,t){return z=8,le((function(){return e}),t)}function fe(e){var t=W.context[e.__c],n=ne(L++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(W)),t.props.value):e.__}function he(e,t){Z.useDebugValue&&Z.useDebugValue(t?t(e):e)}function de(){var e=ne(L++,11);if(!e.__){for(var t=W.__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.__}function _e(){for(var e;e=J.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(we),e.__H.__h.forEach(ge),e.__H.__h=[]}catch(t){e.__H.__h=[],Z.__e(t,e.__v)}}Z.__b=function(e){W=null,Y&&Y(e)},Z.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),te&&te(e,t)},Z.__r=function(e){X&&X(e),L=0;var t=(W=e.__c).__H;t&&(V===W?(t.__h=[],W.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(we),t.__h.forEach(ge),t.__h=[],L=0)),V=W},Z.diffed=function(e){K&&K(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==J.push(t)&&q===Z.requestAnimationFrame||((q=Z.requestAnimationFrame)||me)(_e)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),V=W=null},Z.__c=function(e,t){t.some((function(e){try{e.__h.forEach(we),e.__h=e.__h.filter((function(e){return!e.__||ge(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],Z.__e(n,e.__v)}})),Q&&Q(e,t)},Z.unmount=function(e){ee&&ee(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{we(e)}catch(e){t=e}})),n.__H=void 0,t&&Z.__e(t,n.__v))};var pe="function"==typeof requestAnimationFrame;function me(e){var t,n=function(){clearTimeout(r),pe&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);pe&&(t=requestAnimationFrame(n))}function we(e){var t=W,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),W=t}function ge(e){var t=W;e.__c=e.__(),W=t}function ye(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function ve(e,t){return"function"==typeof t?t(e):t}function be(e,t){for(var n in t)e[n]=t[n];return e}function Ce(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 Se(e,t){var n=t(),r=re({t:{__:n,u:t}}),o=r[0].t,i=r[1];return se((function(){o.__=n,o.u=t,Ee(o)&&i({t:o})}),[e,n,t]),ie((function(){return Ee(o)&&i({t:o}),e((function(){Ee(o)&&i({t:o})}))}),[e]),n}function Ee(e){var t,n,r=e.u,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(e){return!0}}function xe(e){e()}function ke(e){return e}function Ie(){return[!1,xe]}var Te=se;function Oe(e,t){this.props=e,this.context=t}(Oe.prototype=new b).isPureReactComponent=!0,Oe.prototype.shouldComponentUpdate=function(e,t){return Ce(this.props,e)||Ce(this.state,t)};var Me=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Me&&Me(e)};var Ne="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,Ae=function(e,t){return null==e?null:O(O(e).map(t))},De={map:Ae,forEach:Ae,count:function(e){return e?O(e).length:0},only:function(e){var t=O(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:O},Pe=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);Pe(e,t,n,r)};var Ue=t.unmount;function Re(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=be({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Re(e,t,n)}))),e}function Ge(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Ge(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function He(){this.__u=0,this.o=null,this.__b=null}function Fe(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function $e(){this.i=null,this.l=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Ue&&Ue(e)},(He.prototype=new b).__c=function(e,t){var n=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(n);var o=Fe(r.__v),i=!1,s=function(){i||(i=!0,n.__R=null,o?o(u):u())};n.__R=s;var u=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Ge(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.o.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},He.prototype.componentWillUnmount=function(){this.o=[]},He.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]=Re(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&g(v,null,e.fallback);return o&&(o.__u&=-33),[g(v,null,t.__a?null:e.children),o]};var je=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function Be(e){return this.getChildContext=function(){return e.context},e.children}function Le(e){var t=this,n=e.h;t.componentWillUnmount=function(){$(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),t.v||(t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(e){this.childNodes.push(e),t.h.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.h.insertBefore(e,n)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.h.removeChild(e)}}),$(g(Be,{context:t.context},e.__v),t.v)}($e.prototype=new b).__a=function(e){var t=this,n=Fe(t.__v),r=t.l.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),je(t,e,r)):o()};n?n(i):i()}},$e.prototype.render=function(e){this.i=null,this.l=new Map;var t=O(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},$e.prototype.componentDidUpdate=$e.prototype.componentDidMount=function(){var e=this;this.l.forEach((function(t,n){je(e,n,t)}))};var We="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ve=/^(?: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]/,qe=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ze=/[A-Z0-9]/g,Je="undefined"!=typeof document,Ze=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function Ye(e,t,n){return null==t.__k&&(t.textContent=""),$(e,t),"function"==typeof n&&n(),e?e.__c:null}b.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(b.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Xe=t.event;function Ke(){}function Qe(){return this.cancelBubble}function et(){return this.defaultPrevented}t.event=function(e){return Xe&&(e=Xe(e)),e.persist=Ke,e.isPropagationStopped=Qe,e.isDefaultPrevented=et,e.nativeEvent=e};var tt,nt={enumerable:!1,configurable:!0,get:function(){return this.class}},rt=t.vnode;t.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},o=-1===n.indexOf("-");for(var i in t){var s=t[i];if(!("value"===i&&"defaultValue"in t&&null==s||Je&&"children"===i&&"noscript"===n||"class"===i||"className"===i)){var u=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===s?s="":"translate"===u&&"no"===s?s=!1:"o"===u[0]&&"n"===u[1]?"ondoubleclick"===u?i="ondblclick":"onchange"!==u||"input"!==n&&"textarea"!==n||Ze(t.type)?"onfocus"===u?i="onfocusin":"onblur"===u?i="onfocusout":qe.test(i)&&(i=u):u=i="oninput":o&&Ve.test(i)?i=i.replace(ze,"-$&").toLowerCase():null===s&&(s=void 0),"oninput"===u&&r[i=u]&&(i="oninputCapture"),r[i]=s}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=O(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=O(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",nt)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=We,rt&&rt(e)};var ot=t.__r;t.__r=function(e){ot&&ot(e),tt=e.__c};var it=t.diffed;t.diffed=function(e){it&&it(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),tt=null};var st={ReactCurrentDispatcher:{current:{readContext:function(e){return tt.__n[e.__c].props.value},useCallback:ae,useContext:fe,useDebugValue:he,useDeferredValue:ke,useEffect:ie,useId:de,useImperativeHandle:ce,useInsertionEffect:Te,useLayoutEffect:se,useMemo:le,useReducer:oe,useRef:ue,useState:re,useSyncExternalStore:Se,useTransition:Ie}}};function ut(e){return!!e&&e.$$typeof===We}function ct(e){return!!e.__k&&($(null,e),!0)}var lt={useState:re,useId:de,useReducer:oe,useEffect:ie,useLayoutEffect:se,useInsertionEffect:Te,useTransition:Ie,useDeferredValue:ke,useSyncExternalStore:Se,startTransition:xe,useRef:ue,useImperativeHandle:ce,useMemo:le,useCallback:ae,useContext:fe,useDebugValue:he,version:"18.3.1",Children:De,render:Ye,hydrate:function(e,t,n){return j(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:ct,createPortal:function(e,t){var n=g(Le,{__v:e,h:t});return n.containerInfo=t,n},createElement:g,createContext:function(e,t){var n={__c:t="__cC"+f++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.forEach((function(e){e.__e=!0,E(e)}))},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return g.bind(null,e)},cloneElement:function(e){return ut(e)?B.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:v,isValidElement:ut,isElement:ut,isFragment:function(e){return ut(e)&&e.type===v},isMemo:function(e){return!!e&&!!e.displayName&&("string"==typeof e.displayName||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")},findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:b,PureComponent:Oe,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:Ce(this.props,e)}function r(t){return this.shouldComponentUpdate=n,g(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=be({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Ne,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:v,Suspense:He,SuspenseList:$e,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 g(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:st};function at(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function ft(e){(function(e){return null!=e&&"function"==typeof e.Dispose})(e)&&e.Dispose()}function ht(e,t){return Object.getPrototypeOf(e)?.constructor===Object.getPrototypeOf(t)?.constructor}Symbol.iterator;class dt{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 _t(e){return function(e){return null!=e&&"function"==typeof e.GetEnumerator}(e)?e.GetEnumerator():new dt(e[Symbol.iterator]())}function pt(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 mt(e,t){return e.toString(10).padStart(t,"0")}function wt(e){const t=e;return"number"==typeof t.offset?t.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}function gt(e,t){return(e=e<0&&null!=t&&10!==t?65535+e+1:e).toString(t)}function yt(e,t){return(e=e<0&&null!=t&&10!==t?4294967295+e+1:e).toString(t)}class vt{static id(e){return vt.idMap.has(e)||vt.idMap.set(e,++vt.count),vt.idMap.get(e)}}function bt(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=33*n^e.charCodeAt(t++);return n}function Ct(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 Et(e){if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Ct(e);case"bigint":return function(e){return bt(e.toString(32))}(e);case"string":return bt(e);default:if(function(e){return null!=e&&"function"==typeof e.GetHashCode}(e))return e.GetHashCode();if(at(e))return function(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=Et(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=>Et(e)));return St(t)}return Ct(vt.id(e))}}function xt(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}function kt(e,t){return xt(e,t,It)}function It(e,t){return e===t||(null==e?null==t:null!=t&&(function(e){return null!=e&&"function"==typeof e.Equals}(e)?e.Equals(t):at(e)?at(t)&&kt(e,t):"object"==typeof e&&(e instanceof Date?t instanceof Date&&0===Tt(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]||!It(e[n[o]],t[r[o]]))return!1;return!0}(e,t))))}function Tt(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+wt(e),r=t.getTime()+wt(t)),n===r?0:n<r?-1:1}function Ot(e,t){return e===t?0:e<t?-1:1}function Mt(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,Nt)}function Nt(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):at(e)?at(t)?Mt(e,t):-1:"object"!=typeof e?e<t?-1:1:e instanceof Date?t instanceof Date?Tt(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 s=n[o];if(s!==r[o])return s<r[o]?-1:1;if(i=Nt(e[s],t[s]),0!==i)return i}return 0}(e,t):-1}vt.idMap=new WeakMap,vt.count=0;const At=new WeakMap;function Dt(e){if(null==e)return null;const t=(t,n)=>e(t)(n);return At.set(t,e),t}function Pt(e){return At.get(e)??(t=>n=>e(t,n))}function Ut(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+=Ut(r);else{if(100===t){n+="; ...";break}n+="; "+Ut(r)}t++}return n+"]"}(e);{const n=Object.getPrototypeOf(e)?.constructor;return n===Object&&t<10?"{ "+Object.entries(e).map((([e,n])=>e+" = "+Ut(n,t+1))).join("\n ")+" }":n?.name??""}}return String(e)}class Rt{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=Ut(t[0]),r=n.indexOf(" ")>=0):n=t.map((e=>Ut(e))).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>Et(e)));return e.splice(0,0,Ct(this.tag)),St(e)}Equals(e){return this===e||!!ht(this,e)&&this.tag===e.tag&&kt(this.fields,e.fields)}CompareTo(e){return this===e?0:ht(this,e)?this.tag===e.tag?Mt(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class Gt{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+" = "+Ut(t))).join("\n ")+" }";var e}GetHashCode(){return function(e){const t=Object.values(e).map((e=>Et(e)));return St(t)}(this)}Equals(e){return function(e,t){if(e===t)return!0;if(ht(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!It(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(ht(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=Nt(e[n[r]],t[n[r]]);if(0!==o)return o}return 0}return-1}(this,e)}}class Ht{get contents(){return this.getter()}set contents(e){this.setter(e)}constructor(e,t){"function"==typeof t?(this.getter=e,this.setter=t):(this.getter=()=>e,this.setter=t=>{e=t})}}class Ft{constructor(e){this.message=e}}function $t(e){return function(e){return e instanceof Ft||e instanceof Error}(e)||function(e){return e instanceof Promise}(e)?e:new Error(String(e))}function jt(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 Bt extends Rt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["backend-url","access-token"]}}class Lt{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return Et(this.value)}Equals(e){return null!=e&&It(this.value,e instanceof Lt?e.value:e)}CompareTo(e){return null==e?1:Nt(this.value,e instanceof Lt?e.value:e)}}function Wt(e){if(null==e)throw new Error("Option has no value");return e instanceof Lt?e.value:e}function Vt(e){return null==e||e instanceof Lt?new Lt(e):e}function qt(e){return null==e?[]:[Wt(e)]}function zt(e,t){return null!=e?Wt(e):t}function Jt(e,t){return null!=t?Vt(e(Wt(t))):void 0}const Zt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Yt=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Xt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Kt=["January","February","March","April","May","June","July","August","September","October","November","December"];function Qt(e,t,n){let r=0,o=t;for(;o<e.length&&e[o]===n;)o++,r++;return r}function en(e,t){return t>=e.length-1?-1:e.charCodeAt(t+1)}function tn(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 nn(e,t,n){let r=0,o=0,i="";const s=n?cn(e.getTime(),1):e;for(;r<t.length;){const e=t[r];switch(e){case"d":switch(o=Qt(t,r,"d"),r+=o,o){case 1:i+=hn(s);break;case 2:i+=mt(hn(s),2);break;case 3:i+=Zt[gn(s)];break;case 4:i+=Yt[gn(s)]}break;case"f":if(o=Qt(t,r,"f"),r+=o,o<=3){const e=10**(3-o);i+=mt(Math.floor(_n(s)/e),o)}else o<=7&&(i+=(""+_n(s)).padEnd(o,"0"));break;case"F":if(o=Qt(t,r,"F"),r+=o,o<=3){const e=10**(3-o),t=Math.floor(_n(s)/e);0!=t&&(i+=mt(t,o))}else if(o<=7){const e=_n(s);0!=e&&(i+=mt(e,3))}break;case"g":o=Qt(t,r,"g"),r+=o,o<=2&&(i+="A.D.");break;case"h":switch(o=Qt(t,r,"h"),r+=o,o){case 1:i+=dn(s)%12;break;case 2:i+=mt(dn(s)%12,2)}break;case"H":switch(o=Qt(t,r,"H"),r+=o,o){case 1:i+=dn(s);break;case 2:i+=mt(dn(s),2)}break;case"K":if(o=Qt(t,r,"K"),r+=o,1===o)switch(rn(s)){case 1:i+="Z";break;case 2:i+=on(-6e4*s.getTimezoneOffset())}break;case"m":switch(o=Qt(t,r,"m"),r+=o,o){case 1:i+=pn(s);break;case 2:i+=mt(pn(s),2)}break;case"M":switch(o=Qt(t,r,"M"),r+=o,o){case 1:i+=mn(s);break;case 2:i+=mt(mn(s),2);break;case 3:i+=Xt[mn(s)-1];break;case 4:i+=Kt[mn(s)-1]}break;case"s":switch(o=Qt(t,r,"s"),r+=o,o){case 1:i+=wn(s);break;case 2:i+=mt(wn(s),2)}break;case"t":switch(o=Qt(t,r,"t"),r+=o,o){case 1:i+=s.getHours()<12?"A":"P";break;case 2:i+=s.getHours()<12?"AM":"PM"}break;case"y":switch(o=Qt(t,r,"y"),r+=o,o){case 1:i+=s.getFullYear()%100;break;case 2:i+=mt(s.getFullYear()%100,2);break;case 3:i+=mt(s.getFullYear(),3);break;case 4:i+=mt(s.getFullYear(),4);break;case 5:i+=mt(s.getFullYear(),5)}break;case"z":o=Qt(t,r,"z"),r+=o;let u="";switch(rn(s)){case 1:u="+00:00";break;case 2:u=on(-6e4*s.getTimezoneOffset());break;case 0:u=on(-6e4*fn(s).getTimezoneOffset())}const c="-"===u[0]?"-":"+",l=parseInt(u.substring(1,3),10),a=parseInt(u.substring(4,6),10);switch(o){case 1:i+=`${c}${l}`;break;case 2:i+=`${c}${mt(l,2)}`;break;default:i+=`${c}${mt(l,2)}:${mt(a,2)}`}break;case":":i+=":",r++;break;case"/":i+="/",r++;break;case"'":case'"':const[f,h]=tn(t,r);i+=f,r+=h;break;case"%":const d=en(t,r);if(!(d>=0&&d!=="%".charCodeAt(0)))throw new Error("Invalid format string");r+=2,i+=nn(s,String.fromCharCode(d),n);break;case"\\":const _=en(t,r);if(!(_>=0))throw new Error("Invalid format string");r+=2,i+=String.fromCharCode(_);break;default:r++,i+=e}}return i}function rn(e){return e.kind||0}function on(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+mt(~~(e/36e5),2)+":"+mt(n,2)}function sn(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 un(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," ")+on(e.offset??0);if(1!==t.length)return nn(n,t,!0);switch(t){case"D":case"d":return sn(n,"first");case"T":case"t":return sn(n,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+on(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 nn(e,t,n);switch(t){case"D":case"d":return n?sn(e,"first"):e.toLocaleDateString();case"T":case"t":return n?sn(e,"second"):e.toLocaleTimeString();case"O":case"o":return function(e,t){if(t)return e.toISOString();{const t=null==e.kind||2===e.kind;return mt(e.getFullYear(),4)+"-"+mt(e.getMonth()+1,2)+"-"+mt(e.getDate(),2)+"T"+mt(e.getHours(),2)+":"+mt(e.getMinutes(),2)+":"+mt(e.getSeconds(),2)+"."+mt(e.getMilliseconds(),3)+(t?on(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}function cn(e,t){const n=new Date(e);return n.kind=0|(null==t?0:t),n}function ln(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}null!=e&&""!==e.trim()||t(),10===e.length&&"-"===e[4]&&"-"===e[7]&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.getTime())){const o=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(e);if(null!=o){let e,t=0;if(null!=o[2]){const e=o[2].split(":"),n=parseInt(e[0],10);t=3600*n+60*parseInt(e[1]||"0",10)+parseFloat(e[2]||"0"),null!=o[3]&&"PM"===o[3].toUpperCase()&&n<12&&(t+=720)}if(null!=o[4]){if(null!=o[1])e=new Date(o[1]+" UTC");else{const t=new Date;e=new Date(t.getUTCFullYear()+"/"+(t.getUTCMonth()+1)+"/"+t.getUTCDate())}if("Z"===o[4])r="Z";else{let e=60*parseInt(o[5],10)+parseInt(o[6]||"0",10);"-"===o[4][0]&&(e*=-1),r=e,t-=60*e}}else if(null!=o[1])e=new Date(o[1]);else{const t=new Date;e=new Date(t.getFullYear()+"/"+(t.getMonth()+1)+"/"+t.getDate())}n=new Date(e.getTime()+1e3*t),n=new Date(n.getTime()+6e4*(n.getTimezoneOffset()-e.getTimezoneOffset()))}else t();isNaN(n.getTime())&&t()}return[n,r]}function an(e,t){try{return t.contents=function(e,t=!1){const[n,r]=ln(e),o=null!=r?t&&"Z"===r?1:2:0;return cn(n.getTime(),o)}(e),!0}catch(e){return!1}}function fn(e){return 2===e.kind?e:cn(e.getTime(),2)}function hn(e){return 1===e.kind?e.getUTCDate():e.getDate()}function dn(e){return 1===e.kind?e.getUTCHours():e.getHours()}function _n(e){return 1===e.kind?e.getUTCMilliseconds():e.getMilliseconds()}function pn(e){return 1===e.kind?e.getUTCMinutes():e.getMinutes()}function mn(e){return(1===e.kind?e.getUTCMonth():e.getMonth())+1}function wn(e){return 1===e.kind?e.getUTCSeconds():e.getSeconds()}function gn(e){return 1===e.kind?e.getUTCDay():e.getDay()}const yn=Symbol("numeric");function vn(e){return"number"==typeof e||"bigint"==typeof e||e?.[yn]}function bn(e,t){return"number"==typeof e?e*t:"bigint"==typeof e?e*BigInt(t):e[yn]().multiply(t)}function Cn(e,t){return"number"==typeof e?e.toFixed(t):"bigint"==typeof e?e:e[yn]().toFixed(t)}function Sn(e,t){return"number"==typeof e?e.toPrecision(t):"bigint"==typeof e?e:e[yn]().toPrecision(t)}function En(e,t){return"number"==typeof e?e.toExponential(t):"bigint"==typeof e?e:e[yn]().toExponential(t)}function xn(e){return"number"==typeof e?(Number(e)>>>0).toString(16):"bigint"==typeof e?BigInt.asUintN(64,e).toString(16):e[yn]().toHex()}function kn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function In(e,t,n=0){if(null==t)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=n;const r=[];let o,i=-1;for(;null!=(o=e.exec(t));)o.index===i?e.lastIndex++:(i=o.index,r.push(o));return r}const Tn=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,On=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function Mn(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}function Nn(e){return{input:e,cont:(t=e,e=>{Tn.lastIndex=0;const n=[],r=[];let o=0,i=Tn.exec(t);for(;i;){const e=i.index+(i[1]||"").length;n.push(t.substring(o,e).replace(/%%/g,"%")),r.push(i),o=Tn.lastIndex,Tn.lastIndex-=1,i=Tn.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(o).replace(/%%/g,"%")),Un(e,n,r))})};var t}function An(e,t){return"string"==typeof t?e(t):t.cont(e)}function Dn(e){return An((e=>e),e)}function Pn(e,t,n,r,o){let i="";if(t=t||"",o=o||"",vn(e))switch("x"!==o.toLowerCase()&&(Mn(e,0)?(e=bn(e,-1),i="-"):t.indexOf(" ")>=0?i=" ":t.indexOf("+")>=0&&(i="+")),r=null==r?null:parseInt(r,10),o){case"f":case"F":e=Cn(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?Sn(e,r):Sn(e);break;case"e":case"E":e=null!=r?En(e,r):En(e);break;case"x":e=xn(e);break;case"X":e=xn(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?un(e):Ut(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,s=o||!r?" ":"0";e="0"===s?i+(e=Gn(e,n-i.length,s,o)):Gn(i+e,n,s,o)}return e}function Un(e,t,n,r="",o=-1){return(...i)=>{let s=r;const u=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}s+=u[0],s+=Pn(e,t,l,r,i),u.splice(0,1),c.splice(0,1)}return 0===c.length?(s+=u[0],e(s)):Un(e,u,c,s,o)}}function Rn(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function Gn(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 Hn(e,t,n){return Gn(e,t,n)}function Fn(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&~r),i=!(2&~r);t=(t=t||[]).filter((e=>e)).map(kn),t=t.length>0?t:["\\s"];const s=[],u=new RegExp(t.join("|"),"g");let c=!0,l=0;do{const t=u.exec(e);if(null===t){const t=i?e.substring(l).trim():e.substring(l);(!o||t.length>0)&&s.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&&s.length+1===n?(s.push(i?e.substring(l).trim():e.substring(l)),c=!1):s.push(r)),l=u.lastIndex}}while(c);return s}function $n(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+kn(t.join(""))+"]+$"),"")}function jn(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 Bn=function(e){return null==e?void 0:e}(document.querySelector("#bank-details-app")),Ln=Jt((e=>e.getAttribute("data-identity-url")),Bn),Wn=Jt((e=>e.getAttribute("data-backend-url")),Bn),Vn=$n(`${window.location.protocol}//${window.location.host}${window.location.pathname}`,"/"),qn="Collection was empty.";function zn(e,t){return"function"==typeof e?new e(t):new Array(t)}function Jn(e,t,n,r){const o=0|t;return e.fill(r,o,o+n)}function Zn(e,t,n){const r=0|t.length,o=zn(n,r);for(let n=0;n<=r-1;n++)Qn(o,n,e(Kn(n,t)));return o}function Yn(e,t,n){const r=e;return n.reduce(r,t)}function Xn(e,t,n){if(null==t)return null==n;if(null==n)return!1;{let r=0,o=!0;const i=0|t.length,s=0|n.length;if(i>s)return!1;if(i<s)return!1;for(;r<i&&o;)o=e(Kn(r,t),Kn(r,n)),r=r+1|0;return o}}function Kn(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 Qn(e,t,n){if(t<0||t>=e.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");e[t]=n}function er(e,t,n){return t.reduceRight(((t,n)=>e(n,t)),n)}class tr extends Gt{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+Rn("; ",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 s=Wt(o),u=Wt(i);if(It(n.head,r.head)){e=s,t=u;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,s=i.tail;if(null==s)return 0|o;{const u=Wt(s);if(r>18)return 0|o;e=r+1,t=(o<<1)+Et(i.head)+631*r,n=u}}})(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 s=Wt(o),u=Wt(i),c=0|Nt(n.head,r.head);if(0===c){e=s,t=u;continue e}return 0|c}return 1}return null!=i?-1:0}})(this,e)}GetEnumerator(){return new nr(this)}[Symbol.iterator](){return pt(_t(this))}"System.Collections.IEnumerable.GetEnumerator"(){return _t(this)}}class nr{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=Wt(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 rr(){return new tr(null,void 0)}function or(e,t){return new tr(e,t)}function ir(e){return null==e.tail}function sr(e){if(null!=e.tail)return e.head;throw new Error(qn+"\\nParameter name: list")}function ur(e){const t=e.tail;if(null!=t)return Wt(t);throw new Error(qn+"\\nParameter name: list")}function cr(){return rr()}function lr(e,t){return or(e,t)}function ar(e){return or(e,rr())}function fr(e){return ir(e)}function hr(e){return sr(e)}function dr(e){return ur(e)}function _r(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=Wt(r)}})(0,e)}(e),n=Jn(new Array(t),0,t,null);return((e,t)=>{for(;;){const r=e,o=t;if(ir(o))break;Qn(n,r,sr(o)),e=r+1,t=ur(o)}})(0,e),n}function pr(e,t,n){let r=t,o=n;for(;!ir(o);)r=e(r,hr(o)),o=ur(o);return r}function mr(e){return pr(((e,t)=>or(t,e)),rr(),e)}function wr(e,t){pr(((t,n)=>{e(n)}),void 0,t)}function gr(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=or(Kn(t,e),n);return n}function yr(e){return gr(e,rr())}function vr(e,t){return pr(((e,t)=>or(t,e)),t,mr(e))}function br(e,t){const n=rr(),r=pr(((t,n)=>{const r=new tr(e(n),void 0);return t.tail=r,r}),n,t),o=rr();return r.tail=o,ur(n)}function Cr(e,t){const n=rr(),r=pr(((t,n)=>{if(e(n)){const e=new tr(n,void 0);return t.tail=e,e}return t}),n,t),o=rr();return r.tail=o,ur(n)}const Sr="The input sequence has an insufficient number of elements.";function Er(){throw new Error("Enumeration has not started. Call MoveNext.")}function xr(){throw new Error("Enumeration already finished.")}class kr{constructor(e){this.f=e}toString(){let e=0,t="seq [";const n=_t(this);try{for(;e<4&&n["System.Collections.IEnumerator.MoveNext"]();)e>0&&(t+="; "),t+=Ut(n["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(t+="; ..."),t+"]"}finally{ft(n)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return pt(_t(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class Ir{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 Tr(e,t,n){return new Ir(e,t,n)}function Or(e,t,n){let r,o=!1,i=Vt(e());const s=()=>{if(null!=i){const e=Wt(i);try{n(e)}finally{i=void 0}}},u=()=>{try{s()}finally{r=void 0}};return Tr((()=>(o||Er(),null!=r?Wt(r):xr())),(()=>{if(o||(o=!0),null!=i){const e=Wt(i);let n;try{n=t(e)}catch(e){throw u(),e}return null!=n?(r=n,!0):(u(),!1)}return!1}),s)}function Mr(e){return function(e){return new kr(e)}(e)}function Nr(e){return t="source",null==e&&function(e){throw new Error(e)}(t),_t(e);var t}function Ar(e){return Mr((()=>_t(e())))}function Dr(e){return Mr((()=>function(e){let t,n,r,o=!1,i=!1;const s=()=>{if(i=!0,null!=n){const e=Wt(n);try{ft(e)}finally{n=void 0}}if(null!=t){const e=Wt(t);try{ft(e)}finally{t=void 0}}};return Tr((()=>(o?i&&xr():Er(),null!=r?Wt(r):xr())),(()=>{let u;if(o||(o=!0),i)return!1;{let o;for(;null==o;){const i=t;if(null!=i)if(null!=n){const e=Wt(n);if(e["System.Collections.IEnumerator.MoveNext"]())r=Vt(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),o=!0;else try{ft(e)}finally{n=void 0}}else{const e=Wt(i);e["System.Collections.IEnumerator.MoveNext"]()?(u=e["System.Collections.Generic.IEnumerator`1.get_Current"](),n=_t(u)):(s(),o=!1)}else t=_t(e)}return Wt(o)}}),(()=>{i||s()}))}(e)))}function Pr(e,t){return Dr([e,t])}function Ur(e,t,n){const r=Nr(t);try{let t=!1;for(;!t&&r["System.Collections.IEnumerator.MoveNext"]();)t=n.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return t}finally{ft(r)}}function Rr(e,t,n){const r=Nr(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{ft(r)}}function Gr(e,t){Rr(((t,n)=>{e(n)}),void 0,t)}function Hr(e,t){return n=()=>Nr(t),r=t=>t["System.Collections.IEnumerator.MoveNext"]()?Vt(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,o=e=>{ft(e)},Mr((()=>Or(n,r,o)));var n,r,o}function Fr(e){return Ar((()=>function(e){return e.slice().reverse()}(function(e){return e instanceof tr?_r(e):Array.from(e)}(e))))}function $r(e,t){return Mr((()=>{const n=Nr(t);try{for(let t=1;t<=e;t++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(Sr+"\\nParameter name: source");return function(e,t){return Tr((()=>t["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>t["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{ft(t)}finally{e()}}))}((()=>{}),n)}catch(e){throw ft(n),e}}))}Symbol.iterator;const jr=lt;function Br(e){return{Dispose(){e()}}}function Lr(e,t){return t.startsWith(e)?t:void 0}function Wr(e,t){return t.endsWith(e)?t:void 0}function Vr(e,t){return function(e){return 1===e?e=>{let t,n,r,o,i,s;return t=Lr("/",e),null!=t?(n=t,"#"+n):(r=Lr("#/",e),null!=r?(o=r,o):(i=Lr("#",e),null!=i?(s=i,"#/"+jn(s,1,s.length-1)):"#/"+e))}:e=>{let t,n;return t=Lr("/",e),null!=t?(n=t,n):"/"+e}}(t)(Rn("/",br((e=>e.indexOf("?")>=0||e.startsWith("#")||e.startsWith("/")?e:encodeURIComponent(e)),e)))}function qr(e,t){return function(e,t){let n,r;const o=rr();let i=o,s=t;for(;!ir(s);){let t=e(sr(s));for(;!ir(t);)n=i,r=new tr(sr(t),void 0),n.tail=r,i=r,t=ur(t);s=ur(s)}const u=i,c=rr();return u.tail=c,ur(o)}((e=>{if("string"!=typeof(t=e)||/^\s*$/.test(t))return cr();{const t=$n(e,"#");if("?"===t)return cr();if(null!=Lr("?",t))return ar(t);{const e=t.split("?");if(Xn(((e,t)=>e===t),e,null)||1!==e.length){if(Xn(((e,t)=>e===t),e,null)||2!==e.length)return cr();if(""===Kn(1,e)){const t=Kn(0,e);return ar(decodeURIComponent(t))}{const t=Kn(0,e),n=Kn(1,e);return yr([decodeURIComponent(t),"?"+n])}}{const t=Kn(0,e);return ar(decodeURIComponent(t))}}}var t}),yr(Fn(null!=Lr("#",e)?jn(e,1,e.length-1):1!==t||null==Wr("#",e)&&null==Wr("#/",e)?e:"",["/"],void 0,0)))}const zr=function(e){const t=jr.memo(e,Dt(zt(Jt(Pt,void 0),null)));return Gr((t=>{e.displayName=t}),qt(void 0)),e=>{const n=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(undefined,e);return jr.createElement(t,n)}}((e=>{const t=function(e){const t=jr.useRef(e),n=jr.useCallback((e=>t.current(e)),[]);var r;return r=n=>(t.current=e,Br((()=>{}))),se((()=>{const e=r();return()=>{e.Dispose()}})),n}((t=>{const n=zt(e.onUrlChanged,(e=>{}));!function(e,t){t(qr(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(zt(e.hashMode,1),n)}));(function(e){const t=jr.useRef(void 0),n=jr.useRef(!1),r=jr.useRef(!1);var o;n.current&&(r.current=!0),o=()=>{return o=n.current?void 0:(n.current=!0,t.current=Vt(e()),r.current?t.current:void 0),{Dispose(){Gr((e=>{ft(e)}),qt(o))}};var o},ie((()=>{const e=o();return()=>{e.Dispose()}}),[])})((()=>(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),Br((()=>{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(){const e=jr.useRef(!1);jr.useEffect((()=>{e.current||(e.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 Jr extends Rt{constructor(e){super(),this.tag=0,this.fields=[e]}cases(){return["AuthCode"]}}class Zr extends Rt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Home","AuthCodeExchange","NotFound"]}}function Yr(e){if(fr(e)){const e=window.location.search,t=new URLSearchParams(e),n=t.get("code");if(null==n)return new Zr(0,[]);{const e=n;return Gr((e=>{!function(e,t){sessionStorage.setItem("success-redirection-url",t)}(0,e)}),qt(t.get("success-redirection-url"))),new Zr(1,[new Jr(e)])}}return new Zr(2,[])}class Xr extends Rt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class Kr extends Rt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Started","Finished"]}}class Qr{constructor(e,t,n,r,o,i,s){this.fullname=e,this.generics=t,this.construct=n,this.parent=r,this.fields=o,this.cases=i,this.enumCases=s}toString(){return uo(this)}GetHashCode(){return to(this)}Equals(e){return no(this,e)}}function eo(e){return null!=e.generics?e.generics:[]}function to(e){return St([bt(e.fullname),...eo(e).map(to)])}function no(e,t){return""===e.fullname?""===t.fullname&&xt(ho(e),ho(t),(([e,t],[n,r])=>e===n&&no(t,r))):e.fullname===t.fullname&&xt(eo(e),eo(t),no)}const ro=new Qr("System.Object"),oo=(new Qr("Microsoft.FSharp.Core.Unit"),new Qr("System.Char"),new Qr("System.String")),io=(new Qr("System.Boolean"),new Qr("System.SByte"),new Qr("System.Byte"),new Qr("System.Int16"),new Qr("System.UInt16"),new Qr("System.Int32"),new Qr("System.UInt32"),new Qr("System.Int64"),new Qr("System.UInt64"),new Qr("System.Int128"),new Qr("System.UInt128"),new Qr("System.IntPtr"),new Qr("System.UIntPtr"),new Qr("System.Half"),new Qr("System.Single"),new Qr("System.Double"));function so(e){if(Array.isArray(e))return e[0];if(e instanceof Qr){const t=co(e);if(null!=t)return so(t)+"[]";{const t=e.fullname.lastIndexOf(".");return-1===t?e.fullname:e.fullname.substr(t+1)}}return e.name}function uo(e){const t=co(e);return null!=t?uo(t)+"[]":null==e.generics||0===e.generics.length?e.fullname:e.fullname+"["+e.generics.map((e=>uo(e))).join(",")+"]"}function co(e){return"[]"===e.fullname&&1===e.generics?.length?e.generics[0]:void 0}function lo(e){return null!=e.enumCases&&e.enumCases.length>0}function ao(e){if(lo(e)&&null!=e.enumCases)return e.enumCases.map((e=>e[1]));throw new Error(`${e.fullname} is not an enum type`)}function fo(e,t){const n=parseInt(t,10);return function(e,t){if(null!=e.enumCases){if("string"==typeof t){for(const n of e.enumCases)if(n[0]===t)return n;throw new Error(`'${t}' was not found in ${e.fullname}`)}for(const n of e.enumCases)if(n[1]===t)return n;return["",t]}throw new Error(`${e.fullname} is not an enum type`)}(e,isNaN(n)?t:n)[1]}function ho(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function _o(e){return e.fullname.startsWith("System.Tuple")}new Qr("System.Decimal"),new Qr("System.Numerics.BigInteger");class po extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,po.prototype)}}class mo{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>mo.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function wo(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new po);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack((()=>{try{e(t)}catch(e){t.onError($t(e))}}));else try{e(t)}catch(e){t.onError($t(e))}}}const go=new class{Bind(e,t){return function(e,t){return wo((n=>{e({onSuccess:e=>{try{t(e)(n)}catch(e){n.onError($t(e))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})}))}(e,t)}Combine(e,t){return this.Bind(e,(()=>t))}Delay(e){return wo((t=>e()(t)))}For(e,t){const n=e[Symbol.iterator]();let r=n.next();return this.While((()=>!r.done),this.Delay((()=>{const e=t(r.value);return r=n.next(),e})))}Return(e){return function(e){return wo((t=>t.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,t){return wo((n=>{e({onSuccess:e=>{t(),n.onSuccess(e)},onError:e=>{t(),n.onError(e)},onCancel:e=>{t(),n.onCancel(e)},cancelToken:n.cancelToken,trampoline:n.trampoline})}))}TryWith(e,t){return wo((n=>{e({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:e=>{try{t(e)(n)}catch(e){n.onError($t(e))}}})}))}Using(e,t){return this.TryFinally(t(e),(()=>e.Dispose()))}While(e,t){return e()?this.Bind(t,(()=>this.While(e,t))):this.Return(void 0)}Zero(){return wo((e=>e.onSuccess(void 0)))}};class yo extends Rt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Choice1Of2","Choice2Of2"]}}function vo(e){}const bo=new class{constructor(e=!1){this._id=0,this._cancelled=e,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,e]of this._listeners)e()}}addListener(e){const t=this._id;return this._listeners.set(this._id++,e),t}removeListener(e){return this._listeners.delete(e)}register(e,t){const n=this,r=this.addListener(null==t?e:()=>e(t));return{Dispose(){n.removeListener(r)}}}Dispose(){}};function Co(e,t){return function(e,t){return function(e,t,n,r,o){"function"!=typeof t&&(o=t,t=void 0);const i=new mo;e({onSuccess:t||vo,onError:n||vo,onCancel:r||vo,cancelToken:o||bo,trampoline:i})}(e,t)}(e,t)}class So extends Rt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class Eo extends Rt{constructor(e,t){super(),this.tag=0,this.fields=[e,t]}cases(){return["Header"]}}class xo extends Rt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Empty","Text","Binary","Form"]}}class ko extends Gt{constructor(e,t,n,r,o,i,s,u){super(),this.url=e,this.method=t,this.headers=n,this.withCredentials=r,this.overridenMimeType=o,this.overridenResponseType=i,this.timeout=s,this.content=u}}class Io extends Rt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class To extends Gt{constructor(e,t,n,r,o,i){super(),this.statusCode=0|e,this.responseText=t,this.responseType=n,this.responseUrl=r,this.responseHeaders=o,this.content=i}}class Oo{constructor(e,t){this.k=e,this.v=t}}function Mo(e,t){return new Oo(e,t)}function No(e){return e.k}function Ao(e){return e.v}class Do extends Oo{constructor(e,t,n,r,o){super(e,t),this.left=n,this.right=r,this.h=0|o}}function Po(e,t,n,r,o){return new Do(e,t,n,r,o)}function Uo(e){return e.left}function Ro(e){return e.right}function Go(e){return e.h}function Ho(e,t){e:for(;;){const n=e;if(null!=t){const r=Wt(t);if(r instanceof Do){const o=r;e=Ho(n+1,Uo(o)),t=Ro(o);continue e}return n+1|0}return 0|n}}function Fo(e){return Ho(0,e)}function $o(e,t,n,r){let o,i,s,u;if(null!=e){const t=Wt(e);s=t instanceof Do?(o=t,Go(o)):1}else s=0;if(null!=r){const e=Wt(r);u=e instanceof Do?(i=e,Go(i)):1}else u=0;const c=0|(s<u?u:s);return 0===c?Mo(t,n):Po(t,n,e,r,c+1)}function jo(e,t,n,r){let o,i,s,u,c,l,a,f,h,d;if(null!=e){const t=Wt(e);h=t instanceof Do?(o=t,Go(o)):1}else h=0;if(null!=r){const e=Wt(r);d=e instanceof Do?(i=e,Go(i)):1}else d=0;if(d>h+2){const o=Wt(r);if(o instanceof Do){const r=o;if(s=Uo(r),(null!=s?(u=Wt(s),u instanceof Do?(c=u,Go(c)):1):0)>h+1){const o=Wt(Uo(r));if(o instanceof Do){const i=o;return $o($o(e,t,n,Uo(i)),No(i),Ao(i),$o(Ro(i),No(r),Ao(r),Ro(r)))}throw new Error("internal error: Map.rebalance")}return $o($o(e,t,n,Uo(r)),No(r),Ao(r),Ro(r))}throw new Error("internal error: Map.rebalance")}if(h>d+2){const o=Wt(e);if(o instanceof Do){const e=o;if(l=Ro(e),(null!=l?(a=Wt(l),a instanceof Do?(f=a,Go(f)):1):0)>d+1){const o=Wt(Ro(e));if(o instanceof Do){const i=o;return $o($o(Uo(e),No(e),Ao(e),Uo(i)),No(i),Ao(i),$o(Ro(i),t,n,r))}throw new Error("internal error: Map.rebalance")}return $o(Uo(e),No(e),Ao(e),$o(Ro(e),t,n,r))}throw new Error("internal error: Map.rebalance")}return $o(e,t,n,r)}function Bo(e,t,n,r){if(null!=r){const o=Wt(r),i=0|e.Compare(t,No(o));if(o instanceof Do){const r=o;return i<0?jo(Bo(e,t,n,Uo(r)),No(r),Ao(r),Ro(r)):0===i?Po(t,n,Uo(r),Ro(r),Go(r)):jo(Uo(r),No(r),Ao(r),Bo(e,t,n,Ro(r)))}return i<0?Po(t,n,void 0,r,2):0===i?Mo(t,n):Po(t,n,r,void 0,2)}return Mo(t,n)}function Lo(e,t,n){e:for(;;){const r=e,o=t;if(null!=n){const i=Wt(n),s=0|r.Compare(o,No(i));if(0===s)return Vt(Ao(i));if(i instanceof Do){const u=i;e=r,t=o,n=s<0?Uo(u):Ro(u);continue e}return}return}}function Wo(e,t){e:for(;;){const n=e;if(null!=t){const r=Wt(t);if(r instanceof Do){const o=r;Wo(n,Uo(o)),n(No(o),Ao(o)),e=n,t=Ro(o);continue e}n(No(r),Ao(r))}break}}function Vo(e,t){Wo(e,t)}function qo(e,t){if(null!=t){const n=Wt(t);if(n instanceof Do){const t=n,r=qo(e,Uo(t)),o=e(No(t),Ao(t)),i=qo(e,Ro(t));return Po(No(t),o,r,i,Go(t))}return Mo(No(n),e(No(n),Ao(n)))}}function zo(e,t){return qo(e,t)}function Jo(e,t){if(at(t))return function(e,t){let n;for(let r=0;r<=t.length-1;r++){const o=Kn(r,t);n=Bo(e,o[0],o[1],n)}return n}(e,t);if(t instanceof tr)return function(e,t){return pr(((t,n)=>Bo(e,n[0],n[1],t)),void 0,t)}(e,t);{const n=_t(t);try{return function(e,t,n){for(;;){const r=e,o=t,i=n;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;{const s=i["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=Bo(r,s[0],s[1],o),n=i}}}(e,void 0,n)}finally{ft(n)}}}class Zo extends Gt{constructor(e,t){super(),this.stack=e,this.started=t}}function Yo(e){e:for(;;){const t=e;if(fr(t))return cr();{const n=dr(t),r=hr(t);if(null!=r){const o=Wt(r);if(o instanceof Do){const t=o;e=gr([Uo(t),Mo(No(t),Ao(t)),Ro(t)],n);continue e}return t}e=n;continue e}}}function Xo(e){return new Zo(Yo(ar(e)),!1)}function Ko(e){if(e.started){const t=e.stack;if(fr(t))return function(){throw new Error("enumeration already finished")}();if(null!=hr(t)){const e=Wt(hr(t));if(e instanceof Do)throw new Error("Please report error: Map iterator, unexpected stack for current");return[No(e),Ao(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function Qo(e){let t=Xo(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Ko(t),"System.Collections.IEnumerator.get_Current":()=>Ko(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(fr(t))return!1;if(null!=hr(t)){if(Wt(hr(t))instanceof Do)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=Yo(dr(t)),!fr(e.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!fr(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=Xo(e)},Dispose(){}}}class ei{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){const t=(e,t)=>(e<<1)+t+631;let n=0;const r=_t(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=0|t(n,Et(e[0])),n=0|t(n,Et(e[1]))}}finally{ft(r)}return 0|n}(this)}Equals(e){if(!(e instanceof ei))return!1;{const t=e,n=_t(this);try{const e=_t(t);try{const t=()=>{const r=n["System.Collections.IEnumerator.MoveNext"]();if(r===e["System.Collections.IEnumerator.MoveNext"]()){if(r){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"](),o=e["System.Collections.Generic.IEnumerator`1.get_Current"]();return!(!It(r[0],o[0])||!It(r[1],o[1]))&&t()}return!0}return!1};return t()}finally{ft(e)}}finally{ft(n)}}}toString(){return"map ["+Rn("; ",Hr((e=>function(e,...t){let n;return"object"==typeof e?(n=String(t[0]),t.shift()):n=e,n.replace(On,((e,n,r,o,i,s)=>{if(n<0||n>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let u=t[n];if(vn(u))switch(i=null==i?null:parseInt(i,10),o){case"f":case"F":u=Cn(u,i=null!=i?i:2);break;case"g":case"G":u=null!=i?Sn(u,i):Sn(u);break;case"e":case"E":u=null!=i?En(u,i):En(u);break;case"p":case"P":i=null!=i?i:2,u=Cn(bn(u,100),i)+" %";break;case"d":case"D":u=null!=i?Hn(String(u),i,"0"):String(u);break;case"x":case"X":u=null!=i?Hn(xn(u),i,"0"):xn(u),"X"===o&&(u=u.toUpperCase());break;default:if(s){let e="";u=s.replace(/([0#,]+)(\.[0#]+)?/,((t,n,r)=>{Mn(u,0)&&(u=bn(u,-1),e="-"),r=null==r?"":r.substring(1),u=Cn(u,Math.max(r.length,0));let[o,i]=u.split(".");i||(i=""),o=Hn(o,n.replace(/,/g,"").replace(/^#+/,"").length,"0");const s=r.replace(/#+$/,"").length;if(s>i.length?i=function(e,t){return Gn(e,t,"0",!0)}(i,s):s<i.length&&(i=i.substring(0,s)+i.substring(s).replace(/0+$/,"")),n.indexOf(",")>0){const e=o.length%3,t=Math.floor(o.length/3);let n=e>0?o.substr(0,e)+(t>0?",":""):"";for(let r=0;r<t;r++)n+=o.substr(e+3*r,3)+(r<t-1?",":"");o=n}return i.length>0?o+"."+i:o})),u=e+u}}else u=u instanceof Date?un(u,s||o):Ut(u);return r=parseInt((r||" ").substring(1),10),isNaN(r)||(u=Gn(String(u),Math.abs(r)," ",r<0)),u}))}("({0}, {1})",e[0],e[1])),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){return Array.from(this)}GetEnumerator(){return Qo(this.tree)}[Symbol.iterator](){return pt(_t(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Qo(this.tree)}CompareTo(e){const t=this;if(e instanceof ei)return 0|function(e,t,n){const r=Nr(t);try{const t=Nr(n);try{let n=0,o=r["System.Collections.IEnumerator.MoveNext"](),i=t["System.Collections.IEnumerator.MoveNext"]();for(;0===n&&o&&i;)n=0|e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),t["System.Collections.Generic.IEnumerator`1.get_Current"]()),0===n&&(o=r["System.Collections.IEnumerator.MoveNext"](),i=t["System.Collections.IEnumerator.MoveNext"]());return 0|(0!==n?n:o?1:i?-1:0)}finally{ft(t)}}finally{ft(r)}}(((e,n)=>{const r=0|t.comparer.Compare(e[0],n[0]);return 0|(0!==r?r:Nt(e[1],n[1]))}),t,e);throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return oi(this,e[0])&&It(ni(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(e,t){!function(e,t,n){let r=n;Vo(((e,n)=>{Qn(t,r,[e,n]),r=r+1|0}),e)}(this.tree,e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|ri(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|ri(this)}get size(){return 0|ri(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return Hr((e=>[e[0],e[1]]),this)}get(e){return ni(this,e)}has(e){return oi(this,e)}keys(){return Hr((e=>e[0]),this)}set(e,t){throw new Error("Map cannot be mutated")}values(){return Hr((e=>e[1]),this)}forEach(e,t){const n=this;Gr((t=>{e(t[1],t[0],n)}),n)}}function ti(e,t){return new ei(e,t)}function ni(e,t){return function(e,t,n){const r=Lo(e,t,n);if(null==r)throw new Error;return Wt(r)}(e.comparer,t,e.tree)}function ri(e){return Fo(e.tree)}function oi(e,t){return function(e,t,n){e:for(;;){const r=e,o=t;if(null!=n){const i=Wt(n),s=0|r.Compare(o,No(i));if(i instanceof Do){const u=i;if(s<0){e=r,t=o,n=Uo(u);continue e}if(0===s)return!0;e=r,t=o,n=Ro(u);continue e}return 0===s}return!1}}(e.comparer,t,e.tree)}function ii(e){return function(e){return ti(e,void 0)}(e)}const si=new ko("",new So(0,[]),cr(),!1,void 0,void 0,void 0,new xo(0,[]));function ui(e,t){return"string"!=typeof(n=t)||0===n.length?new Array(0):Fn(t,[e],void 0,0);var n}function ci(e){return function(e){return wo((t=>e([t.onSuccess,t.onError,t.onCancel])))}((t=>{const n=new XMLHttpRequest;n.open(function(e){switch(e.tag){case 1:return"POST";case 3:return"PATCH";case 2:return"PUT";case 4:return"DELETE";case 6:return"OPTIONS";case 5:return"HEAD";default:return"GET"}}(e.method),e.url),n.onreadystatechange=()=>{let e,r,o,i,s,u,c;var l,a;4===n.readyState&&t[0]((r=n.responseType,e=""===r||"text"===r?n.responseText:"",o=0|n.status,i=n.responseType,u=n.responseType,s=""===u||"text"===u?new Io(0,[n.responseText]):new Io("arraybuffer"===u?2:"blob"===u?1:3,[n.response]),l=function(e,t,n){const r=[];for(let n=0;n<=t.length-1;n++){const o=e(Kn(n,t));if(null!=o){const e=Wt(o);r.push(e)}}return It(n,null)?r:Zn((e=>e),r,n)}((e=>{const t=yr(ui(":",e));return fr(t)?void 0:[hr(t).toLocaleLowerCase(),Rn(":",dr(t)).trim()]}),ui("\r\n",n.getAllResponseHeaders())),c=ti(a={Compare:Ot},Jo(a,l)),new To(o,e,i,n.responseURL,c,s)))};const r=_t(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n.setRequestHeader(e.fields[0],e.fields[1])}}finally{ft(r)}n.withCredentials=e.withCredentials;const o=e.overridenMimeType;if(null==o);else{const e=o;n.overrideMimeType(e)}const i=e.overridenResponseType;if(null==i);else switch(i.tag){case 1:n.responseType="blob";break;case 2:n.responseType="arraybuffer";break;default:n.responseType="text"}const s=e.timeout;if(null==s);else{const e=0|s;n.timeout=0|e}const u=e.content;switch(u.tag){case 1:case 3:case 2:n.send(Vt(u.fields[0]));break;default:n.send()}}))}function li(e){return new ai(1,[e])}new To(0,"","","",ii({Compare:Ot}),new Io(0,[""]));class ai extends Rt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Ok","Error"]}}function fi(e,t){return 0===t.tag?(n=e(t.fields[0]),new ai(0,[n])):li(t.fields[0]);var n}class hi extends Rt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class di extends Rt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class _i{constructor(){this.cache=new Map([])}}function pi(){return new _i}function mi(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function wi(e,t){switch(e.tag){case 2:return function(e,t,n,r,o=0){if("string"==typeof e){const n=e;e=function(e,t=0){if(-284&t)throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let n="gu";return n+=1&t?"i":"",n+=2&t?"m":"",n+=16&t?"s":"",new RegExp(e,n)}(t,r??0),t=n,r=void 0}if("function"==typeof n)return r=null==r?-1:r,t.substring(0,o)+t.substring(o).replace(e,(function(){let e=arguments[0];if(r){r--;const t=[],o=arguments.length,i="string"!=typeof arguments[o-1];let s=i?o-3:o-2;for(let e=0;e<s;e++)t.push(arguments[e]);t.index=arguments[s++],t.input=arguments[s++],i&&(t.groups=arguments[s]),e=n(t)}return e}));if(n=n.replace(/\$0/g,(e=>"$&")).replace(/\${([^}]+)}/g,"$<$1>"),null!=r){let i;const s=t.substring(o),u=In(e,s),c=In.length>r?(i=u[r-1],s.substring(0,i.index+i[0].length)):s;return t.substring(0,o)+c.replace(e,n)+t.substring(o+c.length)}return t.replace(e,n)}(mi(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return mi(t)}}pi(),pi();const gi=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,yi=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,vi=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function bi(e,t){try{return t.contents=function(e){function t(e){return e.replace(yi,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(gi.test(n))return function(e,...t){if(0===t.length)return e.trim();const n="["+kn(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}(n,"{","}","(",")");if(yi.test(n))return t(n);if(vi.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}(e),!0}catch{return!1}}var Ci;function Si(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 Ei(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&Ci.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]=Si(!0,r);!n&&10!==i.radix&&e>=t&&e<=o&&(e=e<<32-r>>32-r);const[s,u]=Si(n,r);if(e>=s&&e<=u)return e}}throw new Error(`The input string ${e} was not in a correct format.`)}function xi(e,t,n,r,o){try{return o.contents=Ei(e,t,n,r),!0}catch{return!1}}function ki(e,t){!function(e){if(null!=e&&0!==e){if(e%6e4!=0)throw new Error("Offset must be specified in whole minutes.");if(Math.abs(e/36e5)>14)throw new Error("Offset must be within plus or minus 14 hours.")}}(t);const n=new Date(e);return n.offset=null!=t?t:-6e4*(new Date).getTimezoneOffset(),n}function Ii(e,t){try{return t.contents=function(e){const[t,n]=ln(e),r=null==n?-6e4*t.getTimezoneOffset():"Z"===n?0:6e4*n;return ki(t.getTime(),r)}(e),!0}catch(e){return!1}}function Ti(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return Number(BigInt(arguments[0])/10000n);case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],o=0}return 864e5*e+36e5*t+6e4*n+1e3*r+o}function Oi(e,t){try{return t.contents=function(e){const t=e.search("\\."),n=e.search("\\:");if(-1===t&&-1===n){const t=parseInt(e,0);if(isNaN(t))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return Ti(t,0,0,0,0)}if(n>0){const t=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(null!=t&&null!=t[4]&&null!=t[5]){let n=0,r=0,o=0;const i=null!=t[1]&&"-"===t[1]?-1:1,s=+t[4],u=+t[5];if(null!=t[3]&&(n=+t[3]),null!=t[7]&&(o=+t[7]),null!=t[8])switch(t[8].length){case 1:r=100*+t[8];break;case 2:r=10*+t[8];break;case 3:r=+t[8];break;case 4:r=+t[8]/10;break;case 5:r=+t[8]/100;break;case 6:r=+t[8]/1e3;break;case 7:r=+t[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return i*Ti(n,s,u,o,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch{return!1}}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(Ci||(Ci={}));class Mi{constructor(e){this.k=e}}function Ni(e){return new Mi(e)}function Ai(e){return e.k}class Di extends Mi{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=0|r}}function Pi(e,t,n,r){return new Di(e,t,n,r)}function Ui(e){return e.left}function Ri(e){return e.right}function Gi(e){return e.h}function Hi(e,t){e:for(;;){const n=t;if(null!=e){const r=Wt(e);if(r instanceof Di){const o=r;e=Ui(o),t=Hi(Ri(o),n+1);continue e}return n+1|0}return 0|n}}function Fi(e){return Hi(e,0)}function $i(e,t,n){let r,o,i,s;if(null!=e){const t=Wt(e);i=t instanceof Di?(r=t,Gi(r)):1}else i=0;if(null!=n){const e=Wt(n);s=e instanceof Di?(o=e,Gi(o)):1}else s=0;const u=0|(i<s?s:i);return 0===u?Ni(t):Pi(t,e,n,u+1)}function ji(e,t,n){let r,o,i,s,u,c,l,a,f,h;if(null!=e){const t=Wt(e);f=t instanceof Di?(r=t,Gi(r)):1}else f=0;if(null!=n){const e=Wt(n);h=e instanceof Di?(o=e,Gi(o)):1}else h=0;if(h>f+2){const r=Wt(n);if(r instanceof Di){const n=r;if(i=Ui(n),(null!=i?(s=Wt(i),s instanceof Di?(u=s,Gi(u)):1):0)>f+1){const r=Wt(Ui(n));if(r instanceof Di){const o=r;return $i($i(e,t,Ui(o)),Ai(o),$i(Ri(o),Ai(n),Ri(n)))}throw new Error("internal error: Set.rebalance")}return $i($i(e,t,Ui(n)),Ai(n),Ri(n))}throw new Error("internal error: Set.rebalance")}if(f>h+2){const r=Wt(e);if(r instanceof Di){const e=r;if(c=Ri(e),(null!=c?(l=Wt(c),l instanceof Di?(a=l,Gi(a)):1):0)>h+1){const r=Wt(Ri(e));if(r instanceof Di){const o=r;return $i($i(Ui(e),Ai(e),Ui(o)),Ai(o),$i(Ri(o),t,n))}throw new Error("internal error: Set.rebalance")}return $i(Ui(e),Ai(e),$i(Ri(e),t,n))}throw new Error("internal error: Set.rebalance")}return $i(e,t,n)}function Bi(e,t,n){if(null!=n){const r=Wt(n),o=0|e.Compare(t,Ai(r));if(r instanceof Di){const i=r;return o<0?ji(Bi(e,t,Ui(i)),Ai(i),Ri(i)):0===o?n:ji(Ui(i),Ai(i),Bi(e,t,Ri(i)))}{const o=0|e.Compare(t,Ai(r));return o<0?Pi(t,void 0,n,2):0===o?n:Pi(t,n,void 0,2)}}return Ni(t)}function Li(e,t,n){e:for(;;){const r=e,o=t;if(null!=n){const i=Wt(n),s=0|r.Compare(o,Ai(i));if(i instanceof Di){const u=i;if(s<0){e=r,t=o,n=Ui(u);continue e}if(0===s)return!0;e=r,t=o,n=Ri(u);continue e}return 0===s}return!1}}function Wi(e,t){e:for(;;){const n=e;if(null!=t){const r=Wt(t);if(r instanceof Di){const o=r;Wi(n,Ui(o)),n(Ai(o)),e=n,t=Ri(o);continue e}n(Ai(r))}break}}class Vi extends Gt{constructor(e,t){super(),this.stack=e,this.started=t}}function qi(e){e:for(;;){const t=e;if(fr(t))return cr();{const n=hr(t),r=dr(t);if(null!=n){const o=Wt(n);if(o instanceof Di){const t=o;e=gr([Ui(t),Ni(Ai(t)),Ri(t)],r);continue e}return t}e=r;continue e}}}function zi(e){return new Vi(qi(ar(e)),!1)}function Ji(e){if(e.started){const t=e.stack;if(fr(t))return function(){throw new Error("Enumeration already started")}();if(null!=hr(t))return Ai(Wt(hr(t)));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function Zi(e){let t=zi(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Ji(t),"System.Collections.IEnumerator.get_Current":()=>Ji(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(fr(t))return!1;if(null!=hr(t)){if(Wt(hr(t))instanceof Di)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=qi(dr(t)),!fr(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!fr(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=zi(e)},Dispose(){}}}function Yi(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(fr(o))return fr(i)?0:-1;if(fr(i))return 1;if(null!=hr(i))if(null!=hr(o)){const s=Wt(hr(o)),u=Wt(hr(i));if(s instanceof Di){const c=s;if(null==Ui(c)){if(!(u instanceof Di)){const s=0|r.Compare(Ai(c),Ai(u));if(0!==s)return 0|s;e=r,t=lr(Ri(c),dr(o)),n=lr(void 0,dr(i));continue e}{const s=u;if(null==Ui(s)){const u=0|r.Compare(Ai(c),Ai(s));if(0!==u)return 0|u;e=r,t=lr(Ri(c),dr(o)),n=lr(Ri(s),dr(i));continue e}{let s,u,c,l,a;switch(fr(o)?fr(i)?s=2:null!=hr(i)?(s=1,l=dr(i),a=Wt(hr(i))):s=2:null!=hr(o)?(s=0,u=dr(o),c=Wt(hr(o))):fr(i)?s=2:null!=hr(i)?(s=1,l=dr(i),a=Wt(hr(i))):s=2,s){case 0:if(c instanceof Di){const o=c;e=r,t=gr([Ui(o),Pi(Ai(o),void 0,Ri(o),0)],u),n=i;continue e}e=r,t=gr([void 0,Ni(Ai(c))],u),n=i;continue e;case 1:if(a instanceof Di){const i=a;e=r,t=o,n=gr([Ui(i),Pi(Ai(i),void 0,Ri(i),0)],l);continue e}e=r,t=o,n=gr([void 0,Ni(Ai(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{let s,u,c,l,a;switch(fr(o)?fr(i)?s=2:null!=hr(i)?(s=1,l=dr(i),a=Wt(hr(i))):s=2:null!=hr(o)?(s=0,u=dr(o),c=Wt(hr(o))):fr(i)?s=2:null!=hr(i)?(s=1,l=dr(i),a=Wt(hr(i))):s=2,s){case 0:if(c instanceof Di){const o=c;e=r,t=gr([Ui(o),Pi(Ai(o),void 0,Ri(o),0)],u),n=i;continue e}e=r,t=gr([void 0,Ni(Ai(c))],u),n=i;continue e;case 1:if(a instanceof Di){const i=a;e=r,t=o,n=gr([Ui(i),Pi(Ai(i),void 0,Ri(i),0)],l);continue e}e=r,t=o,n=gr([void 0,Ni(Ai(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{if(!(u instanceof Di)){const c=0|r.Compare(Ai(s),Ai(u));if(0!==c)return 0|c;e=r,t=dr(o),n=dr(i);continue e}{const c=u;if(null==Ui(c)){const u=0|r.Compare(Ai(s),Ai(c));if(0!==u)return 0|u;e=r,t=lr(void 0,dr(o)),n=lr(Ri(c),dr(i));continue e}{let s,u,c,l,a;switch(fr(o)?fr(i)?s=2:null!=hr(i)?(s=1,l=dr(i),a=Wt(hr(i))):s=2:null!=hr(o)?(s=0,u=dr(o),c=Wt(hr(o))):fr(i)?s=2:null!=hr(i)?(s=1,l=dr(i),a=Wt(hr(i))):s=2,s){case 0:if(c instanceof Di){const o=c;e=r,t=gr([Ui(o),Pi(Ai(o),void 0,Ri(o),0)],u),n=i;continue e}e=r,t=gr([void 0,Ni(Ai(c))],u),n=i;continue e;case 1:if(a instanceof Di){const i=a;e=r,t=o,n=gr([Ui(i),Pi(Ai(i),void 0,Ri(i),0)],l);continue e}e=r,t=o,n=gr([void 0,Ni(Ai(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}}}}else{let s,u,c,l,a;switch(Wt(hr(i)),fr(o)?fr(i)?s=2:null!=hr(i)?(s=1,l=dr(i),a=Wt(hr(i))):s=2:null!=hr(o)?(s=0,u=dr(o),c=Wt(hr(o))):fr(i)?s=2:null!=hr(i)?(s=1,l=dr(i),a=Wt(hr(i))):s=2,s){case 0:if(c instanceof Di){const o=c;e=r,t=gr([Ui(o),Pi(Ai(o),void 0,Ri(o),0)],u),n=i;continue e}e=r,t=gr([void 0,Ni(Ai(c))],u),n=i;continue e;case 1:if(a instanceof Di){const i=a;e=r,t=o,n=gr([Ui(i),Pi(Ai(i),void 0,Ri(i),0)],l);continue e}e=r,t=o,n=gr([void 0,Ni(Ai(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==hr(o)){e=r,t=dr(o),n=dr(i);continue e}{let s,u,c,l,a;switch(Wt(hr(o)),fr(o)?fr(i)?s=2:null!=hr(i)?(s=1,l=dr(i),a=Wt(hr(i))):s=2:null!=hr(o)?(s=0,u=dr(o),c=Wt(hr(o))):fr(i)?s=2:null!=hr(i)?(s=1,l=dr(i),a=Wt(hr(i))):s=2,s){case 0:if(c instanceof Di){const o=c;e=r,t=gr([Ui(o),Pi(Ai(o),void 0,Ri(o),0)],u),n=i;continue e}e=r,t=gr([void 0,Ni(Ai(c))],u),n=i;continue e;case 1:if(a instanceof Di){const i=a;e=r,t=o,n=gr([Ui(i),Pi(Ai(i),void 0,Ri(i),0)],l);continue e}e=r,t=o,n=gr([void 0,Ni(Ai(a))],l);continue e;default:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,ar(t),ar(n))}function Xi(e,t,n){let r=n;Wi((e=>{Qn(t,r,e),r=r+1|0}),e)}function Ki(e,t){if(at(t))return function(e,t){return Yn(((t,n)=>Bi(e,n,t)),void 0,t)}(e,t);if(t instanceof tr)return function(e,t){return pr(((t,n)=>Bi(e,n,t)),void 0,t)}(e,t);{const n=_t(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=Bi(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i}}(e,void 0,n)}finally{ft(n)}}}class Qi{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){let t=0;const n=_t(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();)t=(t<<1)+Et(n["System.Collections.Generic.IEnumerator`1.get_Current"]())+631|0}finally{ft(n)}return 0|Math.abs(t)}(this)}Equals(e){let t;return e instanceof Qi&&(t=e,0===Yi(ts(this),ns(this),ns(t)))}toString(){return"set ["+Rn("; ",Hr((e=>Ut(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){return Array.from(this)}CompareTo(e){return 0|Yi(ts(this),ns(this),ns(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 Li(ts(this),e,ns(this))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(e,t){Xi(ns(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|os(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|os(this)}GetEnumerator(){return Zi(ns(this))}[Symbol.iterator](){return pt(_t(this))}"System.Collections.IEnumerable.GetEnumerator"(){return Zi(ns(this))}get size(){return 0|os(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 is(this,e)}keys(){return Hr((e=>e),this)}values(){return Hr((e=>e),this)}entries(){return Hr((e=>[e,e]),this)}forEach(e,t){const n=this;Gr((t=>{e(t,t,n)}),n)}}function es(e,t){return new Qi(e,t)}function ts(e){return e.comparer}function ns(e){return e.tree}function rs(e){return es(e,void 0)}function os(e){return Fi(ns(e))}function is(e,t){return Li(ts(e),t,ns(e))}function ss(e,t){return is(t,e)}function us(e,t){return function(e,t){return es(ts(e),Bi(ts(e),t,ns(e)))}(t,e)}function cs(e,t,n){try{return"Expecting "+e+" but instead got:"+(n?"\n":" ")+JSON.stringify(t,null,4)}catch(t){return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(n?"\n":" ")}}function ls(e,t){const n=2===t.tag?cs(t.fields[0],t.fields[1],!0):1===t.tag?cs(t.fields[0],t.fields[1],!1)+"\nReason: "+t.fields[2]:3===t.tag?cs(t.fields[0],t.fields[1],!0):4===t.tag?cs(t.fields[0],t.fields[1],!0)+"\nNode `"+t.fields[2]+"` is unkown.":5===t.tag?"Expecting "+t.fields[0]+".\n"+JSON.stringify(t.fields[1],null,4):7===t.tag?"The following errors were found:\n\n"+Rn("\n\n",t.fields[0]):6===t.tag?"The following `failure` occurred with the decoder: "+t.fields[0]:cs(t.fields[0],t.fields[1],!1);return 7===t.tag?n:"Error at: `"+e+"`\n"+n}function as(e,t,n){const r=t(e,n);if(1===r.tag){const e=r.fields[0];return new ai(1,[ls(e[0],e[1])])}return new ai(0,[r.fields[0]])}function fs(e,t){return"string"==typeof t?new ai(0,[t]):new ai(1,[[e,new hi(0,["a string",t])]])}const hs=e=>t=>{const n=e,r=t;if("number"==typeof r){const e=r;return isFinite(e)&&Math.floor(e)===e?-128<=e&&e<=127?new ai(0,[(e+128&255)-128]):new ai(1,[[n,new hi(1,["a sbyte",e,"Value was either too large or too small for a sbyte"])]]):new ai(1,[[n,new hi(1,["a sbyte",e,"Value is not an integral value"])]])}if("string"==typeof r){let e,t=0;return e=[xi(r,511,!1,8,new Ht((()=>t),(e=>{t=0|e}))),t],e[0]?new ai(0,[e[1]]):new ai(1,[[n,new hi(0,["a sbyte",r])]])}return new ai(1,[[n,new hi(0,["a sbyte",r])]])},ds=e=>t=>{const n=e,r=t;if("number"==typeof r){const e=r;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=255?new ai(0,[255&e]):new ai(1,[[n,new hi(1,["a byte",e,"Value was either too large or too small for a byte"])]]):new ai(1,[[n,new hi(1,["a byte",e,"Value is not an integral value"])]])}if("string"==typeof r){let e,t=0;return e=[xi(r,511,!0,8,new Ht((()=>t),(e=>{t=e}))),t],e[0]?new ai(0,[e[1]]):new ai(1,[[n,new hi(0,["a byte",r])]])}return new ai(1,[[n,new hi(0,["a byte",r])]])},_s=e=>t=>{const n=e,r=t;if("number"==typeof r){const e=r;return isFinite(e)&&Math.floor(e)===e?-32768<=e&&e<=32767?new ai(0,[(e+32768&65535)-32768]):new ai(1,[[n,new hi(1,["an int16",e,"Value was either too large or too small for an int16"])]]):new ai(1,[[n,new hi(1,["an int16",e,"Value is not an integral value"])]])}if("string"==typeof r){let e,t=0;return e=[xi(r,511,!1,16,new Ht((()=>t),(e=>{t=0|e}))),t],e[0]?new ai(0,[e[1]]):new ai(1,[[n,new hi(0,["an int16",r])]])}return new ai(1,[[n,new hi(0,["an int16",r])]])},ps=e=>t=>{const n=e,r=t;if("number"==typeof r){const e=r;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=65535?new ai(0,[65535&e]):new ai(1,[[n,new hi(1,["an uint16",e,"Value was either too large or too small for an uint16"])]]):new ai(1,[[n,new hi(1,["an uint16",e,"Value is not an integral value"])]])}if("string"==typeof r){let e,t=0;return e=[xi(r,511,!0,16,new Ht((()=>t),(e=>{t=e}))),t],e[0]?new ai(0,[e[1]]):new ai(1,[[n,new hi(0,["an uint16",r])]])}return new ai(1,[[n,new hi(0,["an uint16",r])]])},ms=e=>t=>{const n=e,r=t;if("number"==typeof r){const e=r;return isFinite(e)&&Math.floor(e)===e?-2147483648<=e&&e<=2147483647?new ai(0,[~~e]):new ai(1,[[n,new hi(1,["an int",e,"Value was either too large or too small for an int"])]]):new ai(1,[[n,new hi(1,["an int",e,"Value is not an integral value"])]])}if("string"==typeof r){let e,t=0;return e=[xi(r,511,!1,32,new Ht((()=>t),(e=>{t=0|e}))),t],e[0]?new ai(0,[e[1]]):new ai(1,[[n,new hi(0,["an int",r])]])}return new ai(1,[[n,new hi(0,["an int",r])]])},ws=e=>t=>{const n=e,r=t;if("number"==typeof r){const e=r;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=4294967295?new ai(0,[e>>>0]):new ai(1,[[n,new hi(1,["an uint32",e,"Value was either too large or too small for an uint32"])]]):new ai(1,[[n,new hi(1,["an uint32",e,"Value is not an integral value"])]])}if("string"==typeof r){let e,t=0;return e=[xi(r,511,!0,32,new Ht((()=>t),(e=>{t=e}))),t],e[0]?new ai(0,[e[1]]):new ai(1,[[n,new hi(0,["an uint32",r])]])}return new ai(1,[[n,new hi(0,["an uint32",r])]])};function gs(e,t,n,r){let o;const i=n+".["+yt(e)+"]";if(Array.isArray(r)){const n=r;return e<n.length?t(i,Kn(e,n)):new ai(1,[[i,new hi(5,["a longer array. Need index `"+yt(e)+"` but there are only `"+(o=n.length,yt(o)+"` entries"),r])]])}return new ai(1,[[i,new hi(0,["an array",r])]])}function ys(e,t,n){if(Array.isArray(n)){let r=-1;return fi(mr,Yn(((n,o)=>{if(r=r+1|0,0===n.tag){const i=e(t+".["+yt(r)+"]",o);return 0===i.tag?new ai(0,[lr(i.fields[0],n.fields[0])]):new ai(1,[i.fields[0]])}return n}),new ai(0,[cr()]),n))}return new ai(1,[[t,new hi(0,["a list",n])]])}function vs(e,t,n){if(Array.isArray(n)){let r=-1;const o=n;return Yn(((n,o)=>{if(r=r+1|0,0===n.tag){const i=n.fields[0],s=e(t+".["+yt(r)+"]",o);return 0===s.tag?(Qn(i,r,s.fields[0]),new ai(0,[i])):new ai(1,[s.fields[0]])}return n}),new ai(0,[Jn(new Array(o.length),0,o.length,null)]),o)}return new ai(1,[[t,new hi(0,["an array",n])]])}function bs(e,t,n,r){const o=t(n,r);return 0===o.tag?e(o.fields[0],n,r):new ai(1,[o.fields[0]])}function Cs(e,t){let n;const r=e;return n=e=>t=>gs(0,r,e,t),e=>r=>bs(function(e){if(null==e)return null;const t=(t,n,r)=>e(t)(n)(r);return At.set(t,e),t}((e=>{let n;const r=t;return n=e=>t=>gs(1,r,e,t),t=>r=>bs(((t,n,r)=>new ai(0,[[e,t]])),Dt(n),t,r)})),Dt(n),e,r)}function Ss(e){return ti(t={Compare:Nt},Jo(t,e));var t}function Es(e,t,n,r){let o;const i=t.length+e|0;if(i!==r.length)return new ai(1,[[n,new hi(6,[(o=0|r.length,Dn(Nn("Expected array of length %i but got %i"))(i)(o))])]]);{let o=new ai(0,[cr()]);for(let i=e;i<=r.length-1;i++)if(0===o.tag){const s=o.fields[0],u=Dn(Nn("%s[%i]"))(n)(i),c=Kn(i-e,t),l=Kn(i,r);o=fi((e=>lr(e,s)),c(u)(l))}return fi(mr,o)}}function xs(e,t,n,r,o,i){const s=function(e,t){return t.find((e=>so(e)===r))}(0,function(e){if(null!=e.cases)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}(n));if(null!=s){const n=s,r=Zn((n=>Is(e,t,!1,n[1])),function(e){return null==e.fields?[]:e.fields}(n));return fi((e=>function(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);const r=e.declaringType.construct;return null==r?{}:e.declaringType.cases&&1==e.declaringType.cases().length?new r(...t):new r(e.tag,t)}(n,_r(e))),0===r.length&&i.length<=1?new ai(0,[cr()]):Es(1,r,o,i))}return new ai(1,[[o,new hi(6,["Cannot find case "+r+" in "+uo(n)])]])}function ks(e,t,n,r){let o;const i=new Ht(null);let s;const u=uo(r);let c;if(s=""===u?e:function(e,t,n){return ti(e.comparer,Bo(e.comparer,t,n,e.tree))}(e,u,i),function(e){return e instanceof Qr?null!=e.fields:e instanceof Gt}(r)){const e=Zn((e=>[wi(t,so(e)),Is(s,t,!1,e[1])]),ho(r));c=t=>n=>fi((e=>function(e,t){const n=ho(e);if(n.length!==t.length)throw new Error(`Expected an array of length ${n.length} but got ${t.length}`);return null!=e.construct?new e.construct(...t):n.reduce(((e,[n,r],o)=>(e[n]=t[o],e)),{})}(r,_r(e))),function(e,t,n){return null===n||Object.getPrototypeOf(n||!1)!==Object.prototype?new ai(1,[[t,new hi(0,["an object",n])]]):er(((e,r)=>{const o=e[0];return 0===r.tag?fi((e=>lr(e,r.fields[0])),e[1](t+"."+o)(n[o])):r}),e,new ai(0,[cr()]))}(e,t,n))}else if(function(e){return e instanceof Qr?null!=e.cases:e instanceof Rt}(r))c=e=>n=>{if("string"==typeof n)return xs(s,t,r,n,e,[]);if(Array.isArray(n)){const u=n;return o=n=>xs(s,t,r,n,e,u),0===(i=fs(e+"[0]",Kn(0,u))).tag?o(i.fields[0]):li(i.fields[0])}return new ai(1,[[e,new hi(0,["a string or array",n])]]);var o,i};else{if(!n)throw new Error((o=uo(r),Dn(Nn("Cannot generate auto decoder for %s. Please pass an extra decoder.\n\nDocumentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders"))(o)));c=e=>t=>new ai(1,[[e,new hi(2,["an extra coder for "+uo(r),t])]])}return i.contents=c,c}function Is(e,t,n,r){let o,i,s,u;const c=uo(r),l=function(e,t){return Lo(e.comparer,t,e.tree)}(e,c);if(null!=l){const e=l;return t=>n=>e.contents(t)(n)}if(function(e){return null!=co(e)}(r)){const n=Is(e,t,!1,co(r));return e=>t=>vs(Dt(n),e,t)}if(lo(r)){const e=uo(function(e){return e.generics?.[0]}(r));switch(e){case"System.SByte":return e=>t=>{const n=r,o=e,i=t,s=hs(o)(i);if(1===s.tag)return new ai(1,[s.fields[0]]);{const e=0|s.fields[0];return Ur(e,ao(n),{Equals:(e,t)=>e===t,GetHashCode:Ct})?new ai(0,[fo(n,e.toString())]):new ai(1,[[o,new hi(1,[uo(n),i,"Unkown value provided for the enum"])]])}};case"System.Byte":return e=>t=>{const n=r,o=e,i=t,s=ds(o)(i);if(1===s.tag)return new ai(1,[s.fields[0]]);{const e=s.fields[0];return Ur(e,ao(n),{Equals:(e,t)=>e===t,GetHashCode:Ct})?new ai(0,[fo(n,e.toString())]):new ai(1,[[o,new hi(1,[uo(n),i,"Unkown value provided for the enum"])]])}};case"System.Int16":return e=>t=>{const n=r,o=e,i=t,s=_s(o)(i);if(1===s.tag)return new ai(1,[s.fields[0]]);{const e=0|s.fields[0];return Ur(e,ao(n),{Equals:(e,t)=>e===t,GetHashCode:Ct})?new ai(0,[fo(n,gt(e))]):new ai(1,[[o,new hi(1,[uo(n),i,"Unkown value provided for the enum"])]])}};case"System.UInt16":return e=>t=>{const n=r,o=e,i=t,s=ps(o)(i);if(1===s.tag)return new ai(1,[s.fields[0]]);{const e=s.fields[0];return Ur(e,ao(n),{Equals:(e,t)=>e===t,GetHashCode:Ct})?new ai(0,[fo(n,e.toString())]):new ai(1,[[o,new hi(1,[uo(n),i,"Unkown value provided for the enum"])]])}};case"System.Int32":return e=>t=>{const n=r,o=e,i=t,s=ms(o)(i);if(1===s.tag)return new ai(1,[s.fields[0]]);{const e=0|s.fields[0];return Ur(e,ao(n),{Equals:(e,t)=>e===t,GetHashCode:Ct})?new ai(0,[fo(n,yt(e))]):new ai(1,[[o,new hi(1,[uo(n),i,"Unkown value provided for the enum"])]])}};case"System.UInt32":return e=>t=>{const n=r,o=e,i=t,s=ws(o)(i);if(1===s.tag)return new ai(1,[s.fields[0]]);{const e=s.fields[0];return Ur(e,ao(n),{Equals:(e,t)=>e===t,GetHashCode:Ct})?new ai(0,[fo(n,e.toString())]):new ai(1,[[o,new hi(1,[uo(n),i,"Unkown value provided for the enum"])]])}};default:{const e=uo(r),t=function(e){return An((e=>{throw new Error(e)}),e)}(Nn("Cannot generate auto decoder for %s.\nThoth.Json.Net only support the following enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can't use one of these types, please pass an extra decoder.\n "))(e);return e=>t(e)}}}else if(function(e){return null!=e.generics&&e.generics.length>0}(r)){if(_o(r)){const n=Zn((n=>Is(e,t,!1,n)),function(e){if(_o(e)&&null!=e.generics)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}(r));return e=>t=>Array.isArray(t)?fi((e=>_r(e)),Es(0,n,e,t)):new ai(1,[[e,new hi(0,["an array",t])]])}{const c=uo(function(e){return null==e.generics?e:new Qr(e.fullname,e.generics.map((()=>ro)))}(r));switch(c){case"Microsoft.FSharp.Core.FSharpOption`1[System.Object]":return o=Is(e,t,!0,Kn(0,eo(r))),e=>t=>{return n=Dt(o),r=e,null==(i=t)?new ai(0,[void 0]):fi(Vt,n(r,i));var n,r,i};case"Microsoft.FSharp.Collections.FSharpList`1[System.Object]":return i=Is(e,t,!1,Kn(0,eo(r))),e=>t=>ys(Dt(i),e,t);case"System.Collections.Generic.IEnumerable`1[System.Object]":return s=Is(e,t,!1,Kn(0,eo(r))),e=>t=>function(e,t,n){if(Array.isArray(n)){let r=-1;return fi(Fr,Yn(((n,o)=>{if(r=r+1|0,0===n.tag){const i=e(t+".["+yt(r)+"]",o);return 0===i.tag?new ai(0,[Pr([i.fields[0]],n.fields[0])]):new ai(1,[i.fields[0]])}return n}),new ai(0,[[]]),n))}return new ai(1,[[t,new hi(0,["a seq",n])]])}(Dt(s),e,t);case"Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]":{const n=Is(e,t,!1,Kn(0,eo(r))),o=Is(e,t,!1,Kn(1,eo(r)));let i;const s=yr([e=>t=>function(e,t,n,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new ai(1,[[n,new hi(0,["an object",r])]]):Rr(((o,i)=>{if(0===o.tag){const s=e(n,i);if(0===s.tag){const e=t(n+"."+i,r[i]);return 0===e.tag?new ai(0,[lr([s.fields[0],e.fields[0]],o.fields[0])]):new ai(1,[e.fields[0]])}return new ai(1,[s.fields[0]])}return o}),new ai(0,[cr()]),Object.keys(r))}(Dt(n),Dt(o),e,t),(u=Cs(Dt(n),Dt(o)),e=>t=>ys(Dt(u),e,t))]);return i=e=>t=>{return n=e,r=t,((e,t)=>{e:for(;;){const o=e,i=t;if(fr(o))return new ai(1,[[n,new hi(7,[i])]]);{const s=as(n,Dt(hr(o)),r);if(1===s.tag){e=dr(o),t=vr(i,ar(s.fields[0]));continue e}return new ai(0,[s.fields[0]])}}})(s,cr());var n,r},e=>t=>function(e,t,n,r){const o=t(n,r);return 1===o.tag?new ai(1,[o.fields[0]]):new ai(0,[e(o.fields[0])])}(Ss,Dt(i),e,t)}case"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]":{const n=Is(e,t,!1,Kn(0,eo(r)));return e=>t=>{const r=vs(Dt(n),e,t);return 0===r.tag?new ai(0,[(o=r.fields[0],es(i={Compare:Nt},Ki(i,o)))]):new ai(1,[r.fields[0]]);var o,i}}default:return ks(e,t,n,r)}}}else switch(c){case"System.Boolean":return e=>t=>{return n=e,"boolean"==typeof(r=t)?new ai(0,[r]):new ai(1,[[n,new hi(0,["a boolean",r])]]);var n,r};case"Microsoft.FSharp.Core.Unit":return e=>t=>{return n=e,null==(r=t)?new ai(0,[void 0]):new ai(1,[[n,new hi(0,["null",r])]]);var n,r};case"System.String":return e=>t=>fs(e,t);case"System.Char":return e=>t=>function(e,t){if("string"==typeof t){const n=t;return 1===n.length?new ai(0,[n[0]]):new ai(1,[[e,new hi(0,["a single character string",t])]])}return new ai(1,[[e,new hi(0,["a char",t])]])}(e,t);case"System.SByte":return hs;case"System.Byte":return ds;case"System.Int16":return _s;case"System.UInt16":return ps;case"System.Int32":return ms;case"System.UInt32":return ws;case"System.Double":return e=>t=>{return n=e,"number"==typeof(r=t)?new ai(0,[r]):new ai(1,[[n,new hi(0,["a float",r])]]);var n,r};case"System.Single":return e=>t=>{return n=e,"number"==typeof(r=t)?new ai(0,[r]):new ai(1,[[n,new hi(0,["a float32",r])]]);var n,r};case"System.DateTime":return e=>t=>function(e,t){if("string"==typeof t){let r,o=cn(-621355968e5,1);return r=[an(t,new Ht((()=>o),(e=>{o=e}))),o],r[0]?new ai(0,[(n=r[1],1===n.kind?n:cn(n.getTime(),1))]):new ai(1,[[e,new hi(0,["a datetime",t])]])}var n;return new ai(1,[[e,new hi(0,["a datetime",t])]])}(e,t);case"System.DateTimeOffset":return e=>t=>function(e,t){if("string"==typeof t){let n,r=ki(-621355968e5,0);return n=[Ii(t,new Ht((()=>r),(e=>{r=e}))),r],n[0]?new ai(0,[n[1]]):new ai(1,[[e,new hi(0,["a datetimeoffset",t])]])}return new ai(1,[[e,new hi(0,["a datetime",t])]])}(e,t);case"System.TimeSpan":return e=>t=>function(e,t){if("string"==typeof t){let n,r=0;return n=[Oi(t,new Ht((()=>r),(e=>{r=e}))),r],n[0]?new ai(0,[n[1]]):new ai(1,[[e,new hi(0,["a timespan",t])]])}return new ai(1,[[e,new hi(0,["a timespan",t])]])}(e,t);case"System.Guid":return e=>t=>function(e,t){if("string"==typeof t){let n,r="00000000-0000-0000-0000-000000000000";return n=[bi(t,new Ht((()=>r),(e=>{r=e}))),r],n[0]?new ai(0,[n[1]]):new ai(1,[[e,new hi(0,["a guid",t])]])}return new ai(1,[[e,new hi(0,["a guid",t])]])}(e,t);case"System.Object":return e=>e=>new ai(0,[e]);default:return ks(e,t,n,r)}}function Ts(e){return null!=e?(t=(e,t)=>new Ht(t[1]),function(e,t){return ti(e.comparer,zo(t,e.tree))}(e.Coders,t)):ii({Compare:Ot});var t}class Os extends Gt{constructor(e,t,n,r,o,i){super(),this.id_token=e,this.access_token=t,this.expires_in=n,this.refresh_token=r,this.scope=o,this.token_type=i}}function Ms(e){const t=encodeURIComponent(e.fields[0]),n=encodeURIComponent("apollo-bank-details-app"),r=encodeURIComponent(Vn);return go.Delay((()=>{let e,o;const i=ci(function(e,t){return new ko(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}(new xo(1,[`grant_type=authorization_code&code=${t}&client_id=${n}&redirect_uri=${r}`]),(e=function(e,t){return new ko(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}(new So(1,[]),new ko(`${Ln}/connect/token`,si.method,si.headers,si.withCredentials,si.overridenMimeType,si.overridenResponseType,si.timeout,si.content)),s=new Eo("Content-Type","application/x-www-form-urlencoded"),new ko((u=e).url,u.method,vr(u.headers,ar(s)),u.withCredentials,u.overridenMimeType,u.overridenResponseType,u.timeout,u.content))));var s,u;return o=go.Bind(i,(e=>go.Return(new ai(0,[e])))),go.Bind(o,(e=>{const t=e;if(1===t.tag)return go.Return(new ai(1,[t.fields[0]]));{const e=t.fields[0],r=200===e.statusCode?function(e,t){try{return as("$",e,JSON.parse(t))}catch(e){if(e instanceof SyntaxError)return new ai(1,["Given an invalid JSON: "+e.message]);throw e}}(Dt(function(e){const t=zt(void 0,new di(0,[]));return Is(Ts(void 0),t,!1,e)}((n=()=>{return[["id_token",oo],["access_token",oo],["expires_in",io],["refresh_token",(e=oo,new Qr("Microsoft.FSharp.Core.FSharpOption`1",[e]))],["scope",oo],["token_type",oo]];var e},new Qr("Auth.AuthService.Credentials",[],Os,void 0,n)))),e.responseText):new ai(1,["Unexpected result from backend"]);return go.Return(r)}var n}))}))}class Ns extends Gt{constructor(e){super(),this.AccessToken=e}}class As extends Gt{constructor(e){super(),this.Auth=e}}class Ds extends Rt{constructor(e,t){super(),this.tag=0,this.fields=[e,t]}cases(){return["AuthCodeExchange"]}}class Ps extends Gt{constructor(e,t){super(),this.CurrentPage=e,this.Auth=t}}class Us extends Rt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["UrlChanged","AuthMsg"]}}function Rs(e){return Rn("/",e)}function Gs(e,t,n){try{ft(n)}catch(n){e(["Error stopping subscription: "+Rs(t),n])}}function Hs(e,t){wr((t=>{Gs(e,t[0],t[1])}),t)}function Fs(e,t,n,r,o,i){return wr((t=>{!function(e,t){const n=new Error("Duplicate SubId");e(["Duplicate SubId: "+Rs(t),n])}(e,t)}),n),wr((t=>{Gs(e,t[0],t[1])}),r),vr(o,function(n,r){const o=rr(),i=pr(((n,r)=>{const o=function(e,t,n,r){try{return[n,r(t)]}catch(t){return void e(["Error starting subscription: "+Rs(n),t])}}(e,t,(i=r)[0],i[1]);var i;if(null==o)return n;{const e=new tr(Wt(o),void 0);return n.tail=e,e}}),o,r),s=rr();return i.tail=s,ur(o)}(0,i))}function $s(e){return t=(e,t)=>{return n=e[0],r=e[1],o=t[0],i=t[1],s=t[2],ss(n,i)?[lr(n,o),i,s]:[o,us(n,i),lr([n,r],s)];var n,r,o,i,s},n=e,r=[cr(),(o={Compare:Nt},rs(o)),cr()],er(t,_r(n),r);var t,n,r,o}const js=cr();function Bs(e,t){const n=es(r={Compare:Nt},Ki(r,br((e=>e[0]),e)));var r;const o=$s(t),i=o[1],s=o[0];if(n.Equals(i))return[s,cr(),e,cr()];{const t=function(e,t){const n=rr(),r=rr(),o=n,s=pr(((e,t)=>{let n,r;const o=e[0],s=e[1];return(e=>ss(e[0],i))(t)?[(n=new tr(t,void 0),o.tail=n,n),s]:[o,(r=new tr(t,void 0),s.tail=r,r)]}),[o,r],t),u=rr();s[0].tail=u;const c=rr();return s[1].tail=c,[ur(o),ur(r)]}(0,e);return[s,t[1],t[0],Cr((e=>!ss(e[0],n)),o[2])]}}class Ls{constructor(){this.delegates=[]}_add(e){this.delegates.push(e)}_remove(e){const t=this.delegates.indexOf(e);t>-1&&this.delegates.splice(t,1)}get Publish(){return e=e=>{this._add(e)},t=e=>{this._remove(e)},{AddHandler(t){e(t)},RemoveHandler(e){t(e)},Subscribe(n){const r=(e,t)=>n.OnNext(t);return e(r),{Dispose(){t(r)}}}};var e,t}Trigger(e,t){let n=null;const r=void 0===t?e:(n=e,t);this.delegates.forEach((e=>{e(n,r)}))}}class Ws extends Ls{}const Vs=class{constructor(e){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=e&&e>0?e:100,this.AutoReset=!0,this._elapsed=new Ws}Elapsed(){return this._elapsed.Publish}get Enabled(){return this._enabled}set Enabled(e){this._isDisposed||this._enabled===e||(this._enabled=e,this._enabled?this.AutoReset?this._intervalId=setInterval((()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)}),this.Interval):this._timeoutId=setTimeout((()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)}),this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}};class qs{constructor(e,t,n){this.OnNext=e,this.OnError=t||(e=>{}),this.OnCompleted=n||(()=>{})}}function zs(e,t,n){wr((n=>{try{n(t)}catch(t){e(t)}}),n)}function Js(){return cr()}function Zs(e,t){return br((t=>n=>{t((t=>{n(e(t))}))}),t)}function Ys(e,t,n,r,o){return ar((i=>{e(go.Delay((()=>{return go.Bind((e=t(n),wo((t=>{e({onSuccess:e=>t.onSuccess(function(e){return new yo(0,[e])}(e)),onError:e=>t.onSuccess(function(e){return new yo(1,[e])}(e)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})}))),(e=>{const t=e;return i(1===t.tag?o(t.fields[0]):r(t.fields[0])),go.Zero()}));var e})))}))}function Xs(e,t){return e>t?e:t}function Ks(e,t,n,r,o){const i=function(e,t,n,r){const o=0|Nt(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|Nt(n,t);return i&&o<=0||!i&&o>=0?[n,r(n,e)]:void 0}}(t,n,r,o);return Ar((()=>{return t=i,n=e,Mr((()=>function(e,t){let n,r=t;return Tr((()=>{if(null!=n){const e=Wt(n)[0];return Wt(n)[1],e}return Er()}),(()=>{if(n=e(r),null!=n){Wt(n)[0];const e=Wt(n)[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}class Qs extends Rt{constructor(e,t){super(),this.tag=e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class eu{constructor(e){this.state=new Qs(0,[Jn(new Array(Xs(e,10)),0,Xs(e,10),null),0])}}function tu(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 Qs(0,[o,n]):new Qs(1,[o,n,i]),Vt(Kn(r,o))}}function nu(e,t){const n=e.state;if(1===n.tag){const i=0|n.fields[1],s=0|n.fields[2],u=n.fields[0];Qn(u,i,t);const c=(i+1)%u.length|0;e.state=new Qs(1,c===s?[(r=s,o=u,Array.from(Ar((()=>Pr($r(r,o),Ar((()=>{return Pr((e=r,t=o,n=()=>Nr(t),i=(t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return Vt(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Sr+"\\nParameter name: source")}},s=e=>{ft(e)},Mr((()=>{let e=-1;return Or(n,(t=>(e=e+1|0,i(e,t))),s)}))),Ar((()=>{return t=e=>function(e){return Ar((()=>function(e){const t=zn(void 0,1);return Qn(t,0,e),t}(e)))}(null),e=o.length,n=Ks(0,1,e,0,((e,t)=>e+t)),Ar((()=>Dr(Hr(t,n))));var e,t,n})));var e,t,n,i,s}))))))),u.length,0]:[u,c,s])}else{const r=0|n.fields[1],o=n.fields[0];Qn(o,r,t);const i=(r+1)%o.length|0;e.state=new Qs(1,[o,i,r])}var r,o}class ru extends Gt{constructor(e,t,n,r,o,i,s){super(),this.init=e,this.update=t,this.subscribe=n,this.view=r,this.setState=o,this.onError=i,this.termination=s}}function ou(e){return Pt(e.view)}class iu extends Gt{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class su extends b{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}const uu=(()=>{try{return Ei("18.3.1".slice(void 0,2),511,!1,32)>=18}catch(e){return!1}})();function cu(e,t){return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?[new As(new Xr(2,[new ai(1,[`failed sign in: ${e.fields[0].fields[0].fields[0]}`])])),Js()]:(window.gtag&&window.gtag("event","oidc_sign_in",{}),function(){const e=Vn.endsWith("/")?Vn:`${Vn}/`;window.history.replaceState(null,void 0,e)}(),[new As(new Xr(2,[new ai(0,[new Ns(e.fields[0].fields[0].fields[0].access_token)])])),(n=e=>{!function(e){history.pushState(void 0,"",Vr(e,1));const t=document.createEvent("CustomEvent");t.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(t)}(ar(""))},ar(n))]):[new As(new Xr(1,[])),Ys((e=>{!function(e){!function(e,t){let n,r=new Vs(e);r.AutoReset=!1,n=r,function(e,t){t.Subscribe(new qs(e))}(t,n.Elapsed()),n.Enabled=!0,n.Start()}(1,(t=>{Co(e)}))}(e)}),Ms,e.fields[1],(t=>{const n=[new Kr(1,[t]),e.fields[1]];return new Ds(n[0],n[1])}),(t=>{const n=[new Kr(1,[new ai(1,[t.message])]),e.fields[1]];return new Ds(n[0],n[1])}))];var n}var lu;!function(e){!function(e,t){!function(e,t,n){let r;const o=n.init(t),i=o[0],s=n.subscribe(i),u=n.termination,c=new eu(10);let l=!1,a=i,f=js,h=!1;const d=Pt(e)((e=>{h||(nu(c,e),l||(l=!0,_(),l=!1))})),_=()=>{let e,t=tu(c);for(;!h&&null!=t;){const r=Wt(t);if(u[0](r))Hs(n.onError,f),u[1](a),h=!0;else{const o=n.update(r,a),i=o[0],s=n.subscribe(i);n.setState(i,d),zs((e=>{n.onError([Dn(Nn("Error handling the message: %A"))(r),e])}),d,o[1]),a=i,e=Bs(f,s),f=Fs(n.onError,d,e[0],e[1],e[2],e[3]),t=tu(c)}}};l=!0,n.setState(i,d),zs((e=>{n.onError([Dn(Nn("Error intitializing:")),e])}),d,o[1]),r=Bs(f,s),f=Fs(n.onError,d,r[0],r[1],r[2],r[3]),_(),l=!1}(Dt((e=>e)),void 0,t)}(0,e)}((lu=function(e,t,n){return new ru((function(){const e=Yr(qr(window.location.hash,1)),t=function(){const e=Yr(qr(window.location.hash,1));return[new As(new Xr(0,[])),0===e.tag||2===e.tag?Js():ar((t=>{t(new Ds(new Kr(0,[]),e.fields[0]))}))]}();return[new Ps(e,t[0]),Zs((e=>new Us(1,[e])),t[1])]}),t,(e=>cr()),n,Dt((e=>{const t=Pt(n)(e);return e=>{t(e)}})),(e=>{var t,n;t=e[0],n=e[1],console.error(Vt(t),n)}),[e=>!1,e=>{}])}(0,(function(e,t){if(1===e.tag){const n=cu(e.fields[0],t.Auth);return[new Ps(t.CurrentPage,n[0]),Zs((e=>new Us(1,[e])),n[1])]}return[new Ps(Yr(e.fields[0]),t.Auth),Js()]}),(function(e,t){let n,r,o;if(0===(null!=Wn&&null!=Ln?(r=0,o=Wn):r=1,r))switch(e.CurrentPage.tag){case 1:n=g("div",{children:"Please wait..."});break;case 2:n=g("h1",{children:"Not found"});break;default:{const t=e.Auth.Auth;let r,s;2===t.tag&&0===t.fields[0].tag?(r=0,s=t.fields[0].fields[0]):r=1,0===r?(i=[],n=g("bank-component",function(e,t=0){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 1:return e.charAt(0).toLowerCase()+e.slice(1);case 2:return jt(e,"_");case 3:return jt(e,"_").toUpperCase();case 4:return jt(e,"-");default:return e}}(e,t),n[e]=r}for(let t of e){let e=0;if(null==t&&o(t),t instanceof Rt){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 Bt(0,[o]),new Bt(1,[s.AccessToken])],1),...i)):n=g("h1",{children:"Unauthorised"})}}else n=g("h1",{children:"Invalid attribute configuration"});var i;return zr({onUrlChanged:e=>{t(new Us(0,[e]))},application:g(v,{},n)})})),function(e,t,n){let r;return function(e,t){return new ru(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}(Dt(uu?(o=document.getElementById(t),r={render:function(e){Ye(e,o)},unmount:function(){ct(o)}},t=>o=>{r.render(e((e=>t=>e===t),ou(n),t,o))}):r=>o=>{Ye(e((e=>t=>e===t),ou(n),r,o),document.getElementById(t))}),n);var o}(((e,t,n,r)=>function(e,t,n,r){const o=new iu(n,(()=>t(n,r)),e);return g(su,o)}(Dt(e),Dt(t),n,r)),"bank-details-app",lu)))})();
|
2
2
|
//# sourceMappingURL=bank-details-app.js.map
|