@flarehr/bank-details-app 2.26.1 → 2.27.1
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";function e(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function t(e){(function(e){return null!=e&&"function"==typeof e.Dispose})(e)&&e.Dispose()}function n(e,t){return Object.getPrototypeOf(e).constructor===Object.getPrototypeOf(t).constructor}class r{constructor(e){this.iter=e}"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 o(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new r(e[Symbol.iterator]())}function i(e){return{[Symbol.iterator](){return this},next(){const t=e["System.Collections.IEnumerator.MoveNext"]();return{done:!t,value:t?e["System.Collections.IEnumerator.get_Current"]():void 0}}}}function u(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function l(e){const t=e;return"number"==typeof t.offset?t.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}class s{static id(e){return s.idMap.has(e)||s.idMap.set(e,++s.count),s.idMap.get(e)}}function c(e){return 2654435761*e|0}function a(e){return 0===e.length?0:e.reduce(((e,t)=>(e<<5)+e^t))}function f(t){if(null==t)return 0;switch(typeof t){case"boolean":return t?1:0;case"number":return c(t);case"string":return function(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=33*n^e.charCodeAt(t++);return n}(t);default:if(function(e){return"function"==typeof e.GetHashCode}(t))return t.GetHashCode();if(e(t))return function(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=f(e[r]);return a(n)}(t);if(t instanceof Date)return function(e){return e.getTime()}(t);if(Object.getPrototypeOf(t).constructor===Object){const e=Object.values(t).map((e=>f(e)));return a(e)}return c(s.id(t))}}function _(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,d)}function d(t,n){return t===n||(null==t?null==n:null!=n&&"object"==typeof t&&(function(e){return"function"==typeof e.Equals}(t)?t.Equals(n):e(t)?e(n)&&_(t,n):t instanceof Date?n instanceof Date&&0===h(t,n):Object.getPrototypeOf(t).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]||!d(e[n[o]],t[r[o]]))return!1;return!0}(t,n)))}function h(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+l(e),r=t.getTime()+l(t)),n===r?0:n<r?-1:1}function p(e,t){return e===t?0:e<t?-1:1}function m(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,g)}function g(t,n){return t===n?0:null==t?null==n?0:-1:null==n?1:"object"!=typeof t?t<n?-1:1:function(e){return"function"==typeof e.CompareTo}(t)?t.CompareTo(n):e(t)?e(n)?m(t,n):-1:t instanceof Date?n instanceof Date?h(t,n):-1:Object.getPrototypeOf(t).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=g(e[u],t[u]),0!==i)return i}return 0}(t,n):-1}function v(e,t,n){return e(t,n)>0?t:n}s.idMap=new WeakMap,s.count=0;const y=Symbol("curried");function w(e,t){if(null==t||t.length>1)return t;const n=(...n)=>{let r=t;for(let t=0;t<e;t++)r=r(n[t]);return r};return n[y]=t,n}function b(e,t,n){return r=>1===t?n(...e.concat([r])):b(e.concat([r]),t-1,n)}function C(e,t){return null==t||1===t.length?t:y in t?t[y]:b([],e,t)}class S{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return f(this.value)}Equals(e){return null!=e&&d(this.value,e instanceof S?e.value:e)}CompareTo(e){return null==e?1:g(this.value,e instanceof S?e.value:e)}}function E(e){return null==e||e instanceof S?new S(e):e}function k(e){if(null==e)throw new Error("Option has no value");return e instanceof S?e.value:e}function x(e){return null==e?[]:[k(e)]}function I(e,t){return null!=e?k(e):t}function O(e,t){return null!=t?E(e(k(t))):void 0}const A=function(e){return null==e?void 0:e}(document.querySelector("#bank-details-app")),T=O((e=>e.getAttribute("data-identity-url")),A),N=O((e=>e.getAttribute("data-backend-url")),A);var M,P,U,D,R,H,L,j={},F=[],G=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function W(e,t){for(var n in t)e[n]=t[n];return e}function V(e){var t=e.parentNode;t&&t.removeChild(e)}function q(e,t,n){var r,o,i,u={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:u[i]=t[i];if(arguments.length>2&&(u.children=arguments.length>3?M.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===u[i]&&(u[i]=e.defaultProps[i]);return z(e,u,r,o,null)}function z(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++U:o};return null==o&&null!=P.vnode&&P.vnode(i),i}function $(e){return e.children}function B(e,t){this.props=e,this.context=t}function J(e,t){if(null==t)return e.__?J(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?J(e):null}function Y(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return Y(e)}}function K(e){(!e.__d&&(e.__d=!0)&&D.push(e)&&!Z.__r++||H!==P.debounceRendering)&&((H=P.debounceRendering)||R)(Z)}function Z(){for(var e;Z.__r=D.length;)e=D.sort((function(e,t){return e.__v.__b-t.__v.__b})),D=[],e.some((function(e){var t,n,r,o,i,u;e.__d&&(i=(o=(t=e).__v).__e,(u=t.__P)&&(n=[],(r=W({},o)).__v=o.__v+1,ue(u,o,r,t.__n,void 0!==u.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?J(o):i,o.__h),le(n,o),o.__e!=i&&Y(o)))}))}function Q(e,t,n,r,o,i,u,l,s,c){var a,f,_,d,h,p,m,g=r&&r.__k||F,v=g.length;for(n.__k=[],a=0;a<t.length;a++)if(null!=(d=n.__k[a]=null==(d=t[a])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?z(null,d,null,null,d):Array.isArray(d)?z($,{children:d},null,null,null):d.__b>0?z(d.type,d.props,d.key,null,d.__v):d)){if(d.__=n,d.__b=n.__b+1,null===(_=g[a])||_&&d.key==_.key&&d.type===_.type)g[a]=void 0;else for(f=0;f<v;f++){if((_=g[f])&&d.key==_.key&&d.type===_.type){g[f]=void 0;break}_=null}ue(e,d,_=_||j,o,i,u,l,s,c),h=d.__e,(f=d.ref)&&_.ref!=f&&(m||(m=[]),_.ref&&m.push(_.ref,null,d),m.push(f,d.__c||h,d)),null!=h?(null==p&&(p=h),"function"==typeof d.type&&d.__k===_.__k?d.__d=s=X(d,s,e):s=te(e,d,_,g,h,s),"function"==typeof n.type&&(n.__d=s)):s&&_.__e==s&&s.parentNode!=e&&(s=J(_))}for(n.__e=p,a=v;a--;)null!=g[a]&&("function"==typeof n.type&&null!=g[a].__e&&g[a].__e==n.__d&&(n.__d=J(r,a+1)),ae(g[a],g[a]));if(m)for(a=0;a<m.length;a++)ce(m[a],m[++a],m[++a])}function X(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?X(r,t,n):te(n,r,r,o,r.__e,t));return t}function ee(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){ee(e,t)})):t.push(e)),t}function te(e,t,n,r,o,i){var u,l,s;if(void 0!==t.__d)u=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),u=null;else{for(l=i,s=0;(l=l.nextSibling)&&s<r.length;s+=2)if(l==o)break e;e.insertBefore(o,i),u=i}return void 0!==u?u:o.nextSibling}function ne(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||G.test(t)?n:n+"px"}function re(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||ne(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||ne(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?ie:oe,i):e.removeEventListener(t,i?ie:oe,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function oe(e){this.l[e.type+!1](P.event?P.event(e):e)}function ie(e){this.l[e.type+!0](P.event?P.event(e):e)}function ue(e,t,n,r,o,i,u,l,s){var c,a,f,_,d,h,p,m,g,v,y,w=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(s=n.__h,l=t.__e=n.__e,t.__h=null,i=[l]),(c=P.__b)&&c(t);try{e:if("function"==typeof w){if(m=t.props,g=(c=w.contextType)&&r[c.__c],v=c?g?g.props.value:c.__:r,n.__c?p=(a=t.__c=n.__c).__=a.__E:("prototype"in w&&w.prototype.render?t.__c=a=new w(m,v):(t.__c=a=new B(m,v),a.constructor=w,a.render=fe),g&&g.sub(a),a.props=m,a.state||(a.state={}),a.context=v,a.__n=r,f=a.__d=!0,a.__h=[]),null==a.__s&&(a.__s=a.state),null!=w.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=W({},a.__s)),W(a.__s,w.getDerivedStateFromProps(m,a.__s))),_=a.props,d=a.state,f)null==w.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==w.getDerivedStateFromProps&&m!==_&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(m,v),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(m,a.__s,v)||t.__v===n.__v){a.props=m,a.state=a.__s,t.__v!==n.__v&&(a.__d=!1),a.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),a.__h.length&&u.push(a);break e}null!=a.componentWillUpdate&&a.componentWillUpdate(m,a.__s,v),null!=a.componentDidUpdate&&a.__h.push((function(){a.componentDidUpdate(_,d,h)}))}a.context=v,a.props=m,a.state=a.__s,(c=P.__r)&&c(t),a.__d=!1,a.__v=t,a.__P=e,c=a.render(a.props,a.state,a.context),a.state=a.__s,null!=a.getChildContext&&(r=W(W({},r),a.getChildContext())),f||null==a.getSnapshotBeforeUpdate||(h=a.getSnapshotBeforeUpdate(_,d)),y=null!=c&&c.type===$&&null==c.key?c.props.children:c,Q(e,Array.isArray(y)?y:[y],t,n,r,o,i,u,l,s),a.base=t.__e,t.__h=null,a.__h.length&&u.push(a),p&&(a.__E=a.__=null),a.__e=!1}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=se(n.__e,t,n,r,o,i,u,s);(c=P.diffed)&&c(t)}catch(e){t.__v=null,(s||null!=i)&&(t.__e=l,t.__h=!!s,i[i.indexOf(l)]=null),P.__e(e,t,n)}}function le(e,t){P.__c&&P.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){P.__e(e,t.__v)}}))}function se(e,t,n,r,o,i,u,l){var s,c,a,f=n.props,_=t.props,d=t.type,h=0;if("svg"===d&&(o=!0),null!=i)for(;h<i.length;h++)if((s=i[h])&&(s===e||(d?s.localName==d:3==s.nodeType))){e=s,i[h]=null;break}if(null==e){if(null===d)return document.createTextNode(_);e=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,_.is&&_),i=null,l=!1}if(null===d)f===_||l&&e.data===_||(e.data=_);else{if(i=i&&M.call(e.childNodes),c=(f=n.props||j).dangerouslySetInnerHTML,a=_.dangerouslySetInnerHTML,!l){if(null!=i)for(f={},h=0;h<e.attributes.length;h++)f[e.attributes[h].name]=e.attributes[h].value;(a||c)&&(a&&(c&&a.__html==c.__html||a.__html===e.innerHTML)||(e.innerHTML=a&&a.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||re(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||re(e,i,t[i],n[i],r)}(e,_,f,o,l),a)t.__k=[];else if(h=t.props.children,Q(e,Array.isArray(h)?h:[h],t,n,r,o&&"foreignObject"!==d,i,u,i?i[0]:n.__k&&J(n,0),l),null!=i)for(h=i.length;h--;)null!=i[h]&&V(i[h]);l||("value"in _&&void 0!==(h=_.value)&&(h!==e.value||"progress"===d&&!h)&&re(e,"value",h,f.value,!1),"checked"in _&&void 0!==(h=_.checked)&&h!==e.checked&&re(e,"checked",h,f.checked,!1))}return e}function ce(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){P.__e(e,n)}}function ae(e,t,n){var r,o;if(P.unmount&&P.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||ce(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){P.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&ae(r[o],t,"function"!=typeof e.type);n||null==e.__e||V(e.__e),e.__e=e.__d=void 0}function fe(e,t,n){return this.constructor(e,n)}function _e(e,t,n){var r,o,i;P.__&&P.__(e,t),o=(r="function"==typeof n)?null:n&&n.__k||t.__k,i=[],ue(t,e=(!r&&n||t).__k=q($,null,[e]),o||j,j,void 0!==t.ownerSVGElement,!r&&n?[n]:o?null:t.firstChild?M.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r),le(i,e)}function de(e,t){_e(e,t,de)}function he(e,t,n){var r,o,i,u=W({},e.props);for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:u[i]=t[i];return arguments.length>2&&(u.children=arguments.length>3?M.call(arguments,2):n),z(e.type,u,r||e.key,o||e.ref,null)}M=F.slice,P={__e:function(e,t){for(var n,r,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(t){e=t}throw e}},U=0,B.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=W({},this.state),"function"==typeof e&&(e=e(W({},n),this.props)),e&&W(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),K(this))},B.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),K(this))},B.prototype.render=$,D=[],R="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Z.__r=0,L=0;var pe,me,ge,ve=0,ye=[],we=P.__b,be=P.__r,Ce=P.diffed,Se=P.__c,Ee=P.unmount;function ke(e,t){P.__h&&P.__h(me,e,ve||t),ve=0;var n=me.__H||(me.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function xe(e,t,n){var r=ke(pe++,2);return r.t=e,r.__c||(r.__=[n?n(t):De(void 0,t),function(e){var t=r.t(r.__[0],e);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=me),r.__}function Ie(e,t){var n=ke(pe++,3);!P.__s&&Ue(n.__H,t)&&(n.__=e,n.__H=t,me.__H.__h.push(n))}function Oe(e,t){var n=ke(pe++,4);!P.__s&&Ue(n.__H,t)&&(n.__=e,n.__H=t,me.__h.push(n))}function Ae(e,t){var n=ke(pe++,7);return Ue(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Te(){ye.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(Me),e.__H.__h.forEach(Pe),e.__H.__h=[]}catch(t){e.__H.__h=[],P.__e(t,e.__v)}})),ye=[]}P.__b=function(e){me=null,we&&we(e)},P.__r=function(e){be&&be(e),pe=0;var t=(me=e.__c).__H;t&&(t.__h.forEach(Me),t.__h.forEach(Pe),t.__h=[])},P.diffed=function(e){Ce&&Ce(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==ye.push(t)&&ge===P.requestAnimationFrame||((ge=P.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),Ne&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Ne&&(t=requestAnimationFrame(n))})(Te)),me=null},P.__c=function(e,t){t.some((function(e){try{e.__h.forEach(Me),e.__h=e.__h.filter((function(e){return!e.__||Pe(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],P.__e(n,e.__v)}})),Se&&Se(e,t)},P.unmount=function(e){Ee&&Ee(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(Me)}catch(e){P.__e(e,t.__v)}};var Ne="function"==typeof requestAnimationFrame;function Me(e){var t=me;"function"==typeof e.__c&&e.__c(),me=t}function Pe(e){var t=me;e.__c=e.__(),me=t}function Ue(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function De(e,t){return"function"==typeof t?t(e):t}function Re(e,t){for(var n in t)e[n]=t[n];return e}function He(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 Le(e){this.props=e}(Le.prototype=new B).isPureReactComponent=!0,Le.prototype.shouldComponentUpdate=function(e,t){return He(this.props,e)||He(this.state,t)};var je=P.__b;P.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),je&&je(e)};var Fe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,Ge=function(e,t){return null==e?null:ee(ee(e).map(t))},We={map:Ge,forEach:Ge,count:function(e){return e?ee(e).length:0},only:function(e){var t=ee(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:ee},Ve=P.__e;P.__e=function(e,t,n){if(e.then)for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);Ve(e,t,n)};var qe=P.unmount;function ze(){this.__u=0,this.t=null,this.__b=null}function $e(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function Be(){this.u=null,this.o=null}P.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),qe&&qe(e)},(ze.prototype=new B).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=$e(r.__v),i=!1,u=function(){i||(i=!0,n.__R=null,o?o(l):l())};n.__R=u;var l=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},s=!0===t.__h;r.__u++||s||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(u,u)},ze.prototype.componentWillUnmount=function(){this.t=[]},ze.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]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=Re({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__e&&q($,null,e.fallback);return o&&(o.__h=null),[q($,null,t.__e?null:e.children),o]};var Je=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Ye(e){return this.getChildContext=function(){return e.context},e.children}function Ke(e){var t=this,n=e.i;t.componentWillUnmount=function(){_e(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),_e(q(Ye,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(Be.prototype=new B).__e=function(e){var t=this,n=$e(t.__v),r=t.o.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()}},Be.prototype.render=function(e){this.u=null,this.o=new Map;var t=ee(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Be.prototype.componentDidUpdate=Be.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Je(e,n,t)}))};var Ze="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Qe=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Xe="undefined"!=typeof document,et=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function tt(e,t,n){return null==t.__k&&(t.textContent=""),_e(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 nt=P.event;function rt(){}function ot(){return this.cancelBubble}function it(){return this.defaultPrevented}P.event=function(e){return nt&&(e=nt(e)),e.persist=rt,e.isPropagationStopped=ot,e.isDefaultPrevented=it,e.nativeEvent=e};var ut,lt={configurable:!0,get:function(){return this.class}},st=P.vnode;P.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in r={},n){var u=n[i];Xe&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in n&&null==u||("defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===u?u="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!et(n.type)?i="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(i)?i=i.toLowerCase():o&&Qe.test(i)?i=i.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===u&&(u=void 0),r[i]=u)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=ee(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=ee(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r}t&&n.class!=n.className&&(lt.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",lt)),e.$$typeof=Ze,st&&st(e)};var ct=P.__r;P.__r=function(e){ct&&ct(e),ut=e.__c};var at={ReactCurrentDispatcher:{current:{readContext:function(e){return ut.__n[e.__c].props.value}}}};function ft(e){return!!e&&e.$$typeof===Ze}const _t={useState:function(e){return ve=1,xe(De,e)},useReducer:xe,useEffect:Ie,useLayoutEffect:Oe,useRef:function(e){return ve=5,Ae((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){ve=6,Oe((function(){"function"==typeof e?e(t()):e&&(e.current=t())}),null==n?n:n.concat(e))},useMemo:Ae,useCallback:function(e,t){return ve=8,Ae((function(){return e}),t)},useContext:function(e){var t=me.context[e.__c],n=ke(pe++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(me)),t.props.value):e.__},useDebugValue:function(e,t){P.useDebugValue&&P.useDebugValue(t?t(e):e)},version:"17.0.2",Children:We,render:tt,hydrate:function(e,t,n){return de(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(_e(null,e),!0)},createPortal:function(e,t){return q(Ke,{__v:e,i:t})},createElement:q,createContext:function(e,t){var n={__c:t="__cC"+L++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(K)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return q.bind(null,e)},cloneElement:function(e){return ft(e)?he.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:$,isValidElement:ft,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:B,PureComponent:Le,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:He(this.props,e)}function r(t){return this.shouldComponentUpdate=n,q(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(t,n){var r=Re({},t);return delete r.ref,e(r,(n=t.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return t.$$typeof=Fe,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:$,Suspense:ze,SuspenseList:Be,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 q(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:at};function dt(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+=dt(r);else{if(100===t){n+="; ...";break}n+="; "+dt(r)}t++}return n+"]"}(e);{const n=Object.getPrototypeOf(e).constructor;return n===Object&&t<10?"{ "+Object.entries(e).map((([e,n])=>e+" = "+dt(n,t+1))).join("\n ")+" }":n.name}}return String(e)}class ht{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=dt(t[0]),r=n.indexOf(" ")>=0):n=t.map((e=>dt(e))).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>f(e)));return e.splice(0,0,c(this.tag)),a(e)}Equals(e){return this===e||!!n(this,e)&&this.tag===e.tag&&_(this.fields,e.fields)}CompareTo(e){return this===e?0:n(this,e)?this.tag===e.tag?m(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+" = "+dt(t))).join("\n ")+" }";var e}GetHashCode(){return function(e){const t=Object.values(e).map((e=>f(e)));return a(t)}(this)}Equals(e){return function(e,t){if(e===t)return!0;if(n(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!d(e[n[r]],t[n[r]]))return!1;return!0}return!1}(this,e)}CompareTo(e){return function(e,t){if(e===t)return 0;if(n(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=g(e[n[r]],t[n[r]]);if(0!==o)return o}return 0}return-1}(this,e)}}function mt(e,t){return e.replace(/[a-z]?[A-Z]/g,(e=>1===e.length?e.toLowerCase():e.charAt(0)+t+e.charAt(1).toLowerCase()))}function gt(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 mt(e,"_");case 3:return mt(e,"_").toUpperCase();case 4:return mt(e,"-");default:return e}}(e,t),n[e]=r}for(let t of e){let e=0;if(null==t&&o(t),t instanceof ht){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}class vt extends ht{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["backend-url","access-token"]}}function yt(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+u(~~(e/36e5),2)+":"+u(n,2)}function wt(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 bt(e,t,n){return t.replace(/(\w)\1*/g,(t=>{let r=Number.NaN;switch(t.substring(0,1)){case"y":const o=n?e.getUTCFullYear():e.getFullYear();r=t.length<4?o%100:o;break;case"M":r=(n?e.getUTCMonth():e.getMonth())+1;break;case"d":r=n?e.getUTCDate():e.getDate();break;case"H":r=n?e.getUTCHours():e.getHours();break;case"h":const i=n?e.getUTCHours():e.getHours();r=i>12?i%12:i;break;case"m":r=n?e.getUTCMinutes():e.getMinutes();break;case"s":r=n?e.getUTCSeconds():e.getSeconds();break;case"f":r=n?e.getUTCMilliseconds():e.getMilliseconds()}return Number.isNaN(r)?t:r<10&&t.length>1?"0"+r:""+r}))}const Ct=Symbol("numeric");function St(e,t){return"number"==typeof e?e.toPrecision(t):e[Ct]().toPrecision(t)}function Et(e,t){return"number"==typeof e?e.toExponential(t):e[Ct]().toExponential(t)}function kt(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[Ct]().toHex()}function xt(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}const It=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g;function Ot(e){return{input:e,cont:(t=e,e=>{It.lastIndex=0;const n=[],r=[];let o=0,i=It.exec(t);for(;i;){const e=i.index+(i[1]||"").length;n.push(t.substring(o,e).replace(/%%/g,"%")),r.push(i),o=It.lastIndex,It.lastIndex-=1,i=It.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(o).replace(/%%/g,"%")),Nt(e,n,r))})};var t}function At(e){return function(e,t){return"string"==typeof t?e(t):t.cont(e)}((e=>e),e)}function Tt(e,t,n,r,o){let i="";if(t=t||"",o=o||"",function(e){return"number"==typeof e||(null==e?void 0:e[Ct])}(e))switch("x"!==o.toLowerCase()&&(function(e,t){return function(e,t){return"number"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}(e,t)<0}(e,0)?(e=function(e,t){return"number"==typeof e?-1*e:e[Ct]().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):e[Ct]().toFixed(t)}(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?St(e,r):St(e);break;case"e":case"E":e=null!=r?Et(e,r):Et(e);break;case"x":e=kt(e);break;case"X":e=kt(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?function(e,t,n){return null!=e.offset?function(e,t){var n,r,o;const i=new Date(e.getTime()+(null!==(n=e.offset)&&void 0!==n?n:0));if("string"!=typeof t)return i.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+yt(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==t.length)return bt(i,t,!0);switch(t){case"D":case"d":return wt(i,"first");case"T":case"t":return wt(i,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+yt(t)}(i,null!==(o=e.offset)&&void 0!==o?o: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 bt(e,t,n);switch(t){case"D":case"d":return n?wt(e,"first"):e.toLocaleDateString();case"T":case"t":return n?wt(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 u(e.getFullYear(),4)+"-"+u(e.getMonth()+1,2)+"-"+u(e.getDate(),2)+"T"+u(e.getHours(),2)+":"+u(e.getMinutes(),2)+":"+u(e.getSeconds(),2)+"."+u(e.getMilliseconds(),3)+(t?yt(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}(e):dt(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=Ut(e,n-i.length,u,o)):Ut(i+e,n,u,o)}return e}function Nt(e,t,n,r="",o=-1){return(...i)=>{let u=r;const l=t.slice(),s=n.slice();for(const e of i){const[,,t,n,r,i]=s[0];let c=n;if(o>=0)c=o,o=-1;else if("*"===c){if(e<0)throw new Error("Non-negative number required");o=e;continue}u+=l[0],u+=Tt(e,t,c,r,i),l.splice(0,1),s.splice(0,1)}return 0===s.length?(u+=l[0],e(u)):Nt(e,l,s,u,o)}}function Mt(e,t){const n=e.lastIndexOf(t);return n>=0&&n===e.length-t.length}function Pt(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function Ut(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 Dt(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)}class Rt extends pt{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+Pt("; ",this)+"]"}Equals(e){return this===e||((e,t)=>{e:for(;;){const n=e,r=t,o=[n.tail,r.tail];if(null!=o[0]){if(null!=o[1]){const i=o[0],u=o[1];if(d(n.head,r.head)){e=i,t=u;continue e}return!1}return!1}return null==o[1]}})(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 l=u;if(r>18)return 0|o;e=r+1,t=(o<<1)+f(i.head)+631*r,n=l}}})(0,0,this)}toJSON(e){return Array.from(this)}CompareTo(e){return 0|((e,t)=>{e:for(;;){const n=e,r=t,o=[n.tail,r.tail];if(null!=o[0]){if(null!=o[1]){const i=o[0],u=o[1],l=0|g(n.head,r.head);if(0===l){e=i,t=u;continue e}return 0|l}return 1}return null!=o[1]?-1:0}})(this,e)}GetEnumerator(){return new Ht(this)}[Symbol.iterator](){return i(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return o(this)}}class Ht{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=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 Lt(){return new Rt(null,void 0)}function jt(e,t){return new Rt(e,t)}function Ft(e){return null==e.tail}function Gt(e){if(null!=e.tail)return e.head;throw new Error("Collection was empty.\\nParameter name: list")}function Wt(e){const t=e.tail;if(null!=t)return t;throw new Error("Collection was empty.\\nParameter name: list")}function Vt(){return Lt()}function qt(e){return jt(e,Lt())}function zt(e){return Ft(e)}function $t(e){return Gt(e)}function Bt(e){return Wt(e)}function Jt(e,t,n){let r=t,o=n;for(;!Ft(o);)r=e(r,Gt(o)),o=Wt(o);return r}function Yt(e,t){Jt(((t,n)=>{e(n)}),void 0,t)}function Kt(e){return function(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=jt(e[t],n);return n}(e,Lt())}function Zt(e,t){const n=Lt(),r=Jt(((t,n)=>{let r;return r=new Rt(e(n),void 0),t.tail=r,r}),n,t),o=Lt();return r.tail=o,Wt(n)}function Qt(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(t[r],n[r]),r=r+1|0;return o}}const Xt="The input sequence has an insufficient number of elements.";function en(){throw new Error("Enumeration has not started. Call MoveNext.")}function tn(){throw new Error("Enumeration already finished.")}class nn{constructor(e){this.f=e}toString(){let e=0,n="seq [";const r=o(this);try{for(;e<4&&r["System.Collections.IEnumerator.MoveNext"]();)e>0&&(n+="; "),n+=dt(r["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(n+="; ..."),n+"]"}finally{t(r)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return i(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class rn{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 on(e,t,n){return new rn(e,t,n)}function un(e,t,n){let r,o=!1,i=E(e());const u=()=>{if(null!=i){const e=k(i);try{n(e)}finally{i=void 0}}},l=()=>{try{u()}finally{r=void 0}};return on((()=>(o||en(),null!=r?k(r):tn())),(()=>{if(o||(o=!0),null!=i){const e=k(i);let n;try{n=t(e)}catch(e){throw l(),e}return null!=n?(r=n,!0):(l(),!1)}return!1}),u)}function ln(e){return function(e){return new nn(e)}(e)}function sn(e){return t="source",null==e&&function(e){throw new Error(e)}(t),o(e);var t}function cn(e){return ln((()=>o(e())))}function an(e){return ln((()=>function(e){let n,r,i,u=!1,l=!1;const s=()=>{if(l=!0,null!=r){const e=r;try{t(e)}finally{r=void 0}}if(null!=n){const e=n;try{t(e)}finally{n=void 0}}};return on((()=>(u?l&&tn():en(),null!=i?k(i):tn())),(()=>{let c;if(u||(u=!0),l)return!1;{let u;for(;null==u;){const l=[n,r];if(null!=l[0])if(null!=l[1]){const e=l[1];if(e["System.Collections.IEnumerator.MoveNext"]())i=E(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),u=!0;else try{t(e)}finally{r=void 0}}else{const e=l[0];e["System.Collections.IEnumerator.MoveNext"]()?(c=e["System.Collections.Generic.IEnumerator`1.get_Current"](),r=o(c)):(s(),u=!1)}else n=o(e)}return k(u)}}),(()=>{l||s()}))}(e)))}function fn(e){return cn((()=>function(e,t){const n=function(e,t){return"function"==typeof e?new e(t):new Array(t)}(void 0,1);return n[0]=e,n}(e)))}function _n(e,t,n){return ln((()=>un(e,t,n)))}function dn(e,t){return an([e,t])}function hn(e,n,r){const o=sn(r);try{let r=n;for(;o["System.Collections.IEnumerator.MoveNext"]();)r=e(r,o["System.Collections.Generic.IEnumerator`1.get_Current"]());return r}finally{t(o)}}function pn(e,t){hn(((t,n)=>{e(n)}),void 0,t)}function mn(e,n){return ln((()=>{const r=sn(n);try{for(let t=1;t<=e;t++)if(!r["System.Collections.IEnumerator.MoveNext"]())throw new Error(Xt+"\\nParameter name: source");return function(e,n){return on((()=>n["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>n["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{t(n)}finally{e()}}))}((()=>{}),r)}catch(e){throw t(r),e}}))}Symbol.iterator;const gn=_t;function vn(e){return{Dispose(){e()}}}function yn(e){var t;t=e,Ie((()=>{const e=t();return()=>{e.Dispose()}}))}function wn(e,t){const n=I(t,[]);return gn.useMemo(e,n)}function bn(e){const t=(r=e,gn.useRef(r)),n=function(e,n){const r=I([],[]);return gn.useCallback((e=>t.current(e)),r)}();var r,o,i;return o=()=>{t.current=e},i=e=>(o(),vn((()=>{}))),Oe((()=>{const e=i();return()=>{e.Dispose()}})),n}const Cn=(()=>{try{if("undefined"!=typeof window&&"function"==typeof window.addEventListener){const e={passive:!0};window.addEventListener("testPassiveEventSupport",(e=>{}),e),window.removeEventListener("testPassiveEventSupport",(e=>{}))}}catch(e){}return!1})();function Sn(e){return O((e=>e.passive&&!Cn?{capture:e.capture,once:e.once,passive:!1}:e),e)}function En(e){return null!=(t=e)?(e=>e.capture?{capture:!0}:void 0)(k(t)):void 0;var t}function kn(e,t){return 0===t.indexOf(e)?t:void 0}function xn(e,t){return Mt(t,e)?t:void 0}function In(e,t){return function(e){return 1===e?e=>{let t,n,r,o,i,u;return t=kn("/",e),null!=t?(n=t,"#"+n):(r=kn("#/",e),null!=r?(o=r,o):(i=kn("#",e),null!=i?(u=i,"#/"+Dt(u,1,u.length-1)):"#/"+e))}:e=>{let t,n;return t=kn("/",e),null!=t?(n=t,n):"/"+e}}(t)(Pt("/",Zt((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function On(e,t){return function(e,t){let n,r;const o=Lt();let i=o,u=t;for(;!Ft(u);){let t=e(Gt(u));for(;!Ft(t);)n=i,r=new Rt(Gt(t),void 0),n.tail=r,i=r,t=Wt(t);u=Wt(u)}const l=i,s=Lt();return l.tail=s,Wt(o)}((e=>{if("string"!=typeof(t=e)||/^\s*$/.test(t))return Vt();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+xt(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return Vt();if(null!=kn("?",t))return qt(t);{const e=t.split("?");if(Qt(((e,t)=>e===t),e,null)||1!==e.length){if(Qt(((e,t)=>e===t),e,null)||2!==e.length)return Vt();if(""===e[1]){const t=e[0];return qt(decodeURIComponent(t))}{const t=e[0],n=e[1];return Kt([decodeURIComponent(t),"?"+n])}}{const t=e[0];return qt(decodeURIComponent(t))}}}var t}),Kt(function(e,t,n,r){if(r="number"==typeof r?r:0,(n="number"==typeof n?n:void 0)&&n<0)throw new Error("Count cannot be less than zero");if(0===n)return[];const o=1==(1&r),i=2==(2&r);t=(t=t||[]).filter((e=>e)).map(xt),t=t.length>0?t:["\\s"];const u=[],l=new RegExp(t.join("|"),"g");let s=!0,c=0;do{const t=l.exec(e);if(null===t){const t=i?e.substring(c).trim():e.substring(c);(!o||t.length>0)&&u.push(t),s=!1}else{const r=i?e.substring(c,t.index).trim():e.substring(c,t.index);(!o||r.length>0)&&(null!=n&&u.length+1===n?(u.push(i?e.substring(c).trim():e.substring(c)),s=!1):u.push(r)),c=l.lastIndex}}while(s);return u}(null!=kn("#",e)?Dt(e,1,e.length-1):1!==t||null==xn("#",e)&&null==xn("#/",e)?e:"",["/"],null,0)))}const An=function(e,t,n,r){const o=gn.memo(e,w(2,I(C(2,n),null)));return pn((t=>{e.displayName=t}),x(t)),e=>{const t=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(r,e);return gn.createElement(o,t)}}((e=>{const t=bn((t=>{const n=I(e.onUrlChanged,(e=>{}));!function(e,t,n){t(On(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(I(e.hashMode,1),n)}));if(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0){const e="hashchange",n=e=>{t(e)},r=void 0,o=wn((()=>Sn(r)),[r]),i=wn((()=>En(r)),[r]),u=wn((()=>e=>{n(e)}),[n]);yn(bn((()=>{if(null==o)window.addEventListener(e,u);else{const t=o;window.addEventListener(e,u,t)}return vn((()=>{if(null==i)window.removeEventListener(e,u);else{const t=i;window.removeEventListener(e,u,t)}}))})))}else{const e="popstate",n=t,r=void 0,o=wn((()=>Sn(r)),[r]),i=wn((()=>En(r)),[r]),u=wn((()=>e=>{n(e)}),[n]);yn(bn((()=>{if(null==o)window.addEventListener(e,u);else{const t=o;window.addEventListener(e,u,t)}return vn((()=>{if(null==i)window.removeEventListener(e,u);else{const t=i;window.removeEventListener(e,u,t)}}))})))}const n="CUSTOM_NAVIGATION_EVENT",r=t,o=void 0,i=wn((()=>Sn(o)),[o]),u=wn((()=>En(o)),[o]),l=wn((()=>e=>{r(e)}),[r]);yn(bn((()=>{if(null==i)window.addEventListener(n,l);else{const e=i;window.addEventListener(n,l,e)}return vn((()=>{if(null==u)window.removeEventListener(n,l);else{const e=u;window.removeEventListener(n,l,e)}}))})));const s=e.application;return null==s?null:s}),void 0,void 0,void 0);class Tn extends pt{constructor(e,t){super(),this.CurrentPage=e,this.Auth=t}}class Nn extends ht{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","AuthMsg"]}}class Mn extends ht{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["DefaultChecked","DefaultValue","Accept","AcceptCharset","AccessKey","Action","AllowFullScreen","AllowTransparency","Alt","aria-atomic","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","Async","AutoComplete","AutoFocus","AutoPlay","Capture","CellPadding","CellSpacing","CharSet","Challenge","Checked","ClassID","ClassName","className","Cols","ColSpan","Content","ContentEditable","ContextMenu","Controls","Coords","CrossOrigin","data-toggle","DateTime","Default","Defer","Dir","Disabled","Download","Draggable","EncType","Form","FormAction","FormEncType","FormMethod","FormNoValidate","FormTarget","FrameBorder","Headers","Height","Hidden","High","Href","HrefLang","HtmlFor","HttpEquiv","Icon","Id","InputMode","Integrity","Is","KeyParams","KeyType","Kind","Label","Lang","List","Loop","Low","Manifest","MarginHeight","MarginWidth","Max","MaxLength","Media","MediaGroup","Method","Min","MinLength","Multiple","Muted","Name","NoValidate","Open","Optimum","Pattern","Placeholder","Poster","Preload","RadioGroup","ReadOnly","Rel","Required","Role","Rows","RowSpan","Sandbox","Scope","Scoped","Scrolling","Seamless","Selected","Shape","Size","Sizes","Span","SpellCheck","Src","SrcDoc","SrcLang","SrcSet","Start","Step","Summary","TabIndex","Target","Title","Type","UseMap","Value","value","Width","Wmode","Wrap","About","Datatype","Inlist","Prefix","Property","Resource","Typeof","Vocab","AutoCapitalize","AutoCorrect","AutoSave","ItemProp","ItemScope","ItemType","ItemID","ItemRef","Results","Security","Unselectable","Custom"]}}function Pn(e){return function(e,n){return new Mn(64,hn(((e,t)=>e+" "+t),"",(r=e=>{const t=e[0];return e[1]&&"string"==typeof(n=t)&&0!==n.length?t:void 0;var n},o=n,_n((()=>sn(o)),(e=>{let t;for(;null==t&&e["System.Collections.IEnumerator.MoveNext"]();)t=r(e["System.Collections.Generic.IEnumerator`1.get_Current"]());return t}),(e=>{t(e)})))));var r,o}(0,e)}function Un(e,t,n){Yt((n=>{try{n(t)}catch(t){e(t)}}),n)}function Dn(){return Vt()}function Rn(e,t){return Zt((t=>n=>{t((t=>{n(e(t))}))}),t)}function Hn(e){return qt((t=>{t(e)}))}function Ln(e,t,n,r){return qt((o=>{e(t).then((e=>o(n(e)))).catch((e=>o(r(e))))}))}function jn(e,t,n,r,o){const i=function(e,t,n,r){const o=0|g(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|g(n,t);return i&&o<=0||!i&&o>=0?[n,r(n,e)]:void 0}}(t,n,r,o);return cn((()=>{return t=i,n=e,ln((()=>function(e,t){let n,r=t;return on((()=>{if(null!=n){const e=n[0];return n[1],e}return en()}),(()=>{if(n=e(r),null!=n){n[0];const e=n[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}class Fn extends ht{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class Gn{constructor(e){var t,n;this.state=new Fn(0,(t=new Array(v(p,e,10)),n=v(p,e,10),t.fill(null,0,0+n)),0)}}function Wn(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 Fn(0,o,n):new Fn(1,o,n,i),E(o[r])}}function Vn(e,n){const r=e.state;if(1===r.tag){const u=0|r.fields[1],l=0|r.fields[2],s=r.fields[0];s[u]=n;const c=(u+1)%s.length|0;e.state=c===l?new Fn(1,(o=l,i=s,Array.from(cn((()=>dn(mn(o,i),cn((()=>{return dn((e=o,n=i,r=()=>sn(n),u=(t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return E(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Xt+"\\nParameter name: source")}},l=e=>{t(e)},ln((()=>{let e=-1;return un(r,(t=>(e=e+1|0,u(e,t))),l)}))),cn((()=>{return e=e=>fn(null),0,1,r=i.length,n=jn(0,1,r,0,((e,t)=>e+t)),cn((()=>an(function(e,n){return _n((()=>sn(n)),(t=>t["System.Collections.IEnumerator.MoveNext"]()?E(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{t(e)}))}(e,n))));var e,n,r})));var e,n,r,u,l}))))))),s.length,0):new Fn(1,s,c,l)}else{const t=0|r.fields[1],o=r.fields[0];o[t]=n;const i=(t+1)%o.length|0;e.state=new Fn(1,o,i,t)}var o,i}class qn 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.syncDispatch=u}}function zn(n,r){const i=r.init(n),u=i[0],l=new Gn(10);let s=!1,c=u;const a=function(e,t,n){if(null!=t){if(y in t){t=t[y];for(let e=0;e<n.length;e++)t=t(n[e]);return t}return b(n,1,t)}}(0,r.syncDispatch,[e=>{if(s)Vn(l,e);else{s=!0;let t=E(e);for(;null!=t;){const e=k(t);try{const t=r.update(e,c),n=t[0];r.setState(n,a),Un((t=>{r.onError([At(Ot("Error in command while handling: %A"))(e),t])}),a,t[1]),c=n}catch(t){r.onError([At(Ot("Unable to process the message: %A"))(e),t])}t=Wn(l)}s=!1}}]);r.setState(u,a),Un((e=>{r.onError(["Error intitializing:",e])}),a,function(n){const r=Lt();let i=r;const u=e=>{i=Jt(((e,t)=>{const n=new Rt(t,void 0);return e.tail=n,n}),i,e)};if(e(n))n.forEach(u);else if(n instanceof Rt)Yt(u,n);else{const e=o(n);try{for(;e["System.Collections.IEnumerator.MoveNext"]();)u(e["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{t(e)}}const l=i,s=Lt();return l.tail=s,Wt(r)}(Kt([(()=>{try{return r.subscribe(u)}catch(e){return r.onError(["Unable to subscribe:",e]),Dn()}})(),i[1]])))}class $n extends pt{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class Bn extends B{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}class Jn extends ht{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Token"]}}class Yn extends ht{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["QueryString"]}}class Kn extends ht{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","OidcSignIn","OidcSignInRedirectCallback","OidcSignInSilentCallback","NotFound"]}}function Zn(e){let t,n,r;switch(zt(e)?t=0:"oidc"===$t(e)?zt(Bt(e))?t=3:"callback"===$t(Bt(e))?zt(Bt(Bt(e)))?t=3:zt(Bt(Bt(Bt(e))))?(t=1,n=$t(Bt(Bt(e)))):t=3:"silent-refresh"===$t(Bt(e))?zt(Bt(Bt(e)))?t=3:zt(Bt(Bt(Bt(e))))?(t=2,r=$t(Bt(Bt(e)))):t=3:t=3:t=3,t){case 0:{const e=window.location.search,t=new URLSearchParams(e),n=t.get("token");if(null==n)return new Kn(0);{const e=n;return pn((e=>{!function(e,t){sessionStorage.setItem("success-redirection-url",t)}(0,e)}),x(t.get("success-redirection-url"))),new Kn(1,new Jn(0,e))}}case 1:return new Kn(2,new Yn(0,n));case 2:return new Kn(3,new Yn(0,r));case 3:return new Kn(4)}}class Qn extends ht{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class Xn extends ht{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}class er extends pt{constructor(e){super(),this.AccessToken=e}}function tr(e){return new er(e.access_token)}class nr extends pt{constructor(e){super(),this.Auth=e}}class rr extends ht{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GetUser","SignInRedirect","SignInRedirectCallback","SignInSilentCallback"]}}class or extends ht{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Ok","Error"]}}const ir=(()=>{const e={};return e.store=E(window.sessionStorage),e})();function ur(){return new UserManager(function(){const e=function(e){return Mt(e,"/")?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=E(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(ir),t}())}function lr(e){return e.length>0?Dt(e,1):e}function sr(e){return ur().signinRedirect(E({extraQueryParams:{irt:e.fields[0]}}))}function cr(e){return ur().signinRedirectCallback(lr(e.fields[0]))}function ar(e){return ur().signinSilentCallback(lr(e.fields[0]))}function fr(){return ur().getUser()}var _r;!function(e){zn(void 0,e)}(("bank-details-app",_r=function(e,t,n){return new qn((function(){const e=Zn(On(window.location.hash,1)),t=function(){const e=Zn(On(window.location.hash,1));return[new nr(new Qn(0)),1===e.tag?Hn(new rr(1,new Xn(0),e.fields[0])):2===e.tag?Hn(new rr(2,new Xn(0),e.fields[0])):3===e.tag?Hn(new rr(3,new Xn(0),e.fields[0])):Hn(new rr(0,new Xn(0)))]}();return[new Tn(e,t[0]),Rn((e=>new Nn(1,e)),t[1])]}),t,(e=>Dn()),n,((e,t)=>{n(e,t)}),(e=>{var t,n;t=e[0],n=e[1],console.error(E(t),n)}),w(2,(e=>e)))}(0,(function(e,t){if(1===e.tag){const n=function(e,t){const n=e=>[new nr(new Qn(2,new or(1,e))),Dn()];return 1===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(At(Ot("SignInRedirect failed: %s"))(e.fields[0].fields[0].fields[0])):[t,Dn()]:[new nr(new Qn(1)),(r=sr,o=e.fields[1],i=t=>new rr(1,new Xn(1,new or(1,t.message)),e.fields[1]),qt((e=>{r(o).catch((t=>{e(i(t))}))})))]:2===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(At(Ot("failed sign in: %s"))(e.fields[0].fields[0].fields[0])):[new nr(new Qn(2,new or(0,tr(e.fields[0].fields[0].fields[0])))),qt((e=>{!function(e,t,n){history.pushState(void 0,"",In(e,1));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}(qt(""))}))]:[new nr(new Qn(1)),Ln(cr,e.fields[1],(t=>(window.gtag&&window.gtag("event","oidc_sign_in",{}),new rr(2,new Xn(1,new or(0,t)),e.fields[1]))),(t=>new rr(2,new Xn(1,new or(1,t.message)),e.fields[1])))]:3===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(At(Ot("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 nr(new Qn(2,new or(0,tr(e.fields[0].fields[0].fields[0])))),Dn()]:[t,Ln(ar,e.fields[1],(t=>new rr(3,new Xn(1,new or(0,t)),e.fields[1])),(t=>new rr(3,new Xn(1,new or(1,t.message)),e.fields[1])))]:1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(At(Ot("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 nr(new Qn(2,new or(0,tr(e.fields[0].fields[0].fields[0])))),Dn()]:[new nr(new Qn(1)),Ln(fr,void 0,(e=>new rr(0,new Xn(1,new or(0,e)))),(e=>new rr(0,new Xn(1,new or(1,e.message)))))];var r,o,i}(e.fields[0],t.Auth);return[new Tn(t.CurrentPage,n[0]),Rn((e=>new Nn(1,e)),n[1])]}return[new Tn(Zn(e.fields[0]),t.Auth),Dn()]}),(function(e,t){let n,r,o;const i=[N,T];let u,l;switch(null!=i[0]&&null!=i[1]?(u=0,l=i[0]):u=1,u){case 0:switch(e.CurrentPage.tag){case 1:case 2:case 3:o=q("div",{},"Please wait...");break;case 4:o=q("h1",{},"Not found");break;default:{const t=e.Auth.Auth;let n,r;switch(2===t.tag&&0===t.fields[0].tag?(n=0,r=t.fields[0].fields[0]):n=1,n){case 0:s=[],o=q("bank-component",gt([new vt(0,l),new vt(1,r.AccessToken)],1),...s);break;case 1:o=q("h1",{},"Unauthorised")}}}break;case 1:o=q("h1",{},"Invalid attribute configuration")}var s;return An(function(e){const t={};for(const n of e)t[n[0]]=n[1];return t}(Kt([["onUrlChanged",e=>{t(new Nn(0,e))}],(n=qt((r=[Pn([["container-lg",!0],["p-5",!0]])],q("div",gt(r,1),o))),["application",q($,{},...n)])])))})),function(e,t,n){return function(e,t){return new qn(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}(((r,o)=>{tt(e((e=>t=>e===t),function(e){return C(2,e.view)}(n),r,o),document.getElementById(t))}),n)}(((e,t,n,r)=>function(e,t,n,r){const o=new $n(n,(()=>t(n,r)),e);return q(Bn,o)}(w(2,e),w(2,t),n,r)),"bank-details-app",_r)))})();
|
1
|
+
(()=>{"use strict";function e(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function t(e){(function(e){return null!=e&&"function"==typeof e.Dispose})(e)&&e.Dispose()}function n(e,t){var n,r;return(null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===(null===(r=Object.getPrototypeOf(t))||void 0===r?void 0:r.constructor)}class r{constructor(e){this.iter=e}"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 o(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new r(e[Symbol.iterator]())}function i(e){return{[Symbol.iterator](){return this},next(){const t=e["System.Collections.IEnumerator.MoveNext"]();return{done:!t,value:t?e["System.Collections.IEnumerator.get_Current"]():void 0}}}}function u(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function s(e){const t=e;return"number"==typeof t.offset?t.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}class l{static id(e){return l.idMap.has(e)||l.idMap.set(e,++l.count),l.idMap.get(e)}}function c(e){return 2654435761*e|0}function a(e){return 0===e.length?0:e.reduce(((e,t)=>(e<<5)+e^t))}function f(t){var n;if(null==t)return 0;switch(typeof t){case"boolean":return t?1:0;case"number":return c(t);case"string":return function(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=33*n^e.charCodeAt(t++);return n}(t);default:if(function(e){return"function"==typeof e.GetHashCode}(t))return t.GetHashCode();if(e(t))return function(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=f(e[r]);return a(n)}(t);if(t instanceof Date)return function(e){return e.getTime()}(t);if((null===(n=Object.getPrototypeOf(t))||void 0===n?void 0:n.constructor)===Object){const e=Object.values(t).map((e=>f(e)));return a(e)}return c(l.id(t))}}function _(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,d)}function d(t,n){var r;return t===n||(null==t?null==n:null!=n&&"object"==typeof t&&(function(e){return"function"==typeof e.Equals}(t)?t.Equals(n):e(t)?e(n)&&_(t,n):t instanceof Date?n instanceof Date&&0===h(t,n):(null===(r=Object.getPrototypeOf(t))||void 0===r?void 0:r.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]||!d(e[n[o]],t[r[o]]))return!1;return!0}(t,n)))}function h(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+s(e),r=t.getTime()+s(t)),n===r?0:n<r?-1:1}function p(e,t){return e===t?0:e<t?-1:1}function v(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,m)}function m(t,n){var r;return t===n?0:null==t?null==n?0:-1:null==n?1:"object"!=typeof t?t<n?-1:1:function(e){return"function"==typeof e.CompareTo}(t)?t.CompareTo(n):e(t)?e(n)?v(t,n):-1:t instanceof Date?n instanceof Date?h(t,n):-1:(null===(r=Object.getPrototypeOf(t))||void 0===r?void 0:r.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=m(e[u],t[u]),0!==i)return i}return 0}(t,n):-1}function g(e,t,n){return e(t,n)>0?t:n}l.idMap=new WeakMap,l.count=0;const y=Symbol("curried");function w(e,t){if(null==t||t.length>1)return t;const n=(...n)=>{let r=t;for(let t=0;t<e;t++)r=r(n[t]);return r};return n[y]=t,n}function b(e,t,n){return r=>1===t?n(...e.concat([r])):b(e.concat([r]),t-1,n)}function C(e,t){return null==t||1===t.length?t:y in t?t[y]:b([],e,t)}function E(e,t,n){if(null!=t){if(y in t){t=t[y];for(let e=0;e<n.length;e++)t=t(n[e]);return t}return b(n,e,t)}}class S{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return f(this.value)}Equals(e){return null!=e&&d(this.value,e instanceof S?e.value:e)}CompareTo(e){return null==e?1:m(this.value,e instanceof S?e.value:e)}}function k(e){return null==e||e instanceof S?new S(e):e}function x(e){if(null==e)throw new Error("Option has no value");return e instanceof S?e.value:e}function O(e){return null==e?[]:[x(e)]}function N(e,t){return null!=e?x(e):t}function I(e,t){return null!=t?k(e(x(t))):void 0}const T=function(e){return null==e?void 0:e}(document.querySelector("#bank-details-app")),A=I((e=>e.getAttribute("data-identity-url")),T),U=I((e=>e.getAttribute("data-backend-url")),T);var P,M,D,H,R,L,j={},G=[],F=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function V(e,t){for(var n in t)e[n]=t[n];return e}function W(e){var t=e.parentNode;t&&t.removeChild(e)}function $(e,t,n){var r,o,i,u={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:u[i]=t[i];if(arguments.length>2&&(u.children=arguments.length>3?P.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===u[i]&&(u[i]=e.defaultProps[i]);return q(e,u,r,o,null)}function q(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++D:o};return null==o&&null!=M.vnode&&M.vnode(i),i}function z(e){return e.children}function B(e,t){this.props=e,this.context=t}function J(e,t){if(null==t)return e.__?J(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?J(e):null}function Y(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return Y(e)}}function Z(e){(!e.__d&&(e.__d=!0)&&H.push(e)&&!Q.__r++||R!==M.debounceRendering)&&((R=M.debounceRendering)||setTimeout)(Q)}function Q(){for(var e;Q.__r=H.length;)e=H.sort((function(e,t){return e.__v.__b-t.__v.__b})),H=[],e.some((function(e){var t,n,r,o,i,u;e.__d&&(i=(o=(t=e).__v).__e,(u=t.__P)&&(n=[],(r=V({},o)).__v=o.__v+1,ue(u,o,r,t.__n,void 0!==u.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?J(o):i,o.__h),se(n,o),o.__e!=i&&Y(o)))}))}function X(e,t,n,r,o,i,u,s,l,c){var a,f,_,d,h,p,v,m=r&&r.__k||G,g=m.length;for(n.__k=[],a=0;a<t.length;a++)if(null!=(d=n.__k[a]=null==(d=t[a])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?q(null,d,null,null,d):Array.isArray(d)?q(z,{children:d},null,null,null):d.__b>0?q(d.type,d.props,d.key,null,d.__v):d)){if(d.__=n,d.__b=n.__b+1,null===(_=m[a])||_&&d.key==_.key&&d.type===_.type)m[a]=void 0;else for(f=0;f<g;f++){if((_=m[f])&&d.key==_.key&&d.type===_.type){m[f]=void 0;break}_=null}ue(e,d,_=_||j,o,i,u,s,l,c),h=d.__e,(f=d.ref)&&_.ref!=f&&(v||(v=[]),_.ref&&v.push(_.ref,null,d),v.push(f,d.__c||h,d)),null!=h?(null==p&&(p=h),"function"==typeof d.type&&d.__k===_.__k?d.__d=l=K(d,l,e):l=te(e,d,_,m,h,l),"function"==typeof n.type&&(n.__d=l)):l&&_.__e==l&&l.parentNode!=e&&(l=J(_))}for(n.__e=p,a=g;a--;)null!=m[a]&&("function"==typeof n.type&&null!=m[a].__e&&m[a].__e==n.__d&&(n.__d=J(r,a+1)),ae(m[a],m[a]));if(v)for(a=0;a<v.length;a++)ce(v[a],v[++a],v[++a])}function K(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?K(r,t,n):te(n,r,r,o,r.__e,t));return t}function ee(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){ee(e,t)})):t.push(e)),t}function te(e,t,n,r,o,i){var u,s,l;if(void 0!==t.__d)u=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),u=null;else{for(s=i,l=0;(s=s.nextSibling)&&l<r.length;l+=2)if(s==o)break e;e.insertBefore(o,i),u=i}return void 0!==u?u:o.nextSibling}function ne(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||F.test(t)?n:n+"px"}function re(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||ne(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||ne(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?ie:oe,i):e.removeEventListener(t,i?ie:oe,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function oe(e){this.l[e.type+!1](M.event?M.event(e):e)}function ie(e){this.l[e.type+!0](M.event?M.event(e):e)}function ue(e,t,n,r,o,i,u,s,l){var c,a,f,_,d,h,p,v,m,g,y,w,b,C=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(l=n.__h,s=t.__e=n.__e,t.__h=null,i=[s]),(c=M.__b)&&c(t);try{e:if("function"==typeof C){if(v=t.props,m=(c=C.contextType)&&r[c.__c],g=c?m?m.props.value:c.__:r,n.__c?p=(a=t.__c=n.__c).__=a.__E:("prototype"in C&&C.prototype.render?t.__c=a=new C(v,g):(t.__c=a=new B(v,g),a.constructor=C,a.render=fe),m&&m.sub(a),a.props=v,a.state||(a.state={}),a.context=g,a.__n=r,f=a.__d=!0,a.__h=[]),null==a.__s&&(a.__s=a.state),null!=C.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=V({},a.__s)),V(a.__s,C.getDerivedStateFromProps(v,a.__s))),_=a.props,d=a.state,f)null==C.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==C.getDerivedStateFromProps&&v!==_&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(v,g),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(v,a.__s,g)||t.__v===n.__v){a.props=v,a.state=a.__s,t.__v!==n.__v&&(a.__d=!1),a.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),a.__h.length&&u.push(a);break e}null!=a.componentWillUpdate&&a.componentWillUpdate(v,a.__s,g),null!=a.componentDidUpdate&&a.__h.push((function(){a.componentDidUpdate(_,d,h)}))}if(a.context=g,a.props=v,a.__v=t,a.__P=e,y=M.__r,w=0,"prototype"in C&&C.prototype.render)a.state=a.__s,a.__d=!1,y&&y(t),c=a.render(a.props,a.state,a.context);else do{a.__d=!1,y&&y(t),c=a.render(a.props,a.state,a.context),a.state=a.__s}while(a.__d&&++w<25);a.state=a.__s,null!=a.getChildContext&&(r=V(V({},r),a.getChildContext())),f||null==a.getSnapshotBeforeUpdate||(h=a.getSnapshotBeforeUpdate(_,d)),b=null!=c&&c.type===z&&null==c.key?c.props.children:c,X(e,Array.isArray(b)?b:[b],t,n,r,o,i,u,s,l),a.base=t.__e,t.__h=null,a.__h.length&&u.push(a),p&&(a.__E=a.__=null),a.__e=!1}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=le(n.__e,t,n,r,o,i,u,l);(c=M.diffed)&&c(t)}catch(e){t.__v=null,(l||null!=i)&&(t.__e=s,t.__h=!!l,i[i.indexOf(s)]=null),M.__e(e,t,n)}}function se(e,t){M.__c&&M.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){M.__e(e,t.__v)}}))}function le(e,t,n,r,o,i,u,s){var l,c,a,f=n.props,_=t.props,d=t.type,h=0;if("svg"===d&&(o=!0),null!=i)for(;h<i.length;h++)if((l=i[h])&&"setAttribute"in l==!!d&&(d?l.localName===d:3===l.nodeType)){e=l,i[h]=null;break}if(null==e){if(null===d)return document.createTextNode(_);e=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,_.is&&_),i=null,s=!1}if(null===d)f===_||s&&e.data===_||(e.data=_);else{if(i=i&&P.call(e.childNodes),c=(f=n.props||j).dangerouslySetInnerHTML,a=_.dangerouslySetInnerHTML,!s){if(null!=i)for(f={},h=0;h<e.attributes.length;h++)f[e.attributes[h].name]=e.attributes[h].value;(a||c)&&(a&&(c&&a.__html==c.__html||a.__html===e.innerHTML)||(e.innerHTML=a&&a.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||re(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||re(e,i,t[i],n[i],r)}(e,_,f,o,s),a)t.__k=[];else if(h=t.props.children,X(e,Array.isArray(h)?h:[h],t,n,r,o&&"foreignObject"!==d,i,u,i?i[0]:n.__k&&J(n,0),s),null!=i)for(h=i.length;h--;)null!=i[h]&&W(i[h]);s||("value"in _&&void 0!==(h=_.value)&&(h!==e.value||"progress"===d&&!h||"option"===d&&h!==f.value)&&re(e,"value",h,f.value,!1),"checked"in _&&void 0!==(h=_.checked)&&h!==e.checked&&re(e,"checked",h,f.checked,!1))}return e}function ce(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){M.__e(e,n)}}function ae(e,t,n){var r,o;if(M.unmount&&M.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||ce(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){M.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&ae(r[o],t,"function"!=typeof e.type);n||null==e.__e||W(e.__e),e.__e=e.__d=void 0}function fe(e,t,n){return this.constructor(e,n)}function _e(e,t,n){var r,o,i;M.__&&M.__(e,t),o=(r="function"==typeof n)?null:n&&n.__k||t.__k,i=[],ue(t,e=(!r&&n||t).__k=$(z,null,[e]),o||j,j,void 0!==t.ownerSVGElement,!r&&n?[n]:o?null:t.firstChild?P.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r),se(i,e)}function de(e,t){_e(e,t,de)}function he(e,t,n){var r,o,i,u=V({},e.props);for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:u[i]=t[i];return arguments.length>2&&(u.children=arguments.length>3?P.call(arguments,2):n),q(e.type,u,r||e.key,o||e.ref,null)}P=G.slice,M={__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}},D=0,B.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=V({},this.state),"function"==typeof e&&(e=e(V({},n),this.props)),e&&V(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),Z(this))},B.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Z(this))},B.prototype.render=z,H=[],Q.__r=0,L=0;var pe,ve,me,ge,ye=0,we=[],be=[],Ce=M.__b,Ee=M.__r,Se=M.diffed,ke=M.__c,xe=M.unmount;function Oe(e,t){M.__h&&M.__h(ve,e,ye||t),ye=0;var n=ve.__H||(ve.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:be}),n.__[e]}function Ne(e){return ye=1,Ie(Le,e)}function Ie(e,t,n){var r=Oe(pe++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Le(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=ve,!ve.u)){ve.u=!0;var o=ve.shouldComponentUpdate;ve.shouldComponentUpdate=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(e){return e.__c}));return(i.every((function(e){return!e.__N}))||!i.every((function(e){if(!e.__N)return!0;var t=e.__[0];return e.__=e.__N,e.__N=void 0,t===e.__[0]})))&&(!o||o.call(this,e,t,n))}}return r.__N||r.__}function Te(e,t){var n=Oe(pe++,3);!M.__s&&Re(n.__H,t)&&(n.__=e,n.i=t,ve.__H.__h.push(n))}function Ae(e,t){var n=Oe(pe++,4);!M.__s&&Re(n.__H,t)&&(n.__=e,n.i=t,ve.__h.push(n))}function Ue(e,t){var n=Oe(pe++,7);return Re(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function Pe(){for(var e;e=we.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(De),e.__H.__h.forEach(He),e.__H.__h=[]}catch(t){e.__H.__h=[],M.__e(t,e.__v)}}M.__b=function(e){ve=null,Ce&&Ce(e)},M.__r=function(e){Ee&&Ee(e),pe=0;var t=(ve=e.__c).__H;t&&(me===ve?(t.__h=[],ve.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=be,e.__N=e.i=void 0}))):(t.__h.forEach(De),t.__h.forEach(He),t.__h=[])),me=ve},M.diffed=function(e){Se&&Se(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==we.push(t)&&ge===M.requestAnimationFrame||((ge=M.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),Me&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Me&&(t=requestAnimationFrame(n))})(Pe)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==be&&(e.__=e.__V),e.i=void 0,e.__V=be}))),me=ve=null},M.__c=function(e,t){t.some((function(e){try{e.__h.forEach(De),e.__h=e.__h.filter((function(e){return!e.__||He(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],M.__e(n,e.__v)}})),ke&&ke(e,t)},M.unmount=function(e){xe&&xe(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{De(e)}catch(e){t=e}})),t&&M.__e(t,n.__v))};var Me="function"==typeof requestAnimationFrame;function De(e){var t=ve,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),ve=t}function He(e){var t=ve;e.__c=e.__(),ve=t}function Re(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function Le(e,t){return"function"==typeof t?t(e):t}function je(e,t){for(var n in t)e[n]=t[n];return e}function Ge(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 Fe(e){this.props=e}(Fe.prototype=new B).isPureReactComponent=!0,Fe.prototype.shouldComponentUpdate=function(e,t){return Ge(this.props,e)||Ge(this.state,t)};var Ve=M.__b;M.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ve&&Ve(e)};var We="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,$e=function(e,t){return null==e?null:ee(ee(e).map(t))},qe={map:$e,forEach:$e,count:function(e){return e?ee(e).length:0},only:function(e){var t=ee(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:ee},ze=M.__e;M.__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);ze(e,t,n,r)};var Be=M.unmount;function Je(){this.__u=0,this.t=null,this.__b=null}function Ye(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ze(){this.u=null,this.o=null}M.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),Be&&Be(e)},(Je.prototype=new B).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=Ye(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]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(u,u)},Je.prototype.componentWillUnmount=function(){this.t=[]},Je.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]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=je({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&$(z,null,e.fallback);return o&&(o.__h=null),[$(z,null,t.__a?null:e.children),o]};var Qe=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Xe(e){return this.getChildContext=function(){return e.context},e.children}function Ke(e){var t=this,n=e.i;t.componentWillUnmount=function(){_e(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),_e($(Xe,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(Ze.prototype=new B).__a=function(e){var t=this,n=Ye(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Qe(t,e,r)):o()};n?n(i):i()}},Ze.prototype.render=function(e){this.u=null,this.o=new Map;var t=ee(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Ze.prototype.componentDidUpdate=Ze.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Qe(e,n,t)}))};var et="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,tt=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|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]/,nt="undefined"!=typeof document,rt=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function ot(e,t,n){return null==t.__k&&(t.textContent=""),_e(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 it=M.event;function ut(){}function st(){return this.cancelBubble}function lt(){return this.defaultPrevented}M.event=function(e){return it&&(e=it(e)),e.persist=ut,e.isPropagationStopped=st,e.isDefaultPrevented=lt,e.nativeEvent=e};var ct,at={configurable:!0,get:function(){return this.class}},ft=M.vnode;M.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in r={},n){var u=n[i];nt&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in n&&null==u||("defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===u?u="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!rt(n.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():o&&tt.test(i)?i=i.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===u&&(u=void 0),/^oninput$/i.test(i)&&(i=i.toLowerCase(),r[i]&&(i="oninputCapture")),r[i]=u)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=ee(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=ee(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(at.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",at))}e.$$typeof=et,ft&&ft(e)};var _t=M.__r;M.__r=function(e){_t&&_t(e),ct=e.__c};var dt={ReactCurrentDispatcher:{current:{readContext:function(e){return ct.__n[e.__c].props.value}}}};function ht(e){return!!e&&e.$$typeof===et}function pt(e){e()}const vt={useState:Ne,useReducer:Ie,useEffect:Te,useLayoutEffect:Ae,useInsertionEffect:Ae,useTransition:function(){return[!1,pt]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,t){var n=t(),r=Ne({s:{__:n,h:t}}),o=r[0].s,i=r[1];return Ae((function(){o.__=n,o.h=t,o.__!==t()&&i({s:o})}),[e,n,t]),Te((function(){return o.__!==o.h()&&i({s:o}),e((function(){o.__!==o.h()&&i({s:o})}))}),[e]),n},startTransition:pt,useRef:function(e){return ye=5,Ue((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){ye=6,Ae((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))},useMemo:Ue,useCallback:function(e,t){return ye=8,Ue((function(){return e}),t)},useContext:function(e){var t=ve.context[e.__c],n=Oe(pe++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(ve)),t.props.value):e.__},useDebugValue:function(e,t){M.useDebugValue&&M.useDebugValue(t?t(e):e)},version:"17.0.2",Children:qe,render:ot,hydrate:function(e,t,n){return de(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(_e(null,e),!0)},createPortal:function(e,t){var n=$(Ke,{__v:e,i:t});return n.containerInfo=t,n},createElement:$,createContext:function(e,t){var n={__c:t="__cC"+L++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(Z)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return $.bind(null,e)},cloneElement:function(e){return ht(e)?he.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:z,isValidElement:ht,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:B,PureComponent:Fe,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:Ge(this.props,e)}function r(t){return this.shouldComponentUpdate=n,$(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=je({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=We,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:z,Suspense:Je,SuspenseList:Ze,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 $(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:dt};function mt(e,t=0){var n,r;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+=mt(r);else{if(100===t){n+="; ...";break}n+="; "+mt(r)}t++}return n+"]"}(e);{const o=null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor;return o===Object&&t<10?"{ "+Object.entries(e).map((([e,n])=>e+" = "+mt(n,t+1))).join("\n ")+" }":null!==(r=null==o?void 0:o.name)&&void 0!==r?r:""}}return String(e)}class gt{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=mt(t[0]),r=n.indexOf(" ")>=0):n=t.map((e=>mt(e))).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>f(e)));return e.splice(0,0,c(this.tag)),a(e)}Equals(e){return this===e||!!n(this,e)&&this.tag===e.tag&&_(this.fields,e.fields)}CompareTo(e){return this===e?0:n(this,e)?this.tag===e.tag?v(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class yt{toJSON(){return function(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}(this)}toString(){return e=this,"{ "+Object.entries(e).map((([e,t])=>e+" = "+mt(t))).join("\n ")+" }";var e}GetHashCode(){return function(e){const t=Object.values(e).map((e=>f(e)));return a(t)}(this)}Equals(e){return function(e,t){if(e===t)return!0;if(n(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!d(e[n[r]],t[n[r]]))return!1;return!0}return!1}(this,e)}CompareTo(e){return function(e,t){if(e===t)return 0;if(n(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=m(e[n[r]],t[n[r]]);if(0!==o)return o}return 0}return-1}(this,e)}}function wt(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 gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["backend-url","access-token"]}}function Ct(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+u(~~(e/36e5),2)+":"+u(n,2)}function Et(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 St(e,t,n){return t.replace(/(\w)\1*/g,(t=>{let r=Number.NaN;switch(t.substring(0,1)){case"y":const o=n?e.getUTCFullYear():e.getFullYear();r=t.length<4?o%100:o;break;case"M":r=(n?e.getUTCMonth():e.getMonth())+1;break;case"d":r=n?e.getUTCDate():e.getDate();break;case"H":r=n?e.getUTCHours():e.getHours();break;case"h":const i=n?e.getUTCHours():e.getHours();r=i>12?i%12:i;break;case"m":r=n?e.getUTCMinutes():e.getMinutes();break;case"s":r=n?e.getUTCSeconds():e.getSeconds();break;case"f":r=n?e.getUTCMilliseconds():e.getMilliseconds()}return Number.isNaN(r)?t:r<10&&t.length>1?"0"+r:""+r}))}const kt=Symbol("numeric");function xt(e,t){return"number"==typeof e?e.toPrecision(t):e[kt]().toPrecision(t)}function Ot(e,t){return"number"==typeof e?e.toExponential(t):e[kt]().toExponential(t)}function Nt(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[kt]().toHex()}function It(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}const Tt=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g;function At(e){return{input:e,cont:(t=e,e=>{Tt.lastIndex=0;const n=[],r=[];let o=0,i=Tt.exec(t);for(;i;){const e=i.index+(i[1]||"").length;n.push(t.substring(o,e).replace(/%%/g,"%")),r.push(i),o=Tt.lastIndex,Tt.lastIndex-=1,i=Tt.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(o).replace(/%%/g,"%")),Mt(e,n,r))})};var t}function Ut(e){return function(e,t){return"string"==typeof t?e(t):t.cont(e)}((e=>e),e)}function Pt(e,t,n,r,o){let i="";if(t=t||"",o=o||"",function(e){return"number"==typeof e||(null==e?void 0:e[kt])}(e))switch("x"!==o.toLowerCase()&&(function(e,t){return function(e,t){return"number"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}(e,t)<0}(e,0)?(e=function(e,t){return"number"==typeof e?-1*e:e[kt]().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):e[kt]().toFixed(t)}(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?xt(e,r):xt(e);break;case"e":case"E":e=null!=r?Ot(e,r):Ot(e);break;case"x":e=Nt(e);break;case"X":e=Nt(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?function(e,t,n){return null!=e.offset?function(e,t){var n,r,o;const i=new Date(e.getTime()+(null!==(n=e.offset)&&void 0!==n?n:0));if("string"!=typeof t)return i.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+Ct(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==t.length)return St(i,t,!0);switch(t){case"D":case"d":return Et(i,"first");case"T":case"t":return Et(i,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+Ct(t)}(i,null!==(o=e.offset)&&void 0!==o?o: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 St(e,t,n);switch(t){case"D":case"d":return n?Et(e,"first"):e.toLocaleDateString();case"T":case"t":return n?Et(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 u(e.getFullYear(),4)+"-"+u(e.getMonth()+1,2)+"-"+u(e.getDate(),2)+"T"+u(e.getHours(),2)+":"+u(e.getMinutes(),2)+":"+u(e.getSeconds(),2)+"."+u(e.getMilliseconds(),3)+(t?Ct(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}(e):mt(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=Rt(e,n-i.length,u,o)):Rt(i+e,n,u,o)}return e}function Mt(e,t,n,r="",o=-1){return(...i)=>{let u=r;const s=t.slice(),l=n.slice();for(const e of i){const[,,t,n,r,i]=l[0];let c=n;if(o>=0)c=o,o=-1;else if("*"===c){if(e<0)throw new Error("Non-negative number required");o=e;continue}u+=s[0],u+=Pt(e,t,c,r,i),s.splice(0,1),l.splice(0,1)}return 0===l.length?(u+=s[0],e(u)):Mt(e,s,l,u,o)}}function Dt(e,t){const n=e.lastIndexOf(t);return n>=0&&n===e.length-t.length}function Ht(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function Rt(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 Lt(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)}class jt extends yt{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+Ht("; ",this)+"]"}Equals(e){return this===e||((e,t)=>{e:for(;;){const n=e,r=t,o=[n.tail,r.tail];if(null!=o[0]){if(null!=o[1]){const i=o[0],u=o[1];if(d(n.head,r.head)){e=i,t=u;continue e}return!1}return!1}return null==o[1]}})(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=u;if(r>18)return 0|o;e=r+1,t=(o<<1)+f(i.head)+631*r,n=s}}})(0,0,this)}toJSON(e){return Array.from(this)}CompareTo(e){return 0|((e,t)=>{e:for(;;){const n=e,r=t,o=[n.tail,r.tail];if(null!=o[0]){if(null!=o[1]){const i=o[0],u=o[1],s=0|m(n.head,r.head);if(0===s){e=i,t=u;continue e}return 0|s}return 1}return null!=o[1]?-1:0}})(this,e)}GetEnumerator(){return new Gt(this)}[Symbol.iterator](){return i(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return o(this)}}class Gt{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=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 Ft(){return new jt(null,void 0)}function Vt(e,t){return new jt(e,t)}function Wt(e){return null==e.tail}function $t(e){if(null!=e.tail)return e.head;throw new Error("Collection was empty.\\nParameter name: list")}function qt(e){const t=e.tail;if(null!=t)return t;throw new Error("Collection was empty.\\nParameter name: list")}function zt(){return Ft()}function Bt(e){return Vt(e,Ft())}function Jt(e){return Wt(e)}function Yt(e){return $t(e)}function Zt(e){return qt(e)}function Qt(e,t,n){let r=t,o=n;for(;!Wt(o);)r=e(r,$t(o)),o=qt(o);return r}function Xt(e,t){Qt(((t,n)=>{e(n)}),void 0,t)}function Kt(e){return function(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=Vt(e[t],n);return n}(e,Ft())}function en(e,t){const n=Ft(),r=Qt(((t,n)=>{const r=new jt(e(n),void 0);return t.tail=r,r}),n,t),o=Ft();return r.tail=o,qt(n)}function tn(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(t[r],n[r]),r=r+1|0;return o}}const nn="The input sequence has an insufficient number of elements.";function rn(){throw new Error("Enumeration has not started. Call MoveNext.")}function on(){throw new Error("Enumeration already finished.")}class un{constructor(e){this.f=e}toString(){let e=0,n="seq [";const r=o(this);try{for(;e<4&&r["System.Collections.IEnumerator.MoveNext"]();)e>0&&(n+="; "),n+=mt(r["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(n+="; ..."),n+"]"}finally{t(r)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return i(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class sn{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 ln(e,t,n){return new sn(e,t,n)}function cn(e,t,n){let r,o=!1,i=k(e());const u=()=>{if(null!=i){const e=x(i);try{n(e)}finally{i=void 0}}},s=()=>{try{u()}finally{r=void 0}};return ln((()=>(o||rn(),null!=r?x(r):on())),(()=>{if(o||(o=!0),null!=i){const e=x(i);let n;try{n=t(e)}catch(e){throw s(),e}return null!=n?(r=n,!0):(s(),!1)}return!1}),u)}function an(e){return function(e){return new un(e)}(e)}function fn(e){return t="source",null==e&&function(e){throw new Error(e)}(t),o(e);var t}function _n(e){return an((()=>o(e())))}function dn(e){return an((()=>function(e){let n,r,i,u=!1,s=!1;const l=()=>{if(s=!0,null!=r){const e=r;try{t(e)}finally{r=void 0}}if(null!=n){const e=n;try{t(e)}finally{n=void 0}}};return ln((()=>(u?s&&on():rn(),null!=i?x(i):on())),(()=>{let c;if(u||(u=!0),s)return!1;{let u;for(;null==u;){const s=[n,r];if(null!=s[0])if(null!=s[1]){const e=s[1];if(e["System.Collections.IEnumerator.MoveNext"]())i=k(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),u=!0;else try{t(e)}finally{r=void 0}}else{const e=s[0];e["System.Collections.IEnumerator.MoveNext"]()?(c=e["System.Collections.Generic.IEnumerator`1.get_Current"](),r=o(c)):(l(),u=!1)}else n=o(e)}return x(u)}}),(()=>{s||l()}))}(e)))}function hn(e){return _n((()=>function(e,t){const n=function(e,t){return"function"==typeof e?new e(t):new Array(t)}(void 0,1);return n[0]=e,n}(e)))}function pn(e,t){return dn([e,t])}function vn(e,n){!function(e,n,r){const o=fn(r);try{let r=n;for(;o["System.Collections.IEnumerator.MoveNext"]();)r=e(r,o["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{t(o)}}(((t,n)=>{e(n)}),void 0,n)}function mn(e,n){return r=()=>fn(n),o=t=>t["System.Collections.IEnumerator.MoveNext"]()?k(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,i=e=>{t(e)},an((()=>cn(r,o,i)));var r,o,i}function gn(e,n){return an((()=>{const r=fn(n);try{for(let t=1;t<=e;t++)if(!r["System.Collections.IEnumerator.MoveNext"]())throw new Error(nn+"\\nParameter name: source");return function(e,n){return ln((()=>n["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>n["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{t(n)}finally{e()}}))}((()=>{}),r)}catch(e){throw t(r),e}}))}Symbol.iterator;const yn=vt;function wn(e){return{Dispose(){e()}}}function bn(e){var t;t=e,Te((()=>{const e=t();return()=>{e.Dispose()}}))}function Cn(e,t){const n=N(t,[]);return yn.useMemo(e,n)}function En(e){const t=(r=e,yn.useRef(r)),n=function(e,n){const r=N([],[]);return yn.useCallback((e=>t.current(e)),r)}();var r,o,i;return o=()=>{t.current=e},i=e=>(o(),wn((()=>{}))),Ae((()=>{const e=i();return()=>{e.Dispose()}})),n}const Sn=(()=>{try{if("undefined"!=typeof window&&"function"==typeof window.addEventListener){const e={passive:!0};window.addEventListener("testPassiveEventSupport",(e=>{}),e),window.removeEventListener("testPassiveEventSupport",(e=>{}))}}catch(e){}return!1})();function kn(e){return I((e=>e.passive&&!Sn?{capture:e.capture,once:e.once,passive:!1}:e),e)}function xn(e){return null!=(t=e)?(e=>e.capture?{capture:!0}:void 0)(x(t)):void 0;var t}function On(e,t){return 0===t.indexOf(e)?t:void 0}function Nn(e,t){return Dt(t,e)?t:void 0}function In(e,t){return function(e){return 1===e?e=>{let t,n,r,o,i,u;return t=On("/",e),null!=t?(n=t,"#"+n):(r=On("#/",e),null!=r?(o=r,o):(i=On("#",e),null!=i?(u=i,"#/"+Lt(u,1,u.length-1)):"#/"+e))}:e=>{let t,n;return t=On("/",e),null!=t?(n=t,n):"/"+e}}(t)(Ht("/",en((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function Tn(e,t){return function(e,t){let n,r;const o=Ft();let i=o,u=t;for(;!Wt(u);){let t=e($t(u));for(;!Wt(t);)n=i,r=new jt($t(t),void 0),n.tail=r,i=r,t=qt(t);u=qt(u)}const s=i,l=Ft();return s.tail=l,qt(o)}((e=>{if("string"!=typeof(t=e)||/^\s*$/.test(t))return zt();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+It(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return zt();if(null!=On("?",t))return Bt(t);{const e=t.split("?");if(tn(((e,t)=>e===t),e,null)||1!==e.length){if(tn(((e,t)=>e===t),e,null)||2!==e.length)return zt();if(""===e[1]){const t=e[0];return Bt(decodeURIComponent(t))}{const t=e[0],n=e[1];return Kt([decodeURIComponent(t),"?"+n])}}{const t=e[0];return Bt(decodeURIComponent(t))}}}var t}),Kt(function(e,t,n,r){if(r="number"==typeof r?r:0,(n="number"==typeof n?n:void 0)&&n<0)throw new Error("Count cannot be less than zero");if(0===n)return[];const o=1==(1&r),i=2==(2&r);t=(t=t||[]).filter((e=>e)).map(It),t=t.length>0?t:["\\s"];const u=[],s=new RegExp(t.join("|"),"g");let l=!0,c=0;do{const t=s.exec(e);if(null===t){const t=i?e.substring(c).trim():e.substring(c);(!o||t.length>0)&&u.push(t),l=!1}else{const r=i?e.substring(c,t.index).trim():e.substring(c,t.index);(!o||r.length>0)&&(null!=n&&u.length+1===n?(u.push(i?e.substring(c).trim():e.substring(c)),l=!1):u.push(r)),c=s.lastIndex}}while(l);return u}(null!=On("#",e)?Lt(e,1,e.length-1):1!==t||null==Nn("#",e)&&null==Nn("#/",e)?e:"",["/"],null,0)))}const An=function(e,t,n,r){const o=yn.memo(e,w(2,N(C(2,n),null)));return vn((t=>{e.displayName=t}),O(t)),e=>{const t=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(r,e);return yn.createElement(o,t)}}((e=>{const t=En((t=>{const n=N(e.onUrlChanged,(e=>{}));!function(e,t,n){t(Tn(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(N(e.hashMode,1),n)}));if(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0){const e="hashchange",n=e=>{t(e)},r=void 0,o=Cn((()=>kn(r)),[r]),i=Cn((()=>xn(r)),[r]),u=Cn((()=>e=>{n(e)}),[n]);bn(En((()=>{if(null==o)window.addEventListener(e,u);else{const t=o;window.addEventListener(e,u,t)}return wn((()=>{if(null==i)window.removeEventListener(e,u);else{const t=i;window.removeEventListener(e,u,t)}}))})))}else{const e="popstate",n=t,r=void 0,o=Cn((()=>kn(r)),[r]),i=Cn((()=>xn(r)),[r]),u=Cn((()=>e=>{n(e)}),[n]);bn(En((()=>{if(null==o)window.addEventListener(e,u);else{const t=o;window.addEventListener(e,u,t)}return wn((()=>{if(null==i)window.removeEventListener(e,u);else{const t=i;window.removeEventListener(e,u,t)}}))})))}const n="CUSTOM_NAVIGATION_EVENT",r=t,o=void 0,i=Cn((()=>kn(o)),[o]),u=Cn((()=>xn(o)),[o]),s=Cn((()=>e=>{r(e)}),[r]);bn(En((()=>{if(null==i)window.addEventListener(n,s);else{const e=i;window.addEventListener(n,s,e)}return wn((()=>{if(null==u)window.removeEventListener(n,s);else{const e=u;window.removeEventListener(n,s,e)}}))})));const l=e.application;return null==l?null:l}),void 0,void 0,void 0);class Un extends yt{constructor(e,t){super(),this.CurrentPage=e,this.Auth=t}}class Pn extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","AuthMsg"]}}function Mn(e,t,n){Xt((n=>{try{n(t)}catch(t){e(t)}}),n)}function Dn(){return zt()}function Hn(e,t){return en((t=>n=>{t((t=>{n(e(t))}))}),t)}function Rn(e){return Bt((t=>{t(e)}))}function Ln(e,t,n,r){return Bt((o=>{e(t).then((e=>o(n(e)))).catch((e=>o(r(e))))}))}function jn(e,t,n,r,o){const i=function(e,t,n,r){const o=0|m(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|m(n,t);return i&&o<=0||!i&&o>=0?[n,r(n,e)]:void 0}}(t,n,r,o);return _n((()=>{return t=i,n=e,an((()=>function(e,t){let n,r=t;return ln((()=>{if(null!=n){const e=n[0];return n[1],e}return rn()}),(()=>{if(n=e(r),null!=n){n[0];const e=n[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}class Gn extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class Fn{constructor(e){var t,n;this.state=new Gn(0,(t=new Array(g(p,e,10)),n=g(p,e,10),t.fill(null,0,0+n)),0)}}function Vn(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 Gn(0,o,n):new Gn(1,o,n,i),k(o[r])}}function Wn(e,n){const r=e.state;if(1===r.tag){const u=0|r.fields[1],s=0|r.fields[2],l=r.fields[0];l[u]=n;const c=(u+1)%l.length|0;e.state=c===s?new Gn(1,(o=s,i=l,Array.from(_n((()=>pn(gn(o,i),_n((()=>{return pn((e=o,n=i,r=()=>fn(n),u=(t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return k(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(nn+"\\nParameter name: source")}},s=e=>{t(e)},an((()=>{let e=-1;return cn(r,(t=>(e=e+1|0,u(e,t))),s)}))),_n((()=>{return e=e=>hn(null),0,1,n=i.length,t=jn(0,1,n,0,((e,t)=>e+t)),_n((()=>dn(mn(e,t))));var e,t,n})));var e,n,r,u,s}))))))),l.length,0):new Gn(1,l,c,s)}else{const t=0|r.fields[1],o=r.fields[0];o[t]=n;const i=(t+1)%o.length|0;e.state=new Gn(1,o,i,t)}var o,i}class $n extends yt{constructor(e,t,n,r,o,i,u){super(),this.init=e,this.update=t,this.subscribe=n,this.view=r,this.setState=o,this.onError=i,this.syncDispatch=u}}function qn(n,r){const i=r.init(n),u=i[0],s=new Fn(10);let l=!1,c=u;const a=E(1,r.syncDispatch,[e=>{if(l)Wn(s,e);else{l=!0;let t=k(e);for(;null!=t;){const e=x(t);try{const t=r.update(e,c),n=t[0];r.setState(n,a),Mn((t=>{r.onError([Ut(At("Error in command while handling: %A"))(e),t])}),a,t[1]),c=n}catch(t){r.onError([Ut(At("Unable to process the message: %A"))(e),t])}t=Vn(s)}l=!1}}]);r.setState(u,a),Mn((e=>{r.onError(["Error intitializing:",e])}),a,function(n){const r=Ft();let i=r;const u=e=>{i=Qt(((e,t)=>{const n=new jt(t,void 0);return e.tail=n,n}),i,e)};if(e(n))n.forEach(u);else if(n instanceof jt)Xt(u,n);else{const e=o(n);try{for(;e["System.Collections.IEnumerator.MoveNext"]();)u(e["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{t(e)}}const s=i,l=Ft();return s.tail=l,qt(r)}(Kt([(()=>{try{return r.subscribe(u)}catch(e){return r.onError(["Unable to subscribe:",e]),Dn()}})(),i[1]])))}class zn extends yt{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class Bn extends B{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}class Jn extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Token"]}}class Yn extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["QueryString"]}}class Zn extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","OidcSignIn","OidcSignInRedirectCallback","OidcSignInSilentCallback","NotFound"]}}function Qn(e){let t,n,r;switch(Jt(e)?t=0:"oidc"===Yt(e)?Jt(Zt(e))?t=3:"callback"===Yt(Zt(e))?Jt(Zt(Zt(e)))?t=3:Jt(Zt(Zt(Zt(e))))?(t=1,n=Yt(Zt(Zt(e)))):t=3:"silent-refresh"===Yt(Zt(e))?Jt(Zt(Zt(e)))?t=3:Jt(Zt(Zt(Zt(e))))?(t=2,r=Yt(Zt(Zt(e)))):t=3:t=3:t=3,t){case 0:{const e=window.location.search,t=new URLSearchParams(e),n=t.get("token");if(null==n)return new Zn(0);{const e=n;return vn((e=>{!function(e,t){sessionStorage.setItem("success-redirection-url",t)}(0,e)}),O(t.get("success-redirection-url"))),new Zn(1,new Jn(0,e))}}case 1:return new Zn(2,new Yn(0,n));case 2:return new Zn(3,new Yn(0,r));case 3:return new Zn(4)}}class Xn extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class Kn extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}class er extends yt{constructor(e){super(),this.AccessToken=e}}function tr(e){return new er(e.access_token)}class nr extends yt{constructor(e){super(),this.Auth=e}}class rr extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GetUser","SignInRedirect","SignInRedirectCallback","SignInSilentCallback"]}}class or extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Ok","Error"]}}const ir=(()=>{const e={};return e.store=k(window.sessionStorage),e})();function ur(){return new UserManager(function(){const e=function(e){return Dt(e,"/")?e:e+"/"}(window.location.origin+window.location.pathname),t={};return t.authority=A,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=k(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(ir),t}())}function sr(e){return e.length>0?Lt(e,1):e}function lr(e){return ur().signinRedirect(k({extraQueryParams:{irt:e.fields[0]}}))}function cr(e){return ur().signinRedirectCallback(sr(e.fields[0]))}function ar(e){return ur().signinSilentCallback(sr(e.fields[0]))}function fr(){return ur().getUser()}var _r;!function(e){qn(void 0,e)}(("bank-details-app",_r=function(e,t,n){return new $n((function(){const e=Qn(Tn(window.location.hash,1)),t=function(){const e=Qn(Tn(window.location.hash,1));return[new nr(new Xn(0)),1===e.tag?Rn(new rr(1,new Kn(0),e.fields[0])):2===e.tag?Rn(new rr(2,new Kn(0),e.fields[0])):3===e.tag?Rn(new rr(3,new Kn(0),e.fields[0])):Rn(new rr(0,new Kn(0)))]}();return[new Un(e,t[0]),Hn((e=>new Pn(1,e)),t[1])]}),t,(e=>Dn()),n,w(2,(e=>{const t=E(1,n,[e]);return e=>{t(e)}})),(e=>{var t,n;t=e[0],n=e[1],console.error(k(t),n)}),w(2,(e=>e)))}(0,(function(e,t){if(1===e.tag){const n=function(e,t){const n=e=>[new nr(new Xn(2,new or(1,e))),Dn()];return 1===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Ut(At("SignInRedirect failed: %s"))(e.fields[0].fields[0].fields[0])):[t,Dn()]:[new nr(new Xn(1)),(o=lr,i=e.fields[1],u=t=>new rr(1,new Kn(1,new or(1,t.message)),e.fields[1]),Bt((e=>{o(i).catch((t=>{e(u(t))}))})))]:2===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Ut(At("failed sign in: %s"))(e.fields[0].fields[0].fields[0])):[new nr(new Xn(2,new or(0,tr(e.fields[0].fields[0].fields[0])))),(r=e=>{!function(e,t,n){history.pushState(void 0,"",In(e,1));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}(Bt(""))},Bt(r))]:[new nr(new Xn(1)),Ln(cr,e.fields[1],(t=>(window.gtag&&window.gtag("event","oidc_sign_in",{}),new rr(2,new Kn(1,new or(0,t)),e.fields[1]))),(t=>new rr(2,new Kn(1,new or(1,t.message)),e.fields[1])))]:3===e.tag?1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Ut(At("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 nr(new Xn(2,new or(0,tr(e.fields[0].fields[0].fields[0])))),Dn()]:[t,Ln(ar,e.fields[1],(t=>new rr(3,new Kn(1,new or(0,t)),e.fields[1])),(t=>new rr(3,new Kn(1,new or(1,t.message)),e.fields[1])))]:1===e.fields[0].tag?1===e.fields[0].fields[0].tag?n(Ut(At("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 nr(new Xn(2,new or(0,tr(e.fields[0].fields[0].fields[0])))),Dn()]:[new nr(new Xn(1)),Ln(fr,void 0,(e=>new rr(0,new Kn(1,new or(0,e)))),(e=>new rr(0,new Kn(1,new or(1,e.message)))))];var r,o,i,u}(e.fields[0],t.Auth);return[new Un(t.CurrentPage,n[0]),Hn((e=>new Pn(1,e)),n[1])]}return[new Un(Qn(e.fields[0]),t.Auth),Dn()]}),(function(e,t){let n;const r=[U,A];let o,i;switch(null!=r[0]&&null!=r[1]?(o=0,i=r[0]):o=1,o){case 0:switch(e.CurrentPage.tag){case 1:case 2:case 3:n=$("div",{},"Please wait...");break;case 4:n=$("h1",{},"Not found");break;default:{const t=e.Auth.Auth;let r,o;switch(2===t.tag&&0===t.fields[0].tag?(r=0,o=t.fields[0].fields[0]):r=1,r){case 0:u=[],n=$("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 wt(e,"_");case 3:return wt(e,"_").toUpperCase();case 4:return wt(e,"-");default:return e}}(e,t),n[e]=r}for(let t of e){let e=0;if(null==t&&o(t),t instanceof gt){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,i),new bt(1,o.AccessToken)],1),...u);break;case 1:n=$("h1",{},"Unauthorised")}}}break;case 1:n=$("h1",{},"Invalid attribute configuration")}var u;return An({onUrlChanged:e=>{t(new Pn(0,e))},application:$(z,{},n)})})),function(e,t,n){return function(e,t){return new $n(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}(((r,o)=>{ot(e((e=>t=>e===t),function(e){return C(2,e.view)}(n),r,o),document.getElementById(t))}),n)}(((e,t,n,r)=>function(e,t,n,r){const o=new zn(n,(()=>t(n,r)),e);return $(Bn,o)}(w(2,e),w(2,t),n,r)),"bank-details-app",_r)))})();
|
2
2
|
//# sourceMappingURL=bank-details-app.js.map
|