@flarehr/workflows-progress-app 3.0.1 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see workflows-progress-app.js.LICENSE.txt */
2
- (()=>{var e={703:(e,t,n)=>{"use strict";var r=n(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},697:(e,t,n)=>{e.exports=n(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e,t,r,o,i,a,s={},u=[],c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function l(e,t){for(var n in t)e[n]=t[n];return e}function f(e){var t=e.parentNode;t&&t.removeChild(e)}function d(t,n,r){var o,i,a,s={};for(a in n)"key"==a?o=n[a]:"ref"==a?i=n[a]:s[a]=n[a];if(arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(a in t.defaultProps)void 0===s[a]&&(s[a]=t.defaultProps[a]);return m(t,s,o,i,null)}function m(e,n,o,i,a){var s={type:e,props:n,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++r:a};return null==a&&null!=t.vnode&&t.vnode(s),s}function h(e){return e.children}function p(e,t){this.props=e,this.context=t}function g(e,t){if(null==t)return e.__?g(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?g(e):null}function v(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 v(e)}}function y(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!w.__r++||i!==t.debounceRendering)&&((i=t.debounceRendering)||setTimeout)(w)}function w(){for(var e;w.__r=o.length;)e=o.sort((function(e,t){return e.__v.__b-t.__v.__b})),o=[],e.some((function(e){var t,n,r,o,i,a;e.__d&&(i=(o=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=l({},o)).__v=o.__v+1,N(a,o,r,t.__n,void 0!==a.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?g(o):i,o.__h),O(n,o),o.__e!=i&&v(o)))}))}function b(e,t,n,r,o,i,a,c,l,f){var d,p,v,y,w,b,x,k=r&&r.__k||u,S=k.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(y=n.__k[d]=null==(y=t[d])||"boolean"==typeof y?null:"string"==typeof y||"number"==typeof y||"bigint"==typeof y?m(null,y,null,null,y):Array.isArray(y)?m(h,{children:y},null,null,null):y.__b>0?m(y.type,y.props,y.key,null,y.__v):y)){if(y.__=n,y.__b=n.__b+1,null===(v=k[d])||v&&y.key==v.key&&y.type===v.type)k[d]=void 0;else for(p=0;p<S;p++){if((v=k[p])&&y.key==v.key&&y.type===v.type){k[p]=void 0;break}v=null}N(e,y,v=v||s,o,i,a,c,l,f),w=y.__e,(p=y.ref)&&v.ref!=p&&(x||(x=[]),v.ref&&x.push(v.ref,null,y),x.push(p,y.__c||w,y)),null!=w?(null==b&&(b=w),"function"==typeof y.type&&y.__k===v.__k?y.__d=l=_(y,l,e):l=C(e,y,v,k,w,l),"function"==typeof n.type&&(n.__d=l)):l&&v.__e==l&&l.parentNode!=e&&(l=g(v))}for(n.__e=b,d=S;d--;)null!=k[d]&&("function"==typeof n.type&&null!=k[d].__e&&k[d].__e==n.__d&&(n.__d=g(r,d+1)),I(k[d],k[d]));if(x)for(d=0;d<x.length;d++)T(x[d],x[++d],x[++d])}function _(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?_(r,t,n):C(n,r,r,o,r.__e,t));return t}function x(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){x(e,t)})):t.push(e)),t}function C(e,t,n,r,o,i){var a,s,u;if(void 0!==t.__d)a=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),a=null;else{for(s=i,u=0;(s=s.nextSibling)&&u<r.length;u+=2)if(s==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function k(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||c.test(t)?n:n+"px"}function S(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||k(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||k(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?M:E,i):e.removeEventListener(t,i?M:E,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 E(e){this.l[e.type+!1](t.event?t.event(e):e)}function M(e){this.l[e.type+!0](t.event?t.event(e):e)}function N(e,n,r,o,i,a,s,u,c){var f,d,m,g,v,y,w,_,x,C,k,S,E,M=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(c=r.__h,u=n.__e=r.__e,n.__h=null,a=[u]),(f=t.__b)&&f(n);try{e:if("function"==typeof M){if(_=n.props,x=(f=M.contextType)&&o[f.__c],C=f?x?x.props.value:f.__:o,r.__c?w=(d=n.__c=r.__c).__=d.__E:("prototype"in M&&M.prototype.render?n.__c=d=new M(_,C):(n.__c=d=new p(_,C),d.constructor=M,d.render=P),x&&x.sub(d),d.props=_,d.state||(d.state={}),d.context=C,d.__n=o,m=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=M.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=l({},d.__s)),l(d.__s,M.getDerivedStateFromProps(_,d.__s))),g=d.props,v=d.state,m)null==M.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==M.getDerivedStateFromProps&&_!==g&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(_,C),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(_,d.__s,C)||n.__v===r.__v){d.props=_,d.state=d.__s,n.__v!==r.__v&&(d.__d=!1),d.__v=n,n.__e=r.__e,n.__k=r.__k,n.__k.forEach((function(e){e&&(e.__=n)})),d.__h.length&&s.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(_,d.__s,C),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(g,v,y)}))}if(d.context=C,d.props=_,d.__v=n,d.__P=e,k=t.__r,S=0,"prototype"in M&&M.prototype.render)d.state=d.__s,d.__d=!1,k&&k(n),f=d.render(d.props,d.state,d.context);else do{d.__d=!1,k&&k(n),f=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++S<25);d.state=d.__s,null!=d.getChildContext&&(o=l(l({},o),d.getChildContext())),m||null==d.getSnapshotBeforeUpdate||(y=d.getSnapshotBeforeUpdate(g,v)),E=null!=f&&f.type===h&&null==f.key?f.props.children:f,b(e,Array.isArray(E)?E:[E],n,r,o,i,a,s,u,c),d.base=n.__e,n.__h=null,d.__h.length&&s.push(d),w&&(d.__E=d.__=null),d.__e=!1}else null==a&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=A(r.__e,n,r,o,i,a,s,c);(f=t.diffed)&&f(n)}catch(e){n.__v=null,(c||null!=a)&&(n.__e=u,n.__h=!!c,a[a.indexOf(u)]=null),t.__e(e,n,r)}}function O(e,n){t.__c&&t.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){t.__e(e,n.__v)}}))}function A(t,n,r,o,i,a,u,c){var l,d,m,h=r.props,p=n.props,v=n.type,y=0;if("svg"===v&&(i=!0),null!=a)for(;y<a.length;y++)if((l=a[y])&&"setAttribute"in l==!!v&&(v?l.localName===v:3===l.nodeType)){t=l,a[y]=null;break}if(null==t){if(null===v)return document.createTextNode(p);t=i?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,p.is&&p),a=null,c=!1}if(null===v)h===p||c&&t.data===p||(t.data=p);else{if(a=a&&e.call(t.childNodes),d=(h=r.props||s).dangerouslySetInnerHTML,m=p.dangerouslySetInnerHTML,!c){if(null!=a)for(h={},y=0;y<t.attributes.length;y++)h[t.attributes[y].name]=t.attributes[y].value;(m||d)&&(m&&(d&&m.__html==d.__html||m.__html===t.innerHTML)||(t.innerHTML=m&&m.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||S(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]||S(e,i,t[i],n[i],r)}(t,p,h,i,c),m)n.__k=[];else if(y=n.props.children,b(t,Array.isArray(y)?y:[y],n,r,o,i&&"foreignObject"!==v,a,u,a?a[0]:r.__k&&g(r,0),c),null!=a)for(y=a.length;y--;)null!=a[y]&&f(a[y]);c||("value"in p&&void 0!==(y=p.value)&&(y!==t.value||"progress"===v&&!y||"option"===v&&y!==h.value)&&S(t,"value",y,h.value,!1),"checked"in p&&void 0!==(y=p.checked)&&y!==t.checked&&S(t,"checked",y,h.checked,!1))}return t}function T(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function I(e,n,r){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||T(o,null,n)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){t.__e(e,n)}o.base=o.__P=null}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&I(o[i],n,"function"!=typeof e.type);r||null==e.__e||f(e.__e),e.__e=e.__d=void 0}function P(e,t,n){return this.constructor(e,n)}function D(n,r,o){var i,a,u;t.__&&t.__(n,r),a=(i="function"==typeof o)?null:o&&o.__k||r.__k,u=[],N(r,n=(!i&&o||r).__k=d(h,null,[n]),a||s,s,void 0!==r.ownerSVGElement,!i&&o?[o]:a?null:r.firstChild?e.call(r.childNodes):null,u,!i&&o?o:a?a.__e:r.firstChild,i),O(u,n)}function j(e,t){D(e,t,j)}function L(t,n,r){var o,i,a,s=l({},t.props);for(a in n)"key"==a?o=n[a]:"ref"==a?i=n[a]:s[a]=n[a];return arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):r),m(t.type,s,o||t.key,i||t.ref,null)}e=u.slice,t={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},r=0,p.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=l({},this.state),"function"==typeof e&&(e=e(l({},n),this.props)),e&&l(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),y(this))},p.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),y(this))},p.prototype.render=h,o=[],w.__r=0,a=0;var R,F,U,z,H=0,W=[],G=[],$=t.__b,B=t.__r,Y=t.diffed,V=t.__c,q=t.unmount;function J(e,n){t.__h&&t.__h(F,e,H||n),H=0;var r=F.__H||(F.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:G}),r.__[e]}function X(e){return H=1,Z(ae,e)}function Z(e,t,n){var r=J(R++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ae(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=F,!F.u)){F.u=!0;var o=F.shouldComponentUpdate;F.shouldComponentUpdate=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(e){return e.__c}));if(i.every((function(e){return!e.__N})))return!o||o.call(this,e,t,n);var a=!1;return i.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!!a&&(!o||o.call(this,e,t,n))}}return r.__N||r.__}function Q(e,n){var r=J(R++,3);!t.__s&&ie(r.__H,n)&&(r.__=e,r.i=n,F.__H.__h.push(r))}function K(e,n){var r=J(R++,4);!t.__s&&ie(r.__H,n)&&(r.__=e,r.i=n,F.__h.push(r))}function ee(e,t){var n=J(R++,7);return ie(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function te(){for(var e;e=W.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(re),e.__H.__h.forEach(oe),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}}t.__b=function(e){F=null,$&&$(e)},t.__r=function(e){B&&B(e),R=0;var t=(F=e.__c).__H;t&&(U===F?(t.__h=[],F.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=G,e.__N=e.i=void 0}))):(t.__h.forEach(re),t.__h.forEach(oe),t.__h=[])),U=F},t.diffed=function(e){Y&&Y(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==W.push(n)&&z===t.requestAnimationFrame||((z=t.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),ne&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ne&&(t=requestAnimationFrame(n))})(te)),n.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==G&&(e.__=e.__V),e.i=void 0,e.__V=G}))),U=F=null},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach(re),e.__h=e.__h.filter((function(e){return!e.__||oe(e)}))}catch(r){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(r,e.__v)}})),V&&V(e,n)},t.unmount=function(e){q&&q(e);var n,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{re(e)}catch(e){n=e}})),n&&t.__e(n,r.__v))};var ne="function"==typeof requestAnimationFrame;function re(e){var t=F,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),F=t}function oe(e){var t=F;e.__c=e.__(),F=t}function ie(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function ae(e,t){return"function"==typeof t?t(e):t}function se(e,t){for(var n in t)e[n]=t[n];return e}function ue(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 ce(e){this.props=e}(ce.prototype=new p).isPureReactComponent=!0,ce.prototype.shouldComponentUpdate=function(e,t){return ue(this.props,e)||ue(this.state,t)};var le=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),le&&le(e)};var fe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,de=function(e,t){return null==e?null:x(x(e).map(t))},me={map:de,forEach:de,count:function(e){return e?x(e).length:0},only:function(e){var t=x(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:x},he=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);he(e,t,n,r)};var pe=t.unmount;function ge(){this.__u=0,this.t=null,this.__b=null}function ve(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ye(){this.u=null,this.o=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),pe&&pe(e)},(ge.prototype=new p).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=ve(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;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()}},u=!0===t.__h;r.__u++||u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},ge.prototype.componentWillUnmount=function(){this.t=[]},ge.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=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=se({},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&&d(h,null,e.fallback);return o&&(o.__h=null),[d(h,null,t.__a?null:e.children),o]};var we=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 be(e){return this.getChildContext=function(){return e.context},e.children}function _e(e){var t=this,n=e.i;t.componentWillUnmount=function(){D(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)}}),D(d(be,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(ye.prototype=new p).__a=function(e){var t=this,n=ve(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),we(t,e,r)):o()};n?n(i):i()}},ye.prototype.render=function(e){this.u=null,this.o=new Map;var t=x(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},ye.prototype.componentDidUpdate=ye.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){we(e,n,t)}))};var xe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ce=/^(?: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]/,ke="undefined"!=typeof document,Se=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function Ee(e,t,n){return null==t.__k&&(t.textContent=""),D(e,t),"function"==typeof n&&n(),e?e.__c:null}p.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(p.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Me=t.event;function Ne(){}function Oe(){return this.cancelBubble}function Ae(){return this.defaultPrevented}t.event=function(e){return Me&&(e=Me(e)),e.persist=Ne,e.isPropagationStopped=Oe,e.isDefaultPrevented=Ae,e.nativeEvent=e};var Te,Ie={configurable:!0,get:function(){return this.class}},Pe=t.vnode;t.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 a=n[i];ke&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in n&&null==a||("defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===a?a="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!Se(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&&Ce.test(i)?i=i.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===a&&(a=void 0),/^oninput$/i.test(i)&&(i=i.toLowerCase(),r[i]&&(i="oninputCapture")),r[i]=a)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=x(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=x(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&&(Ie.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Ie))}e.$$typeof=xe,Pe&&Pe(e)};var De=t.__r;t.__r=function(e){De&&De(e),Te=e.__c};var je={ReactCurrentDispatcher:{current:{readContext:function(e){return Te.__n[e.__c].props.value}}}};function Le(e){return!!e&&e.$$typeof===xe}function Re(e){e()}const Fe={useState:X,useReducer:Z,useEffect:Q,useLayoutEffect:K,useInsertionEffect:K,useTransition:function(){return[!1,Re]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,t){var n=t(),r=X({s:{__:n,h:t}}),o=r[0].s,i=r[1];return K((function(){o.__=n,o.h=t,o.__!==t()&&i({s:o})}),[e,n,t]),Q((function(){return o.__!==o.h()&&i({s:o}),e((function(){o.__!==o.h()&&i({s:o})}))}),[e]),n},startTransition:Re,useRef:function(e){return H=5,ee((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){H=6,K((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:ee,useCallback:function(e,t){return H=8,ee((function(){return e}),t)},useContext:function(e){var t=F.context[e.__c],n=J(R++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(F)),t.props.value):e.__},useDebugValue:function(e,n){t.useDebugValue&&t.useDebugValue(n?n(e):e)},version:"17.0.2",Children:me,render:Ee,hydrate:function(e,t,n){return j(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(D(null,e),!0)},createPortal:function(e,t){var n=d(_e,{__v:e,i:t});return n.containerInfo=t,n},createElement:d,createContext:function(e,t){var n={__c:t="__cC"+a++,__: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(y)},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 d.bind(null,e)},cloneElement:function(e){return Le(e)?L.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:h,isValidElement:Le,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:p,PureComponent:ce,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:ue(this.props,e)}function r(t){return this.shouldComponentUpdate=n,d(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=se({},t);return delete n.ref,e(n,t.ref||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:h,Suspense:ge,SuspenseList:ye,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 d(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:je};function Ue(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function ze(e){return null!=e&&"function"==typeof e.Dispose}function He(e){ze(e)&&e.Dispose()}function We(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 Ge{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 $e(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new Ge(e[Symbol.iterator]())}function Be(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}}}}class Ye{constructor(e){this.factory=e,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function Ve(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function qe(e){const t=e;return"number"==typeof t.offset?t.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}function Je(e,t){return(e=e<0&&null!=t&&10!==t?4294967295+e+1:e).toString(t)}class Xe{static id(e){return Xe.idMap.has(e)||Xe.idMap.set(e,++Xe.count),Xe.idMap.get(e)}}function Ze(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=33*n^e.charCodeAt(t++);return n}function Qe(e){return 2654435761*e|0}function Ke(e){return 0===e.length?0:e.reduce(((e,t)=>(e<<5)+e^t))}function et(e){var t;if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Qe(e);case"string":return Ze(e);default:if(function(e){return"function"==typeof e.GetHashCode}(e))return e.GetHashCode();if(Ue(e))return function(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=et(e[r]);return Ke(n)}(e);if(e instanceof Date)return function(e){return e.getTime()}(e);if((null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor)===Object){const t=Object.values(e).map((e=>et(e)));return Ke(t)}return Qe(Xe.id(e))}}function tt(e,t,n){if(null==e)return null==t;if(null==t)return!1;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function nt(e,t){return tt(e,t,rt)}function rt(e,t){var n;return e===t||(null==e?null==t:null!=t&&"object"==typeof e&&(function(e){return"function"==typeof e.Equals}(e)?e.Equals(t):Ue(e)?Ue(t)&&nt(e,t):e instanceof Date?t instanceof Date&&0===ot(e,t):(null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.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]||!rt(e[n[o]],t[r[o]]))return!1;return!0}(e,t)))}function ot(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+qe(e),r=t.getTime()+qe(t)),n===r?0:n<r?-1:1}function it(e,t){return e===t?0:e<t?-1:1}function at(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,st)}function st(e,t){var n;return e===t?0:null==e?null==t?0:-1:null==t?1:"object"!=typeof e?e<t?-1:1:function(e){return"function"==typeof e.CompareTo}(e)?e.CompareTo(t):Ue(e)?Ue(t)?at(e,t):-1:e instanceof Date?t instanceof Date?ot(e,t):-1:(null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.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 a=n[o];if(a!==r[o])return a<r[o]?-1:1;if(i=st(e[a],t[a]),0!==i)return i}return 0}(e,t):-1}function ut(e,t,n){return e(t,n)>0?t:n}function ct(e){const t={};for(const n of e)t[n[0]]=n[1];return t}Xe.idMap=new WeakMap,Xe.count=0;const lt=Symbol("curried");function ft(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[lt]=t,n}function dt(e,t,n){return r=>1===t?n(...e.concat([r])):dt(e.concat([r]),t-1,n)}function mt(e,t){return null==t||1===t.length?t:lt in t?t[lt]:dt([],e,t)}function ht(e,t,n){if(null!=t){if(lt in t){t=t[lt];for(let e=0;e<n.length;e++)t=t(n[e]);return t}return dt(n,e,t)}}function pt(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+=pt(r);else{if(100===t){n+="; ...";break}n+="; "+pt(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+" = "+pt(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=pt(t[0]),r=n.indexOf(" ")>=0):n=t.map((e=>pt(e))).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>et(e)));return e.splice(0,0,Qe(this.tag)),Ke(e)}Equals(e){return this===e||!!We(this,e)&&this.tag===e.tag&&nt(this.fields,e.fields)}CompareTo(e){return this===e?0:We(this,e)?this.tag===e.tag?at(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}function vt(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}function yt(e){return"{ "+Object.entries(e).map((([e,t])=>e+" = "+pt(t))).join("\n ")+" }"}function wt(e){const t=Object.values(e).map((e=>et(e)));return Ke(t)}function bt(e,t){if(e===t)return!0;if(We(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!rt(e[n[r]],t[n[r]]))return!1;return!0}return!1}function _t(e,t){if(e===t)return 0;if(We(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=st(e[n[r]],t[n[r]]);if(0!==o)return o}return 0}return-1}class xt{toJSON(){return vt(this)}toString(){return yt(this)}GetHashCode(){return wt(this)}Equals(e){return bt(this,e)}CompareTo(e){return _t(this,e)}}class Ct{constructor(e,t){"function"==typeof t?(this.getter=e,this.setter=t):(this.getter=()=>e,this.setter=t=>{e=t})}get contents(){return this.getter()}set contents(e){this.setter(e)}}class kt{constructor(e){this.message=e}}function St(e){return function(e){return e instanceof kt||e instanceof Error}(e)?e:new Error(String(e))}class Et extends kt{toJSON(){return vt(this)}toString(){return yt(this)}GetHashCode(){return wt(this)}Equals(e){return bt(this,e)}CompareTo(e){return _t(this,e)}}class Mt extends Et{constructor(e,t,n){super(),this.arg1=e,this.arg2=0|t,this.arg3=0|n,this.message="The match cases were incomplete"}}class Nt{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return et(this.value)}Equals(e){return null!=e&&rt(this.value,e instanceof Nt?e.value:e)}CompareTo(e){return null==e?1:st(this.value,e instanceof Nt?e.value:e)}}function Ot(e){return null==e||e instanceof Nt?new Nt(e):e}function At(e){if(null==e)throw new Error("Option has no value");return e instanceof Nt?e.value:e}function Tt(e){return null==e?void 0:e}function It(e){return null==e?[]:[At(e)]}function Pt(e,t){return null!=e?At(e):t}function Dt(e,t){return null!=t?Ot(e(At(t))):void 0}function jt(e,t){return null!=t?e(At(t)):void 0}function Lt(){return e=st,{Compare:(t,n)=>e(t,n)};var e}function Rt(e,t){return"function"==typeof e?new e(t):new Array(t)}function Ft(e,t,n,r){const o=0|t;return e.fill(r,o,o+n)}function Ut(e,t,n){const r=0|t.length,o=Rt(n,r);for(let n=0;n<=r-1;n++)o[n]=e(t[n]);return o}function zt(e,t,n){return n.reduce(e,t)}function Ht(e,t,n){if(null==t)return null==n;if(null==n)return!1;{let r=0,o=!0;const i=0|t.length,a=0|n.length;if(i>a)return!1;if(i<a)return!1;for(;r<i&&o;)o=e(t[r],n[r]),r=r+1|0;return o}}function Wt(e,t,n,r){return function(e,t,n,r){let o=r;t.length!==n.length&&function(){throw new Error("Arrays had different lengths")}();const i=0|t.length;for(let r=1;r<=i;r++)o=e(0,t[i-r],n[i-r],o);return o}(((t,n,r,o)=>e(n,r,o)),t,n,r)}function Gt(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+Ve(~~(e/36e5),2)+":"+Ve(n,2)}function $t(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}))}function Yt(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," ")+Gt(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 $t(i,"first");case"T":case"t":return $t(i,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+Gt(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?$t(e,"first"):e.toLocaleDateString();case"T":case"t":return n?$t(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 Ve(e.getFullYear(),4)+"-"+Ve(e.getMonth()+1,2)+"-"+Ve(e.getDate(),2)+"T"+Ve(e.getHours(),2)+":"+Ve(e.getMinutes(),2)+":"+Ve(e.getSeconds(),2)+"."+Ve(e.getMilliseconds(),3)+(t?Gt(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}function Vt(e,t){const n=new Date(e);return n.kind=0|(null==t?0:t),n}function qt(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}null!=e&&""!==e.trim()||t(),10===e.length&&"-"===e[4]&&"-"===e[7]&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.getTime())){const o=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(e);if(null!=o){let e,t=0;if(null!=o[2]){const e=o[2].split(":");t=3600*parseInt(e[0],10)+60*parseInt(e[1]||"0",10)+parseFloat(e[2]||"0"),null!=o[3]&&"PM"===o[3].toUpperCase()&&(t+=720)}if(null!=o[4]){if(null!=o[1])e=new Date(o[1]+" UTC");else{const t=new Date;e=new Date(t.getUTCFullYear()+"/"+(t.getUTCMonth()+1)+"/"+t.getUTCDate())}if("Z"===o[4])r="Z";else{let e=60*parseInt(o[5],10)+parseInt(o[6]||"0",10);"-"===o[4][0]&&(e*=-1),r=e,t-=60*e}}else if(null!=o[1])e=new Date(o[1]);else{const t=new Date;e=new Date(t.getFullYear()+"/"+(t.getMonth()+1)+"/"+t.getDate())}n=new Date(e.getTime()+1e3*t),n=new Date(n.getTime()+6e4*(n.getTimezoneOffset()-e.getTimezoneOffset()))}else t();isNaN(n.getTime())&&t()}return[n,r]}function Jt(e,t){try{return t.contents=function(e,t=!1){const[n,r]=qt(e),o=null!=r?t&&"Z"===r?1:2:0;return Vt(n.getTime(),o)}(e),!0}catch(e){return!1}}function Xt(){return Vt(Date.now(),1)}function Zt(){return function(e){return function(e,t,n,r=0,o=0,i=0,a=0,s){const u=1===s?Date.UTC(e,t-1,n,r,o,i,a):new Date(e,t-1,n,r,o,i,a).getTime();if(isNaN(u))throw new Error("The parameters describe an unrepresentable Date.");const c=Vt(u,s);return e<=99&&c.setFullYear(e,t-1,n),c}(Qt(e),function(e){return(1===e.kind?e.getUTCMonth():e.getMonth())+1}(e),function(e){return 1===e.kind?e.getUTCDate():e.getDate()}(e),0,0,0,0,e.kind)}(Vt(Date.now(),2))}function Qt(e){return 1===e.kind?e.getUTCFullYear():e.getFullYear()}const Kt=ot,en=Symbol("numeric");function tn(e){return"number"==typeof e||(null==e?void 0:e[en])}function nn(e,t){return"number"==typeof e?e*t:e[en]().multiply(t)}function rn(e,t){return"number"==typeof e?e.toFixed(t):e[en]().toFixed(t)}function on(e,t){return"number"==typeof e?e.toPrecision(t):e[en]().toPrecision(t)}function an(e,t){return"number"==typeof e?e.toExponential(t):e[en]().toExponential(t)}function sn(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[en]().toHex()}function un(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function cn(e,t,n=0){if(null==t)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=n;const r=[];let o,i=-1;for(;null!=(o=e.exec(t));)o.index===i?e.lastIndex++:(i=o.index,r.push(o));return r}const ln=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,fn=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function dn(e,t){return function(e,t){return"number"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}(e,t)<0}function mn(e){return{input:e,cont:(t=e,e=>{ln.lastIndex=0;const n=[],r=[];let o=0,i=ln.exec(t);for(;i;){const e=i.index+(i[1]||"").length;n.push(t.substring(o,e).replace(/%%/g,"%")),r.push(i),o=ln.lastIndex,ln.lastIndex-=1,i=ln.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(o).replace(/%%/g,"%")),yn(e,n,r))})};var t}function hn(e,t){return"string"==typeof t?e(t):t.cont(e)}function pn(e){return hn((e=>e),e)}function gn(e){return hn((e=>{throw new Error(e)}),e)}function vn(e,t,n,r,o){let i="";if(t=t||"",o=o||"",tn(e))switch("x"!==o.toLowerCase()&&(dn(e,0)?(e=nn(e,-1),i="-"):t.indexOf(" ")>=0?i=" ":t.indexOf("+")>=0&&(i="+")),r=null==r?null:parseInt(r,10),o){case"f":case"F":e=rn(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?on(e,r):on(e);break;case"e":case"E":e=null!=r?an(e,r):an(e);break;case"x":e=sn(e);break;case"X":e=sn(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?Yt(e):pt(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,a=o||!r?" ":"0";e="0"===a?i+(e=bn(e,n-i.length,a,o)):bn(i+e,n,a,o)}return e}function yn(e,t,n,r="",o=-1){return(...i)=>{let a=r;const s=t.slice(),u=n.slice();for(const e of i){const[,,t,n,r,i]=u[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}a+=s[0],a+=vn(e,t,c,r,i),s.splice(0,1),u.splice(0,1)}return 0===u.length?(a+=s[0],e(a)):yn(e,s,u,a,o)}}function wn(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function bn(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 _n(e,t,n){return bn(e,t,n)}function xn(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 Cn extends xt{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+wn("; ",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],a=o[1];if(rt(n.head,r.head)){e=i,t=a;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,a=i.tail;if(null==a)return 0|o;{const s=a;if(r>18)return 0|o;e=r+1,t=(o<<1)+et(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],a=o[1],s=0|st(n.head,r.head);if(0===s){e=i,t=a;continue e}return 0|s}return 1}return null!=o[1]?-1:0}})(this,e)}GetEnumerator(){return new kn(this)}[Symbol.iterator](){return Be(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return $e(this)}}class kn{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 Sn(){return new Cn(null,void 0)}function En(e,t){return new Cn(e,t)}function Mn(e){return null==e.tail}function Nn(e){return 0|((e,t)=>{for(;;){const n=e,r=t.tail;if(null==r)return 0|n;e=n+1,t=r}})(0,e)}function On(e){if(null!=e.tail)return e.head;throw new Error("Collection was empty.\\nParameter name: list")}function An(e){const t=e.tail;if(null!=t)return t;throw new Error("Collection was empty.\\nParameter name: list")}function Tn(){return Sn()}function In(e,t){return En(e,t)}function Pn(e){return En(e,Sn())}function Dn(e){return Mn(e)}function jn(e){return Nn(e)}function Ln(e){return On(e)}function Rn(e){return An(e)}function Fn(e){const t=0|Nn(e),n=Ft(new Array(t),0,t,null);return((e,t)=>{for(;;){const r=e,o=t;if(Mn(o))break;n[r]=On(o),e=r+1,t=An(o)}})(0,e),n}function Un(e,t,n){let r=t,o=n;for(;!Mn(o);)r=e(r,On(o)),o=An(o);return r}function zn(e){return Un(((e,t)=>En(t,e)),Sn(),e)}function Hn(e,t){Un(((t,n)=>{e(n)}),void 0,t)}function Wn(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=En(e[t],n);return n}function Gn(e){return Wn(e,Sn())}function $n(e,t){return Un(((e,t)=>En(t,e)),t,zn(e))}function Bn(e,t){let n,r;const o=Sn();let i=o,a=t;for(;!Mn(a);){let t=e(On(a));for(;!Mn(t);)n=i,r=new Cn(On(t),void 0),n.tail=r,i=r,t=An(t);a=An(a)}const s=i,u=Sn();return s.tail=u,An(o)}function Yn(e,t){const n=Sn(),r=Un(((t,n)=>{const r=new Cn(e(n),void 0);return t.tail=r,r}),n,t),o=Sn();return r.tail=o,An(n)}function Vn(e,t){return function(e,t){return(t=>{e:for(;;){const n=t;if(Mn(n))return;{const r=e(On(n));if(null==r){t=An(n);continue e}return r}}})(t)}((t=>e(t)?Ot(t):void 0),t)}function qn(e,t){const n=Fn(t);return n.sort(e),Gn(n)}const Jn="The input sequence has an insufficient number of elements.";function Xn(){throw new Error("Enumeration has not started. Call MoveNext.")}function Zn(){throw new Error("Enumeration already finished.")}class Qn{constructor(e){this.f=e}toString(){let e=0,t="seq [";const n=$e(this);try{for(;e<4&&n["System.Collections.IEnumerator.MoveNext"]();)e>0&&(t+="; "),t+=pt(n["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(t+="; ..."),t+"]"}finally{He(n)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Be(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class Kn{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 er(e,t,n){return new Kn(e,t,n)}function tr(e,t,n){let r,o=!1,i=Ot(e());const a=()=>{if(null!=i){const e=At(i);try{n(e)}finally{i=void 0}}},s=()=>{try{a()}finally{r=void 0}};return er((()=>(o||Xn(),null!=r?At(r):Zn())),(()=>{if(o||(o=!0),null!=i){const e=At(i);let n;try{n=t(e)}catch(e){throw s(),e}return null!=n?(r=n,!0):(s(),!1)}return!1}),a)}function nr(e){return function(e){return new Qn(e)}(e)}function rr(e){return t="source",null==e&&function(e){throw new Error(e)}(t),$e(e);var t}function or(e){return nr((()=>$e(e())))}function ir(e){return nr((()=>function(e){let t,n,r,o=!1,i=!1;const a=()=>{if(i=!0,null!=n){const e=n;try{He(e)}finally{n=void 0}}if(null!=t){const e=t;try{He(e)}finally{t=void 0}}};return er((()=>(o?i&&Zn():Xn(),null!=r?At(r):Zn())),(()=>{let s;if(o||(o=!0),i)return!1;{let o;for(;null==o;){const i=[t,n];if(null!=i[0])if(null!=i[1]){const e=i[1];if(e["System.Collections.IEnumerator.MoveNext"]())r=Ot(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),o=!0;else try{He(e)}finally{n=void 0}}else{const e=i[0];e["System.Collections.IEnumerator.MoveNext"]()?(s=e["System.Collections.Generic.IEnumerator`1.get_Current"](),n=$e(s)):(a(),o=!1)}else t=$e(e)}return At(o)}}),(()=>{i||a()}))}(e)))}function ar(e){return or((()=>function(e,t){const n=Rt(void 0,1);return n[0]=e,n}(e)))}function sr(e){return Ue(e)?Gn(e):e instanceof Cn?e:function(e){let t,n;if(Ue(e))return Gn(e);if(e instanceof Cn)return e;{const r=Sn();let o=r;const i=$e(e);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const e=i["System.Collections.Generic.IEnumerator`1.get_Current"]();t=o,n=new Cn(e,void 0),t.tail=n,o=n}}finally{He(i)}const a=o,s=Sn();return a.tail=s,An(r)}}(e)}function ur(e,t,n){return nr((()=>tr(e,t,n)))}function cr(e,t,n){return nr((()=>{let r=-1;return tr(e,(e=>(r=r+1|0,t(r,e))),n)}))}function lr(e,t){return ir([e,t])}function fr(e,t,n){const r=rr(t);try{let t=!1;for(;!t&&r["System.Collections.IEnumerator.MoveNext"]();)t=n.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return t}finally{He(r)}}function dr(e,t,n){const r=rr(n);try{let n=t;for(;r["System.Collections.IEnumerator.MoveNext"]();)n=e(n,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return n}finally{He(r)}}function mr(e,t){dr(((t,n)=>{e(n)}),void 0,t)}function hr(e,t){return ur((()=>rr(t)),(t=>t["System.Collections.IEnumerator.MoveNext"]()?Ot(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{He(e)}))}function pr(e,t){return nr((()=>{const n=rr(t);try{for(let t=1;t<=e;t++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(Jn+"\\nParameter name: source");return function(e,t){return er((()=>t["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>t["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{He(t)}finally{e()}}))}((()=>{}),n)}catch(e){throw He(n),e}}))}function gr(e,t){return or((()=>ir(hr(e,t))))}Symbol.iterator;const vr=Fe,yr=(e,t)=>{Q((()=>{const t=e();return()=>{t.Dispose()}}),t)};function wr(e){return{Dispose(){e()}}}function br(e){return vr.useState(e)}function _r(e){var t;t=e,Q((()=>{const e=t();return()=>{e.Dispose()}}))}function xr(e,t){yr(e,t)}function Cr(e){!function(e,t){yr((t=>(e(),wr((()=>{})))),[])}(e)}function kr(e){return vr.useRef(e)}function Sr(e,t){const n=Pt(t,[]);return vr.useMemo(e,n)}function Er(e){const t=kr(e),n=function(e,n){const r=Pt([],[]);return vr.useCallback((e=>t.current(e)),r)}();var r,o;return r=()=>{t.current=e},o=e=>(r(),wr((()=>{}))),K((()=>{const e=o();return()=>{e.Dispose()}})),n}class Mr{constructor(e,t,n,r){this.declaringType=e,this.tag=t,this.name=n,this.fields=r}}class Nr{constructor(e,t,n,r,o,i,a){this.fullname=e,this.generics=t,this.construct=n,this.parent=r,this.fields=o,this.cases=i,this.enumCases=a}toString(){return Hr(this)}GetHashCode(){return Ar(this)}Equals(e){return Tr(this,e)}}function Or(e){return null!=e.generics?e.generics:[]}function Ar(e){return Ke([Ze(e.fullname),...Or(e).map(Ar)])}function Tr(e,t){return""===e.fullname?""===t.fullname&&tt(Zr(e),Zr(t),(([e,t],[n,r])=>e===n&&Tr(t,r))):e.fullname===t.fullname&&tt(Or(e),Or(t),Tr)}function Ir(e,t,n,r){return new Nr(e,t,n,r)}function Pr(e,t,n,r){return new Nr(e,t,n,void 0,r)}function Dr(e,t,n,r){const o=new Nr(e,t,n,void 0,void 0,(()=>{const e=n.prototype.cases();return r().map(((t,n)=>new Mr(o,n,e[n],t)))}));return o}function jr(e){return new Nr("Microsoft.FSharp.Core.FSharpOption`1",[e])}function Lr(e){return new Nr("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Rr=new Nr("System.Object"),Fr=(new Nr("Microsoft.FSharp.Core.Unit"),new Nr("System.Char"),new Nr("System.String")),Ur=(new Nr("System.Boolean"),new Nr("System.SByte"),new Nr("System.Byte"),new Nr("System.Int16"),new Nr("System.UInt16"),new Nr("System.Int32"),new Nr("System.UInt32"),new Nr("System.Single"),new Nr("System.Double"));function zr(e){if(Array.isArray(e))return e[0];if(e instanceof Nr){const t=Gr(e);if(null!=t)return zr(t)+"[]";{const t=e.fullname.lastIndexOf(".");return-1===t?e.fullname:e.fullname.substr(t+1)}}return e.name}function Hr(e){const t=Gr(e);return null!=t?Hr(t)+"[]":null==e.generics||0===e.generics.length?e.fullname:e.fullname+"["+e.generics.map((e=>Hr(e))).join(",")+"]"}function Wr(e){return null!=Gr(e)}function Gr(e){var t;return"[]"===e.fullname&&1===(null===(t=e.generics)||void 0===t?void 0:t.length)?e.generics[0]:void 0}function $r(e){return null!=e.generics&&e.generics.length>0}function Br(e){return null!=e.enumCases&&e.enumCases.length>0}function Yr(e){return null==e.generics?e:new Nr(e.fullname,e.generics.map((()=>Rr)))}function Vr(e){var t;return null===(t=e.generics)||void 0===t?void 0:t[0]}function qr(e){if(Br(e)&&null!=e.enumCases)return e.enumCases.map((e=>e[1]));throw new Error(`${e.fullname} is not an enum type`)}function Jr(e,t){const n=parseInt(t,10);return function(e,t){if(null!=e.enumCases){if("string"==typeof t){for(const n of e.enumCases)if(n[0]===t)return n;throw new Error(`'${t}' was not found in ${e.fullname}`)}for(const n of e.enumCases)if(n[1]===t)return n;return["",t]}throw new Error(`${e.fullname} is not an enum type`)}(e,isNaN(n)?t:n)[1]}function Xr(e){if(null!=e.cases)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function Zr(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function Qr(e){if(to(e)&&null!=e.generics)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function Kr(e){return e instanceof Nr?null!=e.cases:e instanceof gt}function eo(e){return e instanceof Nr?null!=e.fields:e instanceof xt}function to(e){return e.fullname.startsWith("System.Tuple")}function no(e){return null==e.fields?[]:e.fields}function ro(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);return null!=e.declaringType.construct?new e.declaringType.construct(e.tag,...t):{}}new Nr("System.Decimal");class oo extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["AuthCode"]}}class io extends xt{constructor(e,t,n,r,o,i){super(),this.id_token=e,this.access_token=t,this.expires_in=n,this.refresh_token=r,this.scope=o,this.token_type=i}}function ao(){return Pr("Workflows.Progress.UI.Auth.Types.Credentials",[],io,(()=>[["id_token",Fr],["access_token",Fr],["expires_in",Ur],["refresh_token",jr(Fr)],["scope",Fr],["token_type",Fr]]))}class so extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SignIn"]}}const uo=(()=>{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 co(e){return Dt((e=>e.passive&&!uo?{capture:e.capture,once:e.once,passive:!1}:e),e)}function lo(e){return jt((e=>e.capture?{capture:!0}:void 0),e)}function fo(e,t){return 0===t.indexOf(e)?t:void 0}function mo(e,t){return function(e,t){const n=e.lastIndexOf(t);return n>=0&&n===e.length-t.length}(t,e)?t:void 0}function ho(e,t){return function(e){return 1===e?e=>{let t,n,r,o,i,a;return t=fo("/",e),null!=t?(n=t,"#"+n):(r=fo("#/",e),null!=r?(o=r,o):(i=fo("#",e),null!=i?(a=i,"#/"+xn(a,1,a.length-1)):"#/"+e))}:e=>{let t,n;return t=fo("/",e),null!=t?(n=t,n):"/"+e}}(t)(wn("/",Yn((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function po(e,t){let n;return Bn((e=>{if(function(e){return"string"!=typeof e||/^\s*$/.test(e)}(e))return Tn();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+un(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return Tn();if(null!=fo("?",t))return Pn(t);{const e=t.split("?");if(Ht(((e,t)=>e===t),e,null)||1!==e.length){if(Ht(((e,t)=>e===t),e,null)||2!==e.length)return Tn();if(""===e[1]){const t=e[0];return Pn(decodeURIComponent(t))}{const t=e[0],n=e[1];return Gn([decodeURIComponent(t),"?"+n])}}{const t=e[0];return Pn(decodeURIComponent(t))}}}}),Gn((n=null!=fo("#",e)?xn(e,1,e.length-1):1!==t||null==mo("#",e)&&null==mo("#/",e)?e:"",n.split("/"))))}const go=function(e,t,n,r){const o=vr.memo(e,ft(2,Pt(mt(2,n),null)));return mr((t=>{e.displayName=t}),It(t)),e=>{const t=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(r,e);return vr.createElement(o,t)}}((e=>{const t=Er((t=>{const n=Pt(e.onUrlChanged,(e=>{}));!function(e,t,n){t(po(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(Pt(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=Sr((()=>co(r)),[r]),i=Sr((()=>lo(r)),[r]),a=Sr((()=>e=>{n(e)}),[n]);_r(Er((()=>{if(null==o)window.addEventListener(e,a);else{const t=o;window.addEventListener(e,a,t)}return wr((()=>{if(null==i)window.removeEventListener(e,a);else{const t=i;window.removeEventListener(e,a,t)}}))})))}else{const e="popstate",n=t,r=void 0,o=Sr((()=>co(r)),[r]),i=Sr((()=>lo(r)),[r]),a=Sr((()=>e=>{n(e)}),[n]);_r(Er((()=>{if(null==o)window.addEventListener(e,a);else{const t=o;window.addEventListener(e,a,t)}return wr((()=>{if(null==i)window.removeEventListener(e,a);else{const t=i;window.removeEventListener(e,a,t)}}))})))}const n="CUSTOM_NAVIGATION_EVENT",r=t,o=void 0,i=Sr((()=>co(o)),[o]),a=Sr((()=>lo(o)),[o]),s=Sr((()=>e=>{r(e)}),[r]);_r(Er((()=>{if(null==i)window.addEventListener(n,s);else{const e=i;window.addEventListener(n,s,e)}return wr((()=>{if(null==a)window.removeEventListener(n,s);else{const e=a;window.removeEventListener(n,s,e)}}))})));const u=e.application;return null==u?null:u}),void 0,void 0,void 0);class vo{constructor(e=!1){this._id=0,this._cancelled=e,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,e]of this._listeners)e()}}addListener(e){const t=this._id;return this._listeners.set(this._id++,e),t}removeListener(e){return this._listeners.delete(e)}register(e,t){const n=this,r=this.addListener(null==t?e:()=>e(t));return{Dispose(){n.removeListener(r)}}}Dispose(){}}class yo extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,yo.prototype)}}class wo{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>wo.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function bo(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new yo);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack((()=>{try{e(t)}catch(e){t.onError(St(e))}}));else try{e(t)}catch(e){t.onError(St(e))}}}const _o=new class{Bind(e,t){return function(e,t){return bo((n=>{e({onSuccess:e=>{try{t(e)(n)}catch(e){n.onError(St(e))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})}))}(e,t)}Combine(e,t){return this.Bind(e,(()=>t))}Delay(e){return bo((t=>e()(t)))}For(e,t){const n=e[Symbol.iterator]();let r=n.next();return this.While((()=>!r.done),this.Delay((()=>{const e=t(r.value);return r=n.next(),e})))}Return(e){return function(e){return bo((t=>t.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,t){return bo((n=>{e({onSuccess:e=>{t(),n.onSuccess(e)},onError:e=>{t(),n.onError(e)},onCancel:e=>{t(),n.onCancel(e)},cancelToken:n.cancelToken,trampoline:n.trampoline})}))}TryWith(e,t){return bo((n=>{e({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:e=>{try{t(e)(n)}catch(e){n.onError(St(e))}}})}))}Using(e,t){return this.TryFinally(t(e),(()=>e.Dispose()))}While(e,t){return e()?this.Bind(t,(()=>this.While(e,t))):this.Return(void 0)}Zero(){return bo((e=>e.onSuccess(void 0)))}};class xo extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Ok","Error"]}}function Co(e,t){return 0===t.tag?new xo(0,e(t.fields[0])):new xo(1,t.fields[0])}class ko extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of2","Choice2Of2"]}}function So(e){}const Eo=new vo;function Mo(e,t){return function(e,t){return function(e,t,n,r,o){"function"!=typeof t&&(o=t,t=void 0);const i=new wo;e({onSuccess:t||So,onError:n||So,onCancel:r||So,cancelToken:o||Eo,trampoline:i})}(e,t)}(e,t)}class No extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}const Oo=document.getElementById("workflows-progress-app"),Ao=Oo.getAttribute("data-identity-url"),To=Oo.getAttribute("data-backend-url"),Io=ho(Gn(["workflows","progress","app"]),2),Po=`${window.location.protocol}//${window.location.host}${Io}`;class Do extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Embedded","Standalone"]}}class jo extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","AuthCodeExchange","LoggedOut"]}}function Lo(e){let t,n;if(Dn(e))t=1;else if("workflows"===Ln(e))if(Dn(Rn(e)))t=1;else if("progress"===Ln(Rn(e)))if(Dn(Rn(Rn(e))))t=1;else if("app"===Ln(Rn(Rn(e))))if(Dn(Rn(Rn(Rn(e)))))t=1;else{const r=function(e){const t=function(e){try{const t=new URLSearchParams(e);return sr(or((()=>hr((e=>[e[0],e[1]]),t.entries()))))}catch(e){return}}(e);if(null!=t)return Dt((e=>e[1]),Vn((e=>"code"===e[0]),t));throw new Mt("/home/vsts/work/1/s/src/Workflows.Progress.UI/src/Types.fs",12,18)}(Ln(Rn(Rn(Rn(e)))));null!=r&&Dn(Rn(Rn(Rn(Rn(e)))))?(t=0,n=r):t=1}else t=1;else t=1;else t=1;switch(t){case 0:return new jo(1,new oo(0,n));case 1:return new jo(0)}}class Ro extends xt{constructor(e,t,n){super(),this.CurrentPage=e,this.Credentials=t,this.AppMode=n}}class Fo extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","AuthMsg","DisplayLoggedOut","ProgressComponentReadyEvent"]}}function Uo(){let e;return d("div",ct(Pn((e=[d("h4",{className:wn(" ",["text-2xl"]),children:"You have been logged out due to inactivity."})],["children",vr.Children.toArray(Array.from(e))]))))}new class{constructor(){}};function zo(e,t){return _o.Delay(t)}new class{constructor(){}};class Ho extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class Wo extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Header"]}}class Go extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Empty","Text","Binary","Form"]}}class $o extends xt{constructor(e,t,n,r,o,i,a,s){super(),this.url=e,this.method=t,this.headers=n,this.withCredentials=r,this.overridenMimeType=o,this.overridenResponseType=i,this.timeout=a,this.content=s}}class Bo extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Yo extends xt{constructor(e,t,n,r,o,i){super(),this.statusCode=0|e,this.responseText=t,this.responseType=n,this.responseUrl=r,this.responseHeaders=o,this.content=i}}class Vo{constructor(e,t){this.k=e,this.v=t}}function qo(e,t){return new Vo(e,t)}function Jo(e){return e.k}function Xo(e){return e.v}class Zo extends Vo{constructor(e,t,n,r,o){super(e,t),this.left=n,this.right=r,this.h=0|o}}function Qo(e,t,n,r,o){return new Zo(e,t,n,r,o)}function Ko(e){return e.left}function ei(e){return e.right}function ti(e){return e.h}function ni(e,t){e:for(;;){const n=e,r=t;if(null!=r){const o=r;if(o instanceof Zo){e=ni(n+1,Ko(o)),t=ei(o);continue e}return n+1|0}return 0|n}}function ri(e){return ni(0,e)}function oi(e,t,n,r){let o,i;if(null!=e){const t=e;o=t instanceof Zo?ti(t):1}else o=0;if(null!=r){const e=r;i=e instanceof Zo?ti(e):1}else i=0;const a=0|(o<i?i:o);return 0===a?qo(t,n):Qo(t,n,e,r,a+1)}function ii(e,t,n,r){let o,i,a,s,u,c;if(null!=e){const t=e;u=t instanceof Zo?ti(t):1}else u=0;if(null!=r){const e=r;c=e instanceof Zo?ti(e):1}else c=0;if(c>u+2){const a=At(r);if(a instanceof Zo){if(o=Ko(a),(null!=o?(i=o,i instanceof Zo?ti(i):1):0)>u+1){const r=At(Ko(a));if(r instanceof Zo)return oi(oi(e,t,n,Ko(r)),Jo(r),Xo(r),oi(ei(r),Jo(a),Xo(a),ei(a)));throw new Error("internal error: Map.rebalance")}return oi(oi(e,t,n,Ko(a)),Jo(a),Xo(a),ei(a))}throw new Error("internal error: Map.rebalance")}if(u>c+2){const o=At(e);if(o instanceof Zo){if(a=ei(o),(null!=a?(s=a,s instanceof Zo?ti(s):1):0)>c+1){const e=At(ei(o));if(e instanceof Zo)return oi(oi(Ko(o),Jo(o),Xo(o),Ko(e)),Jo(e),Xo(e),oi(ei(e),t,n,r));throw new Error("internal error: Map.rebalance")}return oi(Ko(o),Jo(o),Xo(o),oi(ei(o),t,n,r))}throw new Error("internal error: Map.rebalance")}return oi(e,t,n,r)}function ai(e,t,n,r){if(null!=r){const o=r,i=0|e.Compare(t,Jo(o));return o instanceof Zo?i<0?ii(ai(e,t,n,Ko(o)),Jo(o),Xo(o),ei(o)):0===i?Qo(t,n,Ko(o),ei(o),ti(o)):ii(Ko(o),Jo(o),Xo(o),ai(e,t,n,ei(o))):i<0?Qo(t,n,void 0,r,2):0===i?qo(t,n):Qo(t,n,r,void 0,2)}return qo(t,n)}function si(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const a=i,s=0|r.Compare(o,Jo(a));if(0===s)return Ot(Xo(a));if(a instanceof Zo){e=r,t=o,n=s<0?Ko(a):ei(a);continue e}return}return}}function ui(e,t){e:for(;;){const n=e,r=t;if(null!=r){const o=r;if(o instanceof Zo){ui(n,Ko(o)),n(Jo(o),Xo(o)),e=n,t=ei(o);continue e}n(Jo(o),Xo(o))}break}}function ci(e,t){ui(e,t)}function li(e,t){if(null!=t){const n=t;if(n instanceof Zo){const t=li(e,Ko(n)),r=e(Jo(n),Xo(n)),o=li(e,ei(n));return Qo(Jo(n),r,t,o,ti(n))}return qo(Jo(n),e(Jo(n),Xo(n)))}}function fi(e,t){return li(e,t)}function di(e,t){let n;for(let r=0;r<=t.length-1;r++){const o=t[r];n=ai(e,o[0],o[1],n)}return n}class mi extends xt{constructor(e,t){super(),this.stack=e,this.started=t}}function hi(e){e:for(;;){const t=e;if(Dn(t))return Tn();{const n=Rn(t),r=Ln(t);if(null!=r){const o=r;if(o instanceof Zo){e=Wn([Ko(o),qo(Jo(o),Xo(o)),ei(o)],n);continue e}return t}e=n;continue e}}}function pi(e){return new mi(hi(Pn(e)),!1)}function gi(e){if(e.started){const t=e.stack;if(Dn(t))return function(){throw new Error("enumeration already finished")}();if(null!=Ln(t)){const e=Ln(t);if(e instanceof Zo)throw new Error("Please report error: Map iterator, unexpected stack for current");return[Jo(e),Xo(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function vi(e){let t=pi(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>gi(t),"System.Collections.IEnumerator.get_Current":()=>gi(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Dn(t))return!1;if(null!=Ln(t)){if(Ln(t)instanceof Zo)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=hi(Rn(t)),!Dn(e.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!Dn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=pi(e)},Dispose(){}}}class yi{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){const t=(e,t)=>(e<<1)+t+631;let n=0;const r=$e(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=0|t(n,et(e[0])),n=0|t(n,et(e[1]))}}finally{He(r)}return 0|n}(this)}Equals(e){if(!(e instanceof yi))return!1;{const t=$e(this);try{const n=$e(e);try{const e=()=>{const r=t["System.Collections.IEnumerator.MoveNext"]();if(r===n["System.Collections.IEnumerator.MoveNext"]()){if(r){const r=t["System.Collections.Generic.IEnumerator`1.get_Current"](),o=n["System.Collections.Generic.IEnumerator`1.get_Current"]();return!(!rt(r[0],o[0])||!rt(r[1],o[1]))&&e()}return!0}return!1};return e()}finally{He(n)}}finally{He(t)}}}toString(){return"map ["+wn("; ",hr((e=>function(e,...t){return"object"==typeof e&&t.length>0&&(e=t[0],t.shift()),e.replace(fn,((e,n,r,o,i,a)=>{if(n<0||n>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let s=t[n];if(tn(s))switch(i=null==i?null:parseInt(i,10),o){case"f":case"F":s=rn(s,i=null!=i?i:2);break;case"g":case"G":s=null!=i?on(s,i):on(s);break;case"e":case"E":s=null!=i?an(s,i):an(s);break;case"p":case"P":i=null!=i?i:2,s=rn(nn(s,100),i)+" %";break;case"d":case"D":s=null!=i?_n(String(s),i,"0"):String(s);break;case"x":case"X":s=null!=i?_n(sn(s),i,"0"):sn(s),"X"===o&&(s=s.toUpperCase());break;default:if(a){let e="";s=a.replace(/([0#,]+)(\.[0#]+)?/,((t,n,r)=>{dn(s,0)&&(s=nn(s,-1),e="-"),r=null==r?"":r.substring(1),s=rn(s,Math.max(r.length,0));let[o,i]=s.split(".");i||(i=""),o=_n(o,n.replace(/,/g,"").replace(/^#+/,"").length,"0");const a=r.replace(/#+$/,"").length;if(a>i.length?i=function(e,t,n){return bn(e,t,"0",!0)}(i,a):a<i.length&&(i=i.substring(0,a)+i.substring(a).replace(/0+$/,"")),n.indexOf(",")>0){const e=o.length%3,t=Math.floor(o.length/3);let n=e>0?o.substr(0,e)+(t>0?",":""):"";for(let r=0;r<t;r++)n+=o.substr(e+3*r,3)+(r<t-1?",":"");o=n}return i.length>0?o+"."+i:o})),s=e+s}}else s=s instanceof Date?Yt(s,a||o):pt(s);return r=parseInt((r||" ").substring(1),10),isNaN(r)||(s=bn(String(s),Math.abs(r)," ",r<0)),s}))}("({0}, {1})",e[0],e[1])),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(e){return Array.from(this)}GetEnumerator(){return vi(this.tree)}[Symbol.iterator](){return Be(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return vi(this.tree)}CompareTo(e){const t=this;if(e instanceof yi)return 0|function(e,t,n){const r=rr(t);try{const t=rr(n);try{let n=0,o=r["System.Collections.IEnumerator.MoveNext"](),i=t["System.Collections.IEnumerator.MoveNext"]();for(;0===n&&o&&i;)n=0|e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),t["System.Collections.Generic.IEnumerator`1.get_Current"]()),0===n&&(o=r["System.Collections.IEnumerator.MoveNext"](),i=t["System.Collections.IEnumerator.MoveNext"]());return 0|(0!==n?n:o?1:i?-1:0)}finally{He(t)}}finally{He(r)}}(((e,n)=>{const r=0|t.comparer.Compare(e[0],n[0]);return 0|(0!==r?r:st(e[1],n[1]))}),t,e);throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return Ci(this,e[0])&&rt(_i(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){!function(e,t,n){let r=n;ci(((e,n)=>{t[r]=[e,n],r=r+1|0}),e)}(this.tree,e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|xi(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|xi(this)}get size(){return 0|xi(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return hr((e=>[e[0],e[1]]),this)}get(e){return _i(this,e)}has(e){return Ci(this,e)}keys(){return hr((e=>e[0]),this)}set(e,t){throw new Error("Map cannot be mutated")}values(){return hr((e=>e[1]),this)}forEach(e,t){const n=this;mr((t=>{e(t[1],t[0],n)}),n)}}function wi(e,t){return new yi(e,t)}function bi(e){const t=Lt();return wi(t,function(e,t){if(Ue(t))return di(e,t);if(t instanceof Cn)return function(e,t){return Un(((t,n)=>ai(e,n[0],n[1],t)),void 0,t)}(e,t);{const n=$e(t);try{return function(e,t,n){for(;;){const r=e,o=t,i=n;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;{const a=i["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=ai(r,a[0],a[1],o),n=i}}}(e,void 0,n)}finally{He(n)}}}(t,e))}function _i(e,t){return function(e,t,n){const r=si(e,t,n);if(null==r)throw new Error;return At(r)}(e.comparer,t,e.tree)}function xi(e){return ri(e.tree)}function Ci(e,t){return function(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const a=i,s=0|r.Compare(o,Jo(a));if(a instanceof Zo){if(s<0){e=r,t=o,n=Ko(a);continue e}if(0===s)return!0;e=r,t=o,n=ei(a);continue e}return 0===s}return!1}}(e.comparer,t,e.tree)}function ki(e,t,n){return function(e,t,n){return wi(e.comparer,ai(e.comparer,t,n,e.tree))}(n,e,t)}function Si(e,t){return function(e,t){return si(e.comparer,t,e.tree)}(t,e)}function Ei(e,t){return function(e,t){return wi(e.comparer,fi(t,e.tree))}(t,e)}function Mi(){return yi.empty}yi.empty=wi(Lt(),void 0);const Ni=new $o("",new Ho(0),Tn(),!1,void 0,void 0,void 0,new Go(0));function Oi(e,t){return"string"!=typeof(n=t)||0===n.length?[t]: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(un),t=t.length>0?t:["\\s"];const a=[],s=new RegExp(t.join("|"),"g");let u=!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)&&a.push(t),u=!1}else{const r=i?e.substring(c,t.index).trim():e.substring(c,t.index);(!o||r.length>0)&&(null!=n&&a.length+1===n?(a.push(i?e.substring(c).trim():e.substring(c)),u=!1):a.push(r)),c=s.lastIndex}}while(u);return a}(t,[e],null,0);var n}function Ai(e){return new $o(e,Ni.method,Ni.headers,Ni.withCredentials,Ni.overridenMimeType,Ni.overridenResponseType,Ni.timeout,Ni.content)}function Ti(e,t){return new $o(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Ii(e,t){return new $o(t.url,t.method,$n(t.headers,Pn(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Pi(e){return function(e){return bo((t=>e([t.onSuccess,t.onError,t.onCancel])))}((t=>{const n=new XMLHttpRequest;n.open(function(e){switch(e.tag){case 1:return"POST";case 3:return"PATCH";case 2:return"PUT";case 4:return"DELETE";case 6:return"OPTIONS";case 5:return"HEAD";default:return"GET"}}(e.method),e.url),n.onreadystatechange=()=>{let e,r,o,i,a,s,u;4===n.readyState&&t[0]((r=n.responseType,e=""===r||"text"===r?n.responseText:"",o=0|n.status,i=n.responseType,s=n.responseType,a=""===s||"text"===s?new Bo(0,n.responseText):new Bo("arraybuffer"===s?2:"blob"===s?1:3,n.response),u=function(e){const t=Lt();return wi(t,di(t,e))}(function(e,t,n){const r=[];for(let n=0;n<=t.length-1;n++){const o=e(t[n]);if(null!=o){const e=At(o);r.push(e)}}return r}((e=>{const t=Gn(Oi(":",e));return Dn(t)?void 0:[Ln(t).toLocaleLowerCase(),wn(":",Rn(t)).trim()]}),Oi("\r\n",n.getAllResponseHeaders()))),new Yo(o,e,i,n.responseURL,u,a)))};const r=$e(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n.setRequestHeader(e.fields[0],e.fields[1])}}finally{He(r)}n.withCredentials=e.withCredentials;const o=e.overridenMimeType;if(null==o);else{const e=o;n.overrideMimeType(e)}const i=e.overridenResponseType;null==i||(1===i.tag?n.responseType="blob":2===i.tag?n.responseType="arraybuffer":n.responseType="text");const a=e.timeout;if(null==a);else{const e=0|a;n.timeout=0|e}const s=e.content;switch(s.tag){case 1:case 3:case 2:n.send(Ot(s.fields[0]));break;default:n.send()}}))}new Yo(0,"","","",Mi(),new Bo(0,""));class Di extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class ji extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class Li{constructor(){this.cache=new Map([])}}function Ri(){return new Li}function Fi(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function Ui(e,t){switch(e.tag){case 2:return function(e,t,n,r,o=0){if("string"==typeof e){const n=e;e=function(e,t=0){if(0!=(-284&t))throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let n="gu";return n+=1&t?"i":"",n+=2&t?"m":"",n+=16&t?"s":"",new RegExp(e,n)}(t,null!=r?r:0),t=n,r=void 0}if("function"==typeof n)return r=null==r?-1:r,t.substring(0,o)+t.substring(o).replace(e,(function(){let e=arguments[0];if(r){r--;const t=[],o=arguments.length,i="string"!=typeof arguments[o-1];let a=i?o-3:o-2;for(let e=0;e<a;e++)t.push(arguments[e]);t.index=arguments[a++],t.input=arguments[a++],i&&(t.groups=arguments[a]),e=n(t)}return e}));if(n=n.replace(/\$0/g,(e=>"$&")).replace(/\${([^}]+)}/g,"$<$1>"),null!=r){let i;const a=t.substring(o),s=cn(e,a),u=cn.length>r?(i=s[r-1],a.substring(0,i.index+i[0].length)):a;return t.substring(0,o)+u.replace(e,n)+t.substring(o+u.length)}return t.replace(e,n)}(Fi(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return Fi(t)}}Ri(),Ri();const zi=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,Hi=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Wi=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Gi(e,t){try{return t.contents=function(e){function t(e){return e.replace(Hi,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(zi.test(n))return function(e,...t){if(0===t.length)return e.trim();const n="["+un(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}(n,"{","}","(",")");if(Hi.test(n))return t(n);if(Wi.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}(e),!0}catch(e){return!1}}var $i;function Bi(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function Yi(e,t,n,r,o){try{return o.contents=function(e,t,n,r,o){const i=function(e,t,n){const r=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(null!=r){const[,,e,o]=r;n=n||function(e,t){if(t&$i.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}(e,t);const i=function(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}(n);if(!i.test(o))return function(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}(r,n)}return null}(e,t,void 0);if(null!=i){let e=Number.parseInt(i.sign+i.digits,i.radix);if(!Number.isNaN(e)){const[t,o]=Bi(!0,r);!n&&10!==i.radix&&e>=t&&e<=o&&(e=e<<32-r>>32-r);const[a,s]=Bi(n,r);if(e>=a&&e<=s)return e}}throw new Error("Input string was not in a correct format.")}(e,t,n,r),!0}catch(e){return!1}}function Vi(e,t){!function(e){if(null!=e&&0!==e){if(e%6e4!=0)throw new Error("Offset must be specified in whole minutes.");if(Math.abs(e/36e5)>14)throw new Error("Offset must be within plus or minus 14 hours.")}}(t);const n=new Date(e);return n.offset=null!=t?t:-6e4*(new Date).getTimezoneOffset(),n}function qi(e,t){try{return t.contents=function(e){const[t,n]=qt(e),r=null==n?-6e4*t.getTimezoneOffset():"Z"===n?0:6e4*n;return Vi(t.getTime(),r)}(e),!0}catch(e){return!1}}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}($i||($i={}));var Ji=null;try{Ji=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(u){}function Xi(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function Zi(e){return!0===(e&&e.__isLong__)}Xi.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},Xi.prototype.Equals=function(e){return ka(this,e)},Xi.prototype.CompareTo=function(e){return Na(this,e)},Xi.prototype.toString=function(e){return ba(this,e)},Xi.prototype.toJSON=function(){return ba(this)},Xi.prototype[en]=function(){const e=this;return{multiply:t=>Ia(e,t),toPrecision:t=>String(e)+(0).toPrecision(t).substr(1),toExponential:t=>String(e)+(0).toExponential(t).substr(1),toFixed:t=>String(e)+(0).toFixed(t).substr(1),toHex:()=>{return ba(e.unsigned?e:function(e,t,n){return n?function(e,t){return new Xi(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)}(e,t):function(e,t){return new Xi(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}(e,t)}((t=e,n?function(e){var t=e.high,n=e.low;return[255&n,n>>>8&255,n>>>16&255,n>>>24,255&t,t>>>8&255,t>>>16&255,t>>>24]}(t):function(e){var t=e.high,n=e.low;return[t>>>24,t>>>16&255,t>>>8&255,255&t,n>>>24,n>>>16&255,n>>>8&255,255&n]}(t)),!0),16);var t,n}}},Xi.prototype.__isLong__,Object.defineProperty(Xi.prototype,"__isLong__",{value:!0});var Qi={},Ki={};function ea(e,t){var n,r,o;return t?(o=0<=(e>>>=0)&&e<256)&&(r=Ki[e])?r:(n=na(e,(0|e)<0?-1:0,!0),o&&(Ki[e]=n),n):(o=-128<=(e|=0)&&e<128)&&(r=Qi[e])?r:(n=na(e,e<0?-1:0,!1),o&&(Qi[e]=n),n)}function ta(e,t){if(isNaN(e))return t?fa:la;if(t){if(e<0)return fa;if(e>=sa)return ga}else{if(e<=-ua)return va;if(e+1>=ua)return pa}return e<0?Oa(ta(-e,t)):na(e%aa|0,e/aa|0,t)}function na(e,t,n){return new Xi(e,t,n)}var ra=Math.pow;function oa(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return la;if("number"==typeof t?(n=t,t=!1):t=!!t,(n=n||10)<2||36<n)throw RangeError("radix");var r=e.indexOf("-");if(r>0)throw Error("interior hyphen");if(0===r)return Oa(oa(e.substring(1),t,n));for(var o=ta(ra(n,8)),i=la,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),u=parseInt(e.substring(a,a+s),n);i=Aa(s<8?Ia(i,ta(ra(n,s))):i=Ia(i,o),ta(u))}return i.unsigned=t,i}function ia(e,t){return"number"==typeof e?ta(e,t):"string"==typeof e?oa(e,t):na(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}var aa=4294967296,sa=aa*aa,ua=sa/2,ca=ea(1<<24),la=ea(0),fa=ea(0,!0),da=ea(1),ma=ea(1,!0),ha=ea(-1),pa=na(-1,2147483647,!1),ga=na(-1,-1,!0),va=na(0,-2147483648,!1);function ya(e){return e.unsigned?e.low>>>0:e.low}function wa(e){return e.unsigned?(e.high>>>0)*aa+(e.low>>>0):e.high*aa+(e.low>>>0)}function ba(e,t){if((t=t||10)<2||36<t)throw RangeError("radix");if(_a(e))return"0";if(xa(e)){if(ka(e,va)){var n=ta(t),r=Pa(e,n),o=Ta(Ia(r,n),e);return ba(r,t)+ya(o).toString(t)}return"-"+ba(Oa(e),t)}for(var i=ta(ra(t,6),e.unsigned),a=e,s="";;){var u=Pa(a,i),c=(ya(Ta(a,Ia(u,i)))>>>0).toString(t);if(_a(a=u))return c+s;for(;c.length<6;)c="0"+c;s=""+c+s}}function _a(e){return 0===e.high&&0===e.low}function xa(e){return!e.unsigned&&e.high<0}function Ca(e){return 1==(1&e.low)}function ka(e,t){return Zi(t)||(t=ia(t)),(e.unsigned===t.unsigned||e.high>>>31!=1||t.high>>>31!=1)&&e.high===t.high&&e.low===t.low}function Sa(e,t){return Na(e,t)<0}function Ea(e,t){return Na(e,t)>0}function Ma(e,t){return Na(e,t)>=0}function Na(e,t){if(Zi(t)||(t=ia(t)),ka(e,t))return 0;var n=xa(e),r=xa(t);return n&&!r?-1:!n&&r?1:e.unsigned?t.high>>>0>e.high>>>0||t.high===e.high&&t.low>>>0>e.low>>>0?-1:1:xa(Ta(e,t))?-1:1}function Oa(e){return!e.unsigned&&ka(e,va)?va:Aa(function(e){return na(~e.low,~e.high,e.unsigned)}(e),da)}function Aa(e,t){Zi(t)||(t=ia(t));var n=e.high>>>16,r=65535&e.high,o=e.low>>>16,i=65535&e.low,a=t.high>>>16,s=65535&t.high,u=t.low>>>16,c=0,l=0,f=0,d=0;return f+=(d+=i+(65535&t.low))>>>16,l+=(f+=o+u)>>>16,c+=(l+=r+s)>>>16,c+=n+a,na((f&=65535)<<16|(d&=65535),(c&=65535)<<16|(l&=65535),e.unsigned)}function Ta(e,t){return Zi(t)||(t=ia(t)),Aa(e,Oa(t))}function Ia(e,t){if(_a(e))return e.unsigned?fa:la;if(Zi(t)||(t=ia(t)),Ji)return na(Ji.mul(e.low,e.high,t.low,t.high),Ji.get_high(),e.unsigned);if(_a(t))return e.unsigned?fa:la;if(ka(e,va))return Ca(t)?va:la;if(ka(t,va))return Ca(e)?va:la;if(xa(e))return xa(t)?Ia(Oa(e),Oa(t)):Oa(Ia(Oa(e),t));if(xa(t))return Oa(Ia(e,Oa(t)));if(Sa(e,ca)&&Sa(t,ca))return ta(wa(e)*wa(t),e.unsigned);var n=e.high>>>16,r=65535&e.high,o=e.low>>>16,i=65535&e.low,a=t.high>>>16,s=65535&t.high,u=t.low>>>16,c=65535&t.low,l=0,f=0,d=0,m=0;return d+=(m+=i*c)>>>16,f+=(d+=o*c)>>>16,d&=65535,f+=(d+=i*u)>>>16,l+=(f+=r*c)>>>16,f&=65535,l+=(f+=o*u)>>>16,f&=65535,l+=(f+=i*s)>>>16,l+=n*c+r*u+o*s+i*a,na((d&=65535)<<16|(m&=65535),(l&=65535)<<16|(f&=65535),e.unsigned)}function Pa(e,t){if(Zi(t)||(t=ia(t)),_a(t))throw Error("division by zero");var n,r,o;if(Ji)return e.unsigned||-2147483648!==e.high||-1!==t.low||-1!==t.high?na((e.unsigned?Ji.div_u:Ji.div_s)(e.low,e.high,t.low,t.high),Ji.get_high(),e.unsigned):e;if(_a(e))return e.unsigned?fa:la;if(e.unsigned){if(t.unsigned||(t=function(e){return e.unsigned?e:na(e.low,e.high,!0)}(t)),Ea(t,e))return fa;if(Ea(t,function(e,t){if(Zi(t)&&(t=ya(t)),0==(t&=63))return e;var n=e.high;return t<32?na(e.low>>>t|n<<32-t,n>>>t,e.unsigned):na(32===t?n:n>>>t-32,0,e.unsigned)}(e,1)))return ma;o=fa}else{if(ka(e,va))return ka(t,da)||ka(t,ha)?va:ka(t,va)?da:ka(n=function(e,t){return Zi(t)&&(t=ya(t)),0==(t&=63)?e:t<32?na(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):na(0,e.low<<t-32,e.unsigned)}(Pa(function(e,t){return Zi(t)&&(t=ya(t)),0==(t&=63)?e:t<32?na(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):na(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}(e,1),t),1),la)?xa(t)?da:ha:o=Aa(n,Pa(r=Ta(e,Ia(t,n)),t));if(ka(t,va))return e.unsigned?fa:la;if(xa(e))return xa(t)?Pa(Oa(e),Oa(t)):Oa(Pa(Oa(e),t));if(xa(t))return Oa(Pa(e,Oa(t)));o=la}for(r=e;Ma(r,t);){n=Math.max(1,Math.floor(wa(r)/wa(t)));for(var i=Math.ceil(Math.log(n)/Math.LN2),a=i<=48?1:ra(2,i-48),s=ta(n),u=Ia(s,t);xa(u)||Ea(u,r);)u=Ia(s=ta(n-=a,e.unsigned),t);_a(s)&&(s=da),o=Aa(o,s),r=Ta(r,u)}return o}const Da=Pa,ja=wa;function La(e){return e<0?Math.ceil(e):Math.floor(e)}function Ra(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return Fa(arguments[0]);case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],o=0}return 864e5*e+36e5*t+6e4*n+1e3*r+o}function Fa(e){return ja(Da(e,1e4))}function Ua(e,t){try{return t.contents=function(e){const t=e.search("\\."),n=e.search("\\:");if(-1===t&&-1===n){const t=parseInt(e,0);if(isNaN(t))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return Ra(t,0,0,0,0)}if(n>0){const t=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(null!=t&&null!=t[4]&&null!=t[5]){let n=0,r=0,o=0;const i=null!=t[1]&&"-"===t[1]?-1:1,a=+t[4],s=+t[5];if(null!=t[3]&&(n=+t[3]),null!=t[7]&&(o=+t[7]),null!=t[8])switch(t[8].length){case 1:r=100*+t[8];break;case 2:r=10*+t[8];break;case 3:r=+t[8];break;case 4:r=+t[8]/10;break;case 5:r=+t[8]/100;break;case 6:r=+t[8]/1e3;break;case 7:r=+t[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return i*Ra(n,a,s,o,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}class za{constructor(e){this.k=e}}function Ha(e){return new za(e)}function Wa(e){return e.k}class Ga extends za{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=0|r}}function $a(e,t,n,r){return new Ga(e,t,n,r)}function Ba(e){return e.left}function Ya(e){return e.right}function Va(e){return e.h}function qa(e,t){e:for(;;){const n=e,r=t;if(null!=n){const o=n;if(o instanceof Ga){e=Ba(o),t=qa(Ya(o),r+1);continue e}return r+1|0}return 0|r}}function Ja(e){return qa(e,0)}function Xa(e,t,n){let r,o;if(null!=e){const t=e;r=t instanceof Ga?Va(t):1}else r=0;if(null!=n){const e=n;o=e instanceof Ga?Va(e):1}else o=0;const i=0|(r<o?o:r);return 0===i?Ha(t):$a(t,e,n,i+1)}function Za(e,t,n){let r,o,i,a,s,u;if(null!=e){const t=e;s=t instanceof Ga?Va(t):1}else s=0;if(null!=n){const e=n;u=e instanceof Ga?Va(e):1}else u=0;if(u>s+2){const i=At(n);if(i instanceof Ga){if(r=Ba(i),(null!=r?(o=r,o instanceof Ga?Va(o):1):0)>s+1){const n=At(Ba(i));if(n instanceof Ga)return Xa(Xa(e,t,Ba(n)),Wa(n),Xa(Ya(n),Wa(i),Ya(i)));throw new Error("internal error: Set.rebalance")}return Xa(Xa(e,t,Ba(i)),Wa(i),Ya(i))}throw new Error("internal error: Set.rebalance")}if(s>u+2){const r=At(e);if(r instanceof Ga){if(i=Ya(r),(null!=i?(a=i,a instanceof Ga?Va(a):1):0)>u+1){const e=At(Ya(r));if(e instanceof Ga)return Xa(Xa(Ba(r),Wa(r),Ba(e)),Wa(e),Xa(Ya(e),t,n));throw new Error("internal error: Set.rebalance")}return Xa(Ba(r),Wa(r),Xa(Ya(r),t,n))}throw new Error("internal error: Set.rebalance")}return Xa(e,t,n)}function Qa(e,t,n){if(null!=n){const r=n,o=0|e.Compare(t,Wa(r));if(r instanceof Ga)return o<0?Za(Qa(e,t,Ba(r)),Wa(r),Ya(r)):0===o?n:Za(Ba(r),Wa(r),Qa(e,t,Ya(r)));{const o=0|e.Compare(t,Wa(r));return o<0?$a(t,void 0,n,2):0===o?n:$a(t,n,void 0,2)}}return Ha(t)}function Ka(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const a=i,s=0|r.Compare(o,Wa(a));if(a instanceof Ga){if(s<0){e=r,t=o,n=Ba(a);continue e}if(0===s)return!0;e=r,t=o,n=Ya(a);continue e}return 0===s}return!1}}function es(e,t){e:for(;;){const n=e,r=t;if(null!=r){const o=r;if(o instanceof Ga){es(n,Ba(o)),n(Wa(o)),e=n,t=Ya(o);continue e}n(Wa(o))}break}}class ts extends xt{constructor(e,t){super(),this.stack=e,this.started=t}}function ns(e){e:for(;;){const t=e;if(Dn(t))return Tn();{const n=Ln(t),r=Rn(t);if(null!=n){const o=n;if(o instanceof Ga){e=Wn([Ba(o),Ha(Wa(o)),Ya(o)],r);continue e}return t}e=r;continue e}}}function rs(e){return new ts(ns(Pn(e)),!1)}function os(e){if(e.started){const t=e.stack;if(Dn(t))return function(){throw new Error("Enumeration already started")}();if(null!=Ln(t))return Wa(Ln(t));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function is(e){let t=rs(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>os(t),"System.Collections.IEnumerator.get_Current":()=>os(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Dn(t))return!1;if(null!=Ln(t)){if(Ln(t)instanceof Ga)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=ns(Rn(t)),!Dn(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!Dn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=rs(e)},Dispose(){}}}function as(e,t,n){return null==t?null==n?0:-1:null==n?1:0|function(e,t,n){e:for(;;){const r=e,o=t,i=n,a=[o,i];if(Dn(a[0]))return Dn(a[1])?0:-1;if(Dn(a[1]))return 1;if(null!=Ln(a[1]))if(null!=Ln(a[0])){const s=Ln(a[0]),u=Ln(a[1]);if(s instanceof Ga)if(null==Ba(s)){if(!(u instanceof Ga)){const o=0|r.Compare(Wa(s),Wa(u));if(0!==o)return 0|o;e=r,t=In(Ya(s),Rn(a[0])),n=In(void 0,Rn(a[1]));continue e}if(null==Ba(u)){const o=0|r.Compare(Wa(s),Wa(u));if(0!==o)return 0|o;e=r,t=In(Ya(s),Rn(a[0])),n=In(Ya(u),Rn(a[1]));continue e}{const a=[o,i];let s,u,c,l,f;switch(Dn(a[0])?Dn(a[1])?s=2:null!=Ln(a[1])?(s=1,l=Rn(a[1]),f=Ln(a[1])):s=2:null!=Ln(a[0])?(s=0,u=Rn(a[0]),c=Ln(a[0])):Dn(a[1])?s=2:null!=Ln(a[1])?(s=1,l=Rn(a[1]),f=Ln(a[1])):s=2,s){case 0:if(c instanceof Ga){e=r,t=Wn([Ba(c),$a(Wa(c),void 0,Ya(c),0)],u),n=i;continue e}e=r,t=Wn([void 0,Ha(Wa(c))],u),n=i;continue e;case 1:if(f instanceof Ga){e=r,t=o,n=Wn([Ba(f),$a(Wa(f),void 0,Ya(f),0)],l);continue e}e=r,t=o,n=Wn([void 0,Ha(Wa(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const a=[o,i];let s,u,c,l,f;switch(Dn(a[0])?Dn(a[1])?s=2:null!=Ln(a[1])?(s=1,l=Rn(a[1]),f=Ln(a[1])):s=2:null!=Ln(a[0])?(s=0,u=Rn(a[0]),c=Ln(a[0])):Dn(a[1])?s=2:null!=Ln(a[1])?(s=1,l=Rn(a[1]),f=Ln(a[1])):s=2,s){case 0:if(c instanceof Ga){e=r,t=Wn([Ba(c),$a(Wa(c),void 0,Ya(c),0)],u),n=i;continue e}e=r,t=Wn([void 0,Ha(Wa(c))],u),n=i;continue e;case 1:if(f instanceof Ga){e=r,t=o,n=Wn([Ba(f),$a(Wa(f),void 0,Ya(f),0)],l);continue e}e=r,t=o,n=Wn([void 0,Ha(Wa(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(u instanceof Ga)){const o=0|r.Compare(Wa(s),Wa(u));if(0!==o)return 0|o;e=r,t=Rn(a[0]),n=Rn(a[1]);continue e}if(null==Ba(u)){const o=0|r.Compare(Wa(s),Wa(u));if(0!==o)return 0|o;e=r,t=In(void 0,Rn(a[0])),n=In(Ya(u),Rn(a[1]));continue e}{const a=[o,i];let s,u,c,l,f;switch(Dn(a[0])?Dn(a[1])?s=2:null!=Ln(a[1])?(s=1,l=Rn(a[1]),f=Ln(a[1])):s=2:null!=Ln(a[0])?(s=0,u=Rn(a[0]),c=Ln(a[0])):Dn(a[1])?s=2:null!=Ln(a[1])?(s=1,l=Rn(a[1]),f=Ln(a[1])):s=2,s){case 0:if(c instanceof Ga){e=r,t=Wn([Ba(c),$a(Wa(c),void 0,Ya(c),0)],u),n=i;continue e}e=r,t=Wn([void 0,Ha(Wa(c))],u),n=i;continue e;case 1:if(f instanceof Ga){e=r,t=o,n=Wn([Ba(f),$a(Wa(f),void 0,Ya(f),0)],l);continue e}e=r,t=o,n=Wn([void 0,Ha(Wa(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{Ln(a[1]);const s=[o,i];let u,c,l,f,d;switch(Dn(s[0])?Dn(s[1])?u=2:null!=Ln(s[1])?(u=1,f=Rn(s[1]),d=Ln(s[1])):u=2:null!=Ln(s[0])?(u=0,c=Rn(s[0]),l=Ln(s[0])):Dn(s[1])?u=2:null!=Ln(s[1])?(u=1,f=Rn(s[1]),d=Ln(s[1])):u=2,u){case 0:if(l instanceof Ga){e=r,t=Wn([Ba(l),$a(Wa(l),void 0,Ya(l),0)],c),n=i;continue e}e=r,t=Wn([void 0,Ha(Wa(l))],c),n=i;continue e;case 1:if(d instanceof Ga){e=r,t=o,n=Wn([Ba(d),$a(Wa(d),void 0,Ya(d),0)],f);continue e}e=r,t=o,n=Wn([void 0,Ha(Wa(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==Ln(a[0])){e=r,t=Rn(a[0]),n=Rn(a[1]);continue e}{Ln(a[0]);const s=[o,i];let u,c,l,f,d;switch(Dn(s[0])?Dn(s[1])?u=2:null!=Ln(s[1])?(u=1,f=Rn(s[1]),d=Ln(s[1])):u=2:null!=Ln(s[0])?(u=0,c=Rn(s[0]),l=Ln(s[0])):Dn(s[1])?u=2:null!=Ln(s[1])?(u=1,f=Rn(s[1]),d=Ln(s[1])):u=2,u){case 0:if(l instanceof Ga){e=r,t=Wn([Ba(l),$a(Wa(l),void 0,Ya(l),0)],c),n=i;continue e}e=r,t=Wn([void 0,Ha(Wa(l))],c),n=i;continue e;case 1:if(d instanceof Ga){e=r,t=o,n=Wn([Ba(d),$a(Wa(d),void 0,Ya(d),0)],f);continue e}e=r,t=o,n=Wn([void 0,Ha(Wa(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,Pn(t),Pn(n))}function ss(e,t,n){let r=n;es((e=>{t[r]=e,r=r+1|0}),e)}function us(e,t){if(Ue(t))return function(e,t){return zt(((t,n)=>Qa(e,n,t)),void 0,t)}(e,t);if(t instanceof Cn)return function(e,t){return Un(((t,n)=>Qa(e,n,t)),void 0,t)}(e,t);{const n=$e(t);try{return function(e,t,n){for(;;){const r=e,o=t,i=n;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;e=r,t=Qa(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i}}(e,void 0,n)}finally{He(n)}}}class cs{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){let t,n=0;const r=$e(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();)n=0|(t=0|et(r["System.Collections.Generic.IEnumerator`1.get_Current"]()),(n<<1)+t+631)}finally{He(r)}return 0|Math.abs(n)}(this)}Equals(e){return e instanceof cs&&0===as(ls(this),fs(this),fs(e))}toString(){return"set ["+wn("; ",hr((e=>pt(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(e){return Array.from(this)}CompareTo(e){return 0|as(ls(this),fs(this),fs(e))}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return Ka(ls(this),e,fs(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){ss(fs(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|ds(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|ds(this)}GetEnumerator(){return is(fs(this))}[Symbol.iterator](){return Be(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return is(fs(this))}get size(){return 0|ds(this)}add(e){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(e){throw new Error("Set cannot be mutated")}has(e){return function(e,t){return Ka(ls(e),t,fs(e))}(this,e)}keys(){return hr((e=>e),this)}values(){return hr((e=>e),this)}entries(){return hr((e=>[e,e]),this)}forEach(e,t){const n=this;mr((t=>{e(t,t,n)}),n)}}function ls(e){return e.comparer}function fs(e){return e.tree}function ds(e){return Ja(fs(e))}function ms(e,t,n){try{return"Expecting "+e+" but instead got:"+(n?"\n":" ")+JSON.stringify(t,null,4)}catch(t){return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(n?"\n":" ")}}function hs(e,t,n){const r=t(e,n);if(1===r.tag){const e=r.fields[0];return new xo(1,function(e,t){const n=2===t.tag?ms(t.fields[0],t.fields[1],!0):1===t.tag?ms(t.fields[0],t.fields[1],!1)+"\nReason: "+t.fields[2]:3===t.tag?ms(t.fields[0],t.fields[1],!0):4===t.tag?ms(t.fields[0],t.fields[1],!0)+"\nNode `"+t.fields[2]+"` is unkown.":5===t.tag?"Expecting "+t.fields[0]+".\n"+JSON.stringify(t.fields[1],null,4):7===t.tag?"The following errors were found:\n\n"+wn("\n\n",t.fields[0]):6===t.tag?"The following `failure` occurred with the decoder: "+t.fields[0]:ms(t.fields[0],t.fields[1],!1);return 7===t.tag?n:"Error at: `"+e+"`\n"+n}(e[0],e[1]))}return new xo(0,r.fields[0])}const ps=e=>t=>{const n="a sbyte",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?-128<=e&&e<=127?new xo(0,(e+128&255)-128):new xo(1,[r,new Di(1,n,e,"Value was either too large or too small for a sbyte")]):new xo(1,[r,new Di(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Yi(o,511,!1,8,new Ct((()=>t),(e=>{t=0|e}))),t],e[0]?new xo(0,e[1]):new xo(1,[r,new Di(0,n,o)])}return new xo(1,[r,new Di(0,n,o)])},gs=e=>t=>{const n="a byte",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=255?new xo(0,255&e):new xo(1,[r,new Di(1,n,e,"Value was either too large or too small for a byte")]):new xo(1,[r,new Di(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Yi(o,511,!0,8,new Ct((()=>t),(e=>{t=e}))),t],e[0]?new xo(0,e[1]):new xo(1,[r,new Di(0,n,o)])}return new xo(1,[r,new Di(0,n,o)])},vs=e=>t=>{const n="an int16",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?-32768<=e&&e<=32767?new xo(0,(e+32768&65535)-32768):new xo(1,[r,new Di(1,n,e,"Value was either too large or too small for "+n)]):new xo(1,[r,new Di(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Yi(o,511,!1,16,new Ct((()=>t),(e=>{t=0|e}))),t],e[0]?new xo(0,e[1]):new xo(1,[r,new Di(0,n,o)])}return new xo(1,[r,new Di(0,n,o)])},ys=e=>t=>{const n="an uint16",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=65535?new xo(0,65535&e):new xo(1,[r,new Di(1,n,e,"Value was either too large or too small for "+n)]):new xo(1,[r,new Di(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Yi(o,511,!0,16,new Ct((()=>t),(e=>{t=e}))),t],e[0]?new xo(0,e[1]):new xo(1,[r,new Di(0,n,o)])}return new xo(1,[r,new Di(0,n,o)])},ws=e=>t=>{const n="an int",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?-2147483648<=e&&e<=2147483647?new xo(0,~~e):new xo(1,[r,new Di(1,n,e,"Value was either too large or too small for an int")]):new xo(1,[r,new Di(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Yi(o,511,!1,32,new Ct((()=>t),(e=>{t=0|e}))),t],e[0]?new xo(0,e[1]):new xo(1,[r,new Di(0,n,o)])}return new xo(1,[r,new Di(0,n,o)])},bs=e=>t=>{const n="an uint32",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=4294967295?new xo(0,e>>>0):new xo(1,[r,new Di(1,n,e,"Value was either too large or too small for "+n)]):new xo(1,[r,new Di(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Yi(o,511,!0,32,new Ct((()=>t),(e=>{t=e}))),t],e[0]?new xo(0,e[1]):new xo(1,[r,new Di(0,n,o)])}return new xo(1,[r,new Di(0,n,o)])};function _s(e,t,n,r){let o;const i=n+".["+Je(e)+"]";if(Array.isArray(r)){const n=r;return e<n.length?t(i,n[e]):new xo(1,[i,new Di(5,"a longer array. Need index `"+Je(e)+"` but there are only `"+(o=n.length,Je(o)+"` entries"),r)])}return new xo(1,[i,new Di(0,"an array",r)])}function xs(e,t,n){if(Array.isArray(n)){let r=-1;return Co(zn,zt(((n,o)=>{if(r=r+1|0,0===n.tag){const i=e(t+".["+Je(r)+"]",o);return 0===i.tag?new xo(0,In(i.fields[0],n.fields[0])):new xo(1,i.fields[0])}return n}),new xo(0,Tn()),n))}return new xo(1,[t,new Di(0,"a list",n)])}function Cs(e,t,n){if(Array.isArray(n)){let r=-1;const o=n;return zt(((n,o)=>{if(r=r+1|0,0===n.tag){const i=n.fields[0],a=e(t+".["+Je(r)+"]",o);return 0===a.tag?(i[r]=a.fields[0],new xo(0,i)):new xo(1,a.fields[0])}return n}),new xo(0,Ft(new Array(o.length),0,o.length,null)),o)}return new xo(1,[t,new Di(0,"an array",n)])}function ks(e,t,n,r){const o=t(n,r);return 0===o.tag?e(o.fields[0],n,r):new xo(1,o.fields[0])}function Ss(e,t){let n;const r=e;return n=e=>t=>_s(0,r,e,t),e=>r=>ks(ft(3,(e=>{let n;const r=t;return n=e=>t=>_s(1,r,e,t),t=>r=>ks(((t,n,r)=>new xo(0,[e,t])),ft(2,n),t,r)})),ft(2,n),e,r)}function Es(e){return bi(e)}function Ms(e){return function(e,t){return new cs(e,t)}(t={Compare:st},us(t,e));var t}function Ns(e,t,n,r){let o,i;return t.length!==r.length?new xo(1,[n,new Di(6,(o=0|r.length,i=0|t.length,pn(mn("Expected %i %s but got %i"))(i)(e)(o)))]):Wt(((e,t,r)=>0===r.tag?Co((e=>In(e,r.fields[0])),t(n)(e)):r),r,t,new xo(0,Tn()))}function Os(e,t,n,r,o,i){const a=function(e,t){return t.find((e=>zr(e)===r))}(0,Xr(n));if(null!=a){const n=a;return 0===i.length?new xo(0,ro(n,[])):Co((e=>ro(n,Fn(e))),Ns("union fields",Ut((n=>Ts(e,t,!1,n[1])),no(n)),o,i))}return new xo(1,[o,new Di(6,"Cannot find case "+r+" in "+Hr(n))])}function As(e,t,n,r){const o=new Ct(null),i=ki(Hr(r),o,e);let a;if(eo(r)){const e=Ut((e=>[Ui(t,zr(e)),Ts(i,t,!1,e[1])]),Zr(r));a=t=>n=>Co((e=>function(e,t){const n=Zr(e);if(n.length!==t.length)throw new Error(`Expected an array of length ${n.length} but got ${t.length}`);return null!=e.construct?new e.construct(...t):n.reduce(((e,[n,r],o)=>(e[n]=t[o],e)),{})}(r,Fn(e))),function(e,t,n){return null===n||Object.getPrototypeOf(n||!1)!==Object.prototype?new xo(1,[t,new Di(0,"an object",n)]):function(e,t,n){return t.reduceRight(((t,n)=>e(n,t)),n)}(ft(2,(e=>{const r=e[0];return o=>0===o.tag?Co((e=>In(e,o.fields[0])),e[1](t+"."+r)(n[r])):o})),e,new xo(0,Tn()))}(e,t,n))}else if(Kr(r))a=e=>n=>{if("string"==typeof n)return Os(i,t,r,n,e,[]);if(Array.isArray(n)){const o=n;return Os(i,t,r,o[0],e,o.slice(1,o.length))}return new xo(1,[e,new Di(0,"a string or array",n)])};else{if(!n){let e;const t=Hr(r);throw e=pn(mn("Cannot generate auto decoder for %s. Please pass an extra decoder."))(t),new Error(e)}a=e=>t=>new xo(1,[e,new Di(2,"an extra coder for "+Hr(r),t)])}return o.contents=a,a}function Ts(e,t,n,r){let o,i,a;const s=Hr(r),u=Si(s,e);if(null==u){if(Wr(r)){const n=Ts(e,t,!1,Gr(r));return e=>t=>Cs(ft(2,n),e,t)}if(Br(r)){const e=Hr(Vr(r));if("System.SByte"===e)return e=>t=>{const n=r,o=e,i=t,a=ps(o)(i);if(1===a.tag)return new xo(1,a.fields[0]);{const e=a.fields[0];return fr(e,qr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new xo(0,Jr(n,e.toString())):new xo(1,[o,new Di(1,Hr(n),i,"Unkown value provided for the enum")])}};if("System.Byte"===e)return e=>t=>{const n=r,o=e,i=t,a=gs(o)(i);if(1===a.tag)return new xo(1,a.fields[0]);{const e=a.fields[0];return fr(e,qr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new xo(0,Jr(n,e.toString())):new xo(1,[o,new Di(1,Hr(n),i,"Unkown value provided for the enum")])}};if("System.Int16"===e)return e=>t=>{const n=r,o=e,i=t,a=vs(o)(i);if(1===a.tag)return new xo(1,a.fields[0]);{const e=a.fields[0];return fr(e,qr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new xo(0,Jr(n,e.toString(s))):new xo(1,[o,new Di(1,Hr(n),i,"Unkown value provided for the enum")])}var s};if("System.UInt16"===e)return e=>t=>{const n=r,o=e,i=t,a=ys(o)(i);if(1===a.tag)return new xo(1,a.fields[0]);{const e=a.fields[0];return fr(e,qr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new xo(0,Jr(n,e.toString())):new xo(1,[o,new Di(1,Hr(n),i,"Unkown value provided for the enum")])}};if("System.Int32"===e)return e=>t=>{const n=r,o=e,i=t,a=ws(o)(i);if(1===a.tag)return new xo(1,a.fields[0]);{const e=a.fields[0];return fr(e,qr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new xo(0,Jr(n,Je(e))):new xo(1,[o,new Di(1,Hr(n),i,"Unkown value provided for the enum")])}};if("System.UInt32"===e)return e=>t=>{const n=r,o=e,i=t,a=bs(o)(i);if(1===a.tag)return new xo(1,a.fields[0]);{const e=a.fields[0];return fr(e,qr(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new xo(0,Jr(n,e.toString())):new xo(1,[o,new Di(1,Hr(n),i,"Unkown value provided for the enum")])}};{const e=Hr(r),t=gn(mn("Cannot generate auto decoder for %s.\nThoth.Json.Net only support the folluwing enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can't use one of these types, please pass an extra decoder.\n "))(e);return e=>t(e)}}if($r(r)){if(to(r)){const n=Ut((n=>Ts(e,t,!1,n)),Qr(r));return e=>t=>Array.isArray(t)?Co((e=>Fn(e)),Ns("tuple elements",n,e,t)):new xo(1,[e,new Di(0,"an array",t)])}{const s=Hr(Yr(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===s)return o=Ts(e,t,!0,Or(r)[0]),e=>t=>{return n=ft(2,o),r=e,null==(i=t)?new xo(0,void 0):Co(Ot,n(r,i));var n,r,i};if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===s)return i=Ts(e,t,!1,Or(r)[0]),e=>t=>xs(ft(2,i),e,t);if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===s){const n=Ts(e,t,!1,Or(r)[0]),o=Ts(e,t,!1,Or(r)[1]);let i;const s=Gn([e=>t=>function(e,t,n,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new xo(1,[n,new Di(0,"an object",r)]):dr(((o,i)=>{if(0===o.tag){const a=e(n,i);if(0===a.tag){const e=t(n+"."+i,r[i]);return 0===e.tag?new xo(0,In([a.fields[0],e.fields[0]],o.fields[0])):new xo(1,e.fields[0])}return new xo(1,a.fields[0])}return o}),new xo(0,Tn()),Object.keys(r))}(ft(2,n),ft(2,o),e,t),(a=Ss(ft(2,n),ft(2,o)),e=>t=>xs(ft(2,a),e,t))]);return i=e=>t=>{return n=e,r=t,((e,t)=>{e:for(;;){const o=e,i=t;if(Dn(o))return new xo(1,[n,new Di(7,i)]);{const a=hs(n,ft(2,Ln(o)),r);if(1===a.tag){e=Rn(o),t=$n(i,Pn(a.fields[0]));continue e}return new xo(0,a.fields[0])}}})(s,Tn());var n,r},e=>t=>function(e,t,n,r){const o=t(n,r);return 1===o.tag?new xo(1,o.fields[0]):new xo(0,e(o.fields[0]))}(Es,ft(2,i),e,t)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===s){const n=Ts(e,t,!1,Or(r)[0]);return e=>t=>{const r=Cs(ft(2,n),e,t);return 0===r.tag?new xo(0,Ms(r.fields[0])):new xo(1,r.fields[0])}}return As(e,t,n,r)}}return"System.Boolean"===s?e=>t=>{return n=e,"boolean"==typeof(r=t)?new xo(0,r):new xo(1,[n,new Di(0,"a boolean",r)]);var n,r}:"Microsoft.FSharp.Core.Unit"===s?e=>t=>{return n=e,null==(r=t)?new xo(0,void 0):new xo(1,[n,new Di(0,"null",r)]);var n,r}:"System.String"===s?e=>t=>{return n=e,"string"==typeof(r=t)?new xo(0,r):new xo(1,[n,new Di(0,"a string",r)]);var n,r}:"System.SByte"===s?ps:"System.Byte"===s?gs:"System.Int16"===s?vs:"System.UInt16"===s?ys:"System.Int32"===s?ws:"System.UInt32"===s?bs:"System.Double"===s?e=>t=>{return n=e,"number"==typeof(r=t)?new xo(0,r):new xo(1,[n,new Di(0,"a float",r)]);var n,r}:"System.Single"===s?e=>t=>{return n=e,"number"==typeof(r=t)?new xo(0,r):new xo(1,[n,new Di(0,"a float32",r)]);var n,r}:"System.DateTime"===s?e=>t=>function(e,t){if("string"==typeof t){let r,o=Vt(-621355968e5,0);return r=[Jt(t,new Ct((()=>o),(e=>{o=e}))),o],r[0]?new xo(0,1===(n=r[1]).kind?n:Vt(n.getTime(),1)):new xo(1,[e,new Di(0,"a datetime",t)])}var n;return new xo(1,[e,new Di(0,"a datetime",t)])}(e,t):"System.DateTimeOffset"===s?e=>t=>function(e,t){if("string"==typeof t){let n,r=Vi(-621355968e5,0);return n=[qi(t,new Ct((()=>r),(e=>{r=e}))),r],n[0]?new xo(0,n[1]):new xo(1,[e,new Di(0,"a datetimeoffset",t)])}return new xo(1,[e,new Di(0,"a datetime",t)])}(e,t):"System.TimeSpan"===s?e=>t=>function(e,t){if("string"==typeof t){let n,r=0;return n=[Ua(t,new Ct((()=>r),(e=>{r=e}))),r],n[0]?new xo(0,n[1]):new xo(1,[e,new Di(0,"a timespan",t)])}return new xo(1,[e,new Di(0,"a timespan",t)])}(e,t):"System.Guid"===s?e=>t=>function(e,t){if("string"==typeof t){let n,r="00000000-0000-0000-0000-000000000000";return n=[Gi(t,new Ct((()=>r),(e=>{r=e}))),r],n[0]?new xo(0,n[1]):new xo(1,[e,new Di(0,"a guid",t)])}return new xo(1,[e,new Di(0,"a guid",t)])}(e,t):"System.Object"===s?e=>e=>new xo(0,e):As(e,t,n,r)}{const e=u;return t=>n=>e.contents(t)(n)}}function Is(e,t,n){let r;const o=Pt(e,new ji(0));return r=At(n).ResolveType(),Ts(function(e){return null!=e?Ei(((e,t)=>new Ct(t[1])),e.Coders):Mi()}(t),o,!1,r)}function Ps(e,t,n,r){return function(e,t){try{return hs("$",e,JSON.parse(t))}catch(e){if(e instanceof SyntaxError)return new xo(1,"Given an invalid JSON: "+e.message);throw e}}(ft(2,Is(t,n,r)),e)}new class{constructor(){}};class Ds extends xt{constructor(e,t,n,r,o,i,a){super(),this.Configuration=e,this.LastUpdated=t,this.Status=n,this.Invite=r,this.Creator=o,this.Profile=i,this.Tags=a}}class js extends xt{constructor(e,t){super(),this.Name=e,this.Steps=t}}class Ls extends xt{constructor(e,t){super(),this.Id=e,this.DisplayName=t}}class Rs extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}class Fs extends xt{constructor(e){super(),this.CompletedSteps=e}}class Us extends xt{constructor(e,t){super(),this.Type=e,this.Date=t}}class zs extends xt{constructor(e){super(),this.DateIssued=e}}class Hs extends xt{constructor(e,t){super(),this.Name=e,this.Value=t}}class Ws extends xt{constructor(e,t,n){super(),this.FirstName=e,this.LastName=t,this.Email=n}}class Gs extends xt{constructor(e,t,n,r){super(),this.FirstName=e,this.LastName=t,this.Email=n,this.ExternalId=r}}class $s extends xt{constructor(e){super(),this.Data=e}}function Bs(){return Pr("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceDetailList",[],$s,(()=>[["Data",Lr(Pr("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceDetail",[],Ds,(()=>[["Configuration",Pr("Workflows.Api.Models.ProgressBackendModels.ProcessConfig",[],js,(()=>[["Name",Fr],["Steps",Lr(Pr("Workflows.Api.Models.ProgressBackendModels.ProcessStepConfig",[],Ls,(()=>[["Id",Fr],["DisplayName",Fr]])))]]))],["LastUpdated",Ir("System.DateTime")],["Status",Dr("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceStatus",[],Rs,(()=>[[],[["Item",Pr("Workflows.Api.Models.ProgressBackendModels.ActiveProcessInstance",[],Fs,(()=>[["CompletedSteps",Lr(Pr("Workflows.Api.Models.ProgressBackendModels.CompletedStep",[],Us,(()=>[["Type",Fr],["Date",Ir("System.DateTime")]])))]]))]],[["Item",Ir("System.DateTime")]],[["Item",Ir("System.DateTime")]]]))],["Invite",jr(Pr("Workflows.Api.Models.ProgressBackendModels.Invite",[],zs,(()=>[["DateIssued",Ir("System.DateTime")]])))],["Creator",jr(Pr("Workflows.Api.Models.ProgressBackendModels.Creator",[],Ws,(()=>[["FirstName",Fr],["LastName",Fr],["Email",Fr]])))],["Profile",Pr("Workflows.Api.Models.ProgressBackendModels.Profile",[],Gs,(()=>[["FirstName",Fr],["LastName",Fr],["Email",Fr],["ExternalId",jr(Fr)]]))],["Tags",Lr(Pr("Workflows.Api.Models.ProgressBackendModels.Tag",[],Hs,(()=>[["Name",Fr],["Value",Fr]])))]])))]]))}class Ys{constructor(e,t){this.accessToken=t,this.backendUrl=`${e}/workflows/progress-backend`}}function Vs(e){return zo(0,(()=>{let t,n;n=function(e,t){return function(e,t){const n=Vt(e.getTime()+t,e.kind);if(2===e.kind){const t=e.getTimezoneOffset(),r=n.getTimezoneOffset();return t!==r?Vt(n.getTime()+6e4*(r-t),e.kind):n}return n}(e,-2592e6)}(Xt()),t=Yt(n,"o");const r=(o=e,i=Ti(new Ho(0),Ai(`${e.backendUrl}/instances?dateFrom=${t}`)),zo(0,(()=>{const e=Ii((t=`Bearer ${o.accessToken}`,new Wo(0,"Authorization",t)),i);var t;let n;const r=Pi(e);return n=_o.Bind(r,(e=>_o.Return(new xo(0,e)))),_o.Delay((()=>_o.Bind(n,(t=>{let n,r;const o=t;return 1===o.tag?_o.Return(new xo(1,o.fields[0])):_o.ReturnFrom((n=o.fields[0],429===n.statusCode||n.statusCode>=500?(r=Pi(e),_o.Bind(r,(e=>_o.Return(new xo(0,e))))):function(e,t){const n=function(e,t){return new xo(0,t)}(0,t);return _o.Return(n)}(0,n)))}))))})));var o,i;return _o.Delay((()=>_o.Bind(r,(e=>{let t,n;const r=e;return 1===r.tag?_o.Return(new xo(1,r.fields[0])):_o.ReturnFrom((t=r.fields[0],200===t.statusCode?(n=Ps(t.responseText,new ji(1),void 0,{ResolveType:Bs}),_o.Return(n)):_o.Return(new xo(1,"Unexpected response from backend"))))}))))}))}const qs=class{constructor(){this.delegates=[]}Add(e){this._addHandler(e)}get Publish(){return this}Trigger(e,t){let n,r;void 0===t?(n=null,r=e):(n=e,r=t),this.delegates.forEach((e=>1===e.length?e(r):e(n,r)))}AddHandler(e){this._addHandler(e)}RemoveHandler(e){this._removeHandler(e)}Subscribe(e){const t="function"==typeof e?e:e.OnNext;return this._addHandler(t),{Dispose:()=>{this._removeHandler(t)}}}_addHandler(e){this.delegates.push(e)}_removeHandler(e){const t=this.delegates.indexOf(e);t>-1&&this.delegates.splice(t,1)}};class Js{constructor(e,t,n){this.OnNext=e,this.OnError=t||(e=>{}),this.OnCompleted=n||(()=>{})}}function Xs(e,t){let n,r=new class{constructor(e){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=e&&e>0?e:100,this.AutoReset=!0,this._elapsed=new qs}Elapsed(){return this._elapsed}get Enabled(){return this._enabled}set Enabled(e){this._isDisposed||this._enabled===e||(this._enabled=e,this._enabled?this.AutoReset?this._intervalId=setInterval((()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)}),this.Interval):this._timeoutId=setTimeout((()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)}),this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}}(e);r.AutoReset=!1,n=r,function(e,t){t.Subscribe(new Js(e))}(t,n.Elapsed()),n.Enabled=!0,n.Start()}function Zs(e,t,n){Hn((n=>{try{n(t)}catch(t){e(t)}}),n)}function Qs(){return Tn()}function Ks(e,t){return Yn((t=>n=>{t((t=>{n(e(t))}))}),t)}function eu(e){return Pn((t=>{t(e)}))}function tu(e,t,n,r,o){return Pn((i=>{e(_o.Delay((()=>{return _o.Bind((e=t(n),bo((t=>{e({onSuccess:e=>t.onSuccess(function(e){return new ko(0,e)}(e)),onError:e=>t.onSuccess(function(e){return new ko(1,e)}(e)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})}))),(e=>{const t=e;return i(1===t.tag?o(t.fields[0]):r(t.fields[0])),_o.Zero()}));var e})))}))}function nu(e,t,n,r,o){const i=function(e,t,n,r){const o=0|st(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|st(n,t);return i&&o<=0||!i&&o>=0?[n,r(n,e)]:void 0}}(t,n,r,o);return or((()=>{return t=i,n=e,nr((()=>function(e,t){let n,r=t;return er((()=>{if(null!=n){const e=n[0];return n[1],e}return Xn()}),(()=>{if(n=e(r),null!=n){n[0];const e=n[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}class ru extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class ou{constructor(e){this.state=new ru(0,Ft(new Array(ut(it,e,10)),0,ut(it,e,10),null),0)}}function iu(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 ru(0,o,n):new ru(1,o,n,i),Ot(o[r])}}class au extends xt{constructor(e,t,n,r,o,i,a){super(),this.init=e,this.update=t,this.subscribe=n,this.view=r,this.setState=o,this.onError=i,this.syncDispatch=a}}function su(e,t,n){return new au(e,t,(e=>Qs()),n,ft(2,(e=>{const t=ht(1,n,[e]);return e=>{t(e)}})),(e=>{var t,n;t=e[0],n=e[1],console.error(Ot(t),n)}),ft(2,(e=>e)))}function uu(e,t){return new au(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}function cu(e,t){const n=t.init(e),r=n[0],o=new ou(10);let i=!1,a=r;const s=ht(1,t.syncDispatch,[e=>{if(i)!function(e,t){const n=e.state;if(1===n.tag){const i=0|n.fields[1],a=0|n.fields[2],s=n.fields[0];s[i]=t;const u=(i+1)%s.length|0;e.state=u===a?new ru(1,(r=a,o=s,Array.from(or((()=>lr(pr(r,o),or((()=>{return lr((e=r,t=o,cr((()=>rr(t)),((t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return Ot(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Jn+"\\nParameter name: source")}}),(e=>{He(e)}))),or((()=>gr((e=>ar(null)),nu(0,1,o.length,0,((e,t)=>e+t))))));var e,t}))))))),s.length,0):new ru(1,s,u,a)}else{const r=0|n.fields[1],o=n.fields[0];o[r]=t;const i=(r+1)%o.length|0;e.state=new ru(1,o,i,r)}var r,o}(o,e);else{i=!0;let n=Ot(e);for(;null!=n;){const e=At(n);try{const n=t.update(e,a),r=n[0];t.setState(r,s),Zs((n=>{t.onError([pn(mn("Error in command while handling: %A"))(e),n])}),s,n[1]),a=r}catch(n){t.onError([pn(mn("Unable to process the message: %A"))(e),n])}n=iu(o)}i=!1}}]);t.setState(r,s),Zs((e=>{t.onError(["Error intitializing:",e])}),s,function(e){const t=Sn();let n=t;const r=e=>{n=Un(((e,t)=>{const n=new Cn(t,void 0);return e.tail=n,n}),n,e)};if(Ue(e))e.forEach(r);else if(e instanceof Cn)Hn(r,e);else{const t=$e(e);try{for(;t["System.Collections.IEnumerator.MoveNext"]();)r(t["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{He(t)}}const o=n,i=Sn();return o.tail=i,An(t)}(Gn([(()=>{try{return t.subscribe(r)}catch(e){return t.onError(["Unable to subscribe:",e]),Qs()}})(),n[1]])))}class lu{constructor(){this.hasDisposedOnce=!1,this.state=void 0,this.listener=void 0,this.dispatcher=void 0}}function fu(){return new lu}function du(e,t,n,r){cu(t,uu(((e,t)=>{!function(e,t,n){e.state=Ot(t),e.dispatcher=n;const r=e.listener;null!=r&&r(t)}(n,e,t)}),e()));const o=function(e){return e.state}(n);if(null!=o)return At(o);throw new Error("Elmish program has not initialized")}function mu(e,t){return function(e,t,n){const r=br(fu)[0],o=br((()=>du(e,t,r))),i=o[1];return xr((()=>(function(e){return e.hasDisposedOnce}(r)&&i(du(e,t,r)),wr((()=>{!function(e){const t=e.state;if(null!=t){const e=At(t);ze(e)&&He(e)}e.dispatcher=void 0,e.state=void 0,e.hasDisposedOnce=!0}(r)})))),Pt(n,[])),function(e,t){null==e.listener&&(e.listener=t)}(r,i),[o[0],e=>{!function(e,t){const n=e.dispatcher;null!=n&&n(t)}(r,e)}]}(e,void 0,t)}function hu(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}class pu{constructor(e,t){const n=new Ct(null);this.comparer=t,n.contents=this,this.hashMap=new Map([]),this["init@8-2"]=1;const r=$e(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();wu(n.contents,e)}}finally{He(r)}}get[Symbol.toStringTag](){return"HashSet"}toJSON(e){return Array.from(this)}"System.Collections.IEnumerable.GetEnumerator"(){return $e(this)}GetEnumerator(){return $e(ir(this.hashMap.values()))}[Symbol.iterator](){return Be(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(e){wu(this,e)}"System.Collections.Generic.ICollection`1.Clear"(){vu(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return bu(this,e)}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){var n;n=(n,r)=>{e[t+n]=r},dr(((e,t)=>(n(e,t),e+1|0)),0,this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|yu(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(e){return _u(this,e)}get size(){return 0|yu(this)}add(e){return wu(this,e),this}clear(){vu(this)}delete(e){return _u(this,e)}has(e){return bu(this,e)}keys(){return hr((e=>e),this)}values(){return hr((e=>e),this)}entries(){return hr((e=>[e,e]),this)}forEach(e,t){const n=this;mr((t=>{e(t,t,n)}),n)}}function gu(e,t){const n=0|e.comparer.GetHashCode(t);let r,o=null;return r=[(i=e.hashMap,a=n,s=new Ct((()=>o),(e=>{o=e})),!!i.has(a)&&(s.contents=i.get(a),!0)),o],r[0]?[!0,n,r[1].findIndex((n=>e.comparer.Equals(t,n)))]:[!1,n,-1];var i,a,s}function vu(e){e.hashMap.clear()}function yu(e){let t=0,n=$e(e.hashMap.values());try{for(;n["System.Collections.IEnumerator.MoveNext"]();)t=t+n["System.Collections.Generic.IEnumerator`1.get_Current"]().length|0}finally{He(n)}return 0|t}function wu(e,t){const n=gu(e,t);return n[0]?!(n[2]>-1)&&(hu(e.hashMap,n[1]).push(t),!0):(e.hashMap.set(n[1],[t]),!0)}function bu(e,t){const n=gu(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function _u(e,t){const n=gu(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return hu(e.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}function xu(e,t){return or((()=>{const n=new pu([],t);return function(e,t){return function(e,t){return ur((()=>rr(t)),(t=>{let n;for(;null==n&&t["System.Collections.IEnumerator.MoveNext"]();)n=e(t["System.Collections.Generic.IEnumerator`1.get_Current"]());return n}),(e=>{He(e)}))}((t=>e(t)?Ot(t):void 0),t)}((e=>function(e,t){return!t.has(e)&&(t.add(e),!0)}(e,n)),e)}))}class Cu extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["All","Completed","InProgress","NotStarted"]}}function ku(e){switch(e.tag){case 1:return"Completed";case 2:return"In progress";case 3:return"Not started";default:return"All"}}class Su extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GetInstanceListCallback","SelectStatusTab"]}}class Eu extends xt{constructor(e,t){super(),this.ProcessInstanceList=e,this.SelectedStatusTab=t}}function Mu(e){return function(e,t){return qn(((e,n)=>t.Compare(e,n)),e)}((t=Yn((e=>e.Name),Bn((e=>e.Tags),e.Data)),n={Equals:(e,t)=>e===t,GetHashCode:Ze},sr(xu(t,n))),{Compare:it});var t,n}function Nu(e,t){return rt(e,new Cu(0))?t:new $s(function(e,t){const n=Sn(),r=Un(((t,n)=>{if(e(n)){const e=new Cn(n,void 0);return t.tail=e,e}return t}),n,t),o=Sn();return r.tail=o,An(n)}((t=>{let n;return rt((n=t.Status,1===n.tag?new Cu(2):2===n.tag?new Cu(1):3===n.tag?void 0:new Cu(3)),e)}),t.Data))}function Ou(){let e;e=new CustomEvent("progressComponentReady",{}),window.dispatchEvent(e)}function Au(){return[new Eu(new No(0),new Cu(0)),Qs()]}function Tu(e,t){if(1===e.tag)return[new Eu(t.ProcessInstanceList,e.fields[0]),Qs()];{const i=e.fields[0];let a,s;switch(3===i.tag?a=1:0===i.tag?a=2:1===i.tag?a=3:1===i.fields[0].tag?a=1:(a=0,s=i.fields[0].fields[0]),a){case 0:return Ou(),[new Eu(new No(2,new $s((n=e=>e.LastUpdated,r=s.Data,o={Compare:Kt},qn(((e,t)=>-1*o.Compare(n(e),n(t))),r)))),t.SelectedStatusTab),Qs()];case 1:return Ou(),[new Eu(new No(3,new Error),t.SelectedStatusTab),Qs()];case 2:return[new Eu(new No(0),t.SelectedStatusTab),Qs()];case 3:return[new Eu(new No(1),t.SelectedStatusTab),Qs()]}}var n,r,o}function Iu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Iu(Object(n),!0).forEach((function(t){Lu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Iu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Du(e){return Du="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Du(e)}function ju(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Lu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ru(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||Uu(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fu(e){return function(e){if(Array.isArray(e))return zu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Uu(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Uu(e,t){if(e){if("string"==typeof e)return zu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zu(e,t):void 0}}function zu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Hu=function(){},Wu={},Gu={},$u=null,Bu={mark:Hu,measure:Hu};try{"undefined"!=typeof window&&(Wu=window),"undefined"!=typeof document&&(Gu=document),"undefined"!=typeof MutationObserver&&($u=MutationObserver),"undefined"!=typeof performance&&(Bu=performance)}catch(u){}var Yu=(Wu.navigator||{}).userAgent,Vu=void 0===Yu?"":Yu,qu=Wu,Ju=Gu,Xu=$u,Zu=Bu,Qu=(qu.document,!!Ju.documentElement&&!!Ju.head&&"function"==typeof Ju.addEventListener&&"function"==typeof Ju.createElement),Ku=~Vu.indexOf("MSIE")||~Vu.indexOf("Trident/"),ec="svg-inline--fa",tc="data-fa-i2svg",nc="data-fa-pseudo-element",rc="data-prefix",oc="data-icon",ic="fontawesome-i2svg",ac=["HTML","HEAD","STYLE","SCRIPT"],sc=function(){try{return!0}catch(e){return!1}}(),uc={fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit",fa:"solid"},cc={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},lc={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},fc={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},dc=/fa[srltdbk]?[\-\ ]/,mc="fa-layers-text",hc=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,pc={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},gc=[1,2,3,4,5,6,7,8,9,10],vc=gc.concat([11,12,13,14,15,16,17,18,19,20]),yc=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],wc="duotone-group",bc="primary",_c="secondary",xc=[].concat(Fu(Object.keys(cc)),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",wc,"swap-opacity",bc,_c]).concat(gc.map((function(e){return"".concat(e,"x")}))).concat(vc.map((function(e){return"w-".concat(e)}))),Cc=qu.FontAwesomeConfig||{};Ju&&"function"==typeof Ju.querySelector&&[["data-family-prefix","familyPrefix"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=Ru(e,2),n=t[0],r=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Ju.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=o&&(Cc[r]=o)}));var kc=Pu(Pu({},{familyPrefix:"fa",styleDefault:"solid",replacementClass:ec,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0}),Cc);kc.autoReplaceSvg||(kc.observeMutations=!1);var Sc={};Object.keys(kc).forEach((function(e){Object.defineProperty(Sc,e,{enumerable:!0,set:function(t){kc[e]=t,Ec.forEach((function(e){return e(Sc)}))},get:function(){return kc[e]}})})),qu.FontAwesomeConfig=Sc;var Ec=[],Mc=16,Nc={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Oc(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function Ac(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Tc(e){return e.classList?Ac(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function Ic(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Pc(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function Dc(e){return e.size!==Nc.size||e.x!==Nc.x||e.y!==Nc.y||e.rotate!==Nc.rotate||e.flipX||e.flipY}function jc(){var e="fa",t=ec,n=Sc.familyPrefix,r=Sc.replacementClass,o=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';if(n!==e||r!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return o}var Lc=!1;function Rc(){Sc.autoAddCss&&!Lc&&(function(e){if(e&&Qu){var t=Ju.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Ju.head.childNodes,r=null,o=n.length-1;o>-1;o--){var i=n[o],a=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=i)}Ju.head.insertBefore(t,r)}}(jc()),Lc=!0)}var Fc={mixout:function(){return{dom:{css:jc,insertCss:Rc}}},hooks:function(){return{beforeDOMElementCreation:function(){Rc()},beforeI2svg:function(){Rc()}}}},Uc=qu||{};Uc.___FONT_AWESOME___||(Uc.___FONT_AWESOME___={}),Uc.___FONT_AWESOME___.styles||(Uc.___FONT_AWESOME___.styles={}),Uc.___FONT_AWESOME___.hooks||(Uc.___FONT_AWESOME___.hooks={}),Uc.___FONT_AWESOME___.shims||(Uc.___FONT_AWESOME___.shims=[]);var zc=Uc.___FONT_AWESOME___,Hc=[],Wc=!1;function Gc(e){Qu&&(Wc?setTimeout(e,0):Hc.push(e))}function $c(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,o=e.children,i=void 0===o?[]:o;return"string"==typeof e?Ic(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Ic(e[n]),'" ')}),"").trim()}(r),">").concat(i.map($c).join(""),"</").concat(t,">")}function Bc(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}Qu&&((Wc=(Ju.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Ju.readyState))||Ju.addEventListener("DOMContentLoaded",(function e(){Ju.removeEventListener("DOMContentLoaded",e),Wc=1,Hc.map((function(e){return e()}))})));var Yc=function(e,t,n,r){var o,i,a,s=Object.keys(e),u=s.length,c=void 0!==r?function(e,t){return function(n,r,o,i){return e.call(t,n,r,o,i)}}(t,r):t;for(void 0===n?(o=1,a=e[s[0]]):(o=0,a=n);o<u;o++)a=c(a,e[i=s[o]],i,e);return a};function Vc(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e);return 1===t.length?t[0].toString(16):null}function qc(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function Jc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,o=void 0!==r&&r,i=qc(t);"function"!=typeof zc.hooks.addPack||o?zc.styles[e]=Pu(Pu({},zc.styles[e]||{}),i):zc.hooks.addPack(e,qc(t)),"fas"===e&&Jc("fa",t)}var Xc=zc.styles,Zc=zc.shims,Qc=Object.values(lc),Kc=null,el={},tl={},nl={},rl={},ol={},il=Object.keys(uc);function al(e,t){var n,r=t.split("-"),o=r[0],i=r.slice(1).join("-");return o!==e||""===i||(n=i,~xc.indexOf(n))?null:i}var sl,ul=function(){var e=function(e){return Yc(Xc,(function(t,n,r){return t[r]=Yc(n,e,{}),t}),{})};el=e((function(e,t,n){if(t[3]&&(e[t[3]]=n),t[2]){var r=t[2].filter((function(e){return"number"==typeof e}));r.forEach((function(t){e[t.toString(16)]=n}))}return e})),tl=e((function(e,t,n){if(e[n]=n,t[2]){var r=t[2].filter((function(e){return"string"==typeof e}));r.forEach((function(t){e[t]=n}))}return e})),ol=e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in Xc||Sc.autoFetchSvg,n=Yc(Zc,(function(e,n){var r=n[0],o=n[1],i=n[2];return"far"!==o||t||(o="fas"),"string"==typeof r&&(e.names[r]={prefix:o,iconName:i}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:o,iconName:i}),e}),{names:{},unicodes:{}});nl=n.names,rl=n.unicodes,Kc=ml(Sc.styleDefault)};function cl(e,t){return(el[e]||{})[t]}function ll(e,t){return(ol[e]||{})[t]}function fl(e){return nl[e]||{prefix:null,iconName:null}}function dl(){return Kc}function ml(e){var t=cc[e]||cc[uc[e]],n=e in zc.styles?e:null;return t||n||null}function hl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.skipLookups,r=void 0!==n&&n,o=null,i=e.reduce((function(e,t){var n=al(Sc.familyPrefix,t);if(Xc[t]?(t=Qc.includes(t)?fc[t]:t,o=t,e.prefix=t):il.indexOf(t)>-1?(o=t,e.prefix=ml(t)):n?e.iconName=n:t!==Sc.replacementClass&&e.rest.push(t),!r&&e.prefix&&e.iconName){var i="fa"===o?fl(e.iconName):{},a=ll(e.prefix,e.iconName);i.prefix&&(o=null),e.iconName=i.iconName||a||e.iconName,e.prefix=i.prefix||e.prefix,"far"!==e.prefix||Xc.far||!Xc.fas||Sc.autoFetchSvg||(e.prefix="fas")}return e}),{prefix:null,iconName:null,rest:[]});return"fa"!==i.prefix&&"fa"!==o||(i.prefix=dl()||"fas"),i}sl=function(e){Kc=ml(e.styleDefault)},Ec.push(sl),ul();var pl=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach((function(t){e.definitions[t]=Pu(Pu({},e.definitions[t]||{}),o[t]),Jc(t,o[t]);var n=lc[t];n&&Jc(n,o[t]),ul()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],o=r.prefix,i=r.iconName,a=r.icon,s=a[2];e[o]||(e[o]={}),s.length>0&&s.forEach((function(t){"string"==typeof t&&(e[o][t]=a)})),e[o][i]=a})),e}}],n&&ju(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),gl=[],vl={},yl={},wl=Object.keys(yl);function bl(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=vl[e]||[];return i.forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function _l(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=vl[e]||[];o.forEach((function(e){e.apply(null,n)}))}function xl(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return yl[e]?yl[e].apply(null,t):void 0}function Cl(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||dl();if(t)return t=ll(n,t)||t,Bc(kl.definitions,n,t)||Bc(zc.styles,n,t)}var kl=new pl,Sl={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Qu?(_l("beforeI2svg",e),xl("pseudoElements2svg",e),xl("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot;!1===Sc.autoReplaceSvg&&(Sc.autoReplaceSvg=!0),Sc.observeMutations=!0,Gc((function(){Ml({autoReplaceSvgRoot:t}),_l("watch",e)}))}},El={noAuto:function(){Sc.autoReplaceSvg=!1,Sc.observeMutations=!1,_l("noAuto")},config:Sc,dom:Sl,parse:{icon:function(e){if(null===e)return null;if("object"===Du(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:ll(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=ml(e[0]);return{prefix:n,iconName:ll(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(Sc.familyPrefix,"-"))>-1||e.match(dc))){var r=hl(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||dl(),iconName:ll(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var o=dl();return{prefix:o,iconName:ll(o,e)||e}}}},library:kl,findIconDefinition:Cl,toHtml:$c},Ml=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot,n=void 0===t?Ju:t;(Object.keys(zc.styles).length>0||Sc.autoFetchSvg)&&Qu&&Sc.autoReplaceSvg&&El.dom.i2svg({node:n})};function Nl(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return $c(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(Qu){var t=Ju.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Ol(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,i=e.iconName,a=e.transform,s=e.symbol,u=e.title,c=e.maskId,l=e.titleId,f=e.extra,d=e.watchable,m=void 0!==d&&d,h=r.found?r:n,p=h.width,g=h.height,v="fak"===o,y=[Sc.replacementClass,i?"".concat(Sc.familyPrefix,"-").concat(i):""].filter((function(e){return-1===f.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(f.classes).join(" "),w={children:[],attributes:Pu(Pu({},f.attributes),{},{"data-prefix":o,"data-icon":i,class:y,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(g)})},b=v&&!~f.classes.indexOf("fa-fw")?{width:"".concat(p/g*16*.0625,"em")}:{};m&&(w.attributes[tc]=""),u&&(w.children.push({tag:"title",attributes:{id:w.attributes["aria-labelledby"]||"title-".concat(l||Oc())},children:[u]}),delete w.attributes.title);var _=Pu(Pu({},w),{},{prefix:o,iconName:i,main:n,mask:r,maskId:c,transform:a,symbol:s,styles:Pu(Pu({},b),f.styles)}),x=r.found&&n.found?xl("generateAbstractMask",_)||{children:[],attributes:{}}:xl("generateAbstractIcon",_)||{children:[],attributes:{}},C=x.children,k=x.attributes;return _.children=C,_.attributes=k,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,i=e.symbol,a=!0===i?"".concat(t,"-").concat(Sc.familyPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Pu(Pu({},o),{},{id:a}),children:r}]}]}(_):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,i=e.styles,a=e.transform;if(Dc(a)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};o.style=Pc(Pu(Pu({},i),{},{"transform-origin":"".concat(s.x+a.x/16,"em ").concat(s.y+a.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(_)}function Al(e){var t=e.content,n=e.width,r=e.height,o=e.transform,i=e.title,a=e.extra,s=e.watchable,u=void 0!==s&&s,c=Pu(Pu(Pu({},a.attributes),i?{title:i}:{}),{},{class:a.classes.join(" ")});u&&(c[tc]="");var l=Pu({},a.styles);Dc(o)&&(l.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,o=e.height,i=void 0===o?16:o,a=e.startCentered,s=void 0!==a&&a,u="";return u+=s&&Ku?"translate(".concat(t.x/Mc-r/2,"em, ").concat(t.y/Mc-i/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/Mc,"em), calc(-50% + ").concat(t.y/Mc,"em)) "):"translate(".concat(t.x/Mc,"em, ").concat(t.y/Mc,"em) "),(u+="scale(".concat(t.size/Mc*(t.flipX?-1:1),", ").concat(t.size/Mc*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:o,startCentered:!0,width:n,height:r}),l["-webkit-transform"]=l.transform);var f=Pc(l);f.length>0&&(c.style=f);var d=[];return d.push({tag:"span",attributes:c,children:[t]}),i&&d.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),d}function Tl(e){var t=e.content,n=e.title,r=e.extra,o=Pu(Pu(Pu({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),i=Pc(r.styles);i.length>0&&(o.style=i);var a=[];return a.push({tag:"span",attributes:o,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}var Il=zc.styles;function Pl(e){var t=e[0],n=e[1],r=Ru(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(Sc.familyPrefix,"-").concat(wc)},children:[{tag:"path",attributes:{class:"".concat(Sc.familyPrefix,"-").concat(_c),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Sc.familyPrefix,"-").concat(bc),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var Dl={found:!1,width:512,height:512};function jl(e,t){var n=t;return"fa"===t&&null!==Sc.styleDefault&&(t=dl()),new Promise((function(r,o){if(xl("missingIconAbstract"),"fa"===n){var i=fl(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&Il[t]&&Il[t][e])return r(Pl(Il[t][e]));!function(e,t){sc||Sc.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(Pu(Pu({},Dl),{},{icon:Sc.showMissingIcons&&e&&xl("missingIconAbstract")||{}}))}))}var Ll=function(){},Rl=Sc.measurePerformance&&Zu&&Zu.mark&&Zu.measure?Zu:{mark:Ll,measure:Ll},Fl='FA "6.1.2"',Ul=function(e){return Rl.mark("".concat(Fl," ").concat(e," begins")),function(){return function(e){Rl.mark("".concat(Fl," ").concat(e," ends")),Rl.measure("".concat(Fl," ").concat(e),"".concat(Fl," ").concat(e," begins"),"".concat(Fl," ").concat(e," ends"))}(e)}},zl=function(){};function Hl(e){return"string"==typeof(e.getAttribute?e.getAttribute(tc):null)}function Wl(e){return Ju.createElementNS("http://www.w3.org/2000/svg",e)}function Gl(e){return Ju.createElement(e)}function $l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.ceFn,r=void 0===n?"svg"===e.tag?Wl:Gl:n;if("string"==typeof e)return Ju.createTextNode(e);var o=r(e.tag);Object.keys(e.attributes||[]).forEach((function(t){o.setAttribute(t,e.attributes[t])}));var i=e.children||[];return i.forEach((function(e){o.appendChild($l(e,{ceFn:r}))})),o}var Bl={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore($l(e),t)})),null===t.getAttribute(tc)&&Sc.keepOriginalSource){var n=Ju.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~Tc(t).indexOf(Sc.replacementClass))return Bl.replace(e);var r=new RegExp("".concat(Sc.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var o=n[0].attributes.class.split(" ").reduce((function(e,t){return t===Sc.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=o.toSvg.join(" "),0===o.toNode.length?t.removeAttribute("class"):t.setAttribute("class",o.toNode.join(" "))}var i=n.map((function(e){return $c(e)})).join("\n");t.setAttribute(tc,""),t.innerHTML=i}};function Yl(e){e()}function Vl(e,t){var n="function"==typeof t?t:zl;if(0===e.length)n();else{var r=Yl;"async"===Sc.mutateApproach&&(r=qu.requestAnimationFrame||Yl),r((function(){var t=!0===Sc.autoReplaceSvg?Bl.replace:Bl[Sc.autoReplaceSvg]||Bl.replace,r=Ul("mutate");e.map(t),r(),n()}))}}var ql=!1;function Jl(){ql=!0}function Xl(){ql=!1}var Zl=null;function Ql(e){if(Xu&&Sc.observeMutations){var t=e.treeCallback,n=void 0===t?zl:t,r=e.nodeCallback,o=void 0===r?zl:r,i=e.pseudoElementsCallback,a=void 0===i?zl:i,s=e.observeMutationsRoot,u=void 0===s?Ju:s;Zl=new Xu((function(e){if(!ql){var t=dl();Ac(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Hl(e.addedNodes[0])&&(Sc.searchPseudoElements&&a(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&Sc.searchPseudoElements&&a(e.target.parentNode),"attributes"===e.type&&Hl(e.target)&&~yc.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(rc):null,n=e.getAttribute?e.getAttribute(oc):null;return t&&n}(e.target)){var r=hl(Tc(e.target)),i=r.prefix,s=r.iconName;e.target.setAttribute(rc,i||t),s&&e.target.setAttribute(oc,s)}else(u=e.target)&&u.classList&&u.classList.contains&&u.classList.contains(Sc.replacementClass)&&o(e.target);var u}))}})),Qu&&Zl.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Kl(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],o=n.slice(1);return r&&o.length>0&&(e[r]=o.join(":").trim()),e}),{})),n}function ef(e){var t,n,r=e.getAttribute("data-prefix"),o=e.getAttribute("data-icon"),i=void 0!==e.innerText?e.innerText.trim():"",a=hl(Tc(e));return a.prefix||(a.prefix=dl()),r&&o&&(a.prefix=r,a.iconName=o),a.iconName&&a.prefix||(a.prefix&&i.length>0&&(a.iconName=(t=a.prefix,n=e.innerText,(tl[t]||{})[n]||cl(a.prefix,Vc(e.innerText)))),!a.iconName&&Sc.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function tf(e){var t=Ac(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return Sc.autoA11y&&(n?t["aria-labelledby"]="".concat(Sc.replacementClass,"-title-").concat(r||Oc()):(t["aria-hidden"]="true",t.focusable="false")),t}function nf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=ef(e),r=n.iconName,o=n.prefix,i=n.rest,a=tf(e),s=bl("parseNodeAttributes",{},e),u=t.styleParser?Kl(e):[];return Pu({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:Nc,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:u,attributes:a}},s)}var rf=zc.styles;function of(e){var t="nest"===Sc.autoReplaceSvg?nf(e,{styleParser:!1}):nf(e);return~t.extra.classes.indexOf(mc)?xl("generateLayersText",e,t):xl("generateSvgReplacementMutation",e,t)}function af(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Qu)return Promise.resolve();var n=Ju.documentElement.classList,r=function(e){return n.add("".concat(ic,"-").concat(e))},o=function(e){return n.remove("".concat(ic,"-").concat(e))},i=Sc.autoFetchSvg?Object.keys(uc):Object.keys(rf);i.includes("fa")||i.push("fa");var a=[".".concat(mc,":not([").concat(tc,"])")].concat(i.map((function(e){return".".concat(e,":not([").concat(tc,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=Ac(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),o("complete");var u=Ul("onTree"),c=s.reduce((function(e,t){try{var n=of(t);n&&e.push(n)}catch(e){sc||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(c).then((function(n){Vl(n,(function(){r("active"),r("complete"),o("pending"),"function"==typeof t&&t(),u(),e()}))})).catch((function(e){u(),n(e)}))}))}function sf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;of(e).then((function(e){e&&Vl([e],t)}))}var uf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Nc:n,o=t.symbol,i=void 0!==o&&o,a=t.mask,s=void 0===a?null:a,u=t.maskId,c=void 0===u?null:u,l=t.title,f=void 0===l?null:l,d=t.titleId,m=void 0===d?null:d,h=t.classes,p=void 0===h?[]:h,g=t.attributes,v=void 0===g?{}:g,y=t.styles,w=void 0===y?{}:y;if(e){var b=e.prefix,_=e.iconName,x=e.icon;return Nl(Pu({type:"icon"},e),(function(){return _l("beforeDOMElementCreation",{iconDefinition:e,params:t}),Sc.autoA11y&&(f?v["aria-labelledby"]="".concat(Sc.replacementClass,"-title-").concat(m||Oc()):(v["aria-hidden"]="true",v.focusable="false")),Ol({icons:{main:Pl(x),mask:s?Pl(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:b,iconName:_,transform:Pu(Pu({},Nc),r),symbol:i,title:f,maskId:c,titleId:m,extra:{attributes:v,styles:w,classes:p}})}))}},cf={mixout:function(){return{icon:(e=uf,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:Cl(t||{}),o=n.mask;return o&&(o=(o||{}).icon?o:Cl(o||{})),e(r,Pu(Pu({},n),{},{mask:o}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=af,e.nodeCallback=sf,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?Ju:t,r=e.callback;return af(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,o=t.titleId,i=t.prefix,a=t.transform,s=t.symbol,u=t.mask,c=t.maskId,l=t.extra;return new Promise((function(t,f){Promise.all([jl(n,i),u.iconName?jl(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(u){var f=Ru(u,2),d=f[0],m=f[1];t([e,Ol({icons:{main:d,mask:m},prefix:i,iconName:n,transform:a,symbol:s,maskId:c,title:r,titleId:o,extra:l,watchable:!0})])})).catch(f)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,o=e.main,i=e.transform,a=Pc(e.styles);return a.length>0&&(r.style=a),Dc(i)&&(t=xl("generateAbstractTransformGrouping",{main:o,transform:i,containerWidth:o.width,iconWidth:o.width})),n.push(t||o.icon),{children:n,attributes:r}}}},lf={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return Nl({type:"layer"},(function(){_l("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(Sc.familyPrefix,"-layers")].concat(Fu(r)).join(" ")},children:n}]}))}}}},ff={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,o=t.classes,i=void 0===o?[]:o,a=t.attributes,s=void 0===a?{}:a,u=t.styles,c=void 0===u?{}:u;return Nl({type:"counter",content:e},(function(){return _l("beforeDOMElementCreation",{content:e,params:t}),Tl({content:e.toString(),title:r,extra:{attributes:s,styles:c,classes:["".concat(Sc.familyPrefix,"-layers-counter")].concat(Fu(i))}})}))}}}},df={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Nc:n,o=t.title,i=void 0===o?null:o,a=t.classes,s=void 0===a?[]:a,u=t.attributes,c=void 0===u?{}:u,l=t.styles,f=void 0===l?{}:l;return Nl({type:"text",content:e},(function(){return _l("beforeDOMElementCreation",{content:e,params:t}),Al({content:e,transform:Pu(Pu({},Nc),r),title:i,extra:{attributes:c,styles:f,classes:["".concat(Sc.familyPrefix,"-layers-text")].concat(Fu(s))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,o=t.extra,i=null,a=null;if(Ku){var s=parseInt(getComputedStyle(e).fontSize,10),u=e.getBoundingClientRect();i=u.width/s,a=u.height/s}return Sc.autoA11y&&!n&&(o.attributes["aria-hidden"]="true"),Promise.resolve([e,Al({content:e.innerHTML,width:i,height:a,transform:r,title:n,extra:o,watchable:!0})])}}},mf=new RegExp('"',"ug"),hf=[1105920,1112319];function pf(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise((function(r,o){if(null!==e.getAttribute(n))return r();var i,a,s,u=Ac(e.children).filter((function(e){return e.getAttribute(nc)===t}))[0],c=qu.getComputedStyle(e,t),l=c.getPropertyValue("font-family").match(hc),f=c.getPropertyValue("font-weight"),d=c.getPropertyValue("content");if(u&&!l)return e.removeChild(u),r();if(l&&"none"!==d&&""!==d){var m=c.getPropertyValue("content"),h=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?cc[l[2].toLowerCase()]:pc[f],p=function(e){var t,n,r,o,i=e.replace(mf,""),a=(r=(t=i).length,(o=t.charCodeAt(0))>=55296&&o<=56319&&r>1&&(n=t.charCodeAt(1))>=56320&&n<=57343?1024*(o-55296)+n-56320+65536:o),s=a>=hf[0]&&a<=hf[1],u=2===i.length&&i[0]===i[1];return{value:Vc(u?i[0]:i),isSecondary:s||u}}(m),g=p.value,v=p.isSecondary,y=l[0].startsWith("FontAwesome"),w=cl(h,g),b=w;if(y){var _=(a=rl[i=g],s=cl("fas",i),a||(s?{prefix:"fas",iconName:s}:null)||{prefix:null,iconName:null});_.iconName&&_.prefix&&(w=_.iconName,h=_.prefix)}if(!w||v||u&&u.getAttribute(rc)===h&&u.getAttribute(oc)===b)r();else{e.setAttribute(n,b),u&&e.removeChild(u);var x={iconName:null,title:null,titleId:null,prefix:null,transform:Nc,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},C=x.extra;C.attributes[nc]=t,jl(w,h).then((function(o){var i=Ol(Pu(Pu({},x),{},{icons:{main:o,mask:{prefix:null,iconName:null,rest:[]}},prefix:h,iconName:b,extra:C,watchable:!0})),a=Ju.createElement("svg");"::before"===t?e.insertBefore(a,e.firstChild):e.appendChild(a),a.outerHTML=i.map((function(e){return $c(e)})).join("\n"),e.removeAttribute(n),r()})).catch(o)}}else r()}))}function gf(e){return Promise.all([pf(e,"::before"),pf(e,"::after")])}function vf(e){return!(e.parentNode===document.head||~ac.indexOf(e.tagName.toUpperCase())||e.getAttribute(nc)||e.parentNode&&"svg"===e.parentNode.tagName)}function yf(e){if(Qu)return new Promise((function(t,n){var r=Ac(e.querySelectorAll("*")).filter(vf).map(gf),o=Ul("searchPseudoElements");Jl(),Promise.all(r).then((function(){o(),Xl(),t()})).catch((function(){o(),Xl(),n()}))}))}var wf=!1,bf=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},_f={mixout:function(){return{parse:{transform:function(e){return bf(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=bf(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,o=e.iconWidth,i={transform:"translate(".concat(r/2," 256)")},a="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),u="rotate(".concat(n.rotate," 0 0)"),c={outer:i,inner:{transform:"".concat(a," ").concat(s," ").concat(u)},path:{transform:"translate(".concat(o/2*-1," -256)")}};return{tag:"g",attributes:Pu({},c.outer),children:[{tag:"g",attributes:Pu({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:Pu(Pu({},t.icon.attributes),c.path)}]}]}}}},xf={x:0,y:0,width:"100%",height:"100%"};function Cf(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var kf,Sf={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?hl(n.split(" ").map((function(e){return e.trim()}))):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=dl()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,o=e.main,i=e.mask,a=e.maskId,s=e.transform,u=o.width,c=o.icon,l=i.width,f=i.icon,d=function(e){var t=e.transform,n=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(o," ").concat(i," ").concat(a)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:s,containerWidth:l,iconWidth:u}),m={tag:"rect",attributes:Pu(Pu({},xf),{},{fill:"white"})},h=c.children?{children:c.children.map(Cf)}:{},p={tag:"g",attributes:Pu({},d.inner),children:[Cf(Pu({tag:c.tag,attributes:Pu(Pu({},c.attributes),d.path)},h))]},g={tag:"g",attributes:Pu({},d.outer),children:[p]},v="mask-".concat(a||Oc()),y="clip-".concat(a||Oc()),w={tag:"mask",attributes:Pu(Pu({},xf),{},{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,g]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(t=f,"g"===t.tag?t.children:[t])},w]};return n.push(b,{tag:"rect",attributes:Pu({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(v,")")},xf)}),{children:n,attributes:r}}}},Ef={provides:function(e){var t=!1;qu.matchMedia&&(t=qu.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:Pu(Pu({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=Pu(Pu({},r),{},{attributeName:"opacity"}),i={tag:"circle",attributes:Pu(Pu({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||i.children.push({tag:"animate",attributes:Pu(Pu({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Pu(Pu({},o),{},{values:"1;0;1;1;0;1;"})}),e.push(i),e.push({tag:"path",attributes:Pu(Pu({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:Pu(Pu({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:Pu(Pu({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Pu(Pu({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},Mf=[Fc,cf,lf,ff,df,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=yf,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?Ju:t;Sc.searchPseudoElements&&yf(n)}}},{mixout:function(){return{dom:{unwatch:function(){Jl(),wf=!0}}}},hooks:function(){return{bootstrap:function(){Ql(bl("mutationObserverCallbacks",{}))},noAuto:function(){Zl&&Zl.disconnect()},watch:function(e){var t=e.observeMutationsRoot;wf?Xl():Ql(bl("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},_f,Sf,Ef,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}];kf={mixoutsTo:El}.mixoutsTo,gl=Mf,vl={},Object.keys(yl).forEach((function(e){-1===wl.indexOf(e)&&delete yl[e]})),gl.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(kf[e]=t[e]),"object"===Du(t[e])&&Object.keys(t[e]).forEach((function(n){kf[e]||(kf[e]={}),kf[e][n]=t[e][n]}))})),e.hooks){var n=e.hooks();Object.keys(n).forEach((function(e){vl[e]||(vl[e]=[]),vl[e].push(n[e])}))}e.provides&&e.provides(yl)}));var Nf=El.parse,Of=El.icon,Af=n(697),Tf=n.n(Af);function If(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?If(Object(n),!0).forEach((function(t){jf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):If(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Df(e){return Df="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Df(e)}function jf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lf(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Rf(e){return function(e){if(Array.isArray(e))return Ff(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Ff(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ff(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ff(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Uf(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var zf=["style"];function Hf(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),o=Uf(t.slice(0,r)),i=t.slice(r+1).trim();return o.startsWith("webkit")?e[(n=o,n.charAt(0).toUpperCase()+n.slice(1))]=i:e[o]=i,e}),{})}var Wf=!1;try{Wf=!0}catch(u){}function Gf(e){return e&&"object"===Df(e)&&e.prefix&&e.iconName&&e.icon?e:Nf.icon?Nf.icon(e):null===e?null:e&&"object"===Df(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function $f(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?jf({},e,t):{}}var Bf=Fe.forwardRef((function(e,t){var n=e.icon,r=e.mask,o=e.symbol,i=e.className,a=e.title,s=e.titleId,u=e.maskId,c=Gf(n),l=$f("classes",[].concat(Rf(function(e){var t,n=e.beat,r=e.fade,o=e.beatFade,i=e.bounce,a=e.shake,s=e.flash,u=e.spin,c=e.spinPulse,l=e.spinReverse,f=e.pulse,d=e.fixedWidth,m=e.inverse,h=e.border,p=e.listItem,g=e.flip,v=e.size,y=e.rotation,w=e.pull,b=(jf(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":i,"fa-shake":a,"fa-flash":s,"fa-spin":u,"fa-spin-reverse":l,"fa-spin-pulse":c,"fa-pulse":f,"fa-fw":d,"fa-inverse":m,"fa-border":h,"fa-li":p,"fa-flip":!0===g,"fa-flip-horizontal":"horizontal"===g||"both"===g,"fa-flip-vertical":"vertical"===g||"both"===g},"fa-".concat(v),null!=v),jf(t,"fa-rotate-".concat(y),null!=y&&0!==y),jf(t,"fa-pull-".concat(w),null!=w),jf(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(b).map((function(e){return b[e]?e:null})).filter((function(e){return e}))}(e)),Rf(i.split(" ")))),f=$f("transform","string"==typeof e.transform?Nf.transform(e.transform):e.transform),d=$f("mask",Gf(r)),m=Of(c,Pf(Pf(Pf(Pf({},l),f),d),{},{symbol:o,title:a,titleId:s,maskId:u}));if(!m)return function(){var e;!Wf&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var h=m.abstract,p={ref:t};return Object.keys(e).forEach((function(t){Bf.defaultProps.hasOwnProperty(t)||(p[t]=e[t])})),Yf(h[0],p)}));Bf.displayName="FontAwesomeIcon",Bf.propTypes={beat:Tf().bool,border:Tf().bool,beatFade:Tf().bool,bounce:Tf().bool,className:Tf().string,fade:Tf().bool,flash:Tf().bool,mask:Tf().oneOfType([Tf().object,Tf().array,Tf().string]),maskId:Tf().string,fixedWidth:Tf().bool,inverse:Tf().bool,flip:Tf().oneOf([!0,!1,"horizontal","vertical","both"]),icon:Tf().oneOfType([Tf().object,Tf().array,Tf().string]),listItem:Tf().bool,pull:Tf().oneOf(["right","left"]),pulse:Tf().bool,rotation:Tf().oneOf([0,90,180,270]),shake:Tf().bool,size:Tf().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Tf().bool,spinPulse:Tf().bool,spinReverse:Tf().bool,symbol:Tf().oneOfType([Tf().bool,Tf().string]),title:Tf().string,titleId:Tf().string,transform:Tf().oneOfType([Tf().string,Tf().object]),swapOpacity:Tf().bool},Bf.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var Yf=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var o=(n.children||[]).map((function(n){return e(t,n)})),i=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=Hf(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Uf(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,u=Lf(r,zf);return i.attrs.style=Pf(Pf({},i.attrs.style),s),t.apply(void 0,[n.tag,Pf(Pf({},i.attrs),u)].concat(Rf(o)))}.bind(null,Fe.createElement),Vf={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM371.8 211.8C382.7 200.9 382.7 183.1 371.8 172.2C360.9 161.3 343.1 161.3 332.2 172.2L224 280.4L179.8 236.2C168.9 225.3 151.1 225.3 140.2 236.2C129.3 247.1 129.3 264.9 140.2 275.8L204.2 339.8C215.1 350.7 232.9 350.7 243.8 339.8L371.8 211.8z"]},qf={prefix:"fas",iconName:"square-pen",icon:[448,512,["pen-square","pencil-square"],"f14b","M384 32C419.3 32 448 60.65 448 96V416C448 451.3 419.3 480 384 480H64C28.65 480 0 451.3 0 416V96C0 60.65 28.65 32 64 32H384zM325.8 139.7C310.1 124.1 284.8 124.1 269.2 139.7L247.8 161.1L318.7 232.1L340.1 210.7C355.8 195 355.8 169.7 340.1 154.1L325.8 139.7zM111.5 303.8L96.48 363.1C95.11 369.4 96.71 375.2 100.7 379.2C104.7 383.1 110.4 384.7 115.9 383.4L176 368.3C181.6 366.9 186.8 364 190.9 359.9L296.1 254.7L225.1 183.8L119.9 288.1C115.8 293.1 112.9 298.2 111.5 303.8z"]};function Jf(e){return d(Bf,e)}const Xf=Jf({icon:{prefix:"fas",iconName:"user",icon:[448,512,[62144,128100],"f007","M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z"]}}),Zf=Jf({icon:Vf}),Qf=Jf({icon:qf}),Kf=Jf({icon:{prefix:"fas",iconName:"hourglass-start",icon:[384,512,["hourglass-1"],"f251","M352 0C369.7 0 384 14.33 384 32C384 49.67 369.7 64 352 64V74.98C352 117.4 335.1 158.1 305.1 188.1L237.3 256L305.1 323.9C335.1 353.9 352 394.6 352 437V448C369.7 448 384 462.3 384 480C384 497.7 369.7 512 352 512H32C14.33 512 0 497.7 0 480C0 462.3 14.33 448 32 448V437C32 394.6 48.86 353.9 78.86 323.9L146.7 256L78.86 188.1C48.86 158.1 32 117.4 32 74.98V64C14.33 64 0 49.67 0 32C0 14.33 14.33 0 32 0H352zM259.9 369.1L192 301.3L124.1 369.1C106.1 387.1 96 411.6 96 437V448H288V437C288 411.6 277.9 387.1 259.9 369.1V369.1z"]}});var ed={};function td(){return ed}var nd={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function rd(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}const od={date:rd({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:rd({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:rd({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var id={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function ad(e){return function(t,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,i=null!=n&&n.width?String(n.width):o;r=e.formattingValues[i]||e.formattingValues[o]}else{var a=e.defaultWidth,s=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[a]}return r[e.argumentCallback?e.argumentCallback(t):t]}}const sd={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:ad({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:ad({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:ad({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:ad({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:ad({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function ud(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;var a,s=i[0],u=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(u)?ld(u,(function(e){return e.test(s)})):cd(u,(function(e){return e.test(s)}));a=e.valueCallback?e.valueCallback(c):c,a=n.valueCallback?n.valueCallback(a):a;var l=t.slice(s.length);return{value:a,rest:l}}}function cd(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function ld(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}var fd,dd={ordinalNumber:(fd={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(fd.matchPattern);if(!n)return null;var r=n[0],o=e.match(fd.parsePattern);if(!o)return null;var i=fd.valueCallback?fd.valueCallback(o[0]):o[0];i=t.valueCallback?t.valueCallback(i):i;var a=e.slice(r.length);return{value:i,rest:a}}),era:ud({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:ud({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:ud({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:ud({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:ud({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};const md={code:"en-US",formatDistance:function(e,t,n){var r,o=nd[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:od,formatRelative:function(e,t,n,r){return id[e]},localize:sd,match:dd,options:{weekStartsOn:0,firstWeekContainsDate:1}};var hd=["years","months","weeks","days","hours","minutes","seconds"];function pd(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function gd(e){pd(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function vd(e,t){pd(2,arguments);var n=gd(e),r=gd(t),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}function yd(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function wd(e,t){pd(2,arguments);var n=gd(e),r=yd(t);return isNaN(r)?new Date(NaN):r?(n.setDate(n.getDate()+r),n):n}function bd(e,t){pd(2,arguments);var n=gd(e),r=yd(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var o=n.getDate(),i=new Date(n.getTime());i.setMonth(n.getMonth()+r+1,0);var a=i.getDate();return o>=a?i:(n.setFullYear(i.getFullYear(),i.getMonth(),o),n)}function _d(e,t){if(pd(2,arguments),!t||"object"!=typeof t)return new Date(NaN);var n=t.years?yd(t.years):0,r=t.months?yd(t.months):0,o=t.weeks?yd(t.weeks):0,i=t.days?yd(t.days):0,a=t.hours?yd(t.hours):0,s=t.minutes?yd(t.minutes):0,u=t.seconds?yd(t.seconds):0,c=gd(e),l=r||n?bd(c,r+12*n):c,f=i||o?wd(l,i+7*o):l,d=s+60*a,m=u+60*d,h=1e3*m,p=new Date(f.getTime()+h);return p}function xd(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Cd(e){pd(1,arguments);var t=gd(e);return t.setHours(0,0,0,0),t}var kd=864e5;function Sd(e,t){pd(2,arguments);var n=Cd(e),r=Cd(t),o=n.getTime()-xd(n),i=r.getTime()-xd(r);return Math.round((o-i)/kd)}function Ed(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function Md(e,t){pd(2,arguments);var n=gd(e),r=gd(t),o=Ed(n,r),i=Math.abs(Sd(n,r));n.setDate(n.getDate()-o*i);var a=Number(Ed(n,r)===-o),s=o*(i-a);return 0===s?0:s}Math.pow(10,8);var Nd=36e5;function Od(e,t){return pd(2,arguments),gd(e).getTime()-gd(t).getTime()}var Ad,Td={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function Id(e){return e?Td[e]:Td.trunc}function Pd(e,t,n){pd(2,arguments);var r=Od(e,t)/Nd;return Id(null==n?void 0:n.roundingMethod)(r)}function Dd(e,t,n){pd(2,arguments);var r=Od(e,t)/6e4;return Id(null==n?void 0:n.roundingMethod)(r)}function jd(e,t){pd(2,arguments);var n=gd(e),r=gd(t),o=n.getFullYear()-r.getFullYear(),i=n.getMonth()-r.getMonth();return 12*o+i}function Ld(e){pd(1,arguments);var t=gd(e);return t.setHours(23,59,59,999),t}function Rd(e){pd(1,arguments);var t=gd(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function Fd(e){pd(1,arguments);var t=gd(e);return Ld(t).getTime()===Rd(t).getTime()}function Ud(e,t){pd(2,arguments);var n,r=gd(e),o=gd(t),i=vd(r,o),a=Math.abs(jd(r,o));if(a<1)n=0;else{1===r.getMonth()&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-i*a);var s=vd(r,o)===-i;Fd(gd(e))&&1===a&&1===vd(e,o)&&(s=!1),n=i*(a-Number(s))}return 0===n?0:n}function zd(e,t,n){pd(2,arguments);var r=Od(e,t)/1e3;return Id(null==n?void 0:n.roundingMethod)(r)}function Hd(e,t){pd(2,arguments);var n=gd(e),r=gd(t);return n.getFullYear()-r.getFullYear()}function Wd(e,t){pd(2,arguments);var n=gd(e),r=gd(t),o=vd(n,r),i=Math.abs(Hd(n,r));n.setFullYear(1584),r.setFullYear(1584);var a=vd(n,r)===-o,s=o*(i-Number(a));return 0===s?0:s}function Gd(e){const t=Xt();if(Kt(e,t)>0)return"1 minute ago";{const n=function(e,t){var n,r,o,i,a;if(arguments.length<1)throw new TypeError("1 argument required, but only ".concat(arguments.length," present"));var s=td(),u=null!==(n=null!==(r=null==t?void 0:t.locale)&&void 0!==r?r:s.locale)&&void 0!==n?n:md,c=null!==(o=null==t?void 0:t.format)&&void 0!==o?o:hd,l=null!==(i=null==t?void 0:t.zero)&&void 0!==i&&i,f=null!==(a=null==t?void 0:t.delimiter)&&void 0!==a?a:" ";if(!u.formatDistance)return"";var d=c.reduce((function(t,n){var r="x".concat(n.replace(/(^.)/,(function(e){return e.toUpperCase()}))),o=e[n];return"number"==typeof o&&(l||e[n])?t.concat(u.formatDistance(r,o)):t}),[]).join(f);return d}(function(e){return e.years>0?{days:0,hours:0,minutes:0,months:0,seconds:0,weeks:0,years:e.years}:e.months>0?{days:0,hours:0,minutes:0,months:e.months,seconds:0,weeks:0,years:0}:e.weeks>0?{days:0,hours:0,minutes:0,months:0,seconds:0,weeks:e.weeks,years:0}:e.days>0?{days:e.days,hours:0,minutes:0,months:0,seconds:0,weeks:0,years:0}:e.hours>0?{days:0,hours:e.hours,minutes:0,months:0,seconds:0,weeks:0,years:0}:e.minutes>0?{days:0,hours:0,minutes:e.minutes,months:0,seconds:0,weeks:0,years:0}:e.seconds>0?{days:0,hours:0,minutes:0,months:0,seconds:e.seconds,weeks:0,years:0}:{days:0,hours:0,minutes:1,months:0,seconds:0,weeks:0,years:0}}(function(e){pd(1,arguments);var t=gd(e.start),n=gd(e.end);if(isNaN(t.getTime()))throw new RangeError("Start Date is invalid");if(isNaN(n.getTime()))throw new RangeError("End Date is invalid");var r={};r.years=Math.abs(Wd(n,t));var o=vd(n,t),i=_d(t,{years:o*r.years});r.months=Math.abs(Ud(n,i));var a=_d(i,{months:o*r.months});r.days=Math.abs(Md(n,a));var s=_d(a,{days:o*r.days});r.hours=Math.abs(Pd(n,s));var u=_d(s,{hours:o*r.hours});r.minutes=Math.abs(Dd(n,u));var c=_d(u,{minutes:o*r.minutes});return r.seconds=Math.abs(zd(n,c)),r}({end:t,start:e})));return`${n} ago`}}function $d(e){let t;const n=e=>d("td",{className:wn(" ",["px-6","py-4","whitespace-nowrap"]),children:vr.Children.toArray(Array.from(e))}),r=e=>d("div",{className:wn(" ",["text-sm","text-gray-500"]),children:e}),o=e=>n([r(e)]),i=(e,t)=>n([d("div",{className:wn(" ",["text-sm","text-gray-900"]),children:e}),r(t)]),a=o("---"),s=Mu(e);return d("tbody",ct(Gn([["className",wn(" ",["bg-white","divide-y","divide-gray-200"])],(t=sr(or((()=>gr((e=>{let t,u;const c=0|jn(e.Configuration.Steps);return u=1===c?"1 step":`${c} steps`,ar(d("tr",ct(Gn([["className",wn(" ",["hover:bg-gray-50"])],(t=sr(or((()=>{let t;return lr((t=e.Profile.ExternalId,ar(null==t?a:o(t))),or((()=>{let t;return lr(ar((t=`${e.Profile.FirstName} ${e.Profile.LastName}`,n([d("div",{className:wn(" ",["text-sm","font-medium","text-gray-900"]),children:t}),r(e.Profile.Email)]))),or((()=>{let t,r;return lr((t=e.Creator,null==t?ar(a):(r=t,ar(i(`${r.FirstName} ${r.LastName}`,r.Email)))),or((()=>{let t,r,c,l;return lr(ar((t=e,r=function(e){switch(e.Status.tag){case 1:return"In progress";case 2:return"Completed";case 3:return"Abandoned";default:return"Not started"}}(t),l=t.Status,c=1===l.tag?Gn(["bg-blue-100","text-blue-800"]):2===l.tag?Gn(["bg-green-100","text-green-800"]):3===l.tag?Gn(["bg-gray-100","text-gray-800"]):Gn(["bg-yellow-100","text-yellow-800"]),n([d("span",{className:wn(" ",sr(or((()=>lr(ar("px-2"),or((()=>lr(ar("inline-flex"),or((()=>lr(ar("text-xs"),or((()=>lr(ar("leading-5"),or((()=>lr(ar("font-semibold"),or((()=>lr(ar("rounded"),or((()=>c)))))))))))))))))))))),children:r})]))),or((()=>lr(gr((t=>{const n=Vn((e=>e.Name===t),e.Tags);return ar(null==n?a:o(n.Value))}),s),or((()=>lr(ar(i(e.Configuration.Name,u)),or((()=>{let t;return lr((t=e.Invite,ar(null==t?a:o(Gd(t.DateIssued)))),or((()=>lr(ar(o(Gd(e.LastUpdated))),or((()=>ar(o(function(e){const t=e.Status;switch(t.tag){case 1:{const n=function(e){e:for(;;){const t=e;if(Mn(t))return;{const n=An(t);if(Mn(n))return Ot(On(t));e=n;continue e}}}(t.fields[0].CompletedSteps);if(null!=n){const t=n,r=Vn((e=>e.Id===t.Type),e.Configuration.Steps);return null==r?"A step was completed":`${r.DisplayName} step completed`}return"Workflow started"}case 2:return"Workflow completed";case 3:return"Workflow abandoned";default:return null==e.Invite?"Workflow created":"Invite sent"}}(e)))))))))})))))))))})))})))})))}))),["children",vr.Children.toArray(Array.from(t))])]))))}),e.Data)))),["children",vr.Children.toArray(Array.from(t))])])))}function Bd(e){let t;const n=(r=e.backendUrl,o=e.accessToken,new Ys(r,o));var r,o;const i=function(e,t,n){return mu((()=>su(e,t,((e,t)=>{}))),[])}(Au,Tu),a=i[0],s=i[1];return Cr(function(e,t){const n=kr(new vo(!1));return xr((()=>wr((()=>{n.current.cancel()}))),[]),Er((r=>{var o;null!=(o=n.current)&&o.isCancelled||Mo(_o.Delay((()=>_o.TryWith(_o.Delay((()=>(t(new No(1)),_o.Bind(e(r),(e=>(t(new No(2,e)),_o.Zero())))))),(e=>(t(new No(3,e)),_o.Zero()))))),n.current)}))}((()=>Vs(n)),(e=>{s(new Su(0,e))}))),d("div",ct(Pn((t=sr(or((()=>{const e=a.ProcessInstanceList;switch(e.tag){default:return ar(d("p",{children:["Loading..."]}));case 2:{const t=e.fields[0];return lr(ar(function(e,t,n){let r;const o=Pn(d("nav",ct(Gn([["className",wn(" ",["flex","space-x-4","p-1","mb-5","bg-gray-50"])],(r=sr(or((()=>Yn((r=>{let o,i,a;const s=0|jn(Nu(r,t).Data),u=d("span",ct(Gn([["className",wn(" ",sr(or((()=>{if(!rt(r,e))return or((()=>new Array(0)));switch(r.tag){case 1:return ar("text-green-500");case 2:return ar("text-blue-500");case 3:return ar("text-yellow-500");default:return ar("text-gray-800")}}))))],(o=sr(or((()=>1===r.tag?ar(Zf):2===r.tag?ar(Qf):3===r.tag?ar(Kf):ar(Xf)))),["children",vr.Children.toArray(Array.from(o))])])));return d("a",ct(Gn([["className",wn(" ",sr(or((()=>lr(ar("flex-1"),or((()=>lr(ar("px-3"),or((()=>lr(ar("py-2"),or((()=>lr(ar("font-medium"),or((()=>lr(ar("text-sm"),or((()=>lr(ar("rounded-md"),or((()=>lr(ar("text-center"),or((()=>lr(ar("space-x-2"),or((()=>rt(r,e)?lr(ar("bg-white"),or((()=>lr(ar("text-gray-800"),or((()=>lr(ar("filter"),or((()=>ar("drop-shadow")))))))))):lr(ar("text-gray-600"),or((()=>lr(ar("hover:bg-gray-100"),or((()=>ar("cursor-pointer")))))))))))))))))))))))))))))))))))],["onClick",e=>{n(r)}],(i=[u,(a=ku(r),d("span",{children:[a]})),d("span",{className:wn(" ",["text-gray-400"]),children:`(${s})`})],["children",vr.Children.toArray(Array.from(i))])])))}),Gn([new Cu(0),new Cu(1),new Cu(2),new Cu(3)]))))),["children",vr.Children.toArray(Array.from(r))])]))));return d("div",{children:vr.Children.toArray(Array.from(o))})}(a.SelectedStatusTab,t,(e=>{s(new Su(1,e))}))),or((()=>{const e=Nu(a.SelectedStatusTab,t);return ar(function(e,t){let n,r,o,i;return d("div",ct(Gn([["className",wn(" ",["flex","flex-col"])],(n=[d("div",ct(Gn([["className",wn(" ",["-my-2","overflow-x-auto","-mx-6"])],(r=[d("div",ct(Gn([["className",wn(" ",["py-2","align-middle","inline-block","min-w-full","px-6"])],(o=[d("div",ct(Gn([["className",wn(" ",["shadow","overflow-hidden","border-b","border-gray-200","sm:rounded-lg"])],(i=[d("table",{className:wn(" ",["min-w-full","divide-y","divide-gray-200"]),children:vr.Children.toArray([e,t])})],["children",vr.Children.toArray(Array.from(i))])])))],["children",vr.Children.toArray(Array.from(o))])])))],["children",vr.Children.toArray(Array.from(r))])])))],["children",vr.Children.toArray(Array.from(n))])])))}(function(e){let t,n;return d("thead",ct(Gn([["className",wn(" ",["bg-gray-50"])],(t=[(n=sr(or((()=>Yn((e=>d("th",{scope:"col",className:wn(" ",["px-6","py-3","text-left","text-xs","font-medium","text-gray-500","uppercase","tracking-wider"]),children:e})),e)))),d("tr",{children:vr.Children.toArray(Array.from(n))}))],["children",vr.Children.toArray(Array.from(t))])])))}(sr(or((()=>lr(ar("Ext. ID"),or((()=>lr(ar("Onboarder"),or((()=>lr(ar("Manager"),or((()=>lr(ar("Status"),or((()=>lr(Mu(e),or((()=>lr(ar("Workflow"),or((()=>lr(ar("Invited"),or((()=>lr(ar("Updated"),or((()=>ar("Last Action"))))))))))))))))))))))))))))),$d(e)))})))}case 3:return ar(d("p",{children:["There was an error loading. Please try refreshing this page."]}))}}))),["children",vr.Children.toArray(Array.from(t))]))))}class Yd extends xt{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class Vd extends p{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}function qd(e){return e}function Jd(e){return Array.from(e)}function Xd(e){return Yt(e,"O")}function Zd(e){return function(e,t="c",n){if(-1===["c","g","G"].indexOf(t))throw new Error("Custom formats are not supported");const r=Math.abs(function(e){return La(e/864e5)}(e)),o=Math.abs(function(e){return La(e%864e5/36e5)}(e)),i=Math.abs(function(e){return La(e%36e5/6e4)}(e)),a=Math.abs(function(e){return La(e%6e4/1e3)}(e)),s=Math.abs(function(e){return La(e%1e3)}(e));return`${e<0?"-":""}${0!==r||"c"!==t&&"g"!==t?"c"===t?r+".":r+":":""}${"g"===t?o:Ve(o,2)}:${Ve(i,2)}:${Ve(a,2)}${0!==s||"c"!==t&&"g"!==t?"g"===t?"."+Ve(s,3):"."+function(e,t,n){let r=e.toString(10);for(;r.length<3;)r="0"+r;for(;r.length<7;)r+="0";return r}(s):""}`}(e)}function Qd(e){return String(e)}function Kd(e){return String(e)}function em(e){return String(e)}function tm(e){return String(e)}function nm(){return null}function rm(e){return Yt(e,"O")}function om(e,t,n,r){const o=new Ct(null),i=ki(Hr(r),o,e);let a;if(eo(r)){const e=Ut((e=>{const r=Ui(t,zr(e)),o=im(i,t,n,e[1]);return t=>i=>{const a=function(e,t){return e[t[0]]}(t,e);return(!n||n&&null!=a)&&(i[r]=o(a)),i}}),Zr(r));a=t=>dr(((e,n)=>n(t)(e)),{},e)}else{if(!Kr(r)){let e;const t=Hr(r);throw e=pn(mn("Cannot generate auto encoder for %s. Please pass an extra encoder."))(t),new Error(e)}a=e=>{const o=function(e,t){const n=Xr(t)[e.tag];if(null==n)throw new Error(`Cannot find case ${e.name} in union type`);return[n,e.fields]}(e,r),a=o[0],s=o[1],u=0|s.length;if(0===u)return zr(a);{const e=0|u,r=no(a),o=Ft(new Array(e+1),0,e+1,null);o[0]=zr(a);for(let a=1;a<=e;a++){const e=im(i,t,n,r[a-1][1]);o[a]=e(s[a-1])}return o}}}return o.contents=a,a}function im(e,t,n,r){const o=Hr(r),i=Si(o,e);if(null==i){if(Wr(r)){const o=im(e,t,n,Gr(r));return e=>Jd(hr(o,e))}if(Br(r)){const e=Hr(Vr(r));if("System.SByte"===e)return Qd;if("System.Byte"===e)return Kd;if("System.Int16"===e)return em;if("System.UInt16"===e)return tm;if("System.Int32"===e)return e=>e;if("System.UInt32"===e)return e=>e;{const e=Hr(r);return gn(mn("Cannot generate auto encoder for %s.\nThoth.Json.Net only support the folluwing enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can't use one of these types, please pass an extra encoder.\n "))(e)}}if($r(r)){if(to(r)){const o=Ut((r=>im(e,t,n,r)),Qr(r));return e=>{return Jd((t=(e,t)=>o[e](t),n=e,cr((()=>rr(n)),((e,n)=>n["System.Collections.IEnumerator.MoveNext"]()?Ot(t(e,n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{He(e)}))));var t,n}}{const o=Hr(Yr(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===o){const o=new Ye((()=>{return o=im(e,t,n,Or(r)[0]),e=>{return null!=(t=Dt(o,e))?At(t):null;var t};var o}));return e=>null==e?null:o.Value(e)}if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===o||"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===o){const o=im(e,t,n,Or(r)[0]);return e=>Jd(hr(o,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===o){const o=Or(r)[0],i=im(e,t,n,Or(r)[1]);if("System.String"===Hr(o)||"System.Guid"===Hr(o))return e=>dr(((e,t)=>{const n=t;return e[n[0]]=i(n[1]),e}),{},e);{let r;const a=im(e,t,n,o);return r=a,e=>Jd(hr((e=>{const t=e;return[r(t[0]),i(t[1])]}),e))}}return om(e,t,n,r)}}return"System.Boolean"===o?e=>e:"Microsoft.FSharp.Core.Unit"===o?nm:"System.String"===o?e=>e:"System.SByte"===o?Qd:"System.Byte"===o?Kd:"System.Int16"===o?em:"System.UInt16"===o?tm:"System.Int32"===o?e=>e:"System.UInt32"===o?e=>e:"System.Double"===o?e=>e:"System.Single"===o?e=>e:"System.DateTime"===o?rm:"System.DateTimeOffset"===o?Xd:"System.TimeSpan"===o?Zd:"System.Guid"===o?qd:"System.Object"===o?e=>e:om(e,t,n,r)}{const e=i;return t=>e.contents(t)}}function am(e,t,n,r,o,i){return function(e,t){return JSON.stringify(t,ft(2,null),Ot(e))}(e,function(e,t,n,r){let o;const i=Pt(e,new ji(0)),a=Pt(n,!0);return o=At(r).ResolveType(),im(function(e){return null!=e?Ei(((e,t)=>new Ct(t[0])),e.Coders):Mi()}(t),i,a,o)}(n,r,o,i)(t))}class sm extends gt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}function um(e){const t=encodeURIComponent(e.fields[0]),n=encodeURIComponent("apollo-workflows-progress-app"),r=encodeURIComponent(Po);return zo(0,(()=>{let e,o,i;const a=Pi((o=Ti(new Ho(1),Ai(`${Ao}/connect/token`)),e=Ii(new Wo(0,"Content-Type","application/x-www-form-urlencoded"),o),s=new Go(1,`grant_type=authorization_code&code=${t}&client_id=${n}&redirect_uri=${r}`),new $o((u=e).url,u.method,u.headers,u.withCredentials,u.overridenMimeType,u.overridenResponseType,u.timeout,s)));var s,u;return i=_o.Bind(a,(e=>_o.Return(new xo(0,e)))),_o.Delay((()=>_o.Bind(i,(e=>{let t,n;const r=e;return 1===r.tag?_o.Return(new xo(1,r.fields[0])):_o.ReturnFrom((t=r.fields[0],200===t.statusCode?(n=Ps(t.responseText,void 0,void 0,{ResolveType:ao}),_o.Return(n)):_o.Return(new xo(1,"Unexpected result from backend"))))}))))}))}function cm(){let e,t;const n=Tt(document.getElementById("external-loading-page-container"));mr((t=document.body,e=e=>t.removeChild(e),t=>{e(t)}),It(n))}function lm(e,t){const n=function(e){return[new No(0),eu(new so(0,new sm(0),e))]}(t);return[new Ro(e.CurrentPage,n[0],e.AppMode),Ks((e=>new Fo(1,e)),n[1])]}function fm(e){let t;const n=e.dispatch,r=e.state;Cr((()=>{window.addEventListener("progressComponentReady",(e=>{n(new Fo(3))}))}));const o=d("div",ct(Gn([["className",wn(" ",["bg-white","p-6","overflow-x-hidden"])],(t=sr(or((()=>{switch(r.CurrentPage.tag){case 1:return ar(function(){let e,t,n,r,o,i,a,s;return d("div",ct(Gn([["className",wn(" ",["h-screen"])],(e=[d("div",ct(Gn([["className",wn(" ",["h-full","flex","justify-center","items-center"])],(t=[d("div",ct(Gn([["className",wn(" ",["border","rounded-lg","shadow-md","sm:max-w-md","p-8","text-center"])],(n=[(r=Gn([(o=Gn([d("h4",{className:wn(" ",["text-2xl","my-4","text-green-700"]),children:"Your identity is confirmed"}),d("p",{className:wn(" ",["mt-3","mb-5","text-gray-500"]),children:"You will be redirected in a moment."})]),d("div",{children:vr.Children.toArray(Array.from(o))})),d("p",ct(Gn([["className",wn(" ",["mt-16","text-gray-400","text-right","text-xs"])],(i=[(a=`Flare HR Pty Ltd © 2015-${s=Zt(),Qt(s)}`,d("small",{children:[a]}))],["children",vr.Children.toArray(Array.from(i))])])))]),d("div",{children:vr.Children.toArray(Array.from(r))}))],["children",vr.Children.toArray(Array.from(n))])])))],["children",vr.Children.toArray(Array.from(t))])])))],["children",vr.Children.toArray(Array.from(e))])])))}());case 2:return ar(d(Uo,null));default:{const e=r.Credentials;let t,n;switch(2===e.tag&&0===e.fields[0].tag?(t=0,n=e.fields[0].fields[0]):t=1,t){case 0:return ar(d(Bd,{accessToken:n.access_token,backendUrl:To}));case 1:return ar(d("h1",{children:["There was an error signing you in. Please try sign in again."]}))}}}}))),["children",vr.Children.toArray(Array.from(t))])])));return go({hashMode:2,onUrlChanged:e=>{n(new Fo(0,e))},application:d(h,{},o)})}!function(e){cu(void 0,e)}(("workflows-progress-app",Ad=su((function(){const e=Lo(po(window.location.pathname+window.location.search,2)),t=rt(window.location,window.parent.location)?new Do(1):new Do(0),n=new Ro(e,new No(0),t);let r;switch(r=1===e.tag?0:0===e.tag&&rt(t,new Do(1))?1:2,r){case 0:return lm(n,e.fields[0]);case 1:{const e=jt((e=>{return 1===(t=Ps(e,void 0,void 0,{ResolveType:ao})).tag?void 0:Ot(t.fields[0]);var t}),Tt(window.sessionStorage.getItem("credentials")));return null==e?[n,eu(new Fo(2))]:[new Ro(n.CurrentPage,new No(2,new xo(0,e)),n.AppMode),Qs()]}case 2:return[n,eu(new Fo(2))]}}),(function(e,t){switch(e.tag){case 1:{const n=function(e,t){let n;return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?[new No(2,new xo(1,`SignIn failed: ${e.fields[0].fields[0].fields[0]}`)),Qs()]:[new No(2,new xo(0,e.fields[0].fields[0].fields[0])),(n=window.location.pathname,r=e=>{!function(e,t,n){history.pushState(void 0,"",ho(e,2));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}(Pn(n))},Pn(r))]:[new No(1),tu((e=>{!function(e){Xs(0,(t=>{Mo(e)}))}(e)}),um,e.fields[1],(t=>{const n=[new sm(1,t),e.fields[1]];return new so(0,n[0],n[1])}),(t=>{const n=[new sm(1,new xo(1,t.message)),e.fields[1]];return new so(0,n[0],n[1])}))];var r}(e.fields[0],t.Credentials),r=n[0],o=[r,t.AppMode];let i,a;return 2===o[0].tag&&0===o[0].fields[0].tag&&1===o[1].tag?(i=0,a=o[0].fields[0].fields[0]):i=1,0===i&&function(e){const t=["credentials",am(0,new io(e.id_token,e.access_token,e.expires_in,void 0,e.scope,e.token_type),void 0,void 0,void 0,{ResolveType:ao})];window.sessionStorage.setItem(t[0],t[1])}(a),[new Ro(t.CurrentPage,r,t.AppMode),Ks((e=>new Fo(1,e)),n[1])]}case 2:return cm(),[new Ro(new jo(2),t.Credentials,t.AppMode),Qs()];case 3:return cm(),[t,Qs()];default:{const n=Lo(e.fields[0]),r=new Ro(n,t.Credentials,t.AppMode);return 1===n.tag?lm(r,n.fields[0]):[r,Qs()]}}}),((e,t)=>d(fm,{state:e,dispatch:t}))),function(e,t,n){return uu(((r,o)=>{Ee(e((e=>t=>e===t),function(e){return mt(2,e.view)}(n),r,o),document.getElementById(t))}),n)}(((e,t,n,r)=>function(e,t,n,r){const o=new Yd(n,(()=>t(n,r)),e);return d(Vd,o)}(ft(2,e),ft(2,t),n,r)),"workflows-progress-app",Ad)))})()})();
2
+ (()=>{var t={703:(t,e,n)=>{"use strict";var r=n(414);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},697:(t,e,n)=>{t.exports=n(703)()},414:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";var t,e,r,o,i,a,s={},u=[],c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function l(t,e){for(var n in e)t[n]=e[n];return t}function f(t){var e=t.parentNode;e&&e.removeChild(t)}function d(e,n,r){var o,i,a,s={};for(a in n)"key"==a?o=n[a]:"ref"==a?i=n[a]:s[a]=n[a];if(arguments.length>2&&(s.children=arguments.length>3?t.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===s[a]&&(s[a]=e.defaultProps[a]);return m(e,s,o,i,null)}function m(t,n,o,i,a){var s={type:t,props:n,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++r:a};return null==a&&null!=e.vnode&&e.vnode(s),s}function h(t){return t.children}function p(t,e){this.props=t,this.context=e}function g(t,e){if(null==e)return t.__?g(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof t.type?g(t):null}function y(t){var e,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return y(t)}}function v(t){(!t.__d&&(t.__d=!0)&&o.push(t)&&!w.__r++||i!==e.debounceRendering)&&((i=e.debounceRendering)||setTimeout)(w)}function w(){for(var t;w.__r=o.length;)t=o.sort((function(t,e){return t.__v.__b-e.__v.__b})),o=[],t.some((function(t){var e,n,r,o,i,a;t.__d&&(i=(o=(e=t).__v).__e,(a=e.__P)&&(n=[],(r=l({},o)).__v=o.__v+1,N(a,o,r,e.__n,void 0!==a.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?g(o):i,o.__h),O(n,o),o.__e!=i&&y(o)))}))}function b(t,e,n,r,o,i,a,c,l,f){var d,p,y,v,w,b,x,k=r&&r.__k||u,S=k.length;for(n.__k=[],d=0;d<e.length;d++)if(null!=(v=n.__k[d]=null==(v=e[d])||"boolean"==typeof v?null:"string"==typeof v||"number"==typeof v||"bigint"==typeof v?m(null,v,null,null,v):Array.isArray(v)?m(h,{children:v},null,null,null):v.__b>0?m(v.type,v.props,v.key,null,v.__v):v)){if(v.__=n,v.__b=n.__b+1,null===(y=k[d])||y&&v.key==y.key&&v.type===y.type)k[d]=void 0;else for(p=0;p<S;p++){if((y=k[p])&&v.key==y.key&&v.type===y.type){k[p]=void 0;break}y=null}N(t,v,y=y||s,o,i,a,c,l,f),w=v.__e,(p=v.ref)&&y.ref!=p&&(x||(x=[]),y.ref&&x.push(y.ref,null,v),x.push(p,v.__c||w,v)),null!=w?(null==b&&(b=w),"function"==typeof v.type&&v.__k===y.__k?v.__d=l=_(v,l,t):l=C(t,v,y,k,w,l),"function"==typeof n.type&&(n.__d=l)):l&&y.__e==l&&l.parentNode!=t&&(l=g(y))}for(n.__e=b,d=S;d--;)null!=k[d]&&("function"==typeof n.type&&null!=k[d].__e&&k[d].__e==n.__d&&(n.__d=g(r,d+1)),T(k[d],k[d]));if(x)for(d=0;d<x.length;d++)I(x[d],x[++d],x[++d])}function _(t,e,n){for(var r,o=t.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=t,e="function"==typeof r.type?_(r,e,n):C(n,r,r,o,r.__e,e));return e}function x(t,e){return e=e||[],null==t||"boolean"==typeof t||(Array.isArray(t)?t.some((function(t){x(t,e)})):e.push(t)),e}function C(t,e,n,r,o,i){var a,s,u;if(void 0!==e.__d)a=e.__d,e.__d=void 0;else if(null==n||o!=i||null==o.parentNode)t:if(null==i||i.parentNode!==t)t.appendChild(o),a=null;else{for(s=i,u=0;(s=s.nextSibling)&&u<r.length;u+=2)if(s==o)break t;t.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function k(t,e,n){"-"===e[0]?t.setProperty(e,n):t[e]=null==n?"":"number"!=typeof n||c.test(e)?n:n+"px"}function S(t,e,n,r,o){var i;t:if("style"===e)if("string"==typeof n)t.style.cssText=n;else{if("string"==typeof r&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||k(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||k(t.style,e,n[e])}else if("o"===e[0]&&"n"===e[1])i=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r||t.addEventListener(e,i?M:E,i):t.removeEventListener(e,i?M:E,i);else if("dangerouslySetInnerHTML"!==e){if(o)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==e&&"list"!==e&&"form"!==e&&"tabIndex"!==e&&"download"!==e&&e in t)try{t[e]=null==n?"":n;break t}catch(t){}"function"==typeof n||(null!=n&&(!1!==n||"a"===e[0]&&"r"===e[1])?t.setAttribute(e,n):t.removeAttribute(e))}}function E(t){this.l[t.type+!1](e.event?e.event(t):t)}function M(t){this.l[t.type+!0](e.event?e.event(t):t)}function N(t,n,r,o,i,a,s,u,c){var f,d,m,g,y,v,w,_,x,C,k,S,E,M=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(c=r.__h,u=n.__e=r.__e,n.__h=null,a=[u]),(f=e.__b)&&f(n);try{t:if("function"==typeof M){if(_=n.props,x=(f=M.contextType)&&o[f.__c],C=f?x?x.props.value:f.__:o,r.__c?w=(d=n.__c=r.__c).__=d.__E:("prototype"in M&&M.prototype.render?n.__c=d=new M(_,C):(n.__c=d=new p(_,C),d.constructor=M,d.render=P),x&&x.sub(d),d.props=_,d.state||(d.state={}),d.context=C,d.__n=o,m=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=M.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=l({},d.__s)),l(d.__s,M.getDerivedStateFromProps(_,d.__s))),g=d.props,y=d.state,m)null==M.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==M.getDerivedStateFromProps&&_!==g&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(_,C),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(_,d.__s,C)||n.__v===r.__v){d.props=_,d.state=d.__s,n.__v!==r.__v&&(d.__d=!1),d.__v=n,n.__e=r.__e,n.__k=r.__k,n.__k.forEach((function(t){t&&(t.__=n)})),d.__h.length&&s.push(d);break t}null!=d.componentWillUpdate&&d.componentWillUpdate(_,d.__s,C),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(g,y,v)}))}if(d.context=C,d.props=_,d.__v=n,d.__P=t,k=e.__r,S=0,"prototype"in M&&M.prototype.render)d.state=d.__s,d.__d=!1,k&&k(n),f=d.render(d.props,d.state,d.context);else do{d.__d=!1,k&&k(n),f=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++S<25);d.state=d.__s,null!=d.getChildContext&&(o=l(l({},o),d.getChildContext())),m||null==d.getSnapshotBeforeUpdate||(v=d.getSnapshotBeforeUpdate(g,y)),E=null!=f&&f.type===h&&null==f.key?f.props.children:f,b(t,Array.isArray(E)?E:[E],n,r,o,i,a,s,u,c),d.base=n.__e,n.__h=null,d.__h.length&&s.push(d),w&&(d.__E=d.__=null),d.__e=!1}else null==a&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=A(r.__e,n,r,o,i,a,s,c);(f=e.diffed)&&f(n)}catch(t){n.__v=null,(c||null!=a)&&(n.__e=u,n.__h=!!c,a[a.indexOf(u)]=null),e.__e(t,n,r)}}function O(t,n){e.__c&&e.__c(n,t),t.some((function(n){try{t=n.__h,n.__h=[],t.some((function(t){t.call(n)}))}catch(t){e.__e(t,n.__v)}}))}function A(e,n,r,o,i,a,u,c){var l,d,m,h=r.props,p=n.props,y=n.type,v=0;if("svg"===y&&(i=!0),null!=a)for(;v<a.length;v++)if((l=a[v])&&"setAttribute"in l==!!y&&(y?l.localName===y:3===l.nodeType)){e=l,a[v]=null;break}if(null==e){if(null===y)return document.createTextNode(p);e=i?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,p.is&&p),a=null,c=!1}if(null===y)h===p||c&&e.data===p||(e.data=p);else{if(a=a&&t.call(e.childNodes),d=(h=r.props||s).dangerouslySetInnerHTML,m=p.dangerouslySetInnerHTML,!c){if(null!=a)for(h={},v=0;v<e.attributes.length;v++)h[e.attributes[v].name]=e.attributes[v].value;(m||d)&&(m&&(d&&m.__html==d.__html||m.__html===e.innerHTML)||(e.innerHTML=m&&m.__html||""))}if(function(t,e,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in e||S(t,i,null,n[i],r);for(i in e)o&&"function"!=typeof e[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===e[i]||S(t,i,e[i],n[i],r)}(e,p,h,i,c),m)n.__k=[];else if(v=n.props.children,b(e,Array.isArray(v)?v:[v],n,r,o,i&&"foreignObject"!==y,a,u,a?a[0]:r.__k&&g(r,0),c),null!=a)for(v=a.length;v--;)null!=a[v]&&f(a[v]);c||("value"in p&&void 0!==(v=p.value)&&(v!==e.value||"progress"===y&&!v||"option"===y&&v!==h.value)&&S(e,"value",v,h.value,!1),"checked"in p&&void 0!==(v=p.checked)&&v!==e.checked&&S(e,"checked",v,h.checked,!1))}return e}function I(t,n,r){try{"function"==typeof t?t(n):t.current=n}catch(t){e.__e(t,r)}}function T(t,n,r){var o,i;if(e.unmount&&e.unmount(t),(o=t.ref)&&(o.current&&o.current!==t.__e||I(o,null,n)),null!=(o=t.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(t){e.__e(t,n)}o.base=o.__P=null}if(o=t.__k)for(i=0;i<o.length;i++)o[i]&&T(o[i],n,"function"!=typeof t.type);r||null==t.__e||f(t.__e),t.__e=t.__d=void 0}function P(t,e,n){return this.constructor(t,n)}function D(n,r,o){var i,a,u;e.__&&e.__(n,r),a=(i="function"==typeof o)?null:o&&o.__k||r.__k,u=[],N(r,n=(!i&&o||r).__k=d(h,null,[n]),a||s,s,void 0!==r.ownerSVGElement,!i&&o?[o]:a?null:r.firstChild?t.call(r.childNodes):null,u,!i&&o?o:a?a.__e:r.firstChild,i),O(u,n)}function j(t,e){D(t,e,j)}function R(e,n,r){var o,i,a,s=l({},e.props);for(a in n)"key"==a?o=n[a]:"ref"==a?i=n[a]:s[a]=n[a];return arguments.length>2&&(s.children=arguments.length>3?t.call(arguments,2):r),m(e.type,s,o||e.key,i||e.ref,null)}t=u.slice,e={__e:function(t,e,n,r){for(var o,i,a;e=e.__;)if((o=e.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(t)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(t,r||{}),a=o.__d),a)return o.__E=o}catch(e){t=e}throw t}},r=0,p.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=l({},this.state),"function"==typeof t&&(t=t(l({},n),this.props)),t&&l(n,t),null!=t&&this.__v&&(e&&this.__h.push(e),v(this))},p.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),v(this))},p.prototype.render=h,o=[],w.__r=0,a=0;var L,F,U,z,G=0,H=[],W=[],$=e.__b,B=e.__r,Y=e.diffed,V=e.__c,q=e.unmount;function J(t,n){e.__h&&e.__h(F,t,G||n),G=0;var r=F.__H||(F.__H={__:[],__h:[]});return t>=r.__.length&&r.__.push({__V:W}),r.__[t]}function X(t){return G=1,Z(at,t)}function Z(t,e,n){var r=J(L++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):at(void 0,e),function(t){var e=r.__N?r.__N[0]:r.__[0],n=r.t(e,t);e!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=F,!F.u)){F.u=!0;var o=F.shouldComponentUpdate;F.shouldComponentUpdate=function(t,e,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(t){return t.__c}));if(i.every((function(t){return!t.__N})))return!o||o.call(this,t,e,n);var a=!1;return i.forEach((function(t){if(t.__N){var e=t.__[0];t.__=t.__N,t.__N=void 0,e!==t.__[0]&&(a=!0)}})),!!a&&(!o||o.call(this,t,e,n))}}return r.__N||r.__}function Q(t,n){var r=J(L++,3);!e.__s&&it(r.__H,n)&&(r.__=t,r.i=n,F.__H.__h.push(r))}function K(t,n){var r=J(L++,4);!e.__s&&it(r.__H,n)&&(r.__=t,r.i=n,F.__h.push(r))}function tt(t,e){var n=J(L++,7);return it(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__}function et(){for(var t;t=H.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(rt),t.__H.__h.forEach(ot),t.__H.__h=[]}catch(n){t.__H.__h=[],e.__e(n,t.__v)}}e.__b=function(t){F=null,$&&$(t)},e.__r=function(t){B&&B(t),L=0;var e=(F=t.__c).__H;e&&(U===F?(e.__h=[],F.__h=[],e.__.forEach((function(t){t.__N&&(t.__=t.__N),t.__V=W,t.__N=t.i=void 0}))):(e.__h.forEach(rt),e.__h.forEach(ot),e.__h=[])),U=F},e.diffed=function(t){Y&&Y(t);var n=t.__c;n&&n.__H&&(n.__H.__h.length&&(1!==H.push(n)&&z===e.requestAnimationFrame||((z=e.requestAnimationFrame)||function(t){var e,n=function(){clearTimeout(r),nt&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);nt&&(e=requestAnimationFrame(n))})(et)),n.__H.__.forEach((function(t){t.i&&(t.__H=t.i),t.__V!==W&&(t.__=t.__V),t.i=void 0,t.__V=W}))),U=F=null},e.__c=function(t,n){n.some((function(t){try{t.__h.forEach(rt),t.__h=t.__h.filter((function(t){return!t.__||ot(t)}))}catch(r){n.some((function(t){t.__h&&(t.__h=[])})),n=[],e.__e(r,t.__v)}})),V&&V(t,n)},e.unmount=function(t){q&&q(t);var n,r=t.__c;r&&r.__H&&(r.__H.__.forEach((function(t){try{rt(t)}catch(t){n=t}})),n&&e.__e(n,r.__v))};var nt="function"==typeof requestAnimationFrame;function rt(t){var e=F,n=t.__c;"function"==typeof n&&(t.__c=void 0,n()),F=e}function ot(t){var e=F;t.__c=t.__(),F=e}function it(t,e){return!t||t.length!==e.length||e.some((function(e,n){return e!==t[n]}))}function at(t,e){return"function"==typeof e?e(t):e}function st(t,e){for(var n in e)t[n]=e[n];return t}function ut(t,e){for(var n in t)if("__source"!==n&&!(n in e))return!0;for(var r in e)if("__source"!==r&&t[r]!==e[r])return!0;return!1}function ct(t){this.props=t}(ct.prototype=new p).isPureReactComponent=!0,ct.prototype.shouldComponentUpdate=function(t,e){return ut(this.props,t)||ut(this.state,e)};var lt=e.__b;e.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),lt&&lt(t)};var ft="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,dt=function(t,e){return null==t?null:x(x(t).map(e))},mt={map:dt,forEach:dt,count:function(t){return t?x(t).length:0},only:function(t){var e=x(t);if(1!==e.length)throw"Children.only";return e[0]},toArray:x},ht=e.__e;e.__e=function(t,e,n,r){if(t.then)for(var o,i=e;i=i.__;)if((o=i.__c)&&o.__c)return null==e.__e&&(e.__e=n.__e,e.__k=n.__k),o.__c(t,e);ht(t,e,n,r)};var pt=e.unmount;function gt(){this.__u=0,this.t=null,this.__b=null}function yt(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function vt(){this.u=null,this.o=null}e.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&!0===t.__h&&(t.type=null),pt&&pt(t)},(gt.prototype=new p).__c=function(t,e){var n=e.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=yt(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var t=r.state.__a;r.__v.__k[0]=function t(e,n,r){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return t(e,n,r)})),e.__c&&e.__c.__P===n&&(e.__e&&r.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=r)),e}(t,t.__c.__P,t.__c.__O)}var e;for(r.setState({__a:r.__b=null});e=r.t.pop();)e.forceUpdate()}},u=!0===e.__h;r.__u++||u||r.setState({__a:r.__b=r.__v.__k[0]}),t.then(a,a)},gt.prototype.componentWillUnmount=function(){this.t=[]},gt.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function t(e,n,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(t){"function"==typeof t.__c&&t.__c()})),e.__c.__H=null),null!=(e=st({},e)).__c&&(e.__c.__P===r&&(e.__c.__P=n),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return t(e,n,r)}))),e}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__a&&d(h,null,t.fallback);return o&&(o.__h=null),[d(h,null,e.__a?null:t.children),o]};var wt=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&("t"!==t.props.revealOrder[0]||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function bt(t){return this.getChildContext=function(){return t.context},t.children}function _t(t){var e=this,n=t.i;e.componentWillUnmount=function(){D(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),t.__v?(e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(t){this.childNodes.push(t),e.i.appendChild(t)},insertBefore:function(t,n){this.childNodes.push(t),e.i.appendChild(t)},removeChild:function(t){this.childNodes.splice(this.childNodes.indexOf(t)>>>1,1),e.i.removeChild(t)}}),D(d(bt,{context:e.context},t.__v),e.l)):e.l&&e.componentWillUnmount()}(vt.prototype=new p).__a=function(t){var e=this,n=yt(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),wt(e,t,r)):o()};n?n(i):i()}},vt.prototype.render=function(t){this.u=null,this.o=new Map;var e=x(t.children);t.revealOrder&&"b"===t.revealOrder[0]&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},vt.prototype.componentDidUpdate=vt.prototype.componentDidMount=function(){var t=this;this.o.forEach((function(e,n){wt(t,n,e)}))};var xt="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ct=/^(?: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]/,kt="undefined"!=typeof document,St=function(t){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(t)};function Et(t,e,n){return null==e.__k&&(e.textContent=""),D(t,e),"function"==typeof n&&n(),t?t.__c:null}p.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(t){Object.defineProperty(p.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})}));var Mt=e.event;function Nt(){}function Ot(){return this.cancelBubble}function At(){return this.defaultPrevented}e.event=function(t){return Mt&&(t=Mt(t)),t.persist=Nt,t.isPropagationStopped=Ot,t.isDefaultPrevented=At,t.nativeEvent=t};var It,Tt={configurable:!0,get:function(){return this.class}},Pt=e.vnode;e.vnode=function(t){var e=t.type,n=t.props,r=n;if("string"==typeof e){var o=-1===e.indexOf("-");for(var i in r={},n){var a=n[i];kt&&"children"===i&&"noscript"===e||"value"===i&&"defaultValue"in n&&null==a||("defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===a?a="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+e)&&!St(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&&Ct.test(i)?i=i.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===a&&(a=void 0),/^oninput$/i.test(i)&&(i=i.toLowerCase(),r[i]&&(i="oninputCapture")),r[i]=a)}"select"==e&&r.multiple&&Array.isArray(r.value)&&(r.value=x(n.children).forEach((function(t){t.props.selected=-1!=r.value.indexOf(t.props.value)}))),"select"==e&&null!=r.defaultValue&&(r.value=x(n.children).forEach((function(t){t.props.selected=r.multiple?-1!=r.defaultValue.indexOf(t.props.value):r.defaultValue==t.props.value}))),t.props=r,n.class!=n.className&&(Tt.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Tt))}t.$$typeof=xt,Pt&&Pt(t)};var Dt=e.__r;e.__r=function(t){Dt&&Dt(t),It=t.__c};var jt={ReactCurrentDispatcher:{current:{readContext:function(t){return It.__n[t.__c].props.value}}}};function Rt(t){return!!t&&t.$$typeof===xt}function Lt(t){t()}const Ft={useState:X,useReducer:Z,useEffect:Q,useLayoutEffect:K,useInsertionEffect:K,useTransition:function(){return[!1,Lt]},useDeferredValue:function(t){return t},useSyncExternalStore:function(t,e){var n=e(),r=X({s:{__:n,h:e}}),o=r[0].s,i=r[1];return K((function(){o.__=n,o.h=e,o.__!==e()&&i({s:o})}),[t,n,e]),Q((function(){return o.__!==o.h()&&i({s:o}),t((function(){o.__!==o.h()&&i({s:o})}))}),[t]),n},startTransition:Lt,useRef:function(t){return G=5,tt((function(){return{current:t}}),[])},useImperativeHandle:function(t,e,n){G=6,K((function(){return"function"==typeof t?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0}),null==n?n:n.concat(t))},useMemo:tt,useCallback:function(t,e){return G=8,tt((function(){return t}),e)},useContext:function(t){var e=F.context[t.__c],n=J(L++,9);return n.c=t,e?(null==n.__&&(n.__=!0,e.sub(F)),e.props.value):t.__},useDebugValue:function(t,n){e.useDebugValue&&e.useDebugValue(n?n(t):t)},version:"17.0.2",Children:mt,render:Et,hydrate:function(t,e,n){return j(t,e),"function"==typeof n&&n(),t?t.__c:null},unmountComponentAtNode:function(t){return!!t.__k&&(D(null,t),!0)},createPortal:function(t,e){var n=d(_t,{__v:t,i:e});return n.containerInfo=e,n},createElement:d,createContext:function(t,e){var n={__c:e="__cC"+a++,__:t,Consumer:function(t,e){return t.children(e)},Provider:function(t){var n,r;return this.getChildContext||(n=[],(r={})[e]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(t){this.props.value!==t.value&&n.some(v)},this.sub=function(t){n.push(t);var e=t.componentWillUnmount;t.componentWillUnmount=function(){n.splice(n.indexOf(t),1),e&&e.call(t)}}),t.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(t){return d.bind(null,t)},cloneElement:function(t){return Rt(t)?R.apply(null,arguments):t},createRef:function(){return{current:null}},Fragment:h,isValidElement:Rt,findDOMNode:function(t){return t&&(t.base||1===t.nodeType&&t)||null},Component:p,PureComponent:ct,memo:function(t,e){function n(t){var n=this.props.ref,r=n==t.ref;return!r&&n&&(n.call?n(null):n.current=null),e?!e(this.props,t)||!r:ut(this.props,t)}function r(e){return this.shouldComponentUpdate=n,d(t,e)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(t){function e(e){var n=st({},e);return delete n.ref,t(n,e.ref||null)}return e.$$typeof=ft,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e},flushSync:function(t,e){return t(e)},unstable_batchedUpdates:function(t,e){return t(e)},StrictMode:h,Suspense:gt,SuspenseList:vt,lazy:function(t){var e,n,r;function o(o){if(e||(e=t()).then((function(t){n=t.default||t}),(function(t){r=t})),r)throw r;if(!n)throw e;return d(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:jt};function Ut(t){return Array.isArray(t)||ArrayBuffer.isView(t)}function zt(t){return null!=t&&"function"==typeof t.Dispose}function Gt(t){zt(t)&&t.Dispose()}function Ht(t,e){var n,r;return(null===(n=Object.getPrototypeOf(t))||void 0===n?void 0:n.constructor)===(null===(r=Object.getPrototypeOf(e))||void 0===r?void 0:r.constructor)}class Wt{constructor(t){this.iter=t}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this.iter.next();return this.current=t.value,!t.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function $t(t){return"function"==typeof t.GetEnumerator?t.GetEnumerator():new Wt(t[Symbol.iterator]())}function Bt(t){return{[Symbol.iterator](){return this},next(){const e=t["System.Collections.IEnumerator.MoveNext"]();return{done:!e,value:e?t["System.Collections.IEnumerator.get_Current"]():void 0}}}}class Yt{constructor(t){this.factory=t,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function Vt(t,e){let n=t.toString(10);for(;n.length<e;)n="0"+n;return n}function qt(t){const e=t;return"number"==typeof e.offset?e.offset:1===t.kind?0:-6e4*t.getTimezoneOffset()}function Jt(t,e){return(t=t<0&&null!=e&&10!==e?4294967295+t+1:t).toString(e)}class Xt{static id(t){return Xt.idMap.has(t)||Xt.idMap.set(t,++Xt.count),Xt.idMap.get(t)}}function Zt(t){let e=0,n=5381;const r=t.length;for(;e<r;)n=33*n^t.charCodeAt(e++);return n}function Qt(t){return 2654435761*t|0}function Kt(t){return 0===t.length?0:t.reduce(((t,e)=>(t<<5)+t^e))}function te(t){var e;if(null==t)return 0;switch(typeof t){case"boolean":return t?1:0;case"number":return Qt(t);case"string":return Zt(t);default:if(function(t){return"function"==typeof t.GetHashCode}(t))return t.GetHashCode();if(Ut(t))return function(t){const e=t.length,n=new Array(e);for(let r=0;r<e;r++)n[r]=te(t[r]);return Kt(n)}(t);if(t instanceof Date)return function(t){return t.getTime()}(t);if((null===(e=Object.getPrototypeOf(t))||void 0===e?void 0:e.constructor)===Object){const e=Object.values(t).map((t=>te(t)));return Kt(e)}return Qt(Xt.id(t))}}function ee(t,e,n){if(null==t)return null==e;if(null==e)return!1;if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++)if(!n(t[r],e[r]))return!1;return!0}function ne(t,e){return ee(t,e,re)}function re(t,e){var n;return t===e||(null==t?null==e:null!=e&&"object"==typeof t&&(function(t){return"function"==typeof t.Equals}(t)?t.Equals(e):Ut(t)?Ut(e)&&ne(t,e):t instanceof Date?e instanceof Date&&0===oe(t,e):(null===(n=Object.getPrototypeOf(t))||void 0===n?void 0:n.constructor)===Object&&function(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let o=0;o<n.length;o++)if(n[o]!==r[o]||!re(t[n[o]],e[r[o]]))return!1;return!0}(t,e)))}function oe(t,e){let n,r;return"offset"in t&&"offset"in e?(n=t.getTime(),r=e.getTime()):(n=t.getTime()+qt(t),r=e.getTime()+qt(e)),n===r?0:n<r?-1:1}function ie(t,e){return t===e?0:t<e?-1:1}function ae(t,e){return function(t,e,n){if(null==t)return null==e?0:1;if(null==e)return-1;if(t.length!==e.length)return t.length<e.length?-1:1;for(let r=0,o=0;r<t.length;r++)if(o=n(t[r],e[r]),0!==o)return o;return 0}(t,e,se)}function se(t,e){var n;return t===e?0:null==t?null==e?0:-1:null==e?1:"object"!=typeof t?t<e?-1:1:function(t){return"function"==typeof t.CompareTo}(t)?t.CompareTo(e):Ut(t)?Ut(e)?ae(t,e):-1:t instanceof Date?e instanceof Date?oe(t,e):-1:(null===(n=Object.getPrototypeOf(t))||void 0===n?void 0:n.constructor)===Object?function(t,e){const n=Object.keys(t),r=Object.keys(e);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 a=n[o];if(a!==r[o])return a<r[o]?-1:1;if(i=se(t[a],e[a]),0!==i)return i}return 0}(t,e):-1}function ue(t,e,n){return t(e,n)>0?e:n}function ce(t){const e={};for(const n of t)e[n[0]]=n[1];return e}Xt.idMap=new WeakMap,Xt.count=0;const le=Symbol("curried");function fe(t,e){if(null==e||e.length>1)return e;const n=(...n)=>{let r=e;for(let e=0;e<t;e++)r=r(n[e]);return r};return n[le]=e,n}function de(t,e,n){return r=>1===e?n(...t.concat([r])):de(t.concat([r]),e-1,n)}function me(t,e){return null==e||1===e.length?e:le in e?e[le]:de([],t,e)}function he(t,e,n){if(null!=e){if(le in e){e=e[le];for(let t=0;t<n.length;t++)e=e(n[t]);return e}return de(n,t,e)}}function pe(t,e=0){var n,r;if(null!=t&&"object"==typeof t){if("function"==typeof t.toString)return t.toString();if(Symbol.iterator in t)return function(t){let e=0,n="[";for(const r of t){if(0===e)n+=pe(r);else{if(100===e){n+="; ...";break}n+="; "+pe(r)}e++}return n+"]"}(t);{const o=null===(n=Object.getPrototypeOf(t))||void 0===n?void 0:n.constructor;return o===Object&&e<10?"{ "+Object.entries(t).map((([t,n])=>t+" = "+pe(n,e+1))).join("\n ")+" }":null!==(r=null==o?void 0:o.name)&&void 0!==r?r:""}}return String(t)}class ge{get name(){return this.cases()[this.tag]}toJSON(){return 0===this.fields.length?this.name:[this.name].concat(this.fields)}toString(){return function(t,e){if(0===e.length)return t;{let n="",r=!0;return 1===e.length?(n=pe(e[0]),r=n.indexOf(" ")>=0):n=e.map((t=>pe(t))).join(", "),t+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const t=this.fields.map((t=>te(t)));return t.splice(0,0,Qt(this.tag)),Kt(t)}Equals(t){return this===t||!!Ht(this,t)&&this.tag===t.tag&&ne(this.fields,t.fields)}CompareTo(t){return this===t?0:Ht(this,t)?this.tag===t.tag?ae(this.fields,t.fields):this.tag<t.tag?-1:1:-1}}function ye(t){const e={},n=Object.keys(t);for(let r=0;r<n.length;r++)e[n[r]]=t[n[r]];return e}function ve(t){return"{ "+Object.entries(t).map((([t,e])=>t+" = "+pe(e))).join("\n ")+" }"}function we(t){const e=Object.values(t).map((t=>te(t)));return Kt(e)}function be(t,e){if(t===e)return!0;if(Ht(t,e)){const n=Object.keys(t);for(let r=0;r<n.length;r++)if(!re(t[n[r]],e[n[r]]))return!1;return!0}return!1}function _e(t,e){if(t===e)return 0;if(Ht(t,e)){const n=Object.keys(t);for(let r=0;r<n.length;r++){const o=se(t[n[r]],e[n[r]]);if(0!==o)return o}return 0}return-1}class xe{toJSON(){return ye(this)}toString(){return ve(this)}GetHashCode(){return we(this)}Equals(t){return be(this,t)}CompareTo(t){return _e(this,t)}}class Ce{constructor(t,e){"function"==typeof e?(this.getter=t,this.setter=e):(this.getter=()=>t,this.setter=e=>{t=e})}get contents(){return this.getter()}set contents(t){this.setter(t)}}class ke{constructor(t){this.message=t}}function Se(t){return function(t){return t instanceof ke||t instanceof Error}(t)?t:new Error(String(t))}class Ee extends ke{toJSON(){return ye(this)}toString(){return ve(this)}GetHashCode(){return we(this)}Equals(t){return be(this,t)}CompareTo(t){return _e(this,t)}}class Me extends Ee{constructor(t,e,n){super(),this.arg1=t,this.arg2=0|e,this.arg3=0|n,this.message="The match cases were incomplete"}}class Ne{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return te(this.value)}Equals(t){return null!=t&&re(this.value,t instanceof Ne?t.value:t)}CompareTo(t){return null==t?1:se(this.value,t instanceof Ne?t.value:t)}}function Oe(t){return null==t||t instanceof Ne?new Ne(t):t}function Ae(t){if(null==t)throw new Error("Option has no value");return t instanceof Ne?t.value:t}function Ie(t){return null==t?void 0:t}function Te(t){return null==t?[]:[Ae(t)]}function Pe(t,e){return null!=t?Ae(t):e}function De(t,e){return null!=e?Oe(t(Ae(e))):void 0}function je(){return t=se,{Compare:(e,n)=>t(e,n)};var t}function Re(t,e){return"function"==typeof t?new t(e):new Array(e)}function Le(t,e,n,r){const o=0|e;return t.fill(r,o,o+n)}function Fe(t,e,n){const r=0|e.length,o=Re(n,r);for(let n=0;n<=r-1;n++)o[n]=t(e[n]);return o}function Ue(t,e,n){return n.reduce(t,e)}function ze(t,e,n){if(null==e)return null==n;if(null==n)return!1;{let r=0,o=!0;const i=0|e.length,a=0|n.length;if(i>a)return!1;if(i<a)return!1;for(;r<i&&o;)o=t(e[r],n[r]),r=r+1|0;return o}}function Ge(t){const e=t<0,n=(t=Math.abs(t))%36e5/6e4;return(e?"-":"+")+Vt(~~(t/36e5),2)+":"+Vt(n,2)}function He(t,e){const n=t.toISOString();return"first"===e?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function We(t,e,n){return e.replace(/(\w)\1*/g,(e=>{let r=Number.NaN;switch(e.substring(0,1)){case"y":const o=n?t.getUTCFullYear():t.getFullYear();r=e.length<4?o%100:o;break;case"M":r=(n?t.getUTCMonth():t.getMonth())+1;break;case"d":r=n?t.getUTCDate():t.getDate();break;case"H":r=n?t.getUTCHours():t.getHours();break;case"h":const i=n?t.getUTCHours():t.getHours();r=i>12?i%12:i;break;case"m":r=n?t.getUTCMinutes():t.getMinutes();break;case"s":r=n?t.getUTCSeconds():t.getSeconds();break;case"f":r=n?t.getUTCMilliseconds():t.getMilliseconds()}return Number.isNaN(r)?e:r<10&&e.length>1?"0"+r:""+r}))}function $e(t,e,n){return null!=t.offset?function(t,e){var n,r,o;const i=new Date(t.getTime()+(null!==(n=t.offset)&&void 0!==n?n:0));if("string"!=typeof e)return i.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+Ge(null!==(r=t.offset)&&void 0!==r?r:0);if(1!==e.length)return We(i,e,!0);switch(e){case"D":case"d":return He(i,"first");case"T":case"t":return He(i,"second");case"O":case"o":return function(t,e){const n=t.toISOString();return n.substring(0,n.length-1)+Ge(e)}(i,null!==(o=t.offset)&&void 0!==o?o:0);default:throw new Error("Unrecognized Date print format")}}(t,e):function(t,e){const n=1===t.kind;if("string"!=typeof e)return n?t.toUTCString():t.toLocaleString();if(1!==e.length)return We(t,e,n);switch(e){case"D":case"d":return n?He(t,"first"):t.toLocaleDateString();case"T":case"t":return n?He(t,"second"):t.toLocaleTimeString();case"O":case"o":return function(t,e){if(e)return t.toISOString();{const e=null==t.kind||2===t.kind;return Vt(t.getFullYear(),4)+"-"+Vt(t.getMonth()+1,2)+"-"+Vt(t.getDate(),2)+"T"+Vt(t.getHours(),2)+":"+Vt(t.getMinutes(),2)+":"+Vt(t.getSeconds(),2)+"."+Vt(t.getMilliseconds(),3)+(e?Ge(-6e4*t.getTimezoneOffset()):"")}}(t,n);default:throw new Error("Unrecognized Date print format")}}(t,e)}function Be(t,e){const n=new Date(t);return n.kind=0|(null==e?0:e),n}function Ye(t){function e(){throw new Error(`The string is not a valid Date: ${t}`)}null!=t&&""!==t.trim()||e(),10===t.length&&"-"===t[4]&&"-"===t[7]&&(t+="T00:00:00");let n=new Date(t),r=null;if(isNaN(n.getTime())){const o=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(t);if(null!=o){let t,e=0;if(null!=o[2]){const t=o[2].split(":");e=3600*parseInt(t[0],10)+60*parseInt(t[1]||"0",10)+parseFloat(t[2]||"0"),null!=o[3]&&"PM"===o[3].toUpperCase()&&(e+=720)}if(null!=o[4]){if(null!=o[1])t=new Date(o[1]+" UTC");else{const e=new Date;t=new Date(e.getUTCFullYear()+"/"+(e.getUTCMonth()+1)+"/"+e.getUTCDate())}if("Z"===o[4])r="Z";else{let t=60*parseInt(o[5],10)+parseInt(o[6]||"0",10);"-"===o[4][0]&&(t*=-1),r=t,e-=60*t}}else if(null!=o[1])t=new Date(o[1]);else{const e=new Date;t=new Date(e.getFullYear()+"/"+(e.getMonth()+1)+"/"+e.getDate())}n=new Date(t.getTime()+1e3*e),n=new Date(n.getTime()+6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))}else e();isNaN(n.getTime())&&e()}return[n,r]}function Ve(t,e){try{return e.contents=function(t,e=!1){const[n,r]=Ye(t),o=null!=r?e&&"Z"===r?1:2:0;return Be(n.getTime(),o)}(t),!0}catch(t){return!1}}function qe(){return Be(Date.now(),1)}function Je(){return function(t){return function(t,e,n,r=0,o=0,i=0,a=0,s){const u=1===s?Date.UTC(t,e-1,n,r,o,i,a):new Date(t,e-1,n,r,o,i,a).getTime();if(isNaN(u))throw new Error("The parameters describe an unrepresentable Date.");const c=Be(u,s);return t<=99&&c.setFullYear(t,e-1,n),c}(Xe(t),function(t){return(1===t.kind?t.getUTCMonth():t.getMonth())+1}(t),function(t){return 1===t.kind?t.getUTCDate():t.getDate()}(t),0,0,0,0,t.kind)}(Be(Date.now(),2))}function Xe(t){return 1===t.kind?t.getUTCFullYear():t.getFullYear()}const Ze=oe,Qe=Symbol("numeric");function Ke(t){return"number"==typeof t||(null==t?void 0:t[Qe])}function tn(t,e){return"number"==typeof t?t*e:t[Qe]().multiply(e)}function en(t,e){return"number"==typeof t?t.toFixed(e):t[Qe]().toFixed(e)}function nn(t,e){return"number"==typeof t?t.toPrecision(e):t[Qe]().toPrecision(e)}function rn(t,e){return"number"==typeof t?t.toExponential(e):t[Qe]().toExponential(e)}function on(t){return"number"==typeof t?(Number(t)>>>0).toString(16):t[Qe]().toHex()}function an(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function sn(t,e,n=0){if(null==e)throw new Error("Input cannot ve null");if(!t.global)throw new Error("Non-global RegExp");t.lastIndex=n;const r=[];let o,i=-1;for(;null!=(o=t.exec(e));)o.index===i?t.lastIndex++:(i=o.index,r.push(o));return r}const un=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,cn=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function ln(t,e){return function(t,e){return"number"==typeof t?t<e?-1:t>e?1:0:t.CompareTo(e)}(t,e)<0}function fn(t){return{input:t,cont:(e=t,t=>{un.lastIndex=0;const n=[],r=[];let o=0,i=un.exec(e);for(;i;){const t=i.index+(i[1]||"").length;n.push(e.substring(o,t).replace(/%%/g,"%")),r.push(i),o=un.lastIndex,un.lastIndex-=1,i=un.exec(e)}return 0===n.length?t(e.replace(/%%/g,"%")):(n.push(e.substring(o).replace(/%%/g,"%")),gn(t,n,r))})};var e}function dn(t,e){return"string"==typeof e?t(e):e.cont(t)}function mn(t){return dn((t=>t),t)}function hn(t){return dn((t=>{throw new Error(t)}),t)}function pn(t,e,n,r,o){let i="";if(e=e||"",o=o||"",Ke(t))switch("x"!==o.toLowerCase()&&(ln(t,0)?(t=tn(t,-1),i="-"):e.indexOf(" ")>=0?i=" ":e.indexOf("+")>=0&&(i="+")),r=null==r?null:parseInt(r,10),o){case"f":case"F":t=en(t,r=null!=r?r:6);break;case"g":case"G":t=null!=r?nn(t,r):nn(t);break;case"e":case"E":t=null!=r?rn(t,r):rn(t);break;case"x":t=on(t);break;case"X":t=on(t).toUpperCase();break;default:t=String(t)}else t=t instanceof Date?$e(t):pe(t);if(n="number"==typeof n?n:parseInt(n,10),isNaN(n))t=i+t;else{const r=e.indexOf("0")>=0,o=e.indexOf("-")>=0,a=o||!r?" ":"0";t="0"===a?i+(t=vn(t,n-i.length,a,o)):vn(i+t,n,a,o)}return t}function gn(t,e,n,r="",o=-1){return(...i)=>{let a=r;const s=e.slice(),u=n.slice();for(const t of i){const[,,e,n,r,i]=u[0];let c=n;if(o>=0)c=o,o=-1;else if("*"===c){if(t<0)throw new Error("Non-negative number required");o=t;continue}a+=s[0],a+=pn(t,e,c,r,i),s.splice(0,1),u.splice(0,1)}return 0===u.length?(a+=s[0],t(a)):gn(t,s,u,a,o)}}function yn(t,e){return Array.isArray(e)?e.join(t):Array.from(e).join(t)}function vn(t,e,n,r){n=n||" ",e-=t.length;for(let o=0;o<e;o++)t=r?t+n:n+t;return t}function wn(t,e,n){return vn(t,e,n)}function bn(t,e,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);e=(e=e||[]).filter((t=>t)).map(an),e=e.length>0?e:["\\s"];const a=[],s=new RegExp(e.join("|"),"g");let u=!0,c=0;do{const e=s.exec(t);if(null===e){const e=i?t.substring(c).trim():t.substring(c);(!o||e.length>0)&&a.push(e),u=!1}else{const r=i?t.substring(c,e.index).trim():t.substring(c,e.index);(!o||r.length>0)&&(null!=n&&a.length+1===n?(a.push(i?t.substring(c).trim():t.substring(c)),u=!1):a.push(r)),c=s.lastIndex}}while(u);return a}function _n(t,e,n){if(e+(n||0)>t.length)throw new Error("Invalid startIndex and/or length");return null!=n?t.substr(e,n):t.substr(e)}const xn="Collection was empty.";class Cn extends xe{constructor(t,e){super(),this.head=t,this.tail=e}toString(){return"["+yn("; ",this)+"]"}Equals(t){return this===t||((t,e)=>{t:for(;;){const n=t,r=e,o=[n.tail,r.tail];if(null!=o[0]){if(null!=o[1]){const i=o[0],a=o[1];if(re(n.head,r.head)){t=i,e=a;continue t}return!1}return!1}return null==o[1]}})(this,t)}GetHashCode(){return 0|((t,e,n)=>{for(;;){const r=t,o=e,i=n,a=i.tail;if(null==a)return 0|o;{const s=a;if(r>18)return 0|o;t=r+1,e=(o<<1)+te(i.head)+631*r,n=s}}})(0,0,this)}toJSON(t){return Array.from(this)}CompareTo(t){return 0|((t,e)=>{t:for(;;){const n=t,r=e,o=[n.tail,r.tail];if(null!=o[0]){if(null!=o[1]){const i=o[0],a=o[1],s=0|se(n.head,r.head);if(0===s){t=i,e=a;continue t}return 0|s}return 1}return null!=o[1]?-1:0}})(this,t)}GetEnumerator(){return new kn(this)}[Symbol.iterator](){return Bt(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return $t(this)}}class kn{constructor(t){this.xs=t,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 t=this,e=t.it.tail;if(null!=e){const n=e;return t.current=t.it.head,t.it=n,!0}return!1}"System.Collections.IEnumerator.Reset"(){const t=this;t.it=t.xs,t.current=null}Dispose(){}}function Sn(){return new Cn(null,void 0)}function En(t,e){return new Cn(t,e)}function Mn(t){return null==t.tail}function Nn(t){return 0|((t,e)=>{for(;;){const n=t,r=e.tail;if(null==r)return 0|n;t=n+1,e=r}})(0,t)}function On(t){if(null!=t.tail)return t.head;throw new Error(xn+"\\nParameter name: list")}function An(t){const e=t.tail;if(null!=e)return e;throw new Error(xn+"\\nParameter name: list")}function In(){return Sn()}function Tn(t,e){return En(t,e)}function Pn(t){return En(t,Sn())}function Dn(t){return Mn(t)}function jn(t){return Nn(t)}function Rn(t){return On(t)}function Ln(t){return An(t)}function Fn(t){const e=0|Nn(t),n=Le(new Array(e),0,e,null);return((t,e)=>{for(;;){const r=t,o=e;if(Mn(o))break;n[r]=On(o),t=r+1,e=An(o)}})(0,t),n}function Un(t,e,n){let r=e,o=n;for(;!Mn(o);)r=t(r,On(o)),o=An(o);return r}function zn(t){return Un(((t,e)=>En(e,t)),Sn(),t)}function Gn(t,e){Un(((e,n)=>{t(n)}),void 0,e)}function Hn(t,e){let n=e;for(let e=t.length-1;e>=0;e--)n=En(t[e],n);return n}function Wn(t){return Hn(t,Sn())}function $n(t,e){return Un(((t,e)=>En(e,t)),e,zn(t))}function Bn(t,e){let n,r;const o=Sn();let i=o,a=e;for(;!Mn(a);){let e=t(On(a));for(;!Mn(e);)n=i,r=new Cn(On(e),void 0),n.tail=r,i=r,e=An(e);a=An(a)}const s=i,u=Sn();return s.tail=u,An(o)}function Yn(t,e){const n=Sn(),r=Un(((e,n)=>{const r=new Cn(t(n),void 0);return e.tail=r,r}),n,e),o=Sn();return r.tail=o,An(n)}function Vn(t,e){return function(t,e){return(e=>{t:for(;;){const n=e;if(Mn(n))return;{const r=t(On(n));if(null==r){e=An(n);continue t}return r}}})(e)}((e=>t(e)?Oe(e):void 0),e)}function qn(t,e){const n=Fn(e);return n.sort(t),Wn(n)}const Jn="Enumeration already finished.",Xn="Enumeration has not started. Call MoveNext.",Zn="The input sequence has an insufficient number of elements.";function Qn(){throw new Error(Xn)}function Kn(){throw new Error(Jn)}class tr{constructor(t){this.f=t}toString(){let t=0,e="seq [";const n=$t(this);try{for(;t<4&&n["System.Collections.IEnumerator.MoveNext"]();)t>0&&(e+="; "),e+=pe(n["System.Collections.Generic.IEnumerator`1.get_Current"]()),t=t+1|0;return 4===t&&(e+="; ..."),e+"]"}finally{Gt(n)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Bt(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class er{constructor(t,e,n){this.current=t,this.next=e,this.dispose=n}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current()}"System.Collections.IEnumerator.get_Current"(){return this.current()}"System.Collections.IEnumerator.MoveNext"(){return this.next()}"System.Collections.IEnumerator.Reset"(){!function(){throw new Error("Reset is not supported on this enumerator.")}()}Dispose(){this.dispose()}}function nr(t,e,n){return new er(t,e,n)}function rr(t,e,n){let r,o=!1,i=Oe(t());const a=()=>{if(null!=i){const t=Ae(i);try{n(t)}finally{i=void 0}}},s=()=>{try{a()}finally{r=void 0}};return nr((()=>(o||Qn(),null!=r?Ae(r):Kn())),(()=>{if(o||(o=!0),null!=i){const t=Ae(i);let n;try{n=e(t)}catch(t){throw s(),t}return null!=n?(r=n,!0):(s(),!1)}return!1}),a)}function or(t){return function(t){return new tr(t)}(t)}function ir(t){return e="source",null==t&&function(t){throw new Error(t)}(e),$t(t);var e}function ar(t){return or((()=>$t(t())))}function sr(t){return or((()=>function(t){let e,n,r,o=!1,i=!1;const a=()=>{if(i=!0,null!=n){const t=n;try{Gt(t)}finally{n=void 0}}if(null!=e){const t=e;try{Gt(t)}finally{e=void 0}}};return nr((()=>(o?i&&Kn():Qn(),null!=r?Ae(r):Kn())),(()=>{let s;if(o||(o=!0),i)return!1;{let o;for(;null==o;){const i=[e,n];if(null!=i[0])if(null!=i[1]){const t=i[1];if(t["System.Collections.IEnumerator.MoveNext"]())r=Oe(t["System.Collections.Generic.IEnumerator`1.get_Current"]()),o=!0;else try{Gt(t)}finally{n=void 0}}else{const t=i[0];t["System.Collections.IEnumerator.MoveNext"]()?(s=t["System.Collections.Generic.IEnumerator`1.get_Current"](),n=$t(s)):(a(),o=!1)}else e=$t(t)}return Ae(o)}}),(()=>{i||a()}))}(t)))}function ur(t){return ar((()=>function(t,e){const n=Re(void 0,1);return n[0]=t,n}(t)))}function cr(t){return Ut(t)?Wn(t):t instanceof Cn?t:function(t){let e,n;if(Ut(t))return Wn(t);if(t instanceof Cn)return t;{const r=Sn();let o=r;const i=$t(t);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const t=i["System.Collections.Generic.IEnumerator`1.get_Current"]();e=o,n=new Cn(t,void 0),e.tail=n,o=n}}finally{Gt(i)}const a=o,s=Sn();return a.tail=s,An(r)}}(t)}function lr(t,e,n){return or((()=>rr(t,e,n)))}function fr(t,e,n){return or((()=>{let r=-1;return rr(t,(t=>(r=r+1|0,e(r,t))),n)}))}function dr(t,e){return sr([t,e])}function mr(t,e,n){const r=ir(e);try{let e=!1;for(;!e&&r["System.Collections.IEnumerator.MoveNext"]();)e=n.Equals(t,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return e}finally{Gt(r)}}function hr(t,e,n){const r=ir(n);try{let n=e;for(;r["System.Collections.IEnumerator.MoveNext"]();)n=t(n,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return n}finally{Gt(r)}}function pr(t,e){hr(((e,n)=>{t(n)}),void 0,e)}function gr(t,e){return lr((()=>ir(e)),(e=>e["System.Collections.IEnumerator.MoveNext"]()?Oe(t(e["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(t=>{Gt(t)}))}class yr{constructor(t,e){this.cleanup=t,this.res=e}Dispose(){this.cleanup()}GetEnumerator(){return getEnumerator(this.res)}[Symbol.iterator](){return toIterator(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return getEnumerator(this.res)}}function vr(t){return ar((()=>function(t){return t.slice().reverse()}(function(t){return t instanceof Cn?Fn(t):Array.from(t)}(t))))}function wr(t,e){return or((()=>{const n=ir(e);try{for(let e=1;e<=t;e++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(Zn+"\\nParameter name: source");return function(t,e){return nr((()=>e["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>e["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{Gt(e)}finally{t()}}))}((()=>{}),n)}catch(t){throw Gt(n),t}}))}function br(t,e){return ar((()=>sr(gr(t,e))))}const _r=Ft,xr=(t,e)=>{Q((()=>{const e=t();return()=>{e.Dispose()}}),e)},Cr=t=>{K((()=>{const e=t();return()=>{e.Dispose()}}))};function kr(t){return{Dispose(){t()}}}function Sr(t){return _r.useState(t)}function Er(t,e){xr(t,e)}function Mr(t){!function(t,e){xr((e=>(t(),kr((()=>{})))),[])}(t)}function Nr(t){Er(t,[])}function Or(t){return _r.useRef(t)}function Ar(t){const e=Or(t),n=function(t,n){const r=Pe([],[]);return _r.useCallback((t=>e.current(t)),r)}();var r;return r=()=>{e.current=t},Cr((t=>(r(),kr((()=>{}))))),n}class Ir{constructor(t,e,n,r){this.declaringType=t,this.tag=e,this.name=n,this.fields=r}}class Tr{constructor(t,e,n,r,o,i,a){this.fullname=t,this.generics=e,this.construct=n,this.parent=r,this.fields=o,this.cases=i,this.enumCases=a}toString(){return Br(this)}GetHashCode(){return Dr(this)}Equals(t){return jr(this,t)}}function Pr(t){return null!=t.generics?t.generics:[]}function Dr(t){return Kt([Zt(t.fullname),...Pr(t).map(Dr)])}function jr(t,e){return""===t.fullname?""===e.fullname&&ee(eo(t),eo(e),(([t,e],[n,r])=>t===n&&jr(e,r))):t.fullname===e.fullname&&ee(Pr(t),Pr(e),jr)}function Rr(t,e,n,r){return new Tr(t,e,n,r)}function Lr(t,e,n,r){return new Tr(t,e,n,void 0,r)}function Fr(t,e,n,r){const o=new Tr(t,e,n,void 0,void 0,(()=>{const t=n.prototype.cases();return r().map(((e,n)=>new Ir(o,n,t[n],e)))}));return o}function Ur(t){return new Tr("Microsoft.FSharp.Core.FSharpOption`1",[t])}function zr(t){return new Tr("Microsoft.FSharp.Collections.FSharpList`1",[t])}const Gr=new Tr("System.Object"),Hr=(new Tr("Microsoft.FSharp.Core.Unit"),new Tr("System.Char"),new Tr("System.String")),Wr=(new Tr("System.Boolean"),new Tr("System.SByte"),new Tr("System.Byte"),new Tr("System.Int16"),new Tr("System.UInt16"),new Tr("System.Int32"),new Tr("System.UInt32"),new Tr("System.Single"),new Tr("System.Double"));function $r(t){if(Array.isArray(t))return t[0];if(t instanceof Tr){const e=Vr(t);if(null!=e)return $r(e)+"[]";{const e=t.fullname.lastIndexOf(".");return-1===e?t.fullname:t.fullname.substr(e+1)}}return t.name}function Br(t){const e=Vr(t);return null!=e?Br(e)+"[]":null==t.generics||0===t.generics.length?t.fullname:t.fullname+"["+t.generics.map((t=>Br(t))).join(",")+"]"}function Yr(t){return null!=Vr(t)}function Vr(t){var e;return"[]"===t.fullname&&1===(null===(e=t.generics)||void 0===e?void 0:e.length)?t.generics[0]:void 0}function qr(t){return null!=t.generics&&t.generics.length>0}function Jr(t){return null!=t.enumCases&&t.enumCases.length>0}function Xr(t){return null==t.generics?t:new Tr(t.fullname,t.generics.map((()=>Gr)))}function Zr(t){var e;return null===(e=t.generics)||void 0===e?void 0:e[0]}function Qr(t){if(Jr(t)&&null!=t.enumCases)return t.enumCases.map((t=>t[1]));throw new Error(`${t.fullname} is not an enum type`)}function Kr(t,e){const n=parseInt(e,10);return function(t,e){if(null!=t.enumCases){if("string"==typeof e){for(const n of t.enumCases)if(n[0]===e)return n;throw new Error(`'${e}' was not found in ${t.fullname}`)}for(const n of t.enumCases)if(n[1]===e)return n;return["",e]}throw new Error(`${t.fullname} is not an enum type`)}(t,isNaN(n)?e:n)[1]}function to(t){if(null!=t.cases)return t.cases();throw new Error(`${t.fullname} is not an F# union type`)}function eo(t){if(null!=t.fields)return t.fields();throw new Error(`${t.fullname} is not an F# record type`)}function no(t){if(io(t)&&null!=t.generics)return t.generics;throw new Error(`${t.fullname} is not a tuple type`)}function ro(t){return t instanceof Tr?null!=t.cases:t instanceof ge}function oo(t){return t instanceof Tr?null!=t.fields:t instanceof xe}function io(t){return t.fullname.startsWith("System.Tuple")}function ao(t){return null==t.fields?[]:t.fields}new Tr("System.Decimal");class so extends ge{constructor(t,...e){super(),this.tag=0|t,this.fields=e}cases(){return["AuthCode"]}}class uo extends xe{constructor(t,e,n,r,o,i){super(),this.id_token=t,this.access_token=e,this.expires_in=n,this.refresh_token=r,this.scope=o,this.token_type=i}}function co(){return Lr("Workflows.Progress.UI.Auth.Types.Credentials",[],uo,(()=>[["id_token",Hr],["access_token",Hr],["expires_in",Wr],["refresh_token",Ur(Hr)],["scope",Hr],["token_type",Hr]]))}class lo extends ge{constructor(t,...e){super(),this.tag=0|t,this.fields=e}cases(){return["SignIn"]}}function fo(t,e){return 0===e.indexOf(t)?e:void 0}function mo(t,e){return function(t,e){const n=t.lastIndexOf(e);return n>=0&&n===t.length-e.length}(e,t)?e:void 0}function ho(t,e){return function(t){return 1===t?t=>{let e,n,r,o,i,a;return e=fo("/",t),null!=e?(n=e,"#"+n):(r=fo("#/",t),null!=r?(o=r,o):(i=fo("#",t),null!=i?(a=i,"#/"+_n(a,1,a.length-1)):"#/"+t))}:t=>{let e,n;return e=fo("/",t),null!=e?(n=e,n):"/"+t}}(e)(yn("/",Yn((t=>t.indexOf("?")>=0||0===t.indexOf("#")||0===t.indexOf("/")?t:encodeURIComponent(t)),t)))}function po(t,e){return Bn((t=>{if("string"!=typeof(e=t)||/^\s*$/.test(e))return In();{const e=function(t,...e){return 0===e.length?t.trimEnd():t.replace(new RegExp("["+an(e.join(""))+"]+$"),"")}(t,"#");if("?"===e)return In();if(null!=fo("?",e))return Pn(e);{const t=e.split("?");if(ze(((t,e)=>t===e),t,null)||1!==t.length){if(ze(((t,e)=>t===e),t,null)||2!==t.length)return In();if(""===t[1]){const e=t[0];return Pn(decodeURIComponent(e))}{const e=t[0],n=t[1];return Wn([decodeURIComponent(e),"?"+n])}}{const e=t[0];return Pn(decodeURIComponent(e))}}}var e}),Wn(bn(null!=fo("#",t)?_n(t,1,t.length-1):1!==e||null==mo("#",t)&&null==mo("#/",t)?t:"",["/"],null,0)))}const go=function(t,e,n,r){const o=_r.memo(t,fe(2,Pe(me(2,n),null)));return pr((e=>{t.displayName=e}),Te(e)),t=>{const e=function(t,e){if(null==t)return e;{const n=t;return e.key=n(e),e}}(r,t);return _r.createElement(o,e)}}((t=>{const e=Ar((e=>{const n=Pe(t.onUrlChanged,(t=>{}));!function(t,e,n){e(po(2===t?window.location.pathname+window.location.search:window.location.hash,t))}(Pe(t.hashMode,1),n)}));Nr((()=>(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.addEventListener("hashchange",e):window.addEventListener("popstate",e),window.addEventListener("CUSTOM_NAVIGATION_EVENT",e),kr((()=>{window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.removeEventListener("hashchange",e):window.removeEventListener("popstate",e),window.removeEventListener("CUSTOM_NAVIGATION_EVENT",e)}))))),Mr((()=>{const t=document.createEvent("CustomEvent");t.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(t)}));const n=t.application;return null==n?null:n}),void 0,void 0,void 0);class yo{constructor(t=!1){this._id=0,this._cancelled=t,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,t]of this._listeners)t()}}addListener(t){const e=this._id;return this._listeners.set(this._id++,t),e}removeListener(t){return this._listeners.delete(t)}register(t,e){const n=this,r=this.addListener(null==e?t:()=>t(e));return{Dispose(){n.removeListener(r)}}}Dispose(){}}class vo extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,vo.prototype)}}class wo{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>wo.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function bo(t){return e=>{if(e.cancelToken.isCancelled)e.onCancel(new vo);else if(e.trampoline.incrementAndCheck())e.trampoline.hijack((()=>{try{t(e)}catch(t){e.onError(Se(t))}}));else try{t(e)}catch(t){e.onError(Se(t))}}}const _o=new class{Bind(t,e){return function(t,e){return bo((n=>{t({onSuccess:t=>{try{e(t)(n)}catch(t){n.onError(Se(t))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})}))}(t,e)}Combine(t,e){return this.Bind(t,(()=>e))}Delay(t){return bo((e=>t()(e)))}For(t,e){const n=t[Symbol.iterator]();let r=n.next();return this.While((()=>!r.done),this.Delay((()=>{const t=e(r.value);return r=n.next(),t})))}Return(t){return function(t){return bo((e=>e.onSuccess(t)))}(t)}ReturnFrom(t){return t}TryFinally(t,e){return bo((n=>{t({onSuccess:t=>{e(),n.onSuccess(t)},onError:t=>{e(),n.onError(t)},onCancel:t=>{e(),n.onCancel(t)},cancelToken:n.cancelToken,trampoline:n.trampoline})}))}TryWith(t,e){return bo((n=>{t({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:t=>{try{e(t)(n)}catch(t){n.onError(Se(t))}}})}))}Using(t,e){return this.TryFinally(e(t),(()=>t.Dispose()))}While(t,e){return t()?this.Bind(e,(()=>this.While(t,e))):this.Return(void 0)}Zero(){return bo((t=>t.onSuccess(void 0)))}};class xo extends ge{constructor(t,...e){super(),this.tag=0|t,this.fields=e}cases(){return["Ok","Error"]}}function Co(t,e){return 0===e.tag?new xo(0,t(e.fields[0])):new xo(1,e.fields[0])}class ko extends ge{constructor(t,...e){super(),this.tag=0|t,this.fields=e}cases(){return["Choice1Of2","Choice2Of2"]}}function So(t){}const Eo=new yo;function Mo(t,e){return function(t,e){return function(t,e,n,r,o){"function"!=typeof e&&(o=e,e=void 0);const i=new wo;t({onSuccess:e||So,onError:n||So,onCancel:r||So,cancelToken:o||Eo,trampoline:i})}(t,e)}(t,e)}class No extends ge{constructor(t,...e){super(),this.tag=0|t,this.fields=e}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}const Oo=document.getElementById("workflows-progress-app"),Ao=Oo.getAttribute("data-identity-url"),Io=Oo.getAttribute("data-backend-url"),To="apollo-workflows-progress-app",Po=ho(Wn(["workflows","progress","app"]),2),Do=`${window.location.protocol}//${window.location.host}${Po}`;class jo extends ge{constructor(t,...e){super(),this.tag=0|t,this.fields=e}cases(){return["Embedded","Standalone"]}}class Ro extends ge{constructor(t,...e){super(),this.tag=0|t,this.fields=e}cases(){return["Home","AuthCodeExchange","LoggedOut"]}}function Lo(t){let e,n;if(Dn(t))e=1;else if("workflows"===Rn(t))if(Dn(Ln(t)))e=1;else if("progress"===Rn(Ln(t)))if(Dn(Ln(Ln(t))))e=1;else if("app"===Rn(Ln(Ln(t))))if(Dn(Ln(Ln(Ln(t)))))e=1;else{const r=function(t){const e=function(t){try{const e=new URLSearchParams(t);return cr(ar((()=>gr((t=>[t[0],t[1]]),e.entries()))))}catch(t){return}}(t);if(null!=e)return De((t=>t[1]),Vn((t=>"code"===t[0]),e));throw new Me("/home/vsts/work/1/s/src/Workflows.Progress.UI/src/Types.fs",12,18)}(Rn(Ln(Ln(Ln(t)))));null!=r&&Dn(Ln(Ln(Ln(Ln(t)))))?(e=0,n=r):e=1}else e=1;else e=1;else e=1;switch(e){case 0:return new Ro(1,new so(0,n));case 1:return new Ro(0)}}class Fo extends xe{constructor(t,e,n){super(),this.CurrentPage=t,this.Credentials=e,this.AppMode=n}}class Uo extends ge{constructor(t,...e){super(),this.tag=0|t,this.fields=e}cases(){return["UrlChanged","AuthMsg","DisplayLoggedOut","ProgressComponentReadyEvent"]}}function zo(){let t;return d("div",ce(Pn((t=[d("h4",{className:yn(" ",["text-2xl"]),children:"You have been logged out due to inactivity."})],["children",_r.Children.toArray(Array.from(t))]))))}class Go extends ge{constructor(t,...e){super(),this.tag=0|t,this.fields=e}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class Ho extends ge{constructor(t,...e){super(),this.tag=0|t,this.fields=e}cases(){return["Header"]}}class Wo extends ge{constructor(t,...e){super(),this.tag=0|t,this.fields=e}cases(){return["Empty","Text","Binary","Form"]}}class $o extends xe{constructor(t,e,n,r,o,i,a,s){super(),this.url=t,this.method=e,this.headers=n,this.withCredentials=r,this.overridenMimeType=o,this.overridenResponseType=i,this.timeout=a,this.content=s}}class Bo extends ge{constructor(t,...e){super(),this.tag=0|t,this.fields=e}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Yo extends xe{constructor(t,e,n,r,o,i){super(),this.statusCode=0|t,this.responseText=e,this.responseType=n,this.responseUrl=r,this.responseHeaders=o,this.content=i}}class Vo{constructor(t,e){this.k=t,this.v=e}}function qo(t,e){return new Vo(t,e)}function Jo(t){return t.k}function Xo(t){return t.v}class Zo extends Vo{constructor(t,e,n,r,o){super(t,e),this.left=n,this.right=r,this.h=0|o}}function Qo(t,e,n,r,o){return new Zo(t,e,n,r,o)}function Ko(t){return t.left}function ti(t){return t.right}function ei(t){return t.h}function ni(t,e){t:for(;;){const n=t;if(null!=e){const r=e;if(r instanceof Zo){t=ni(n+1,Ko(r)),e=ti(r);continue t}return n+1|0}return 0|n}}function ri(t){return ni(0,t)}function oi(t,e,n,r){let o,i;o=null!=t?t instanceof Zo?ei(t):1:0,i=null!=r?r instanceof Zo?ei(r):1:0;const a=0|(o<i?i:o);return 0===a?qo(e,n):Qo(e,n,t,r,a+1)}function ii(t,e,n,r){let o,i,a,s,u,c;if(u=null!=t?t instanceof Zo?ei(t):1:0,c=null!=r?r instanceof Zo?ei(r):1:0,c>u+2){const a=Ae(r);if(a instanceof Zo){if(o=Ko(a),(null!=o?(i=o,i instanceof Zo?ei(i):1):0)>u+1){const r=Ae(Ko(a));if(r instanceof Zo)return oi(oi(t,e,n,Ko(r)),Jo(r),Xo(r),oi(ti(r),Jo(a),Xo(a),ti(a)));throw new Error("internal error: Map.rebalance")}return oi(oi(t,e,n,Ko(a)),Jo(a),Xo(a),ti(a))}throw new Error("internal error: Map.rebalance")}if(u>c+2){const o=Ae(t);if(o instanceof Zo){if(a=ti(o),(null!=a?(s=a,s instanceof Zo?ei(s):1):0)>c+1){const t=Ae(ti(o));if(t instanceof Zo)return oi(oi(Ko(o),Jo(o),Xo(o),Ko(t)),Jo(t),Xo(t),oi(ti(t),e,n,r));throw new Error("internal error: Map.rebalance")}return oi(Ko(o),Jo(o),Xo(o),oi(ti(o),e,n,r))}throw new Error("internal error: Map.rebalance")}return oi(t,e,n,r)}function ai(t,e,n,r){if(null!=r){const o=r,i=0|t.Compare(e,Jo(o));return o instanceof Zo?i<0?ii(ai(t,e,n,Ko(o)),Jo(o),Xo(o),ti(o)):0===i?Qo(e,n,Ko(o),ti(o),ei(o)):ii(Ko(o),Jo(o),Xo(o),ai(t,e,n,ti(o))):i<0?Qo(e,n,void 0,r,2):0===i?qo(e,n):Qo(e,n,r,void 0,2)}return qo(e,n)}function si(t,e,n){t:for(;;){const r=t,o=e;if(null!=n){const i=n,a=0|r.Compare(o,Jo(i));if(0===a)return Oe(Xo(i));if(i instanceof Zo){t=r,e=o,n=a<0?Ko(i):ti(i);continue t}return}return}}function ui(t,e){t:for(;;){const n=t;if(null!=e){const r=e;if(r instanceof Zo){ui(n,Ko(r)),n(Jo(r),Xo(r)),t=n,e=ti(r);continue t}n(Jo(r),Xo(r))}break}}function ci(t,e){ui(t,e)}function li(t,e){if(null!=e){const n=e;if(n instanceof Zo){const e=li(t,Ko(n)),r=t(Jo(n),Xo(n)),o=li(t,ti(n));return Qo(Jo(n),r,e,o,ei(n))}return qo(Jo(n),t(Jo(n),Xo(n)))}}function fi(t,e){return li(t,e)}function di(t,e){let n;for(let r=0;r<=e.length-1;r++){const o=e[r];n=ai(t,o[0],o[1],n)}return n}class mi extends xe{constructor(t,e){super(),this.stack=t,this.started=e}}function hi(t){t:for(;;){const e=t;if(Dn(e))return In();{const n=Ln(e),r=Rn(e);if(null!=r){const o=r;if(o instanceof Zo){t=Hn([Ko(o),qo(Jo(o),Xo(o)),ti(o)],n);continue t}return e}t=n;continue t}}}function pi(t){return new mi(hi(Pn(t)),!1)}function gi(t){if(t.started){const e=t.stack;if(Dn(e))return function(){throw new Error("enumeration already finished")}();if(null!=Rn(e)){const t=Rn(e);if(t instanceof Zo)throw new Error("Please report error: Map iterator, unexpected stack for current");return[Jo(t),Xo(t)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function yi(t){let e=pi(t);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>gi(e),"System.Collections.IEnumerator.get_Current":()=>gi(e),"System.Collections.IEnumerator.MoveNext":()=>function(t){if(t.started){const e=t.stack;if(Dn(e))return!1;if(null!=Rn(e)){if(Rn(e)instanceof Zo)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return t.stack=hi(Ln(e)),!Dn(t.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return t.started=!0,!Dn(t.stack)}(e),"System.Collections.IEnumerator.Reset"(){e=pi(t)},Dispose(){}}}class vi{constructor(t,e){this.comparer=t,this.tree=e}GetHashCode(){return 0|function(t){const e=(t,e)=>(t<<1)+e+631;let n=0;const r=$t(t);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const t=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=0|e(n,te(t[0])),n=0|e(n,te(t[1]))}}finally{Gt(r)}return 0|n}(this)}Equals(t){if(!(t instanceof vi))return!1;{const e=$t(this);try{const n=$t(t);try{const t=()=>{const r=e["System.Collections.IEnumerator.MoveNext"]();if(r===n["System.Collections.IEnumerator.MoveNext"]()){if(r){const r=e["System.Collections.Generic.IEnumerator`1.get_Current"](),o=n["System.Collections.Generic.IEnumerator`1.get_Current"]();return!(!re(r[0],o[0])||!re(r[1],o[1]))&&t()}return!0}return!1};return t()}finally{Gt(n)}}finally{Gt(e)}}}toString(){return"map ["+yn("; ",gr((t=>function(t,...e){return"object"==typeof t&&e.length>0&&(t=e[0],e.shift()),t.replace(cn,((t,n,r,o,i,a)=>{if(n<0||n>=e.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let s=e[n];if(Ke(s))switch(i=null==i?null:parseInt(i,10),o){case"f":case"F":s=en(s,i=null!=i?i:2);break;case"g":case"G":s=null!=i?nn(s,i):nn(s);break;case"e":case"E":s=null!=i?rn(s,i):rn(s);break;case"p":case"P":i=null!=i?i:2,s=en(tn(s,100),i)+" %";break;case"d":case"D":s=null!=i?wn(String(s),i,"0"):String(s);break;case"x":case"X":s=null!=i?wn(on(s),i,"0"):on(s),"X"===o&&(s=s.toUpperCase());break;default:if(a){let t="";s=a.replace(/([0#,]+)(\.[0#]+)?/,((e,n,r)=>{ln(s,0)&&(s=tn(s,-1),t="-"),r=null==r?"":r.substring(1),s=en(s,Math.max(r.length,0));let[o,i]=s.split(".");i||(i=""),o=wn(o,n.replace(/,/g,"").replace(/^#+/,"").length,"0");const a=r.replace(/#+$/,"").length;if(a>i.length?i=function(t,e,n){return vn(t,e,"0",!0)}(i,a):a<i.length&&(i=i.substring(0,a)+i.substring(a).replace(/0+$/,"")),n.indexOf(",")>0){const t=o.length%3,e=Math.floor(o.length/3);let n=t>0?o.substr(0,t)+(e>0?",":""):"";for(let r=0;r<e;r++)n+=o.substr(t+3*r,3)+(r<e-1?",":"");o=n}return i.length>0?o+"."+i:o})),s=t+s}}else s=s instanceof Date?$e(s,a||o):pe(s);return r=parseInt((r||" ").substring(1),10),isNaN(r)||(s=vn(String(s),Math.abs(r)," ",r<0)),s}))}("({0}, {1})",t[0],t[1])),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(t){return Array.from(this)}GetEnumerator(){return yi(this.tree)}[Symbol.iterator](){return Bt(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return yi(this.tree)}CompareTo(t){const e=this;if(t instanceof vi)return 0|function(t,e,n){const r=ir(e);try{const e=ir(n);try{let n=0,o=r["System.Collections.IEnumerator.MoveNext"](),i=e["System.Collections.IEnumerator.MoveNext"]();for(;0===n&&o&&i;)n=0|t(r["System.Collections.Generic.IEnumerator`1.get_Current"](),e["System.Collections.Generic.IEnumerator`1.get_Current"]()),0===n&&(o=r["System.Collections.IEnumerator.MoveNext"](),i=e["System.Collections.IEnumerator.MoveNext"]());return 0|(0!==n?n:o?1:i?-1:0)}finally{Gt(e)}}finally{Gt(r)}}(((t,n)=>{const r=0|e.comparer.Compare(t[0],n[0]);return 0|(0!==r?r:se(t[1],n[1]))}),e,t);throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){return Ci(this,t[0])&&re(_i(this,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(t,e){!function(t,e,n){let r=n;ci(((t,n)=>{e[r]=[t,n],r=r+1|0}),t)}(this.tree,t,e)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|xi(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|xi(this)}get size(){return 0|xi(this)}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return gr((t=>[t[0],t[1]]),this)}get(t){return _i(this,t)}has(t){return Ci(this,t)}keys(){return gr((t=>t[0]),this)}set(t,e){throw new Error("Map cannot be mutated")}values(){return gr((t=>t[1]),this)}forEach(t,e){const n=this;pr((e=>{t(e[1],e[0],n)}),n)}}function wi(t,e){return new vi(t,e)}function bi(t){const e=je();return wi(e,function(t,e){if(Ut(e))return di(t,e);if(e instanceof Cn)return function(t,e){return Un(((e,n)=>ai(t,n[0],n[1],e)),void 0,e)}(t,e);{const n=$t(e);try{return function(t,e,n){for(;;){const r=t,o=e,i=n;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;{const a=i["System.Collections.Generic.IEnumerator`1.get_Current"]();t=r,e=ai(r,a[0],a[1],o),n=i}}}(t,void 0,n)}finally{Gt(n)}}}(e,t))}function _i(t,e){return function(t,e,n){const r=si(t,e,n);if(null==r)throw new Error;return Ae(r)}(t.comparer,e,t.tree)}function xi(t){return ri(t.tree)}function Ci(t,e){return function(t,e,n){t:for(;;){const r=t,o=e;if(null!=n){const i=n,a=0|r.Compare(o,Jo(i));if(i instanceof Zo){if(a<0){t=r,e=o,n=Ko(i);continue t}if(0===a)return!0;t=r,e=o,n=ti(i);continue t}return 0===a}return!1}}(t.comparer,e,t.tree)}function ki(t,e,n){return function(t,e,n){return wi(t.comparer,ai(t.comparer,e,n,t.tree))}(n,t,e)}function Si(t,e){return function(t,e){return si(t.comparer,e,t.tree)}(e,t)}function Ei(t,e){return function(t,e){return wi(t.comparer,fi(e,t.tree))}(e,t)}function Mi(){return vi.empty}vi.empty=wi(je(),void 0);const Ni=new $o("",new Go(0),In(),!1,void 0,void 0,void 0,new Wo(0));function Oi(t,e){return"string"!=typeof(n=e)||0===n.length?[e]:bn(e,[t],null,0);var n}function Ai(t){return new $o(t,Ni.method,Ni.headers,Ni.withCredentials,Ni.overridenMimeType,Ni.overridenResponseType,Ni.timeout,Ni.content)}function Ii(t,e){return new $o(e.url,t,e.headers,e.withCredentials,e.overridenMimeType,e.overridenResponseType,e.timeout,e.content)}function Ti(t,e){return new $o(e.url,e.method,$n(e.headers,Pn(t)),e.withCredentials,e.overridenMimeType,e.overridenResponseType,e.timeout,e.content)}function Pi(t){return function(t){return bo((e=>t([e.onSuccess,e.onError,e.onCancel])))}((e=>{const n=new XMLHttpRequest;n.open(function(t){switch(t.tag){case 1:return"POST";case 3:return"PATCH";case 2:return"PUT";case 4:return"DELETE";case 6:return"OPTIONS";case 5:return"HEAD";default:return"GET"}}(t.method),t.url),n.onreadystatechange=()=>{let t,r,o,i,a,s,u;4===n.readyState&&e[0]((r=n.responseType,t=""===r||"text"===r?n.responseText:"",o=0|n.status,i=n.responseType,s=n.responseType,a=""===s||"text"===s?new Bo(0,n.responseText):new Bo("arraybuffer"===s?2:"blob"===s?1:3,n.response),u=function(t){const e=je();return wi(e,di(e,t))}(function(t,e,n){const r=[];for(let n=0;n<=e.length-1;n++){const o=t(e[n]);if(null!=o){const t=Ae(o);r.push(t)}}return r}((t=>{const e=Wn(Oi(":",t));return Dn(e)?void 0:[Rn(e).toLocaleLowerCase(),yn(":",Ln(e)).trim()]}),Oi("\r\n",n.getAllResponseHeaders()))),new Yo(o,t,i,n.responseURL,u,a)))};const r=$t(t.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const t=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n.setRequestHeader(t.fields[0],t.fields[1])}}finally{Gt(r)}n.withCredentials=t.withCredentials;const o=t.overridenMimeType;if(null==o);else{const t=o;n.overrideMimeType(t)}const i=t.overridenResponseType;null==i||(1===i.tag?n.responseType="blob":2===i.tag?n.responseType="arraybuffer":n.responseType="text");const a=t.timeout;if(null==a);else{const t=0|a;n.timeout=0|t}const s=t.content;switch(s.tag){case 1:case 3:case 2:n.send(Oe(s.fields[0]));break;default:n.send()}}))}new Yo(0,"","","",Mi(),new Bo(0,""));class Di extends ge{constructor(t,...e){super(),this.tag=0|t,this.fields=e}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class ji extends ge{constructor(t,...e){super(),this.tag=0|t,this.fields=e}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class Ri{constructor(){this.cache=new Map([])}}function Li(){return new Ri}function Fi(t){return t.slice(void 0,1).toLowerCase()+t.slice(1,t.length)}function Ui(t,e){switch(t.tag){case 2:return function(t,e,n,r,o=0){if("string"==typeof t){const n=t;t=function(t,e=0){if(0!=(-284&e))throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let n="gu";return n+=1&e?"i":"",n+=2&e?"m":"",n+=16&e?"s":"",new RegExp(t,n)}(e,null!=r?r:0),e=n,r=void 0}if("function"==typeof n)return r=null==r?-1:r,e.substring(0,o)+e.substring(o).replace(t,(function(){let t=arguments[0];if(r){r--;const e=[],o=arguments.length,i="string"!=typeof arguments[o-1];let a=i?o-3:o-2;for(let t=0;t<a;t++)e.push(arguments[t]);e.index=arguments[a++],e.input=arguments[a++],i&&(e.groups=arguments[a]),t=n(e)}return t}));if(n=n.replace(/\$0/g,(t=>"$&")).replace(/\${([^}]+)}/g,"$<$1>"),null!=r){let i;const a=e.substring(o),s=sn(t,a),u=sn.length>r?(i=s[r-1],a.substring(0,i.index+i[0].length)):a;return e.substring(0,o)+u.replace(t,n)+e.substring(o+u.length)}return e.replace(t,n)}(Fi(e),"[A-Z]","_$0").toLowerCase();case 0:return e;default:return Fi(e)}}Li(),Li();const zi=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,Gi=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Hi=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Wi(t,e){try{return e.contents=function(t){function e(t){return t.replace(Gi,"$1-$2-$3-$4-$5")}const n=t.trim().toLowerCase();if(zi.test(n))return function(t,...e){if(0===e.length)return t.trim();const n="["+an(e.join(""))+"]+";return t.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}(n,"{","}","(",")");if(Gi.test(n))return e(n);if(Hi.test(n))return e(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}(t),!0}catch(t){return!1}}var $i;function Bi(t,e){switch(e){case 8:return t?[0,255]:[-128,127];case 16:return t?[0,65535]:[-32768,32767];case 32:return t?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function Yi(t,e,n,r,o){try{return o.contents=function(t,e,n,r,o){const i=function(t,e,n){const r=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(t.replace(/_/g,""));if(null!=r){const[,,t,o]=r;n=n||function(t,e){if(e&$i.AllowHexSpecifier)return 16;switch(t){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}(t,e);const i=function(t){switch(t){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}(n);if(!i.test(o))return function(t,e){const[,n,r,o]=t;return{sign:n||"",prefix:r||"",digits:o,radix:e}}(r,n)}return null}(t,e,void 0);if(null!=i){let t=Number.parseInt(i.sign+i.digits,i.radix);if(!Number.isNaN(t)){const[e,o]=Bi(!0,r);!n&&10!==i.radix&&t>=e&&t<=o&&(t=t<<32-r>>32-r);const[a,s]=Bi(n,r);if(t>=a&&t<=s)return t}}throw new Error("Input string was not in a correct format.")}(t,e,n,r),!0}catch(t){return!1}}function Vi(t,e){!function(t){if(null!=t&&0!==t){if(t%6e4!=0)throw new Error("Offset must be specified in whole minutes.");if(Math.abs(t/36e5)>14)throw new Error("Offset must be within plus or minus 14 hours.")}}(e);const n=new Date(t);return n.offset=null!=e?e:-6e4*(new Date).getTimezoneOffset(),n}function qi(t,e){try{return e.contents=function(t){const[e,n]=Ye(t),r=null==n?-6e4*e.getTimezoneOffset():"Z"===n?0:6e4*n;return Vi(e.getTime(),r)}(t),!0}catch(t){return!1}}!function(t){t[t.AllowHexSpecifier=512]="AllowHexSpecifier"}($i||($i={}));var Ji=null;try{Ji=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(u){}function Xi(t,e,n){this.low=0|t,this.high=0|e,this.unsigned=!!n}function Zi(t){return!0===(t&&t.__isLong__)}Xi.prototype.GetHashCode=function(){let t=this.unsigned?1:0;return t=(t<<5)+t^this.high,t=(t<<5)+t^this.low,t},Xi.prototype.Equals=function(t){return ka(this,t)},Xi.prototype.CompareTo=function(t){return Na(this,t)},Xi.prototype.toString=function(t){return ba(this,t)},Xi.prototype.toJSON=function(){return ba(this)},Xi.prototype[Qe]=function(){const t=this;return{multiply:e=>Ta(t,e),toPrecision:e=>String(t)+(0).toPrecision(e).substr(1),toExponential:e=>String(t)+(0).toExponential(e).substr(1),toFixed:e=>String(t)+(0).toFixed(e).substr(1),toHex:()=>{return ba(t.unsigned?t:function(t,e,n){return n?function(t,e){return new Xi(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,e)}(t,e):function(t,e){return new Xi(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],e)}(t,e)}((e=t,n?function(t){var e=t.high,n=t.low;return[255&n,n>>>8&255,n>>>16&255,n>>>24,255&e,e>>>8&255,e>>>16&255,e>>>24]}(e):function(t){var e=t.high,n=t.low;return[e>>>24,e>>>16&255,e>>>8&255,255&e,n>>>24,n>>>16&255,n>>>8&255,255&n]}(e)),!0),16);var e,n}}},Xi.prototype.__isLong__,Object.defineProperty(Xi.prototype,"__isLong__",{value:!0});var Qi={},Ki={};function ta(t,e){var n,r,o;return e?(o=0<=(t>>>=0)&&t<256)&&(r=Ki[t])?r:(n=na(t,(0|t)<0?-1:0,!0),o&&(Ki[t]=n),n):(o=-128<=(t|=0)&&t<128)&&(r=Qi[t])?r:(n=na(t,t<0?-1:0,!1),o&&(Qi[t]=n),n)}function ea(t,e){if(isNaN(t))return e?fa:la;if(e){if(t<0)return fa;if(t>=sa)return ga}else{if(t<=-ua)return ya;if(t+1>=ua)return pa}return t<0?Oa(ea(-t,e)):na(t%aa|0,t/aa|0,e)}function na(t,e,n){return new Xi(t,e,n)}var ra=Math.pow;function oa(t,e,n){if(0===t.length)throw Error("empty string");if("NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return la;if("number"==typeof e?(n=e,e=!1):e=!!e,(n=n||10)<2||36<n)throw RangeError("radix");var r=t.indexOf("-");if(r>0)throw Error("interior hyphen");if(0===r)return Oa(oa(t.substring(1),e,n));for(var o=ea(ra(n,8)),i=la,a=0;a<t.length;a+=8){var s=Math.min(8,t.length-a),u=parseInt(t.substring(a,a+s),n);i=Aa(s<8?Ta(i,ea(ra(n,s))):i=Ta(i,o),ea(u))}return i.unsigned=e,i}function ia(t,e){return"number"==typeof t?ea(t,e):"string"==typeof t?oa(t,e):na(t.low,t.high,"boolean"==typeof e?e:t.unsigned)}var aa=4294967296,sa=aa*aa,ua=sa/2,ca=ta(1<<24),la=ta(0),fa=ta(0,!0),da=ta(1),ma=ta(1,!0),ha=ta(-1),pa=na(-1,2147483647,!1),ga=na(-1,-1,!0),ya=na(0,-2147483648,!1);function va(t){return t.unsigned?t.low>>>0:t.low}function wa(t){return t.unsigned?(t.high>>>0)*aa+(t.low>>>0):t.high*aa+(t.low>>>0)}function ba(t,e){if((e=e||10)<2||36<e)throw RangeError("radix");if(_a(t))return"0";if(xa(t)){if(ka(t,ya)){var n=ea(e),r=Pa(t,n),o=Ia(Ta(r,n),t);return ba(r,e)+va(o).toString(e)}return"-"+ba(Oa(t),e)}for(var i=ea(ra(e,6),t.unsigned),a=t,s="";;){var u=Pa(a,i),c=(va(Ia(a,Ta(u,i)))>>>0).toString(e);if(_a(a=u))return c+s;for(;c.length<6;)c="0"+c;s=""+c+s}}function _a(t){return 0===t.high&&0===t.low}function xa(t){return!t.unsigned&&t.high<0}function Ca(t){return 1==(1&t.low)}function ka(t,e){return Zi(e)||(e=ia(e)),(t.unsigned===e.unsigned||t.high>>>31!=1||e.high>>>31!=1)&&t.high===e.high&&t.low===e.low}function Sa(t,e){return Na(t,e)<0}function Ea(t,e){return Na(t,e)>0}function Ma(t,e){return Na(t,e)>=0}function Na(t,e){if(Zi(e)||(e=ia(e)),ka(t,e))return 0;var n=xa(t),r=xa(e);return n&&!r?-1:!n&&r?1:t.unsigned?e.high>>>0>t.high>>>0||e.high===t.high&&e.low>>>0>t.low>>>0?-1:1:xa(Ia(t,e))?-1:1}function Oa(t){return!t.unsigned&&ka(t,ya)?ya:Aa(function(t){return na(~t.low,~t.high,t.unsigned)}(t),da)}function Aa(t,e){Zi(e)||(e=ia(e));var n=t.high>>>16,r=65535&t.high,o=t.low>>>16,i=65535&t.low,a=e.high>>>16,s=65535&e.high,u=e.low>>>16,c=0,l=0,f=0,d=0;return f+=(d+=i+(65535&e.low))>>>16,l+=(f+=o+u)>>>16,c+=(l+=r+s)>>>16,c+=n+a,na((f&=65535)<<16|(d&=65535),(c&=65535)<<16|(l&=65535),t.unsigned)}function Ia(t,e){return Zi(e)||(e=ia(e)),Aa(t,Oa(e))}function Ta(t,e){if(_a(t))return t.unsigned?fa:la;if(Zi(e)||(e=ia(e)),Ji)return na(Ji.mul(t.low,t.high,e.low,e.high),Ji.get_high(),t.unsigned);if(_a(e))return t.unsigned?fa:la;if(ka(t,ya))return Ca(e)?ya:la;if(ka(e,ya))return Ca(t)?ya:la;if(xa(t))return xa(e)?Ta(Oa(t),Oa(e)):Oa(Ta(Oa(t),e));if(xa(e))return Oa(Ta(t,Oa(e)));if(Sa(t,ca)&&Sa(e,ca))return ea(wa(t)*wa(e),t.unsigned);var n=t.high>>>16,r=65535&t.high,o=t.low>>>16,i=65535&t.low,a=e.high>>>16,s=65535&e.high,u=e.low>>>16,c=65535&e.low,l=0,f=0,d=0,m=0;return d+=(m+=i*c)>>>16,f+=(d+=o*c)>>>16,d&=65535,f+=(d+=i*u)>>>16,l+=(f+=r*c)>>>16,f&=65535,l+=(f+=o*u)>>>16,f&=65535,l+=(f+=i*s)>>>16,l+=n*c+r*u+o*s+i*a,na((d&=65535)<<16|(m&=65535),(l&=65535)<<16|(f&=65535),t.unsigned)}function Pa(t,e){if(Zi(e)||(e=ia(e)),_a(e))throw Error("division by zero");var n,r,o;if(Ji)return t.unsigned||-2147483648!==t.high||-1!==e.low||-1!==e.high?na((t.unsigned?Ji.div_u:Ji.div_s)(t.low,t.high,e.low,e.high),Ji.get_high(),t.unsigned):t;if(_a(t))return t.unsigned?fa:la;if(t.unsigned){if(e.unsigned||(e=function(t){return t.unsigned?t:na(t.low,t.high,!0)}(e)),Ea(e,t))return fa;if(Ea(e,function(t,e){if(Zi(e)&&(e=va(e)),0==(e&=63))return t;var n=t.high;return e<32?na(t.low>>>e|n<<32-e,n>>>e,t.unsigned):na(32===e?n:n>>>e-32,0,t.unsigned)}(t,1)))return ma;o=fa}else{if(ka(t,ya))return ka(e,da)||ka(e,ha)?ya:ka(e,ya)?da:ka(n=function(t,e){return Zi(e)&&(e=va(e)),0==(e&=63)?t:e<32?na(t.low<<e,t.high<<e|t.low>>>32-e,t.unsigned):na(0,t.low<<e-32,t.unsigned)}(Pa(function(t,e){return Zi(e)&&(e=va(e)),0==(e&=63)?t:e<32?na(t.low>>>e|t.high<<32-e,t.high>>e,t.unsigned):na(t.high>>e-32,t.high>=0?0:-1,t.unsigned)}(t,1),e),1),la)?xa(e)?da:ha:o=Aa(n,Pa(r=Ia(t,Ta(e,n)),e));if(ka(e,ya))return t.unsigned?fa:la;if(xa(t))return xa(e)?Pa(Oa(t),Oa(e)):Oa(Pa(Oa(t),e));if(xa(e))return Oa(Pa(t,Oa(e)));o=la}for(r=t;Ma(r,e);){n=Math.max(1,Math.floor(wa(r)/wa(e)));for(var i=Math.ceil(Math.log(n)/Math.LN2),a=i<=48?1:ra(2,i-48),s=ea(n),u=Ta(s,e);xa(u)||Ea(u,r);)u=Ta(s=ea(n-=a,t.unsigned),e);_a(s)&&(s=da),o=Aa(o,s),r=Ia(r,u)}return o}const Da=Pa,ja=wa;function Ra(t){return t<0?Math.ceil(t):Math.floor(t)}function La(t=0,e=0,n=0,r=0,o=0){switch(arguments.length){case 1:return ja(Da(arguments[0],1e4));case 3:t=0,e=arguments[0],n=arguments[1],r=arguments[2],o=0}return 864e5*t+36e5*e+6e4*n+1e3*r+o}function Fa(t,e){try{return e.contents=function(t){const e=t.search("\\."),n=t.search("\\:");if(-1===e&&-1===n){const e=parseInt(t,0);if(isNaN(e))throw new Error(`String '${t}' was not recognized as a valid TimeSpan.`);return La(e,0,0,0,0)}if(n>0){const e=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(t);if(null!=e&&null!=e[4]&&null!=e[5]){let n=0,r=0,o=0;const i=null!=e[1]&&"-"===e[1]?-1:1,a=+e[4],s=+e[5];if(null!=e[3]&&(n=+e[3]),null!=e[7]&&(o=+e[7]),null!=e[8])switch(e[8].length){case 1:r=100*+e[8];break;case 2:r=10*+e[8];break;case 3:r=+e[8];break;case 4:r=+e[8]/10;break;case 5:r=+e[8]/100;break;case 6:r=+e[8]/1e3;break;case 7:r=+e[8]/1e4;break;default:throw new Error(`String '${t}' was not recognized as a valid TimeSpan.`)}return i*La(n,a,s,o,r)}}throw new Error(`String '${t}' was not recognized as a valid TimeSpan.`)}(t),!0}catch(t){return!1}}class Ua{constructor(t){this.k=t}}function za(t){return new Ua(t)}function Ga(t){return t.k}class Ha extends Ua{constructor(t,e,n,r){super(t),this.left=e,this.right=n,this.h=0|r}}function Wa(t,e,n,r){return new Ha(t,e,n,r)}function $a(t){return t.left}function Ba(t){return t.right}function Ya(t){return t.h}function Va(t,e){t:for(;;){const n=e;if(null!=t){const r=t;if(r instanceof Ha){t=$a(r),e=Va(Ba(r),n+1);continue t}return n+1|0}return 0|n}}function qa(t){return Va(t,0)}function Ja(t,e,n){let r,o;r=null!=t?t instanceof Ha?Ya(t):1:0,o=null!=n?n instanceof Ha?Ya(n):1:0;const i=0|(r<o?o:r);return 0===i?za(e):Wa(e,t,n,i+1)}function Xa(t,e,n){let r,o,i,a,s,u;if(s=null!=t?t instanceof Ha?Ya(t):1:0,u=null!=n?n instanceof Ha?Ya(n):1:0,u>s+2){const i=Ae(n);if(i instanceof Ha){if(r=$a(i),(null!=r?(o=r,o instanceof Ha?Ya(o):1):0)>s+1){const n=Ae($a(i));if(n instanceof Ha)return Ja(Ja(t,e,$a(n)),Ga(n),Ja(Ba(n),Ga(i),Ba(i)));throw new Error("internal error: Set.rebalance")}return Ja(Ja(t,e,$a(i)),Ga(i),Ba(i))}throw new Error("internal error: Set.rebalance")}if(s>u+2){const r=Ae(t);if(r instanceof Ha){if(i=Ba(r),(null!=i?(a=i,a instanceof Ha?Ya(a):1):0)>u+1){const t=Ae(Ba(r));if(t instanceof Ha)return Ja(Ja($a(r),Ga(r),$a(t)),Ga(t),Ja(Ba(t),e,n));throw new Error("internal error: Set.rebalance")}return Ja($a(r),Ga(r),Ja(Ba(r),e,n))}throw new Error("internal error: Set.rebalance")}return Ja(t,e,n)}function Za(t,e,n){if(null!=n){const r=n,o=0|t.Compare(e,Ga(r));if(r instanceof Ha)return o<0?Xa(Za(t,e,$a(r)),Ga(r),Ba(r)):0===o?n:Xa($a(r),Ga(r),Za(t,e,Ba(r)));{const o=0|t.Compare(e,Ga(r));return o<0?Wa(e,void 0,n,2):0===o?n:Wa(e,n,void 0,2)}}return za(e)}function Qa(t,e,n){t:for(;;){const r=t,o=e;if(null!=n){const i=n,a=0|r.Compare(o,Ga(i));if(i instanceof Ha){if(a<0){t=r,e=o,n=$a(i);continue t}if(0===a)return!0;t=r,e=o,n=Ba(i);continue t}return 0===a}return!1}}function Ka(t,e){t:for(;;){const n=t;if(null!=e){const r=e;if(r instanceof Ha){Ka(n,$a(r)),n(Ga(r)),t=n,e=Ba(r);continue t}n(Ga(r))}break}}class ts extends xe{constructor(t,e){super(),this.stack=t,this.started=e}}function es(t){t:for(;;){const e=t;if(Dn(e))return In();{const n=Rn(e),r=Ln(e);if(null!=n){const o=n;if(o instanceof Ha){t=Hn([$a(o),za(Ga(o)),Ba(o)],r);continue t}return e}t=r;continue t}}}function ns(t){return new ts(es(Pn(t)),!1)}function rs(t){if(t.started){const e=t.stack;if(Dn(e))return function(){throw new Error("Enumeration already started")}();if(null!=Rn(e))return Ga(Rn(e));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function os(t){let e=ns(t);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>rs(e),"System.Collections.IEnumerator.get_Current":()=>rs(e),"System.Collections.IEnumerator.MoveNext":()=>function(t){if(t.started){const e=t.stack;if(Dn(e))return!1;if(null!=Rn(e)){if(Rn(e)instanceof Ha)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return t.stack=es(Ln(e)),!Dn(t.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return t.started=!0,!Dn(t.stack)}(e),"System.Collections.IEnumerator.Reset"(){e=ns(t)},Dispose(){}}}function is(t,e,n){return null==e?null==n?0:-1:null==n?1:0|function(t,e,n){t:for(;;){const r=t,o=e,i=n,a=[o,i];if(Dn(a[0]))return Dn(a[1])?0:-1;if(Dn(a[1]))return 1;if(null!=Rn(a[1]))if(null!=Rn(a[0])){const s=Rn(a[0]),u=Rn(a[1]);if(s instanceof Ha)if(null==$a(s)){if(!(u instanceof Ha)){const o=0|r.Compare(Ga(s),Ga(u));if(0!==o)return 0|o;t=r,e=Tn(Ba(s),Ln(a[0])),n=Tn(void 0,Ln(a[1]));continue t}if(null==$a(u)){const o=0|r.Compare(Ga(s),Ga(u));if(0!==o)return 0|o;t=r,e=Tn(Ba(s),Ln(a[0])),n=Tn(Ba(u),Ln(a[1]));continue t}{const a=[o,i];let s,u,c,l,f;switch(Dn(a[0])?Dn(a[1])?s=2:null!=Rn(a[1])?(s=1,l=Ln(a[1]),f=Rn(a[1])):s=2:null!=Rn(a[0])?(s=0,u=Ln(a[0]),c=Rn(a[0])):Dn(a[1])?s=2:null!=Rn(a[1])?(s=1,l=Ln(a[1]),f=Rn(a[1])):s=2,s){case 0:if(c instanceof Ha){t=r,e=Hn([$a(c),Wa(Ga(c),void 0,Ba(c),0)],u),n=i;continue t}t=r,e=Hn([void 0,za(Ga(c))],u),n=i;continue t;case 1:if(f instanceof Ha){t=r,e=o,n=Hn([$a(f),Wa(Ga(f),void 0,Ba(f),0)],l);continue t}t=r,e=o,n=Hn([void 0,za(Ga(f))],l);continue t;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const a=[o,i];let s,u,c,l,f;switch(Dn(a[0])?Dn(a[1])?s=2:null!=Rn(a[1])?(s=1,l=Ln(a[1]),f=Rn(a[1])):s=2:null!=Rn(a[0])?(s=0,u=Ln(a[0]),c=Rn(a[0])):Dn(a[1])?s=2:null!=Rn(a[1])?(s=1,l=Ln(a[1]),f=Rn(a[1])):s=2,s){case 0:if(c instanceof Ha){t=r,e=Hn([$a(c),Wa(Ga(c),void 0,Ba(c),0)],u),n=i;continue t}t=r,e=Hn([void 0,za(Ga(c))],u),n=i;continue t;case 1:if(f instanceof Ha){t=r,e=o,n=Hn([$a(f),Wa(Ga(f),void 0,Ba(f),0)],l);continue t}t=r,e=o,n=Hn([void 0,za(Ga(f))],l);continue t;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(u instanceof Ha)){const o=0|r.Compare(Ga(s),Ga(u));if(0!==o)return 0|o;t=r,e=Ln(a[0]),n=Ln(a[1]);continue t}if(null==$a(u)){const o=0|r.Compare(Ga(s),Ga(u));if(0!==o)return 0|o;t=r,e=Tn(void 0,Ln(a[0])),n=Tn(Ba(u),Ln(a[1]));continue t}{const a=[o,i];let s,u,c,l,f;switch(Dn(a[0])?Dn(a[1])?s=2:null!=Rn(a[1])?(s=1,l=Ln(a[1]),f=Rn(a[1])):s=2:null!=Rn(a[0])?(s=0,u=Ln(a[0]),c=Rn(a[0])):Dn(a[1])?s=2:null!=Rn(a[1])?(s=1,l=Ln(a[1]),f=Rn(a[1])):s=2,s){case 0:if(c instanceof Ha){t=r,e=Hn([$a(c),Wa(Ga(c),void 0,Ba(c),0)],u),n=i;continue t}t=r,e=Hn([void 0,za(Ga(c))],u),n=i;continue t;case 1:if(f instanceof Ha){t=r,e=o,n=Hn([$a(f),Wa(Ga(f),void 0,Ba(f),0)],l);continue t}t=r,e=o,n=Hn([void 0,za(Ga(f))],l);continue t;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{Rn(a[1]);const s=[o,i];let u,c,l,f,d;switch(Dn(s[0])?Dn(s[1])?u=2:null!=Rn(s[1])?(u=1,f=Ln(s[1]),d=Rn(s[1])):u=2:null!=Rn(s[0])?(u=0,c=Ln(s[0]),l=Rn(s[0])):Dn(s[1])?u=2:null!=Rn(s[1])?(u=1,f=Ln(s[1]),d=Rn(s[1])):u=2,u){case 0:if(l instanceof Ha){t=r,e=Hn([$a(l),Wa(Ga(l),void 0,Ba(l),0)],c),n=i;continue t}t=r,e=Hn([void 0,za(Ga(l))],c),n=i;continue t;case 1:if(d instanceof Ha){t=r,e=o,n=Hn([$a(d),Wa(Ga(d),void 0,Ba(d),0)],f);continue t}t=r,e=o,n=Hn([void 0,za(Ga(d))],f);continue t;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==Rn(a[0])){t=r,e=Ln(a[0]),n=Ln(a[1]);continue t}{Rn(a[0]);const s=[o,i];let u,c,l,f,d;switch(Dn(s[0])?Dn(s[1])?u=2:null!=Rn(s[1])?(u=1,f=Ln(s[1]),d=Rn(s[1])):u=2:null!=Rn(s[0])?(u=0,c=Ln(s[0]),l=Rn(s[0])):Dn(s[1])?u=2:null!=Rn(s[1])?(u=1,f=Ln(s[1]),d=Rn(s[1])):u=2,u){case 0:if(l instanceof Ha){t=r,e=Hn([$a(l),Wa(Ga(l),void 0,Ba(l),0)],c),n=i;continue t}t=r,e=Hn([void 0,za(Ga(l))],c),n=i;continue t;case 1:if(d instanceof Ha){t=r,e=o,n=Hn([$a(d),Wa(Ga(d),void 0,Ba(d),0)],f);continue t}t=r,e=o,n=Hn([void 0,za(Ga(d))],f);continue t;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(t,Pn(e),Pn(n))}function as(t,e,n){let r=n;Ka((t=>{e[r]=t,r=r+1|0}),t)}function ss(t,e){if(Ut(e))return function(t,e){return Ue(((e,n)=>Za(t,n,e)),void 0,e)}(t,e);if(e instanceof Cn)return function(t,e){return Un(((e,n)=>Za(t,n,e)),void 0,e)}(t,e);{const n=$t(e);try{return function(t,e,n){for(;;){const r=t,o=e,i=n;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;t=r,e=Za(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i}}(t,void 0,n)}finally{Gt(n)}}}class us{constructor(t,e){this.comparer=t,this.tree=e}GetHashCode(){return 0|function(t){let e,n=0;const r=$t(t);try{for(;r["System.Collections.IEnumerator.MoveNext"]();)n=0|(e=0|te(r["System.Collections.Generic.IEnumerator`1.get_Current"]()),(n<<1)+e+631)}finally{Gt(r)}return 0|Math.abs(n)}(this)}Equals(t){return t instanceof us&&0===is(cs(this),ls(this),ls(t))}toString(){return"set ["+yn("; ",gr((t=>pe(t)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(t){return Array.from(this)}CompareTo(t){return 0|is(cs(this),ls(this),ls(t))}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){return Qa(cs(this),t,ls(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(t,e){as(ls(this),t,e)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|fs(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|fs(this)}GetEnumerator(){return os(ls(this))}[Symbol.iterator](){return Bt(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return os(ls(this))}get size(){return 0|fs(this)}add(t){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(t){throw new Error("Set cannot be mutated")}has(t){return function(t,e){return Qa(cs(t),e,ls(t))}(this,t)}keys(){return gr((t=>t),this)}values(){return gr((t=>t),this)}entries(){return gr((t=>[t,t]),this)}forEach(t,e){const n=this;pr((e=>{t(e,e,n)}),n)}}function cs(t){return t.comparer}function ls(t){return t.tree}function fs(t){return qa(ls(t))}function ds(t,e,n){try{return"Expecting "+t+" but instead got:"+(n?"\n":" ")+JSON.stringify(e,null,4)}catch(e){return"Expecting "+t+" but decoder failed. Couldn't report given value due to circular structure."+(n?"\n":" ")}}function ms(t,e,n){const r=e(t,n);if(1===r.tag){const t=r.fields[0];return new xo(1,function(t,e){const n=2===e.tag?ds(e.fields[0],e.fields[1],!0):1===e.tag?ds(e.fields[0],e.fields[1],!1)+"\nReason: "+e.fields[2]:3===e.tag?ds(e.fields[0],e.fields[1],!0):4===e.tag?ds(e.fields[0],e.fields[1],!0)+"\nNode `"+e.fields[2]+"` is unkown.":5===e.tag?"Expecting "+e.fields[0]+".\n"+JSON.stringify(e.fields[1],null,4):7===e.tag?"The following errors were found:\n\n"+yn("\n\n",e.fields[0]):6===e.tag?"The following `failure` occurred with the decoder: "+e.fields[0]:ds(e.fields[0],e.fields[1],!1);return 7===e.tag?n:"Error at: `"+t+"`\n"+n}(t[0],t[1]))}return new xo(0,r.fields[0])}function hs(t,e){try{return ms("$",t,JSON.parse(e))}catch(t){if(t instanceof SyntaxError)return new xo(1,"Given an invalid JSON: "+t.message);throw t}}function ps(t,e){return"string"==typeof e?new xo(0,e):new xo(1,[t,new Di(0,"a string",e)])}const gs=t=>e=>{const n="a sbyte",r=t,o=e;if("number"==typeof o){const t=o;return isFinite(t)&&Math.floor(t)===t?-128<=t&&t<=127?new xo(0,(t+128&255)-128):new xo(1,[r,new Di(1,n,t,"Value was either too large or too small for "+n)]):new xo(1,[r,new Di(1,n,t,"Value is not an integral value")])}if("string"==typeof o){let t,e=0;return t=[Yi(o,511,!1,8,new Ce((()=>e),(t=>{e=0|t}))),e],t[0]?new xo(0,t[1]):new xo(1,[r,new Di(0,n,o)])}return new xo(1,[r,new Di(0,n,o)])},ys=t=>e=>{const n="a byte",r=t,o=e;if("number"==typeof o){const t=o;return isFinite(t)&&Math.floor(t)===t?0<=t&&t<=255?new xo(0,255&t):new xo(1,[r,new Di(1,n,t,"Value was either too large or too small for "+n)]):new xo(1,[r,new Di(1,n,t,"Value is not an integral value")])}if("string"==typeof o){let t,e=0;return t=[Yi(o,511,!0,8,new Ce((()=>e),(t=>{e=t}))),e],t[0]?new xo(0,t[1]):new xo(1,[r,new Di(0,n,o)])}return new xo(1,[r,new Di(0,n,o)])},vs=t=>e=>{const n="an int16",r=t,o=e;if("number"==typeof o){const t=o;return isFinite(t)&&Math.floor(t)===t?-32768<=t&&t<=32767?new xo(0,(t+32768&65535)-32768):new xo(1,[r,new Di(1,n,t,"Value was either too large or too small for "+n)]):new xo(1,[r,new Di(1,n,t,"Value is not an integral value")])}if("string"==typeof o){let t,e=0;return t=[Yi(o,511,!1,16,new Ce((()=>e),(t=>{e=0|t}))),e],t[0]?new xo(0,t[1]):new xo(1,[r,new Di(0,n,o)])}return new xo(1,[r,new Di(0,n,o)])},ws=t=>e=>{const n="an uint16",r=t,o=e;if("number"==typeof o){const t=o;return isFinite(t)&&Math.floor(t)===t?0<=t&&t<=65535?new xo(0,65535&t):new xo(1,[r,new Di(1,n,t,"Value was either too large or too small for "+n)]):new xo(1,[r,new Di(1,n,t,"Value is not an integral value")])}if("string"==typeof o){let t,e=0;return t=[Yi(o,511,!0,16,new Ce((()=>e),(t=>{e=t}))),e],t[0]?new xo(0,t[1]):new xo(1,[r,new Di(0,n,o)])}return new xo(1,[r,new Di(0,n,o)])},bs=t=>e=>{const n="an int",r=t,o=e;if("number"==typeof o){const t=o;return isFinite(t)&&Math.floor(t)===t?-2147483648<=t&&t<=2147483647?new xo(0,~~t):new xo(1,[r,new Di(1,n,t,"Value was either too large or too small for "+n)]):new xo(1,[r,new Di(1,n,t,"Value is not an integral value")])}if("string"==typeof o){let t,e=0;return t=[Yi(o,511,!1,32,new Ce((()=>e),(t=>{e=0|t}))),e],t[0]?new xo(0,t[1]):new xo(1,[r,new Di(0,n,o)])}return new xo(1,[r,new Di(0,n,o)])},_s=t=>e=>{const n="an uint32",r=t,o=e;if("number"==typeof o){const t=o;return isFinite(t)&&Math.floor(t)===t?0<=t&&t<=4294967295?new xo(0,t>>>0):new xo(1,[r,new Di(1,n,t,"Value was either too large or too small for "+n)]):new xo(1,[r,new Di(1,n,t,"Value is not an integral value")])}if("string"==typeof o){let t,e=0;return t=[Yi(o,511,!0,32,new Ce((()=>e),(t=>{e=t}))),e],t[0]?new xo(0,t[1]):new xo(1,[r,new Di(0,n,o)])}return new xo(1,[r,new Di(0,n,o)])};function xs(t,e,n,r){let o;const i=n+".["+Jt(t)+"]";if(Array.isArray(r)){const n=r;return t<n.length?e(i,n[t]):new xo(1,[i,new Di(5,"a longer array. Need index `"+Jt(t)+"` but there are only `"+(o=n.length,Jt(o)+"` entries"),r)])}return new xo(1,[i,new Di(0,"an array",r)])}function Cs(t,e,n){if(Array.isArray(n)){let r=-1;return Co(zn,Ue(((n,o)=>{if(r=r+1|0,0===n.tag){const i=t(e+".["+Jt(r)+"]",o);return 0===i.tag?new xo(0,Tn(i.fields[0],n.fields[0])):new xo(1,i.fields[0])}return n}),new xo(0,In()),n))}return new xo(1,[e,new Di(0,"a list",n)])}function ks(t,e,n){if(Array.isArray(n)){let r=-1;const o=n;return Ue(((n,o)=>{if(r=r+1|0,0===n.tag){const i=n.fields[0],a=t(e+".["+Jt(r)+"]",o);return 0===a.tag?(i[r]=a.fields[0],new xo(0,i)):new xo(1,a.fields[0])}return n}),new xo(0,Le(new Array(o.length),0,o.length,null)),o)}return new xo(1,[e,new Di(0,"an array",n)])}function Ss(t,e,n,r){const o=e(n,r);return 0===o.tag?t(o.fields[0],n,r):new xo(1,o.fields[0])}function Es(t,e){let n;const r=t;return n=t=>e=>xs(0,r,t,e),t=>r=>Ss(fe(3,(t=>{let n;const r=e;return n=t=>e=>xs(1,r,t,e),e=>r=>Ss(((e,n,r)=>new xo(0,[t,e])),fe(2,n),e,r)})),fe(2,n),t,r)}function Ms(t){return bi(t)}function Ns(t){return function(t,e){return new us(t,e)}(e={Compare:se},ss(e,t));var e}function Os(t,e,n,r){let o;const i=e.length+t|0;if(i!==r.length)return new xo(1,[n,new Di(6,(o=0|r.length,mn(fn("Expected array of length %i but got %i"))(i)(o)))]);{let o=new xo(0,In());for(let i=t;i<=r.length-1;i++)if(0===o.tag){const a=o.fields[0],s=mn(fn("%s[%i]"))(n)(i),u=e[i-t],c=r[i];o=Co((t=>Tn(t,a)),u(s)(c))}return Co(zn,o)}}function As(t,e,n,r,o,i){const a=function(t,e){return e.find((t=>$r(t)===r))}(0,to(n));if(null!=a){const n=a,r=Fe((n=>Ts(t,e,!1,n[1])),ao(n));return Co((t=>function(t,e){const n=(t.fields||[]).length;if(e.length!==n)throw new Error(`Expected an array of length ${n} but got ${e.length}`);return null!=t.declaringType.construct?new t.declaringType.construct(t.tag,...e):{}}(n,Fn(t))),0===r.length&&i.length<=1?new xo(0,In()):Os(1,r,o,i))}return new xo(1,[o,new Di(6,"Cannot find case "+r+" in "+Br(n))])}function Is(t,e,n,r){const o=new Ce(null);let i;const a=Br(r);let s;if(i=""===a?t:ki(a,o,t),oo(r)){const t=Fe((t=>[Ui(e,$r(t)),Ts(i,e,!1,t[1])]),eo(r));s=e=>n=>Co((t=>function(t,e){const n=eo(t);if(n.length!==e.length)throw new Error(`Expected an array of length ${n.length} but got ${e.length}`);return null!=t.construct?new t.construct(...e):n.reduce(((t,[n,r],o)=>(t[n]=e[o],t)),{})}(r,Fn(t))),function(t,e,n){return null===n||Object.getPrototypeOf(n||!1)!==Object.prototype?new xo(1,[e,new Di(0,"an object",n)]):function(t,e,n){return e.reduceRight(((e,n)=>t(n,e)),n)}(fe(2,(t=>{const r=t[0];return o=>0===o.tag?Co((t=>Tn(t,o.fields[0])),t[1](e+"."+r)(n[r])):o})),t,new xo(0,In()))}(t,e,n))}else if(ro(r))s=t=>n=>{if("string"==typeof n)return As(i,e,r,n,t,[]);if(Array.isArray(n)){const s=n;return o=n=>As(i,e,r,n,t,s),0===(a=ps(t+"[0]",s[0])).tag?o(a.fields[0]):new xo(1,a.fields[0])}return new xo(1,[t,new Di(0,"a string or array",n)]);var o,a};else{if(!n){let t;const e=Br(r);throw t=mn(fn("Cannot generate auto decoder for %s. Please pass an extra decoder.\n\nDocumentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders"))(e),new Error(t)}s=t=>e=>new xo(1,[t,new Di(2,"an extra coder for "+Br(r),e)])}return o.contents=s,s}function Ts(t,e,n,r){let o,i,a,s;const u=Br(r),c=Si(u,t);if(null==c){if(Yr(r)){const n=Ts(t,e,!1,Vr(r));return t=>e=>ks(fe(2,n),t,e)}if(Jr(r)){const t=Br(Zr(r));if("System.SByte"===t)return t=>e=>{const n=r,o=t,i=e,a=gs(o)(i);if(1===a.tag)return new xo(1,a.fields[0]);{const t=a.fields[0];return mr(t,Qr(n),{Equals:(t,e)=>t===e,GetHashCode:Qt})?new xo(0,Kr(n,t.toString())):new xo(1,[o,new Di(1,Br(n),i,"Unkown value provided for the enum")])}};if("System.Byte"===t)return t=>e=>{const n=r,o=t,i=e,a=ys(o)(i);if(1===a.tag)return new xo(1,a.fields[0]);{const t=a.fields[0];return mr(t,Qr(n),{Equals:(t,e)=>t===e,GetHashCode:Qt})?new xo(0,Kr(n,t.toString())):new xo(1,[o,new Di(1,Br(n),i,"Unkown value provided for the enum")])}};if("System.Int16"===t)return t=>e=>{const n=r,o=t,i=e,a=vs(o)(i);if(1===a.tag)return new xo(1,a.fields[0]);{const t=a.fields[0];return mr(t,Qr(n),{Equals:(t,e)=>t===e,GetHashCode:Qt})?new xo(0,Kr(n,t.toString(s))):new xo(1,[o,new Di(1,Br(n),i,"Unkown value provided for the enum")])}var s};if("System.UInt16"===t)return t=>e=>{const n=r,o=t,i=e,a=ws(o)(i);if(1===a.tag)return new xo(1,a.fields[0]);{const t=a.fields[0];return mr(t,Qr(n),{Equals:(t,e)=>t===e,GetHashCode:Qt})?new xo(0,Kr(n,t.toString())):new xo(1,[o,new Di(1,Br(n),i,"Unkown value provided for the enum")])}};if("System.Int32"===t)return t=>e=>{const n=r,o=t,i=e,a=bs(o)(i);if(1===a.tag)return new xo(1,a.fields[0]);{const t=a.fields[0];return mr(t,Qr(n),{Equals:(t,e)=>t===e,GetHashCode:Qt})?new xo(0,Kr(n,Jt(t))):new xo(1,[o,new Di(1,Br(n),i,"Unkown value provided for the enum")])}};if("System.UInt32"===t)return t=>e=>{const n=r,o=t,i=e,a=_s(o)(i);if(1===a.tag)return new xo(1,a.fields[0]);{const t=a.fields[0];return mr(t,Qr(n),{Equals:(t,e)=>t===e,GetHashCode:Qt})?new xo(0,Kr(n,t.toString())):new xo(1,[o,new Di(1,Br(n),i,"Unkown value provided for the enum")])}};{const t=Br(r),e=hn(fn("Cannot generate auto decoder for %s.\nThoth.Json.Net only support the following enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can't use one of these types, please pass an extra decoder.\n "))(t);return t=>e(t)}}if(qr(r)){if(io(r)){const n=Fe((n=>Ts(t,e,!1,n)),no(r));return t=>e=>Array.isArray(e)?Co((t=>Fn(t)),Os(0,n,t,e)):new xo(1,[t,new Di(0,"an array",e)])}{const u=Br(Xr(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===u)return o=Ts(t,e,!0,Pr(r)[0]),t=>e=>{return n=fe(2,o),r=t,null==(i=e)?new xo(0,void 0):Co(Oe,n(r,i));var n,r,i};if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===u)return i=Ts(t,e,!1,Pr(r)[0]),t=>e=>Cs(fe(2,i),t,e);if("System.Collections.Generic.IEnumerable`1[System.Object]"===u)return a=Ts(t,e,!1,Pr(r)[0]),t=>e=>function(t,e,n){if(Array.isArray(n)){let r=-1;return Co(vr,Ue(((n,o)=>{if(r=r+1|0,0===n.tag){const i=t(e+".["+Jt(r)+"]",o);return 0===i.tag?new xo(0,dr([i.fields[0]],n.fields[0])):new xo(1,i.fields[0])}return n}),new xo(0,[]),n))}return new xo(1,[e,new Di(0,"a seq",n)])}(fe(2,a),t,e);if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===u){const n=Ts(t,e,!1,Pr(r)[0]),o=Ts(t,e,!1,Pr(r)[1]);let i;const a=Wn([t=>e=>function(t,e,n,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new xo(1,[n,new Di(0,"an object",r)]):hr(((o,i)=>{if(0===o.tag){const a=t(n,i);if(0===a.tag){const t=e(n+"."+i,r[i]);return 0===t.tag?new xo(0,Tn([a.fields[0],t.fields[0]],o.fields[0])):new xo(1,t.fields[0])}return new xo(1,a.fields[0])}return o}),new xo(0,In()),Object.keys(r))}(fe(2,n),fe(2,o),t,e),(s=Es(fe(2,n),fe(2,o)),t=>e=>Cs(fe(2,s),t,e))]);return i=t=>e=>{return n=t,r=e,((t,e)=>{t:for(;;){const o=t,i=e;if(Dn(o))return new xo(1,[n,new Di(7,i)]);{const a=ms(n,fe(2,Rn(o)),r);if(1===a.tag){t=Ln(o),e=$n(i,Pn(a.fields[0]));continue t}return new xo(0,a.fields[0])}}})(a,In());var n,r},t=>e=>function(t,e,n,r){const o=e(n,r);return 1===o.tag?new xo(1,o.fields[0]):new xo(0,t(o.fields[0]))}(Ms,fe(2,i),t,e)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===u){const n=Ts(t,e,!1,Pr(r)[0]);return t=>e=>{const r=ks(fe(2,n),t,e);return 0===r.tag?new xo(0,Ns(r.fields[0])):new xo(1,r.fields[0])}}return Is(t,e,n,r)}}return"System.Boolean"===u?t=>e=>{return n=t,"boolean"==typeof(r=e)?new xo(0,r):new xo(1,[n,new Di(0,"a boolean",r)]);var n,r}:"Microsoft.FSharp.Core.Unit"===u?t=>e=>{return n=t,null==(r=e)?new xo(0,void 0):new xo(1,[n,new Di(0,"null",r)]);var n,r}:"System.String"===u?t=>e=>ps(t,e):"System.Char"===u?t=>e=>function(t,e){if("string"==typeof e){const n=e;return 1===n.length?new xo(0,n[0]):new xo(1,[t,new Di(0,"a single character string",e)])}return new xo(1,[t,new Di(0,"a char",e)])}(t,e):"System.SByte"===u?gs:"System.Byte"===u?ys:"System.Int16"===u?vs:"System.UInt16"===u?ws:"System.Int32"===u?bs:"System.UInt32"===u?_s:"System.Double"===u?t=>e=>{return n=t,"number"==typeof(r=e)?new xo(0,r):new xo(1,[n,new Di(0,"a float",r)]);var n,r}:"System.Single"===u?t=>e=>{return n=t,"number"==typeof(r=e)?new xo(0,r):new xo(1,[n,new Di(0,"a float32",r)]);var n,r}:"System.DateTime"===u?t=>e=>function(t,e){if("string"==typeof e){let r,o=Be(-621355968e5,0);return r=[Ve(e,new Ce((()=>o),(t=>{o=t}))),o],r[0]?new xo(0,1===(n=r[1]).kind?n:Be(n.getTime(),1)):new xo(1,[t,new Di(0,"a datetime",e)])}var n;return new xo(1,[t,new Di(0,"a datetime",e)])}(t,e):"System.DateTimeOffset"===u?t=>e=>function(t,e){if("string"==typeof e){let n,r=Vi(-621355968e5,0);return n=[qi(e,new Ce((()=>r),(t=>{r=t}))),r],n[0]?new xo(0,n[1]):new xo(1,[t,new Di(0,"a datetimeoffset",e)])}return new xo(1,[t,new Di(0,"a datetime",e)])}(t,e):"System.TimeSpan"===u?t=>e=>function(t,e){if("string"==typeof e){let n,r=0;return n=[Fa(e,new Ce((()=>r),(t=>{r=t}))),r],n[0]?new xo(0,n[1]):new xo(1,[t,new Di(0,"a timespan",e)])}return new xo(1,[t,new Di(0,"a timespan",e)])}(t,e):"System.Guid"===u?t=>e=>function(t,e){if("string"==typeof e){let n,r="00000000-0000-0000-0000-000000000000";return n=[Wi(e,new Ce((()=>r),(t=>{r=t}))),r],n[0]?new xo(0,n[1]):new xo(1,[t,new Di(0,"a guid",e)])}return new xo(1,[t,new Di(0,"a guid",e)])}(t,e):"System.Object"===u?t=>t=>new xo(0,t):Is(t,e,n,r)}{const t=c;return e=>n=>t.contents(e)(n)}}function Ps(t,e,n){const r=Pe(e,new ji(0));return Ts(function(t){return null!=t?Ei(((t,e)=>new Ce(e[1])),t.Coders):Mi()}(n),r,!1,t)}class Ds extends xe{constructor(t,e,n,r,o,i,a){super(),this.Configuration=t,this.LastUpdated=e,this.Status=n,this.Invite=r,this.Creator=o,this.Profile=i,this.Tags=a}}class js extends xe{constructor(t,e){super(),this.Name=t,this.Steps=e}}class Rs extends xe{constructor(t,e){super(),this.Id=t,this.DisplayName=e}}class Ls extends ge{constructor(t,...e){super(),this.tag=0|t,this.fields=e}cases(){return["Inactive","Active","Complete","Abandoned"]}}class Fs extends xe{constructor(t){super(),this.CompletedSteps=t}}class Us extends xe{constructor(t,e){super(),this.Type=t,this.Date=e}}class zs extends xe{constructor(t){super(),this.DateIssued=t}}class Gs extends xe{constructor(t,e){super(),this.Name=t,this.Value=e}}class Hs extends xe{constructor(t,e,n){super(),this.FirstName=t,this.LastName=e,this.Email=n}}class Ws extends xe{constructor(t,e,n,r){super(),this.FirstName=t,this.LastName=e,this.Email=n,this.ExternalId=r}}class $s extends xe{constructor(t){super(),this.Data=t}}class Bs{constructor(t,e){this.accessToken=e,this.backendUrl=`${t}/workflows/progress-backend`}}function Ys(t){return _o.Delay((()=>{let e,n;n=function(t,e){return function(t,e){const n=Be(t.getTime()+e,t.kind);if(2===t.kind){const e=t.getTimezoneOffset(),r=n.getTimezoneOffset();return e!==r?Be(n.getTime()+6e4*(r-e),t.kind):n}return n}(t,-2592e6)}(qe()),e=$e(n,"o");const r=(o=t,i=Ii(new Go(0),Ai(`${t.backendUrl}/instances?dateFrom=${e}`)),_o.Delay((()=>{const t=Ti((e=`Bearer ${o.accessToken}`,new Ho(0,"Authorization",e)),i);var e;let n;const r=Pi(t);return n=_o.Bind(r,(t=>_o.Return(new xo(0,t)))),_o.Bind(n,(e=>{const n=e;if(1===n.tag)return _o.Return(new xo(1,n.fields[0]));{const e=n.fields[0];if(429===e.statusCode||e.statusCode>=500){const e=Pi(t);return _o.Bind(e,(t=>_o.Return(new xo(0,t))))}return _o.Return(new xo(0,e))}}))})));var o,i;return _o.Bind(r,(t=>{const e=t;if(1===e.tag)return _o.Return(new xo(1,e.fields[0]));{const t=e.fields[0];if(200===t.statusCode){const e=hs(fe(2,Ps(Lr("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceDetailList",[],$s,(()=>[["Data",zr(Lr("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceDetail",[],Ds,(()=>[["Configuration",Lr("Workflows.Api.Models.ProgressBackendModels.ProcessConfig",[],js,(()=>[["Name",Hr],["Steps",zr(Lr("Workflows.Api.Models.ProgressBackendModels.ProcessStepConfig",[],Rs,(()=>[["Id",Hr],["DisplayName",Hr]])))]]))],["LastUpdated",Rr("System.DateTime")],["Status",Fr("Workflows.Api.Models.ProgressBackendModels.ProcessInstanceStatus",[],Ls,(()=>[[],[["Item",Lr("Workflows.Api.Models.ProgressBackendModels.ActiveProcessInstance",[],Fs,(()=>[["CompletedSteps",zr(Lr("Workflows.Api.Models.ProgressBackendModels.CompletedStep",[],Us,(()=>[["Type",Hr],["Date",Rr("System.DateTime")]])))]]))]],[["Item",Rr("System.DateTime")]],[["Item",Rr("System.DateTime")]]]))],["Invite",Ur(Lr("Workflows.Api.Models.ProgressBackendModels.Invite",[],zs,(()=>[["DateIssued",Rr("System.DateTime")]])))],["Creator",Ur(Lr("Workflows.Api.Models.ProgressBackendModels.Creator",[],Hs,(()=>[["FirstName",Hr],["LastName",Hr],["Email",Hr]])))],["Profile",Lr("Workflows.Api.Models.ProgressBackendModels.Profile",[],Ws,(()=>[["FirstName",Hr],["LastName",Hr],["Email",Hr],["ExternalId",Ur(Hr)]]))],["Tags",zr(Lr("Workflows.Api.Models.ProgressBackendModels.Tag",[],Gs,(()=>[["Name",Hr],["Value",Hr]])))]])))]])),new ji(1),void 0)),t.responseText);return _o.Return(e)}return _o.Return(new xo(1,"Unexpected response from backend"))}}))}))}const Vs=class{constructor(){this.delegates=[]}Add(t){this._addHandler(t)}get Publish(){return this}Trigger(t,e){let n,r;void 0===e?(n=null,r=t):(n=t,r=e),this.delegates.forEach((t=>1===t.length?t(r):t(n,r)))}AddHandler(t){this._addHandler(t)}RemoveHandler(t){this._removeHandler(t)}Subscribe(t){const e="function"==typeof t?t:t.OnNext;return this._addHandler(e),{Dispose:()=>{this._removeHandler(e)}}}_addHandler(t){this.delegates.push(t)}_removeHandler(t){const e=this.delegates.indexOf(t);e>-1&&this.delegates.splice(e,1)}},qs=class{constructor(t){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=t&&t>0?t:100,this.AutoReset=!0,this._elapsed=new Vs}Elapsed(){return this._elapsed}get Enabled(){return this._enabled}set Enabled(t){this._isDisposed||this._enabled===t||(this._enabled=t,this._enabled?this.AutoReset?this._intervalId=setInterval((()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)}),this.Interval):this._timeoutId=setTimeout((()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)}),this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}};class Js{constructor(t,e,n){this.OnNext=t,this.OnError=e||(t=>{}),this.OnCompleted=n||(()=>{})}}function Xs(t,e,n){Gn((n=>{try{n(e)}catch(e){t(e)}}),n)}function Zs(){return In()}function Qs(t,e){return Yn((e=>n=>{e((e=>{n(t(e))}))}),e)}function Ks(t){return Pn((e=>{e(t)}))}function tu(t,e,n,r,o){return Pn((i=>{t(_o.Delay((()=>{return _o.Bind((t=e(n),bo((e=>{t({onSuccess:t=>e.onSuccess(function(t){return new ko(0,t)}(t)),onError:t=>e.onSuccess(function(t){return new ko(1,t)}(t)),onCancel:e.onCancel,cancelToken:e.cancelToken,trampoline:e.trampoline})}))),(t=>{const e=t;return i(1===e.tag?o(e.fields[0]):r(e.fields[0])),_o.Zero()}));var t})))}))}function eu(t,e,n,r,o){const i=function(t,e,n,r){const o=0|se(t,n);if(0===o)throw new Error("The step of a range cannot be zero");const i=o>0;return n=>{const o=0|se(n,e);return i&&o<=0||!i&&o>=0?[n,r(n,t)]:void 0}}(e,n,r,o);return ar((()=>{return e=i,n=t,or((()=>function(t,e){let n,r=e;return nr((()=>{if(null!=n){const t=n[0];return n[1],t}return Qn()}),(()=>{if(n=t(r),null!=n){n[0];const t=n[1];return r=t,!0}return!1}),(()=>{}))}(e,n)));var e,n}))}class nu extends ge{constructor(t,...e){super(),this.tag=0|t,this.fields=e}cases(){return["Writable","ReadWritable"]}}class ru{constructor(t){this.state=new nu(0,Le(new Array(ue(ie,t,10)),0,ue(ie,t,10),null),0)}}function ou(t){const e=t.state;if(1===e.tag){const n=0|e.fields[1],r=0|e.fields[2],o=e.fields[0],i=(r+1)%o.length|0;return t.state=i===n?new nu(0,o,n):new nu(1,o,n,i),Oe(o[r])}}class iu extends xe{constructor(t,e,n,r,o,i,a){super(),this.init=t,this.update=e,this.subscribe=n,this.view=r,this.setState=o,this.onError=i,this.syncDispatch=a}}function au(t,e,n){return new iu(t,e,(t=>Zs()),n,fe(2,(t=>{const e=he(1,n,[t]);return t=>{e(t)}})),(t=>{var e,n;e=t[0],n=t[1],console.error(Oe(e),n)}),fe(2,(t=>t)))}function su(t,e){return new iu(e.init,e.update,e.subscribe,e.view,t,e.onError,e.syncDispatch)}function uu(t,e){const n=e.init(t),r=n[0],o=new ru(10);let i=!1,a=r;const s=he(1,e.syncDispatch,[t=>{if(i)!function(t,e){const n=t.state;if(1===n.tag){const i=0|n.fields[1],a=0|n.fields[2],s=n.fields[0];s[i]=e;const u=(i+1)%s.length|0;t.state=u===a?new nu(1,(r=a,o=s,Array.from(ar((()=>dr(wr(r,o),ar((()=>{return dr((t=r,e=o,fr((()=>ir(e)),((e,n)=>{if(e<t){if(n["System.Collections.IEnumerator.MoveNext"]())return Oe(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Zn+"\\nParameter name: source")}}),(t=>{Gt(t)}))),ar((()=>br((t=>ur(null)),eu(0,1,o.length,0,((t,e)=>t+e))))));var t,e}))))))),s.length,0):new nu(1,s,u,a)}else{const r=0|n.fields[1],o=n.fields[0];o[r]=e;const i=(r+1)%o.length|0;t.state=new nu(1,o,i,r)}var r,o}(o,t);else{i=!0;let n=Oe(t);for(;null!=n;){const t=Ae(n);try{const n=e.update(t,a),r=n[0];e.setState(r,s),Xs((n=>{e.onError([mn(fn("Error in command while handling: %A"))(t),n])}),s,n[1]),a=r}catch(n){e.onError([mn(fn("Unable to process the message: %A"))(t),n])}n=ou(o)}i=!1}}]);e.setState(r,s),Xs((t=>{e.onError(["Error intitializing:",t])}),s,function(t){const e=Sn();let n=e;const r=t=>{n=Un(((t,e)=>{const n=new Cn(e,void 0);return t.tail=n,n}),n,t)};if(Ut(t))t.forEach(r);else if(t instanceof Cn)Gn(r,t);else{const e=$t(t);try{for(;e["System.Collections.IEnumerator.MoveNext"]();)r(e["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{Gt(e)}}const o=n,i=Sn();return o.tail=i,An(e)}(Wn([(()=>{try{return e.subscribe(r)}catch(t){return e.onError(["Unable to subscribe:",t]),Zs()}})(),n[1]])))}class cu{constructor(){this.hasDisposedOnce=!1,this.state=void 0,this.listener=void 0,this.dispatcher=void 0}}function lu(){return new cu}function fu(t,e,n,r){uu(e,su(((t,e)=>{!function(t,e,n){t.state=Oe(e),t.dispatcher=n;const r=t.listener;null!=r&&r(e)}(n,t,e)}),t()));const o=function(t){return t.state}(n);if(null!=o)return Ae(o);throw new Error("Elmish program has not initialized")}function du(t,e){return function(t,e,n){const r=Sr(lu)[0],o=Sr((()=>fu(t,e,r))),i=o[1];return Er((()=>(function(t){return t.hasDisposedOnce}(r)&&i(fu(t,e,r)),kr((()=>{!function(t){const e=t.state;if(null!=e){const t=Ae(e);zt(t)&&Gt(t)}t.dispatcher=void 0,t.state=void 0,t.hasDisposedOnce=!0}(r)})))),Pe(n,[])),function(t,e){null==t.listener&&(t.listener=e)}(r,i),[o[0],t=>{!function(t,e){const n=t.dispatcher;null!=n&&n(e)}(r,t)}]}(t,void 0,e)}function mu(t,e){if(t.has(e))return t.get(e);throw new Error(`The given key '${e}' was not present in the dictionary.`)}class hu{constructor(t,e){const n=new Ce(null);this.comparer=e,n.contents=this,this.hashMap=new Map([]),this["init@8-2"]=1;const r=$t(t);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const t=r["System.Collections.Generic.IEnumerator`1.get_Current"]();vu(n.contents,t)}}finally{Gt(r)}}get[Symbol.toStringTag](){return"HashSet"}toJSON(t){return Array.from(this)}"System.Collections.IEnumerable.GetEnumerator"(){return $t(this)}GetEnumerator(){return $t(sr(this.hashMap.values()))}[Symbol.iterator](){return Bt(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(t){vu(this,t)}"System.Collections.Generic.ICollection`1.Clear"(){gu(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(t){return wu(this,t)}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(t,e){var n;n=(n,r)=>{t[e+n]=r},hr(((t,e)=>(n(t,e),t+1|0)),0,this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|yu(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(t){return bu(this,t)}get size(){return 0|yu(this)}add(t){return vu(this,t),this}clear(){gu(this)}delete(t){return bu(this,t)}has(t){return wu(this,t)}keys(){return gr((t=>t),this)}values(){return gr((t=>t),this)}entries(){return gr((t=>[t,t]),this)}forEach(t,e){const n=this;pr((e=>{t(e,e,n)}),n)}}function pu(t,e){const n=0|t.comparer.GetHashCode(e);let r,o=null;return r=[(i=t.hashMap,a=n,s=new Ce((()=>o),(t=>{o=t})),!!i.has(a)&&(s.contents=i.get(a),!0)),o],r[0]?[!0,n,r[1].findIndex((n=>t.comparer.Equals(e,n)))]:[!1,n,-1];var i,a,s}function gu(t){t.hashMap.clear()}function yu(t){let e=0,n=$t(t.hashMap.values());try{for(;n["System.Collections.IEnumerator.MoveNext"]();)e=e+n["System.Collections.Generic.IEnumerator`1.get_Current"]().length|0}finally{Gt(n)}return 0|e}function vu(t,e){const n=pu(t,e);return n[0]?!(n[2]>-1)&&(mu(t.hashMap,n[1]).push(e),!0):(t.hashMap.set(n[1],[e]),!0)}function wu(t,e){const n=pu(t,e);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function bu(t,e){const n=pu(t,e);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return mu(t.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}function _u(t,e){return ar((()=>{const n=new hu([],e);return function(t,e){return function(t,e){return lr((()=>ir(e)),(e=>{let n;for(;null==n&&e["System.Collections.IEnumerator.MoveNext"]();)n=t(e["System.Collections.Generic.IEnumerator`1.get_Current"]());return n}),(t=>{Gt(t)}))}((e=>t(e)?Oe(e):void 0),e)}((t=>function(t,e){return!e.has(t)&&(e.add(t),!0)}(t,n)),t)}))}class xu extends ge{constructor(t,...e){super(),this.tag=0|t,this.fields=e}cases(){return["All","Completed","InProgress","NotStarted"]}}function Cu(t){switch(t.tag){case 1:return"Completed";case 2:return"In progress";case 3:return"Not started";default:return"All"}}class ku extends ge{constructor(t,...e){super(),this.tag=0|t,this.fields=e}cases(){return["GetInstanceListCallback","SelectStatusTab"]}}class Su extends xe{constructor(t,e){super(),this.ProcessInstanceList=t,this.SelectedStatusTab=e}}function Eu(t){return function(t,e){return qn(((t,n)=>e.Compare(t,n)),t)}((e=Yn((t=>t.Name),Bn((t=>t.Tags),t.Data)),n={Equals:(t,e)=>t===e,GetHashCode:Zt},cr(_u(e,n))),{Compare:ie});var e,n}function Mu(t,e){return re(t,new xu(0))?e:new $s(function(t,e){const n=Sn(),r=Un(((e,n)=>{if(t(n)){const t=new Cn(n,void 0);return e.tail=t,t}return e}),n,e),o=Sn();return r.tail=o,An(n)}((e=>{let n;return re((n=e.Status,1===n.tag?new xu(2):2===n.tag?new xu(1):3===n.tag?void 0:new xu(3)),t)}),e.Data))}function Nu(){let t;t=new CustomEvent("progressComponentReady",{}),window.dispatchEvent(t)}function Ou(){return[new Su(new No(0),new xu(0)),Zs()]}function Au(t,e){if(1===t.tag)return[new Su(e.ProcessInstanceList,t.fields[0]),Zs()];{const i=t.fields[0];let a,s;switch(3===i.tag?a=1:0===i.tag?a=2:1===i.tag?a=3:1===i.fields[0].tag?a=1:(a=0,s=i.fields[0].fields[0]),a){case 0:return Nu(),[new Su(new No(2,new $s((n=t=>t.LastUpdated,r=s.Data,o={Compare:Ze},qn(((t,e)=>-1*o.Compare(n(t),n(e))),r)))),e.SelectedStatusTab),Zs()];case 1:return Nu(),[new Su(new No(3,new Error),e.SelectedStatusTab),Zs()];case 2:return[new Su(new No(0),e.SelectedStatusTab),Zs()];case 3:return[new Su(new No(1),e.SelectedStatusTab),Zs()]}}var n,r,o}function Iu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Tu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Iu(Object(n),!0).forEach((function(e){ju(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Iu(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Pu(t){return Pu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pu(t)}function Du(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ju(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ru(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(t,e)||Fu(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lu(t){return function(t){if(Array.isArray(t))return Uu(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Fu(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fu(t,e){if(t){if("string"==typeof t)return Uu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Uu(t,e):void 0}}function Uu(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var zu=function(){},Gu={},Hu={},Wu=null,$u={mark:zu,measure:zu};try{"undefined"!=typeof window&&(Gu=window),"undefined"!=typeof document&&(Hu=document),"undefined"!=typeof MutationObserver&&(Wu=MutationObserver),"undefined"!=typeof performance&&($u=performance)}catch(u){}var Bu=(Gu.navigator||{}).userAgent,Yu=void 0===Bu?"":Bu,Vu=Gu,qu=Hu,Ju=Wu,Xu=$u,Zu=(Vu.document,!!qu.documentElement&&!!qu.head&&"function"==typeof qu.addEventListener&&"function"==typeof qu.createElement),Qu=~Yu.indexOf("MSIE")||~Yu.indexOf("Trident/"),Ku="___FONT_AWESOME___",tc=16,ec="fa",nc="svg-inline--fa",rc="data-fa-i2svg",oc="data-fa-pseudo-element",ic="data-fa-pseudo-element-pending",ac="data-prefix",sc="data-icon",uc="fontawesome-i2svg",cc="async",lc=["HTML","HEAD","STYLE","SCRIPT"],fc=function(){try{return!0}catch(t){return!1}}(),dc={fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit",fa:"solid"},mc={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},hc={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},pc={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},gc=/fa[srltdbk]?[\-\ ]/,yc="fa-layers-text",vc=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,wc={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},bc=[1,2,3,4,5,6,7,8,9,10],_c=bc.concat([11,12,13,14,15,16,17,18,19,20]),xc=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Cc={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},kc=[].concat(Lu(Object.keys(mc)),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Cc.GROUP,Cc.SWAP_OPACITY,Cc.PRIMARY,Cc.SECONDARY]).concat(bc.map((function(t){return"".concat(t,"x")}))).concat(_c.map((function(t){return"w-".concat(t)}))),Sc=Vu.FontAwesomeConfig||{};qu&&"function"==typeof qu.querySelector&&[["data-family-prefix","familyPrefix"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(t){var e=Ru(t,2),n=e[0],r=e[1],o=function(t){return""===t||"false"!==t&&("true"===t||t)}(function(t){var e=qu.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(n));null!=o&&(Sc[r]=o)}));var Ec=Tu(Tu({},{familyPrefix:ec,styleDefault:"solid",replacementClass:nc,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0}),Sc);Ec.autoReplaceSvg||(Ec.observeMutations=!1);var Mc={};Object.keys(Ec).forEach((function(t){Object.defineProperty(Mc,t,{enumerable:!0,set:function(e){Ec[t]=e,Nc.forEach((function(t){return t(Mc)}))},get:function(){return Ec[t]}})})),Vu.FontAwesomeConfig=Mc;var Nc=[],Oc=tc,Ac={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},Ic="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Tc(){for(var t=12,e="";t-- >0;)e+=Ic[62*Math.random()|0];return e}function Pc(t){for(var e=[],n=(t||[]).length>>>0;n--;)e[n]=t[n];return e}function Dc(t){return t.classList?Pc(t.classList):(t.getAttribute("class")||"").split(" ").filter((function(t){return t}))}function jc(t){return"".concat(t).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Rc(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,": ").concat(t[n].trim(),";")}),"")}function Lc(t){return t.size!==Ac.size||t.x!==Ac.x||t.y!==Ac.y||t.rotate!==Ac.rotate||t.flipX||t.flipY}var Fc=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function Uc(){var t=ec,e=nc,n=Mc.familyPrefix,r=Mc.replacementClass,o=Fc;if(n!==t||r!==e){var i=new RegExp("\\.".concat(t,"\\-"),"g"),a=new RegExp("\\--".concat(t,"\\-"),"g"),s=new RegExp("\\.".concat(e),"g");o=o.replace(i,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return o}var zc=!1;function Gc(){Mc.autoAddCss&&!zc&&(function(t){if(t&&Zu){var e=qu.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var n=qu.head.childNodes,r=null,o=n.length-1;o>-1;o--){var i=n[o],a=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=i)}qu.head.insertBefore(e,r)}}(Uc()),zc=!0)}var Hc={mixout:function(){return{dom:{css:Uc,insertCss:Gc}}},hooks:function(){return{beforeDOMElementCreation:function(){Gc()},beforeI2svg:function(){Gc()}}}},Wc=Vu||{};Wc[Ku]||(Wc[Ku]={}),Wc[Ku].styles||(Wc[Ku].styles={}),Wc[Ku].hooks||(Wc[Ku].hooks={}),Wc[Ku].shims||(Wc[Ku].shims=[]);var $c=Wc[Ku],Bc=[],Yc=!1;function Vc(t){var e=t.tag,n=t.attributes,r=void 0===n?{}:n,o=t.children,i=void 0===o?[]:o;return"string"==typeof t?jc(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,'="').concat(jc(t[n]),'" ')}),"").trim()}(r),">").concat(i.map(Vc).join(""),"</").concat(e,">")}function qc(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}Zu&&((Yc=(qu.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(qu.readyState))||qu.addEventListener("DOMContentLoaded",(function t(){qu.removeEventListener("DOMContentLoaded",t),Yc=1,Bc.map((function(t){return t()}))})));var Jc=function(t,e,n,r){var o,i,a,s=Object.keys(t),u=s.length,c=void 0!==r?function(t,e){return function(n,r,o,i){return t.call(e,n,r,o,i)}}(e,r):e;for(void 0===n?(o=1,a=t[s[0]]):(o=0,a=n);o<u;o++)a=c(a,t[i=s[o]],i,t);return a};function Xc(t){var e=function(t){for(var e=[],n=0,r=t.length;n<r;){var o=t.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=t.charCodeAt(n++);56320==(64512&i)?e.push(((1023&o)<<10)+(1023&i)+65536):(e.push(o),n--)}else e.push(o)}return e}(t);return 1===e.length?e[0].toString(16):null}function Zc(t){return Object.keys(t).reduce((function(e,n){var r=t[n];return r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{})}function Qc(t,e){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,o=Zc(e);"function"!=typeof $c.hooks.addPack||r?$c.styles[t]=Tu(Tu({},$c.styles[t]||{}),o):$c.hooks.addPack(t,Zc(e)),"fas"===t&&Qc("fa",e)}var Kc=$c.styles,tl=$c.shims,el=Object.values(hc),nl=null,rl={},ol={},il={},al={},sl={},ul=Object.keys(dc);var cl,ll=function(){var t=function(t){return Jc(Kc,(function(e,n,r){return e[r]=Jc(n,t,{}),e}),{})};rl=t((function(t,e,n){if(e[3]&&(t[e[3]]=n),e[2]){var r=e[2].filter((function(t){return"number"==typeof t}));r.forEach((function(e){t[e.toString(16)]=n}))}return t})),ol=t((function(t,e,n){if(t[n]=n,e[2]){var r=e[2].filter((function(t){return"string"==typeof t}));r.forEach((function(e){t[e]=n}))}return t})),sl=t((function(t,e,n){var r=e[2];return t[n]=n,r.forEach((function(e){t[e]=n})),t}));var e="far"in Kc||Mc.autoFetchSvg,n=Jc(tl,(function(t,n){var r=n[0],o=n[1],i=n[2];return"far"!==o||e||(o="fas"),"string"==typeof r&&(t.names[r]={prefix:o,iconName:i}),"number"==typeof r&&(t.unicodes[r.toString(16)]={prefix:o,iconName:i}),t}),{names:{},unicodes:{}});il=n.names,al=n.unicodes,nl=gl(Mc.styleDefault)};function fl(t,e){return(rl[t]||{})[e]}function dl(t,e){return(sl[t]||{})[e]}function ml(t){return il[t]||{prefix:null,iconName:null}}function hl(){return nl}cl=function(t){nl=gl(t.styleDefault)},Nc.push(cl),ll();var pl=function(){return{prefix:null,iconName:null,rest:[]}};function gl(t){var e=dc[t],n=mc[t]||mc[e],r=t in $c.styles?t:null;return n||r||null}function yl(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,n=void 0!==e&&e,r=null,o=t.reduce((function(t,e){var o=function(t,e){var n,r=e.split("-"),o=r[0],i=r.slice(1).join("-");return o!==t||""===i||(n=i,~kc.indexOf(n))?null:i}(Mc.familyPrefix,e);if(Kc[e]?(e=el.includes(e)?pc[e]:e,r=e,t.prefix=e):ul.indexOf(e)>-1?(r=e,t.prefix=gl(e)):o?t.iconName=o:e!==Mc.replacementClass&&t.rest.push(e),!n&&t.prefix&&t.iconName){var i="fa"===r?ml(t.iconName):{},a=dl(t.prefix,t.iconName);i.prefix&&(r=null),t.iconName=i.iconName||a||t.iconName,t.prefix=i.prefix||t.prefix,"far"!==t.prefix||Kc.far||!Kc.fas||Mc.autoFetchSvg||(t.prefix="fas")}return t}),pl());return"fa"!==o.prefix&&"fa"!==r||(o.prefix=hl()||"fas"),o}var vl=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e,n;return e=t,n=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach((function(e){t.definitions[e]=Tu(Tu({},t.definitions[e]||{}),o[e]),Qc(e,o[e]);var n=hc[e];n&&Qc(n,o[e]),ll()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var n=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(n).map((function(e){var r=n[e],o=r.prefix,i=r.iconName,a=r.icon,s=a[2];t[o]||(t[o]={}),s.length>0&&s.forEach((function(e){"string"==typeof e&&(t[o][e]=a)})),t[o][i]=a})),t}}],n&&Du(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),wl=[],bl={},_l={},xl=Object.keys(_l);function Cl(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return(bl[t]||[]).forEach((function(t){e=t.apply(null,[e].concat(r))})),e}function kl(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];(bl[t]||[]).forEach((function(t){t.apply(null,n)}))}function Sl(){var t=arguments[0],e=Array.prototype.slice.call(arguments,1);return _l[t]?_l[t].apply(null,e):void 0}function El(t){"fa"===t.prefix&&(t.prefix="fas");var e=t.iconName,n=t.prefix||hl();if(e)return e=dl(n,e)||e,qc(Ml.definitions,n,e)||qc($c.styles,n,e)}var Ml=new vl,Nl={i2svg:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Zu?(kl("beforeI2svg",t),Sl("pseudoElements2svg",t),Sl("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.autoReplaceSvgRoot;!1===Mc.autoReplaceSvg&&(Mc.autoReplaceSvg=!0),Mc.observeMutations=!0,t=function(){Al({autoReplaceSvgRoot:n}),kl("watch",e)},Zu&&(Yc?setTimeout(t,0):Bc.push(t))}},Ol={noAuto:function(){Mc.autoReplaceSvg=!1,Mc.observeMutations=!1,kl("noAuto")},config:Mc,dom:Nl,parse:{icon:function(t){if(null===t)return null;if("object"===Pu(t)&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:dl(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&2===t.length){var e=0===t[1].indexOf("fa-")?t[1].slice(3):t[1],n=gl(t[0]);return{prefix:n,iconName:dl(n,e)||e}}if("string"==typeof t&&(t.indexOf("".concat(Mc.familyPrefix,"-"))>-1||t.match(gc))){var r=yl(t.split(" "),{skipLookups:!0});return{prefix:r.prefix||hl(),iconName:dl(r.prefix,r.iconName)||r.iconName}}if("string"==typeof t){var o=hl();return{prefix:o,iconName:dl(o,t)||t}}}},library:Ml,findIconDefinition:El,toHtml:Vc},Al=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,e=void 0===t?qu:t;(Object.keys($c.styles).length>0||Mc.autoFetchSvg)&&Zu&&Mc.autoReplaceSvg&&Ol.dom.i2svg({node:e})};function Il(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return Vc(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(Zu){var e=qu.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function Tl(t){var e=t.icons,n=e.main,r=e.mask,o=t.prefix,i=t.iconName,a=t.transform,s=t.symbol,u=t.title,c=t.maskId,l=t.titleId,f=t.extra,d=t.watchable,m=void 0!==d&&d,h=r.found?r:n,p=h.width,g=h.height,y="fak"===o,v=[Mc.replacementClass,i?"".concat(Mc.familyPrefix,"-").concat(i):""].filter((function(t){return-1===f.classes.indexOf(t)})).filter((function(t){return""!==t||!!t})).concat(f.classes).join(" "),w={children:[],attributes:Tu(Tu({},f.attributes),{},{"data-prefix":o,"data-icon":i,class:v,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(g)})},b=y&&!~f.classes.indexOf("fa-fw")?{width:"".concat(p/g*16*.0625,"em")}:{};m&&(w.attributes[rc]=""),u&&(w.children.push({tag:"title",attributes:{id:w.attributes["aria-labelledby"]||"title-".concat(l||Tc())},children:[u]}),delete w.attributes.title);var _=Tu(Tu({},w),{},{prefix:o,iconName:i,main:n,mask:r,maskId:c,transform:a,symbol:s,styles:Tu(Tu({},b),f.styles)}),x=r.found&&n.found?Sl("generateAbstractMask",_)||{children:[],attributes:{}}:Sl("generateAbstractIcon",_)||{children:[],attributes:{}},C=x.children,k=x.attributes;return _.children=C,_.attributes=k,s?function(t){var e=t.prefix,n=t.iconName,r=t.children,o=t.attributes,i=t.symbol,a=!0===i?"".concat(e,"-").concat(Mc.familyPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Tu(Tu({},o),{},{id:a}),children:r}]}]}(_):function(t){var e=t.children,n=t.main,r=t.mask,o=t.attributes,i=t.styles,a=t.transform;if(Lc(a)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};o.style=Rc(Tu(Tu({},i),{},{"transform-origin":"".concat(s.x+a.x/16,"em ").concat(s.y+a.y/16,"em")}))}return[{tag:"svg",attributes:o,children:e}]}(_)}function Pl(t){var e=t.content,n=t.width,r=t.height,o=t.transform,i=t.title,a=t.extra,s=t.watchable,u=void 0!==s&&s,c=Tu(Tu(Tu({},a.attributes),i?{title:i}:{}),{},{class:a.classes.join(" ")});u&&(c[rc]="");var l=Tu({},a.styles);Lc(o)&&(l.transform=function(t){var e=t.transform,n=t.width,r=void 0===n?tc:n,o=t.height,i=void 0===o?tc:o,a=t.startCentered,s=void 0!==a&&a,u="";return u+=s&&Qu?"translate(".concat(e.x/Oc-r/2,"em, ").concat(e.y/Oc-i/2,"em) "):s?"translate(calc(-50% + ".concat(e.x/Oc,"em), calc(-50% + ").concat(e.y/Oc,"em)) "):"translate(".concat(e.x/Oc,"em, ").concat(e.y/Oc,"em) "),(u+="scale(".concat(e.size/Oc*(e.flipX?-1:1),", ").concat(e.size/Oc*(e.flipY?-1:1),") "))+"rotate(".concat(e.rotate,"deg) ")}({transform:o,startCentered:!0,width:n,height:r}),l["-webkit-transform"]=l.transform);var f=Rc(l);f.length>0&&(c.style=f);var d=[];return d.push({tag:"span",attributes:c,children:[e]}),i&&d.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),d}var Dl=$c.styles;function jl(t){var e=t[0],n=t[1],r=Ru(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(Mc.familyPrefix,"-").concat(Cc.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Mc.familyPrefix,"-").concat(Cc.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Mc.familyPrefix,"-").concat(Cc.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var Rl={found:!1,width:512,height:512};function Ll(t,e){var n=e;return"fa"===e&&null!==Mc.styleDefault&&(e=hl()),new Promise((function(r,o){if(Sl("missingIconAbstract"),"fa"===n){var i=ml(t)||{};t=i.iconName||t,e=i.prefix||e}if(t&&e&&Dl[e]&&Dl[e][t])return r(jl(Dl[e][t]));!function(t,e){fc||Mc.showMissingIcons||!t||console.error('Icon with name "'.concat(t,'" and prefix "').concat(e,'" is missing.'))}(t,e),r(Tu(Tu({},Rl),{},{icon:Mc.showMissingIcons&&t&&Sl("missingIconAbstract")||{}}))}))}var Fl=function(){},Ul=Mc.measurePerformance&&Xu&&Xu.mark&&Xu.measure?Xu:{mark:Fl,measure:Fl},zl='FA "6.1.2"',Gl=function(t){Ul.mark("".concat(zl," ").concat(t," ends")),Ul.measure("".concat(zl," ").concat(t),"".concat(zl," ").concat(t," begins"),"".concat(zl," ").concat(t," ends"))},Hl={begin:function(t){return Ul.mark("".concat(zl," ").concat(t," begins")),function(){return Gl(t)}},end:Gl},Wl=function(){};function $l(t){return"string"==typeof(t.getAttribute?t.getAttribute(rc):null)}function Bl(t){return qu.createElementNS("http://www.w3.org/2000/svg",t)}function Yl(t){return qu.createElement(t)}function Vl(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===e?"svg"===t.tag?Bl:Yl:e;if("string"==typeof t)return qu.createTextNode(t);var r=n(t.tag);return Object.keys(t.attributes||[]).forEach((function(e){r.setAttribute(e,t.attributes[e])})),(t.children||[]).forEach((function(t){r.appendChild(Vl(t,{ceFn:n}))})),r}var ql={replace:function(t){var e=t[0];if(e.parentNode)if(t[1].forEach((function(t){e.parentNode.insertBefore(Vl(t),e)})),null===e.getAttribute(rc)&&Mc.keepOriginalSource){var n=qu.createComment(function(t){var e=" ".concat(t.outerHTML," ");return"".concat(e,"Font Awesome fontawesome.com ")}(e));e.parentNode.replaceChild(n,e)}else e.remove()},nest:function(t){var e=t[0],n=t[1];if(~Dc(e).indexOf(Mc.replacementClass))return ql.replace(t);var r=new RegExp("".concat(Mc.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var o=n[0].attributes.class.split(" ").reduce((function(t,e){return e===Mc.replacementClass||e.match(r)?t.toSvg.push(e):t.toNode.push(e),t}),{toNode:[],toSvg:[]});n[0].attributes.class=o.toSvg.join(" "),0===o.toNode.length?e.removeAttribute("class"):e.setAttribute("class",o.toNode.join(" "))}var i=n.map((function(t){return Vc(t)})).join("\n");e.setAttribute(rc,""),e.innerHTML=i}};function Jl(t){t()}function Xl(t,e){var n="function"==typeof e?e:Wl;if(0===t.length)n();else{var r=Jl;Mc.mutateApproach===cc&&(r=Vu.requestAnimationFrame||Jl),r((function(){var e=!0===Mc.autoReplaceSvg?ql.replace:ql[Mc.autoReplaceSvg]||ql.replace,r=Hl.begin("mutate");t.map(e),r(),n()}))}}var Zl=!1;function Ql(){Zl=!0}function Kl(){Zl=!1}var tf=null;function ef(t){if(Ju&&Mc.observeMutations){var e=t.treeCallback,n=void 0===e?Wl:e,r=t.nodeCallback,o=void 0===r?Wl:r,i=t.pseudoElementsCallback,a=void 0===i?Wl:i,s=t.observeMutationsRoot,u=void 0===s?qu:s;tf=new Ju((function(t){if(!Zl){var e=hl();Pc(t).forEach((function(t){if("childList"===t.type&&t.addedNodes.length>0&&!$l(t.addedNodes[0])&&(Mc.searchPseudoElements&&a(t.target),n(t.target)),"attributes"===t.type&&t.target.parentNode&&Mc.searchPseudoElements&&a(t.target.parentNode),"attributes"===t.type&&$l(t.target)&&~xc.indexOf(t.attributeName))if("class"===t.attributeName&&function(t){var e=t.getAttribute?t.getAttribute(ac):null,n=t.getAttribute?t.getAttribute(sc):null;return e&&n}(t.target)){var r=yl(Dc(t.target)),i=r.prefix,s=r.iconName;t.target.setAttribute(ac,i||e),s&&t.target.setAttribute(sc,s)}else(u=t.target)&&u.classList&&u.classList.contains&&u.classList.contains(Mc.replacementClass)&&o(t.target);var u}))}})),Zu&&tf.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function nf(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=function(t){var e,n,r=t.getAttribute("data-prefix"),o=t.getAttribute("data-icon"),i=void 0!==t.innerText?t.innerText.trim():"",a=yl(Dc(t));return a.prefix||(a.prefix=hl()),r&&o&&(a.prefix=r,a.iconName=o),a.iconName&&a.prefix||(a.prefix&&i.length>0&&(a.iconName=(e=a.prefix,n=t.innerText,(ol[e]||{})[n]||fl(a.prefix,Xc(t.innerText)))),!a.iconName&&Mc.autoFetchSvg&&t.firstChild&&t.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=t.firstChild.data)),a}(t),r=n.iconName,o=n.prefix,i=n.rest,a=function(t){var e=Pc(t.attributes).reduce((function(t,e){return"class"!==t.name&&"style"!==t.name&&(t[e.name]=e.value),t}),{}),n=t.getAttribute("title"),r=t.getAttribute("data-fa-title-id");return Mc.autoA11y&&(n?e["aria-labelledby"]="".concat(Mc.replacementClass,"-title-").concat(r||Tc()):(e["aria-hidden"]="true",e.focusable="false")),e}(t),s=Cl("parseNodeAttributes",{},t),u=e.styleParser?function(t){var e=t.getAttribute("style"),n=[];return e&&(n=e.split(";").reduce((function(t,e){var n=e.split(":"),r=n[0],o=n.slice(1);return r&&o.length>0&&(t[r]=o.join(":").trim()),t}),{})),n}(t):[];return Tu({iconName:r,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:o,transform:Ac,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:u,attributes:a}},s)}var rf=$c.styles;function of(t){var e="nest"===Mc.autoReplaceSvg?nf(t,{styleParser:!1}):nf(t);return~e.extra.classes.indexOf(yc)?Sl("generateLayersText",t,e):Sl("generateSvgReplacementMutation",t,e)}function af(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Zu)return Promise.resolve();var n=qu.documentElement.classList,r=function(t){return n.add("".concat(uc,"-").concat(t))},o=function(t){return n.remove("".concat(uc,"-").concat(t))},i=Mc.autoFetchSvg?Object.keys(dc):Object.keys(rf);i.includes("fa")||i.push("fa");var a=[".".concat(yc,":not([").concat(rc,"])")].concat(i.map((function(t){return".".concat(t,":not([").concat(rc,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=Pc(t.querySelectorAll(a))}catch(t){}if(!(s.length>0))return Promise.resolve();r("pending"),o("complete");var u=Hl.begin("onTree"),c=s.reduce((function(t,e){try{var n=of(e);n&&t.push(n)}catch(t){fc||"MissingIcon"===t.name&&console.error(t)}return t}),[]);return new Promise((function(t,n){Promise.all(c).then((function(n){Xl(n,(function(){r("active"),r("complete"),o("pending"),"function"==typeof e&&e(),u(),t()}))})).catch((function(t){u(),n(t)}))}))}function sf(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;of(t).then((function(t){t&&Xl([t],e)}))}var uf=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?Ac:n,o=e.symbol,i=void 0!==o&&o,a=e.mask,s=void 0===a?null:a,u=e.maskId,c=void 0===u?null:u,l=e.title,f=void 0===l?null:l,d=e.titleId,m=void 0===d?null:d,h=e.classes,p=void 0===h?[]:h,g=e.attributes,y=void 0===g?{}:g,v=e.styles,w=void 0===v?{}:v;if(t){var b=t.prefix,_=t.iconName,x=t.icon;return Il(Tu({type:"icon"},t),(function(){return kl("beforeDOMElementCreation",{iconDefinition:t,params:e}),Mc.autoA11y&&(f?y["aria-labelledby"]="".concat(Mc.replacementClass,"-title-").concat(m||Tc()):(y["aria-hidden"]="true",y.focusable="false")),Tl({icons:{main:jl(x),mask:s?jl(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:b,iconName:_,transform:Tu(Tu({},Ac),r),symbol:i,title:f,maskId:c,titleId:m,extra:{attributes:y,styles:w,classes:p}})}))}},cf={mixout:function(){return{icon:(t=uf,function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(e||{}).icon?e:El(e||{}),o=n.mask;return o&&(o=(o||{}).icon?o:El(o||{})),t(r,Tu(Tu({},n),{},{mask:o}))})};var t},hooks:function(){return{mutationObserverCallbacks:function(t){return t.treeCallback=af,t.nodeCallback=sf,t}}},provides:function(t){t.i2svg=function(t){var e=t.node,n=void 0===e?qu:e,r=t.callback;return af(n,void 0===r?function(){}:r)},t.generateSvgReplacementMutation=function(t,e){var n=e.iconName,r=e.title,o=e.titleId,i=e.prefix,a=e.transform,s=e.symbol,u=e.mask,c=e.maskId,l=e.extra;return new Promise((function(e,f){Promise.all([Ll(n,i),u.iconName?Ll(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(u){var f=Ru(u,2),d=f[0],m=f[1];e([t,Tl({icons:{main:d,mask:m},prefix:i,iconName:n,transform:a,symbol:s,maskId:c,title:r,titleId:o,extra:l,watchable:!0})])})).catch(f)}))},t.generateAbstractIcon=function(t){var e,n=t.children,r=t.attributes,o=t.main,i=t.transform,a=Rc(t.styles);return a.length>0&&(r.style=a),Lc(i)&&(e=Sl("generateAbstractTransformGrouping",{main:o,transform:i,containerWidth:o.width,iconWidth:o.width})),n.push(e||o.icon),{children:n,attributes:r}}}},lf={mixout:function(){return{layer:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.classes,r=void 0===n?[]:n;return Il({type:"layer"},(function(){kl("beforeDOMElementCreation",{assembler:t,params:e});var n=[];return t((function(t){Array.isArray(t)?t.map((function(t){n=n.concat(t.abstract)})):n=n.concat(t.abstract)})),[{tag:"span",attributes:{class:["".concat(Mc.familyPrefix,"-layers")].concat(Lu(r)).join(" ")},children:n}]}))}}}},ff={mixout:function(){return{counter:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.title,r=void 0===n?null:n,o=e.classes,i=void 0===o?[]:o,a=e.attributes,s=void 0===a?{}:a,u=e.styles,c=void 0===u?{}:u;return Il({type:"counter",content:t},(function(){return kl("beforeDOMElementCreation",{content:t,params:e}),function(t){var e=t.content,n=t.title,r=t.extra,o=Tu(Tu(Tu({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),i=Rc(r.styles);i.length>0&&(o.style=i);var a=[];return a.push({tag:"span",attributes:o,children:[e]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}({content:t.toString(),title:r,extra:{attributes:s,styles:c,classes:["".concat(Mc.familyPrefix,"-layers-counter")].concat(Lu(i))}})}))}}}},df={mixout:function(){return{text:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?Ac:n,o=e.title,i=void 0===o?null:o,a=e.classes,s=void 0===a?[]:a,u=e.attributes,c=void 0===u?{}:u,l=e.styles,f=void 0===l?{}:l;return Il({type:"text",content:t},(function(){return kl("beforeDOMElementCreation",{content:t,params:e}),Pl({content:t,transform:Tu(Tu({},Ac),r),title:i,extra:{attributes:c,styles:f,classes:["".concat(Mc.familyPrefix,"-layers-text")].concat(Lu(s))}})}))}}},provides:function(t){t.generateLayersText=function(t,e){var n=e.title,r=e.transform,o=e.extra,i=null,a=null;if(Qu){var s=parseInt(getComputedStyle(t).fontSize,10),u=t.getBoundingClientRect();i=u.width/s,a=u.height/s}return Mc.autoA11y&&!n&&(o.attributes["aria-hidden"]="true"),Promise.resolve([t,Pl({content:t.innerHTML,width:i,height:a,transform:r,title:n,extra:o,watchable:!0})])}}},mf=new RegExp('"',"ug"),hf=[1105920,1112319];function pf(t,e){var n="".concat(ic).concat(e.replace(":","-"));return new Promise((function(r,o){if(null!==t.getAttribute(n))return r();var i,a,s,u=Pc(t.children).filter((function(t){return t.getAttribute(oc)===e}))[0],c=Vu.getComputedStyle(t,e),l=c.getPropertyValue("font-family").match(vc),f=c.getPropertyValue("font-weight"),d=c.getPropertyValue("content");if(u&&!l)return t.removeChild(u),r();if(l&&"none"!==d&&""!==d){var m=c.getPropertyValue("content"),h=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?mc[l[2].toLowerCase()]:wc[f],p=function(t){var e=t.replace(mf,""),n=function(t,e){var n,r=t.length,o=t.charCodeAt(0);return o>=55296&&o<=56319&&r>1&&(n=t.charCodeAt(1))>=56320&&n<=57343?1024*(o-55296)+n-56320+65536:o}(e),r=n>=hf[0]&&n<=hf[1],o=2===e.length&&e[0]===e[1];return{value:Xc(o?e[0]:e),isSecondary:r||o}}(m),g=p.value,y=p.isSecondary,v=l[0].startsWith("FontAwesome"),w=fl(h,g),b=w;if(v){var _=(a=al[i=g],s=fl("fas",i),a||(s?{prefix:"fas",iconName:s}:null)||{prefix:null,iconName:null});_.iconName&&_.prefix&&(w=_.iconName,h=_.prefix)}if(!w||y||u&&u.getAttribute(ac)===h&&u.getAttribute(sc)===b)r();else{t.setAttribute(n,b),u&&t.removeChild(u);var x={iconName:null,title:null,titleId:null,prefix:null,transform:Ac,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},C=x.extra;C.attributes[oc]=e,Ll(w,h).then((function(o){var i=Tl(Tu(Tu({},x),{},{icons:{main:o,mask:pl()},prefix:h,iconName:b,extra:C,watchable:!0})),a=qu.createElement("svg");"::before"===e?t.insertBefore(a,t.firstChild):t.appendChild(a),a.outerHTML=i.map((function(t){return Vc(t)})).join("\n"),t.removeAttribute(n),r()})).catch(o)}}else r()}))}function gf(t){return Promise.all([pf(t,"::before"),pf(t,"::after")])}function yf(t){return!(t.parentNode===document.head||~lc.indexOf(t.tagName.toUpperCase())||t.getAttribute(oc)||t.parentNode&&"svg"===t.parentNode.tagName)}function vf(t){if(Zu)return new Promise((function(e,n){var r=Pc(t.querySelectorAll("*")).filter(yf).map(gf),o=Hl.begin("searchPseudoElements");Ql(),Promise.all(r).then((function(){o(),Kl(),e()})).catch((function(){o(),Kl(),n()}))}))}var wf=!1,bf=function(t){return t.toLowerCase().split(" ").reduce((function(t,e){var n=e.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return t.flipX=!0,t;if(r&&"v"===o)return t.flipY=!0,t;if(o=parseFloat(o),isNaN(o))return t;switch(r){case"grow":t.size=t.size+o;break;case"shrink":t.size=t.size-o;break;case"left":t.x=t.x-o;break;case"right":t.x=t.x+o;break;case"up":t.y=t.y-o;break;case"down":t.y=t.y+o;break;case"rotate":t.rotate=t.rotate+o}return t}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},_f={mixout:function(){return{parse:{transform:function(t){return bf(t)}}}},hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-transform");return n&&(t.transform=bf(n)),t}}},provides:function(t){t.generateAbstractTransformGrouping=function(t){var e=t.main,n=t.transform,r=t.containerWidth,o=t.iconWidth,i={transform:"translate(".concat(r/2," 256)")},a="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),u="rotate(".concat(n.rotate," 0 0)"),c={outer:i,inner:{transform:"".concat(a," ").concat(s," ").concat(u)},path:{transform:"translate(".concat(o/2*-1," -256)")}};return{tag:"g",attributes:Tu({},c.outer),children:[{tag:"g",attributes:Tu({},c.inner),children:[{tag:e.icon.tag,children:e.icon.children,attributes:Tu(Tu({},e.icon.attributes),c.path)}]}]}}}},xf={x:0,y:0,width:"100%",height:"100%"};function Cf(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}var kf,Sf={hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-mask"),r=n?yl(n.split(" ").map((function(t){return t.trim()}))):pl();return r.prefix||(r.prefix=hl()),t.mask=r,t.maskId=e.getAttribute("data-fa-mask-id"),t}}},provides:function(t){t.generateAbstractMask=function(t){var e,n=t.children,r=t.attributes,o=t.main,i=t.mask,a=t.maskId,s=t.transform,u=o.width,c=o.icon,l=i.width,f=i.icon,d=function(t){var e=t.transform,n=t.iconWidth,r={transform:"translate(".concat(t.containerWidth/2," 256)")},o="translate(".concat(32*e.x,", ").concat(32*e.y,") "),i="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),a="rotate(".concat(e.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(o," ").concat(i," ").concat(a)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:s,containerWidth:l,iconWidth:u}),m={tag:"rect",attributes:Tu(Tu({},xf),{},{fill:"white"})},h=c.children?{children:c.children.map(Cf)}:{},p={tag:"g",attributes:Tu({},d.inner),children:[Cf(Tu({tag:c.tag,attributes:Tu(Tu({},c.attributes),d.path)},h))]},g={tag:"g",attributes:Tu({},d.outer),children:[p]},y="mask-".concat(a||Tc()),v="clip-".concat(a||Tc()),w={tag:"mask",attributes:Tu(Tu({},xf),{},{id:y,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,g]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(e=f,"g"===e.tag?e.children:[e])},w]};return n.push(b,{tag:"rect",attributes:Tu({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(y,")")},xf)}),{children:n,attributes:r}}}},Ef={provides:function(t){var e=!1;Vu.matchMedia&&(e=Vu.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var t=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};t.push({tag:"path",attributes:Tu(Tu({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=Tu(Tu({},r),{},{attributeName:"opacity"}),i={tag:"circle",attributes:Tu(Tu({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return e||i.children.push({tag:"animate",attributes:Tu(Tu({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Tu(Tu({},o),{},{values:"1;0;1;1;0;1;"})}),t.push(i),t.push({tag:"path",attributes:Tu(Tu({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:e?[]:[{tag:"animate",attributes:Tu(Tu({},o),{},{values:"1;0;0;0;0;1;"})}]}),e||t.push({tag:"path",attributes:Tu(Tu({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Tu(Tu({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:t}}}},Mf=[Hc,cf,lf,ff,df,{hooks:function(){return{mutationObserverCallbacks:function(t){return t.pseudoElementsCallback=vf,t}}},provides:function(t){t.pseudoElements2svg=function(t){var e=t.node,n=void 0===e?qu:e;Mc.searchPseudoElements&&vf(n)}}},{mixout:function(){return{dom:{unwatch:function(){Ql(),wf=!0}}}},hooks:function(){return{bootstrap:function(){ef(Cl("mutationObserverCallbacks",{}))},noAuto:function(){tf&&tf.disconnect()},watch:function(t){var e=t.observeMutationsRoot;wf?Kl():ef(Cl("mutationObserverCallbacks",{observeMutationsRoot:e}))}}}},_f,Sf,Ef,{hooks:function(){return{parseNodeAttributes:function(t,e){var n=e.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return t.symbol=r,t}}}}];kf={mixoutsTo:Ol}.mixoutsTo,wl=Mf,bl={},Object.keys(_l).forEach((function(t){-1===xl.indexOf(t)&&delete _l[t]})),wl.forEach((function(t){var e=t.mixout?t.mixout():{};if(Object.keys(e).forEach((function(t){"function"==typeof e[t]&&(kf[t]=e[t]),"object"===Pu(e[t])&&Object.keys(e[t]).forEach((function(n){kf[t]||(kf[t]={}),kf[t][n]=e[t][n]}))})),t.hooks){var n=t.hooks();Object.keys(n).forEach((function(t){bl[t]||(bl[t]=[]),bl[t].push(n[t])}))}t.provides&&t.provides(_l)})),Ol.noAuto,Ol.config,Ol.library,Ol.dom;var Nf=Ol.parse,Of=(Ol.findIconDefinition,Ol.toHtml,Ol.icon),Af=(Ol.layer,Ol.text,Ol.counter,n(697)),If=n.n(Af);function Tf(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Pf(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Tf(Object(n),!0).forEach((function(e){jf(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Tf(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Df(t){return Df="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Df(t)}function jf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rf(t){return function(t){if(Array.isArray(t))return Lf(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Lf(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Lf(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lf(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Ff(t){return e=t,(e-=0)==e?t:(t=t.replace(/[\-_\s]+(.)?/g,(function(t,e){return e?e.toUpperCase():""}))).substr(0,1).toLowerCase()+t.substr(1);var e}var Uf=["style"],zf=!1;try{zf=!0}catch(u){}function Gf(t){return t&&"object"===Df(t)&&t.prefix&&t.iconName&&t.icon?t:Nf.icon?Nf.icon(t):null===t?null:t&&"object"===Df(t)&&t.prefix&&t.iconName?t:Array.isArray(t)&&2===t.length?{prefix:t[0],iconName:t[1]}:"string"==typeof t?{prefix:"fas",iconName:t}:void 0}function Hf(t,e){return Array.isArray(e)&&e.length>0||!Array.isArray(e)&&e?jf({},t,e):{}}var Wf=Ft.forwardRef((function(t,e){var n=t.icon,r=t.mask,o=t.symbol,i=t.className,a=t.title,s=t.titleId,u=t.maskId,c=Gf(n),l=Hf("classes",[].concat(Rf(function(t){var e,n=t.beat,r=t.fade,o=t.beatFade,i=t.bounce,a=t.shake,s=t.flash,u=t.spin,c=t.spinPulse,l=t.spinReverse,f=t.pulse,d=t.fixedWidth,m=t.inverse,h=t.border,p=t.listItem,g=t.flip,y=t.size,v=t.rotation,w=t.pull,b=(jf(e={"fa-beat":n,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":i,"fa-shake":a,"fa-flash":s,"fa-spin":u,"fa-spin-reverse":l,"fa-spin-pulse":c,"fa-pulse":f,"fa-fw":d,"fa-inverse":m,"fa-border":h,"fa-li":p,"fa-flip":!0===g,"fa-flip-horizontal":"horizontal"===g||"both"===g,"fa-flip-vertical":"vertical"===g||"both"===g},"fa-".concat(y),null!=y),jf(e,"fa-rotate-".concat(v),null!=v&&0!==v),jf(e,"fa-pull-".concat(w),null!=w),jf(e,"fa-swap-opacity",t.swapOpacity),e);return Object.keys(b).map((function(t){return b[t]?t:null})).filter((function(t){return t}))}(t)),Rf(i.split(" ")))),f=Hf("transform","string"==typeof t.transform?Nf.transform(t.transform):t.transform),d=Hf("mask",Gf(r)),m=Of(c,Pf(Pf(Pf(Pf({},l),f),d),{},{symbol:o,title:a,titleId:s,maskId:u}));if(!m)return function(){var t;!zf&&console&&"function"==typeof console.error&&(t=console).error.apply(t,arguments)}("Could not find icon",c),null;var h=m.abstract,p={ref:e};return Object.keys(t).forEach((function(e){Wf.defaultProps.hasOwnProperty(e)||(p[e]=t[e])})),$f(h[0],p)}));Wf.displayName="FontAwesomeIcon",Wf.propTypes={beat:If().bool,border:If().bool,beatFade:If().bool,bounce:If().bool,className:If().string,fade:If().bool,flash:If().bool,mask:If().oneOfType([If().object,If().array,If().string]),maskId:If().string,fixedWidth:If().bool,inverse:If().bool,flip:If().oneOf([!0,!1,"horizontal","vertical","both"]),icon:If().oneOfType([If().object,If().array,If().string]),listItem:If().bool,pull:If().oneOf(["right","left"]),pulse:If().bool,rotation:If().oneOf([0,90,180,270]),shake:If().bool,size:If().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:If().bool,spinPulse:If().bool,spinReverse:If().bool,symbol:If().oneOfType([If().bool,If().string]),title:If().string,titleId:If().string,transform:If().oneOfType([If().string,If().object]),swapOpacity:If().bool},Wf.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var $f=function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var o=(n.children||[]).map((function(n){return t(e,n)})),i=Object.keys(n.attributes||{}).reduce((function(t,e){var r=n.attributes[e];switch(e){case"class":t.attrs.className=r,delete n.attributes.class;break;case"style":t.attrs.style=r.split(";").map((function(t){return t.trim()})).filter((function(t){return t})).reduce((function(t,e){var n,r=e.indexOf(":"),o=Ff(e.slice(0,r)),i=e.slice(r+1).trim();return o.startsWith("webkit")?t[(n=o,n.charAt(0).toUpperCase()+n.slice(1))]=i:t[o]=i,t}),{});break;default:0===e.indexOf("aria-")||0===e.indexOf("data-")?t.attrs[e.toLowerCase()]=r:t.attrs[Ff(e)]=r}return t}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,u=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(r,Uf);return i.attrs.style=Pf(Pf({},i.attrs.style),s),e.apply(void 0,[n.tag,Pf(Pf({},i.attrs),u)].concat(Rf(o)))}.bind(null,Ft.createElement),Bf={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM371.8 211.8C382.7 200.9 382.7 183.1 371.8 172.2C360.9 161.3 343.1 161.3 332.2 172.2L224 280.4L179.8 236.2C168.9 225.3 151.1 225.3 140.2 236.2C129.3 247.1 129.3 264.9 140.2 275.8L204.2 339.8C215.1 350.7 232.9 350.7 243.8 339.8L371.8 211.8z"]},Yf={prefix:"fas",iconName:"square-pen",icon:[448,512,["pen-square","pencil-square"],"f14b","M384 32C419.3 32 448 60.65 448 96V416C448 451.3 419.3 480 384 480H64C28.65 480 0 451.3 0 416V96C0 60.65 28.65 32 64 32H384zM325.8 139.7C310.1 124.1 284.8 124.1 269.2 139.7L247.8 161.1L318.7 232.1L340.1 210.7C355.8 195 355.8 169.7 340.1 154.1L325.8 139.7zM111.5 303.8L96.48 363.1C95.11 369.4 96.71 375.2 100.7 379.2C104.7 383.1 110.4 384.7 115.9 383.4L176 368.3C181.6 366.9 186.8 364 190.9 359.9L296.1 254.7L225.1 183.8L119.9 288.1C115.8 293.1 112.9 298.2 111.5 303.8z"]};function Vf(t){return d(Wf,t)}const qf=Vf({icon:{prefix:"fas",iconName:"user",icon:[448,512,[62144,128100],"f007","M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z"]}}),Jf=Vf({icon:Bf}),Xf=Vf({icon:Yf}),Zf=Vf({icon:{prefix:"fas",iconName:"hourglass-start",icon:[384,512,["hourglass-1"],"f251","M352 0C369.7 0 384 14.33 384 32C384 49.67 369.7 64 352 64V74.98C352 117.4 335.1 158.1 305.1 188.1L237.3 256L305.1 323.9C335.1 353.9 352 394.6 352 437V448C369.7 448 384 462.3 384 480C384 497.7 369.7 512 352 512H32C14.33 512 0 497.7 0 480C0 462.3 14.33 448 32 448V437C32 394.6 48.86 353.9 78.86 323.9L146.7 256L78.86 188.1C48.86 158.1 32 117.4 32 74.98V64C14.33 64 0 49.67 0 32C0 14.33 14.33 0 32 0H352zM259.9 369.1L192 301.3L124.1 369.1C106.1 387.1 96 411.6 96 437V448H288V437C288 411.6 277.9 387.1 259.9 369.1V369.1z"]}});var Qf={};function Kf(){return Qf}var td={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function ed(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const nd={date:ed({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:ed({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:ed({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var rd={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function od(t){return function(e,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,i=null!=n&&n.width?String(n.width):o;r=t.formattingValues[i]||t.formattingValues[o]}else{var a=t.defaultWidth,s=null!=n&&n.width?String(n.width):t.defaultWidth;r=t.values[s]||t.values[a]}return r[t.argumentCallback?t.argumentCallback(e):e]}}const id={ordinalNumber:function(t,e){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:od({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:od({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:od({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:od({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:od({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function ad(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],i=e.match(o);if(!i)return null;var a,s=i[0],u=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(u)?function(t,e){for(var n=0;n<t.length;n++)if(t[n].test(s))return n}(u):function(t,e){for(var n in t)if(t.hasOwnProperty(n)&&t[n].test(s))return n}(u);return a=t.valueCallback?t.valueCallback(c):c,{value:a=n.valueCallback?n.valueCallback(a):a,rest:e.slice(s.length)}}}var sd,ud={ordinalNumber:(sd={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(sd.matchPattern);if(!n)return null;var r=n[0],o=t.match(sd.parsePattern);if(!o)return null;var i=sd.valueCallback?sd.valueCallback(o[0]):o[0];return{value:i=e.valueCallback?e.valueCallback(i):i,rest:t.slice(r.length)}}),era:ad({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:ad({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:ad({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:ad({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:ad({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};const cd={code:"en-US",formatDistance:function(t,e,n){var r,o=td[t];return r="string"==typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:nd,formatRelative:function(t,e,n,r){return rd[t]},localize:id,match:ud,options:{weekStartsOn:0,firstWeekContainsDate:1}};var ld=["years","months","weeks","days","hours","minutes","seconds"];function fd(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function dd(t){fd(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"==typeof t&&"[object Date]"===e?new Date(t.getTime()):"number"==typeof t||"[object Number]"===e?new Date(t):("string"!=typeof t&&"[object String]"!==e||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function md(t,e){fd(2,arguments);var n=dd(t),r=dd(e),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}function hd(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function pd(t,e){if(fd(2,arguments),!e||"object"!=typeof e)return new Date(NaN);var n=e.years?hd(e.years):0,r=e.months?hd(e.months):0,o=e.weeks?hd(e.weeks):0,i=e.days?hd(e.days):0,a=e.hours?hd(e.hours):0,s=e.minutes?hd(e.minutes):0,u=e.seconds?hd(e.seconds):0,c=dd(t),l=r||n?function(t,e){fd(2,arguments);var n=dd(t),r=hd(e);if(isNaN(r))return new Date(NaN);if(!r)return n;var o=n.getDate(),i=new Date(n.getTime());return i.setMonth(n.getMonth()+r+1,0),o>=i.getDate()?i:(n.setFullYear(i.getFullYear(),i.getMonth(),o),n)}(c,r+12*n):c,f=i||o?function(t,e){fd(2,arguments);var n=dd(t),r=hd(e);return isNaN(r)?new Date(NaN):r?(n.setDate(n.getDate()+r),n):n}(l,i+7*o):l,d=1e3*(u+60*(s+60*a));return new Date(f.getTime()+d)}function gd(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}function yd(t){fd(1,arguments);var e=dd(t);return e.setHours(0,0,0,0),e}var vd=864e5;function wd(t,e){var n=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return n<0?-1:n>0?1:n}Math.pow(10,8);var bd=6e4,_d=36e5;function xd(t,e){return fd(2,arguments),dd(t).getTime()-dd(e).getTime()}var Cd={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},kd="trunc";function Sd(t){return t?Cd[t]:Cd[kd]}function Ed(t,e){fd(2,arguments);var n,r=dd(t),o=dd(e),i=md(r,o),a=Math.abs(function(t,e){fd(2,arguments);var n=dd(t),r=dd(e);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}(r,o));if(a<1)n=0;else{1===r.getMonth()&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-i*a);var s=md(r,o)===-i;(function(t){fd(1,arguments);var e=dd(t);return function(t){fd(1,arguments);var e=dd(t);return e.setHours(23,59,59,999),e}(e).getTime()===function(t){fd(1,arguments);var e=dd(t),n=e.getMonth();return e.setFullYear(e.getFullYear(),n+1,0),e.setHours(23,59,59,999),e}(e).getTime()})(dd(t))&&1===a&&1===md(t,o)&&(s=!1),n=i*(a-Number(s))}return 0===n?0:n}function Md(t){fd(1,arguments);var e=dd(t.start),n=dd(t.end);if(isNaN(e.getTime()))throw new RangeError("Start Date is invalid");if(isNaN(n.getTime()))throw new RangeError("End Date is invalid");var r={};r.years=Math.abs(function(t,e){fd(2,arguments);var n=dd(t),r=dd(e),o=md(n,r),i=Math.abs(function(t,e){fd(2,arguments);var n=dd(t),r=dd(e);return n.getFullYear()-r.getFullYear()}(n,r));n.setFullYear(1584),r.setFullYear(1584);var a=md(n,r)===-o,s=o*(i-Number(a));return 0===s?0:s}(n,e));var o=md(n,e),i=pd(e,{years:o*r.years});r.months=Math.abs(Ed(n,i));var a=pd(i,{months:o*r.months});r.days=Math.abs(function(t,e){fd(2,arguments);var n=dd(t),r=dd(e),o=wd(n,r),i=Math.abs(function(t,e){fd(2,arguments);var n=yd(t),r=yd(e),o=n.getTime()-gd(n),i=r.getTime()-gd(r);return Math.round((o-i)/vd)}(n,r));n.setDate(n.getDate()-o*i);var a=o*(i-Number(wd(n,r)===-o));return 0===a?0:a}(n,a));var s=pd(a,{days:o*r.days});r.hours=Math.abs(function(t,e,n){fd(2,arguments);var r=xd(t,e)/_d;return Sd(null==n?void 0:n.roundingMethod)(r)}(n,s));var u=pd(s,{hours:o*r.hours});r.minutes=Math.abs(function(t,e,n){fd(2,arguments);var r=xd(t,e)/bd;return Sd(null==n?void 0:n.roundingMethod)(r)}(n,u));var c=pd(u,{minutes:o*r.minutes});return r.seconds=Math.abs(function(t,e,n){fd(2,arguments);var r=xd(t,e)/1e3;return Sd(null==n?void 0:n.roundingMethod)(r)}(n,c)),r}function Nd(t){const e=qe();if(Ze(t,e)>0)return"1 minute ago";{const n=function(t,e){var n,r,o,i,a;if(arguments.length<1)throw new TypeError("1 argument required, but only ".concat(arguments.length," present"));var s=Kf(),u=null!==(n=null!==(r=null==e?void 0:e.locale)&&void 0!==r?r:s.locale)&&void 0!==n?n:cd,c=null!==(o=null==e?void 0:e.format)&&void 0!==o?o:ld,l=null!==(i=null==e?void 0:e.zero)&&void 0!==i&&i,f=null!==(a=null==e?void 0:e.delimiter)&&void 0!==a?a:" ";if(!u.formatDistance)return"";var d=c.reduce((function(e,n){var r="x".concat(n.replace(/(^.)/,(function(t){return t.toUpperCase()}))),o=t[n];return"number"==typeof o&&(l||t[n])?e.concat(u.formatDistance(r,o)):e}),[]).join(f);return d}(function(t){return t.years>0?{days:0,hours:0,minutes:0,months:0,seconds:0,weeks:0,years:t.years}:t.months>0?{days:0,hours:0,minutes:0,months:t.months,seconds:0,weeks:0,years:0}:t.weeks>0?{days:0,hours:0,minutes:0,months:0,seconds:0,weeks:t.weeks,years:0}:t.days>0?{days:t.days,hours:0,minutes:0,months:0,seconds:0,weeks:0,years:0}:t.hours>0?{days:0,hours:t.hours,minutes:0,months:0,seconds:0,weeks:0,years:0}:t.minutes>0?{days:0,hours:0,minutes:t.minutes,months:0,seconds:0,weeks:0,years:0}:t.seconds>0?{days:0,hours:0,minutes:0,months:0,seconds:t.seconds,weeks:0,years:0}:{days:0,hours:0,minutes:1,months:0,seconds:0,weeks:0,years:0}}(Md({end:e,start:t})));return`${n} ago`}}function Od(t){let e;const n=t=>d("td",{className:yn(" ",["px-6","py-4","whitespace-nowrap"]),children:_r.Children.toArray(Array.from(t))}),r=t=>d("div",{className:yn(" ",["text-sm","text-gray-500"]),children:t}),o=t=>n([r(t)]),i=(t,e)=>n([d("div",{className:yn(" ",["text-sm","text-gray-900"]),children:t}),r(e)]),a=o("---"),s=Eu(t);return d("tbody",ce(Wn([["className",yn(" ",["bg-white","divide-y","divide-gray-200"])],(e=cr(ar((()=>br((t=>{let e,u;const c=0|jn(t.Configuration.Steps);return u=1===c?"1 step":`${c} steps`,ur(d("tr",ce(Wn([["className",yn(" ",["hover:bg-gray-50"])],(e=cr(ar((()=>{let e;return dr((e=t.Profile.ExternalId,ur(null==e?a:o(e))),ar((()=>{let e;return dr(ur((e=`${t.Profile.FirstName} ${t.Profile.LastName}`,n([d("div",{className:yn(" ",["text-sm","font-medium","text-gray-900"]),children:e}),r(t.Profile.Email)]))),ar((()=>{let e,r;return dr((e=t.Creator,null==e?ur(a):(r=e,ur(i(`${r.FirstName} ${r.LastName}`,r.Email)))),ar((()=>{let e,r,c,l;return dr(ur((e=t,r=function(t){switch(t.Status.tag){case 1:return"In progress";case 2:return"Completed";case 3:return"Abandoned";default:return"Not started"}}(e),l=e.Status,c=1===l.tag?Wn(["bg-blue-100","text-blue-800"]):2===l.tag?Wn(["bg-green-100","text-green-800"]):3===l.tag?Wn(["bg-gray-100","text-gray-800"]):Wn(["bg-yellow-100","text-yellow-800"]),n([d("span",{className:yn(" ",cr(ar((()=>dr(ur("px-2"),ar((()=>dr(ur("inline-flex"),ar((()=>dr(ur("text-xs"),ar((()=>dr(ur("leading-5"),ar((()=>dr(ur("font-semibold"),ar((()=>dr(ur("rounded"),ar((()=>c)))))))))))))))))))))),children:r})]))),ar((()=>dr(br((e=>{const n=Vn((t=>t.Name===e),t.Tags);return ur(null==n?a:o(n.Value))}),s),ar((()=>dr(ur(i(t.Configuration.Name,u)),ar((()=>{let e;return dr((e=t.Invite,ur(null==e?a:o(Nd(e.DateIssued)))),ar((()=>dr(ur(o(Nd(t.LastUpdated))),ar((()=>ur(o(function(t){const e=t.Status;switch(e.tag){case 1:{const n=function(t){t:for(;;){const e=t;if(Mn(e))return;{const n=An(e);if(Mn(n))return Oe(On(e));t=n;continue t}}}(e.fields[0].CompletedSteps);if(null!=n){const e=n,r=Vn((t=>t.Id===e.Type),t.Configuration.Steps);return null==r?"A step was completed":`${r.DisplayName} step completed`}return"Workflow started"}case 2:return"Workflow completed";case 3:return"Workflow abandoned";default:return null==t.Invite?"Workflow created":"Invite sent"}}(t)))))))))})))))))))})))})))})))}))),["children",_r.Children.toArray(Array.from(e))])]))))}),t.Data)))),["children",_r.Children.toArray(Array.from(e))])])))}function Ad(t){let e;const n=(r=t.backendUrl,o=t.accessToken,new Bs(r,o));var r,o;const i=function(t,e,n){return du((()=>au(t,e,((t,e)=>{}))),[])}(Ou,Au),a=i[0],s=i[1];return Mr(function(t,e){const n=Or(new yo(!1));return Nr((()=>kr((()=>{n.current.cancel()})))),Ar((r=>{var o;null!=(o=n.current)&&o.isCancelled||Mo(_o.Delay((()=>_o.TryWith(_o.Delay((()=>(e(new No(1)),_o.Bind(t(r),(t=>(e(new No(2,t)),_o.Zero())))))),(t=>(e(new No(3,t)),_o.Zero()))))),n.current)}))}((()=>Ys(n)),(t=>{s(new ku(0,t))}))),d("div",ce(Pn((e=cr(ar((()=>{const t=a.ProcessInstanceList;switch(t.tag){case 1:default:return ur(d("p",{children:["Loading..."]}));case 2:{const e=t.fields[0];return dr(ur(function(t,e,n){let r;const o=Pn(d("nav",ce(Wn([["className",yn(" ",["flex","space-x-4","p-1","mb-5","bg-gray-50"])],(r=cr(ar((()=>Yn((r=>{let o,i,a;const s=0|jn(Mu(r,e).Data),u=d("span",ce(Wn([["className",yn(" ",cr(ar((()=>{if(!re(r,t))return ar((()=>new Array(0)));switch(r.tag){case 1:return ur("text-green-500");case 2:return ur("text-blue-500");case 3:return ur("text-yellow-500");default:return ur("text-gray-800")}}))))],(o=cr(ar((()=>1===r.tag?ur(Jf):2===r.tag?ur(Xf):3===r.tag?ur(Zf):ur(qf)))),["children",_r.Children.toArray(Array.from(o))])])));return d("a",ce(Wn([["className",yn(" ",cr(ar((()=>dr(ur("flex-1"),ar((()=>dr(ur("px-3"),ar((()=>dr(ur("py-2"),ar((()=>dr(ur("font-medium"),ar((()=>dr(ur("text-sm"),ar((()=>dr(ur("rounded-md"),ar((()=>dr(ur("text-center"),ar((()=>dr(ur("space-x-2"),ar((()=>re(r,t)?dr(ur("bg-white"),ar((()=>dr(ur("text-gray-800"),ar((()=>dr(ur("filter"),ar((()=>ur("drop-shadow")))))))))):dr(ur("text-gray-600"),ar((()=>dr(ur("hover:bg-gray-100"),ar((()=>ur("cursor-pointer")))))))))))))))))))))))))))))))))))],["onClick",t=>{n(r)}],(i=[u,(a=Cu(r),d("span",{children:[a]})),d("span",{className:yn(" ",["text-gray-400"]),children:`(${s})`})],["children",_r.Children.toArray(Array.from(i))])])))}),Wn([new xu(0),new xu(1),new xu(2),new xu(3)]))))),["children",_r.Children.toArray(Array.from(r))])]))));return d("div",{children:_r.Children.toArray(Array.from(o))})}(a.SelectedStatusTab,e,(t=>{s(new ku(1,t))}))),ar((()=>{const t=Mu(a.SelectedStatusTab,e);return ur(function(t,e){let n,r,o,i;return d("div",ce(Wn([["className",yn(" ",["flex","flex-col"])],(n=[d("div",ce(Wn([["className",yn(" ",["-my-2","overflow-x-auto","-mx-6"])],(r=[d("div",ce(Wn([["className",yn(" ",["py-2","align-middle","inline-block","min-w-full","px-6"])],(o=[d("div",ce(Wn([["className",yn(" ",["shadow","overflow-hidden","border-b","border-gray-200","sm:rounded-lg"])],(i=[d("table",{className:yn(" ",["min-w-full","divide-y","divide-gray-200"]),children:_r.Children.toArray([t,e])})],["children",_r.Children.toArray(Array.from(i))])])))],["children",_r.Children.toArray(Array.from(o))])])))],["children",_r.Children.toArray(Array.from(r))])])))],["children",_r.Children.toArray(Array.from(n))])])))}(function(t){let e,n;return d("thead",ce(Wn([["className",yn(" ",["bg-gray-50"])],(e=[(n=cr(ar((()=>Yn((t=>d("th",{scope:"col",className:yn(" ",["px-6","py-3","text-left","text-xs","font-medium","text-gray-500","uppercase","tracking-wider"]),children:t})),t)))),d("tr",{children:_r.Children.toArray(Array.from(n))}))],["children",_r.Children.toArray(Array.from(e))])])))}(cr(ar((()=>dr(ur("Ext. ID"),ar((()=>dr(ur("Onboarder"),ar((()=>dr(ur("Manager"),ar((()=>dr(ur("Status"),ar((()=>dr(Eu(t),ar((()=>dr(ur("Workflow"),ar((()=>dr(ur("Invited"),ar((()=>dr(ur("Updated"),ar((()=>ur("Last Action"))))))))))))))))))))))))))))),Od(t)))})))}case 3:return ur(d("p",{children:["There was an error loading. Please try refreshing this page."]}))}}))),["children",_r.Children.toArray(Array.from(e))]))))}class Id extends xe{constructor(t,e,n){super(),this.model=t,this.render=e,this.equal=n}}class Td extends p{constructor(t){super(t)}shouldComponentUpdate(t,e){return!this.props.equal(this.props.model,t.model)}render(){return this.props.render()}}function Pd(t){return t}const Dd=null;function jd(t){return Array.from(t)}function Rd(t){return $e(t,"O")}function Ld(t){return function(t,e="c",n){if(-1===["c","g","G"].indexOf(e))throw new Error("Custom formats are not supported");const r=Math.abs(function(t){return Ra(t/864e5)}(t)),o=Math.abs(function(t){return Ra(t%864e5/36e5)}(t)),i=Math.abs(function(t){return Ra(t%36e5/6e4)}(t)),a=Math.abs(function(t){return Ra(t%6e4/1e3)}(t)),s=Math.abs(function(t){return Ra(t%1e3)}(t));return`${t<0?"-":""}${0!==r||"c"!==e&&"g"!==e?"c"===e?r+".":r+":":""}${"g"===e?o:Vt(o,2)}:${Vt(i,2)}:${Vt(a,2)}${0!==s||"c"!==e&&"g"!==e?"g"===e?"."+Vt(s,3):"."+function(t,e,n){let r=t.toString(10);for(;r.length<3;)r="0"+r;for(;r.length<7;)r+="0";return r}(s):""}`}(t)}function Fd(){return null}function Ud(t){return $e(t,"O")}function zd(t,e){return JSON.stringify(e,fe(2,null),Oe(t))}function Gd(t,e,n,r){const o=new Ce(null);let i;const a=Br(r);let s;if(i=""===a?t:ki(a,o,t),oo(r)){const t=Fe((t=>{const r=Ui(e,$r(t)),o=Hd(i,e,n,t[1]);return e=>i=>{const a=function(t,e){return t[e[0]]}(e,t);return(!n||n&&null!=a)&&(i[r]=o(a)),i}}),eo(r));s=e=>hr(((t,n)=>n(e)(t)),{},t)}else{if(!ro(r)){let t;const e=Br(r);throw t=mn(fn("Cannot generate auto encoder for %s. Please pass an extra encoder.\n\nDocumentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders"))(e),new Error(t)}s=t=>{const o=function(t,e){const n=to(e)[t.tag];if(null==n)throw new Error(`Cannot find case ${t.name} in union type`);return[n,t.fields]}(t,r),a=o[0],s=o[1],u=0|s.length;if(0===u)return $r(a);{const t=0|u,r=ao(a),o=Le(new Array(t+1),0,t+1,null);o[0]=$r(a);for(let a=1;a<=t;a++){const t=Hd(i,e,n,r[a-1][1]);o[a]=t(s[a-1])}return o}}}return o.contents=s,s}function Hd(t,e,n,r){const o=Br(r),i=Si(o,t);if(null==i){if(Yr(r)){const o=Hd(t,e,n,Vr(r));return t=>jd(gr(o,t))}if(Jr(r)){const t=Br(Zr(r));if("System.SByte"===t)return t=>t;if("System.Byte"===t)return t=>t;if("System.Int16"===t)return t=>t;if("System.UInt16"===t)return t=>t;if("System.Int32"===t)return t=>t;if("System.UInt32"===t)return t=>t;{const t=Br(r);return hn(fn("Cannot generate auto encoder for %s.\nThoth.Json.Net only support the following enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\n\nIf you can't use one of these types, please pass an extra encoder.\n\nDocumentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders\n "))(t)}}if(qr(r)){if(io(r)){const o=Fe((r=>Hd(t,e,n,r)),no(r));return t=>{return jd((e=(t,e)=>o[t](e),n=t,fr((()=>ir(n)),((t,n)=>n["System.Collections.IEnumerator.MoveNext"]()?Oe(e(t,n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(t=>{Gt(t)}))));var e,n}}{const o=Br(Xr(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===o){const o=new Yt((()=>{return o=Hd(t,e,n,Pr(r)[0]),t=>{return n=()=>Dd,null!=(e=De(o,t))?Ae(e):n();var e,n};var o}));return t=>null==t?Dd:o.Value(t)}if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===o||"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===o||"System.Collections.Generic.IEnumerable`1[System.Object]"===o){const o=Hd(t,e,n,Pr(r)[0]);return t=>jd(gr(o,t))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===o){const o=Pr(r)[0],i=Hd(t,e,n,Pr(r)[1]);if("System.String"===Br(o)||"System.Guid"===Br(o))return t=>hr(((t,e)=>{const n=e;return t[n[0]]=i(n[1]),t}),{},t);{let r;const a=Hd(t,e,n,o);return r=a,t=>jd(gr((t=>{const e=t;return[r(e[0]),i(e[1])]}),t))}}return Gd(t,e,n,r)}}return"System.Boolean"===o?t=>t:"Microsoft.FSharp.Core.Unit"===o?Fd:"System.String"===o?t=>t:"System.Char"===o?t=>t:"System.SByte"===o?t=>t:"System.Byte"===o?t=>t:"System.Int16"===o?t=>t:"System.UInt16"===o?t=>t:"System.Int32"===o?t=>t:"System.UInt32"===o?t=>t:"System.Double"===o?t=>t:"System.Single"===o?t=>t:"System.DateTime"===o?Ud:"System.DateTimeOffset"===o?Rd:"System.TimeSpan"===o?Ld:"System.Guid"===o?Pd:"System.Object"===o?t=>t:Gd(t,e,n,r)}{const t=i;return e=>t.contents(e)}}function Wd(t,e,n,r){const o=Pe(e,new ji(0)),i=Pe(r,!0);return Hd(function(t){return null!=t?Ei(((t,e)=>new Ce(e[0])),t.Coders):Mi()}(n),o,i,t)}class $d extends ge{constructor(t,...e){super(),this.tag=0|t,this.fields=e}cases(){return["Started","Finished"]}}function Bd(t){const e=encodeURIComponent(t.fields[0]),n=encodeURIComponent(To),r=encodeURIComponent(Do);return _o.Delay((()=>{let t,o,i;const a=Pi((o=Ii(new Go(1),Ai(`${Ao}/connect/token`)),t=Ti(new Ho(0,"Content-Type","application/x-www-form-urlencoded"),o),s=new Wo(1,`grant_type=authorization_code&code=${e}&client_id=${n}&redirect_uri=${r}`),new $o((u=t).url,u.method,u.headers,u.withCredentials,u.overridenMimeType,u.overridenResponseType,u.timeout,s)));var s,u;return i=_o.Bind(a,(t=>_o.Return(new xo(0,t)))),_o.Bind(i,(t=>{const e=t;if(1===e.tag)return _o.Return(new xo(1,e.fields[0]));{const t=e.fields[0];if(200===t.statusCode){const e=hs(fe(2,Ps(co(),void 0,void 0)),t.responseText);return _o.Return(e)}return _o.Return(new xo(1,"Unexpected result from backend"))}}))}))}function Yd(t,e){let n;return 1===t.fields[0].tag?1===t.fields[0].fields[0].tag?[new No(2,new xo(1,`SignIn failed: ${t.fields[0].fields[0].fields[0]}`)),Zs()]:[new No(2,new xo(0,t.fields[0].fields[0].fields[0])),(n=window.location.pathname,r=t=>{!function(t,e,n){history.pushState(void 0,"",ho(t,2));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}(Pn(n))},Pn(r))]:[new No(1),tu((t=>{!function(t){!function(t,e){let n,r=new qs(t);r.AutoReset=!1,n=r,function(t,e){e.Subscribe(new Js(t))}(e,n.Elapsed()),n.Enabled=!0,n.Start()}(0,(e=>{Mo(t)}))}(t)}),Bd,t.fields[1],(e=>{const n=[new $d(1,e),t.fields[1]];return new lo(0,n[0],n[1])}),(e=>{const n=[new $d(1,new xo(1,e.message)),t.fields[1]];return new lo(0,n[0],n[1])}))];var r}function Vd(){let t,e;const n=Ie(document.getElementById("external-loading-page-container"));pr((e=document.body,t=t=>e.removeChild(t),e=>{t(e)}),Te(n))}function qd(t,e){const n=function(t){return[new No(0),Ks(new lo(0,new $d(0),t))]}(e);return[new Fo(t.CurrentPage,n[0],t.AppMode),Qs((t=>new Uo(1,t)),n[1])]}function Jd(t){let e;const n=t.dispatch,r=t.state;Mr((()=>{window.addEventListener("progressComponentReady",(t=>{n(new Uo(3))}))}));const o=d("div",ce(Wn([["className",yn(" ",["bg-white","p-6","overflow-x-hidden"])],(e=cr(ar((()=>{switch(r.CurrentPage.tag){case 1:return ur(function(){let t,e,n,r,o,i,a,s;return d("div",ce(Wn([["className",yn(" ",["h-screen"])],(t=[d("div",ce(Wn([["className",yn(" ",["h-full","flex","justify-center","items-center"])],(e=[d("div",ce(Wn([["className",yn(" ",["border","rounded-lg","shadow-md","sm:max-w-md","p-8","text-center"])],(n=[(r=Wn([(o=Wn([d("h4",{className:yn(" ",["text-2xl","my-4","text-green-700"]),children:"Your identity is confirmed"}),d("p",{className:yn(" ",["mt-3","mb-5","text-gray-500"]),children:"You will be redirected in a moment."})]),d("div",{children:_r.Children.toArray(Array.from(o))})),d("p",ce(Wn([["className",yn(" ",["mt-16","text-gray-400","text-right","text-xs"])],(i=[(a=`Flare HR Pty Ltd © 2015-${s=Je(),Xe(s)}`,d("small",{children:[a]}))],["children",_r.Children.toArray(Array.from(i))])])))]),d("div",{children:_r.Children.toArray(Array.from(r))}))],["children",_r.Children.toArray(Array.from(n))])])))],["children",_r.Children.toArray(Array.from(e))])])))],["children",_r.Children.toArray(Array.from(t))])])))}());case 2:return ur(d(zo,null));default:{const t=r.Credentials;let e,n;switch(2===t.tag&&0===t.fields[0].tag?(e=0,n=t.fields[0].fields[0]):e=1,e){case 0:return ur(d(Ad,{accessToken:n.access_token,backendUrl:Io}));case 1:return ur(d("h1",{children:["There was an error signing you in. Please try sign in again."]}))}}}}))),["children",_r.Children.toArray(Array.from(e))])])));return go({hashMode:2,onUrlChanged:t=>{n(new Uo(0,t))},application:d(h,{},o)})}var Xd;!function(t){uu(void 0,t)}(("workflows-progress-app",Xd=au((function(){const t=Lo(po(window.location.pathname+window.location.search,2)),e=re(window.location,window.parent.location)?new jo(1):new jo(0),n=new Fo(t,new No(0),e);let r;switch(r=1===t.tag?0:0===t.tag&&re(e,new jo(1))?1:2,r){case 0:return qd(n,t.fields[0]);case 1:{const t=(o=t=>{return 1===(e=hs(fe(2,Ps(co(),void 0,void 0)),t)).tag?void 0:Oe(e.fields[0]);var e},null!=(i=Ie(window.sessionStorage.getItem("credentials")))?o(Ae(i)):void 0);return null==t?[n,Ks(new Uo(2))]:[new Fo(n.CurrentPage,new No(2,new xo(0,t)),n.AppMode),Zs()]}case 2:return[n,Ks(new Uo(2))]}var o,i}),(function(t,e){switch(t.tag){case 1:{const n=Yd(t.fields[0],e.Credentials),r=n[0],o=[r,e.AppMode];let i,a;return 2===o[0].tag&&0===o[0].fields[0].tag&&1===o[1].tag?(i=0,a=o[0].fields[0].fields[0]):i=1,0===i&&function(t){let e;const n=["credentials",(e=new uo(t.id_token,t.access_token,t.expires_in,void 0,t.scope,t.token_type),zd(0,Wd(co(),void 0,void 0,void 0)(e)))];window.sessionStorage.setItem(n[0],n[1])}(a),[new Fo(e.CurrentPage,r,e.AppMode),Qs((t=>new Uo(1,t)),n[1])]}case 2:return Vd(),[new Fo(new Ro(2),e.Credentials,e.AppMode),Zs()];case 3:return Vd(),[e,Zs()];default:{const n=Lo(t.fields[0]),r=new Fo(n,e.Credentials,e.AppMode);return 1===n.tag?qd(r,n.fields[0]):[r,Zs()]}}}),((t,e)=>d(Jd,{state:t,dispatch:e}))),function(t,e,n){return su(((r,o)=>{Et(t((t=>e=>t===e),function(t){return me(2,t.view)}(n),r,o),document.getElementById(e))}),n)}(((t,e,n,r)=>function(t,e,n,r){const o=new Id(n,(()=>e(n,r)),t);return d(Td,o)}(fe(2,t),fe(2,e),n,r)),"workflows-progress-app",Xd)))})()})();