@flarehr/workflows-app 2.49.1 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/workflows-app.js +1 -1
- package/package.json +2 -2
package/dist/workflows-app.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see workflows-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={},c=[],u=/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 h(t,s,o,i,null)}function h(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 m(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 w(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 w(e)}}function v(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!y.__r++||i!==t.debounceRendering)&&((i=t.debounceRendering)||setTimeout)(y)}function y(){for(var e;y.__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,A(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&&w(o)))}))}function b(e,t,n,r,o,i,a,u,l,f){var d,p,w,v,y,b,C,k=r&&r.__k||c,S=k.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(v=n.__k[d]=null==(v=t[d])||"boolean"==typeof v?null:"string"==typeof v||"number"==typeof v||"bigint"==typeof v?h(null,v,null,null,v):Array.isArray(v)?h(m,{children:v},null,null,null):v.__b>0?h(v.type,v.props,v.key,null,v.__v):v)){if(v.__=n,v.__b=n.__b+1,null===(w=k[d])||w&&v.key==w.key&&v.type===w.type)k[d]=void 0;else for(p=0;p<S;p++){if((w=k[p])&&v.key==w.key&&v.type===w.type){k[p]=void 0;break}w=null}A(e,v,w=w||s,o,i,a,u,l,f),y=v.__e,(p=v.ref)&&w.ref!=p&&(C||(C=[]),w.ref&&C.push(w.ref,null,v),C.push(p,v.__c||y,v)),null!=y?(null==b&&(b=y),"function"==typeof v.type&&v.__k===w.__k?v.__d=l=_(v,l,e):l=x(e,v,w,k,y,l),"function"==typeof n.type&&(n.__d=l)):l&&w.__e==l&&l.parentNode!=e&&(l=g(w))}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)),M(k[d],k[d]));if(C)for(d=0;d<C.length;d++)N(C[d],C[++d],C[++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):x(n,r,r,o,r.__e,t));return t}function C(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){C(e,t)})):t.push(e)),t}function x(e,t,n,r,o,i){var a,s,c;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,c=0;(s=s.nextSibling)&&c<r.length;c+=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||u.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?E:I,i):e.removeEventListener(t,i?E:I,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 I(e){this.l[e.type+!1](t.event?t.event(e):e)}function E(e){this.l[e.type+!0](t.event?t.event(e):e)}function A(e,n,r,o,i,a,s,c,u){var f,d,h,g,w,v,y,_,C,x,k,S,I,E=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(u=r.__h,c=n.__e=r.__e,n.__h=null,a=[c]),(f=t.__b)&&f(n);try{e:if("function"==typeof E){if(_=n.props,C=(f=E.contextType)&&o[f.__c],x=f?C?C.props.value:f.__:o,r.__c?y=(d=n.__c=r.__c).__=d.__E:("prototype"in E&&E.prototype.render?n.__c=d=new E(_,x):(n.__c=d=new p(_,x),d.constructor=E,d.render=P),C&&C.sub(d),d.props=_,d.state||(d.state={}),d.context=x,d.__n=o,h=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=E.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=l({},d.__s)),l(d.__s,E.getDerivedStateFromProps(_,d.__s))),g=d.props,w=d.state,h)null==E.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==E.getDerivedStateFromProps&&_!==g&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(_,x),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(_,d.__s,x)||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,x),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(g,w,v)}))}if(d.context=x,d.props=_,d.__v=n,d.__P=e,k=t.__r,S=0,"prototype"in E&&E.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())),h||null==d.getSnapshotBeforeUpdate||(v=d.getSnapshotBeforeUpdate(g,w)),I=null!=f&&f.type===m&&null==f.key?f.props.children:f,b(e,Array.isArray(I)?I:[I],n,r,o,i,a,s,c,u),d.base=n.__e,n.__h=null,d.__h.length&&s.push(d),y&&(d.__E=d.__=null),d.__e=!1}else null==a&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=T(r.__e,n,r,o,i,a,s,u);(f=t.diffed)&&f(n)}catch(e){n.__v=null,(u||null!=a)&&(n.__e=c,n.__h=!!u,a[a.indexOf(c)]=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 T(t,n,r,o,i,a,c,u){var l,d,h,m=r.props,p=n.props,w=n.type,v=0;if("svg"===w&&(i=!0),null!=a)for(;v<a.length;v++)if((l=a[v])&&"setAttribute"in l==!!w&&(w?l.localName===w:3===l.nodeType)){t=l,a[v]=null;break}if(null==t){if(null===w)return document.createTextNode(p);t=i?document.createElementNS("http://www.w3.org/2000/svg",w):document.createElement(w,p.is&&p),a=null,u=!1}if(null===w)m===p||u&&t.data===p||(t.data=p);else{if(a=a&&e.call(t.childNodes),d=(m=r.props||s).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!u){if(null!=a)for(m={},v=0;v<t.attributes.length;v++)m[t.attributes[v].name]=t.attributes[v].value;(h||d)&&(h&&(d&&h.__html==d.__html||h.__html===t.innerHTML)||(t.innerHTML=h&&h.__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,m,i,u),h)n.__k=[];else if(v=n.props.children,b(t,Array.isArray(v)?v:[v],n,r,o,i&&"foreignObject"!==w,a,c,a?a[0]:r.__k&&g(r,0),u),null!=a)for(v=a.length;v--;)null!=a[v]&&f(a[v]);u||("value"in p&&void 0!==(v=p.value)&&(v!==t.value||"progress"===w&&!v||"option"===w&&v!==m.value)&&S(t,"value",v,m.value,!1),"checked"in p&&void 0!==(v=p.checked)&&v!==t.checked&&S(t,"checked",v,m.checked,!1))}return t}function N(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function M(e,n,r){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||N(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]&&M(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,c;t.__&&t.__(n,r),a=(i="function"==typeof o)?null:o&&o.__k||r.__k,c=[],A(r,n=(!i&&o||r).__k=d(m,null,[n]),a||s,s,void 0!==r.ownerSVGElement,!i&&o?[o]:a?null:r.firstChild?e.call(r.childNodes):null,c,!i&&o?o:a?a.__e:r.firstChild,i),O(c,n)}function R(e,t){D(e,t,R)}function B(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),h(t.type,s,o||t.key,i||t.ref,null)}e=c.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),v(this))},p.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),v(this))},p.prototype.render=m,o=[],y.__r=0,a=0;var j,L,U,F,z=0,G=[],H=[],V=t.__b,W=t.__r,Z=t.diffed,$=t.__c,Y=t.unmount;function q(e,n){t.__h&&t.__h(L,e,z||n),z=0;var r=L.__H||(L.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:H}),r.__[e]}function X(e){return z=1,J(ae,e)}function J(e,t,n){var r=q(j++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ae(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=L,!L.u)){L.u=!0;var o=L.shouldComponentUpdate;L.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 K(e,n){var r=q(j++,3);!t.__s&&ie(r.__H,n)&&(r.__=e,r.i=n,L.__H.__h.push(r))}function Q(e,n){var r=q(j++,4);!t.__s&&ie(r.__H,n)&&(r.__=e,r.i=n,L.__h.push(r))}function ee(e,t){var n=q(j++,7);return ie(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function te(){for(var e;e=G.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){L=null,V&&V(e)},t.__r=function(e){W&&W(e),j=0;var t=(L=e.__c).__H;t&&(U===L?(t.__h=[],L.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=H,e.__N=e.i=void 0}))):(t.__h.forEach(re),t.__h.forEach(oe),t.__h=[])),U=L},t.diffed=function(e){Z&&Z(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==G.push(n)&&F===t.requestAnimationFrame||((F=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!==H&&(e.__=e.__V),e.i=void 0,e.__V=H}))),U=L=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)}})),$&&$(e,n)},t.unmount=function(e){Y&&Y(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=L,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),L=t}function oe(e){var t=L;e.__c=e.__(),L=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 ce(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function ue(e){this.props=e}(ue.prototype=new p).isPureReactComponent=!0,ue.prototype.shouldComponentUpdate=function(e,t){return ce(this.props,e)||ce(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:C(C(e).map(t))},he={map:de,forEach:de,count:function(e){return e?C(e).length:0},only:function(e){var t=C(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:C},me=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);me(e,t,n,r)};var pe=t.unmount;function ge(){this.__u=0,this.t=null,this.__b=null}function we(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ve(){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=we(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()}},c=!0===t.__h;r.__u++||c||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(m,null,e.fallback);return o&&(o.__h=null),[d(m,null,t.__a?null:e.children),o]};var ye=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()}(ve.prototype=new p).__a=function(e){var t=this,n=we(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),ye(t,e,r)):o()};n?n(i):i()}},ve.prototype.render=function(e){this.u=null,this.o=new Map;var t=C(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},ve.prototype.componentDidUpdate=ve.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){ye(e,n,t)}))};var Ce="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,xe=/^(?: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 Ie(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 Ee=t.event;function Ae(){}function Oe(){return this.cancelBubble}function Te(){return this.defaultPrevented}t.event=function(e){return Ee&&(e=Ee(e)),e.persist=Ae,e.isPropagationStopped=Oe,e.isDefaultPrevented=Te,e.nativeEvent=e};var Ne,Me={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&&xe.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=C(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=C(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&&(Me.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Me))}e.$$typeof=Ce,Pe&&Pe(e)};var De=t.__r;t.__r=function(e){De&&De(e),Ne=e.__c};var Re={ReactCurrentDispatcher:{current:{readContext:function(e){return Ne.__n[e.__c].props.value}}}};function Be(e){return!!e&&e.$$typeof===Ce}function je(e){e()}const Le={useState:X,useReducer:J,useEffect:K,useLayoutEffect:Q,useInsertionEffect:Q,useTransition:function(){return[!1,je]},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 Q((function(){o.__=n,o.h=t,o.__!==t()&&i({s:o})}),[e,n,t]),K((function(){return o.__!==o.h()&&i({s:o}),e((function(){o.__!==o.h()&&i({s:o})}))}),[e]),n},startTransition:je,useRef:function(e){return z=5,ee((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){z=6,Q((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 z=8,ee((function(){return e}),t)},useContext:function(e){var t=L.context[e.__c],n=q(j++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(L)),t.props.value):e.__},useDebugValue:function(e,n){t.useDebugValue&&t.useDebugValue(n?n(e):e)},version:"17.0.2",Children:he,render:Ie,hydrate:function(e,t,n){return R(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(v)},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 Be(e)?B.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:m,isValidElement:Be,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:p,PureComponent:ue,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:ce(this.props,e)}function r(t){return this.shouldComponentUpdate=n,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:m,Suspense:ge,SuspenseList:ve,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:Re};function Ue(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Fe(e){return"function"==typeof e.GetHashCode}function ze(e){return null!=e&&"function"==typeof e.Dispose}function Ge(e){ze(e)&&e.Dispose()}function He(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 Ve{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 We(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new Ve(e[Symbol.iterator]())}function Ze(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 $e{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 Ye(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 Xe(e,t){return(e=e<0&&null!=t&&10!==t?4294967295+e+1:e).toString(t)}class Je{static id(e){return Je.idMap.has(e)||Je.idMap.set(e,++Je.count),Je.idMap.get(e)}}function Ke(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 et(e){return 0===e.length?0:e.reduce(((e,t)=>(e<<5)+e^t))}function tt(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 Ke(e);default:if(Fe(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]=tt(e[r]);return et(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=>tt(e)));return et(t)}return Qe(Je.id(e))}}function nt(e){return null==e?0:Fe(e)?e.GetHashCode():Qe(Je.id(e))}function rt(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 ot(e,t){return rt(e,t,it)}function it(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)&&ot(e,t):e instanceof Date?t instanceof Date&&0===at(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]||!it(e[n[o]],t[r[o]]))return!1;return!0}(e,t)))}function at(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 st(e,t){return e===t?0:e<t?-1:1}function ct(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,ut)}function ut(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)?ct(e,t):-1:e instanceof Date?t instanceof Date?at(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=ut(e[a],t[a]),0!==i)return i}return 0}(e,t):-1}function lt(e,t,n){return e(t,n)>0?t:n}function ft(e){const t={};for(const n of e)t[n[0]]=n[1];return t}Je.idMap=new WeakMap,Je.count=0;const dt=Symbol("curried");function ht(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[dt]=t,n}function mt(e,t,n){return r=>1===t?n(...e.concat([r])):mt(e.concat([r]),t-1,n)}function pt(e,t){return null==t||1===t.length?t:dt in t?t[dt]:mt([],e,t)}function gt(e,t,n){if(null!=t){if(dt in t){t=t[dt];for(let e=0;e<n.length;e++)t=t(n[e]);return t}return mt(n,e,t)}}function wt(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+Ye(~~(e/36e5),2)+":"+Ye(n,2)}function vt(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 yt(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 bt(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," ")+wt(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==t.length)return yt(i,t,!0);switch(t){case"D":case"d":return vt(i,"first");case"T":case"t":return vt(i,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+wt(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 yt(e,t,n);switch(t){case"D":case"d":return n?vt(e,"first"):e.toLocaleDateString();case"T":case"t":return n?vt(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 Ye(e.getFullYear(),4)+"-"+Ye(e.getMonth()+1,2)+"-"+Ye(e.getDate(),2)+"T"+Ye(e.getHours(),2)+":"+Ye(e.getMinutes(),2)+":"+Ye(e.getSeconds(),2)+"."+Ye(e.getMilliseconds(),3)+(t?wt(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}function _t(e,t){const n=new Date(e);return n.kind=0|(null==t?0:t),n}function Ct(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 xt(e,t){try{return t.contents=function(e,t=!1){const[n,r]=Ct(e),o=null!=r?t&&"Z"===r?1:2:0;return _t(n.getTime(),o)}(e),!0}catch(e){return!1}}function kt(){return function(e){return function(e,t,n,r=0,o=0,i=0,a=0,s){const c=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(c))throw new Error("The parameters describe an unrepresentable Date.");const u=_t(c,s);return e<=99&&u.setFullYear(e,t-1,n),u}(St(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)}(_t(Date.now(),2))}function St(e){return 1===e.kind?e.getUTCFullYear():e.getFullYear()}const It=Symbol("numeric");function Et(e){return"number"==typeof e||(null==e?void 0:e[It])}function At(e,t){return"number"==typeof e?e*t:e[It]().multiply(t)}function Ot(e,t){return"number"==typeof e?e.toFixed(t):e[It]().toFixed(t)}function Tt(e,t){return"number"==typeof e?e.toPrecision(t):e[It]().toPrecision(t)}function Nt(e,t){return"number"==typeof e?e.toExponential(t):e[It]().toExponential(t)}function Mt(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[It]().toHex()}function Pt(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)}function Dt(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Rt(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}function Bt(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+=Bt(r);else{if(100===t){n+="; ...";break}n+="; "+Bt(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+" = "+Bt(n,t+1))).join("\n ")+" }":null!==(r=null==o?void 0:o.name)&&void 0!==r?r:""}}return String(e)}class jt{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=Bt(t[0]),r=n.indexOf(" ")>=0):n=t.map((e=>Bt(e))).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>tt(e)));return e.splice(0,0,Qe(this.tag)),et(e)}Equals(e){return this===e||!!He(this,e)&&this.tag===e.tag&&ot(this.fields,e.fields)}CompareTo(e){return this===e?0:He(this,e)?this.tag===e.tag?ct(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}function Lt(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}function Ut(e){return"{ "+Object.entries(e).map((([e,t])=>e+" = "+Bt(t))).join("\n ")+" }"}function Ft(e){const t=Object.values(e).map((e=>tt(e)));return et(t)}function zt(e,t){if(e===t)return!0;if(He(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!it(e[n[r]],t[n[r]]))return!1;return!0}return!1}function Gt(e,t){if(e===t)return 0;if(He(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=ut(e[n[r]],t[n[r]]);if(0!==o)return o}return 0}return-1}class Ht{toJSON(){return Lt(this)}toString(){return Ut(this)}GetHashCode(){return Ft(this)}Equals(e){return zt(this,e)}CompareTo(e){return Gt(this,e)}}class Vt{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 Wt{constructor(e){this.message=e}}function Zt(e){return function(e){return e instanceof Wt||e instanceof Error}(e)?e:new Error(String(e))}class $t extends Wt{toJSON(){return Lt(this)}toString(){return Ut(this)}GetHashCode(){return Ft(this)}Equals(e){return zt(this,e)}CompareTo(e){return Gt(this,e)}}class Yt extends $t{constructor(e,t,n){super(),this.arg1=e,this.arg2=0|t,this.arg3=0|n,this.message="The match cases were incomplete"}}const qt=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,Xt=/(?:(^|[^%])%([0+\- ]*)(\d+)?(?:\.(\d+))?(\w))?%P\(\)/g,Jt=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function Kt(e,t){return function(e,t){return"number"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}(e,t)<0}function Qt(e,t,n){function r(e){return!0===e||1===e||3===e||5===e}return null==e?null==t?0:-1:null==t?1:4===(o=n)||5===o?(r(n)&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t?0:e<t?-1:1):(r(n)&&(e=e.toLocaleLowerCase(),t=t.toLocaleLowerCase()),e.localeCompare(t));var o}function en(e){return{input:e,cont:(t=e,e=>{qt.lastIndex=0;const n=[],r=[];let o=0,i=qt.exec(t);for(;i;){const e=i.index+(i[1]||"").length;n.push(t.substring(o,e).replace(/%%/g,"%")),r.push(i),o=qt.lastIndex,qt.lastIndex-=1,i=qt.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(o).replace(/%%/g,"%")),sn(e,n,r))})};var t}function tn(e,t){let n=0,r=0,o="";Xt.lastIndex=0;let i=Xt.exec(e);for(;i;){const a=i.index+(i[1]||"").length;o+=e.substring(r,a).replace(/%%/g,"%");const[,,s,c,u,l]=i;r=Xt.lastIndex,o+=an(t[n++],s,c,u,l),Xt.lastIndex=r-1,i=Xt.exec(e)}return o+=e.substring(r).replace(/%%/g,"%"),o}function nn(e,t){return"string"==typeof t?e(t):t.cont(e)}function rn(e){return nn((e=>e),e)}function on(e){return nn((e=>{throw new Error(e)}),e)}function an(e,t,n,r,o){let i="";if(t=t||"",o=o||"",Et(e))switch("x"!==o.toLowerCase()&&(Kt(e,0)?(e=At(e,-1),i="-"):t.indexOf(" ")>=0?i=" ":t.indexOf("+")>=0&&(i="+")),r=null==r?null:parseInt(r,10),o){case"f":case"F":e=Ot(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?Tt(e,r):Tt(e);break;case"e":case"E":e=null!=r?Nt(e,r):Nt(e);break;case"x":e=Mt(e);break;case"X":e=Mt(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?bt(e):Bt(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=dn(e,n-i.length,a,o)):dn(i+e,n,a,o)}return e}function sn(e,t,n,r="",o=-1){return(...i)=>{let a=r;const s=t.slice(),c=n.slice();for(const e of i){const[,,t,n,r,i]=c[0];let u=n;if(o>=0)u=o,o=-1;else if("*"===u){if(e<0)throw new Error("Non-negative number required");o=e;continue}a+=s[0],a+=an(e,t,u,r,i),s.splice(0,1),c.splice(0,1)}return 0===c.length?(a+=s[0],e(a)):sn(e,s,c,a,o)}}function cn(e,...t){return"object"==typeof e&&t.length>0&&(e=t[0],t.shift()),e.replace(Jt,((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(Et(s))switch(i=null==i?null:parseInt(i,10),o){case"f":case"F":s=Ot(s,i=null!=i?i:2);break;case"g":case"G":s=null!=i?Tt(s,i):Tt(s);break;case"e":case"E":s=null!=i?Nt(s,i):Nt(s);break;case"p":case"P":i=null!=i?i:2,s=Ot(At(s,100),i)+" %";break;case"d":case"D":s=null!=i?hn(String(s),i,"0"):String(s);break;case"x":case"X":s=null!=i?hn(Mt(s),i,"0"):Mt(s),"X"===o&&(s=s.toUpperCase());break;default:if(a){let e="";s=a.replace(/([0#,]+)(\.[0#]+)?/,((t,n,r)=>{Kt(s,0)&&(s=At(s,-1),e="-"),r=null==r?"":r.substring(1),s=Ot(s,Math.max(r.length,0));let[o,i]=s.split(".");i||(i=""),o=hn(o,n.replace(/,/g,"").replace(/^#+/,"").length,"0");const a=r.replace(/#+$/,"").length;if(a>i.length?i=function(e,t,n){return dn(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?bt(s,a||o):Bt(s);return r=parseInt((r||" ").substring(1),10),isNaN(r)||(s=dn(String(s),Math.abs(r)," ",r<0)),s}))}function un(e){return"string"!=typeof e||0===e.length}function ln(e){return"string"!=typeof e||/^\s*$/.test(e)}function fn(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function dn(e,t,n,r){n=n||" ",t-=e.length;for(let o=0;o<t;o++)e=r?e+n:n+e;return e}function hn(e,t,n){return dn(e,t,n)}function mn(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 pn{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return tt(this.value)}Equals(e){return null!=e&&it(this.value,e instanceof pn?e.value:e)}CompareTo(e){return null==e?1:ut(this.value,e instanceof pn?e.value:e)}}function gn(e){return null==e||e instanceof pn?new pn(e):e}function wn(e){if(null==e)throw new Error("Option has no value");return e instanceof pn?e.value:e}function vn(e){return null==e?void 0:e}function yn(e){return null==e?[]:[wn(e)]}function bn(e,t){return null!=e?wn(e):t}function _n(e,t){return null!=t?gn(e(wn(t))):void 0}function Cn(e,t){return null!=t?e(wn(t)):void 0}function xn(){return e=ut,{Compare:(t,n)=>e(t,n)};var e}function kn(e,t){return"function"==typeof e?new e(t):new Array(t)}function Sn(e,t,n,r){const o=0|t;return e.fill(r,o,o+n)}function In(e,t,n){const r=0|t.length,o=kn(n,r);for(let n=0;n<=r-1;n++)o[n]=e(t[n]);return o}function En(e,t,n){return n.reduce(e,t)}function An(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 On(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)}class Tn extends Ht{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+fn("; ",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(it(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)+tt(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|ut(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 Nn(this)}[Symbol.iterator](){return Ze(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return We(this)}}class Nn{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 Mn(){return new Tn(null,void 0)}function Pn(e,t){return new Tn(e,t)}function Dn(e){return null==e.tail}function Rn(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 Bn(e){if(null!=e.tail)return e.head;throw new Error("Collection was empty.\\nParameter name: list")}function jn(e){const t=e.tail;if(null!=t)return t;throw new Error("Collection was empty.\\nParameter name: list")}function Ln(){return Mn()}function Un(e,t){return Pn(e,t)}function Fn(e){return Pn(e,Mn())}function zn(e){return Dn(e)}function Gn(e){return Rn(e)}function Hn(e){return Bn(e)}function Vn(e){return jn(e)}function Wn(e){const t=0|Rn(e),n=Sn(new Array(t),0,t,null);return((e,t)=>{for(;;){const r=e,o=t;if(Dn(o))break;n[r]=Bn(o),e=r+1,t=jn(o)}})(0,e),n}function Zn(e,t,n){let r=t,o=n;for(;!Dn(o);)r=e(r,Bn(o)),o=jn(o);return r}function $n(e){return Zn(((e,t)=>Pn(t,e)),Mn(),e)}function Yn(e,t){Zn(((t,n)=>{e(n)}),void 0,t)}function qn(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=Pn(e[t],n);return n}function Xn(e){return qn(e,Mn())}function Jn(e,t){return Zn(((e,t)=>Pn(t,e)),t,$n(e))}function Kn(e,t){const n=Mn(),r=Zn(((t,n)=>{const r=new Tn(e(n),void 0);return t.tail=r,r}),n,t),o=Mn();return r.tail=o,jn(n)}function Qn(e,t){return function(e,t){return(t=>{e:for(;;){const n=t;if(Dn(n))return;{const r=e(Bn(n));if(null==r){t=jn(n);continue e}return r}}})(t)}((t=>e(t)?gn(t):void 0),t)}function er(e,t){return((t,n)=>{for(;;){const r=t,o=n;if(Dn(o))return;if(e(Bn(o)))return r;t=r+1,n=jn(o)}})(0,t)}function tr(e,t){const n=Mn(),r=Zn(((t,n)=>{if(e(n)){const e=new Tn(n,void 0);return t.tail=e,e}return t}),n,t),o=Mn();return r.tail=o,jn(n)}function nr(e,t,n){return null!=er((t=>n.Equals(e,t)),t)}function rr(e,t){return null!=er(e,t)}const or="The input sequence has an insufficient number of elements.";function ir(){throw new Error("Enumeration has not started. Call MoveNext.")}function ar(){throw new Error("Enumeration already finished.")}class sr{constructor(e){this.f=e}toString(){let e=0,t="seq [";const n=We(this);try{for(;e<4&&n["System.Collections.IEnumerator.MoveNext"]();)e>0&&(t+="; "),t+=Bt(n["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(t+="; ..."),t+"]"}finally{Ge(n)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Ze(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class cr{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 ur(e,t,n){return new cr(e,t,n)}function lr(e,t,n){let r,o=!1,i=gn(e());const a=()=>{if(null!=i){const e=wn(i);try{n(e)}finally{i=void 0}}},s=()=>{try{a()}finally{r=void 0}};return ur((()=>(o||ir(),null!=r?wn(r):ar())),(()=>{if(o||(o=!0),null!=i){const e=wn(i);let n;try{n=t(e)}catch(e){throw s(),e}return null!=n?(r=n,!0):(s(),!1)}return!1}),a)}function fr(e){return function(e){return new sr(e)}(e)}function dr(e){return t="source",null==e&&function(e){throw new Error(e)}(t),We(e);var t}function hr(e){return fr((()=>We(e())))}function mr(e){return fr((()=>function(e){let t,n,r,o=!1,i=!1;const a=()=>{if(i=!0,null!=n){const e=n;try{Ge(e)}finally{n=void 0}}if(null!=t){const e=t;try{Ge(e)}finally{t=void 0}}};return ur((()=>(o?i&&ar():ir(),null!=r?wn(r):ar())),(()=>{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=gn(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),o=!0;else try{Ge(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=We(s)):(a(),o=!1)}else t=We(e)}return wn(o)}}),(()=>{i||a()}))}(e)))}function pr(){return hr((()=>new Array(0)))}function gr(e){return hr((()=>function(e,t){const n=kn(void 0,1);return n[0]=e,n}(e)))}function wr(e){return e instanceof Tn?Wn(e):Array.from(e)}function vr(e){return Ue(e)?Xn(e):e instanceof Tn?e:function(e){let t,n;if(Ue(e))return Xn(e);if(e instanceof Tn)return e;{const r=Mn();let o=r;const i=We(e);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const e=i["System.Collections.Generic.IEnumerator`1.get_Current"]();t=o,n=new Tn(e,void 0),t.tail=n,o=n}}finally{Ge(i)}const a=o,s=Mn();return a.tail=s,jn(r)}}(e)}function yr(e,t,n){return fr((()=>lr(e,t,n)))}function br(e,t,n){return fr((()=>{let r=-1;return lr(e,(e=>(r=r+1|0,t(r,e))),n)}))}function _r(e,t){return mr([e,t])}function Cr(e,t,n){const r=dr(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{Ge(r)}}function xr(e,t,n){const r=dr(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{Ge(r)}}function kr(e,t){xr(((t,n)=>{e(n)}),void 0,t)}function Sr(e,t){return yr((()=>dr(t)),(t=>t["System.Collections.IEnumerator.MoveNext"]()?gn(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{Ge(e)}))}class Ir{constructor(e,t){this.cleanup=e,this.res=t}Dispose(){this.cleanup()}GetEnumerator(){return getEnumerator(this.res)}[Symbol.iterator](){return toIterator(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return getEnumerator(this.res)}}function Er(e,t){return fr((()=>{const n=dr(t);try{for(let t=1;t<=e;t++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(or+"\\nParameter name: source");return function(e,t){return ur((()=>t["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>t["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{Ge(t)}finally{e()}}))}((()=>{}),n)}catch(e){throw Ge(n),e}}))}const Ar=Le;function Or(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 Tr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Or(Object(n),!0).forEach((function(t){Pr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Or(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Nr(e){return Nr="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},Nr(e)}function Mr(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 Pr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dr(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)||Br(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 Rr(e){return function(e){if(Array.isArray(e))return jr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Br(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 Br(e,t){if(e){if("string"==typeof e)return jr(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)?jr(e,t):void 0}}function jr(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 Lr=function(){},Ur={},Fr={},zr=null,Gr={mark:Lr,measure:Lr};try{"undefined"!=typeof window&&(Ur=window),"undefined"!=typeof document&&(Fr=document),"undefined"!=typeof MutationObserver&&(zr=MutationObserver),"undefined"!=typeof performance&&(Gr=performance)}catch(c){}var Hr=(Ur.navigator||{}).userAgent,Vr=void 0===Hr?"":Hr,Wr=Ur,Zr=Fr,$r=zr,Yr=Gr,qr=(Wr.document,!!Zr.documentElement&&!!Zr.head&&"function"==typeof Zr.addEventListener&&"function"==typeof Zr.createElement),Xr=~Vr.indexOf("MSIE")||~Vr.indexOf("Trident/"),Jr="svg-inline--fa",Kr="data-fa-i2svg",Qr="data-fa-pseudo-element",eo="data-prefix",to="data-icon",no="fontawesome-i2svg",ro=["HTML","HEAD","STYLE","SCRIPT"],oo=function(){try{return!0}catch(e){return!1}}(),io={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"},ao={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},so={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},co={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},uo=/fa[srltdbk]?[\-\ ]/,lo="fa-layers-text",fo=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,ho={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},mo=[1,2,3,4,5,6,7,8,9,10],po=mo.concat([11,12,13,14,15,16,17,18,19,20]),go=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],wo="duotone-group",vo="primary",yo="secondary",bo=[].concat(Rr(Object.keys(ao)),["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",wo,"swap-opacity",vo,yo]).concat(mo.map((function(e){return"".concat(e,"x")}))).concat(po.map((function(e){return"w-".concat(e)}))),_o=Wr.FontAwesomeConfig||{};Zr&&"function"==typeof Zr.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=Dr(e,2),n=t[0],r=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Zr.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=o&&(_o[r]=o)}));var Co=Tr(Tr({},{familyPrefix:"fa",styleDefault:"solid",replacementClass:Jr,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0}),_o);Co.autoReplaceSvg||(Co.observeMutations=!1);var xo={};Object.keys(Co).forEach((function(e){Object.defineProperty(xo,e,{enumerable:!0,set:function(t){Co[e]=t,ko.forEach((function(e){return e(xo)}))},get:function(){return Co[e]}})})),Wr.FontAwesomeConfig=xo;var ko=[],So=16,Io={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Eo(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function Ao(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Oo(e){return e.classList?Ao(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function To(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function No(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function Mo(e){return e.size!==Io.size||e.x!==Io.x||e.y!==Io.y||e.rotate!==Io.rotate||e.flipX||e.flipY}function Po(){var e="fa",t=Jr,n=xo.familyPrefix,r=xo.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 Do=!1;function Ro(){xo.autoAddCss&&!Do&&(function(e){if(e&&qr){var t=Zr.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Zr.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)}Zr.head.insertBefore(t,r)}}(Po()),Do=!0)}var Bo={mixout:function(){return{dom:{css:Po,insertCss:Ro}}},hooks:function(){return{beforeDOMElementCreation:function(){Ro()},beforeI2svg:function(){Ro()}}}},jo=Wr||{};jo.___FONT_AWESOME___||(jo.___FONT_AWESOME___={}),jo.___FONT_AWESOME___.styles||(jo.___FONT_AWESOME___.styles={}),jo.___FONT_AWESOME___.hooks||(jo.___FONT_AWESOME___.hooks={}),jo.___FONT_AWESOME___.shims||(jo.___FONT_AWESOME___.shims=[]);var Lo=jo.___FONT_AWESOME___,Uo=[],Fo=!1;function zo(e){qr&&(Fo?setTimeout(e,0):Uo.push(e))}function Go(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?To(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(To(e[n]),'" ')}),"").trim()}(r),">").concat(i.map(Go).join(""),"</").concat(t,">")}function Ho(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}qr&&((Fo=(Zr.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Zr.readyState))||Zr.addEventListener("DOMContentLoaded",(function e(){Zr.removeEventListener("DOMContentLoaded",e),Fo=1,Uo.map((function(e){return e()}))})));var Vo=function(e,t,n,r){var o,i,a,s=Object.keys(e),c=s.length,u=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<c;o++)a=u(a,e[i=s[o]],i,e);return a};function Wo(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 Zo(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 $o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,o=void 0!==r&&r,i=Zo(t);"function"!=typeof Lo.hooks.addPack||o?Lo.styles[e]=Tr(Tr({},Lo.styles[e]||{}),i):Lo.hooks.addPack(e,Zo(t)),"fas"===e&&$o("fa",t)}var Yo=Lo.styles,qo=Lo.shims,Xo=Object.values(so),Jo=null,Ko={},Qo={},ei={},ti={},ni={},ri=Object.keys(io);function oi(e,t){var n,r=t.split("-"),o=r[0],i=r.slice(1).join("-");return o!==e||""===i||(n=i,~bo.indexOf(n))?null:i}var ii,ai=function(){var e=function(e){return Vo(Yo,(function(t,n,r){return t[r]=Vo(n,e,{}),t}),{})};Ko=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})),Qo=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})),ni=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 Yo||xo.autoFetchSvg,n=Vo(qo,(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:{}});ei=n.names,ti=n.unicodes,Jo=fi(xo.styleDefault)};function si(e,t){return(Ko[e]||{})[t]}function ci(e,t){return(ni[e]||{})[t]}function ui(e){return ei[e]||{prefix:null,iconName:null}}function li(){return Jo}function fi(e){var t=ao[e]||ao[io[e]],n=e in Lo.styles?e:null;return t||n||null}function di(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=oi(xo.familyPrefix,t);if(Yo[t]?(t=Xo.includes(t)?co[t]:t,o=t,e.prefix=t):ri.indexOf(t)>-1?(o=t,e.prefix=fi(t)):n?e.iconName=n:t!==xo.replacementClass&&e.rest.push(t),!r&&e.prefix&&e.iconName){var i="fa"===o?ui(e.iconName):{},a=ci(e.prefix,e.iconName);i.prefix&&(o=null),e.iconName=i.iconName||a||e.iconName,e.prefix=i.prefix||e.prefix,"far"!==e.prefix||Yo.far||!Yo.fas||xo.autoFetchSvg||(e.prefix="fas")}return e}),{prefix:null,iconName:null,rest:[]});return"fa"!==i.prefix&&"fa"!==o||(i.prefix=li()||"fas"),i}ii=function(e){Jo=fi(e.styleDefault)},ko.push(ii),ai();var hi=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]=Tr(Tr({},e.definitions[t]||{}),o[t]),$o(t,o[t]);var n=so[t];n&&$o(n,o[t]),ai()}))}},{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&&Mr(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),mi=[],pi={},gi={},wi=Object.keys(gi);function vi(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=pi[e]||[];return i.forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function yi(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=pi[e]||[];o.forEach((function(e){e.apply(null,n)}))}function bi(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return gi[e]?gi[e].apply(null,t):void 0}function _i(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||li();if(t)return t=ci(n,t)||t,Ho(Ci.definitions,n,t)||Ho(Lo.styles,n,t)}var Ci=new hi,xi={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return qr?(yi("beforeI2svg",e),bi("pseudoElements2svg",e),bi("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===xo.autoReplaceSvg&&(xo.autoReplaceSvg=!0),xo.observeMutations=!0,zo((function(){Si({autoReplaceSvgRoot:t}),yi("watch",e)}))}},ki={noAuto:function(){xo.autoReplaceSvg=!1,xo.observeMutations=!1,yi("noAuto")},config:xo,dom:xi,parse:{icon:function(e){if(null===e)return null;if("object"===Nr(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:ci(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=fi(e[0]);return{prefix:n,iconName:ci(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(xo.familyPrefix,"-"))>-1||e.match(uo))){var r=di(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||li(),iconName:ci(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var o=li();return{prefix:o,iconName:ci(o,e)||e}}}},library:Ci,findIconDefinition:_i,toHtml:Go},Si=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot,n=void 0===t?Zr:t;(Object.keys(Lo.styles).length>0||xo.autoFetchSvg)&&qr&&xo.autoReplaceSvg&&ki.dom.i2svg({node:n})};function Ii(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Go(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(qr){var t=Zr.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Ei(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,i=e.iconName,a=e.transform,s=e.symbol,c=e.title,u=e.maskId,l=e.titleId,f=e.extra,d=e.watchable,h=void 0!==d&&d,m=r.found?r:n,p=m.width,g=m.height,w="fak"===o,v=[xo.replacementClass,i?"".concat(xo.familyPrefix,"-").concat(i):""].filter((function(e){return-1===f.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(f.classes).join(" "),y={children:[],attributes:Tr(Tr({},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=w&&!~f.classes.indexOf("fa-fw")?{width:"".concat(p/g*16*.0625,"em")}:{};h&&(y.attributes[Kr]=""),c&&(y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(l||Eo())},children:[c]}),delete y.attributes.title);var _=Tr(Tr({},y),{},{prefix:o,iconName:i,main:n,mask:r,maskId:u,transform:a,symbol:s,styles:Tr(Tr({},b),f.styles)}),C=r.found&&n.found?bi("generateAbstractMask",_)||{children:[],attributes:{}}:bi("generateAbstractIcon",_)||{children:[],attributes:{}},x=C.children,k=C.attributes;return _.children=x,_.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(xo.familyPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Tr(Tr({},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(Mo(a)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};o.style=No(Tr(Tr({},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 Ai(e){var t=e.content,n=e.width,r=e.height,o=e.transform,i=e.title,a=e.extra,s=e.watchable,c=void 0!==s&&s,u=Tr(Tr(Tr({},a.attributes),i?{title:i}:{}),{},{class:a.classes.join(" ")});c&&(u[Kr]="");var l=Tr({},a.styles);Mo(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,c="";return c+=s&&Xr?"translate(".concat(t.x/So-r/2,"em, ").concat(t.y/So-i/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/So,"em), calc(-50% + ").concat(t.y/So,"em)) "):"translate(".concat(t.x/So,"em, ").concat(t.y/So,"em) "),(c+="scale(".concat(t.size/So*(t.flipX?-1:1),", ").concat(t.size/So*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:o,startCentered:!0,width:n,height:r}),l["-webkit-transform"]=l.transform);var f=No(l);f.length>0&&(u.style=f);var d=[];return d.push({tag:"span",attributes:u,children:[t]}),i&&d.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),d}function Oi(e){var t=e.content,n=e.title,r=e.extra,o=Tr(Tr(Tr({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),i=No(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 Ti=Lo.styles;function Ni(e){var t=e[0],n=e[1],r=Dr(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(xo.familyPrefix,"-").concat(wo)},children:[{tag:"path",attributes:{class:"".concat(xo.familyPrefix,"-").concat(yo),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(xo.familyPrefix,"-").concat(vo),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var Mi={found:!1,width:512,height:512};function Pi(e,t){var n=t;return"fa"===t&&null!==xo.styleDefault&&(t=li()),new Promise((function(r,o){if(bi("missingIconAbstract"),"fa"===n){var i=ui(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&Ti[t]&&Ti[t][e])return r(Ni(Ti[t][e]));!function(e,t){oo||xo.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(Tr(Tr({},Mi),{},{icon:xo.showMissingIcons&&e&&bi("missingIconAbstract")||{}}))}))}var Di=function(){},Ri=xo.measurePerformance&&Yr&&Yr.mark&&Yr.measure?Yr:{mark:Di,measure:Di},Bi='FA "6.1.2"',ji=function(e){return Ri.mark("".concat(Bi," ").concat(e," begins")),function(){return function(e){Ri.mark("".concat(Bi," ").concat(e," ends")),Ri.measure("".concat(Bi," ").concat(e),"".concat(Bi," ").concat(e," begins"),"".concat(Bi," ").concat(e," ends"))}(e)}},Li=function(){};function Ui(e){return"string"==typeof(e.getAttribute?e.getAttribute(Kr):null)}function Fi(e){return Zr.createElementNS("http://www.w3.org/2000/svg",e)}function zi(e){return Zr.createElement(e)}function Gi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.ceFn,r=void 0===n?"svg"===e.tag?Fi:zi:n;if("string"==typeof e)return Zr.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(Gi(e,{ceFn:r}))})),o}var Hi={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(Gi(e),t)})),null===t.getAttribute(Kr)&&xo.keepOriginalSource){var n=Zr.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(~Oo(t).indexOf(xo.replacementClass))return Hi.replace(e);var r=new RegExp("".concat(xo.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var o=n[0].attributes.class.split(" ").reduce((function(e,t){return t===xo.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 Go(e)})).join("\n");t.setAttribute(Kr,""),t.innerHTML=i}};function Vi(e){e()}function Wi(e,t){var n="function"==typeof t?t:Li;if(0===e.length)n();else{var r=Vi;"async"===xo.mutateApproach&&(r=Wr.requestAnimationFrame||Vi),r((function(){var t=!0===xo.autoReplaceSvg?Hi.replace:Hi[xo.autoReplaceSvg]||Hi.replace,r=ji("mutate");e.map(t),r(),n()}))}}var Zi=!1;function $i(){Zi=!0}function Yi(){Zi=!1}var qi=null;function Xi(e){if($r&&xo.observeMutations){var t=e.treeCallback,n=void 0===t?Li:t,r=e.nodeCallback,o=void 0===r?Li:r,i=e.pseudoElementsCallback,a=void 0===i?Li:i,s=e.observeMutationsRoot,c=void 0===s?Zr:s;qi=new $r((function(e){if(!Zi){var t=li();Ao(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Ui(e.addedNodes[0])&&(xo.searchPseudoElements&&a(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&xo.searchPseudoElements&&a(e.target.parentNode),"attributes"===e.type&&Ui(e.target)&&~go.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(eo):null,n=e.getAttribute?e.getAttribute(to):null;return t&&n}(e.target)){var r=di(Oo(e.target)),i=r.prefix,s=r.iconName;e.target.setAttribute(eo,i||t),s&&e.target.setAttribute(to,s)}else(c=e.target)&&c.classList&&c.classList.contains&&c.classList.contains(xo.replacementClass)&&o(e.target);var c}))}})),qr&&qi.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Ji(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 Ki(e){var t,n,r=e.getAttribute("data-prefix"),o=e.getAttribute("data-icon"),i=void 0!==e.innerText?e.innerText.trim():"",a=di(Oo(e));return a.prefix||(a.prefix=li()),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,(Qo[t]||{})[n]||si(a.prefix,Wo(e.innerText)))),!a.iconName&&xo.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function Qi(e){var t=Ao(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 xo.autoA11y&&(n?t["aria-labelledby"]="".concat(xo.replacementClass,"-title-").concat(r||Eo()):(t["aria-hidden"]="true",t.focusable="false")),t}function ea(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Ki(e),r=n.iconName,o=n.prefix,i=n.rest,a=Qi(e),s=vi("parseNodeAttributes",{},e),c=t.styleParser?Ji(e):[];return Tr({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:Io,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:c,attributes:a}},s)}var ta=Lo.styles;function na(e){var t="nest"===xo.autoReplaceSvg?ea(e,{styleParser:!1}):ea(e);return~t.extra.classes.indexOf(lo)?bi("generateLayersText",e,t):bi("generateSvgReplacementMutation",e,t)}function ra(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!qr)return Promise.resolve();var n=Zr.documentElement.classList,r=function(e){return n.add("".concat(no,"-").concat(e))},o=function(e){return n.remove("".concat(no,"-").concat(e))},i=xo.autoFetchSvg?Object.keys(io):Object.keys(ta);i.includes("fa")||i.push("fa");var a=[".".concat(lo,":not([").concat(Kr,"])")].concat(i.map((function(e){return".".concat(e,":not([").concat(Kr,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=Ao(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),o("complete");var c=ji("onTree"),u=s.reduce((function(e,t){try{var n=na(t);n&&e.push(n)}catch(e){oo||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(u).then((function(n){Wi(n,(function(){r("active"),r("complete"),o("pending"),"function"==typeof t&&t(),c(),e()}))})).catch((function(e){c(),n(e)}))}))}function oa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;na(e).then((function(e){e&&Wi([e],t)}))}var ia=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Io:n,o=t.symbol,i=void 0!==o&&o,a=t.mask,s=void 0===a?null:a,c=t.maskId,u=void 0===c?null:c,l=t.title,f=void 0===l?null:l,d=t.titleId,h=void 0===d?null:d,m=t.classes,p=void 0===m?[]:m,g=t.attributes,w=void 0===g?{}:g,v=t.styles,y=void 0===v?{}:v;if(e){var b=e.prefix,_=e.iconName,C=e.icon;return Ii(Tr({type:"icon"},e),(function(){return yi("beforeDOMElementCreation",{iconDefinition:e,params:t}),xo.autoA11y&&(f?w["aria-labelledby"]="".concat(xo.replacementClass,"-title-").concat(h||Eo()):(w["aria-hidden"]="true",w.focusable="false")),Ei({icons:{main:Ni(C),mask:s?Ni(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:b,iconName:_,transform:Tr(Tr({},Io),r),symbol:i,title:f,maskId:u,titleId:h,extra:{attributes:w,styles:y,classes:p}})}))}},aa={mixout:function(){return{icon:(e=ia,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:_i(t||{}),o=n.mask;return o&&(o=(o||{}).icon?o:_i(o||{})),e(r,Tr(Tr({},n),{},{mask:o}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=ra,e.nodeCallback=oa,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?Zr:t,r=e.callback;return ra(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,c=t.mask,u=t.maskId,l=t.extra;return new Promise((function(t,f){Promise.all([Pi(n,i),c.iconName?Pi(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(c){var f=Dr(c,2),d=f[0],h=f[1];t([e,Ei({icons:{main:d,mask:h},prefix:i,iconName:n,transform:a,symbol:s,maskId:u,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=No(e.styles);return a.length>0&&(r.style=a),Mo(i)&&(t=bi("generateAbstractTransformGrouping",{main:o,transform:i,containerWidth:o.width,iconWidth:o.width})),n.push(t||o.icon),{children:n,attributes:r}}}},sa={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 Ii({type:"layer"},(function(){yi("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(xo.familyPrefix,"-layers")].concat(Rr(r)).join(" ")},children:n}]}))}}}},ca={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,c=t.styles,u=void 0===c?{}:c;return Ii({type:"counter",content:e},(function(){return yi("beforeDOMElementCreation",{content:e,params:t}),Oi({content:e.toString(),title:r,extra:{attributes:s,styles:u,classes:["".concat(xo.familyPrefix,"-layers-counter")].concat(Rr(i))}})}))}}}},ua={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Io:n,o=t.title,i=void 0===o?null:o,a=t.classes,s=void 0===a?[]:a,c=t.attributes,u=void 0===c?{}:c,l=t.styles,f=void 0===l?{}:l;return Ii({type:"text",content:e},(function(){return yi("beforeDOMElementCreation",{content:e,params:t}),Ai({content:e,transform:Tr(Tr({},Io),r),title:i,extra:{attributes:u,styles:f,classes:["".concat(xo.familyPrefix,"-layers-text")].concat(Rr(s))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,o=t.extra,i=null,a=null;if(Xr){var s=parseInt(getComputedStyle(e).fontSize,10),c=e.getBoundingClientRect();i=c.width/s,a=c.height/s}return xo.autoA11y&&!n&&(o.attributes["aria-hidden"]="true"),Promise.resolve([e,Ai({content:e.innerHTML,width:i,height:a,transform:r,title:n,extra:o,watchable:!0})])}}},la=new RegExp('"',"ug"),fa=[1105920,1112319];function da(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,c=Ao(e.children).filter((function(e){return e.getAttribute(Qr)===t}))[0],u=Wr.getComputedStyle(e,t),l=u.getPropertyValue("font-family").match(fo),f=u.getPropertyValue("font-weight"),d=u.getPropertyValue("content");if(c&&!l)return e.removeChild(c),r();if(l&&"none"!==d&&""!==d){var h=u.getPropertyValue("content"),m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?ao[l[2].toLowerCase()]:ho[f],p=function(e){var t=e.replace(la,""),n=function(e,t){var n,r=e.length,o=e.charCodeAt(0);return o>=55296&&o<=56319&&r>1&&(n=e.charCodeAt(1))>=56320&&n<=57343?1024*(o-55296)+n-56320+65536:o}(t),r=n>=fa[0]&&n<=fa[1],o=2===t.length&&t[0]===t[1];return{value:Wo(o?t[0]:t),isSecondary:r||o}}(h),g=p.value,w=p.isSecondary,v=l[0].startsWith("FontAwesome"),y=si(m,g),b=y;if(v){var _=(a=ti[i=g],s=si("fas",i),a||(s?{prefix:"fas",iconName:s}:null)||{prefix:null,iconName:null});_.iconName&&_.prefix&&(y=_.iconName,m=_.prefix)}if(!y||w||c&&c.getAttribute(eo)===m&&c.getAttribute(to)===b)r();else{e.setAttribute(n,b),c&&e.removeChild(c);var C={iconName:null,title:null,titleId:null,prefix:null,transform:Io,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},x=C.extra;x.attributes[Qr]=t,Pi(y,m).then((function(o){var i=Ei(Tr(Tr({},C),{},{icons:{main:o,mask:{prefix:null,iconName:null,rest:[]}},prefix:m,iconName:b,extra:x,watchable:!0})),a=Zr.createElement("svg");"::before"===t?e.insertBefore(a,e.firstChild):e.appendChild(a),a.outerHTML=i.map((function(e){return Go(e)})).join("\n"),e.removeAttribute(n),r()})).catch(o)}}else r()}))}function ha(e){return Promise.all([da(e,"::before"),da(e,"::after")])}function ma(e){return!(e.parentNode===document.head||~ro.indexOf(e.tagName.toUpperCase())||e.getAttribute(Qr)||e.parentNode&&"svg"===e.parentNode.tagName)}function pa(e){if(qr)return new Promise((function(t,n){var r=Ao(e.querySelectorAll("*")).filter(ma).map(ha),o=ji("searchPseudoElements");$i(),Promise.all(r).then((function(){o(),Yi(),t()})).catch((function(){o(),Yi(),n()}))}))}var ga=!1,wa=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})},va={mixout:function(){return{parse:{transform:function(e){return wa(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=wa(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),") "),c="rotate(".concat(n.rotate," 0 0)"),u={outer:i,inner:{transform:"".concat(a," ").concat(s," ").concat(c)},path:{transform:"translate(".concat(o/2*-1," -256)")}};return{tag:"g",attributes:Tr({},u.outer),children:[{tag:"g",attributes:Tr({},u.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:Tr(Tr({},t.icon.attributes),u.path)}]}]}}}},ya={x:0,y:0,width:"100%",height:"100%"};function ba(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 _a,Ca={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?di(n.split(" ").map((function(e){return e.trim()}))):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=li()),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,c=o.width,u=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:c}),h={tag:"rect",attributes:Tr(Tr({},ya),{},{fill:"white"})},m=u.children?{children:u.children.map(ba)}:{},p={tag:"g",attributes:Tr({},d.inner),children:[ba(Tr({tag:u.tag,attributes:Tr(Tr({},u.attributes),d.path)},m))]},g={tag:"g",attributes:Tr({},d.outer),children:[p]},w="mask-".concat(a||Eo()),v="clip-".concat(a||Eo()),y={tag:"mask",attributes:Tr(Tr({},ya),{},{id:w,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,g]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(t=f,"g"===t.tag?t.children:[t])},y]};return n.push(b,{tag:"rect",attributes:Tr({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(w,")")},ya)}),{children:n,attributes:r}}}},xa={provides:function(e){var t=!1;Wr.matchMedia&&(t=Wr.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:Tr(Tr({},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=Tr(Tr({},r),{},{attributeName:"opacity"}),i={tag:"circle",attributes:Tr(Tr({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||i.children.push({tag:"animate",attributes:Tr(Tr({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Tr(Tr({},o),{},{values:"1;0;1;1;0;1;"})}),e.push(i),e.push({tag:"path",attributes:Tr(Tr({},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:Tr(Tr({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:Tr(Tr({},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:Tr(Tr({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},ka=[Bo,aa,sa,ca,ua,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=pa,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?Zr:t;xo.searchPseudoElements&&pa(n)}}},{mixout:function(){return{dom:{unwatch:function(){$i(),ga=!0}}}},hooks:function(){return{bootstrap:function(){Xi(vi("mutationObserverCallbacks",{}))},noAuto:function(){qi&&qi.disconnect()},watch:function(e){var t=e.observeMutationsRoot;ga?Yi():Xi(vi("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},va,Ca,xa,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}];_a={mixoutsTo:ki}.mixoutsTo,mi=ka,pi={},Object.keys(gi).forEach((function(e){-1===wi.indexOf(e)&&delete gi[e]})),mi.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(_a[e]=t[e]),"object"===Nr(t[e])&&Object.keys(t[e]).forEach((function(n){_a[e]||(_a[e]={}),_a[e][n]=t[e][n]}))})),e.hooks){var n=e.hooks();Object.keys(n).forEach((function(e){pi[e]||(pi[e]=[]),pi[e].push(n[e])}))}e.provides&&e.provides(gi)}));var Sa=ki.parse,Ia=ki.icon,Ea=n(697),Aa=n.n(Ea);function Oa(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 Ta(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oa(Object(n),!0).forEach((function(t){Ma(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Na(e){return Na="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},Na(e)}function Ma(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pa(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 Da(e){return function(e){if(Array.isArray(e))return Ra(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 Ra(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)?Ra(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 Ra(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 Ba(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 ja=["style"];function La(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=Ba(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 Ua=!1;try{Ua=!0}catch(c){}function Fa(e){return e&&"object"===Na(e)&&e.prefix&&e.iconName&&e.icon?e:Sa.icon?Sa.icon(e):null===e?null:e&&"object"===Na(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 za(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Ma({},e,t):{}}var Ga=Le.forwardRef((function(e,t){var n=e.icon,r=e.mask,o=e.symbol,i=e.className,a=e.title,s=e.titleId,c=e.maskId,u=Fa(n),l=za("classes",[].concat(Da(function(e){var t,n=e.beat,r=e.fade,o=e.beatFade,i=e.bounce,a=e.shake,s=e.flash,c=e.spin,u=e.spinPulse,l=e.spinReverse,f=e.pulse,d=e.fixedWidth,h=e.inverse,m=e.border,p=e.listItem,g=e.flip,w=e.size,v=e.rotation,y=e.pull,b=(Ma(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":i,"fa-shake":a,"fa-flash":s,"fa-spin":c,"fa-spin-reverse":l,"fa-spin-pulse":u,"fa-pulse":f,"fa-fw":d,"fa-inverse":h,"fa-border":m,"fa-li":p,"fa-flip":!0===g,"fa-flip-horizontal":"horizontal"===g||"both"===g,"fa-flip-vertical":"vertical"===g||"both"===g},"fa-".concat(w),null!=w),Ma(t,"fa-rotate-".concat(v),null!=v&&0!==v),Ma(t,"fa-pull-".concat(y),null!=y),Ma(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)),Da(i.split(" ")))),f=za("transform","string"==typeof e.transform?Sa.transform(e.transform):e.transform),d=za("mask",Fa(r)),h=Ia(u,Ta(Ta(Ta(Ta({},l),f),d),{},{symbol:o,title:a,titleId:s,maskId:c}));if(!h)return function(){var e;!Ua&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var m=h.abstract,p={ref:t};return Object.keys(e).forEach((function(t){Ga.defaultProps.hasOwnProperty(t)||(p[t]=e[t])})),Ha(m[0],p)}));Ga.displayName="FontAwesomeIcon",Ga.propTypes={beat:Aa().bool,border:Aa().bool,beatFade:Aa().bool,bounce:Aa().bool,className:Aa().string,fade:Aa().bool,flash:Aa().bool,mask:Aa().oneOfType([Aa().object,Aa().array,Aa().string]),maskId:Aa().string,fixedWidth:Aa().bool,inverse:Aa().bool,flip:Aa().oneOf([!0,!1,"horizontal","vertical","both"]),icon:Aa().oneOfType([Aa().object,Aa().array,Aa().string]),listItem:Aa().bool,pull:Aa().oneOf(["right","left"]),pulse:Aa().bool,rotation:Aa().oneOf([0,90,180,270]),shake:Aa().bool,size:Aa().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Aa().bool,spinPulse:Aa().bool,spinReverse:Aa().bool,symbol:Aa().oneOfType([Aa().bool,Aa().string]),title:Aa().string,titleId:Aa().string,transform:Aa().oneOfType([Aa().string,Aa().object]),swapOpacity:Aa().bool},Ga.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 Ha=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=La(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Ba(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,c=Pa(r,ja);return i.attrs.style=Ta(Ta({},i.attrs.style),s),t.apply(void 0,[n.tag,Ta(Ta({},i.attrs),c)].concat(Da(o)))}.bind(null,Le.createElement),Va={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM232 152C232 138.8 242.8 128 256 128s24 10.75 24 24v128c0 13.25-10.75 24-24 24S232 293.3 232 280V152zM256 400c-17.36 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 385.9 273.4 400 256 400z"]},Wa={prefix:"fas",iconName:"shield-halved",icon:[512,512,["shield-alt"],"f3ed","M256-.0078C260.7-.0081 265.2 1.008 269.4 2.913L457.7 82.79C479.7 92.12 496.2 113.8 496 139.1C495.5 239.2 454.7 420.7 282.4 503.2C265.7 511.1 246.3 511.1 229.6 503.2C57.25 420.7 16.49 239.2 15.1 139.1C15.87 113.8 32.32 92.12 54.3 82.79L242.7 2.913C246.8 1.008 251.4-.0081 256-.0078V-.0078zM256 444.8C393.1 378 431.1 230.1 432 141.4L256 66.77L256 444.8z"]};function Za(e,t){return d(Ga,e,...t)}const $a=Za({icon:{prefix:"fas",iconName:"chevron-left",icon:[320,512,[9001],"f053","M224 480c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25l192-192c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25L77.25 256l169.4 169.4c12.5 12.5 12.5 32.75 0 45.25C240.4 476.9 232.2 480 224 480z"]}},[]),Ya=Za({icon:Wa,size:"5x"},[]),qa=Za({icon:Va,size:"5x"},[]);class Xa{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 Ja extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Ja.prototype)}}class Ka{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>Ka.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function Qa(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new Ja);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack((()=>{try{e(t)}catch(e){t.onError(Zt(e))}}));else try{e(t)}catch(e){t.onError(Zt(e))}}}const es=new class{Bind(e,t){return function(e,t){return Qa((n=>{e({onSuccess:e=>{try{t(e)(n)}catch(e){n.onError(Zt(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 Qa((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 Qa((t=>t.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,t){return Qa((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 Qa((n=>{e({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:e=>{try{t(e)(n)}catch(e){n.onError(Zt(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 Qa((e=>e.onSuccess(void 0)))}};class ts extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Ok","Error"]}}function ns(e,t){return 0===t.tag?new ts(0,e(t.fields[0])):new ts(1,t.fields[0])}function rs(e,t){return 0===t.tag?e(t.fields[0]):new ts(1,t.fields[0])}class os extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of2","Choice2Of2"]}}class is extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of3","Choice2Of3","Choice3Of3"]}}function as(e){}function ss(e){const t=new Xa("boolean"==typeof e&&e);return"number"==typeof e&&setTimeout((()=>{t.cancel()}),e),t}function cs(e){e.cancel()}const us=new Xa;function ls(e){return Qa((t=>{let n;const r=setTimeout((()=>{t.cancelToken.removeListener(n),t.onSuccess(void 0)}),e);n=t.cancelToken.addListener((()=>{clearTimeout(r),t.onCancel(new Ja)}))}))}function fs(e,t){return function(e,t){return function(e,t,n,r,o){"function"!=typeof t&&(o=t,t=void 0);const i=new Ka;e({onSuccess:t||as,onError:n||as,onCancel:r||as,cancelToken:o||us,trampoline:i})}(e,t)}(e,t)}const ds=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 hs{constructor(e,t,n){this.OnNext=e,this.OnError=t||(e=>{}),this.OnCompleted=n||(()=>{})}}function ms(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 ds}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 hs(e))}(t,n.Elapsed()),n.Enabled=!0,n.Start()}function ps(e,t,n){Yn((n=>{try{n(t)}catch(t){e(t)}}),n)}function gs(){return Ln()}function ws(e,t){return Kn((t=>n=>{t((t=>{n(e(t))}))}),t)}function vs(e){return function(e){const t=Mn();let n=t;const r=e=>{n=Zn(((e,t)=>{const n=new Tn(t,void 0);return e.tail=n,n}),n,e)};if(Ue(e))e.forEach(r);else if(e instanceof Tn)Yn(r,e);else{const t=We(e);try{for(;t["System.Collections.IEnumerator.MoveNext"]();)r(t["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{Ge(t)}}const o=n,i=Mn();return o.tail=i,jn(t)}(e)}function ys(e){return Fn(e)}function bs(e){return Fn((t=>{t(e)}))}function _s(e,t,n,r,o){return Fn((i=>{e(es.Delay((()=>{return es.Bind((e=t(n),Qa((t=>{e({onSuccess:e=>t.onSuccess(function(e){return new os(0,e)}(e)),onError:e=>t.onSuccess(function(e){return new os(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])),es.Zero()}));var e})))}))}function Cs(e){ms(0,(t=>{fs(e)}))}function xs(e,t,n,r,o){const i=function(e,t,n,r){const o=0|ut(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|ut(n,t);return i&&o<=0||!i&&o>=0?[n,r(n,e)]:void 0}}(t,n,r,o);return hr((()=>{return t=i,n=e,fr((()=>function(e,t){let n,r=t;return ur((()=>{if(null!=n){const e=n[0];return n[1],e}return ir()}),(()=>{if(n=e(r),null!=n){n[0];const e=n[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}class ks extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class Ss{constructor(e){this.state=new ks(0,Sn(new Array(lt(st,e,10)),0,lt(st,e,10),null),0)}}function Is(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 ks(0,o,n):new ks(1,o,n,i),gn(o[r])}}class Es extends Ht{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 As(e,t,n){return new Es(e,t,(e=>gs()),n,ht(2,(e=>{const t=gt(1,n,[e]);return e=>{t(e)}})),(e=>{var t,n;t=e[0],n=e[1],console.error(gn(t),n)}),ht(2,(e=>e)))}function Os(e,t){return new Es(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}function Ts(e,t){const n=t.init(e),r=n[0],o=new Ss(10);let i=!1,a=r;const s=gt(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 c=(i+1)%s.length|0;e.state=c===a?new ks(1,(r=a,o=s,Array.from(hr((()=>_r(Er(r,o),hr((()=>{return _r((e=r,t=o,br((()=>dr(t)),((t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return gn(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(or+"\\nParameter name: source")}}),(e=>{Ge(e)}))),hr((()=>{return t=e=>gr(null),e=o.length,n=xs(0,1,e,0,((e,t)=>e+t)),hr((()=>mr(Sr(t,n))));var e,t,n})));var e,t}))))))),s.length,0):new ks(1,s,c,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 ks(1,o,i,r)}var r,o}(o,e);else{i=!0;let n=gn(e);for(;null!=n;){const e=wn(n);try{const n=t.update(e,a),r=n[0];t.setState(r,s),ps((n=>{t.onError([rn(en("Error in command while handling: %A"))(e),n])}),s,n[1]),a=r}catch(n){t.onError([rn(en("Unable to process the message: %A"))(e),n])}n=Is(o)}i=!1}}]);t.setState(r,s),ps((e=>{t.onError(["Error intitializing:",e])}),s,vs(Xn([(()=>{try{return t.subscribe(r)}catch(e){return t.onError(["Unable to subscribe:",e]),gs()}})(),n[1]])))}const Ns=(e,t)=>{K((()=>{const t=e();return()=>{t.Dispose()}}),t)};function Ms(e){return{Dispose(){e()}}}function Ps(e){return Ar.useState(e)}function Ds(e){var t;t=e,K((()=>{const e=t();return()=>{e.Dispose()}}))}function Rs(e,t){Ns(e,t)}function Bs(e){Ls(e,[])}function js(e){Rs(e,[])}function Ls(e,t){Ns((t=>(e(),Ms((()=>{})))),t)}function Us(e){return Ar.useRef(e)}function Fs(e,t){const n=bn(t,[]);return Ar.useMemo(e,n)}function zs(e){const t=Us(e),n=function(e,n){const r=bn([],[]);return Ar.useCallback((e=>t.current(e)),r)}();var r,o;return r=()=>{t.current=e},o=e=>(r(),Ms((()=>{}))),Q((()=>{const e=o();return()=>{e.Dispose()}})),n}class Gs{constructor(){this.hasDisposedOnce=!1,this.state=void 0,this.listener=void 0,this.dispatcher=void 0}}function Hs(){return new Gs}function Vs(e,t,n,r){Ts(t,Os(((e,t)=>{!function(e,t,n){e.state=gn(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 wn(o);throw new Error("Elmish program has not initialized")}function Ws(e,t){return function(e,t,n){const r=Ps(Hs)[0],o=Ps((()=>Vs(e,t,r))),i=o[1];return Rs((()=>(function(e){return e.hasDisposedOnce}(r)&&i(Vs(e,t,r)),Ms((()=>{!function(e){const t=e.state;if(null!=t){const e=wn(t);ze(e)&&Ge(e)}e.dispatcher=void 0,e.state=void 0,e.hasDisposedOnce=!0}(r)})))),bn(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 Zs(e,t,n){return Ws((()=>As((()=>e),t,((e,t)=>{}))),n)}class $s extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function Ys(e,t){switch(t.tag){case 1:return new $s(1);case 3:return new $s(3,t.fields[0]);case 2:try{return new $s(2,e(t.fields[0]))}catch(e){return new $s(3,e)}default:return new $s(0)}}function qs(e,t){const n=function(e){return Ar.useState(e)}(new $s(0)),r=n[1];let o;const i=Us(ss()),a=Us(i.current);js((()=>Ms((()=>{cs(i.current)})))),o=a;const s=es.Delay((()=>es.TryWith(es.Delay((()=>(r(new $s(1)),es.Bind(e,(e=>(r(new $s(2,e)),es.Zero())))))),(e=>(r(new $s(3,e)),es.Zero())))));return Ls((()=>{fs(s,o.current)}),t),n[0]}function Xs(e,t){const n=Us(ss());return js((()=>Ms((()=>{cs(n.current)})))),zs((r=>{var o;null!=(o=n.current)&&o.isCancelled||fs(es.Delay((()=>es.TryWith(es.Delay((()=>(t(new $s(1)),es.Bind(e(r),(e=>(t(new $s(2,e)),es.Zero())))))),(e=>(t(new $s(3,e)),es.Zero()))))),n.current)}))}var Js=null;try{Js=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(c){}function Ks(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function Qs(e){return!0===(e&&e.__isLong__)}Ks.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},Ks.prototype.Equals=function(e){return Ic(this,e)},Ks.prototype.CompareTo=function(e){return Tc(this,e)},Ks.prototype.toString=function(e){return Cc(this,e)},Ks.prototype.toJSON=function(){return Cc(this)},Ks.prototype[It]=function(){const e=this;return{multiply:t=>Dc(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 Cc(e.unsigned?e:function(e,t,n){return n?function(e,t){return new Ks(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 Ks(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}}},Ks.prototype.__isLong__,Object.defineProperty(Ks.prototype,"__isLong__",{value:!0});var ec={},tc={};function nc(e,t){var n,r,o;return t?(o=0<=(e>>>=0)&&e<256)&&(r=tc[e])?r:(n=oc(e,(0|e)<0?-1:0,!0),o&&(tc[e]=n),n):(o=-128<=(e|=0)&&e<128)&&(r=ec[e])?r:(n=oc(e,e<0?-1:0,!1),o&&(ec[e]=n),n)}function rc(e,t){if(isNaN(e))return t?hc:dc;if(t){if(e<0)return hc;if(e>=uc)return vc}else{if(e<=-lc)return yc;if(e+1>=lc)return wc}return e<0?Nc(rc(-e,t)):oc(e%cc|0,e/cc|0,t)}function oc(e,t,n){return new Ks(e,t,n)}var ic=Math.pow;function ac(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return dc;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 Nc(ac(e.substring(1),t,n));for(var o=rc(ic(n,8)),i=dc,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),c=parseInt(e.substring(a,a+s),n);i=Mc(s<8?Dc(i,rc(ic(n,s))):i=Dc(i,o),rc(c))}return i.unsigned=t,i}function sc(e,t){return"number"==typeof e?rc(e,t):"string"==typeof e?ac(e,t):oc(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}var cc=4294967296,uc=cc*cc,lc=uc/2,fc=nc(1<<24),dc=nc(0),hc=nc(0,!0),mc=nc(1),pc=nc(1,!0),gc=nc(-1),wc=oc(-1,2147483647,!1),vc=oc(-1,-1,!0),yc=oc(0,-2147483648,!1);function bc(e){return e.unsigned?e.low>>>0:e.low}function _c(e){return e.unsigned?(e.high>>>0)*cc+(e.low>>>0):e.high*cc+(e.low>>>0)}function Cc(e,t){if((t=t||10)<2||36<t)throw RangeError("radix");if(xc(e))return"0";if(kc(e)){if(Ic(e,yc)){var n=rc(t),r=Rc(e,n),o=Pc(Dc(r,n),e);return Cc(r,t)+bc(o).toString(t)}return"-"+Cc(Nc(e),t)}for(var i=rc(ic(t,6),e.unsigned),a=e,s="";;){var c=Rc(a,i),u=(bc(Pc(a,Dc(c,i)))>>>0).toString(t);if(xc(a=c))return u+s;for(;u.length<6;)u="0"+u;s=""+u+s}}function xc(e){return 0===e.high&&0===e.low}function kc(e){return!e.unsigned&&e.high<0}function Sc(e){return 1==(1&e.low)}function Ic(e,t){return Qs(t)||(t=sc(t)),(e.unsigned===t.unsigned||e.high>>>31!=1||t.high>>>31!=1)&&e.high===t.high&&e.low===t.low}function Ec(e,t){return Tc(e,t)<0}function Ac(e,t){return Tc(e,t)>0}function Oc(e,t){return Tc(e,t)>=0}function Tc(e,t){if(Qs(t)||(t=sc(t)),Ic(e,t))return 0;var n=kc(e),r=kc(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:kc(Pc(e,t))?-1:1}function Nc(e){return!e.unsigned&&Ic(e,yc)?yc:Mc(function(e){return oc(~e.low,~e.high,e.unsigned)}(e),mc)}function Mc(e,t){Qs(t)||(t=sc(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,c=t.low>>>16,u=0,l=0,f=0,d=0;return f+=(d+=i+(65535&t.low))>>>16,l+=(f+=o+c)>>>16,u+=(l+=r+s)>>>16,u+=n+a,oc((f&=65535)<<16|(d&=65535),(u&=65535)<<16|(l&=65535),e.unsigned)}function Pc(e,t){return Qs(t)||(t=sc(t)),Mc(e,Nc(t))}function Dc(e,t){if(xc(e))return e.unsigned?hc:dc;if(Qs(t)||(t=sc(t)),Js)return oc(Js.mul(e.low,e.high,t.low,t.high),Js.get_high(),e.unsigned);if(xc(t))return e.unsigned?hc:dc;if(Ic(e,yc))return Sc(t)?yc:dc;if(Ic(t,yc))return Sc(e)?yc:dc;if(kc(e))return kc(t)?Dc(Nc(e),Nc(t)):Nc(Dc(Nc(e),t));if(kc(t))return Nc(Dc(e,Nc(t)));if(Ec(e,fc)&&Ec(t,fc))return rc(_c(e)*_c(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,c=t.low>>>16,u=65535&t.low,l=0,f=0,d=0,h=0;return d+=(h+=i*u)>>>16,f+=(d+=o*u)>>>16,d&=65535,f+=(d+=i*c)>>>16,l+=(f+=r*u)>>>16,f&=65535,l+=(f+=o*c)>>>16,f&=65535,l+=(f+=i*s)>>>16,l+=n*u+r*c+o*s+i*a,oc((d&=65535)<<16|(h&=65535),(l&=65535)<<16|(f&=65535),e.unsigned)}function Rc(e,t){if(Qs(t)||(t=sc(t)),xc(t))throw Error("division by zero");var n,r,o;if(Js)return e.unsigned||-2147483648!==e.high||-1!==t.low||-1!==t.high?oc((e.unsigned?Js.div_u:Js.div_s)(e.low,e.high,t.low,t.high),Js.get_high(),e.unsigned):e;if(xc(e))return e.unsigned?hc:dc;if(e.unsigned){if(t.unsigned||(t=function(e){return e.unsigned?e:oc(e.low,e.high,!0)}(t)),Ac(t,e))return hc;if(Ac(t,function(e,t){if(Qs(t)&&(t=bc(t)),0==(t&=63))return e;var n=e.high;return t<32?oc(e.low>>>t|n<<32-t,n>>>t,e.unsigned):oc(32===t?n:n>>>t-32,0,e.unsigned)}(e,1)))return pc;o=hc}else{if(Ic(e,yc))return Ic(t,mc)||Ic(t,gc)?yc:Ic(t,yc)?mc:Ic(n=function(e,t){return Qs(t)&&(t=bc(t)),0==(t&=63)?e:t<32?oc(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):oc(0,e.low<<t-32,e.unsigned)}(Rc(function(e,t){return Qs(t)&&(t=bc(t)),0==(t&=63)?e:t<32?oc(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):oc(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}(e,1),t),1),dc)?kc(t)?mc:gc:o=Mc(n,Rc(r=Pc(e,Dc(t,n)),t));if(Ic(t,yc))return e.unsigned?hc:dc;if(kc(e))return kc(t)?Rc(Nc(e),Nc(t)):Nc(Rc(Nc(e),t));if(kc(t))return Nc(Rc(e,Nc(t)));o=dc}for(r=e;Oc(r,t);){n=Math.max(1,Math.floor(_c(r)/_c(t)));for(var i=Math.ceil(Math.log(n)/Math.LN2),a=i<=48?1:ic(2,i-48),s=rc(n),c=Dc(s,t);kc(c)||Ac(c,r);)c=Dc(s=rc(n-=a,e.unsigned),t);xc(s)&&(s=mc),o=Mc(o,s),r=Pc(r,c)}return o}const Bc=Rc,jc=_c;function Lc(e){return e<0?Math.ceil(e):Math.floor(e)}function Uc(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return Fc(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 Fc(e){return jc(Bc(e,1e4))}function zc(e){return Uc(0,e,0)}function Gc(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 Uc(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*Uc(n,a,s,o,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}function Hc(e,t){const n=function(e,t,n=0){return e.lastIndex=n,e.exec(t)}(Pt(e),t);return null!=n?Vn(vr(hr((()=>Sr((e=>e||""),yr((()=>We(n)),(e=>e["System.Collections.IEnumerator.MoveNext"]()?gn(e["System.Collections.IEnumerator.get_Current"]()):void 0),(e=>{const t=e;ze(t)&&Ge(t)}))))))):void 0}function Vc(e,t){return un(t)?new ts(1,rn(en("%s cannot be null or empty"))(e)):new ts(0,t)}function Wc(e){const t=function(e){let t;const n=Hc(".*?@(.*)",e);switch(t=null!=n?zn(n)?1:zn(Vn(n))?0:1:1,t){case 0:return e;case 1:return}}(e);return null!=t?new ts(0,t):new ts(1,"Email is not in the correct format")}const Zc=e=>({tag:"ok",value:e}),$c=e=>({tag:"error",error:e});class Yc{constructor(e){this.uri=e}static isAbsoluteUri(e){try{return new URL(e),!0}catch(e){return!1}}static tryCreateWithKind(e,t){switch(t){case 1:return Yc.isAbsoluteUri(e)?Zc(new Yc({original:e,value:new URL(e),kind:t})):$c("Invalid URI: The format of the URI could not be determined.");case 2:return Yc.isAbsoluteUri(e)?$c("URI is not a relative path."):Zc(new Yc({original:e,value:e,kind:t}));case 0:return Yc.isAbsoluteUri(e)?Zc(new Yc({original:e,value:new URL(e),kind:1})):Zc(new Yc({original:e,value:e,kind:2}));default:return t}}static tryCreateWithBase(e,t){return 1!==e.uri.kind?$c("Base URI should have Absolute kind"):"string"==typeof t?Zc(new Yc({original:new URL(t,e.uri.value).toString(),value:new URL(t,e.uri.value),kind:1})):2===t.uri.kind?Zc(new Yc({original:new URL(t.uri.value,e.uri.value).toString(),value:new URL(t.uri.value,e.uri.value),kind:1})):Zc(e)}static tryCreateImpl(e,t=1){return"string"==typeof e?"number"!=typeof t?$c("Kind must be specified when the baseUri is a string."):Yc.tryCreateWithKind(e,t):"number"==typeof t?$c("Kind should not be specified when the baseUri is an absolute Uri."):Yc.tryCreateWithBase(e,t)}static create(e,t=1){const n=Yc.tryCreateImpl(e,t);switch(n.tag){case"ok":return n.value;case"error":throw new Error(n.error);default:return n}}static tryCreate(e,t=1,n){const r=Yc.tryCreateImpl(e,t);switch(r.tag){case"ok":return n.contents=r.value,!0;case"error":return!1;default:return r}}toString(){switch(this.uri.kind){case 1:return decodeURIComponent(this.asUrl().toString());case 2:return this.uri.value;default:return this.uri}}asUrl(){switch(this.uri.kind){case 1:return this.uri.value;case 2:throw new Error("This operation is not supported for a relative URI.");default:return this.uri}}get isAbsoluteUri(){return 1===this.uri.kind}get absoluteUri(){return this.asUrl().href}get scheme(){const e=this.asUrl().protocol;return e.slice(0,e.length-1)}get host(){return this.asUrl().host}get absolutePath(){return this.asUrl().pathname}get query(){return this.asUrl().search}get pathAndQuery(){const e=this.asUrl();return e.pathname+e.search}get fragment(){return this.asUrl().hash}get originalString(){return this.uri.original}}class qc extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SecondFactorCode"]}}function Xc(e){return function(e){return!un(e)&&function(e,t,n=0){return e.lastIndex=n,e.test(t)}(/^(\d{6})$/gu,e)}(e)?new ts(0,new qc(0,e)):new ts(1,"Invalid second factor code format.")}class Jc extends Ht{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.NumberOfAttempts=0|n,this.DateOfLastAttempt=r}}zc(5);class Kc extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["InviteCode"]}}function Qc(e){return function(e){return!ln(e)}(e)?new ts(0,new Kc(0,e)):new ts(1,"Invalid invite code format.")}function eu(e){return e.fields[0]}class tu extends Ht{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.SecondFactor=n,this.Branding=r}}class nu extends Ht{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class ru extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Logo"]}}class ou extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompanyName"]}}class iu extends Ht{constructor(e,t){super(),this.Email=e,this.Phone=t}}class au extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Email"]}}class su extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Phone"]}}const cu=e=>ns((e=>new au(0,e)),rs(Wc,Vc("Email",e))),uu=e=>ns((e=>new su(0,e)),Vc("Phone",e));function lu(e){return ln(e)?new ts(1,"Invalid company name."):new ts(0,new ou(0,e))}function fu(e){return function(e){try{const t=Yc.create(e);return t.isAbsoluteUri?[!0,t]:[!1,void 0]}catch(e){return[!1,void 0]}}(e)[0]?new ts(0,new ru(0,e)):new ts(1,"Invalid logo url.")}Uc(10,0,0,0),zc(30);class du extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Initializing","WaitingForInput","Failed"]}}class hu extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["InitInvite","ActivateInvite","ValidateMfa","ProcessInput","ShowValidation"]}}class mu extends Ht{constructor(e,t,n,r,o,i,a){super(),this.InviteToken=e,this.MaskedEmail=t,this.MfaCodeForm=n,this.IsValidationPending=r,this.CanRetry=o,this.Ui=i,this.CssOverrides=a}}const pu=(()=>{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 gu(e){return _n((e=>e.passive&&!pu?{capture:e.capture,once:e.once,passive:!1}:e),e)}function wu(e){return Cn((e=>e.capture?{capture:!0}:void 0),e)}function vu(e,t){return 0===t.indexOf(e)?t:void 0}function yu(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 bu(e,t){return function(e){return 1===e?e=>{let t,n,r,o,i,a;return t=vu("/",e),null!=t?(n=t,"#"+n):(r=vu("#/",e),null!=r?(o=r,o):(i=vu("#",e),null!=i?(a=i,"#/"+mn(a,1,a.length-1)):"#/"+e))}:e=>{let t,n;return t=vu("/",e),null!=t?(n=t,n):"/"+e}}(t)(fn("/",Kn((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function _u(e,t,n){1===t?history.pushState(void 0,"",bu(e,n)):history.replaceState(void 0,"",bu(e,n));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}function Cu(e,t){let n;return function(e,t){let n,r;const o=Mn();let i=o,a=t;for(;!Dn(a);){let t=e(Bn(a));for(;!Dn(t);)n=i,r=new Tn(Bn(t),void 0),n.tail=r,i=r,t=jn(t);a=jn(a)}const s=i,c=Mn();return s.tail=c,jn(o)}((e=>{if(ln(e))return Ln();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+Dt(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return Ln();if(null!=vu("?",t))return Fn(t);{const e=t.split("?");if(An(((e,t)=>e===t),e,null)||1!==e.length){if(An(((e,t)=>e===t),e,null)||2!==e.length)return Ln();if(""===e[1]){const t=e[0];return Fn(decodeURIComponent(t))}{const t=e[0],n=e[1];return Xn([decodeURIComponent(t),"?"+n])}}{const t=e[0];return Fn(decodeURIComponent(t))}}}}),Xn((n=null!=vu("#",e)?mn(e,1,e.length-1):1!==t||null==yu("#",e)&&null==yu("#/",e)?e:"",n.split("/"))))}const xu=function(e,t,n,r){const o=Ar.memo(e,ht(2,bn(pt(2,n),null)));return kr((t=>{e.displayName=t}),yn(t)),e=>{const t=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(r,e);return Ar.createElement(o,t)}}((e=>{const t=zs((t=>{const n=bn(e.onUrlChanged,(e=>{}));!function(e,t,n){t(Cu(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(bn(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=Fs((()=>gu(r)),[r]),i=Fs((()=>wu(r)),[r]),a=Fs((()=>e=>{n(e)}),[n]);Ds(zs((()=>{if(null==o)window.addEventListener(e,a);else{const t=o;window.addEventListener(e,a,t)}return Ms((()=>{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=Fs((()=>gu(r)),[r]),i=Fs((()=>wu(r)),[r]),a=Fs((()=>e=>{n(e)}),[n]);Ds(zs((()=>{if(null==o)window.addEventListener(e,a);else{const t=o;window.addEventListener(e,a,t)}return Ms((()=>{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=Fs((()=>gu(o)),[o]),a=Fs((()=>wu(o)),[o]),s=Fs((()=>e=>{r(e)}),[r]);Ds(zs((()=>{if(null==i)window.addEventListener(n,s);else{const e=i;window.addEventListener(n,s,e)}return Ms((()=>{if(null==a)window.removeEventListener(n,s);else{const e=a;window.removeEventListener(n,s,e)}}))})));const c=e.application;return null==c?null:c}),void 0,void 0,void 0);function ku(e){try{const t=new URLSearchParams(e);return vr(hr((()=>Sr((e=>[e[0],e[1]]),t.entries()))))}catch(e){return}}class Su extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Autodev","Test","Prod","Sandbox"]}}const Iu=document.getElementById("workflows-app"),Eu=Iu.getAttribute("data-identity-url"),Au=Iu.getAttribute("data-backend-url"),Ou=Xn(["workflows","app"]),Tu=Xn(["workflows","embed","v1.0","app"]);class Nu extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Embedded","Standalone","Unknown"]}}function Mu(e){switch(e.tag){case 0:default:return bu(Tu,2);case 1:return bu(Ou,2)}}!function(e){const t=Xn(e.split("."));let n;switch(n=zn(t)?4:"autodev-partner"===Hn(t)?0:"test-partner"===Hn(t)?1:"partner"===Hn(t)?2:"sandbox-partner"===Hn(t)?3:4,n){case 0:return new ts(0,new Su(0));case 1:return new ts(0,new Su(1));case 2:return new ts(0,new Su(2));case 3:return new ts(0,new Su(3));case 4:new ts(1,"Invalid environment")}}(Yc.create(Au).host);function Pu(e,t){return new ts(0,t)}function Du(e,t){return t}function Ru(e,t,n){return ns(n,t)}new class{constructor(){}};function Bu(e,t){const n=Pu(0,t);return es.Return(n)}function ju(e,t){return es.Delay(t)}new class{constructor(){}};class Lu extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class Uu extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Header"]}}class Fu extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Empty","Text","Binary","Form"]}}class zu extends Ht{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 Gu extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Hu extends Ht{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 Vu{constructor(e,t){this.k=e,this.v=t}}function Wu(e,t){return new Vu(e,t)}function Zu(e){return e.k}function $u(e){return e.v}class Yu extends Vu{constructor(e,t,n,r,o){super(e,t),this.left=n,this.right=r,this.h=0|o}}function qu(e,t,n,r,o){return new Yu(e,t,n,r,o)}function Xu(e){return e.left}function Ju(e){return e.right}function Ku(e){return e.h}function Qu(e,t){e:for(;;){const n=e,r=t;if(null!=r){const o=r;if(o instanceof Yu){e=Qu(n+1,Xu(o)),t=Ju(o);continue e}return n+1|0}return 0|n}}function el(e){return Qu(0,e)}function tl(e,t,n,r){let o,i;if(null!=e){const t=e;o=t instanceof Yu?Ku(t):1}else o=0;if(null!=r){const e=r;i=e instanceof Yu?Ku(e):1}else i=0;const a=0|(o<i?i:o);return 0===a?Wu(t,n):qu(t,n,e,r,a+1)}function nl(e,t,n,r){let o,i,a,s,c,u;if(null!=e){const t=e;c=t instanceof Yu?Ku(t):1}else c=0;if(null!=r){const e=r;u=e instanceof Yu?Ku(e):1}else u=0;if(u>c+2){const a=wn(r);if(a instanceof Yu){if(o=Xu(a),(null!=o?(i=o,i instanceof Yu?Ku(i):1):0)>c+1){const r=wn(Xu(a));if(r instanceof Yu)return tl(tl(e,t,n,Xu(r)),Zu(r),$u(r),tl(Ju(r),Zu(a),$u(a),Ju(a)));throw new Error("internal error: Map.rebalance")}return tl(tl(e,t,n,Xu(a)),Zu(a),$u(a),Ju(a))}throw new Error("internal error: Map.rebalance")}if(c>u+2){const o=wn(e);if(o instanceof Yu){if(a=Ju(o),(null!=a?(s=a,s instanceof Yu?Ku(s):1):0)>u+1){const e=wn(Ju(o));if(e instanceof Yu)return tl(tl(Xu(o),Zu(o),$u(o),Xu(e)),Zu(e),$u(e),tl(Ju(e),t,n,r));throw new Error("internal error: Map.rebalance")}return tl(Xu(o),Zu(o),$u(o),tl(Ju(o),t,n,r))}throw new Error("internal error: Map.rebalance")}return tl(e,t,n,r)}function rl(e,t,n,r){if(null!=r){const o=r,i=0|e.Compare(t,Zu(o));return o instanceof Yu?i<0?nl(rl(e,t,n,Xu(o)),Zu(o),$u(o),Ju(o)):0===i?qu(t,n,Xu(o),Ju(o),Ku(o)):nl(Xu(o),Zu(o),$u(o),rl(e,t,n,Ju(o))):i<0?qu(t,n,void 0,r,2):0===i?Wu(t,n):qu(t,n,r,void 0,2)}return Wu(t,n)}function ol(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const a=i,s=0|r.Compare(o,Zu(a));if(0===s)return gn($u(a));if(a instanceof Yu){e=r,t=o,n=s<0?Xu(a):Ju(a);continue e}return}return}}function il(e,t){e:for(;;){const n=e,r=t;if(null!=r){const o=r;if(o instanceof Yu){il(n,Xu(o)),n(Zu(o),$u(o)),e=n,t=Ju(o);continue e}n(Zu(o),$u(o))}break}}function al(e,t){il(e,t)}function sl(e,t){if(null!=t){const n=t;if(n instanceof Yu){const t=sl(e,Xu(n)),r=e(Zu(n),$u(n)),o=sl(e,Ju(n));return qu(Zu(n),r,t,o,Ku(n))}return Wu(Zu(n),e(Zu(n),$u(n)))}}function cl(e,t){return sl(e,t)}function ul(e,t){let n;for(let r=0;r<=t.length-1;r++){const o=t[r];n=rl(e,o[0],o[1],n)}return n}class ll extends Ht{constructor(e,t){super(),this.stack=e,this.started=t}}function fl(e){e:for(;;){const t=e;if(zn(t))return Ln();{const n=Vn(t),r=Hn(t);if(null!=r){const o=r;if(o instanceof Yu){e=qn([Xu(o),Wu(Zu(o),$u(o)),Ju(o)],n);continue e}return t}e=n;continue e}}}function dl(e){return new ll(fl(Fn(e)),!1)}function hl(e){if(e.started){const t=e.stack;if(zn(t))return function(){throw new Error("enumeration already finished")}();if(null!=Hn(t)){const e=Hn(t);if(e instanceof Yu)throw new Error("Please report error: Map iterator, unexpected stack for current");return[Zu(e),$u(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function ml(e){let t=dl(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>hl(t),"System.Collections.IEnumerator.get_Current":()=>hl(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(zn(t))return!1;if(null!=Hn(t)){if(Hn(t)instanceof Yu)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=fl(Vn(t)),!zn(e.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!zn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=dl(e)},Dispose(){}}}class pl{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=We(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=0|t(n,tt(e[0])),n=0|t(n,tt(e[1]))}}finally{Ge(r)}return 0|n}(this)}Equals(e){if(!(e instanceof pl))return!1;{const t=We(this);try{const n=We(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!(!it(r[0],o[0])||!it(r[1],o[1]))&&e()}return!0}return!1};return e()}finally{Ge(n)}}finally{Ge(t)}}}toString(){return"map ["+fn("; ",Sr((e=>cn("({0}, {1})",e[0],e[1])),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(e){return Array.from(this)}GetEnumerator(){return ml(this.tree)}[Symbol.iterator](){return Ze(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return ml(this.tree)}CompareTo(e){const t=this;if(e instanceof pl)return 0|function(e,t,n){const r=dr(t);try{const t=dr(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{Ge(t)}}finally{Ge(r)}}(((e,n)=>{const r=0|t.comparer.Compare(e[0],n[0]);return 0|(0!==r?r:ut(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 bl(this,e[0])&&it(vl(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){!function(e,t,n){let r=n;al(((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|yl(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|yl(this)}get size(){return 0|yl(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return Sr((e=>[e[0],e[1]]),this)}get(e){return vl(this,e)}has(e){return bl(this,e)}keys(){return Sr((e=>e[0]),this)}set(e,t){throw new Error("Map cannot be mutated")}values(){return Sr((e=>e[1]),this)}forEach(e,t){const n=this;kr((t=>{e(t[1],t[0],n)}),n)}}function gl(e,t){return new pl(e,t)}function wl(e){const t=xn();return gl(t,function(e,t){if(Ue(t))return ul(e,t);if(t instanceof Tn)return function(e,t){return Zn(((t,n)=>rl(e,n[0],n[1],t)),void 0,t)}(e,t);{const n=We(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=rl(r,a[0],a[1],o),n=i}}}(e,void 0,n)}finally{Ge(n)}}}(t,e))}function vl(e,t){return function(e,t,n){const r=ol(e,t,n);if(null==r)throw new Error;return wn(r)}(e.comparer,t,e.tree)}function yl(e){return el(e.tree)}function bl(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,Zu(a));if(a instanceof Yu){if(s<0){e=r,t=o,n=Xu(a);continue e}if(0===s)return!0;e=r,t=o,n=Ju(a);continue e}return 0===s}return!1}}(e.comparer,t,e.tree)}function _l(e,t,n){return function(e,t,n){return gl(e.comparer,rl(e.comparer,t,n,e.tree))}(n,e,t)}function Cl(e,t){return function(e,t){return ol(e.comparer,t,e.tree)}(t,e)}function xl(e,t){return function(e,t){return gl(e.comparer,cl(t,e.tree))}(t,e)}function kl(){return pl.empty}function Sl(e){return new Uu(0,"Content-Type",e)}pl.empty=gl(xn(),void 0);const Il=new zu("",new Lu(0),Ln(),!1,void 0,void 0,void 0,new Fu(0));function El(e,t){return un(t)?[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(Dt),t=t.length>0?t:["\\s"];const a=[],s=new RegExp(t.join("|"),"g");let c=!0,u=0;do{const t=s.exec(e);if(null===t){const t=i?e.substring(u).trim():e.substring(u);(!o||t.length>0)&&a.push(t),c=!1}else{const r=i?e.substring(u,t.index).trim():e.substring(u,t.index);(!o||r.length>0)&&(null!=n&&a.length+1===n?(a.push(i?e.substring(u).trim():e.substring(u)),c=!1):a.push(r)),u=s.lastIndex}}while(c);return a}(t,[e],null,0)}function Al(e){return new zu(e,Il.method,Il.headers,Il.withCredentials,Il.overridenMimeType,Il.overridenResponseType,Il.timeout,Il.content)}function Ol(e,t){return new zu(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Tl(e,t){return new zu(t.url,t.method,Jn(t.headers,Fn(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Nl(e,t){return new zu(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function Ml(e){return function(e){return Qa((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,c;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 Gu(0,n.responseText):new Gu("arraybuffer"===s?2:"blob"===s?1:3,n.response),c=function(e){const t=xn();return gl(t,ul(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=wn(o);r.push(e)}}return r}((e=>{const t=Xn(El(":",e));return zn(t)?void 0:[Hn(t).toLocaleLowerCase(),fn(":",Vn(t)).trim()]}),El("\r\n",n.getAllResponseHeaders()))),new Hu(o,e,i,n.responseURL,c,a)))};const r=We(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{Ge(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(gn(s.fields[0]));break;default:n.send()}}))}new Hu(0,"","","",kl(),new Gu(0,""));class Pl{constructor(e,t,n,r){this.declaringType=e,this.tag=t,this.name=n,this.fields=r}}class Dl{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 Xl(this)}GetHashCode(){return Bl(this)}Equals(e){return jl(this,e)}}function Rl(e){return null!=e.generics?e.generics:[]}function Bl(e){return et([Ke(e.fullname),...Rl(e).map(Bl)])}function jl(e,t){return""===e.fullname?""===t.fullname&&rt(sf(e),sf(t),(([e,t],[n,r])=>e===n&&jl(t,r))):e.fullname===t.fullname&&rt(Rl(e),Rl(t),jl)}function Ll(e,t,n,r){return new Dl(e,t,n,r)}function Ul(e,t,n,r){return new Dl(e,t,n,void 0,r)}function Fl(e,t,n,r){const o=new Dl(e,t,n,void 0,void 0,(()=>{const e=n.prototype.cases();return r().map(((t,n)=>new Pl(o,n,e[n],t)))}));return o}function zl(...e){return new Dl("System.Tuple`"+e.length,e)}function Gl(e){return new Dl("Microsoft.FSharp.Core.FSharpOption`1",[e])}function Hl(e){return new Dl("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Vl=new Dl("System.Object"),Wl=(new Dl("Microsoft.FSharp.Core.Unit"),new Dl("System.Char"),new Dl("System.String")),Zl=new Dl("System.Boolean"),$l=(new Dl("System.SByte"),new Dl("System.Byte"),new Dl("System.Int16"),new Dl("System.UInt16"),new Dl("System.Int32")),Yl=(new Dl("System.UInt32"),new Dl("System.Single"),new Dl("System.Double"));function ql(e){if(Array.isArray(e))return e[0];if(e instanceof Dl){const t=Kl(e);if(null!=t)return ql(t)+"[]";{const t=e.fullname.lastIndexOf(".");return-1===t?e.fullname:e.fullname.substr(t+1)}}return e.name}function Xl(e){const t=Kl(e);return null!=t?Xl(t)+"[]":null==e.generics||0===e.generics.length?e.fullname:e.fullname+"["+e.generics.map((e=>Xl(e))).join(",")+"]"}function Jl(e){return null!=Kl(e)}function Kl(e){var t;return"[]"===e.fullname&&1===(null===(t=e.generics)||void 0===t?void 0:t.length)?e.generics[0]:void 0}function Ql(e){return null!=e.generics&&e.generics.length>0}function ef(e){return null!=e.enumCases&&e.enumCases.length>0}function tf(e){return null==e.generics?e:new Dl(e.fullname,e.generics.map((()=>Vl)))}function nf(e){var t;return null===(t=e.generics)||void 0===t?void 0:t[0]}function rf(e){if(ef(e)&&null!=e.enumCases)return e.enumCases.map((e=>e[1]));throw new Error(`${e.fullname} is not an enum type`)}function of(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 af(e){if(null!=e.cases)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function sf(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function cf(e){if(ff(e)&&null!=e.generics)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function uf(e){return e instanceof Dl?null!=e.cases:e instanceof jt}function lf(e){return e instanceof Dl?null!=e.fields:e instanceof Ht}function ff(e){return e.fullname.startsWith("System.Tuple")}function df(e){return null==e.fields?[]:e.fields}function hf(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 Dl("System.Decimal");class mf extends Ht{constructor(e,t){super(),this.CssOverrides=e,this.MaskedEmail=t}}class pf extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Activated","InviteCodeInvalid","InviteExpired","InviteLocked","AwaitingConfirmation"]}}class gf extends Ht{constructor(e){super(),this.AuthCode=e}}class wf extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CodeMatch","CodeMismatch","CodeExpired","InviteLocked","NoSecondFactorCodeIssued"]}}class vf extends Ht{constructor(e,t){super(),this.CssOverrides=e,this.MaskedEmail=t}}function yf(){return Ul("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ActivationContextDto",[],vf,(()=>[["CssOverrides",Hl(Wl)],["MaskedEmail",Wl]]))}function bf(e){return new mf(e.CssOverrides,e.MaskedEmail)}class _f extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Activated","InviteCodeInvalid","InviteExpired","InviteLocked","AwaitingConfirmation"]}}function Cf(){return Fl("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ActivationOutcomeDto",[],_f,(()=>[[["Item",yf()]],[],[],[],[["Item",yf()]]]))}function xf(e){switch(e.tag){case 1:return new pf(1);case 2:return new pf(2);case 3:return new pf(3);case 4:return new pf(4,bf(e.fields[0]));default:return new pf(0,bf(e.fields[0]))}}class kf extends Ht{constructor(e){super(),this.AuthCode=e}}class Sf extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CodeMatch","CodeMismatch","CodeExpired","InviteLocked","NoSecondFactorCodeIssued"]}}function If(){return Fl("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ValidationOutcomeDto",[],Sf,(()=>[[["Item",Ul("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.CodeMatchContextDto",[],kf,(()=>[["AuthCode",Wl]]))]],[],[],[],[]]))}function Ef(e){switch(e.tag){case 1:return new wf(1);case 2:return new wf(2);case 3:return new wf(3);case 4:return new wf(4);default:return new wf(0,(t=e.fields[0],new gf(t.AuthCode)))}var t}class Af extends Ht{constructor(e){super(),this.Mfa=e}}function Of(){return Ul("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Write.ConfirmInvite",[],Af,(()=>[["Mfa",Wl]]))}class Tf extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class Nf extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class Mf{constructor(){this.cache=new Map([])}}function Pf(){return new Mf}function Df(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function Rf(e,t){switch(e.tag){case 2:return function(e,t,n,r,o=0){if("string"==typeof e){const n=e;e=Pt(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=Rt(e,a),c=Rt.length>r?(i=s[r-1],a.substring(0,i.index+i[0].length)):a;return t.substring(0,o)+c.replace(e,n)+t.substring(o+c.length)}return t.replace(e,n)}(Df(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return Df(t)}}Pf(),Pf();const Bf=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,jf=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Lf=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Uf(e){function t(e){return e.replace(jf,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(Bf.test(n))return function(e,...t){if(0===t.length)return e.trim();const n="["+Dt(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}(n,"{","}","(",")");if(jf.test(n))return t(n);if(Lf.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function Ff(e,t){try{return t.contents=Uf(e),!0}catch(e){return!1}}var zf;function Gf(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 Hf(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&zf.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]=Gf(!0,r);!n&&10!==i.radix&&e>=t&&e<=o&&(e=e<<32-r>>32-r);const[a,s]=Gf(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 Vf(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 Wf(e,t){try{return t.contents=function(e){const[t,n]=Ct(e),r=null==n?-6e4*t.getTimezoneOffset():"Z"===n?0:6e4*n;return Vf(t.getTime(),r)}(e),!0}catch(e){return!1}}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(zf||(zf={}));class Zf{constructor(e){this.k=e}}function $f(e){return new Zf(e)}function Yf(e){return e.k}class qf extends Zf{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=0|r}}function Xf(e,t,n,r){return new qf(e,t,n,r)}function Jf(e){return e.left}function Kf(e){return e.right}function Qf(e){return e.h}function ed(e,t){e:for(;;){const n=e,r=t;if(null!=n){const o=n;if(o instanceof qf){e=Jf(o),t=ed(Kf(o),r+1);continue e}return r+1|0}return 0|r}}function td(e){return ed(e,0)}function nd(e,t,n){let r,o;if(null!=e){const t=e;r=t instanceof qf?Qf(t):1}else r=0;if(null!=n){const e=n;o=e instanceof qf?Qf(e):1}else o=0;const i=0|(r<o?o:r);return 0===i?$f(t):Xf(t,e,n,i+1)}function rd(e,t,n){let r,o,i,a,s,c;if(null!=e){const t=e;s=t instanceof qf?Qf(t):1}else s=0;if(null!=n){const e=n;c=e instanceof qf?Qf(e):1}else c=0;if(c>s+2){const i=wn(n);if(i instanceof qf){if(r=Jf(i),(null!=r?(o=r,o instanceof qf?Qf(o):1):0)>s+1){const n=wn(Jf(i));if(n instanceof qf)return nd(nd(e,t,Jf(n)),Yf(n),nd(Kf(n),Yf(i),Kf(i)));throw new Error("internal error: Set.rebalance")}return nd(nd(e,t,Jf(i)),Yf(i),Kf(i))}throw new Error("internal error: Set.rebalance")}if(s>c+2){const r=wn(e);if(r instanceof qf){if(i=Kf(r),(null!=i?(a=i,a instanceof qf?Qf(a):1):0)>c+1){const e=wn(Kf(r));if(e instanceof qf)return nd(nd(Jf(r),Yf(r),Jf(e)),Yf(e),nd(Kf(e),t,n));throw new Error("internal error: Set.rebalance")}return nd(Jf(r),Yf(r),nd(Kf(r),t,n))}throw new Error("internal error: Set.rebalance")}return nd(e,t,n)}function od(e,t,n){if(null!=n){const r=n,o=0|e.Compare(t,Yf(r));if(r instanceof qf)return o<0?rd(od(e,t,Jf(r)),Yf(r),Kf(r)):0===o?n:rd(Jf(r),Yf(r),od(e,t,Kf(r)));{const o=0|e.Compare(t,Yf(r));return o<0?Xf(t,void 0,n,2):0===o?n:Xf(t,n,void 0,2)}}return $f(t)}function id(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const a=i,s=0|r.Compare(o,Yf(a));if(a instanceof qf){if(s<0){e=r,t=o,n=Jf(a);continue e}if(0===s)return!0;e=r,t=o,n=Kf(a);continue e}return 0===s}return!1}}function ad(e,t){e:for(;;){const n=e,r=t;if(null!=r){const o=r;if(o instanceof qf){ad(n,Jf(o)),n(Yf(o)),e=n,t=Kf(o);continue e}n(Yf(o))}break}}class sd extends Ht{constructor(e,t){super(),this.stack=e,this.started=t}}function cd(e){e:for(;;){const t=e;if(zn(t))return Ln();{const n=Hn(t),r=Vn(t);if(null!=n){const o=n;if(o instanceof qf){e=qn([Jf(o),$f(Yf(o)),Kf(o)],r);continue e}return t}e=r;continue e}}}function ud(e){return new sd(cd(Fn(e)),!1)}function ld(e){if(e.started){const t=e.stack;if(zn(t))return function(){throw new Error("Enumeration already started")}();if(null!=Hn(t))return Yf(Hn(t));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function fd(e){let t=ud(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>ld(t),"System.Collections.IEnumerator.get_Current":()=>ld(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(zn(t))return!1;if(null!=Hn(t)){if(Hn(t)instanceof qf)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=cd(Vn(t)),!zn(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!zn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=ud(e)},Dispose(){}}}function dd(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(zn(a[0]))return zn(a[1])?0:-1;if(zn(a[1]))return 1;if(null!=Hn(a[1]))if(null!=Hn(a[0])){const s=Hn(a[0]),c=Hn(a[1]);if(s instanceof qf)if(null==Jf(s)){if(!(c instanceof qf)){const o=0|r.Compare(Yf(s),Yf(c));if(0!==o)return 0|o;e=r,t=Un(Kf(s),Vn(a[0])),n=Un(void 0,Vn(a[1]));continue e}if(null==Jf(c)){const o=0|r.Compare(Yf(s),Yf(c));if(0!==o)return 0|o;e=r,t=Un(Kf(s),Vn(a[0])),n=Un(Kf(c),Vn(a[1]));continue e}{const a=[o,i];let s,c,u,l,f;switch(zn(a[0])?zn(a[1])?s=2:null!=Hn(a[1])?(s=1,l=Vn(a[1]),f=Hn(a[1])):s=2:null!=Hn(a[0])?(s=0,c=Vn(a[0]),u=Hn(a[0])):zn(a[1])?s=2:null!=Hn(a[1])?(s=1,l=Vn(a[1]),f=Hn(a[1])):s=2,s){case 0:if(u instanceof qf){e=r,t=qn([Jf(u),Xf(Yf(u),void 0,Kf(u),0)],c),n=i;continue e}e=r,t=qn([void 0,$f(Yf(u))],c),n=i;continue e;case 1:if(f instanceof qf){e=r,t=o,n=qn([Jf(f),Xf(Yf(f),void 0,Kf(f),0)],l);continue e}e=r,t=o,n=qn([void 0,$f(Yf(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const a=[o,i];let s,c,u,l,f;switch(zn(a[0])?zn(a[1])?s=2:null!=Hn(a[1])?(s=1,l=Vn(a[1]),f=Hn(a[1])):s=2:null!=Hn(a[0])?(s=0,c=Vn(a[0]),u=Hn(a[0])):zn(a[1])?s=2:null!=Hn(a[1])?(s=1,l=Vn(a[1]),f=Hn(a[1])):s=2,s){case 0:if(u instanceof qf){e=r,t=qn([Jf(u),Xf(Yf(u),void 0,Kf(u),0)],c),n=i;continue e}e=r,t=qn([void 0,$f(Yf(u))],c),n=i;continue e;case 1:if(f instanceof qf){e=r,t=o,n=qn([Jf(f),Xf(Yf(f),void 0,Kf(f),0)],l);continue e}e=r,t=o,n=qn([void 0,$f(Yf(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(c instanceof qf)){const o=0|r.Compare(Yf(s),Yf(c));if(0!==o)return 0|o;e=r,t=Vn(a[0]),n=Vn(a[1]);continue e}if(null==Jf(c)){const o=0|r.Compare(Yf(s),Yf(c));if(0!==o)return 0|o;e=r,t=Un(void 0,Vn(a[0])),n=Un(Kf(c),Vn(a[1]));continue e}{const a=[o,i];let s,c,u,l,f;switch(zn(a[0])?zn(a[1])?s=2:null!=Hn(a[1])?(s=1,l=Vn(a[1]),f=Hn(a[1])):s=2:null!=Hn(a[0])?(s=0,c=Vn(a[0]),u=Hn(a[0])):zn(a[1])?s=2:null!=Hn(a[1])?(s=1,l=Vn(a[1]),f=Hn(a[1])):s=2,s){case 0:if(u instanceof qf){e=r,t=qn([Jf(u),Xf(Yf(u),void 0,Kf(u),0)],c),n=i;continue e}e=r,t=qn([void 0,$f(Yf(u))],c),n=i;continue e;case 1:if(f instanceof qf){e=r,t=o,n=qn([Jf(f),Xf(Yf(f),void 0,Kf(f),0)],l);continue e}e=r,t=o,n=qn([void 0,$f(Yf(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{Hn(a[1]);const s=[o,i];let c,u,l,f,d;switch(zn(s[0])?zn(s[1])?c=2:null!=Hn(s[1])?(c=1,f=Vn(s[1]),d=Hn(s[1])):c=2:null!=Hn(s[0])?(c=0,u=Vn(s[0]),l=Hn(s[0])):zn(s[1])?c=2:null!=Hn(s[1])?(c=1,f=Vn(s[1]),d=Hn(s[1])):c=2,c){case 0:if(l instanceof qf){e=r,t=qn([Jf(l),Xf(Yf(l),void 0,Kf(l),0)],u),n=i;continue e}e=r,t=qn([void 0,$f(Yf(l))],u),n=i;continue e;case 1:if(d instanceof qf){e=r,t=o,n=qn([Jf(d),Xf(Yf(d),void 0,Kf(d),0)],f);continue e}e=r,t=o,n=qn([void 0,$f(Yf(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==Hn(a[0])){e=r,t=Vn(a[0]),n=Vn(a[1]);continue e}{Hn(a[0]);const s=[o,i];let c,u,l,f,d;switch(zn(s[0])?zn(s[1])?c=2:null!=Hn(s[1])?(c=1,f=Vn(s[1]),d=Hn(s[1])):c=2:null!=Hn(s[0])?(c=0,u=Vn(s[0]),l=Hn(s[0])):zn(s[1])?c=2:null!=Hn(s[1])?(c=1,f=Vn(s[1]),d=Hn(s[1])):c=2,c){case 0:if(l instanceof qf){e=r,t=qn([Jf(l),Xf(Yf(l),void 0,Kf(l),0)],u),n=i;continue e}e=r,t=qn([void 0,$f(Yf(l))],u),n=i;continue e;case 1:if(d instanceof qf){e=r,t=o,n=qn([Jf(d),Xf(Yf(d),void 0,Kf(d),0)],f);continue e}e=r,t=o,n=qn([void 0,$f(Yf(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,Fn(t),Fn(n))}function hd(e,t,n){let r=n;ad((e=>{t[r]=e,r=r+1|0}),e)}function md(e,t){if(Ue(t))return function(e,t){return En(((t,n)=>od(e,n,t)),void 0,t)}(e,t);if(t instanceof Tn)return function(e,t){return Zn(((t,n)=>od(e,n,t)),void 0,t)}(e,t);{const n=We(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=od(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i}}(e,void 0,n)}finally{Ge(n)}}}class pd{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){let t,n=0;const r=We(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();)n=0|(t=0|tt(r["System.Collections.Generic.IEnumerator`1.get_Current"]()),(n<<1)+t+631)}finally{Ge(r)}return 0|Math.abs(n)}(this)}Equals(e){return e instanceof pd&&0===dd(gd(this),wd(this),wd(e))}toString(){return"set ["+fn("; ",Sr((e=>Bt(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(e){return Array.from(this)}CompareTo(e){return 0|dd(gd(this),wd(this),wd(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 id(gd(this),e,wd(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){hd(wd(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|vd(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|vd(this)}GetEnumerator(){return fd(wd(this))}[Symbol.iterator](){return Ze(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return fd(wd(this))}get size(){return 0|vd(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 id(gd(e),t,wd(e))}(this,e)}keys(){return Sr((e=>e),this)}values(){return Sr((e=>e),this)}entries(){return Sr((e=>[e,e]),this)}forEach(e,t){const n=this;kr((t=>{e(t,t,n)}),n)}}function gd(e){return e.comparer}function wd(e){return e.tree}function vd(e){return td(wd(e))}function yd(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 bd(e,t,n){const r=t(e,n);if(1===r.tag){const e=r.fields[0];return new ts(1,function(e,t){const n=2===t.tag?yd(t.fields[0],t.fields[1],!0):1===t.tag?yd(t.fields[0],t.fields[1],!1)+"\nReason: "+t.fields[2]:3===t.tag?yd(t.fields[0],t.fields[1],!0):4===t.tag?yd(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"+fn("\n\n",t.fields[0]):6===t.tag?"The following `failure` occurred with the decoder: "+t.fields[0]:yd(t.fields[0],t.fields[1],!1);return 7===t.tag?n:"Error at: `"+e+"`\n"+n}(e[0],e[1]))}return new ts(0,r.fields[0])}const _d=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 ts(0,(e+128&255)-128):new ts(1,[r,new Tf(1,n,e,"Value was either too large or too small for a sbyte")]):new ts(1,[r,new Tf(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Hf(o,511,!1,8,new Vt((()=>t),(e=>{t=0|e}))),t],e[0]?new ts(0,e[1]):new ts(1,[r,new Tf(0,n,o)])}return new ts(1,[r,new Tf(0,n,o)])},Cd=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 ts(0,255&e):new ts(1,[r,new Tf(1,n,e,"Value was either too large or too small for a byte")]):new ts(1,[r,new Tf(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Hf(o,511,!0,8,new Vt((()=>t),(e=>{t=e}))),t],e[0]?new ts(0,e[1]):new ts(1,[r,new Tf(0,n,o)])}return new ts(1,[r,new Tf(0,n,o)])},xd=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 ts(0,(e+32768&65535)-32768):new ts(1,[r,new Tf(1,n,e,"Value was either too large or too small for "+n)]):new ts(1,[r,new Tf(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Hf(o,511,!1,16,new Vt((()=>t),(e=>{t=0|e}))),t],e[0]?new ts(0,e[1]):new ts(1,[r,new Tf(0,n,o)])}return new ts(1,[r,new Tf(0,n,o)])},kd=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 ts(0,65535&e):new ts(1,[r,new Tf(1,n,e,"Value was either too large or too small for "+n)]):new ts(1,[r,new Tf(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Hf(o,511,!0,16,new Vt((()=>t),(e=>{t=e}))),t],e[0]?new ts(0,e[1]):new ts(1,[r,new Tf(0,n,o)])}return new ts(1,[r,new Tf(0,n,o)])},Sd=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 ts(0,~~e):new ts(1,[r,new Tf(1,n,e,"Value was either too large or too small for an int")]):new ts(1,[r,new Tf(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Hf(o,511,!1,32,new Vt((()=>t),(e=>{t=0|e}))),t],e[0]?new ts(0,e[1]):new ts(1,[r,new Tf(0,n,o)])}return new ts(1,[r,new Tf(0,n,o)])},Id=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 ts(0,e>>>0):new ts(1,[r,new Tf(1,n,e,"Value was either too large or too small for "+n)]):new ts(1,[r,new Tf(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Hf(o,511,!0,32,new Vt((()=>t),(e=>{t=e}))),t],e[0]?new ts(0,e[1]):new ts(1,[r,new Tf(0,n,o)])}return new ts(1,[r,new Tf(0,n,o)])};function Ed(e,t,n,r){let o;const i=n+".["+Xe(e)+"]";if(Array.isArray(r)){const n=r;return e<n.length?t(i,n[e]):new ts(1,[i,new Tf(5,"a longer array. Need index `"+Xe(e)+"` but there are only `"+(o=n.length,Xe(o)+"` entries"),r)])}return new ts(1,[i,new Tf(0,"an array",r)])}function Ad(e,t,n){if(Array.isArray(n)){let r=-1;return ns($n,En(((n,o)=>{if(r=r+1|0,0===n.tag){const i=e(t+".["+Xe(r)+"]",o);return 0===i.tag?new ts(0,Un(i.fields[0],n.fields[0])):new ts(1,i.fields[0])}return n}),new ts(0,Ln()),n))}return new ts(1,[t,new Tf(0,"a list",n)])}function Od(e,t,n){if(Array.isArray(n)){let r=-1;const o=n;return En(((n,o)=>{if(r=r+1|0,0===n.tag){const i=n.fields[0],a=e(t+".["+Xe(r)+"]",o);return 0===a.tag?(i[r]=a.fields[0],new ts(0,i)):new ts(1,a.fields[0])}return n}),new ts(0,Sn(new Array(o.length),0,o.length,null)),o)}return new ts(1,[t,new Tf(0,"an array",n)])}function Td(e,t,n,r){const o=t(n,r);return 0===o.tag?e(o.fields[0],n,r):new ts(1,o.fields[0])}function Nd(e,t){let n;const r=e;return n=e=>t=>Ed(0,r,e,t),e=>r=>Td(ht(3,(e=>{let n;const r=t;return n=e=>t=>Ed(1,r,e,t),t=>r=>Td(((t,n,r)=>new ts(0,[e,t])),ht(2,n),t,r)})),ht(2,n),e,r)}function Md(e){return wl(e)}function Pd(e){return function(e,t){return new pd(e,t)}(t={Compare:ut},md(t,e));var t}function Dd(e,t,n,r){let o,i;return t.length!==r.length?new ts(1,[n,new Tf(6,(o=0|r.length,i=0|t.length,rn(en("Expected %i %s but got %i"))(i)(e)(o)))]):On(((e,t,r)=>0===r.tag?ns((e=>Un(e,r.fields[0])),t(n)(e)):r),r,t,new ts(0,Ln()))}function Rd(e,t,n,r,o,i){const a=function(e,t){return t.find((e=>ql(e)===r))}(0,af(n));if(null!=a){const n=a;return 0===i.length?new ts(0,hf(n,[])):ns((e=>hf(n,Wn(e))),Dd("union fields",In((n=>jd(e,t,!1,n[1])),df(n)),o,i))}return new ts(1,[o,new Tf(6,"Cannot find case "+r+" in "+Xl(n))])}function Bd(e,t,n,r){const o=new Vt(null),i=_l(Xl(r),o,e);let a;if(lf(r)){const e=In((e=>[Rf(t,ql(e)),jd(i,t,!1,e[1])]),sf(r));a=t=>n=>ns((e=>function(e,t){const n=sf(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,Wn(e))),function(e,t,n){return null===n||Object.getPrototypeOf(n||!1)!==Object.prototype?new ts(1,[t,new Tf(0,"an object",n)]):function(e,t,n){return t.reduceRight(((t,n)=>e(n,t)),n)}(ht(2,(e=>{const r=e[0];return o=>0===o.tag?ns((e=>Un(e,o.fields[0])),e[1](t+"."+r)(n[r])):o})),e,new ts(0,Ln()))}(e,t,n))}else if(uf(r))a=e=>n=>{if("string"==typeof n)return Rd(i,t,r,n,e,[]);if(Array.isArray(n)){const o=n;return Rd(i,t,r,o[0],e,o.slice(1,o.length))}return new ts(1,[e,new Tf(0,"a string or array",n)])};else{if(!n){let e;const t=Xl(r);throw e=rn(en("Cannot generate auto decoder for %s. Please pass an extra decoder."))(t),new Error(e)}a=e=>t=>new ts(1,[e,new Tf(2,"an extra coder for "+Xl(r),t)])}return o.contents=a,a}function jd(e,t,n,r){let o,i,a;const s=Xl(r),c=Cl(s,e);if(null==c){if(Jl(r)){const n=jd(e,t,!1,Kl(r));return e=>t=>Od(ht(2,n),e,t)}if(ef(r)){const e=Xl(nf(r));if("System.SByte"===e)return e=>t=>{const n=r,o=e,i=t,a=_d(o)(i);if(1===a.tag)return new ts(1,a.fields[0]);{const e=a.fields[0];return Cr(e,rf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new ts(0,of(n,e.toString())):new ts(1,[o,new Tf(1,Xl(n),i,"Unkown value provided for the enum")])}};if("System.Byte"===e)return e=>t=>{const n=r,o=e,i=t,a=Cd(o)(i);if(1===a.tag)return new ts(1,a.fields[0]);{const e=a.fields[0];return Cr(e,rf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new ts(0,of(n,e.toString())):new ts(1,[o,new Tf(1,Xl(n),i,"Unkown value provided for the enum")])}};if("System.Int16"===e)return e=>t=>{const n=r,o=e,i=t,a=xd(o)(i);if(1===a.tag)return new ts(1,a.fields[0]);{const e=a.fields[0];return Cr(e,rf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new ts(0,of(n,e.toString(s))):new ts(1,[o,new Tf(1,Xl(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=kd(o)(i);if(1===a.tag)return new ts(1,a.fields[0]);{const e=a.fields[0];return Cr(e,rf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new ts(0,of(n,e.toString())):new ts(1,[o,new Tf(1,Xl(n),i,"Unkown value provided for the enum")])}};if("System.Int32"===e)return e=>t=>{const n=r,o=e,i=t,a=Sd(o)(i);if(1===a.tag)return new ts(1,a.fields[0]);{const e=a.fields[0];return Cr(e,rf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new ts(0,of(n,Xe(e))):new ts(1,[o,new Tf(1,Xl(n),i,"Unkown value provided for the enum")])}};if("System.UInt32"===e)return e=>t=>{const n=r,o=e,i=t,a=Id(o)(i);if(1===a.tag)return new ts(1,a.fields[0]);{const e=a.fields[0];return Cr(e,rf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new ts(0,of(n,e.toString())):new ts(1,[o,new Tf(1,Xl(n),i,"Unkown value provided for the enum")])}};{const e=Xl(r),t=on(en("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(Ql(r)){if(ff(r)){const n=In((n=>jd(e,t,!1,n)),cf(r));return e=>t=>Array.isArray(t)?ns((e=>Wn(e)),Dd("tuple elements",n,e,t)):new ts(1,[e,new Tf(0,"an array",t)])}{const s=Xl(tf(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===s)return o=jd(e,t,!0,Rl(r)[0]),e=>t=>{return n=ht(2,o),r=e,null==(i=t)?new ts(0,void 0):ns(gn,n(r,i));var n,r,i};if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===s)return i=jd(e,t,!1,Rl(r)[0]),e=>t=>Ad(ht(2,i),e,t);if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===s){const n=jd(e,t,!1,Rl(r)[0]),o=jd(e,t,!1,Rl(r)[1]);let i;const s=Xn([e=>t=>function(e,t,n,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new ts(1,[n,new Tf(0,"an object",r)]):xr(((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 ts(0,Un([a.fields[0],e.fields[0]],o.fields[0])):new ts(1,e.fields[0])}return new ts(1,a.fields[0])}return o}),new ts(0,Ln()),Object.keys(r))}(ht(2,n),ht(2,o),e,t),(a=Nd(ht(2,n),ht(2,o)),e=>t=>Ad(ht(2,a),e,t))]);return i=e=>t=>{return n=e,r=t,((e,t)=>{e:for(;;){const o=e,i=t;if(zn(o))return new ts(1,[n,new Tf(7,i)]);{const a=bd(n,ht(2,Hn(o)),r);if(1===a.tag){e=Vn(o),t=Jn(i,Fn(a.fields[0]));continue e}return new ts(0,a.fields[0])}}})(s,Ln());var n,r},e=>t=>function(e,t,n,r){const o=t(n,r);return 1===o.tag?new ts(1,o.fields[0]):new ts(0,e(o.fields[0]))}(Md,ht(2,i),e,t)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===s){const n=jd(e,t,!1,Rl(r)[0]);return e=>t=>{const r=Od(ht(2,n),e,t);return 0===r.tag?new ts(0,Pd(r.fields[0])):new ts(1,r.fields[0])}}return Bd(e,t,n,r)}}return"System.Boolean"===s?e=>t=>{return n=e,"boolean"==typeof(r=t)?new ts(0,r):new ts(1,[n,new Tf(0,"a boolean",r)]);var n,r}:"Microsoft.FSharp.Core.Unit"===s?e=>t=>{return n=e,null==(r=t)?new ts(0,void 0):new ts(1,[n,new Tf(0,"null",r)]);var n,r}:"System.String"===s?e=>t=>{return n=e,"string"==typeof(r=t)?new ts(0,r):new ts(1,[n,new Tf(0,"a string",r)]);var n,r}:"System.SByte"===s?_d:"System.Byte"===s?Cd:"System.Int16"===s?xd:"System.UInt16"===s?kd:"System.Int32"===s?Sd:"System.UInt32"===s?Id:"System.Double"===s?e=>t=>{return n=e,"number"==typeof(r=t)?new ts(0,r):new ts(1,[n,new Tf(0,"a float",r)]);var n,r}:"System.Single"===s?e=>t=>{return n=e,"number"==typeof(r=t)?new ts(0,r):new ts(1,[n,new Tf(0,"a float32",r)]);var n,r}:"System.DateTime"===s?e=>t=>function(e,t){if("string"==typeof t){let r,o=_t(-621355968e5,0);return r=[xt(t,new Vt((()=>o),(e=>{o=e}))),o],r[0]?new ts(0,1===(n=r[1]).kind?n:_t(n.getTime(),1)):new ts(1,[e,new Tf(0,"a datetime",t)])}var n;return new ts(1,[e,new Tf(0,"a datetime",t)])}(e,t):"System.DateTimeOffset"===s?e=>t=>function(e,t){if("string"==typeof t){let n,r=Vf(-621355968e5,0);return n=[Wf(t,new Vt((()=>r),(e=>{r=e}))),r],n[0]?new ts(0,n[1]):new ts(1,[e,new Tf(0,"a datetimeoffset",t)])}return new ts(1,[e,new Tf(0,"a datetime",t)])}(e,t):"System.TimeSpan"===s?e=>t=>function(e,t){if("string"==typeof t){let n,r=0;return n=[Gc(t,new Vt((()=>r),(e=>{r=e}))),r],n[0]?new ts(0,n[1]):new ts(1,[e,new Tf(0,"a timespan",t)])}return new ts(1,[e,new Tf(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=[Ff(t,new Vt((()=>r),(e=>{r=e}))),r],n[0]?new ts(0,n[1]):new ts(1,[e,new Tf(0,"a guid",t)])}return new ts(1,[e,new Tf(0,"a guid",t)])}(e,t):"System.Object"===s?e=>e=>new ts(0,e):Bd(e,t,n,r)}{const e=c;return t=>n=>e.contents(t)(n)}}function Ld(e,t,n){let r;const o=bn(e,new Nf(0));return r=wn(n).ResolveType(),jd(function(e){return null!=e?xl(((e,t)=>new Vt(t[1])),e.Coders):kl()}(t),o,!1,r)}function Ud(e,t,n,r){return function(e,t){try{return bd("$",e,JSON.parse(t))}catch(e){if(e instanceof SyntaxError)return new ts(1,"Given an invalid JSON: "+e.message);throw e}}(ht(2,Ld(t,n,r)),e)}function Fd(e){return e}function zd(e){return Array.from(e)}function Gd(e){return bt(e,"O")}function Hd(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 Lc(e/864e5)}(e)),o=Math.abs(function(e){return Lc(e%864e5/36e5)}(e)),i=Math.abs(function(e){return Lc(e%36e5/6e4)}(e)),a=Math.abs(function(e){return Lc(e%6e4/1e3)}(e)),s=Math.abs(function(e){return Lc(e%1e3)}(e));return`${e<0?"-":""}${0!==r||"c"!==t&&"g"!==t?"c"===t?r+".":r+":":""}${"g"===t?o:Ye(o,2)}:${Ye(i,2)}:${Ye(a,2)}${0!==s||"c"!==t&&"g"!==t?"g"===t?"."+Ye(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 Vd(e){return String(e)}function Wd(e){return String(e)}function Zd(e){return String(e)}function $d(e){return String(e)}function Yd(){return null}function qd(e){return bt(e,"O")}function Xd(e,t,n,r){const o=new Vt(null),i=_l(Xl(r),o,e);let a;if(lf(r)){const e=In((e=>{const r=Rf(t,ql(e)),o=Jd(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}}),sf(r));a=t=>xr(((e,n)=>n(t)(e)),{},e)}else{if(!uf(r)){let e;const t=Xl(r);throw e=rn(en("Cannot generate auto encoder for %s. Please pass an extra encoder."))(t),new Error(e)}a=e=>{const o=function(e,t){const n=af(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],c=0|s.length;if(0===c)return ql(a);{const e=0|c,r=df(a),o=Sn(new Array(e+1),0,e+1,null);o[0]=ql(a);for(let a=1;a<=e;a++){const e=Jd(i,t,n,r[a-1][1]);o[a]=e(s[a-1])}return o}}}return o.contents=a,a}function Jd(e,t,n,r){const o=Xl(r),i=Cl(o,e);if(null==i){if(Jl(r)){const o=Jd(e,t,n,Kl(r));return e=>zd(Sr(o,e))}if(ef(r)){const e=Xl(nf(r));if("System.SByte"===e)return Vd;if("System.Byte"===e)return Wd;if("System.Int16"===e)return Zd;if("System.UInt16"===e)return $d;if("System.Int32"===e)return e=>e;if("System.UInt32"===e)return e=>e;{const e=Xl(r);return on(en("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(Ql(r)){if(ff(r)){const o=In((r=>Jd(e,t,n,r)),cf(r));return e=>{return zd((t=(e,t)=>o[e](t),n=e,br((()=>dr(n)),((e,n)=>n["System.Collections.IEnumerator.MoveNext"]()?gn(t(e,n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{Ge(e)}))));var t,n}}{const o=Xl(tf(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===o){const o=new $e((()=>{return o=Jd(e,t,n,Rl(r)[0]),e=>{return null!=(t=_n(o,e))?wn(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=Jd(e,t,n,Rl(r)[0]);return e=>zd(Sr(o,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===o){const o=Rl(r)[0],i=Jd(e,t,n,Rl(r)[1]);if("System.String"===Xl(o)||"System.Guid"===Xl(o))return e=>xr(((e,t)=>{const n=t;return e[n[0]]=i(n[1]),e}),{},e);{let r;const a=Jd(e,t,n,o);return r=a,e=>zd(Sr((e=>{const t=e;return[r(t[0]),i(t[1])]}),e))}}return Xd(e,t,n,r)}}return"System.Boolean"===o?e=>e:"Microsoft.FSharp.Core.Unit"===o?Yd:"System.String"===o?e=>e:"System.SByte"===o?Vd:"System.Byte"===o?Wd:"System.Int16"===o?Zd:"System.UInt16"===o?$d:"System.Int32"===o?e=>e:"System.UInt32"===o?e=>e:"System.Double"===o?e=>e:"System.Single"===o?e=>e:"System.DateTime"===o?qd:"System.DateTimeOffset"===o?Gd:"System.TimeSpan"===o?Hd:"System.Guid"===o?Fd:"System.Object"===o?e=>e:Xd(e,t,n,r)}{const e=i;return t=>e.contents(t)}}function Kd(e,t,n,r,o,i){return function(e,t){return JSON.stringify(t,ht(2,null),gn(e))}(e,function(e,t,n,r){let o;const i=bn(e,new Nf(0)),a=bn(n,!0);return o=wn(r).ResolveType(),Jd(function(e){return null!=e?xl(((e,t)=>new Vt(t[0])),e.Coders):kl()}(t),i,a,o)}(n,r,o,i)(t))}function Qd(e){return ju(0,(()=>{let t;const n=Ml(e);return t=es.Bind(n,(e=>es.Return(new ts(0,e)))),es.Delay((()=>es.Bind(t,(t=>{let n,r;const o=t;return 1===o.tag?es.Return(new ts(1,o.fields[0])):es.ReturnFrom((n=o.fields[0],429===n.statusCode||n.statusCode>=500?(r=Ml(e),es.Bind(r,(e=>es.Return(new ts(0,e))))):Bu(0,n)))}))))}))}function eh(e){return function(e){return ju(0,(()=>{const t=Qd(Ol(new Lu(1),Al(function(e){const t=eu(e);return rn(en("%s/workflows/public-backend/invites/%s/activate"))(Au)(t)}(e))));return es.Delay((()=>es.Bind(t,(e=>{let t,n;const r=e;return 1===r.tag?es.Return(new ts(1,r.fields[0])):es.ReturnFrom((t=r.fields[0],200===t.statusCode?(n=ns(xf,Ud(t.responseText,new Nf(1),void 0,{ResolveType:Cf})),es.Return(n)):es.Return(new ts(1,"Unexpected response from backend"))))}))))}))}(e)}function th(e,t){let n,r,o,i,a,s,c;switch(e.tag){case 1:{const n=e.fields[0];let r,o;switch(3===n.tag?r=1:0===n.tag||1===n.tag?r=2:0===n.fields[0].tag?(r=0,o=n.fields[0].fields[0]):r=1,r){case 0:{let e,n;switch(o.tag){case 4:default:e=0,n=o.fields[0];break;case 1:e=1;break;case 2:e=2;break;case 3:e=3}switch(e){case 0:return[new mu(t.InviteToken,n.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new du(1),n.CssOverrides),gs()];case 1:return[new mu(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new du(2,"We couldn't find this invite. Reach out to your employer to get another one."),t.CssOverrides),gs()];case 2:return[new mu(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new du(2,"Your invite has expired. Reach out to your employer to get another one."),t.CssOverrides),gs()];case 3:return[new mu(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new du(2,"Your invite has been locked. Try refreshing this page in 30 minutes."),t.CssOverrides),gs()]}}case 1:return[new mu(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new du(2,"Oops, looks like something went wrong. Try refreshing this page."),t.CssOverrides),gs()];case 2:return[t,gs()]}}case 2:{const s=e.fields[0];let c,u;switch(3===s.tag?c=1:0===s.tag||1===s.tag?c=2:0===s.fields[0].tag?(c=0,u=s.fields[0].fields[0]):c=1,c){case 0:switch(u.tag){case 2:return[new mu(t.InviteToken,t.MaskedEmail,(n=t.MfaCodeForm,{Error:"That code has expired. You should get another one soon.",Input:n.Input,IsDirty:n.IsDirty,IsTouched:n.IsTouched}),!1,t.CanRetry,t.Ui,t.CssOverrides),bs(new hu(0))];case 1:return[new mu(t.InviteToken,t.MaskedEmail,(r=t.MfaCodeForm,{Error:"Code doesn't match.",Input:r.Input,IsDirty:r.IsDirty,IsTouched:r.IsTouched}),!1,t.CanRetry,t.Ui,t.CssOverrides),gs()];case 4:return[new mu(t.InviteToken,t.MaskedEmail,(o=t.MfaCodeForm,{Error:"Looks like the code hasn't been issued. Reach out to your employer.",Input:o.Input,IsDirty:o.IsDirty,IsTouched:o.IsTouched}),!1,t.CanRetry,t.Ui,t.CssOverrides),gs()];case 3:return[new mu(t.InviteToken,t.MaskedEmail,(i=t.MfaCodeForm,{Error:"Invite has been locked. Check back in 30 minutes.",Input:i.Input,IsDirty:i.IsDirty,IsTouched:i.IsTouched}),!1,t.CanRetry,t.Ui,t.CssOverrides),gs()];default:return[t,(a=Mu(new Nu(1)),ys((e=>{_u(Fn(a+function(e){const t=fn("&",Kn((e=>fn("=",[encodeURIComponent(e[0]),encodeURIComponent(e[1])])),e));return""===t?"":"?"+t}(Fn(["code",u.fields[0].AuthCode]))),1,2)})))]}case 1:return[new mu(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,!1,t.CanRetry,new du(2,"Oops, looks like something went wrong. Please try again."),t.CssOverrides),gs()];case 2:return[new mu(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,!0,t.CanRetry,t.Ui,t.CssOverrides),gs()]}}case 3:{const n=e.fields[0];return[(s=Xc(n),1===s.tag?new mu(t.InviteToken,t.MaskedEmail,{Error:"Code should contain exactly 6 digits.",Input:n,IsDirty:!0,IsTouched:t.MfaCodeForm.IsTouched},t.IsValidationPending,t.CanRetry,t.Ui,t.CssOverrides):new mu(t.InviteToken,t.MaskedEmail,{Error:void 0,Input:n,IsDirty:!0,IsTouched:t.MfaCodeForm.IsTouched},t.IsValidationPending,t.CanRetry,t.Ui,t.CssOverrides)),gs()]}case 4:return[new mu(t.InviteToken,t.MaskedEmail,(c=t.MfaCodeForm,{Error:c.Error,Input:c.Input,IsDirty:c.IsDirty,IsTouched:!0}),t.IsValidationPending,t.CanRetry,t.Ui,t.CssOverrides),gs()];default:return[t,bs(new hu(1,qs(eh(t.InviteToken),[])))]}}function nh(e,t){return es.Delay((()=>es.Bind(ls(e),(()=>es.ReturnFrom(t)))))}function rh(e,t){return e.replace(/[a-z]?[A-Z]/g,(e=>1===e.length?e.toLowerCase():e.charAt(0)+t+e.charAt(1).toLowerCase()))}function oh(e,t=0){const n={},r=t;function o(e){throw new Error("Cannot infer key and value of "+String(e))}function i(e,t,r){e=function(e,t){switch(t){case 1:return e.charAt(0).toLowerCase()+e.slice(1);case 2:return rh(e,"_");case 3:return rh(e,"_").toUpperCase();case 4:return rh(e,"-");default:return e}}(e,t),n[e]=r}for(let t of e){let e=0;if(null==t&&o(t),t instanceof jt){const n=t.cases()[t.tag];t=0===t.fields.length?n:[n].concat(t.fields),e=r}if(Array.isArray(t))switch(t.length){case 0:o(t);break;case 1:i(t[0],e,!0);break;case 2:const n=t[1];i(t[0],e,n);break;default:i(t[0],e,t.slice(1))}else"string"==typeof t?i(t,e,!0):o(t)}return n}function ih(e,t,n){return!!e.has(t)&&(n.contents=e.get(t),!0)}function ah(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}class sh{constructor(e,t){const n=new Vt(null);this.comparer=t,n.contents=this,this.hashMap=new Map([]),this["init@8-1"]=1;const r=We(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();mh(n.contents,e[0],e[1])}}finally{Ge(r)}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(e){return Array.from(this)}"System.Collections.IEnumerable.GetEnumerator"(){return We(this)}GetEnumerator(){return We(mr(this.hashMap.values()))}[Symbol.iterator](){return Ze(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(e){mh(this,e[0],e[1])}"System.Collections.Generic.ICollection`1.Clear"(){lh(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(e){const t=uh(this,e[0]);let n;switch(n=null!=t&&it(t[1],e[1])?0:1,n){case 0:return!0;case 1:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){var n;n=(n,r)=>{e[t+n]=r},xr(((e,t)=>(n(e,t),e+1|0)),0,this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|fh(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(e){const t=uh(this,e[0]);return null!=t&&(it(t[1],e[1])&&gh(this,e[0]),!0)}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(e,t){mh(this,e,t)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(e){return ph(this,e)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(e){return dh(this,e)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(e,t){hh(this,e,t)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const e=this;return wr(hr((()=>Sr((e=>e[0]),e))))}"System.Collections.Generic.IDictionary`2.Remove2B595"(e){return gh(this,e)}"System.Collections.Generic.IDictionary`2.TryGetValue23A0B95A"(e,t){const n=uh(this,e);if(null!=n){const e=n;return t.contents=e[1],!0}return!1}"System.Collections.Generic.IDictionary`2.get_Values"(){const e=this;return wr(hr((()=>Sr((e=>e[1]),e))))}get size(){return 0|fh(this)}clear(){lh(this)}delete(e){return gh(this,e)}entries(){return Sr((e=>[e[0],e[1]]),this)}get(e){return dh(this,e)}has(e){return ph(this,e)}keys(){return Sr((e=>e[0]),this)}set(e,t){return hh(this,e,t),this}values(){return Sr((e=>e[1]),this)}forEach(e,t){const n=this;kr((t=>{e(t[1],t[0],n)}),n)}}function ch(e,t){const n=0|e.comparer.GetHashCode(t);let r,o=null;return r=[ih(e.hashMap,n,new Vt((()=>o),(e=>{o=e}))),o],r[0]?[!0,n,r[1].findIndex((n=>e.comparer.Equals(t,n[0])))]:[!1,n,-1]}function uh(e,t){const n=ch(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return ah(e.hashMap,n[1])[n[2]];case 1:return}}function lh(e){e.hashMap.clear()}function fh(e){let t=0,n=We(e.hashMap.values());try{for(;n["System.Collections.IEnumerator.MoveNext"]();)t=t+n["System.Collections.Generic.IEnumerator`1.get_Current"]().length|0}finally{Ge(n)}return 0|t}function dh(e,t){const n=uh(e,t);if(null!=n)return n[1];throw new Error("The item was not found in collection")}function hh(e,t,n){const r=ch(e,t);r[0]?r[2]>-1?ah(e.hashMap,r[1])[r[2]]=[t,n]:ah(e.hashMap,r[1]).push([t,n]):e.hashMap.set(r[1],[[t,n]])}function mh(e,t,n){const r=ch(e,t);if(r[0]){if(r[2]>-1){const e=cn("An item with the same key has already been added. Key: {0}",t);throw new Error(e)}ah(e.hashMap,r[1]).push([t,n])}else e.hashMap.set(r[1],[[t,n]])}function ph(e,t){const n=ch(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function gh(e,t){const n=ch(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return ah(e.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}function wh(e,t,n){return 1===n.tag?t(n.fields[0]):e(n.fields[0])}function vh(e,t){return null==t?new ts(1,e):new ts(0,wn(t))}class yh extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProfileId"]}}function bh(e){return new yh(0,e)}function _h(e){return e.fields[0]}class Ch extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessStepId"]}}class xh extends Ht{constructor(e,t,n){super(),this.Id=e,this.DisplayName=t,this.ComponentTagName=n}}const kh=new xh(new Ch(0,"personal-details"),"Personal Details","apollo-personal-details-app"),Sh=new xh(new Ch(0,"emergency-contacts"),"Emergency Contacts","apollo-emergency-contacts-app"),Ih=new xh(new Ch(0,"bank"),"Bank","bank-component"),Eh=new xh(new Ch(0,"tax"),"Tax","tax-component"),Ah=new xh(new Ch(0,"super"),"Super","super-selection-app"),Oh=new xh(new Ch(0,"app-workplace-linking"),"App Workplace Linking","workplace-link"),Th=new Ch(0,"benefits-onboarding"),Nh=new xh(Th,"Benefits","benefits-onboarding");function Mh(e){return new Ch(0,e)}function Ph(e){return e.fields[0]}class Dh extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessConfigId"]}}class Rh extends Ht{constructor(e,t,n){super(),this.Id=e,this.Name=t,this.Steps=n}}const Bh=new Rh(new Dh(0,Uf("00000000-0000-0000-0000-000000000000")),"onboarding-default",Xn([Ih,Eh,Ah])),jh=new Rh(new Dh(0,Uf("00000000-0000-0000-0000-000000000001")),"PEBTS",Xn([kh,Sh,Ih,Eh,Ah])),Lh=new Rh(new Dh(0,Uf("00000000-0000-0000-0000-000000000002")),"PS",Xn([kh,Ah])),Uh=new Rh(new Dh(0,Uf("00000000-0000-0000-0000-000000000003")),"BS",Xn([Ih,Ah])),Fh=new Rh(new Dh(0,Uf("00000000-0000-0000-0001-000000000000")),"App Workplace Linking",Fn(Oh)),zh=new sh([[Bh.Id,Bh],[jh.Id,jh],[Lh.Id,Lh],[Uh.Id,Uh],[Fh.Id,Fh]],{Equals:it,GetHashCode:nt});class Gh extends Ht{constructor(e,t){super(),this.ActivatedDates=e,this.CompletedSteps=t}}class Hh extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}class Vh extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessInstanceId"]}}function Wh(e){return new Vh(0,e)}function Zh(e){return e.fields[0]}class $h extends Ht{constructor(e,t){super(),this.Name=e,this.Value=t}}class Yh extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TagName"]}}class qh extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TagValue"]}}class Xh extends Ht{constructor(e,t,n,r,o,i,a){super(),this.Id=e,this.Configuration=t,this.DateCreated=n,this.Status=r,this.Invite=o,this.Tags=i,this.Creator=a}}function Jh(e,t,n){const r=Qn((t=>0===function(...e){switch(e.length){case 2:return Qt(e[0],e[1],!1);case 3:return Qt(e[0],e[1],e[2]);case 4:return Qt(e[0],e[1],!0===e[2]);case 5:return Qt(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),!1);case 6:return Qt(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),e[5]);case 7:return Qt(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),!0===e[5]);default:throw new Error("String.compare: Unsupported number of parameters")}}(t.ComponentTagName,e,5)),vr(hr((()=>_r(n.Configuration.Steps,hr((()=>t?gr(Nh):pr())))))));return vh(rn(tn("Invalid ComponentTagName %A%P()",[e])),r)}function Kh(e){const t=e.Status;switch(t.tag){case 0:case 2:case 3:return;default:return Dn(n=tr((e=>!rr((t=>it(e.Id,t[0])),t.fields[0].CompletedSteps)),e.Configuration.Steps))?void 0:gn(Bn(n))}var n}function Qh(){return vn(document.getElementById("external-loading-page-container"))}function em(){return null!=Qh()}var tm,nm=[],rm="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(tm||(tm={}));var om,im=function(e){return Object.freeze(e)},am=function(e,t){this.inlineSize=e,this.blockSize=t,im(this)},sm=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,im(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),cm=function(e){return e instanceof SVGElement&&"getBBox"in e},um=function(e){if(cm(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||e.getClientRects().length)},lm=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},fm="undefined"!=typeof window?window:{},dm=new WeakMap,hm=/auto|scroll/,mm=/^tb|vertical/,pm=/msie|trident/i.test(fm.navigator&&fm.navigator.userAgent),gm=function(e){return parseFloat(e||"0")},wm=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new am((n?t:e)||0,(n?e:t)||0)},vm=im({devicePixelContentBoxSize:wm(),borderBoxSize:wm(),contentBoxSize:wm(),contentRect:new sm(0,0,0,0)}),ym=function(e,t){if(void 0===t&&(t=!1),dm.has(e)&&!t)return dm.get(e);if(um(e))return dm.set(e,vm),vm;var n=getComputedStyle(e),r=cm(e)&&e.ownerSVGElement&&e.getBBox(),o=!pm&&"border-box"===n.boxSizing,i=mm.test(n.writingMode||""),a=!r&&hm.test(n.overflowY||""),s=!r&&hm.test(n.overflowX||""),c=r?0:gm(n.paddingTop),u=r?0:gm(n.paddingRight),l=r?0:gm(n.paddingBottom),f=r?0:gm(n.paddingLeft),d=r?0:gm(n.borderTopWidth),h=r?0:gm(n.borderRightWidth),m=r?0:gm(n.borderBottomWidth),p=f+u,g=c+l,w=(r?0:gm(n.borderLeftWidth))+h,v=d+m,y=s?e.offsetHeight-v-e.clientHeight:0,b=a?e.offsetWidth-w-e.clientWidth:0,_=o?p+w:0,C=o?g+v:0,x=r?r.width:gm(n.width)-_-b,k=r?r.height:gm(n.height)-C-y,S=x+p+b+w,I=k+g+y+v,E=im({devicePixelContentBoxSize:wm(Math.round(x*devicePixelRatio),Math.round(k*devicePixelRatio),i),borderBoxSize:wm(S,I,i),contentBoxSize:wm(x,k,i),contentRect:new sm(f,c,x,k)});return dm.set(e,E),E},bm=function(e,t,n){var r=ym(e,n),o=r.borderBoxSize,i=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case tm.DEVICE_PIXEL_CONTENT_BOX:return a;case tm.BORDER_BOX:return o;default:return i}},_m=function(e){var t=ym(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=im([t.borderBoxSize]),this.contentBoxSize=im([t.contentBoxSize]),this.devicePixelContentBoxSize=im([t.devicePixelContentBoxSize])},Cm=function(e){if(um(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},xm=function(){var e=1/0,t=[];nm.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new _m(t.target),o=Cm(t.target);r.push(n),t.lastReportedSize=bm(t.target,t.observedBox),o<e&&(e=o)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++)(0,r[n])();return e},km=function(e){nm.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(Cm(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},Sm=[],Im=0,Em={attributes:!0,characterData:!0,childList:!0,subtree:!0},Am=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Om=function(e){return void 0===e&&(e=0),Date.now()+e},Tm=!1,Nm=function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!Tm){Tm=!0;var n=Om(e);!function(e){!function(e){if(!om){var t=0,n=document.createTextNode("");new MutationObserver((function(){return Sm.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),om=function(){n.textContent="".concat(t?t--:t++)}}Sm.push(e),om()}((function(){requestAnimationFrame(e)}))}((function(){var r=!1;try{r=function(){var e,t=0;for(km(t);nm.some((function(e){return e.activeTargets.length>0}));)t=xm(),km(t);return nm.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:rm}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=rm),window.dispatchEvent(e)),t>0}()}finally{if(Tm=!1,e=n-Om(),!Im)return;r?t.run(1e3):e>0?t.run(e):t.start()}}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,Em)};document.body?t():fm.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Am.forEach((function(t){return fm.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),Am.forEach((function(t){return fm.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}(),Mm=new Nm,Pm=function(e){!Im&&e>0&&Mm.start(),!(Im+=e)&&Mm.stop()},Dm=function(){function e(e,t){this.target=e,this.observedBox=t||tm.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=bm(this.target,this.observedBox,!0);return e=this.target,cm(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Rm=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},Bm=new WeakMap,jm=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},Lm=function(){function e(){}return e.connect=function(e,t){var n=new Rm(e,t);Bm.set(e,n)},e.observe=function(e,t,n){var r=Bm.get(e),o=0===r.observationTargets.length;jm(r.observationTargets,t)<0&&(o&&nm.push(r),r.observationTargets.push(new Dm(t,n&&n.box)),Pm(1),Mm.schedule())},e.unobserve=function(e,t){var n=Bm.get(e),r=jm(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&nm.splice(nm.indexOf(n),1),n.observationTargets.splice(r,1),Pm(-1))},e.disconnect=function(e){var t=this,n=Bm.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Um=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Lm.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!lm(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Lm.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!lm(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Lm.unobserve(this,e)},e.prototype.disconnect=function(){Lm.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class Fm extends Ht{constructor(e,t,n){super(),this.instanceId=0|e,this.name=t,this.type=n}}function zm(e){return new Fm(Zh(e.Id),e.Configuration.Name,e.Configuration.Id.fields[0])}function Gm(e){em()||window.parent.postMessage(e,"*")}function Hm(){Gm(function(e,t){const n={type:"contentResized",sender:"flare"};return n.height=e,n.width=-1,n}(document.body.offsetHeight))}function Vm(e,t){Gm(function(e,t){const n={type:"workflowSubmitSuccess",sender:"flare"};return n.workflow=zm(e),n.profileId=_h(t),n}(e,t))}function Wm(e){em()&&function(e,t){fs(es.Delay((()=>es.Bind(ls(e),(()=>(function(){let e,t;const n=Qh();kr((t=document.body,e=e=>t.removeChild(e),t=>{e(t)}),yn(n))}(),Gm({type:"appReady",sender:"flare"}),Hm(),es.Zero()))))))}(e)}function Zm(e){let t;const n=Zs((r=e.inviteCode,[new mu(r,void 0,{Error:void 0,Input:"",IsDirty:!1,IsTouched:!1},!1,!1,new du(0),Ln()),gs()]),th,[]);var r;const o=n[0],i=n[1];Bs(Xs((()=>nh(1e3,eh(o.InviteToken))),(e=>{i(new hu(1,e))})));const a=Xs((()=>nh(500,function(e,t){return ju(0,(()=>{let n;const r=Qd((n=Ol(new Lu(1),Al(function(e){const t=eu(e);return rn(en("%s/workflows/public-backend/invites/%s/confirm"))(Au)(t)}(e))),Nl(new Fu(1,Kd(0,new Af(t),new Nf(1),void 0,void 0,{ResolveType:Of})),n)));return es.Delay((()=>es.Bind(r,(e=>{let t,n;const r=e;return 1===r.tag?es.Return(new ts(1,r.fields[0])):es.ReturnFrom((t=r.fields[0],200===t.statusCode?(n=ns(Ef,Ud(t.responseText,new Nf(1),void 0,{ResolveType:If})),es.Return(n)):es.Return(new ts(1,"Unexpected response from backend"))))}))))}))}(o.InviteToken,o.MfaCodeForm.Input))),(e=>{i(new hu(2,e))}));Bs((()=>{Wm(0)}));const s=e=>{let t;return d("svg",ft(Xn([["className",fn(" ",Jn(Xn(["animate-spin","text-primary-base"]),e))],["fill","none"],["viewBox","0 0 24 24"],["xmlns","http://www.w3.org/2000/svg"],(t=Xn([d("circle",{className:fn(" ",["opacity-25"]),cx:12,cy:12,r:10,stroke:"currentColor",strokeWidth:4}),d("path",{className:fn(" ",["opacity-75"]),fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]),["children",Ar.Children.toArray(Array.from(t))])])))};return d("div",ft(Xn([["className",fn(" ",["h-screen","fade-in"])],(t=vr(hr((()=>_r(Sr((e=>d("style",{children:[e]})),o.CssOverrides),hr((()=>{let e,t,n;return gr(d("div",ft(Xn([["className",fn(" ",["h-full","flex","justify-center","items-center"])],(e=[d("div",ft(Xn([["className",fn(" ",["border","rounded-lg","shadow-md","sm:max-w-md","p-8","text-center"])],(t=[d("div",ft(Fn((n=vr(hr((()=>{let e,t,n,r,c;return _r((e=o.Ui,2===e.tag?gr(d("div",ft(Xn([["className",fn(" ",["fade-in"])],(t=[d("i",{className:fn(" ",["text-red-600"]),children:Ar.Children.toArray([qa])}),d("h4",{className:fn(" ",["text-2xl","my-4","text-red-600"]),children:"This doesn't look right"}),d("p",{className:fn(" ",["mt-3","mb-5","text-gray-500"]),children:e.fields[0]})],["children",Ar.Children.toArray(Array.from(t))])])))):1===e.tag?gr(d("form",ft(Xn([["className",fn(" ",["fade-in"])],["onSubmit",e=>{e.preventDefault(),a()}],(n=vr(hr((()=>_r(gr(d("i",{className:fn(" ",["text-primary-base"]),children:Ar.Children.toArray([Ya])})),hr((()=>_r(gr(d("h4",{className:fn(" ",["text-2xl","my-4"]),children:"Authenticate Your Account"})),hr((()=>{let e,t;return _r(gr(d("p",ft(Xn([["className",fn(" ",["mt-3","mb-5","text-gray-500"])],(e=["Protecting your account is our top priority. Check your email ",(t=bn(o.MaskedEmail,""),d("strong",{children:[t]}))," for the code that we have just sent you."],["children",Ar.Children.toArray(Array.from(e))])])))),hr((()=>{let e;return _r(gr(d("div",ft(Xn([["className",fn(" ",["mt-1","flex","rounded-md","shadow-sm"])],(e=[d("input",{"aria-describedby":fn(" ",["button-verify"]),"aria-label":"Authorization code",autoFocus:!0,className:fn(" ",["grow","rounded-none","rounded-l-md","border-gray-300","focus:ring-primary-focus","focus:border-primary-focus","focus:z-10"]),placeholder:"Enter the code here",required:!0,maxLength:6,type:"text",onChange:e=>{i(new hu(3,e.target.value))},onBlur:e=>{i(new hu(4))}}),d("button",ft(vr(hr((()=>_r(gr(["className",fn(" ",["-ml-px","border","border-gray-300","text-sm","rounded-r-md","px-4","py-2","bg-primary-dark","focus:outline-none","focus:ring-1","focus:ring-primary-focus","focus:border-primary-focus","text-white"])]),hr((()=>_r(gr(["id","button-verify"]),hr((()=>_r(gr(["type","submit"]),hr((()=>_r(gr(["disabled",!(!o.MfaCodeForm.IsTouched||null==o.MfaCodeForm.Error)||o.IsValidationPending]),hr((()=>{let e,t;return o.IsValidationPending?gr((e=[d("div",ft(Xn([["className",fn(" ",["flex","justify-center","items-center"])],(t=[s(Xn(["h-5","w-5"]))],["children",Ar.Children.toArray(Array.from(t))])])))],["children",Ar.Children.toArray(Array.from(e))])):gr(["children","Verify"])})))))))))))))))))],["children",Ar.Children.toArray(Array.from(e))])])))),hr((()=>{const e=[o.MfaCodeForm.IsDirty&&o.MfaCodeForm.IsTouched,o.MfaCodeForm.Error];let t;switch(t=e[0]&&null!=e[1]?0:1,t){case 0:{const t=e[1];return gr(d("div",{className:fn(" ",["mt-2","text-sm","text-red-600","text-left"]),children:t}))}case 1:return gr(null)}})))})))}))))))))),["children",Ar.Children.toArray(Array.from(n))])])))):gr((r=Xn([d("div",ft(Xn([["className",fn(" ",["flex","justify-center","items-center"])],(c=[s(Xn(["h-10","w-10"]))],["children",Ar.Children.toArray(Array.from(c))])]))),d("h4",{className:fn(" ",["text-2xl","my-4"]),children:"Verifying your invite"}),d("p",{className:fn(" ",["mt-3","mb-5","text-gray-500"]),children:"Hold tight. It won't be long."})]),d("div",{children:Ar.Children.toArray(Array.from(r))})))),hr((()=>{let e,t,n;return gr(d("p",ft(Xn([["className",fn(" ",["mt-16","text-gray-400","text-right","text-xs"])],(e=[(t=`Flare HR Pty Ltd © 2015-${n=kt(),St(n)}`,d("small",{children:[t]}))],["children",Ar.Children.toArray(Array.from(e))])]))))})))}))),["children",Ar.Children.toArray(Array.from(n))]))))],["children",Ar.Children.toArray(Array.from(t))])])))],["children",Ar.Children.toArray(Array.from(e))])]))))})))))),["children",Ar.Children.toArray(Array.from(t))])])))}function $m(){let e;return Bs((()=>{Wm(0)})),d("div",ft(Xn([["className",fn(" ",["w-full","sm:max-w-md","mt-5","mx-1","text-center","mx-auto"])],(e=[d("h4",{className:fn(" ",["text-2xl"]),children:"You have been logged out of your onboarding due to inactivity"}),d("br",{}),d("p",{children:["To continue your onboarding, please find your onboarding invite email and click the link again."]})],["children",Ar.Children.toArray(Array.from(e))])])))}function Ym(e){this.message=e}Ym.prototype=new Error,Ym.prototype.name="InvalidCharacterError";var qm="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new Ym("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,o=0,i=0,a="";r=t.charAt(i++);~r&&(n=o%4?64*n+r:r,o++%4)?a+=String.fromCharCode(255&n>>(-2*o&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return a};function Xm(e){this.message=e}Xm.prototype=new Error,Xm.prototype.name="InvalidTokenError";function Jm(e){return function(e,t){return function(e,t,n){e:for(;;){const r=e,o=t,i=n;if(zn(i))return r;{const a=Du(0,(()=>rs((e=>Ru(0,r,(t=>Jn(t,Fn(e))))),o(Hn(i)))))();if(1===a.tag)return a;e=a,t=o,n=Vn(i);continue e}}}(new ts(0,Ln()),e,t)}((e=>e),e)}function Km(e,t){return null!=t?ns(gn,e(wn(t))):new ts(0,void 0)}class Qm extends Ht{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class ep extends Ht{constructor(e,t){super(),this.Email=e,this.Phone=t}}function tp(e){return Du(0,(()=>rs((t=>Ru(0,Km(uu,e.Phone),(e=>new iu(t,e)))),Km(cu,e.Email))))()}function np(e){return Du(0,(()=>rs((t=>rs((n=>Ru(0,Km(tp,e.Support),(e=>new nu(n,t,e)))),Km(lu,e.CompanyName))),Km(fu,e.Logo))))()}class rp extends Ht{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.NumberOfAttempts=0|n,this.DateOfLastAttempt=r}}function op(e){return Du(0,(()=>Ru(0,Xc(e.Code),(t=>new Jc(t,e.DateIssued,e.NumberOfAttempts,e.DateOfLastAttempt)))))()}class ip extends Ht{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.SecondFactor=n,this.Branding=r}}function ap(e){return Du(0,(()=>rs((t=>rs((n=>Ru(0,Km(np,e.Branding),(r=>new tu(t,e.DateIssued,n,r)))),Km(op,e.SecondFactor))),Qc(e.Code))))()}class sp extends Ht{constructor(e,t,n){super(),this.Id=e,this.DisplayName=t,this.ComponentTagName=n}}function cp(e){return Du(0,(()=>Pu(0,new xh(Mh(e.Id),e.DisplayName,e.ComponentTagName))))()}class up extends Ht{constructor(e,t){super(),this.ActivatedDates=e,this.CompletedSteps=t}}class lp extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}class fp extends Ht{constructor(e,t,n){super(),this.Id=e,this.Name=t,this.Steps=n}}class dp extends Ht{constructor(e,t){super(),this.Name=e,this.Value=t}}function hp(e){return t=e.Name,n=e.Value,Du(0,(()=>{return rs((e=>{return Ru(0,ln(t=n)?new ts(1,"Tag value is empty"):t.length<100?new ts(0,new qh(0,t)):new ts(1,"Tag value is too long"),(t=>new $h(e,t)));var t}),ln(e=t)?new ts(1,"Tag name is empty"):e.length<100?new ts(0,new Yh(0,e)):new ts(1,"Tag name is too long"));var e}))();var t,n}class mp extends Ht{constructor(e,t,n,r,o,i,a){super(),this.Id=0|e,this.DateCreated=t,this.Configuration=n,this.Status=r,this.Invite=o,this.Tags=i,this.Creator=a}}function pp(){return Ul("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceDto",[],mp,(()=>[["Id",$l],["DateCreated",Ll("System.DateTime")],["Configuration",Ul("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessConfigDto",[],fp,(()=>[["Id",Ll("System.Guid")],["Name",Wl],["Steps",Hl(Ul("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessStepConfigDto",[],sp,(()=>[["Id",Wl],["DisplayName",Wl],["ComponentTagName",Wl]])))]]))],["Status",Fl("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceStatusDto",[],lp,(()=>[[],[["Item",Ul("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ActiveProcessInstanceDto",[],up,(()=>[["ActivatedDates",Hl(Ll("System.DateTime"))],["CompletedSteps",Hl(zl(Wl,Ll("System.DateTime")))]]))]],[["Item",Ll("System.DateTime")]],[["Item",Ll("System.DateTime")]]]))],["Invite",Gl(Ul("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.InviteDto",[],ip,(()=>[["Code",Wl],["DateIssued",Ll("System.DateTime")],["SecondFactor",Gl(Ul("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.SecondFactorDto",[],rp,(()=>[["Code",Wl],["DateIssued",Ll("System.DateTime")],["NumberOfAttempts",$l],["DateOfLastAttempt",Gl(Ll("System.DateTime"))]])))],["Branding",Gl(Ul("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.InviteBrandingDto",[],Qm,(()=>[["CompanyName",Gl(Wl)],["Logo",Gl(Wl)],["Support",Gl(Ul("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.SupportDto",[],ep,(()=>[["Email",Gl(Wl)],["Phone",Gl(Wl)]])))]])))]])))],["Tags",Gl(Hl(Ul("Workflows.Business.Aggregates.ProcessInstanceList.Dto.TagDto",[],dp,(()=>[["Name",Wl],["Value",Wl]]))))],["Creator",Gl(Wl)]]))}function gp(e){return Du(0,(()=>rs((t=>{const n=t;return rs((t=>{let r;const o=t;return rs((t=>rs((r=>Ru(0,Km((e=>Jm(Kn(hp,e))),e.Tags),(o=>new Xh(Wh(e.Id),n,e.DateCreated,t,r,o,_n(bh,e.Creator))))),Km(ap,e.Invite))),1===o.tag?(r=o.fields[0],Du(0,(()=>Ru(0,Jm(Kn((e=>{const t=[e[0],e[1]],r=t[0];return rr((e=>it(e.Id,r)),n.Steps)?new ts(0,[r,t[1]]):new ts(1,"Step id is not configured for this Process Instance.")}),r.CompletedSteps)),(e=>new Hh(1,new Gh(r.ActivatedDates,e))))))()):new ts(0,o))}),function(e){switch(e.tag){case 1:{const t=function(e){return Du(0,(()=>Ru(0,Jm(Kn((e=>Du(0,(()=>Pu(0,[Mh(e[0]),e[1]])))()),e.CompletedSteps)),(t=>new Gh(e.ActivatedDates,t)))))()}(e.fields[0]);return 1===t.tag?new ts(1,t.fields[0]):new ts(0,new Hh(1,t.fields[0]))}case 2:return new ts(0,new Hh(2,e.fields[0]));case 3:return new ts(0,new Hh(3,e.fields[0]));default:return new ts(0,new Hh(0))}}(e.Status))}),function(e){return Du(0,(()=>rs((t=>Ru(0,function(e){const t=new Dh(0,e);return Cr(t,zh.keys(),{Equals:it,GetHashCode:nt})?new ts(0,t):new ts(1,"Invalid Type")}(e.Id),(n=>new Rh(n,e.Name,t)))),Jm(Kn(cp,e.Steps)))))()}(e.Configuration))))()}class wp extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompleteStep","Complete"]}}class vp extends Ht{constructor(e,t,n){super(),this.CssOverrides=e,this.ProcessInstance=t,this.IsBenefitsEnabled=n}}class yp extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompleteStep","Complete"]}}const bp=gp;class _p extends Ht{constructor(e,t,n){super(),this.CssOverrides=e,this.ProcessInstanceDto=t,this.IsBenefitsEnabled=n}}function Cp(){return Ul("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.ProcessInstanceContextDto",[],_p,(()=>[["CssOverrides",Hl(Wl)],["ProcessInstanceDto",pp()],["IsBenefitsEnabled",Zl]]))}function xp(e){return new vp(e.CssOverrides,1===(t=gp(e.ProcessInstanceDto)).tag?(e=>{throw new Error(e)})(t.fields[0]):t.fields[0],e.IsBenefitsEnabled);var t}class kp extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["WorkflowInstanceStepActivated","BenefitsStepActivated","BenefitsStepCompleted"]}}class Sp extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PersonalDetails","EmergencyContacts","Bank","Tax","Super","WorkplaceLinking","BenefitsOnboarding"]}}class Ip extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Hidden","Incomplete","Complete"]}}function Ep(e){return it(e,kh)?new ts(0,new Sp(0)):it(e,Sh)?new ts(0,new Sp(1)):it(e,Ih)?new ts(0,new Sp(2)):it(e,Eh)?new ts(0,new Sp(3)):it(e,Ah)?new ts(0,new Sp(4)):it(e,Oh)?new ts(0,new Sp(5)):new ts(1,"Invalid step")}function Ap(e){switch(e.tag){case 1:return Sh;case 2:return Ih;case 3:return Eh;case 4:return Ah;case 5:return Oh;case 6:return Nh;default:return kh}}function Op(e){switch(e.tag){case 1:return"Emergency Contacts";case 2:return"Bank Details";case 3:return"Tax Details";case 4:return"Super Selection";case 5:return Oh.DisplayName;case 6:return Nh.DisplayName;default:return"Personal Details"}}function Tp(e,t){return ns((e=>function(e,t){return 0===e.tag?t:Jn(t,Fn(new Sp(6)))}(t,e)),Jm(Kn(Ep,e.Configuration.Steps)))}function Np(e,t){return ns((e=>function(e,t){return 2===e.tag?Jn(t,Fn(new Sp(6))):t}(t,e)),Jm(Kn(Ep,function(e){const t=e.Status;switch(t.tag){case 2:return e.Configuration.Steps;case 3:case 0:return Ln();default:{const n=Kn((e=>e[0]),t.fields[0].CompletedSteps);return tr((e=>nr(e.Id,n,{Equals:it,GetHashCode:nt})),e.Configuration.Steps)}}}(e))))}class Mp extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Initialising","StepList","Step","CompletedAllSteps","Oops","AllDone"]}}class Pp extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ActivateCallback","ShowView","StepCompletionEventCallback","CompleteStep","CompleteWorkflow","SendAnalyticsEvent","AppendTrailingSlashToUrl","CompleteBenefitsOnboardingStep"]}}class Dp extends Ht{constructor(e,t,n,r,o,i){super(),this.ProfileId=e,this.ProcessInstanceId=t,this.ProcessInstance=n,this.CurrentView=r,this.CssOverrides=o,this.BenefitsOnboarding=i}}function Rp(e,t){return ju(0,(()=>{const n=Tl((r=rn(en("Bearer %s"))(e),new Uu(0,"Authorization",r)),t);var r;let o;const i=Ml(n);return o=es.Bind(i,(e=>es.Return(new ts(0,e)))),es.Delay((()=>es.Bind(o,(e=>{let t,r;const o=e;return 1===o.tag?es.Return(new ts(1,o.fields[0])):es.ReturnFrom((t=o.fields[0],429===t.statusCode||t.statusCode>=500?(r=Ml(n),es.Bind(r,(e=>es.Return(new ts(0,e))))):Bu(0,t)))}))))}))}function Bp(e,t,n){return ju(0,(()=>{let r;const o=Rp(n,(r=Nl(new Fu(1,Kd(0,Fn(function(e){return 1===e.tag?new yp(1):new yp(0,Ph(e.fields[0]))}(e)),new Nf(1),void 0,void 0,{ResolveType:()=>Hl(Fl("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.ProcessInstanceCommandDto",[],yp,(()=>[[["Item",Wl]],[]])))})),Ol(new Lu(1),Al(function(e){const t=0|Zh(e);return rn(en("%s/workflows/backend/%i"))(Au)(t)}(t)))),Tl(Sl("application/json"),r)));return es.Delay((()=>es.Bind(o,(e=>{let t,n;const r=e;return 1===r.tag?es.Return(new ts(1,r.fields[0])):es.ReturnFrom((t=r.fields[0],200===t.statusCode?(n=rs(bp,Ud(t.responseText,new Nf(1),void 0,{ResolveType:pp})),es.Return(n)):es.Return(new ts(1,"Unexpected response from backend"))))}))))}))}function jp(e,t,n){let r;return r=ju(0,(()=>{let r;return Rp(e,(r=Nl(new Fu(1,Kd(0,Fn(n),new Nf(1),void 0,void 0,{ResolveType:()=>Hl(Fl("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Write.WorkflowAnalyticsEventDto",[],kp,(()=>[[["Item",Wl]],[],[]])))})),Ol(new Lu(1),Al(function(e){const t=0|Zh(e);return rn(en("%s/workflows/backend/process-instances/%i/analytics-events"))(Au)(t)}(t)))),Tl(Sl("application/json"),r)))})),o=es.Bind(r,(e=>{const t=ns((e=>{}),e);return es.Return(t)})),i=o,es.Bind(i,(e=>{const t=function(e,t){return 1===t.tag?e:t.fields[0]}(void 0,e);return es.Return(t)}));var o,i}function Lp(e,t,n,r){let o,i,a,s,c,u,l;switch(n.tag){case 1:{const e=n.fields[0];return[new Dp(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,e,r.CssOverrides,r.BenefitsOnboarding),2===e.tag?(o=Ap(e.fields[0]),it(o.Id,Nh.Id)?bs(new Pp(5,r.ProcessInstanceId,new kp(1))):bs(new Pp(5,r.ProcessInstanceId,new kp(0,Ph(o.Id))))):gs()]}case 5:return Cs(jp(e,n.fields[0],n.fields[1])),[r,gs()];case 2:{const e=r.ProcessInstance;let t,o;switch(2===e.tag&&0===e.fields[0].tag?(t=0,o=e.fields[0].fields[0]):t=1,t){case 0:return[r,(i=n.fields[0].target,a=!it(r.BenefitsOnboarding,new Ip(0)),s=Jh(i.tagName,a,o),1===s.tag?gs():it(s.fields[0].Id,Th)?bs(new Pp(7)):bs(new Pp(3,s.fields[0].Id,new $s(0))))];case 1:return[r,gs()]}}case 7:{const e=r.ProcessInstance;let t,n;switch(2===e.tag&&0===e.fields[0].tag?it(r.BenefitsOnboarding,new Ip(0))?t=1:(t=0,n=e.fields[0].fields[0]):t=1,t){case 0:return[new Dp(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,r.CurrentView,r.CssOverrides,new Ip(2)),vs(Xn([bs(new Pp(5,r.ProcessInstanceId,new kp(2))),wh((e=>e),(e=>bs(new Pp(1,new Mp(4,e)))),Du(0,(()=>{let e;return Ru(0,(e=[n,r.BenefitsOnboarding],Tp(e[0],e[1])),(e=>bs(new Pp(1,new Mp(3,e,e)))))}))())]))];case 1:return[r,gs()]}}case 3:{const t=n.fields[0],o=n.fields[1];switch(o.tag){case 1:return[r,gs()];case 2:{const e=o.fields[0],n=wh((e=>e),(e=>new Pp(1,new Mp(4,e))),Du(0,(()=>rs((e=>{let t;const n=e,o=Kh(n);return rs((e=>{let t;const i=e;return rs((e=>{const t=e;if(1===Gn(t))return Pu(0,new Pp(4,new $s(0)));{const e=[o,r.BenefitsOnboarding];if(null==e[0]){if(1===e[1].tag){const e=new Sp(6);return Pu(0,new Pp(1,new Mp(2,e,e,i,t)))}return Pu(0,new Pp(1,new Mp(3,i,t)))}return Ru(0,Ep(e[0]),(e=>new Pp(1,new Mp(2,e,e,i,t))))}}),(t=[n,r.BenefitsOnboarding],Tp(t[0],t[1])))}),(t=[n,r.BenefitsOnboarding],Np(t[0],t[1])))}),e)))());return wh((e=>{!function(e,t,n){const r=function(e,t){const n=Qn((t=>it(t.Id,e)),t.Configuration.Steps);return vh(rn(tn("Invalid ProcessStep Id %A%P()",[e])),n)}(e,t);1===r.tag||Gm(function(e,t,n,r){const o={type:"stepSubmitSuccess",sender:"flare"};return o.workflow=zm(n),o.profileId=_h(r),o.step={name:t,type:Ph(e)},o}(e,r.fields[0].DisplayName,t,n))}(t,e,r.ProfileId)}),(e=>{}),e),[new Dp(r.ProfileId,r.ProcessInstanceId,o,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),bs(n)]}case 3:return[new Dp(r.ProfileId,r.ProcessInstanceId,o,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),bs(new Pp(1,new Mp(4,o.fields[0].message)))];default:return[r,_s((e=>{Cs(e)}),(e=>function(e,t,n){return Bp(new wp(0,t),e,n)}(r.ProcessInstanceId,t,e)),e,(e=>new Pp(3,t,new $s(2,e))),(e=>new Pp(3,t,new $s(3,e))))]}}case 4:{const o=n.fields[0];switch(o.tag){case 1:return[r,gs()];case 2:{const e=o.fields[0];if(1===e.tag)return[new Dp(r.ProfileId,r.ProcessInstanceId,o,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),bs(new Pp(1,new Mp(4,e.fields[0])))];{const n=e.fields[0];return Vm(n,r.ProfileId),[new Dp(r.ProfileId,r.ProcessInstanceId,o,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),(c=[t,(u=[n,r.BenefitsOnboarding],f=u[0],d=u[1],Gn(f.Configuration.Steps)+(0===d.tag?0:1))],1===c[0].tag?1===c[1]?gs():bs(new Pp(1,new Mp(5))):gs())]}}case 3:return[new Dp(r.ProfileId,r.ProcessInstanceId,o,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),bs(new Pp(1,new Mp(4,o.fields[0].message)))];default:{const t=r.ProcessInstance;let n,o;switch(2===t.tag&&0===t.fields[0].tag&&2===t.fields[0].fields[0].Status.tag?(n=0,o=t.fields[0].fields[0]):n=1,n){case 0:return Vm(o,r.ProfileId),[r,gs()];case 1:return[r,_s((e=>{Cs(e)}),(e=>function(e,t){return Bp(new wp(1),e,t)}(r.ProcessInstanceId,e)),e,(e=>new Pp(4,new $s(2,e))),(e=>new Pp(4,new $s(3,e))))]}}}}case 6:return[r,(l=window.location.pathname+"/"+window.location.search+window.location.hash,ys((e=>{_u(Fn(l),1,2)})))];default:{const e=n.fields[0];let t;switch(e.tag){case 3:t=[r,bs(new Pp(1,new Mp(4,e.fields[0].message)))];break;case 0:case 1:t=[r,gs()];break;default:{const n=wh((e=>e),(e=>[r,new Mp(4,e)]),Du(0,(()=>rs((e=>{let t;const n=e,o=function(e){return new Ip(e?1:0)}(n.IsBenefitsEnabled);return rs((e=>{let t;const i=e;return rs((e=>{let t,a;const s=e,c=e=>{const t=[Iu.clientWidth<640,Gn(s)];return 1===t[1]?(document.title=Op(e),new Mp(2,e,e,i,s)):new Mp(t[0]?1:2,e,e,i,s)};return Ru(0,(t=[Kh(n.ProcessInstance),o],null==t[0]?1===t[1].tag?new ts(0,c(new Sp(6))):new ts(0,new Mp(3,i,s)):(a=t[0],Du(0,(()=>Ru(0,Ep(a),c)))())),(e=>[new Dp(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,r.CurrentView,n.CssOverrides,o),e]))}),(t=[n.ProcessInstance,o],Tp(t[0],t[1])))}),(t=[n.ProcessInstance,o],Np(t[0],t[1])))}),e.fields[0])))());t=[n[0],bs(new Pp(1,n[1]))]}}const o=t[0];return[new Dp(o.ProfileId,o.ProcessInstanceId,Ys((e=>ns((e=>e.ProcessInstance),e)),e),o.CurrentView,o.CssOverrides,o.BenefitsOnboarding),t[1]]}}var f,d}var Up;function Fp(){return Fp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fp.apply(this,arguments)}const zp=function(e){return d("svg",Fp({width:17,height:14,xmlns:"http://www.w3.org/2000/svg"},e),Up||(Up=d("path",{d:"m2 8 4 4 9-10",strokeWidth:3,stroke:"#FFF",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"})))};var Gp,Hp,Vp;function Wp(){return Wp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wp.apply(this,arguments)}const Zp=function(e){return d("svg",Wp({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Gp||(Gp=d("path",{d:"M11.208 17.438a3.635 3.635 0 1 0 0-7.271 3.635 3.635 0 0 0 0 7.27Zm0-5.857a2.229 2.229 0 1 1 0 4.457 2.229 2.229 0 0 1 0-4.457ZM11.208 18.78a5.455 5.455 0 0 0-3.952 1.653c-1.054 1.076-1.631 2.538-1.631 4.127a.705.705 0 0 0 .703.703h9.76a.705.705 0 0 0 .703-.703c0-1.589-.577-3.051-1.632-4.127a5.455 5.455 0 0 0-3.951-1.652ZM7.08 23.858c.12-.92.535-1.775 1.182-2.44a4.142 4.142 0 0 1 5.892 0 4.322 4.322 0 0 1 1.181 2.44H7.08Z",fill:"#000"})),Hp||(Hp=d("path",{d:"M31.36 5.273H4.64A3.517 3.517 0 0 0 1.126 8.79v17.86a3.517 3.517 0 0 0 3.516 3.515h26.718a3.517 3.517 0 0 0 3.516-3.516V8.79a3.517 3.517 0 0 0-3.516-3.516Zm2.109 21.375a2.116 2.116 0 0 1-2.11 2.11H4.641a2.116 2.116 0 0 1-2.11-2.11V8.79a2.116 2.116 0 0 1 2.11-2.11h26.718a2.116 2.116 0 0 1 2.11 2.11v17.86Z",fill:"#000"})),Vp||(Vp=d("path",{d:"M29.63 17.016h-8.192a.703.703 0 0 0 0 1.406h8.192a.703.703 0 1 0 0-1.406ZM29.63 21.516h-8.192a.703.703 0 0 0 0 1.406h8.192a.703.703 0 1 0 0-1.406ZM29.63 12.516h-8.192a.703.703 0 0 0 0 1.406h8.192a.703.703 0 1 0 0-1.406Z",fill:"#000"})))};var $p,Yp;function qp(){return qp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qp.apply(this,arguments)}const Xp=function(e){return d("svg",qp({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),$p||($p=d("g",{clipPath:"url(#icon-emergency-contacts_svg__a)",fill:"#000"},d("path",{d:"M30.223 24.427c-.204-.15-5.051-3.656-9.3-2.538a.528.528 0 0 0-.272.174c-.078.095-1.718 2.102-2.065 3.967a9.392 9.392 0 0 1-1.224-.462c-.979-.444-2.476-1.305-4.055-2.884-.907-.907-1.66-1.825-2.238-2.73a.528.528 0 0 0-.89.568c.62.969 1.421 1.948 2.382 2.908 3.286 3.286 6.286 3.757 6.412 3.775a.527.527 0 0 0 .604-.522c0-.378.106-.802.27-1.231 1.318.114 5.928.678 9.431 3.139-.465 1.981-1.643 3.71-3.38 4.893-2.258 1.54-5.028 1.871-7.6.91-3.69-1.378-7.087-3.602-10.093-6.608C5.2 24.78 2.976 21.385 1.596 17.692c-.96-2.572-.628-5.342.912-7.6C3.69 8.354 5.418 7.176 7.4 6.711c2.461 3.503 3.025 8.113 3.14 9.432-.43.164-.854.27-1.232.27a.527.527 0 0 0-.528.54c.002.062.024.637.388 1.594a.527.527 0 1 0 .986-.374 6.108 6.108 0 0 1-.237-.76c1.876-.33 3.915-1.996 4.01-2.074a.528.528 0 0 0 .175-.273c1.117-4.247-2.388-9.095-2.538-9.3a.527.527 0 0 0-.355-.21c-.676-.091-1.36-.132-2.032-.12-3.068.05-5.816 1.53-7.541 4.06C-.1 12.043-.474 15.164.608 18.06c1.433 3.835 3.738 7.358 6.85 10.47 3.115 3.115 6.638 5.42 10.472 6.852 1.09.407 2.21.608 3.321.608a9.27 9.27 0 0 0 5.242-1.636c2.53-1.725 4.011-4.473 4.062-7.541.01-.672-.03-1.356-.121-2.032a.528.528 0 0 0-.211-.355ZM9.193 6.491c.545-.008 1.098.02 1.646.083.594.879 3.037 4.76 2.283 8.06-.347.27-.922.675-1.566 1.03-.174-1.698-.807-5.756-3.008-9.137.213-.02.428-.032.645-.036Zm11.133 17.944c.356-.644.76-1.22 1.032-1.566 3.3-.754 7.18 1.69 8.059 2.282.063.55.091 1.102.083 1.646a8.672 8.672 0 0 1-.036.646c-3.381-2.201-7.44-2.834-9.138-3.008Z"}),d("path",{d:"M26.97.009c-4.98 0-9.03 4.05-9.03 9.03 0 2.346.885 4.549 2.5 6.236-.175.716-.438 1.628-.781 2.366a1.34 1.34 0 0 0 .109 1.333 1.347 1.347 0 0 0 1.207.593c1.116-.07 2.669-.435 3.898-1.744a9.03 9.03 0 0 0 8.912-2.86.528.528 0 0 0-.796-.693 7.975 7.975 0 0 1-8.156 2.454.528.528 0 0 0-.547.171c-1.02 1.227-2.399 1.558-3.376 1.619a.299.299 0 0 1-.27-.134.293.293 0 0 1-.025-.293c.429-.922.737-2.062.92-2.856a.528.528 0 0 0-.145-.496 7.914 7.914 0 0 1-2.395-5.696c0-4.398 3.577-7.975 7.975-7.975 4.397 0 7.975 3.577 7.975 7.975a7.882 7.882 0 0 1-.855 3.596.527.527 0 1 0 .94.477c.644-1.27.97-2.64.97-4.073 0-4.98-4.051-9.03-9.03-9.03Z"}),d("path",{d:"M31.554 6.184h-9.168a.528.528 0 1 0 0 1.055h9.168a.528.528 0 0 0 0-1.055ZM31.554 8.71h-9.168a.528.528 0 1 0 0 1.055h9.168a.528.528 0 0 0 0-1.055ZM31.554 11.236h-9.168a.528.528 0 1 0 0 1.055h9.168a.528.528 0 0 0 0-1.055Z"}))),Yp||(Yp=d("defs",null,d("clipPath",{id:"icon-emergency-contacts_svg__a"},d("path",{fill:"#fff",d:"M0 0h36v36H0z"})))))};var Jp,Kp,Qp;function eg(){return eg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eg.apply(this,arguments)}const tg=function(e){return d("svg",eg({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Jp||(Jp=d("path",{d:"M18.47 19.647a.562.562 0 0 0-.202-.007 1.343 1.343 0 0 1-1.188-1.33.59.59 0 0 0-1.18 0 2.526 2.526 0 0 0 1.857 2.431v.591a.59.59 0 0 0 1.18 0v-.555a2.521 2.521 0 0 0-.516-4.99 1.34 1.34 0 1 1 1.34-1.34.59.59 0 0 0 1.182 0 2.526 2.526 0 0 0-2.005-2.468v-.538a.59.59 0 0 0-1.181 0v.573a2.522 2.522 0 0 0 .664 4.954 1.34 1.34 0 0 1 .049 2.68Z",fill:"#000"})),Kp||(Kp=d("path",{d:"M9.858 16.423a8.563 8.563 0 1 0 8.563-8.562 8.573 8.573 0 0 0-8.563 8.562Zm8.563-7.381a7.382 7.382 0 1 1-7.382 7.381 7.39 7.39 0 0 1 7.382-7.381Z",fill:"#000"})),Qp||(Qp=d("path",{d:"m29.895 26.442-4.626 2.186a3.768 3.768 0 0 0-3.212-1.982l-4.27-.118a4.51 4.51 0 0 1-1.94-.5l-.435-.226a7.664 7.664 0 0 0-7.1.008l.028-.985a.59.59 0 0 0-.574-.607l-4.683-.128a.59.59 0 0 0-.606.574l-.283 10.275a.59.59 0 0 0 .574.607l4.683.129h.016a.59.59 0 0 0 .59-.575l.014-.491 1.216-.651a2.086 2.086 0 0 1 1.557-.17l7.265 2.038a7.779 7.779 0 0 0 1.635.174 7.879 7.879 0 0 0 3.29-.718.561.561 0 0 0 .074-.04l10.533-6.813a.59.59 0 0 0 .193-.787 2.983 2.983 0 0 0-3.94-1.2ZM3.39 34.382l.25-9.096 3.502.097-.25 9.095-3.502-.096Zm19.112-.155a6.695 6.695 0 0 1-4.094.457l-7.245-2.034a3.266 3.266 0 0 0-2.434.267l-.622.333.167-6.048a6.491 6.491 0 0 1 6.594-.351l.434.225c.76.392 1.597.608 2.452.633l4.27.117a2.59 2.59 0 0 1 2.462 2.064l-6.361-.175a.59.59 0 0 0-.033 1.18l7.02.194h.016a.59.59 0 0 0 .59-.575 3.746 3.746 0 0 0-.057-.766l4.745-2.242.014-.006a1.804 1.804 0 0 1 2.04.285l-9.958 6.442ZM19.012 6.2V.59a.59.59 0 0 0-1.182 0V6.2a.59.59 0 0 0 1.182 0ZM23.44 6.2V3.543a.59.59 0 0 0-1.18 0V6.2a.59.59 0 0 0 1.18 0ZM14.583 6.2V3.543a.59.59 0 0 0-1.181 0V6.2a.59.59 0 0 0 1.18 0Z",fill:"#000"})))};var ng,rg;function og(){return og=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},og.apply(this,arguments)}const ig=function(e){return d("svg",og({viewBox:"0 0 34 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ng||(ng=d("path",{d:"M16.9 5.158a1.92 1.92 0 0 0-.006-.012c-.109-.208-.363-.343-.648-.343h-.001c-.286 0-.54.135-.648.344l-.005.01-2.406 4.995c-.109.227.035.48.322.567.287.086.608-.028.717-.254l.463-.961h3.098l.457.96c.085.175.296.284.52.284.066 0 .132-.01.197-.029.287-.085.432-.339.323-.566L16.9 5.158ZM15.11 8.625l1.133-2.352 1.122 2.352h-2.255ZM23.533 7.596l1.871-2.1c.177-.199.117-.473-.134-.613s-.598-.092-.774.106l-1.642 1.843-1.639-1.842c-.177-.199-.523-.247-.774-.107s-.312.414-.135.612l1.868 2.1-2.191 2.46c-.177.199-.117.473.134.613.097.054.21.08.32.08a.61.61 0 0 0 .454-.187l1.963-2.202 1.959 2.202a.61.61 0 0 0 .455.187.66.66 0 0 0 .319-.08c.251-.14.311-.414.135-.612l-2.189-2.46ZM12.271 4.803H8.733c-.307 0-.556.197-.556.44 0 .242.25.439.556.439H9.94v4.626c0 .243.249.44.556.44.307 0 .556-.197.556-.44V5.682h1.22c.307 0 .556-.197.556-.44 0-.242-.25-.439-.556-.439ZM6.648 22.468c.338 0 .478.1.733.284.3.216.712.513 1.48.513s1.18-.297 1.48-.513c.255-.183.395-.284.734-.284.338 0 .478.1.732.284.3.216.713.513 1.481.513.307 0 .556-.197.556-.44s-.249-.44-.556-.44c-.338 0-.478-.1-.733-.283-.3-.217-.712-.513-1.48-.513-.769 0-1.18.296-1.481.513-.255.183-.395.284-.733.284-.338 0-.478-.101-.732-.284-.3-.217-.712-.513-1.48-.513-.308 0-.556.197-.556.44 0 .242.248.439.555.439ZM6.648 24.233c.338 0 .478.1.733.284.3.216.712.513 1.48.513s1.18-.297 1.48-.513c.255-.183.395-.284.734-.284.338 0 .478.101.732.284.3.216.713.513 1.481.513.307 0 .556-.197.556-.44 0-.242-.249-.44-.556-.44-.338 0-.478-.1-.733-.283-.3-.216-.712-.513-1.48-.513-.769 0-1.18.297-1.481.513-.255.183-.395.284-.733.284-.338 0-.478-.1-.732-.284-.3-.216-.712-.513-1.48-.513-.308 0-.556.197-.556.44 0 .242.248.44.555.44ZM7.38 26.282c.301.217.713.513 1.481.513.768 0 1.18-.296 1.48-.513.255-.183.395-.284.734-.284.338 0 .478.101.732.284.3.217.713.513 1.481.513.307 0 .556-.197.556-.44 0-.242-.249-.439-.556-.439-.338 0-.478-.1-.733-.284-.3-.216-.712-.513-1.48-.513-.769 0-1.18.297-1.481.513-.255.183-.395.284-.733.284-.338 0-.478-.1-.732-.284-.3-.216-.712-.513-1.48-.513-.308 0-.556.197-.556.44s.248.44.555.44c.338 0 .478.1.733.283Z",fill:"#000"})),rg||(rg=d("path",{d:"M33.415 10.084a.357.357 0 0 0-.008-.039c-.343-2.034-1.647-3.067-3.908-4.638-.03-.343-.061-.668-.094-.984-.116-1.157-1.262-2.086-2.724-2.21-1.12-.093-2.25-.171-3.359-.232-2.168-.943-4.308-1.624-6.197-1.97a.699.699 0 0 0-.25 0c-1.891.347-4.031 1.028-6.196 1.97-1.129.062-2.259.14-3.36.233-1.462.123-2.607 1.052-2.724 2.208-.032.319-.063.643-.094.984-2.29 1.591-3.424 2.5-3.91 4.647a.337.337 0 0 0-.005.029v.005a63.15 63.15 0 0 0 0 17.158c.172 1.257 1.45 2.24 3.039 2.34.366.023.732.045 1.097.065.013 0 3.521.116 1.427.116.289 0 1.676.078 1.725-.465.022-.242-.559-.395-.865-.412-.362-.02-2.933-.158-3.297-.18-1.051-.066-1.899-.716-2.02-1.548v-.003c-.159-1.438 1.85-4.039 5.12-6.628.216-.172.216-.45-.001-.622a.664.664 0 0 0-.786.001c-1.775 1.406-3.595 3.17-4.619 4.796a62.456 62.456 0 0 1 .044-12.533c.805.986 1.999 1.93 2.864 2.55.206.148.421.298.635.442.065.045.132.089.2.133l.011.008a36.255 36.255 0 0 0 4.472 2.503c2.531 1.194 5.035 2.039 7.243 2.443a.7.7 0 0 0 .25 0c2.248-.412 4.797-1.278 7.371-2.504a37.96 37.96 0 0 0 1.767-.9 33.745 33.745 0 0 0 2.807-1.696c.206-.139.413-.284.616-.43.866-.62 2.06-1.564 2.864-2.55.435 4.166.449 8.365.044 12.534-1.024-1.625-2.844-3.39-4.619-4.796a.664.664 0 0 0-.786 0c-.217.171-.217.45 0 .621 3.269 2.589 5.278 5.19 5.119 6.628v.006c-.123.83-.97 1.48-2.02 1.545-7.72.48-15.552.541-23.279.18-.307-.015-.57.17-.587.412-.018.243.215.45.522.465a215.472 215.472 0 0 0 23.431-.181c1.589-.1 2.867-1.083 3.04-2.34.78-5.694.78-11.468 0-17.162ZM17 .89c1.1.21 2.29.538 3.524.97a115.812 115.812 0 0 0-7.049 0A24.836 24.836 0 0 1 17 .892ZM1.689 10.193c.354-1.553 1.01-2.299 2.708-3.533a92.655 92.655 0 0 0-.267 6.705c-1.613-1.296-2.528-2.47-2.441-3.172Zm28.182 3.171a91.19 91.19 0 0 0-.059-2.977c-.009-.243-.266-.434-.571-.427-.307.007-.549.21-.54.452.045 1.25.064 2.524.057 3.787-.136.096-.273.191-.41.284a32.633 32.633 0 0 1-2.713 1.64c-.555.3-1.13.594-1.713.87-2.426 1.157-4.817 1.978-6.922 2.378-2.066-.393-4.414-1.192-6.798-2.318a35.088 35.088 0 0 1-4.328-2.421l-.012-.008-.188-.127c-.146-.098-.29-.197-.431-.297a91.783 91.783 0 0 1 .46-9.707c.074-.736.803-1.327 1.733-1.405a114.117 114.117 0 0 1 19.128 0c.93.078 1.66.669 1.733 1.405a92.098 92.098 0 0 1 .325 4.17c.014.242.276.43.58.42.306-.011.544-.216.53-.459-.035-.654-.08-1.31-.13-1.963 1.736 1.261 2.468 2.065 2.708 3.523.096.7-.82 1.878-2.44 3.18Z",fill:"#000"})))};var ag,sg,cg;function ug(){return ug=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ug.apply(this,arguments)}const lg=function(e){return d("svg",ug({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ag||(ag=d("path",{d:"M29.707 19.027a.524.524 0 0 0-.524.524.666.666 0 0 1-1.33 0 .524.524 0 1 0-1.048 0c0 .945.769 1.713 1.713 1.713.945 0 1.713-.768 1.713-1.713a.524.524 0 0 0-.524-.523Z",fill:"#000"})),sg||(sg=d("path",{d:"m34.625 19.113-1.475-.472a.617.617 0 0 1-.398-.404 9.507 9.507 0 0 0-1.394-2.757c-.28-.383-.59-.75-.93-1.098a13 13 0 0 0 .32-2.968c-.022-1.335-.29-2.118-.816-2.394-.284-.148-1.147-.6-5.82 1.539a1.7 1.7 0 0 0-.31.184 20.386 20.386 0 0 0-.961-.233l-.119-.024c.379-.827.6-1.726.641-2.654a.524.524 0 1 0-1.046-.046 6.087 6.087 0 0 1-3.989 5.45 15.196 15.196 0 0 0-4.217 0 6.066 6.066 0 0 1-2.207-1.41 6.063 6.063 0 0 1-1.787-4.315c0-1.63.635-3.163 1.787-4.316a6.063 6.063 0 0 1 4.316-1.787c1.63 0 3.163.634 4.315 1.787.463.463.846.992 1.138 1.571a.524.524 0 1 0 .936-.471 7.143 7.143 0 0 0-1.333-1.84A7.104 7.104 0 0 0 16.22.36c-1.91 0-3.706.744-5.057 2.094A7.104 7.104 0 0 0 9.07 7.511c0 1.91.744 3.705 2.094 5.056.39.39.814.725 1.262 1.005a14.8 14.8 0 0 0-.968.287.524.524 0 0 0 .332.994 14.06 14.06 0 0 1 8.862 0 .524.524 0 1 0 .332-.994 14.74 14.74 0 0 0-.969-.287 7.148 7.148 0 0 0 2.175-2.126 19.451 19.451 0 0 1 .99.219l-.016.069c-.256 1.212-.239 2.284.05 3.187a3.792 3.792 0 0 0 1.389 1.953c.78.571 1.724.818 2.578.818.643 0 1.236-.14 1.672-.386.492-.28.905-.867 1.231-1.75a8.458 8.458 0 0 1 1.67 2.995c.162.517.565.923 1.078 1.088l1.474.472c.387.124.647.48.647.886v2.446c0 .406-.26.762-.646.886l-2.376.76a1.62 1.62 0 0 0-.906.737c-.934 1.613-2.401 2.947-4.362 3.967a.821.821 0 0 0-.43.579L25.47 34.4a.236.236 0 0 1-.231.191h-2.474a.235.235 0 0 1-.231-.191l-.422-2.227a.823.823 0 0 0-.936-.662 21.909 21.909 0 0 1-5.665.107.83.83 0 0 0-.908.666l-.4 2.116a.236.236 0 0 1-.231.191h-2.475a.236.236 0 0 1-.231-.193l-.733-3.805a.822.822 0 0 0-.422-.572C6.768 28.237 5 25.256 5 21.4c0-1.948.426-3.671 1.266-5.12.785-1.354 1.93-2.472 3.406-3.325a.524.524 0 0 0-.525-.907c-2.86 1.654-4.585 4.207-5.06 7.449l-.152-.014a2.61 2.61 0 0 0-.192-1.046c-.303-.755-.928-1.3-1.59-1.389-.522-.07-1.019.152-1.364.607-.5.66-.418 1.184-.262 1.506.264.543.942.928 2.068 1.17a2.05 2.05 0 0 1-.102.14c-.665.834-1.449 1.018-1.958 1.035a.55.55 0 0 0-.536.548v.002c0 .294.232.534.526.547.037.002.077.003.117.003.644 0 1.678-.237 2.67-1.482.157-.197.285-.404.383-.618l.285.03v-.001c-.018.284-.028.572-.028.865 0 2.181.52 4.127 1.546 5.782.945 1.525 2.3 2.775 4.025 3.714l.713 3.7a1.284 1.284 0 0 0 1.26 1.044h2.475c.616 0 1.146-.44 1.26-1.044l.362-1.913a23.016 23.016 0 0 0 5.528-.104l.382 2.017a1.284 1.284 0 0 0 1.26 1.044h2.475c.616 0 1.146-.439 1.26-1.044l.742-3.923c2.093-1.107 3.67-2.561 4.69-4.323a.572.572 0 0 1 .318-.262l2.376-.761A1.973 1.973 0 0 0 36 23.442v-2.445c0-.863-.553-1.62-1.375-1.884Zm-5.004-6.227c-.201 1.725-.742 3.2-1.286 3.508-.618.35-2.044.417-3.115-.366-1.072-.784-1.429-2.194-1.032-4.078a.632.632 0 0 1 .36-.438c2.623-1.2 4.135-1.594 4.697-1.594.084 0 .147.01.19.026.168.18.39 1.202.186 2.942Zm-28.15 5.817c-.054-.112.074-.308.155-.415.129-.17.247-.205.336-.205a.39.39 0 0 1 .053.004c.241.032.579.297.757.741.043.105.097.278.11.495-.725-.15-1.289-.367-1.411-.62Z",fill:"#000"})),cg||(cg=d("path",{d:"M16.729 6.91V5.035c.646.046.887.342 1.108.342.277 0 .407-.35.407-.526 0-.453-.887-.647-1.515-.665v-.25c0-.11-.139-.212-.277-.212-.157 0-.268.101-.268.212v.268c-.878.092-1.755.554-1.755 1.718 0 1.182.923 1.515 1.755 1.81v2.17c-.942-.073-1.192-.72-1.497-.72-.23 0-.424.305-.424.527 0 .452.776 1.071 1.92 1.09v.286c0 .11.112.212.269.212.138 0 .277-.101.277-.212v-.314c.997-.139 1.68-.767 1.68-1.903 0-1.256-.877-1.662-1.68-1.958Zm-.49-.175c-.49-.185-.887-.379-.887-.905 0-.48.37-.712.887-.776v1.68Zm.434 3.15v-1.95c.453.194.813.453.813 1.035 0 .526-.314.822-.813.914Z",fill:"#000"})))};var fg,dg;function hg(){return hg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hg.apply(this,arguments)}const mg=function(e){return d("svg",hg({viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),fg||(fg=d("g",{clipPath:"url(#icon-benefits-onboarding_svg__a)",fill:"#000"},d("path",{d:"m20.195 4.67-2.8-4a.4.4 0 0 0-.328-.17h-8.8a.4.4 0 0 0-.328.17l-2.8 4a.4.4 0 0 0 .045.513l7.2 7.2a.399.399 0 0 0 .566 0l7.2-7.2a.4.4 0 0 0 .045-.512Zm-7.528 6.864-6.68-6.68L8.475 1.3h8.384l2.487 3.554-6.68 6.68Z"}),d("path",{d:"M19.467 4.5h-14v.8h14v-.8Z"}),d("path",{d:"m15.094 4.755-2.427 6.241-2.427-6.241-.746.29 2.8 7.2a.4.4 0 0 0 .745 0l2.8-7.2-.745-.29Z"}),d("path",{d:"M16.695.752 15.37 4.065 12.995.67c-.15-.214-.506-.214-.656 0L9.964 4.065 8.638.752l-.742.297 1.6 4a.4.4 0 0 0 .699.08l2.472-3.531 2.473 3.531a.399.399 0 0 0 .698-.08l1.6-4-.742-.297ZM3.467 4.5h-2.8v.8h2.8v-.8ZM2.889.567l-.444.665 2.4 1.6.444-.665-2.4-1.6ZM4.846 6.968l-2.4 1.6.443.666 2.4-1.6-.443-.666ZM24.667 4.5h-2.8v.8h2.8v-.8ZM22.446.568l-2.4 1.6.443.665 2.4-1.6-.443-.665ZM20.49 6.965l-.444.666 2.4 1.6.444-.666-2.4-1.6ZM23.962 13.816a1.598 1.598 0 0 0-1.786.003L16.542 17.7h-6.475a.6.6 0 0 1 0-1.2h3.002c1.371 0 2.532-.98 2.761-2.336l.064-.4a.4.4 0 0 0-.395-.464H8.415c-.442 0-.877.15-1.226.42l-3.168 2.464.492.632 3.167-2.464c.21-.162.47-.252.735-.252h6.613a1.994 1.994 0 0 1-1.96 1.6h-3c-.773 0-1.4.628-1.4 1.4 0 .772.627 1.4 1.4 1.4h6.6a.4.4 0 0 0 .226-.07l5.732-3.95a.798.798 0 0 1 1.241.656v.347a.8.8 0 0 1-.335.646l-6.225 4.395-10.315 1.983.15.786 10.4-2a.406.406 0 0 0 .156-.066l6.297-4.445c.418-.298.67-.783.672-1.298v-.35a1.6 1.6 0 0 0-.706-1.318Z"}),d("path",{d:"m7.825 23.121-4-8a.402.402 0 0 0-.58-.154l-2.4 1.6a.4.4 0 0 0-.178.333v7.2c0 .221.18.4.4.4h4.8a.404.404 0 0 0 .18-.042l1.6-.8a.4.4 0 0 0 .178-.537Zm-2.052.579H1.467v-6.586l1.845-1.23 3.618 7.237-1.157.579Z"}),d("path",{d:"M3.467 20.5c-.662 0-1.2.538-1.2 1.2 0 .662.538 1.2 1.2 1.2.662 0 1.2-.538 1.2-1.2 0-.662-.538-1.2-1.2-1.2Zm0 1.6a.4.4 0 1 1 0-.8.4.4 0 0 1 0 .8Z"}))),dg||(dg=d("defs",null,d("clipPath",{id:"icon-benefits-onboarding_svg__a"},d("path",{fill:"#fff",transform:"translate(.667 .5)",d:"M0 0h24v24H0z"})))))};class pg extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Height","Width"]}}function gg(e){const t=oh(e,1);return d(zp,t)}class wg extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Active","Complete","Editing","ReadyToComplete","ToComplete"]}}class vg extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ToBeCompleted","CompletedAll"]}}function yg(e){let t,n;if(1===e.tag?(t=0,n=e.fields[2]):(t=0,n=e.fields[3]),0===t)return n}function bg(e,t){const n=t.state;return 1===n.tag?it(n.fields[0],e)?new wg(2):new wg(1):function(e,t,n,r){let o;switch(o=nr(e,r,{Equals:it,GetHashCode:nt})?it(t,e)?1:it(n,e)?2:3:it(t,e)?0:it(n,e)?2:4,o){case 0:return new wg(0);case 1:return new wg(2);case 2:return new wg(3);case 3:return new wg(1);case 4:return new wg(4)}}(e,n.fields[0],n.fields[1],n.fields[2])}function _g(e,t,n){let r;t.dispatch((r=t.state,1===r.tag?new Pp(1,new Mp(2,e,void 0,r.fields[1],r.fields[2])):new Pp(1,new Mp(2,e,r.fields[1],r.fields[2],r.fields[3]))))}function Cg(e,t){switch(t.tag){case 1:return function(e){const t=oh(e,1);return d(Xp,t)}([new pg(0,e),new pg(1,e)]);case 2:return function(e){const t=oh(e,1);return d(tg,t)}([new pg(0,e),new pg(1,e)]);case 3:return function(e){const t=oh(e,1);return d(ig,t)}([new pg(0,e),new pg(1,e)]);case 4:return function(e){const t=oh(e,1);return d(lg,t)}([new pg(0,e),new pg(1,e)]);case 5:return null;case 6:return function(e){const t=oh(e,1);return d(mg,t)}([new pg(0,e),new pg(1,e)]);default:return function(e){const t=oh(e,1);return d(Zp,t)}([new pg(0,e),new pg(1,e)])}}function xg(e){const t=vr(hr((()=>{const t=yg(e.state);return _r(Sr((n=>function(e,t,n){return d("div",ft(vr(hr((()=>_r(gr(["className",fn(" ",["grid","grid-cols-12","mb-3","items-center"])]),hr((()=>{let r,o,i,a,s,c;return _r(gr((r=[d("div",ft(Xn([["className",fn(" ",["col-span-2","sm:col-span-3"])],(o=vr(hr((()=>{let r;return _r(gr(d("div",ft(Xn([["className",fn(" ",vr(hr((()=>{switch(bg(e,t).tag){case 4:default:return gr("fl-step-tick-to-complete");case 0:return gr("fl-step-tick-active");case 1:case 2:return gr("fl-step-tick-complete-or-editing")}}))))],(r=[gg([["className",fn(" ",vr(hr((()=>_r(gr("-mt-2"),hr((()=>_r(gr("scale-75"),hr((()=>_r(gr("inline-block"),hr((()=>{switch(bg(e,t).tag){case 4:case 0:default:return gr("invisible");case 1:case 2:return gr("visible")}})))))))))))))]])],["children",Ar.Children.toArray(Array.from(r))])])))),hr((()=>n?pr():gr(d("div",{className:fn(" ",["fl-step-tick-progress-bar"])})))))}))),["children",Ar.Children.toArray(Array.from(o))])]))),d("div",ft(Xn([["className",fn(" ",["col-span-10","sm:col-span-9"])],(i=[d("button",ft(Xn([["className",fn(" ",vr(hr((()=>_r(gr("whitespace-nowrap"),hr((()=>_r(gr("border"),hr((()=>_r(gr("inline-flex"),hr((()=>_r(gr("w-full"),hr((()=>_r(gr("rounded-md"),hr((()=>_r(gr("items-center"),hr((()=>{switch(bg(e,t).tag){case 3:case 1:return gr("fl-step-btn-ready-or-complete");case 0:case 2:return gr("fl-step-btn-active-or-editing");default:return gr(rn(en("%s %s"))("opacity-60")("fl-step-btn-to-complete"))}}))))))))))))))))))))))],(a=[d("span",ft(Xn([["className",fn(" ",["mx-3","inline-block"])],(s=[Cg(36,e)],["children",Ar.Children.toArray(Array.from(s))])]))),(c=Op(e),d("span",{children:[c]}))],["children",Ar.Children.toArray(Array.from(a))])])))],["children",Ar.Children.toArray(Array.from(i))])])))],["children",Ar.Children.toArray(Array.from(r))])),hr((()=>it(bg(e,t),new wg(4))?pr():gr(["onClick",n=>{_g(e,t)}]))))}))))))))}(n,e,it(n,function(e){const t=function(e){e:for(;;){const t=e;if(Dn(t))return;{const n=jn(t);if(Dn(n))return gn(Bn(t));e=n;continue e}}}(e);if(null==t)throw new Error("Collection was empty.");return wn(t)}(t)))),t),hr((()=>1===e.state.tag?gr(d("button",{className:fn(" ",["inline-flex","items-center","justify-center","px-4","py-2","border","border-transparent","shadow-sm","text-sm","font-medium","rounded-md","text-primary-text","focus:outline-none","focus:ring-2","focus:ring-offset-2","focus:ring-primary-focus","bg-primary-base","hover:bg-primary-hover","w-full","mt-8"]),children:"Submit",onClick:t=>{e.dispatch(new Pp(4,new $s(0)))}})):gr(null))))})));return d("div",{children:Ar.Children.toArray(Array.from(t))})}function kg(e){return!(Gn(yg(e.state))<=3)}function Sg(e){return kg(e)?25:36}function Ig(e,t){return kg(e)?_r(["text-xs"],t):t}function Eg(e){let t;return d("div",ft(Xn([["className",fn(" ",["flex","flex-row","w-full","mt-1","mb-2"])],(t=vr(hr((()=>Sr((t=>function(e,t){let n;return d("div",ft(Xn([["className",fn(" ",["grow","mx-1"])],(n=[d("button",ft(vr(hr((()=>_r(gr(["className",fn(" ",vr(hr((()=>_r(gr("whitespace-nowrap"),hr((()=>_r(gr("border"),hr((()=>_r(gr("inline-flex"),hr((()=>_r(gr("items-center"),hr((()=>_r(gr("justify-center"),hr((()=>_r(gr("w-full"),hr((()=>_r(gr("rounded-md"),hr((()=>{switch(bg(e,t).tag){case 3:case 1:return gr("fl-step-btn-ready-or-complete");case 0:case 2:return gr("fl-step-btn-active-or-editing");default:return gr(rn(en("%s %s"))("opacity-60")("fl-step-btn-to-complete"))}})))))))))))))))))))))))))]),hr((()=>{let n,r;return _r(gr((n=[d("span",ft(Xn([["className",fn(" ",["md:mr-2","inline-block"])],(r=[Cg(Sg(t),e)],["children",Ar.Children.toArray(Array.from(r))])]))),d("span",{children:Op(e),className:fn(" ",Ig(t,["hidden","md:inline-block"]))})],["children",Ar.Children.toArray(Array.from(n))])),hr((()=>it(bg(e,t),new wg(4))?pr():gr(["onClick",n=>{_g(e,t)}]))))}))))))))],["children",Ar.Children.toArray(Array.from(n))])])))}(t,e)),yg(e.state))))),["children",Ar.Children.toArray(Array.from(t))])])))}function Ag(e){let t,n,r;const o=e.dispatch,i=e.allSteps,a=e.completedSteps,s=e.readyToCompleteStep,c=e.step;return d("div",ft(Xn([["className",fn(" ",["grid","grid-cols-12","mb-1"])],(t=[d("div",{className:fn(" ",["col-span-2","ml-1","px-4","cursor-pointer"]),children:Ar.Children.toArray([$a]),onClick:e=>{o(new Pp(1,function(e,t,n,r){return null==t?new Mp(3,n,r):new Mp(1,e,t,n,r)}(c,s,a,i)))}}),d("div",ft(Xn([["className",fn(" ",["col-span-8","text-center"])],(n=[(r=Op(c),d("b",{children:[r]}))],["children",Ar.Children.toArray(Array.from(n))])]))),d("div",{className:fn(" ",["col-span-2"])})],["children",Ar.Children.toArray(Array.from(t))])])))}class Og extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["backend-url","access-token"]}}class Tg extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["app-base-url"]}}class Ng extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["workflows-instance-id"]}}function Mg(e){const t=e.children,n=e.effect,r=e.props,o=e.step;return Bs(n),d(1===o.tag?Sh.ComponentTagName:2===o.tag?Ih.ComponentTagName:3===o.tag?Eh.ComponentTagName:4===o.tag?Ah.ComponentTagName:5===o.tag?Oh.ComponentTagName:6===o.tag?Nh.ComponentTagName:kh.ComponentTagName,oh(r,1),...t)}function Pg(e){let t,n,r;return d("div",ft(Xn([["className",fn(" ",["text-center"])],(t=[d("h4",{className:fn(" ",["text-2xl","mb-2"]),children:"Well done!"}),d("p",ft(Xn([["className",fn(" ",["mb-2"])],(n=["You've completed all the steps below.",d("br",{}),"You can review and edit your information by clicking the relevant step, or press Submit to continue."],["children",Ar.Children.toArray(Array.from(n))])]))),d("div",ft(Xn([["className",fn(" ",["w-full","sm:max-w-xs","mt-4","mx-1","mx-auto","text-left","p-3"])],(r=[d(xg,e)],["children",Ar.Children.toArray(Array.from(r))])])))],["children",Ar.Children.toArray(Array.from(t))])])))}function Dg(){let e,t;return d("div",ft(Xn([["className",fn(" ",["text-center"])],(e=[d("h4",{className:fn(" ",["text-2xl"]),children:"You're all set!"}),(t=Xn(["You have submitted all the required information and have successfully completed your onboarding.",d("br",{}),d("p",{children:["You can now close this browser tab."]})]),d("p",{children:Ar.Children.toArray(Array.from(t))}))],["children",Ar.Children.toArray(Array.from(e))])])))}function Rg(e){let t;const n=e.accessToken,r=e.appMode,o=Zs(function(e){const t=function(e,t){if("string"!=typeof e)throw new Xm("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(qm(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(e){return qm(t)}}(e.split(".")[n]))}catch(e){throw new Xm("Invalid token specified: "+e.message)}}(e);return[new Dp(bh(t.sub),Wh(t.workflow.instanceId),new $s(0),new Mp(0),Ln(),new Ip(0)),gs()]}(n),((e,t)=>Lp(n,r,e,t)),[]),i=o[0],a=o[1];switch(Ls(Xs((()=>function(e,t){return function(e,t){return ju(0,(()=>{const n=Rp(t,Ol(new Lu(1),Al(function(e){const t=0|Zh(e);return rn(en("%s/workflows/backend/process-instances/%i/activate"))(Au)(t)}(e))));return es.Delay((()=>es.Bind(n,(e=>{let t,n;const r=e;return 1===r.tag?es.Return(new ts(1,r.fields[0])):es.ReturnFrom((t=r.fields[0],200===t.statusCode?(n=ns(xp,Ud(t.responseText,new Nf(1),void 0,{ResolveType:Cp})),es.Return(n)):es.Return(new ts(1,"Unexpected response from backend"))))}))))}))}(e,t)}(i.ProcessInstanceId,n)),(e=>{a(new Pp(0,e))})),[]),Ls((()=>{(window.ResizeObserver?new window.ResizeObserver((()=>{Hm()})):new Um((()=>{Hm()}))).observe(document.body)}),[]),Ls((()=>{const e=[i.ProcessInstance,i.CurrentView];let t;switch(t=2===e[0].tag?2!==e[1].tag||4!==e[1].fields[0].tag&&5!==e[1].fields[0].tag?1:0:2,t){case 0:case 2:break;case 1:_u(Fn(Mu(r)),2,2)}}),[i.CurrentView,i.ProcessInstance]),Bs((()=>{window.addEventListener("step-completion",(e=>{a(new Pp(2,e))}))})),i.ProcessInstance.tag){case 1:default:return d("div",{children:["Please wait..."]});case 3:case 2:return d("div",ft(Xn([["className",fn(" ",["max-w-7xl","mx-auto","pb-2"])],(t=vr(hr((()=>_r(Sr((e=>d("style",{children:[e]})),i.CssOverrides),hr((()=>{let e,t,o,s;const c=i.CurrentView;switch(c.tag){case 1:{const t=c.fields[0],n=c.fields[1],r=c.fields[2],o=c.fields[3];return _r(gr(d("div",ft(Xn([["className",fn(" ",["w-full","sm:max-w-xs","mt-4","mx-1","mx-auto","px-4","sm:px-0"])],(e=[d(xg,{dispatch:a,state:null==n?new vg(1,t,r,o):new vg(0,t,n,r,o)})],["children",Ar.Children.toArray(Array.from(e))])])))),hr((()=>(Wm(0),pr()))))}case 2:{const e=c.fields[0],o=c.fields[1],s=c.fields[2],u=c.fields[3];return gr((t=vr(hr((()=>{let t;return _r(Gn(u)>1?gr(d("div",ft(Xn([["className",fn(" ",["pt-2","relative"])],(t=[d(Ag,{step:e,readyToCompleteStep:o,completedSteps:s,allSteps:u,dispatch:a}),d(Eg,{dispatch:a,state:null==o?new vg(1,e,s,u):new vg(0,e,o,s,u)})],["children",Ar.Children.toArray(Array.from(t))])])))):pr(),hr((()=>{let t,o;return gr(d("div",ft(Xn([["className",fn(" ",["grid","grid-cols-12","px-1"])],(t=[d("div",ft(Xn([["className",fn(" ",["bg-white","col-span-12","rounded-md","border","p-3"])],(o=vr(hr((()=>{if(4===e.tag)return gr(d(Mg,{step:new Sp(4),props:[new Og(1,n),new Og(0,rn(en("%s/super-selection/backend/v1.0/"))(Au)),new Tg(0,Mu(r))],effect:()=>{a(new Pp(6)),Wm(2500)},children:[]}));{const t=e;return gr(d(Mg,{step:t,props:vr(hr((()=>_r(gr(new Og(1,n)),hr((()=>_r(gr(new Og(0,Au)),hr((()=>it(t,new Sp(6))?gr(new Ng(0,Xe(Zh(i.ProcessInstanceId)))):pr()))))))))),effect:()=>{Wm(1500)},children:[]}))}}))),["children",Ar.Children.toArray(Array.from(o))])])))],["children",Ar.Children.toArray(Array.from(t))])]))))})))}))),d("div",{children:Ar.Children.toArray(Array.from(t))})))}case 3:return _r(gr(d("div",ft(Xn([["className",fn(" ",["pt-5","px-4"])],(o=[d(Pg,{dispatch:a,state:new vg(1,void 0,c.fields[0],c.fields[1])})],["children",Ar.Children.toArray(Array.from(o))])])))),hr((()=>(Wm(0),pr()))));case 4:return _r(gr(d("div",{className:fn(" ",["text-center","mt-5"]),children:"We had an issue. Please try again shortly."})),hr((()=>(Wm(0),pr()))));case 5:return gr(d("div",ft(Xn([["className",fn(" ",["mt-5","px-4"])],(s=[d(Dg,null)],["children",Ar.Children.toArray(Array.from(s))])]))));default:return gr(d("div",{children:["Please wait..."]}))}})))))),["children",Ar.Children.toArray(Array.from(t))])])))}}class Bg extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["AuthCode"]}}function jg(e){return new Bg(0,e)}class Lg extends Ht{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 Ug(){return Ul("Workflows.UI.Auth.Types.Credentials",[],Lg,(()=>[["id_token",Wl],["access_token",Wl],["expires_in",Yl],["refresh_token",Gl(Wl)],["scope",Wl],["token_type",Wl]]))}class Fg extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SignIn"]}}class zg extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","InviteValidation","AuthCodeExchange","NotFound","LoggedOut"]}}function Gg(e){const t=ku(e);if(null!=t)return _n((e=>e[1]),Qn((e=>"code"===e[0]),t));throw new Yt("/home/vsts/work/1/s/src/Workflows.UI/src/PageTypes.fs",26,18)}function Hg(e){let t,n,r,o,i,a,s;const c=function(e){let t,n,r;switch(zn(e)?t=2:"workflows"===Hn(e)?zn(Vn(e))?t=2:"app"===Hn(Vn(e))?(t=0,n=Vn(Vn(e))):"embed"===Hn(Vn(e))?zn(Vn(Vn(e)))?t=2:"v1.0"===Hn(Vn(Vn(e)))?(t=1,r=Vn(Vn(Vn(e)))):t=2:t=2:t=2,t){case 0:return new is(1,n);case 1:return new is(0,r);case 2:return new is(2,void 0)}}(e);return 1===c.tag?[zn(c.fields[0])?zn(c.fields[0])?new zg(0):(o=ku(Hn(c.fields[0])),null!=o?zn(o)?new zg(0):"code"===Hn(o)[0]&&zn(Vn(o))&&zn(Vn(c.fields[0]))?(i=Hn(o)[1],new zg(2,jg(i))):new zg(0):new zg(0)):(t=ku(Hn(c.fields[0])),null!=t?zn(t)?zn(c.fields[0])?new zg(0):(o=ku(Hn(c.fields[0])),null!=o?zn(o)?new zg(0):"code"===Hn(o)[0]&&zn(Vn(o))&&zn(Vn(c.fields[0]))?(i=Hn(o)[1],new zg(2,jg(i))):new zg(0):new zg(0)):"invite"===Hn(t)[0]&&zn(Vn(t))&&zn(Vn(c.fields[0]))?(n=Hn(t)[1],r=Qc(n),1===r.tag?new zg(3):new zg(1,r.fields[0])):zn(c.fields[0])?new zg(0):(o=ku(Hn(c.fields[0])),null!=o?zn(o)?new zg(0):"code"===Hn(o)[0]&&zn(Vn(o))&&zn(Vn(c.fields[0]))?(i=Hn(o)[1],new zg(2,jg(i))):new zg(0):new zg(0)):zn(c.fields[0])?new zg(0):(o=ku(Hn(c.fields[0])),null!=o?zn(o)?new zg(0):"code"===Hn(o)[0]&&zn(Vn(o))&&zn(Vn(c.fields[0]))?(i=Hn(o)[1],new zg(2,jg(i))):new zg(0):new zg(0))),new Nu(1)]:2===c.tag?[new zg(3),new Nu(2)]:[zn(c.fields[0])||zn(Vn(c.fields[0]))?new zg(0):(a=Gg(Hn(Vn(c.fields[0]))),null!=a&&zn(Vn(Vn(c.fields[0])))?(s=a,new zg(2,jg(s))):new zg(0)),new Nu(0)]}class Vg extends Ht{constructor(e,t,n){super(),this.CurrentPage=e,this.Credentials=t,this.AppMode=n}}class Wg extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","AuthMsg","DisplayLoggedOut"]}}class Zg extends Ht{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class $g extends p{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}class Yg extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class qg extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}function Xg(e,t){const n=function(e){return[new Yg(0),bs(new Fg(0,new qg(0),e))]}(t);return[new Vg(e.CurrentPage,n[0],e.AppMode),ws((e=>new Wg(1,e)),n[1])]}var Jg;!function(e){Ts(void 0,e)}(("workflows-app",Jg=As((function(){const e=Hg(Cu(window.location.pathname+window.location.search,2)),t=e[0],n=e[1],r=new Vg(t,new Yg(0),n);let o;switch(o=2===t.tag?0:1===t.tag?1:0===t.tag&&it(n,new Nu(1))?2:3,o){case 0:return Xg(r,t.fields[0]);case 1:return[r,gs()];case 2:{const e=Cn((e=>{return 1===(t=Ud(e,void 0,void 0,{ResolveType:Ug})).tag?void 0:gn(t.fields[0]);var t}),vn(window.sessionStorage.getItem("credentials")));return null==e?[r,bs(new Wg(2))]:[new Vg(r.CurrentPage,new Yg(2,new ts(0,e)),r.AppMode),gs()]}case 3:return[r,bs(new Wg(2))]}}),(function(e,t){switch(e.tag){case 1:{const n=function(e,t,n){let r;return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?[new Yg(2,new ts(1,`SignIn failed: ${e.fields[0].fields[0].fields[0]}`)),gs()]:(window.gtag&&window.gtag("event","oidc_sign_in",{}),[new Yg(2,new ts(0,e.fields[0].fields[0].fields[0])),(r=window.location.pathname,ys((e=>{_u(Fn(r),1,2)})))]):[new Yg(1),_s((e=>{Cs(e)}),(e=>function(e,t){const n=encodeURIComponent(t.fields[0]),r=encodeURIComponent("apollo-workflows-app"),o=encodeURIComponent((i=new Nu(0),`${window.location.protocol}//${window.location.host}${Mu(i)}`));var i;return ju(0,(()=>{let e,t,i;const a=Ml((t=Ol(new Lu(1),Al(`${Eu}/connect/token`)),e=Tl(Sl("application/x-www-form-urlencoded"),t),Nl(new Fu(1,`grant_type=authorization_code&code=${n}&client_id=${r}&redirect_uri=${o}`),e)));return i=es.Bind(a,(e=>es.Return(new ts(0,e)))),es.Delay((()=>es.Bind(i,(e=>{let t,n;const r=e;return 1===r.tag?es.Return(new ts(1,r.fields[0])):es.ReturnFrom((t=r.fields[0],200===t.statusCode?(n=Ud(t.responseText,void 0,void 0,{ResolveType:Ug}),es.Return(n)):es.Return(new ts(1,"Unexpected result from backend"))))}))))}))}(0,e)),e.fields[1],(t=>{const n=[new qg(1,t),e.fields[1]];return new Fg(0,n[0],n[1])}),(t=>{const n=[new qg(1,new ts(1,t.message)),e.fields[1]];return new Fg(0,n[0],n[1])}))]}(e.fields[0],t.Credentials,t.AppMode),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",Kd(0,new Lg(e.id_token,e.access_token,e.expires_in,void 0,e.scope,e.token_type),void 0,void 0,void 0,{ResolveType:Ug})];window.sessionStorage.setItem(t[0],t[1])}(a),[new Vg(t.CurrentPage,r,t.AppMode),ws((e=>new Wg(1,e)),n[1])]}case 2:return[new Vg(new zg(4),t.Credentials,t.AppMode),gs()];default:{const n=Hg(e.fields[0])[0],r=new Vg(n,t.Credentials,t.AppMode);return 2===n.tag?Xg(r,n.fields[0]):[r,gs()]}}}),(function(e,t){let n;const r=d("div",ft(Xn([["className",fn(" ",["workflows-app","font-inter"])],(n=vr(hr((()=>{const t=e.CurrentPage;switch(t.tag){case 2:return gr(function(){let e,t,n,r,o,i,a,s;return d("div",ft(Xn([["className",fn(" ",["h-screen","fade-in"])],(e=[d("div",ft(Xn([["className",fn(" ",["h-full","flex","justify-center","items-center"])],(t=[d("div",ft(Xn([["className",fn(" ",["border","rounded-lg","shadow-md","sm:max-w-md","p-8","text-center"])],(n=[(r=Xn([(o=Xn([d("i",{className:fn(" ",["text-green-700"]),children:Ar.Children.toArray([Ya])}),d("h4",{className:fn(" ",["text-2xl","my-4","text-green-700"]),children:"Your identity is confirmed"}),d("p",{className:fn(" ",["mt-3","mb-5","text-gray-500"]),children:"You will be redirected in a moment."})]),d("div",{children:Ar.Children.toArray(Array.from(o))})),d("p",ft(Xn([["className",fn(" ",["mt-16","text-gray-400","text-right","text-xs"])],(i=[(a=`Flare HR Pty Ltd © 2015-${s=kt(),St(s)}`,d("small",{children:[a]}))],["children",Ar.Children.toArray(Array.from(i))])])))]),d("div",{children:Ar.Children.toArray(Array.from(r))}))],["children",Ar.Children.toArray(Array.from(n))])])))],["children",Ar.Children.toArray(Array.from(t))])])))],["children",Ar.Children.toArray(Array.from(e))])])))}());case 1:return gr(d(Zm,{inviteCode:t.fields[0]}));case 3:return gr(d("h1",{children:["Not found"]}));case 4:return gr(d($m,null));default:{const t=e.Credentials;let n,r;switch(2===t.tag&&0===t.fields[0].tag?(n=0,r=t.fields[0].fields[0]):n=1,n){case 0:return gr(d(Rg,{appMode:e.AppMode,accessToken:r.access_token}));case 1:return gr(d("h1",{children:["Unauthorised"]}))}}}}))),["children",Ar.Children.toArray(Array.from(n))])])));return xu({hashMode:2,onUrlChanged:e=>{t(new Wg(0,e))},application:d(m,{},r)})})),function(e,t,n){return Os(((r,o)=>{Ie(e((e=>t=>e===t),function(e){return pt(2,e.view)}(n),r,o),document.getElementById(t))}),n)}(((e,t,n,r)=>function(e,t,n,r){const o=new Zg(n,(()=>t(n,r)),e);return d($g,o)}(ht(2,e),ht(2,t),n,r)),"workflows-app",Jg)))})()})();
|
|
2
|
+
(()=>{var e={703:(e,t,n)=>{"use strict";var r=n(414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,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:o,resetWarningCache:i};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 i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.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,i,o,a,s={},c=[],u=/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 i,o,a,s={};for(a in n)"key"==a?i=n[a]:"ref"==a?o=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 h(t,s,i,o,null)}function h(e,n,i,o,a){var s={type:e,props:n,key:i,ref:o,__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 m(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 w(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 w(e)}}function v(e){(!e.__d&&(e.__d=!0)&&i.push(e)&&!y.__r++||o!==t.debounceRendering)&&((o=t.debounceRendering)||setTimeout)(y)}function y(){for(var e;y.__r=i.length;)e=i.sort((function(e,t){return e.__v.__b-t.__v.__b})),i=[],e.some((function(e){var t,n,r,i,o,a;e.__d&&(o=(i=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=l({},i)).__v=i.__v+1,A(a,i,r,t.__n,void 0!==a.ownerSVGElement,null!=i.__h?[o]:null,n,null==o?g(i):o,i.__h),O(n,i),i.__e!=o&&w(i)))}))}function b(e,t,n,r,i,o,a,u,l,f){var d,p,w,v,y,b,C,k=r&&r.__k||c,S=k.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(v=n.__k[d]=null==(v=t[d])||"boolean"==typeof v?null:"string"==typeof v||"number"==typeof v||"bigint"==typeof v?h(null,v,null,null,v):Array.isArray(v)?h(m,{children:v},null,null,null):v.__b>0?h(v.type,v.props,v.key,null,v.__v):v)){if(v.__=n,v.__b=n.__b+1,null===(w=k[d])||w&&v.key==w.key&&v.type===w.type)k[d]=void 0;else for(p=0;p<S;p++){if((w=k[p])&&v.key==w.key&&v.type===w.type){k[p]=void 0;break}w=null}A(e,v,w=w||s,i,o,a,u,l,f),y=v.__e,(p=v.ref)&&w.ref!=p&&(C||(C=[]),w.ref&&C.push(w.ref,null,v),C.push(p,v.__c||y,v)),null!=y?(null==b&&(b=y),"function"==typeof v.type&&v.__k===w.__k?v.__d=l=_(v,l,e):l=x(e,v,w,k,y,l),"function"==typeof n.type&&(n.__d=l)):l&&w.__e==l&&l.parentNode!=e&&(l=g(w))}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)),M(k[d],k[d]));if(C)for(d=0;d<C.length;d++)N(C[d],C[++d],C[++d])}function _(e,t,n){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,t="function"==typeof r.type?_(r,t,n):x(n,r,r,i,r.__e,t));return t}function C(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){C(e,t)})):t.push(e)),t}function x(e,t,n,r,i,o){var a,s,c;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||i!=o||null==i.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(i),a=null;else{for(s=o,c=0;(s=s.nextSibling)&&c<r.length;c+=2)if(s==i)break e;e.insertBefore(i,o),a=o}return void 0!==a?a:i.nextSibling}function k(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||u.test(t)?n:n+"px"}function S(e,t,n,r,i){var o;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])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r||e.addEventListener(t,o?E:I,o):e.removeEventListener(t,o?E:I,o);else if("dangerouslySetInnerHTML"!==t){if(i)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 I(e){this.l[e.type+!1](t.event?t.event(e):e)}function E(e){this.l[e.type+!0](t.event?t.event(e):e)}function A(e,n,r,i,o,a,s,c,u){var f,d,h,g,w,v,y,_,C,x,k,S,I,E=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(u=r.__h,c=n.__e=r.__e,n.__h=null,a=[c]),(f=t.__b)&&f(n);try{e:if("function"==typeof E){if(_=n.props,C=(f=E.contextType)&&i[f.__c],x=f?C?C.props.value:f.__:i,r.__c?y=(d=n.__c=r.__c).__=d.__E:("prototype"in E&&E.prototype.render?n.__c=d=new E(_,x):(n.__c=d=new p(_,x),d.constructor=E,d.render=P),C&&C.sub(d),d.props=_,d.state||(d.state={}),d.context=x,d.__n=i,h=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=E.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=l({},d.__s)),l(d.__s,E.getDerivedStateFromProps(_,d.__s))),g=d.props,w=d.state,h)null==E.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==E.getDerivedStateFromProps&&_!==g&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(_,x),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(_,d.__s,x)||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,x),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(g,w,v)}))}if(d.context=x,d.props=_,d.__v=n,d.__P=e,k=t.__r,S=0,"prototype"in E&&E.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&&(i=l(l({},i),d.getChildContext())),h||null==d.getSnapshotBeforeUpdate||(v=d.getSnapshotBeforeUpdate(g,w)),I=null!=f&&f.type===m&&null==f.key?f.props.children:f,b(e,Array.isArray(I)?I:[I],n,r,i,o,a,s,c,u),d.base=n.__e,n.__h=null,d.__h.length&&s.push(d),y&&(d.__E=d.__=null),d.__e=!1}else null==a&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=T(r.__e,n,r,i,o,a,s,u);(f=t.diffed)&&f(n)}catch(e){n.__v=null,(u||null!=a)&&(n.__e=c,n.__h=!!u,a[a.indexOf(c)]=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 T(t,n,r,i,o,a,c,u){var l,d,h,m=r.props,p=n.props,w=n.type,v=0;if("svg"===w&&(o=!0),null!=a)for(;v<a.length;v++)if((l=a[v])&&"setAttribute"in l==!!w&&(w?l.localName===w:3===l.nodeType)){t=l,a[v]=null;break}if(null==t){if(null===w)return document.createTextNode(p);t=o?document.createElementNS("http://www.w3.org/2000/svg",w):document.createElement(w,p.is&&p),a=null,u=!1}if(null===w)m===p||u&&t.data===p||(t.data=p);else{if(a=a&&e.call(t.childNodes),d=(m=r.props||s).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!u){if(null!=a)for(m={},v=0;v<t.attributes.length;v++)m[t.attributes[v].name]=t.attributes[v].value;(h||d)&&(h&&(d&&h.__html==d.__html||h.__html===t.innerHTML)||(t.innerHTML=h&&h.__html||""))}if(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||S(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||S(e,o,t[o],n[o],r)}(t,p,m,o,u),h)n.__k=[];else if(v=n.props.children,b(t,Array.isArray(v)?v:[v],n,r,i,o&&"foreignObject"!==w,a,c,a?a[0]:r.__k&&g(r,0),u),null!=a)for(v=a.length;v--;)null!=a[v]&&f(a[v]);u||("value"in p&&void 0!==(v=p.value)&&(v!==t.value||"progress"===w&&!v||"option"===w&&v!==m.value)&&S(t,"value",v,m.value,!1),"checked"in p&&void 0!==(v=p.checked)&&v!==t.checked&&S(t,"checked",v,m.checked,!1))}return t}function N(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function M(e,n,r){var i,o;if(t.unmount&&t.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||N(i,null,n)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){t.__e(e,n)}i.base=i.__P=null}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&M(i[o],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,i){var o,a,c;t.__&&t.__(n,r),a=(o="function"==typeof i)?null:i&&i.__k||r.__k,c=[],A(r,n=(!o&&i||r).__k=d(m,null,[n]),a||s,s,void 0!==r.ownerSVGElement,!o&&i?[i]:a?null:r.firstChild?e.call(r.childNodes):null,c,!o&&i?i:a?a.__e:r.firstChild,o),O(c,n)}function R(e,t){D(e,t,R)}function j(t,n,r){var i,o,a,s=l({},t.props);for(a in n)"key"==a?i=n[a]:"ref"==a?o=n[a]:s[a]=n[a];return arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):r),h(t.type,s,i||t.key,o||t.ref,null)}e=c.slice,t={__e:function(e,t,n,r){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),a=i.__d),a)return i.__E=i}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),v(this))},p.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),v(this))},p.prototype.render=m,i=[],y.__r=0,a=0;var B,L,U,z,F=0,G=[],H=[],V=t.__b,W=t.__r,Z=t.diffed,$=t.__c,Y=t.unmount;function q(e,n){t.__h&&t.__h(L,e,F||n),F=0;var r=L.__H||(L.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:H}),r.__[e]}function X(e){return F=1,J(ae,e)}function J(e,t,n){var r=q(B++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ae(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=L,!L.u)){L.u=!0;var i=L.shouldComponentUpdate;L.shouldComponentUpdate=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var a=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!!a&&(!i||i.call(this,e,t,n))}}return r.__N||r.__}function K(e,n){var r=q(B++,3);!t.__s&&oe(r.__H,n)&&(r.__=e,r.i=n,L.__H.__h.push(r))}function Q(e,n){var r=q(B++,4);!t.__s&&oe(r.__H,n)&&(r.__=e,r.i=n,L.__h.push(r))}function ee(e,t){var n=q(B++,7);return oe(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function te(){for(var e;e=G.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(re),e.__H.__h.forEach(ie),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}}t.__b=function(e){L=null,V&&V(e)},t.__r=function(e){W&&W(e),B=0;var t=(L=e.__c).__H;t&&(U===L?(t.__h=[],L.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=H,e.__N=e.i=void 0}))):(t.__h.forEach(re),t.__h.forEach(ie),t.__h=[])),U=L},t.diffed=function(e){Z&&Z(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==G.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!==H&&(e.__=e.__V),e.i=void 0,e.__V=H}))),U=L=null},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach(re),e.__h=e.__h.filter((function(e){return!e.__||ie(e)}))}catch(r){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(r,e.__v)}})),$&&$(e,n)},t.unmount=function(e){Y&&Y(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=L,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),L=t}function ie(e){var t=L;e.__c=e.__(),L=t}function oe(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 ce(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function ue(e){this.props=e}(ue.prototype=new p).isPureReactComponent=!0,ue.prototype.shouldComponentUpdate=function(e,t){return ce(this.props,e)||ce(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:C(C(e).map(t))},he={map:de,forEach:de,count:function(e){return e?C(e).length:0},only:function(e){var t=C(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:C},me=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);me(e,t,n,r)};var pe=t.unmount;function ge(){this.__u=0,this.t=null,this.__b=null}function we(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ve(){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 i=we(r.__v),o=!1,a=function(){o||(o=!0,n.__R=null,i?i(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()}},c=!0===t.__h;r.__u++||c||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 i=t.__a&&d(m,null,e.fallback);return i&&(i.__h=null),[d(m,null,t.__a?null:e.children),i]};var ye=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()}(ve.prototype=new p).__a=function(e){var t=this,n=we(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),ye(t,e,r)):i()};n?n(o):o()}},ve.prototype.render=function(e){this.u=null,this.o=new Map;var t=C(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},ve.prototype.componentDidUpdate=ve.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){ye(e,n,t)}))};var Ce="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,xe=/^(?: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 Ie(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 Ee=t.event;function Ae(){}function Oe(){return this.cancelBubble}function Te(){return this.defaultPrevented}t.event=function(e){return Ee&&(e=Ee(e)),e.persist=Ae,e.isPropagationStopped=Oe,e.isDefaultPrevented=Te,e.nativeEvent=e};var Ne,Me={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 i=-1===t.indexOf("-");for(var o in r={},n){var a=n[o];ke&&"children"===o&&"noscript"===t||"value"===o&&"defaultValue"in n&&null==a||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===a?a="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!Se(n.type)?o="oninput":/^onfocus$/i.test(o)?o="onfocusin":/^onblur$/i.test(o)?o="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(o)?o=o.toLowerCase():i&&xe.test(o)?o=o.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===a&&(a=void 0),/^oninput$/i.test(o)&&(o=o.toLowerCase(),r[o]&&(o="oninputCapture")),r[o]=a)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=C(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=C(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&&(Me.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Me))}e.$$typeof=Ce,Pe&&Pe(e)};var De=t.__r;t.__r=function(e){De&&De(e),Ne=e.__c};var Re={ReactCurrentDispatcher:{current:{readContext:function(e){return Ne.__n[e.__c].props.value}}}};function je(e){return!!e&&e.$$typeof===Ce}function Be(e){e()}const Le={useState:X,useReducer:J,useEffect:K,useLayoutEffect:Q,useInsertionEffect:Q,useTransition:function(){return[!1,Be]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,t){var n=t(),r=X({s:{__:n,h:t}}),i=r[0].s,o=r[1];return Q((function(){i.__=n,i.h=t,i.__!==t()&&o({s:i})}),[e,n,t]),K((function(){return i.__!==i.h()&&o({s:i}),e((function(){i.__!==i.h()&&o({s:i})}))}),[e]),n},startTransition:Be,useRef:function(e){return F=5,ee((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){F=6,Q((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 F=8,ee((function(){return e}),t)},useContext:function(e){var t=L.context[e.__c],n=q(B++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(L)),t.props.value):e.__},useDebugValue:function(e,n){t.useDebugValue&&t.useDebugValue(n?n(e):e)},version:"17.0.2",Children:he,render:Ie,hydrate:function(e,t,n){return R(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(v)},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 je(e)?j.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:m,isValidElement:je,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:p,PureComponent:ue,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:ce(this.props,e)}function r(t){return this.shouldComponentUpdate=n,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:m,Suspense:ge,SuspenseList:ve,lazy:function(e){var t,n,r;function i(i){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,i)}return i.displayName="Lazy",i.__f=!0,i},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Re};function Ue(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function ze(e){return"function"==typeof e.GetHashCode}function Fe(e){return null!=e&&"function"==typeof e.Dispose}function Ge(e){Fe(e)&&e.Dispose()}function He(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 Ve{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 We(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new Ve(e[Symbol.iterator]())}function Ze(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 $e{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 Ye(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 Xe(e,t){return(e=e<0&&null!=t&&10!==t?4294967295+e+1:e).toString(t)}class Je{static id(e){return Je.idMap.has(e)||Je.idMap.set(e,++Je.count),Je.idMap.get(e)}}function Ke(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 et(e){return 0===e.length?0:e.reduce(((e,t)=>(e<<5)+e^t))}function tt(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 Ke(e);default:if(ze(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]=tt(e[r]);return et(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=>tt(e)));return et(t)}return Qe(Je.id(e))}}function nt(e){return null==e?0:ze(e)?e.GetHashCode():Qe(Je.id(e))}function rt(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 it(e,t){return rt(e,t,ot)}function ot(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)&&it(e,t):e instanceof Date?t instanceof Date&&0===at(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 i=0;i<n.length;i++)if(n[i]!==r[i]||!ot(e[n[i]],t[r[i]]))return!1;return!0}(e,t)))}function at(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 st(e,t){return e===t?0:e<t?-1:1}function ct(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,i=0;r<e.length;r++)if(i=n(e[r],t[r]),0!==i)return i;return 0}(e,t,ut)}function ut(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)?ct(e,t):-1:e instanceof Date?t instanceof Date?at(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 i=0,o=0;i<n.length;i++){const a=n[i];if(a!==r[i])return a<r[i]?-1:1;if(o=ut(e[a],t[a]),0!==o)return o}return 0}(e,t):-1}function lt(e,t,n){return e(t,n)>0?t:n}function ft(e){const t={};for(const n of e)t[n[0]]=n[1];return t}Je.idMap=new WeakMap,Je.count=0;const dt=Symbol("curried");function ht(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[dt]=t,n}function mt(e,t,n){return r=>1===t?n(...e.concat([r])):mt(e.concat([r]),t-1,n)}function pt(e,t){return null==t||1===t.length?t:dt in t?t[dt]:mt([],e,t)}function gt(e,t,n){if(null!=t){if(dt in t){t=t[dt];for(let e=0;e<n.length;e++)t=t(n[e]);return t}return mt(n,e,t)}}function wt(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+Ye(~~(e/36e5),2)+":"+Ye(n,2)}function vt(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 yt(e,t,n){return t.replace(/(\w)\1*/g,(t=>{let r=Number.NaN;switch(t.substring(0,1)){case"y":const i=n?e.getUTCFullYear():e.getFullYear();r=t.length<4?i%100:i;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 o=n?e.getUTCHours():e.getHours();r=o>12?o%12:o;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 bt(e,t,n){return null!=e.offset?function(e,t){var n,r,i;const o=new Date(e.getTime()+(null!==(n=e.offset)&&void 0!==n?n:0));if("string"!=typeof t)return o.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+wt(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==t.length)return yt(o,t,!0);switch(t){case"D":case"d":return vt(o,"first");case"T":case"t":return vt(o,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+wt(t)}(o,null!==(i=e.offset)&&void 0!==i?i: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 yt(e,t,n);switch(t){case"D":case"d":return n?vt(e,"first"):e.toLocaleDateString();case"T":case"t":return n?vt(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 Ye(e.getFullYear(),4)+"-"+Ye(e.getMonth()+1,2)+"-"+Ye(e.getDate(),2)+"T"+Ye(e.getHours(),2)+":"+Ye(e.getMinutes(),2)+":"+Ye(e.getSeconds(),2)+"."+Ye(e.getMilliseconds(),3)+(t?wt(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}function _t(e,t){const n=new Date(e);return n.kind=0|(null==t?0:t),n}function Ct(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 i=/^\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!=i){let e,t=0;if(null!=i[2]){const e=i[2].split(":");t=3600*parseInt(e[0],10)+60*parseInt(e[1]||"0",10)+parseFloat(e[2]||"0"),null!=i[3]&&"PM"===i[3].toUpperCase()&&(t+=720)}if(null!=i[4]){if(null!=i[1])e=new Date(i[1]+" UTC");else{const t=new Date;e=new Date(t.getUTCFullYear()+"/"+(t.getUTCMonth()+1)+"/"+t.getUTCDate())}if("Z"===i[4])r="Z";else{let e=60*parseInt(i[5],10)+parseInt(i[6]||"0",10);"-"===i[4][0]&&(e*=-1),r=e,t-=60*e}}else if(null!=i[1])e=new Date(i[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 xt(e,t){try{return t.contents=function(e,t=!1){const[n,r]=Ct(e),i=null!=r?t&&"Z"===r?1:2:0;return _t(n.getTime(),i)}(e),!0}catch(e){return!1}}function kt(){return function(e){return function(e,t,n,r=0,i=0,o=0,a=0,s){const c=1===s?Date.UTC(e,t-1,n,r,i,o,a):new Date(e,t-1,n,r,i,o,a).getTime();if(isNaN(c))throw new Error("The parameters describe an unrepresentable Date.");const u=_t(c,s);return e<=99&&u.setFullYear(e,t-1,n),u}(St(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)}(_t(Date.now(),2))}function St(e){return 1===e.kind?e.getUTCFullYear():e.getFullYear()}const It=Symbol("numeric");function Et(e){return"number"==typeof e||(null==e?void 0:e[It])}function At(e,t){return"number"==typeof e?e*t:e[It]().multiply(t)}function Ot(e,t){return"number"==typeof e?e.toFixed(t):e[It]().toFixed(t)}function Tt(e,t){return"number"==typeof e?e.toPrecision(t):e[It]().toPrecision(t)}function Nt(e,t){return"number"==typeof e?e.toExponential(t):e[It]().toExponential(t)}function Mt(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[It]().toHex()}function Pt(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)}function Dt(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Rt(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 i,o=-1;for(;null!=(i=e.exec(t));)i.index===o?e.lastIndex++:(o=i.index,r.push(i));return r}function jt(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+=jt(r);else{if(100===t){n+="; ...";break}n+="; "+jt(r)}t++}return n+"]"}(e);{const i=null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor;return i===Object&&t<10?"{ "+Object.entries(e).map((([e,n])=>e+" = "+jt(n,t+1))).join("\n ")+" }":null!==(r=null==i?void 0:i.name)&&void 0!==r?r:""}}return String(e)}class Bt{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=jt(t[0]),r=n.indexOf(" ")>=0):n=t.map((e=>jt(e))).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>tt(e)));return e.splice(0,0,Qe(this.tag)),et(e)}Equals(e){return this===e||!!He(this,e)&&this.tag===e.tag&&it(this.fields,e.fields)}CompareTo(e){return this===e?0:He(this,e)?this.tag===e.tag?ct(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}function Lt(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}function Ut(e){return"{ "+Object.entries(e).map((([e,t])=>e+" = "+jt(t))).join("\n ")+" }"}function zt(e){const t=Object.values(e).map((e=>tt(e)));return et(t)}function Ft(e,t){if(e===t)return!0;if(He(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!ot(e[n[r]],t[n[r]]))return!1;return!0}return!1}function Gt(e,t){if(e===t)return 0;if(He(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=ut(e[n[r]],t[n[r]]);if(0!==i)return i}return 0}return-1}class Ht{toJSON(){return Lt(this)}toString(){return Ut(this)}GetHashCode(){return zt(this)}Equals(e){return Ft(this,e)}CompareTo(e){return Gt(this,e)}}class Vt{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 Wt{constructor(e){this.message=e}}function Zt(e){return function(e){return e instanceof Wt||e instanceof Error}(e)?e:new Error(String(e))}class $t extends Wt{toJSON(){return Lt(this)}toString(){return Ut(this)}GetHashCode(){return zt(this)}Equals(e){return Ft(this,e)}CompareTo(e){return Gt(this,e)}}class Yt extends $t{constructor(e,t,n){super(),this.arg1=e,this.arg2=0|t,this.arg3=0|n,this.message="The match cases were incomplete"}}const qt=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,Xt=/(?:(^|[^%])%([0+\- ]*)(\d+)?(?:\.(\d+))?(\w))?%P\(\)/g,Jt=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function Kt(e,t){return function(e,t){return"number"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}(e,t)<0}function Qt(e,t,n){function r(e){return!0===e||1===e||3===e||5===e}return null==e?null==t?0:-1:null==t?1:4===(i=n)||5===i?(r(n)&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t?0:e<t?-1:1):(r(n)&&(e=e.toLocaleLowerCase(),t=t.toLocaleLowerCase()),e.localeCompare(t));var i}function en(e){return{input:e,cont:(t=e,e=>{qt.lastIndex=0;const n=[],r=[];let i=0,o=qt.exec(t);for(;o;){const e=o.index+(o[1]||"").length;n.push(t.substring(i,e).replace(/%%/g,"%")),r.push(o),i=qt.lastIndex,qt.lastIndex-=1,o=qt.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(i).replace(/%%/g,"%")),sn(e,n,r))})};var t}function tn(e,t){let n=0,r=0,i="";Xt.lastIndex=0;let o=Xt.exec(e);for(;o;){const a=o.index+(o[1]||"").length;i+=e.substring(r,a).replace(/%%/g,"%");const[,,s,c,u,l]=o;r=Xt.lastIndex,i+=an(t[n++],s,c,u,l),Xt.lastIndex=r-1,o=Xt.exec(e)}return i+=e.substring(r).replace(/%%/g,"%"),i}function nn(e,t){return"string"==typeof t?e(t):t.cont(e)}function rn(e){return nn((e=>e),e)}function on(e){return nn((e=>{throw new Error(e)}),e)}function an(e,t,n,r,i){let o="";if(t=t||"",i=i||"",Et(e))switch("x"!==i.toLowerCase()&&(Kt(e,0)?(e=At(e,-1),o="-"):t.indexOf(" ")>=0?o=" ":t.indexOf("+")>=0&&(o="+")),r=null==r?null:parseInt(r,10),i){case"f":case"F":e=Ot(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?Tt(e,r):Tt(e);break;case"e":case"E":e=null!=r?Nt(e,r):Nt(e);break;case"x":e=Mt(e);break;case"X":e=Mt(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?bt(e):jt(e);if(n="number"==typeof n?n:parseInt(n,10),isNaN(n))e=o+e;else{const r=t.indexOf("0")>=0,i=t.indexOf("-")>=0,a=i||!r?" ":"0";e="0"===a?o+(e=dn(e,n-o.length,a,i)):dn(o+e,n,a,i)}return e}function sn(e,t,n,r="",i=-1){return(...o)=>{let a=r;const s=t.slice(),c=n.slice();for(const e of o){const[,,t,n,r,o]=c[0];let u=n;if(i>=0)u=i,i=-1;else if("*"===u){if(e<0)throw new Error("Non-negative number required");i=e;continue}a+=s[0],a+=an(e,t,u,r,o),s.splice(0,1),c.splice(0,1)}return 0===c.length?(a+=s[0],e(a)):sn(e,s,c,a,i)}}function cn(e,...t){return"object"==typeof e&&t.length>0&&(e=t[0],t.shift()),e.replace(Jt,((e,n,r,i,o,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(Et(s))switch(o=null==o?null:parseInt(o,10),i){case"f":case"F":s=Ot(s,o=null!=o?o:2);break;case"g":case"G":s=null!=o?Tt(s,o):Tt(s);break;case"e":case"E":s=null!=o?Nt(s,o):Nt(s);break;case"p":case"P":o=null!=o?o:2,s=Ot(At(s,100),o)+" %";break;case"d":case"D":s=null!=o?hn(String(s),o,"0"):String(s);break;case"x":case"X":s=null!=o?hn(Mt(s),o,"0"):Mt(s),"X"===i&&(s=s.toUpperCase());break;default:if(a){let e="";s=a.replace(/([0#,]+)(\.[0#]+)?/,((t,n,r)=>{Kt(s,0)&&(s=At(s,-1),e="-"),r=null==r?"":r.substring(1),s=Ot(s,Math.max(r.length,0));let[i,o]=s.split(".");o||(o=""),i=hn(i,n.replace(/,/g,"").replace(/^#+/,"").length,"0");const a=r.replace(/#+$/,"").length;if(a>o.length?o=function(e,t,n){return dn(e,t,"0",!0)}(o,a):a<o.length&&(o=o.substring(0,a)+o.substring(a).replace(/0+$/,"")),n.indexOf(",")>0){const e=i.length%3,t=Math.floor(i.length/3);let n=e>0?i.substr(0,e)+(t>0?",":""):"";for(let r=0;r<t;r++)n+=i.substr(e+3*r,3)+(r<t-1?",":"");i=n}return o.length>0?i+"."+o:i})),s=e+s}}else s=s instanceof Date?bt(s,a||i):jt(s);return r=parseInt((r||" ").substring(1),10),isNaN(r)||(s=dn(String(s),Math.abs(r)," ",r<0)),s}))}function un(e){return"string"!=typeof e||0===e.length}function ln(e){return"string"!=typeof e||/^\s*$/.test(e)}function fn(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function dn(e,t,n,r){n=n||" ",t-=e.length;for(let i=0;i<t;i++)e=r?e+n:n+e;return e}function hn(e,t,n){return dn(e,t,n)}function mn(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 i=1==(1&r),o=2==(2&r);t=(t=t||[]).filter((e=>e)).map(Dt),t=t.length>0?t:["\\s"];const a=[],s=new RegExp(t.join("|"),"g");let c=!0,u=0;do{const t=s.exec(e);if(null===t){const t=o?e.substring(u).trim():e.substring(u);(!i||t.length>0)&&a.push(t),c=!1}else{const r=o?e.substring(u,t.index).trim():e.substring(u,t.index);(!i||r.length>0)&&(null!=n&&a.length+1===n?(a.push(o?e.substring(u).trim():e.substring(u)),c=!1):a.push(r)),u=s.lastIndex}}while(c);return a}function pn(e,t,n){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=n?e.substr(t,n):e.substr(t)}class gn{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return tt(this.value)}Equals(e){return null!=e&&ot(this.value,e instanceof gn?e.value:e)}CompareTo(e){return null==e?1:ut(this.value,e instanceof gn?e.value:e)}}function wn(e){return null==e||e instanceof gn?new gn(e):e}function vn(e){if(null==e)throw new Error("Option has no value");return e instanceof gn?e.value:e}function yn(e){return null==e?void 0:e}function bn(e){return null==e?[]:[vn(e)]}function _n(e,t){return null!=e?vn(e):t}function Cn(e,t){return null!=t?wn(e(vn(t))):void 0}function xn(){return e=ut,{Compare:(t,n)=>e(t,n)};var e}function kn(e,t){return"function"==typeof e?new e(t):new Array(t)}function Sn(e,t,n,r){const i=0|t;return e.fill(r,i,i+n)}function In(e,t,n){const r=0|t.length,i=kn(n,r);for(let n=0;n<=r-1;n++)i[n]=e(t[n]);return i}function En(e,t,n){return n.reduce(e,t)}function An(e,t,n){if(null==t)return null==n;if(null==n)return!1;{let r=0,i=!0;const o=0|t.length,a=0|n.length;if(o>a)return!1;if(o<a)return!1;for(;r<o&&i;)i=e(t[r],n[r]),r=r+1|0;return i}}class On extends Ht{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+fn("; ",this)+"]"}Equals(e){return this===e||((e,t)=>{e:for(;;){const n=e,r=t,i=[n.tail,r.tail];if(null!=i[0]){if(null!=i[1]){const o=i[0],a=i[1];if(ot(n.head,r.head)){e=o,t=a;continue e}return!1}return!1}return null==i[1]}})(this,e)}GetHashCode(){return 0|((e,t,n)=>{for(;;){const r=e,i=t,o=n,a=o.tail;if(null==a)return 0|i;{const s=a;if(r>18)return 0|i;e=r+1,t=(i<<1)+tt(o.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,i=[n.tail,r.tail];if(null!=i[0]){if(null!=i[1]){const o=i[0],a=i[1],s=0|ut(n.head,r.head);if(0===s){e=o,t=a;continue e}return 0|s}return 1}return null!=i[1]?-1:0}})(this,e)}GetEnumerator(){return new Tn(this)}[Symbol.iterator](){return Ze(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return We(this)}}class Tn{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 Nn(){return new On(null,void 0)}function Mn(e,t){return new On(e,t)}function Pn(e){return null==e.tail}function Dn(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 Rn(e){if(null!=e.tail)return e.head;throw new Error("Collection was empty.\\nParameter name: list")}function jn(e){const t=e.tail;if(null!=t)return t;throw new Error("Collection was empty.\\nParameter name: list")}function Bn(){return Nn()}function Ln(e,t){return Mn(e,t)}function Un(e){return Mn(e,Nn())}function zn(e){return Pn(e)}function Fn(e){return Dn(e)}function Gn(e){return Rn(e)}function Hn(e){return jn(e)}function Vn(e){const t=0|Dn(e),n=Sn(new Array(t),0,t,null);return((e,t)=>{for(;;){const r=e,i=t;if(Pn(i))break;n[r]=Rn(i),e=r+1,t=jn(i)}})(0,e),n}function Wn(e,t,n){let r=t,i=n;for(;!Pn(i);)r=e(r,Rn(i)),i=jn(i);return r}function Zn(e){return Wn(((e,t)=>Mn(t,e)),Nn(),e)}function $n(e,t){Wn(((t,n)=>{e(n)}),void 0,t)}function Yn(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=Mn(e[t],n);return n}function qn(e){return Yn(e,Nn())}function Xn(e,t){return Wn(((e,t)=>Mn(t,e)),t,Zn(e))}function Jn(e,t){const n=Nn(),r=Wn(((t,n)=>{const r=new On(e(n),void 0);return t.tail=r,r}),n,t),i=Nn();return r.tail=i,jn(n)}function Kn(e,t){return function(e,t){return(t=>{e:for(;;){const n=t;if(Pn(n))return;{const r=e(Rn(n));if(null==r){t=jn(n);continue e}return r}}})(t)}((t=>e(t)?wn(t):void 0),t)}function Qn(e,t){return((t,n)=>{for(;;){const r=t,i=n;if(Pn(i))return;if(e(Rn(i)))return r;t=r+1,n=jn(i)}})(0,t)}function er(e,t){const n=Nn(),r=Wn(((t,n)=>{if(e(n)){const e=new On(n,void 0);return t.tail=e,e}return t}),n,t),i=Nn();return r.tail=i,jn(n)}function tr(e,t,n){return null!=Qn((t=>n.Equals(e,t)),t)}function nr(e,t){return null!=Qn(e,t)}const rr="The input sequence has an insufficient number of elements.";function ir(){throw new Error("Enumeration has not started. Call MoveNext.")}function or(){throw new Error("Enumeration already finished.")}class ar{constructor(e){this.f=e}toString(){let e=0,t="seq [";const n=We(this);try{for(;e<4&&n["System.Collections.IEnumerator.MoveNext"]();)e>0&&(t+="; "),t+=jt(n["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(t+="; ..."),t+"]"}finally{Ge(n)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Ze(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class sr{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 cr(e,t,n){return new sr(e,t,n)}function ur(e,t,n){let r,i=!1,o=wn(e());const a=()=>{if(null!=o){const e=vn(o);try{n(e)}finally{o=void 0}}},s=()=>{try{a()}finally{r=void 0}};return cr((()=>(i||ir(),null!=r?vn(r):or())),(()=>{if(i||(i=!0),null!=o){const e=vn(o);let n;try{n=t(e)}catch(e){throw s(),e}return null!=n?(r=n,!0):(s(),!1)}return!1}),a)}function lr(e){return function(e){return new ar(e)}(e)}function fr(e){return t="source",null==e&&function(e){throw new Error(e)}(t),We(e);var t}function dr(e){return lr((()=>We(e())))}function hr(e){return lr((()=>function(e){let t,n,r,i=!1,o=!1;const a=()=>{if(o=!0,null!=n){const e=n;try{Ge(e)}finally{n=void 0}}if(null!=t){const e=t;try{Ge(e)}finally{t=void 0}}};return cr((()=>(i?o&&or():ir(),null!=r?vn(r):or())),(()=>{let s;if(i||(i=!0),o)return!1;{let i;for(;null==i;){const o=[t,n];if(null!=o[0])if(null!=o[1]){const e=o[1];if(e["System.Collections.IEnumerator.MoveNext"]())r=wn(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),i=!0;else try{Ge(e)}finally{n=void 0}}else{const e=o[0];e["System.Collections.IEnumerator.MoveNext"]()?(s=e["System.Collections.Generic.IEnumerator`1.get_Current"](),n=We(s)):(a(),i=!1)}else t=We(e)}return vn(i)}}),(()=>{o||a()}))}(e)))}function mr(){return dr((()=>new Array(0)))}function pr(e){return dr((()=>function(e,t){const n=kn(void 0,1);return n[0]=e,n}(e)))}function gr(e){return e instanceof On?Vn(e):Array.from(e)}function wr(e){return Ue(e)?qn(e):e instanceof On?e:function(e){let t,n;if(Ue(e))return qn(e);if(e instanceof On)return e;{const r=Nn();let i=r;const o=We(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const e=o["System.Collections.Generic.IEnumerator`1.get_Current"]();t=i,n=new On(e,void 0),t.tail=n,i=n}}finally{Ge(o)}const a=i,s=Nn();return a.tail=s,jn(r)}}(e)}function vr(e,t,n){return lr((()=>{let r=-1;return ur(e,(e=>(r=r+1|0,t(r,e))),n)}))}function yr(e,t){return hr([e,t])}function br(e,t,n){const r=fr(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{Ge(r)}}function _r(e,t,n){const r=fr(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{Ge(r)}}function Cr(e,t){_r(((t,n)=>{e(n)}),void 0,t)}function xr(e,t){return n=()=>fr(t),r=t=>t["System.Collections.IEnumerator.MoveNext"]()?wn(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,i=e=>{Ge(e)},lr((()=>ur(n,r,i)));var n,r,i}class kr{constructor(e,t){this.cleanup=e,this.res=t}Dispose(){this.cleanup()}GetEnumerator(){return getEnumerator(this.res)}[Symbol.iterator](){return toIterator(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return getEnumerator(this.res)}}function Sr(e){return dr((()=>function(e){return e.slice().reverse()}(gr(e))))}function Ir(e,t){return lr((()=>{const n=fr(t);try{for(let t=1;t<=e;t++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(rr+"\\nParameter name: source");return function(e,t){return cr((()=>t["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>t["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{Ge(t)}finally{e()}}))}((()=>{}),n)}catch(e){throw Ge(n),e}}))}const Er=Le;function Ar(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 Or(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ar(Object(n),!0).forEach((function(t){Mr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ar(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Tr(e){return Tr="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},Tr(e)}function Nr(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 Mr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pr(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,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(e,t)||Rr(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 Dr(e){return function(e){if(Array.isArray(e))return jr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Rr(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 Rr(e,t){if(e){if("string"==typeof e)return jr(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)?jr(e,t):void 0}}function jr(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 Br=function(){},Lr={},Ur={},zr=null,Fr={mark:Br,measure:Br};try{"undefined"!=typeof window&&(Lr=window),"undefined"!=typeof document&&(Ur=document),"undefined"!=typeof MutationObserver&&(zr=MutationObserver),"undefined"!=typeof performance&&(Fr=performance)}catch(c){}var Gr=(Lr.navigator||{}).userAgent,Hr=void 0===Gr?"":Gr,Vr=Lr,Wr=Ur,Zr=zr,$r=Fr,Yr=(Vr.document,!!Wr.documentElement&&!!Wr.head&&"function"==typeof Wr.addEventListener&&"function"==typeof Wr.createElement),qr=~Hr.indexOf("MSIE")||~Hr.indexOf("Trident/"),Xr="svg-inline--fa",Jr="data-fa-i2svg",Kr="data-fa-pseudo-element",Qr="data-prefix",ei="data-icon",ti="fontawesome-i2svg",ni=["HTML","HEAD","STYLE","SCRIPT"],ri=function(){try{return!0}catch(e){return!1}}(),ii={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"},oi={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},ai={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},si={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},ci=/fa[srltdbk]?[\-\ ]/,ui="fa-layers-text",li=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,fi={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},di=[1,2,3,4,5,6,7,8,9,10],hi=di.concat([11,12,13,14,15,16,17,18,19,20]),mi=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],pi="duotone-group",gi="primary",wi="secondary",vi=[].concat(Dr(Object.keys(oi)),["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",pi,"swap-opacity",gi,wi]).concat(di.map((function(e){return"".concat(e,"x")}))).concat(hi.map((function(e){return"w-".concat(e)}))),yi=Vr.FontAwesomeConfig||{};Wr&&"function"==typeof Wr.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=Pr(e,2),n=t[0],r=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Wr.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=i&&(yi[r]=i)}));var bi=Or(Or({},{familyPrefix:"fa",styleDefault:"solid",replacementClass:Xr,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0}),yi);bi.autoReplaceSvg||(bi.observeMutations=!1);var _i={};Object.keys(bi).forEach((function(e){Object.defineProperty(_i,e,{enumerable:!0,set:function(t){bi[e]=t,Ci.forEach((function(e){return e(_i)}))},get:function(){return bi[e]}})})),Vr.FontAwesomeConfig=_i;var Ci=[],xi=16,ki={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Si(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function Ii(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Ei(e){return e.classList?Ii(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function Ai(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Oi(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function Ti(e){return e.size!==ki.size||e.x!==ki.x||e.y!==ki.y||e.rotate!==ki.rotate||e.flipX||e.flipY}function Ni(){var e="fa",t=Xr,n=_i.familyPrefix,r=_i.replacementClass,i=':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 o=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return i}var Mi=!1;function Pi(){_i.autoAddCss&&!Mi&&(function(e){if(e&&Yr){var t=Wr.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Wr.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}Wr.head.insertBefore(t,r)}}(Ni()),Mi=!0)}var Di={mixout:function(){return{dom:{css:Ni,insertCss:Pi}}},hooks:function(){return{beforeDOMElementCreation:function(){Pi()},beforeI2svg:function(){Pi()}}}},Ri=Vr||{};Ri.___FONT_AWESOME___||(Ri.___FONT_AWESOME___={}),Ri.___FONT_AWESOME___.styles||(Ri.___FONT_AWESOME___.styles={}),Ri.___FONT_AWESOME___.hooks||(Ri.___FONT_AWESOME___.hooks={}),Ri.___FONT_AWESOME___.shims||(Ri.___FONT_AWESOME___.shims=[]);var ji=Ri.___FONT_AWESOME___,Bi=[],Li=!1;function Ui(e){Yr&&(Li?setTimeout(e,0):Bi.push(e))}function zi(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,o=void 0===i?[]:i;return"string"==typeof e?Ai(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Ai(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(zi).join(""),"</").concat(t,">")}function Fi(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}Yr&&((Li=(Wr.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Wr.readyState))||Wr.addEventListener("DOMContentLoaded",(function e(){Wr.removeEventListener("DOMContentLoaded",e),Li=1,Bi.map((function(e){return e()}))})));var Gi=function(e,t,n,r){var i,o,a,s=Object.keys(e),c=s.length,u=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,a=e[s[0]]):(i=0,a=n);i<c;i++)a=u(a,e[o=s[i]],o,e);return a};function Hi(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e);return 1===t.length?t[0].toString(16):null}function Vi(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 Wi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,i=void 0!==r&&r,o=Vi(t);"function"!=typeof ji.hooks.addPack||i?ji.styles[e]=Or(Or({},ji.styles[e]||{}),o):ji.hooks.addPack(e,Vi(t)),"fas"===e&&Wi("fa",t)}var Zi=ji.styles,$i=ji.shims,Yi=Object.values(ai),qi=null,Xi={},Ji={},Ki={},Qi={},eo={},to=Object.keys(ii);function no(e,t){var n,r=t.split("-"),i=r[0],o=r.slice(1).join("-");return i!==e||""===o||(n=o,~vi.indexOf(n))?null:o}var ro,io=function(){var e=function(e){return Gi(Zi,(function(t,n,r){return t[r]=Gi(n,e,{}),t}),{})};Xi=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})),Ji=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})),eo=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 Zi||_i.autoFetchSvg,n=Gi($i,(function(e,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||t||(i="fas"),"string"==typeof r&&(e.names[r]={prefix:i,iconName:o}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:i,iconName:o}),e}),{names:{},unicodes:{}});Ki=n.names,Qi=n.unicodes,qi=uo(_i.styleDefault)};function oo(e,t){return(Xi[e]||{})[t]}function ao(e,t){return(eo[e]||{})[t]}function so(e){return Ki[e]||{prefix:null,iconName:null}}function co(){return qi}function uo(e){var t=oi[e]||oi[ii[e]],n=e in ji.styles?e:null;return t||n||null}function lo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.skipLookups,r=void 0!==n&&n,i=null,o=e.reduce((function(e,t){var n=no(_i.familyPrefix,t);if(Zi[t]?(t=Yi.includes(t)?si[t]:t,i=t,e.prefix=t):to.indexOf(t)>-1?(i=t,e.prefix=uo(t)):n?e.iconName=n:t!==_i.replacementClass&&e.rest.push(t),!r&&e.prefix&&e.iconName){var o="fa"===i?so(e.iconName):{},a=ao(e.prefix,e.iconName);o.prefix&&(i=null),e.iconName=o.iconName||a||e.iconName,e.prefix=o.prefix||e.prefix,"far"!==e.prefix||Zi.far||!Zi.fas||_i.autoFetchSvg||(e.prefix="fas")}return e}),{prefix:null,iconName:null,rest:[]});return"fa"!==o.prefix&&"fa"!==i||(o.prefix=co()||"fas"),o}ro=function(e){qi=uo(e.styleDefault)},Ci.push(ro),io();var fo=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 i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(t){e.definitions[t]=Or(Or({},e.definitions[t]||{}),i[t]),Wi(t,i[t]);var n=ai[t];n&&Wi(n,i[t]),io()}))}},{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],i=r.prefix,o=r.iconName,a=r.icon,s=a[2];e[i]||(e[i]={}),s.length>0&&s.forEach((function(t){"string"==typeof t&&(e[i][t]=a)})),e[i][o]=a})),e}}],n&&Nr(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),ho=[],mo={},po={},go=Object.keys(po);function wo(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=mo[e]||[];return o.forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function vo(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 i=mo[e]||[];i.forEach((function(e){e.apply(null,n)}))}function yo(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return po[e]?po[e].apply(null,t):void 0}function bo(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||co();if(t)return t=ao(n,t)||t,Fi(_o.definitions,n,t)||Fi(ji.styles,n,t)}var _o=new fo,Co={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Yr?(vo("beforeI2svg",e),yo("pseudoElements2svg",e),yo("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===_i.autoReplaceSvg&&(_i.autoReplaceSvg=!0),_i.observeMutations=!0,Ui((function(){ko({autoReplaceSvgRoot:t}),vo("watch",e)}))}},xo={noAuto:function(){_i.autoReplaceSvg=!1,_i.observeMutations=!1,vo("noAuto")},config:_i,dom:Co,parse:{icon:function(e){if(null===e)return null;if("object"===Tr(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:ao(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=uo(e[0]);return{prefix:n,iconName:ao(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(_i.familyPrefix,"-"))>-1||e.match(ci))){var r=lo(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||co(),iconName:ao(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var i=co();return{prefix:i,iconName:ao(i,e)||e}}}},library:_o,findIconDefinition:bo,toHtml:zi},ko=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot,n=void 0===t?Wr:t;(Object.keys(ji.styles).length>0||_i.autoFetchSvg)&&Yr&&_i.autoReplaceSvg&&xo.dom.i2svg({node:n})};function So(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return zi(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(Yr){var t=Wr.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Io(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,o=e.iconName,a=e.transform,s=e.symbol,c=e.title,u=e.maskId,l=e.titleId,f=e.extra,d=e.watchable,h=void 0!==d&&d,m=r.found?r:n,p=m.width,g=m.height,w="fak"===i,v=[_i.replacementClass,o?"".concat(_i.familyPrefix,"-").concat(o):""].filter((function(e){return-1===f.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(f.classes).join(" "),y={children:[],attributes:Or(Or({},f.attributes),{},{"data-prefix":i,"data-icon":o,class:v,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(g)})},b=w&&!~f.classes.indexOf("fa-fw")?{width:"".concat(p/g*16*.0625,"em")}:{};h&&(y.attributes[Jr]=""),c&&(y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(l||Si())},children:[c]}),delete y.attributes.title);var _=Or(Or({},y),{},{prefix:i,iconName:o,main:n,mask:r,maskId:u,transform:a,symbol:s,styles:Or(Or({},b),f.styles)}),C=r.found&&n.found?yo("generateAbstractMask",_)||{children:[],attributes:{}}:yo("generateAbstractIcon",_)||{children:[],attributes:{}},x=C.children,k=C.attributes;return _.children=x,_.attributes=k,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,o=e.symbol,a=!0===o?"".concat(t,"-").concat(_i.familyPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Or(Or({},i),{},{id:a}),children:r}]}]}(_):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(Ti(a)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};i.style=Oi(Or(Or({},o),{},{"transform-origin":"".concat(s.x+a.x/16,"em ").concat(s.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(_)}function Eo(e){var t=e.content,n=e.width,r=e.height,i=e.transform,o=e.title,a=e.extra,s=e.watchable,c=void 0!==s&&s,u=Or(Or(Or({},a.attributes),o?{title:o}:{}),{},{class:a.classes.join(" ")});c&&(u[Jr]="");var l=Or({},a.styles);Ti(i)&&(l.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,i=e.height,o=void 0===i?16:i,a=e.startCentered,s=void 0!==a&&a,c="";return c+=s&&qr?"translate(".concat(t.x/xi-r/2,"em, ").concat(t.y/xi-o/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/xi,"em), calc(-50% + ").concat(t.y/xi,"em)) "):"translate(".concat(t.x/xi,"em, ").concat(t.y/xi,"em) "),(c+="scale(".concat(t.size/xi*(t.flipX?-1:1),", ").concat(t.size/xi*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:i,startCentered:!0,width:n,height:r}),l["-webkit-transform"]=l.transform);var f=Oi(l);f.length>0&&(u.style=f);var d=[];return d.push({tag:"span",attributes:u,children:[t]}),o&&d.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),d}function Ao(e){var t=e.content,n=e.title,r=e.extra,i=Or(Or(Or({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),o=Oi(r.styles);o.length>0&&(i.style=o);var a=[];return a.push({tag:"span",attributes:i,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}var Oo=ji.styles;function To(e){var t=e[0],n=e[1],r=Pr(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(_i.familyPrefix,"-").concat(pi)},children:[{tag:"path",attributes:{class:"".concat(_i.familyPrefix,"-").concat(wi),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(_i.familyPrefix,"-").concat(gi),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var No={found:!1,width:512,height:512};function Mo(e,t){var n=t;return"fa"===t&&null!==_i.styleDefault&&(t=co()),new Promise((function(r,i){if(yo("missingIconAbstract"),"fa"===n){var o=so(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&Oo[t]&&Oo[t][e])return r(To(Oo[t][e]));!function(e,t){ri||_i.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(Or(Or({},No),{},{icon:_i.showMissingIcons&&e&&yo("missingIconAbstract")||{}}))}))}var Po=function(){},Do=_i.measurePerformance&&$r&&$r.mark&&$r.measure?$r:{mark:Po,measure:Po},Ro='FA "6.1.2"',jo=function(e){return Do.mark("".concat(Ro," ").concat(e," begins")),function(){return function(e){Do.mark("".concat(Ro," ").concat(e," ends")),Do.measure("".concat(Ro," ").concat(e),"".concat(Ro," ").concat(e," begins"),"".concat(Ro," ").concat(e," ends"))}(e)}},Bo=function(){};function Lo(e){return"string"==typeof(e.getAttribute?e.getAttribute(Jr):null)}function Uo(e){return Wr.createElementNS("http://www.w3.org/2000/svg",e)}function zo(e){return Wr.createElement(e)}function Fo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.ceFn,r=void 0===n?"svg"===e.tag?Uo:zo:n;if("string"==typeof e)return Wr.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach((function(t){i.setAttribute(t,e.attributes[t])}));var o=e.children||[];return o.forEach((function(e){i.appendChild(Fo(e,{ceFn:r}))})),i}var Go={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(Fo(e),t)})),null===t.getAttribute(Jr)&&_i.keepOriginalSource){var n=Wr.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(~Ei(t).indexOf(_i.replacementClass))return Go.replace(e);var r=new RegExp("".concat(_i.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce((function(e,t){return t===_i.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}var o=n.map((function(e){return zi(e)})).join("\n");t.setAttribute(Jr,""),t.innerHTML=o}};function Ho(e){e()}function Vo(e,t){var n="function"==typeof t?t:Bo;if(0===e.length)n();else{var r=Ho;"async"===_i.mutateApproach&&(r=Vr.requestAnimationFrame||Ho),r((function(){var t=!0===_i.autoReplaceSvg?Go.replace:Go[_i.autoReplaceSvg]||Go.replace,r=jo("mutate");e.map(t),r(),n()}))}}var Wo=!1;function Zo(){Wo=!0}function $o(){Wo=!1}var Yo=null;function qo(e){if(Zr&&_i.observeMutations){var t=e.treeCallback,n=void 0===t?Bo:t,r=e.nodeCallback,i=void 0===r?Bo:r,o=e.pseudoElementsCallback,a=void 0===o?Bo:o,s=e.observeMutationsRoot,c=void 0===s?Wr:s;Yo=new Zr((function(e){if(!Wo){var t=co();Ii(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Lo(e.addedNodes[0])&&(_i.searchPseudoElements&&a(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&_i.searchPseudoElements&&a(e.target.parentNode),"attributes"===e.type&&Lo(e.target)&&~mi.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(Qr):null,n=e.getAttribute?e.getAttribute(ei):null;return t&&n}(e.target)){var r=lo(Ei(e.target)),o=r.prefix,s=r.iconName;e.target.setAttribute(Qr,o||t),s&&e.target.setAttribute(ei,s)}else(c=e.target)&&c.classList&&c.classList.contains&&c.classList.contains(_i.replacementClass)&&i(e.target);var c}))}})),Yr&&Yo.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Xo(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],i=n.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e}),{})),n}function Jo(e){var t,n,r=e.getAttribute("data-prefix"),i=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",a=lo(Ei(e));return a.prefix||(a.prefix=co()),r&&i&&(a.prefix=r,a.iconName=i),a.iconName&&a.prefix||(a.prefix&&o.length>0&&(a.iconName=(t=a.prefix,n=e.innerText,(Ji[t]||{})[n]||oo(a.prefix,Hi(e.innerText)))),!a.iconName&&_i.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function Ko(e){var t=Ii(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 _i.autoA11y&&(n?t["aria-labelledby"]="".concat(_i.replacementClass,"-title-").concat(r||Si()):(t["aria-hidden"]="true",t.focusable="false")),t}function Qo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Jo(e),r=n.iconName,i=n.prefix,o=n.rest,a=Ko(e),s=wo("parseNodeAttributes",{},e),c=t.styleParser?Xo(e):[];return Or({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:ki,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:c,attributes:a}},s)}var ea=ji.styles;function ta(e){var t="nest"===_i.autoReplaceSvg?Qo(e,{styleParser:!1}):Qo(e);return~t.extra.classes.indexOf(ui)?yo("generateLayersText",e,t):yo("generateSvgReplacementMutation",e,t)}function na(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Yr)return Promise.resolve();var n=Wr.documentElement.classList,r=function(e){return n.add("".concat(ti,"-").concat(e))},i=function(e){return n.remove("".concat(ti,"-").concat(e))},o=_i.autoFetchSvg?Object.keys(ii):Object.keys(ea);o.includes("fa")||o.push("fa");var a=[".".concat(ui,":not([").concat(Jr,"])")].concat(o.map((function(e){return".".concat(e,":not([").concat(Jr,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=Ii(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),i("complete");var c=jo("onTree"),u=s.reduce((function(e,t){try{var n=ta(t);n&&e.push(n)}catch(e){ri||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(u).then((function(n){Vo(n,(function(){r("active"),r("complete"),i("pending"),"function"==typeof t&&t(),c(),e()}))})).catch((function(e){c(),n(e)}))}))}function ra(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;ta(e).then((function(e){e&&Vo([e],t)}))}var ia=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?ki:n,i=t.symbol,o=void 0!==i&&i,a=t.mask,s=void 0===a?null:a,c=t.maskId,u=void 0===c?null:c,l=t.title,f=void 0===l?null:l,d=t.titleId,h=void 0===d?null:d,m=t.classes,p=void 0===m?[]:m,g=t.attributes,w=void 0===g?{}:g,v=t.styles,y=void 0===v?{}:v;if(e){var b=e.prefix,_=e.iconName,C=e.icon;return So(Or({type:"icon"},e),(function(){return vo("beforeDOMElementCreation",{iconDefinition:e,params:t}),_i.autoA11y&&(f?w["aria-labelledby"]="".concat(_i.replacementClass,"-title-").concat(h||Si()):(w["aria-hidden"]="true",w.focusable="false")),Io({icons:{main:To(C),mask:s?To(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:b,iconName:_,transform:Or(Or({},ki),r),symbol:o,title:f,maskId:u,titleId:h,extra:{attributes:w,styles:y,classes:p}})}))}},oa={mixout:function(){return{icon:(e=ia,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:bo(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:bo(i||{})),e(r,Or(Or({},n),{},{mask:i}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=na,e.nodeCallback=ra,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?Wr:t,r=e.callback;return na(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,i=t.titleId,o=t.prefix,a=t.transform,s=t.symbol,c=t.mask,u=t.maskId,l=t.extra;return new Promise((function(t,f){Promise.all([Mo(n,o),c.iconName?Mo(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(c){var f=Pr(c,2),d=f[0],h=f[1];t([e,Io({icons:{main:d,mask:h},prefix:o,iconName:n,transform:a,symbol:s,maskId:u,title:r,titleId:i,extra:l,watchable:!0})])})).catch(f)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.transform,a=Oi(e.styles);return a.length>0&&(r.style=a),Ti(o)&&(t=yo("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),n.push(t||i.icon),{children:n,attributes:r}}}},aa={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 So({type:"layer"},(function(){vo("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(_i.familyPrefix,"-layers")].concat(Dr(r)).join(" ")},children:n}]}))}}}},sa={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,i=t.classes,o=void 0===i?[]:i,a=t.attributes,s=void 0===a?{}:a,c=t.styles,u=void 0===c?{}:c;return So({type:"counter",content:e},(function(){return vo("beforeDOMElementCreation",{content:e,params:t}),Ao({content:e.toString(),title:r,extra:{attributes:s,styles:u,classes:["".concat(_i.familyPrefix,"-layers-counter")].concat(Dr(o))}})}))}}}},ca={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?ki:n,i=t.title,o=void 0===i?null:i,a=t.classes,s=void 0===a?[]:a,c=t.attributes,u=void 0===c?{}:c,l=t.styles,f=void 0===l?{}:l;return So({type:"text",content:e},(function(){return vo("beforeDOMElementCreation",{content:e,params:t}),Eo({content:e,transform:Or(Or({},ki),r),title:o,extra:{attributes:u,styles:f,classes:["".concat(_i.familyPrefix,"-layers-text")].concat(Dr(s))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,i=t.extra,o=null,a=null;if(qr){var s=parseInt(getComputedStyle(e).fontSize,10),c=e.getBoundingClientRect();o=c.width/s,a=c.height/s}return _i.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,Eo({content:e.innerHTML,width:o,height:a,transform:r,title:n,extra:i,watchable:!0})])}}},ua=new RegExp('"',"ug"),la=[1105920,1112319];function fa(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise((function(r,i){if(null!==e.getAttribute(n))return r();var o,a,s,c=Ii(e.children).filter((function(e){return e.getAttribute(Kr)===t}))[0],u=Vr.getComputedStyle(e,t),l=u.getPropertyValue("font-family").match(li),f=u.getPropertyValue("font-weight"),d=u.getPropertyValue("content");if(c&&!l)return e.removeChild(c),r();if(l&&"none"!==d&&""!==d){var h=u.getPropertyValue("content"),m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?oi[l[2].toLowerCase()]:fi[f],p=function(e){var t=e.replace(ua,""),n=function(e,t){var n,r=e.length,i=e.charCodeAt(0);return i>=55296&&i<=56319&&r>1&&(n=e.charCodeAt(1))>=56320&&n<=57343?1024*(i-55296)+n-56320+65536:i}(t),r=n>=la[0]&&n<=la[1],i=2===t.length&&t[0]===t[1];return{value:Hi(i?t[0]:t),isSecondary:r||i}}(h),g=p.value,w=p.isSecondary,v=l[0].startsWith("FontAwesome"),y=oo(m,g),b=y;if(v){var _=(a=Qi[o=g],s=oo("fas",o),a||(s?{prefix:"fas",iconName:s}:null)||{prefix:null,iconName:null});_.iconName&&_.prefix&&(y=_.iconName,m=_.prefix)}if(!y||w||c&&c.getAttribute(Qr)===m&&c.getAttribute(ei)===b)r();else{e.setAttribute(n,b),c&&e.removeChild(c);var C={iconName:null,title:null,titleId:null,prefix:null,transform:ki,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},x=C.extra;x.attributes[Kr]=t,Mo(y,m).then((function(i){var o=Io(Or(Or({},C),{},{icons:{main:i,mask:{prefix:null,iconName:null,rest:[]}},prefix:m,iconName:b,extra:x,watchable:!0})),a=Wr.createElement("svg");"::before"===t?e.insertBefore(a,e.firstChild):e.appendChild(a),a.outerHTML=o.map((function(e){return zi(e)})).join("\n"),e.removeAttribute(n),r()})).catch(i)}}else r()}))}function da(e){return Promise.all([fa(e,"::before"),fa(e,"::after")])}function ha(e){return!(e.parentNode===document.head||~ni.indexOf(e.tagName.toUpperCase())||e.getAttribute(Kr)||e.parentNode&&"svg"===e.parentNode.tagName)}function ma(e){if(Yr)return new Promise((function(t,n){var r=Ii(e.querySelectorAll("*")).filter(ha).map(da),i=jo("searchPseudoElements");Zo(),Promise.all(r).then((function(){i(),$o(),t()})).catch((function(){i(),$o(),n()}))}))}var pa=!1,ga=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},wa={mixout:function(){return{parse:{transform:function(e){return ga(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=ga(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,i=e.iconWidth,o={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),") "),c="rotate(".concat(n.rotate," 0 0)"),u={outer:o,inner:{transform:"".concat(a," ").concat(s," ").concat(c)},path:{transform:"translate(".concat(i/2*-1," -256)")}};return{tag:"g",attributes:Or({},u.outer),children:[{tag:"g",attributes:Or({},u.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:Or(Or({},t.icon.attributes),u.path)}]}]}}}},va={x:0,y:0,width:"100%",height:"100%"};function ya(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 ba,_a={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?lo(n.split(" ").map((function(e){return e.trim()}))):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=co()),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,i=e.main,o=e.mask,a=e.maskId,s=e.transform,c=i.width,u=i.icon,l=o.width,f=o.icon,d=function(e){var t=e.transform,n=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="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(i," ").concat(o," ").concat(a)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:s,containerWidth:l,iconWidth:c}),h={tag:"rect",attributes:Or(Or({},va),{},{fill:"white"})},m=u.children?{children:u.children.map(ya)}:{},p={tag:"g",attributes:Or({},d.inner),children:[ya(Or({tag:u.tag,attributes:Or(Or({},u.attributes),d.path)},m))]},g={tag:"g",attributes:Or({},d.outer),children:[p]},w="mask-".concat(a||Si()),v="clip-".concat(a||Si()),y={tag:"mask",attributes:Or(Or({},va),{},{id:w,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,g]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(t=f,"g"===t.tag?t.children:[t])},y]};return n.push(b,{tag:"rect",attributes:Or({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(w,")")},va)}),{children:n,attributes:r}}}},Ca={provides:function(e){var t=!1;Vr.matchMedia&&(t=Vr.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:Or(Or({},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 i=Or(Or({},r),{},{attributeName:"opacity"}),o={tag:"circle",attributes:Or(Or({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:Or(Or({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Or(Or({},i),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:Or(Or({},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:Or(Or({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:Or(Or({},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:Or(Or({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},xa=[Di,oa,aa,sa,ca,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=ma,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?Wr:t;_i.searchPseudoElements&&ma(n)}}},{mixout:function(){return{dom:{unwatch:function(){Zo(),pa=!0}}}},hooks:function(){return{bootstrap:function(){qo(wo("mutationObserverCallbacks",{}))},noAuto:function(){Yo&&Yo.disconnect()},watch:function(e){var t=e.observeMutationsRoot;pa?$o():qo(wo("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},wa,_a,Ca,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}];ba={mixoutsTo:xo}.mixoutsTo,ho=xa,mo={},Object.keys(po).forEach((function(e){-1===go.indexOf(e)&&delete po[e]})),ho.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(ba[e]=t[e]),"object"===Tr(t[e])&&Object.keys(t[e]).forEach((function(n){ba[e]||(ba[e]={}),ba[e][n]=t[e][n]}))})),e.hooks){var n=e.hooks();Object.keys(n).forEach((function(e){mo[e]||(mo[e]=[]),mo[e].push(n[e])}))}e.provides&&e.provides(po)}));var ka=xo.parse,Sa=xo.icon,Ia=n(697),Ea=n.n(Ia);function Aa(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 Oa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Aa(Object(n),!0).forEach((function(t){Na(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Aa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ta(e){return Ta="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},Ta(e)}function Na(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ma(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Pa(e){return function(e){if(Array.isArray(e))return Da(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 Da(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)?Da(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 Da(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 Ra(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 ja=["style"];function Ba(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=Ra(t.slice(0,r)),o=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=o:e[i]=o,e}),{})}var La=!1;try{La=!0}catch(c){}function Ua(e){return e&&"object"===Ta(e)&&e.prefix&&e.iconName&&e.icon?e:ka.icon?ka.icon(e):null===e?null:e&&"object"===Ta(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 za(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Na({},e,t):{}}var Fa=Le.forwardRef((function(e,t){var n=e.icon,r=e.mask,i=e.symbol,o=e.className,a=e.title,s=e.titleId,c=e.maskId,u=Ua(n),l=za("classes",[].concat(Pa(function(e){var t,n=e.beat,r=e.fade,i=e.beatFade,o=e.bounce,a=e.shake,s=e.flash,c=e.spin,u=e.spinPulse,l=e.spinReverse,f=e.pulse,d=e.fixedWidth,h=e.inverse,m=e.border,p=e.listItem,g=e.flip,w=e.size,v=e.rotation,y=e.pull,b=(Na(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":o,"fa-shake":a,"fa-flash":s,"fa-spin":c,"fa-spin-reverse":l,"fa-spin-pulse":u,"fa-pulse":f,"fa-fw":d,"fa-inverse":h,"fa-border":m,"fa-li":p,"fa-flip":!0===g,"fa-flip-horizontal":"horizontal"===g||"both"===g,"fa-flip-vertical":"vertical"===g||"both"===g},"fa-".concat(w),null!=w),Na(t,"fa-rotate-".concat(v),null!=v&&0!==v),Na(t,"fa-pull-".concat(y),null!=y),Na(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)),Pa(o.split(" ")))),f=za("transform","string"==typeof e.transform?ka.transform(e.transform):e.transform),d=za("mask",Ua(r)),h=Sa(u,Oa(Oa(Oa(Oa({},l),f),d),{},{symbol:i,title:a,titleId:s,maskId:c}));if(!h)return function(){var e;!La&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var m=h.abstract,p={ref:t};return Object.keys(e).forEach((function(t){Fa.defaultProps.hasOwnProperty(t)||(p[t]=e[t])})),Ga(m[0],p)}));Fa.displayName="FontAwesomeIcon",Fa.propTypes={beat:Ea().bool,border:Ea().bool,beatFade:Ea().bool,bounce:Ea().bool,className:Ea().string,fade:Ea().bool,flash:Ea().bool,mask:Ea().oneOfType([Ea().object,Ea().array,Ea().string]),maskId:Ea().string,fixedWidth:Ea().bool,inverse:Ea().bool,flip:Ea().oneOf([!0,!1,"horizontal","vertical","both"]),icon:Ea().oneOfType([Ea().object,Ea().array,Ea().string]),listItem:Ea().bool,pull:Ea().oneOf(["right","left"]),pulse:Ea().bool,rotation:Ea().oneOf([0,90,180,270]),shake:Ea().bool,size:Ea().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Ea().bool,spinPulse:Ea().bool,spinReverse:Ea().bool,symbol:Ea().oneOfType([Ea().bool,Ea().string]),title:Ea().string,titleId:Ea().string,transform:Ea().oneOfType([Ea().string,Ea().object]),swapOpacity:Ea().bool},Fa.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 Ga=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var i=(n.children||[]).map((function(n){return e(t,n)})),o=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=Ba(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Ra(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,c=Ma(r,ja);return o.attrs.style=Oa(Oa({},o.attrs.style),s),t.apply(void 0,[n.tag,Oa(Oa({},o.attrs),c)].concat(Pa(i)))}.bind(null,Le.createElement),Ha={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM232 152C232 138.8 242.8 128 256 128s24 10.75 24 24v128c0 13.25-10.75 24-24 24S232 293.3 232 280V152zM256 400c-17.36 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 385.9 273.4 400 256 400z"]},Va={prefix:"fas",iconName:"shield-halved",icon:[512,512,["shield-alt"],"f3ed","M256-.0078C260.7-.0081 265.2 1.008 269.4 2.913L457.7 82.79C479.7 92.12 496.2 113.8 496 139.1C495.5 239.2 454.7 420.7 282.4 503.2C265.7 511.1 246.3 511.1 229.6 503.2C57.25 420.7 16.49 239.2 15.1 139.1C15.87 113.8 32.32 92.12 54.3 82.79L242.7 2.913C246.8 1.008 251.4-.0081 256-.0078V-.0078zM256 444.8C393.1 378 431.1 230.1 432 141.4L256 66.77L256 444.8z"]};function Wa(e,t){return d(Fa,e,...t)}const Za=Wa({icon:{prefix:"fas",iconName:"chevron-left",icon:[320,512,[9001],"f053","M224 480c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25l192-192c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25L77.25 256l169.4 169.4c12.5 12.5 12.5 32.75 0 45.25C240.4 476.9 232.2 480 224 480z"]}},[]),$a=Wa({icon:Va,size:"5x"},[]),Ya=Wa({icon:Ha,size:"5x"},[]);class qa{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 Xa extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Xa.prototype)}}class Ja{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>Ja.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function Ka(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new Xa);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack((()=>{try{e(t)}catch(e){t.onError(Zt(e))}}));else try{e(t)}catch(e){t.onError(Zt(e))}}}const Qa=new class{Bind(e,t){return function(e,t){return Ka((n=>{e({onSuccess:e=>{try{t(e)(n)}catch(e){n.onError(Zt(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 Ka((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 Ka((t=>t.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,t){return Ka((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 Ka((n=>{e({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:e=>{try{t(e)(n)}catch(e){n.onError(Zt(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 Ka((e=>e.onSuccess(void 0)))}};class es extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Ok","Error"]}}function ts(e,t){return 0===t.tag?new es(0,e(t.fields[0])):new es(1,t.fields[0])}function ns(e,t){return 0===t.tag?e(t.fields[0]):new es(1,t.fields[0])}class rs extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of2","Choice2Of2"]}}class is extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of3","Choice2Of3","Choice3Of3"]}}function os(e){}function as(e){const t=new qa("boolean"==typeof e&&e);return"number"==typeof e&&setTimeout((()=>{t.cancel()}),e),t}function ss(e){e.cancel()}const cs=new qa;function us(e){return Ka((t=>{let n;const r=setTimeout((()=>{t.cancelToken.removeListener(n),t.onSuccess(void 0)}),e);n=t.cancelToken.addListener((()=>{clearTimeout(r),t.onCancel(new Xa)}))}))}function ls(e,t){return function(e,t){return function(e,t,n,r,i){"function"!=typeof t&&(i=t,t=void 0);const o=new Ja;e({onSuccess:t||os,onError:n||os,onCancel:r||os,cancelToken:i||cs,trampoline:o})}(e,t)}(e,t)}const fs=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 ds{constructor(e,t,n){this.OnNext=e,this.OnError=t||(e=>{}),this.OnCompleted=n||(()=>{})}}function hs(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 fs}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 ds(e))}(t,n.Elapsed()),n.Enabled=!0,n.Start()}function ms(e,t,n){$n((n=>{try{n(t)}catch(t){e(t)}}),n)}function ps(){return Bn()}function gs(e,t){return Jn((t=>n=>{t((t=>{n(e(t))}))}),t)}function ws(e){return function(e){const t=Nn();let n=t;const r=e=>{n=Wn(((e,t)=>{const n=new On(t,void 0);return e.tail=n,n}),n,e)};if(Ue(e))e.forEach(r);else if(e instanceof On)$n(r,e);else{const t=We(e);try{for(;t["System.Collections.IEnumerator.MoveNext"]();)r(t["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{Ge(t)}}const i=n,o=Nn();return i.tail=o,jn(t)}(e)}function vs(e){return Un(e)}function ys(e){return Un((t=>{t(e)}))}function bs(e,t,n,r,i){return Un((o=>{e(Qa.Delay((()=>{return Qa.Bind((e=t(n),Ka((t=>{e({onSuccess:e=>t.onSuccess(function(e){return new rs(0,e)}(e)),onError:e=>t.onSuccess(function(e){return new rs(1,e)}(e)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})}))),(e=>{const t=e;return o(1===t.tag?i(t.fields[0]):r(t.fields[0])),Qa.Zero()}));var e})))}))}function _s(e){hs(0,(t=>{ls(e)}))}function Cs(e,t,n,r,i){const o=function(e,t,n,r){const i=0|ut(e,n);if(0===i)throw new Error("The step of a range cannot be zero");const o=i>0;return n=>{const i=0|ut(n,t);return o&&i<=0||!o&&i>=0?[n,r(n,e)]:void 0}}(t,n,r,i);return dr((()=>{return t=o,n=e,lr((()=>function(e,t){let n,r=t;return cr((()=>{if(null!=n){const e=n[0];return n[1],e}return ir()}),(()=>{if(n=e(r),null!=n){n[0];const e=n[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}class xs extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class ks{constructor(e){this.state=new xs(0,Sn(new Array(lt(st,e,10)),0,lt(st,e,10),null),0)}}function Ss(e){const t=e.state;if(1===t.tag){const n=0|t.fields[1],r=0|t.fields[2],i=t.fields[0],o=(r+1)%i.length|0;return e.state=o===n?new xs(0,i,n):new xs(1,i,n,o),wn(i[r])}}class Is extends Ht{constructor(e,t,n,r,i,o,a){super(),this.init=e,this.update=t,this.subscribe=n,this.view=r,this.setState=i,this.onError=o,this.syncDispatch=a}}function Es(e,t,n){return new Is(e,t,(e=>ps()),n,ht(2,(e=>{const t=gt(1,n,[e]);return e=>{t(e)}})),(e=>{var t,n;t=e[0],n=e[1],console.error(wn(t),n)}),ht(2,(e=>e)))}function As(e,t){return new Is(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}function Os(e,t){const n=t.init(e),r=n[0],i=new ks(10);let o=!1,a=r;const s=gt(1,t.syncDispatch,[e=>{if(o)!function(e,t){const n=e.state;if(1===n.tag){const o=0|n.fields[1],a=0|n.fields[2],s=n.fields[0];s[o]=t;const c=(o+1)%s.length|0;e.state=c===a?new xs(1,(r=a,i=s,Array.from(dr((()=>yr(Ir(r,i),dr((()=>{return yr((e=r,t=i,vr((()=>fr(t)),((t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return wn(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(rr+"\\nParameter name: source")}}),(e=>{Ge(e)}))),dr((()=>{return t=e=>pr(null),e=i.length,n=Cs(0,1,e,0,((e,t)=>e+t)),dr((()=>hr(xr(t,n))));var e,t,n})));var e,t}))))))),s.length,0):new xs(1,s,c,a)}else{const r=0|n.fields[1],i=n.fields[0];i[r]=t;const o=(r+1)%i.length|0;e.state=new xs(1,i,o,r)}var r,i}(i,e);else{o=!0;let n=wn(e);for(;null!=n;){const e=vn(n);try{const n=t.update(e,a),r=n[0];t.setState(r,s),ms((n=>{t.onError([rn(en("Error in command while handling: %A"))(e),n])}),s,n[1]),a=r}catch(n){t.onError([rn(en("Unable to process the message: %A"))(e),n])}n=Ss(i)}o=!1}}]);t.setState(r,s),ms((e=>{t.onError(["Error intitializing:",e])}),s,ws(qn([(()=>{try{return t.subscribe(r)}catch(e){return t.onError(["Unable to subscribe:",e]),ps()}})(),n[1]])))}const Ts=(e,t)=>{K((()=>{const t=e();return()=>{t.Dispose()}}),t)};function Ns(e){return{Dispose(){e()}}}function Ms(e){return Er.useState(e)}function Ps(e,t){Ts(e,t)}function Ds(e){js(e,[])}function Rs(e){Ps(e,[])}function js(e,t){Ts((t=>(e(),Ns((()=>{})))),t)}function Bs(e){return Er.useRef(e)}function Ls(e){const t=Bs(e),n=function(e,n){const r=_n([],[]);return Er.useCallback((e=>t.current(e)),r)}();var r,i;return r=()=>{t.current=e},i=e=>(r(),Ns((()=>{}))),Q((()=>{const e=i();return()=>{e.Dispose()}})),n}class Us{constructor(){this.hasDisposedOnce=!1,this.state=void 0,this.listener=void 0,this.dispatcher=void 0}}function zs(){return new Us}function Fs(e,t,n,r){Os(t,As(((e,t)=>{!function(e,t,n){e.state=wn(t),e.dispatcher=n;const r=e.listener;null!=r&&r(t)}(n,e,t)}),e()));const i=function(e){return e.state}(n);if(null!=i)return vn(i);throw new Error("Elmish program has not initialized")}function Gs(e,t){return function(e,t,n){const r=Ms(zs)[0],i=Ms((()=>Fs(e,t,r))),o=i[1];return Ps((()=>(function(e){return e.hasDisposedOnce}(r)&&o(Fs(e,t,r)),Ns((()=>{!function(e){const t=e.state;if(null!=t){const e=vn(t);Fe(e)&&Ge(e)}e.dispatcher=void 0,e.state=void 0,e.hasDisposedOnce=!0}(r)})))),_n(n,[])),function(e,t){null==e.listener&&(e.listener=t)}(r,o),[i[0],e=>{!function(e,t){const n=e.dispatcher;null!=n&&n(t)}(r,e)}]}(e,void 0,t)}function Hs(e,t,n){return Gs((()=>Es((()=>e),t,((e,t)=>{}))),n)}class Vs extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function Ws(e,t){switch(t.tag){case 1:return new Vs(1);case 3:return new Vs(3,t.fields[0]);case 2:try{return new Vs(2,e(t.fields[0]))}catch(e){return new Vs(3,e)}default:return new Vs(0)}}function Zs(e,t){const n=function(e){return Er.useState(e)}(new Vs(0)),r=n[1];let i;const o=Bs(as()),a=Bs(o.current);Rs((()=>Ns((()=>{ss(o.current)})))),i=a;const s=Qa.Delay((()=>Qa.TryWith(Qa.Delay((()=>(r(new Vs(1)),Qa.Bind(e,(e=>(r(new Vs(2,e)),Qa.Zero())))))),(e=>(r(new Vs(3,e)),Qa.Zero())))));return js((()=>{ls(s,i.current)}),t),n[0]}function $s(e,t){const n=Bs(as());return Rs((()=>Ns((()=>{ss(n.current)})))),Ls((r=>{var i;null!=(i=n.current)&&i.isCancelled||ls(Qa.Delay((()=>Qa.TryWith(Qa.Delay((()=>(t(new Vs(1)),Qa.Bind(e(r),(e=>(t(new Vs(2,e)),Qa.Zero())))))),(e=>(t(new Vs(3,e)),Qa.Zero()))))),n.current)}))}var Ys=null;try{Ys=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(c){}function qs(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function Xs(e){return!0===(e&&e.__isLong__)}qs.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},qs.prototype.Equals=function(e){return xc(this,e)},qs.prototype.CompareTo=function(e){return Ec(this,e)},qs.prototype.toString=function(e){return yc(this,e)},qs.prototype.toJSON=function(){return yc(this)},qs.prototype[It]=function(){const e=this;return{multiply:t=>Nc(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 yc(e.unsigned?e:function(e,t,n){return n?function(e,t){return new qs(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 qs(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}}},qs.prototype.__isLong__,Object.defineProperty(qs.prototype,"__isLong__",{value:!0});var Js={},Ks={};function Qs(e,t){var n,r,i;return t?(i=0<=(e>>>=0)&&e<256)&&(r=Ks[e])?r:(n=tc(e,(0|e)<0?-1:0,!0),i&&(Ks[e]=n),n):(i=-128<=(e|=0)&&e<128)&&(r=Js[e])?r:(n=tc(e,e<0?-1:0,!1),i&&(Js[e]=n),n)}function ec(e,t){if(isNaN(e))return t?lc:uc;if(t){if(e<0)return lc;if(e>=ac)return pc}else{if(e<=-sc)return gc;if(e+1>=sc)return mc}return e<0?Ac(ec(-e,t)):tc(e%oc|0,e/oc|0,t)}function tc(e,t,n){return new qs(e,t,n)}var nc=Math.pow;function rc(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return uc;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 Ac(rc(e.substring(1),t,n));for(var i=ec(nc(n,8)),o=uc,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),c=parseInt(e.substring(a,a+s),n);o=Oc(s<8?Nc(o,ec(nc(n,s))):o=Nc(o,i),ec(c))}return o.unsigned=t,o}function ic(e,t){return"number"==typeof e?ec(e,t):"string"==typeof e?rc(e,t):tc(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}var oc=4294967296,ac=oc*oc,sc=ac/2,cc=Qs(1<<24),uc=Qs(0),lc=Qs(0,!0),fc=Qs(1),dc=Qs(1,!0),hc=Qs(-1),mc=tc(-1,2147483647,!1),pc=tc(-1,-1,!0),gc=tc(0,-2147483648,!1);function wc(e){return e.unsigned?e.low>>>0:e.low}function vc(e){return e.unsigned?(e.high>>>0)*oc+(e.low>>>0):e.high*oc+(e.low>>>0)}function yc(e,t){if((t=t||10)<2||36<t)throw RangeError("radix");if(bc(e))return"0";if(_c(e)){if(xc(e,gc)){var n=ec(t),r=Mc(e,n),i=Tc(Nc(r,n),e);return yc(r,t)+wc(i).toString(t)}return"-"+yc(Ac(e),t)}for(var o=ec(nc(t,6),e.unsigned),a=e,s="";;){var c=Mc(a,o),u=(wc(Tc(a,Nc(c,o)))>>>0).toString(t);if(bc(a=c))return u+s;for(;u.length<6;)u="0"+u;s=""+u+s}}function bc(e){return 0===e.high&&0===e.low}function _c(e){return!e.unsigned&&e.high<0}function Cc(e){return 1==(1&e.low)}function xc(e,t){return Xs(t)||(t=ic(t)),(e.unsigned===t.unsigned||e.high>>>31!=1||t.high>>>31!=1)&&e.high===t.high&&e.low===t.low}function kc(e,t){return Ec(e,t)<0}function Sc(e,t){return Ec(e,t)>0}function Ic(e,t){return Ec(e,t)>=0}function Ec(e,t){if(Xs(t)||(t=ic(t)),xc(e,t))return 0;var n=_c(e),r=_c(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:_c(Tc(e,t))?-1:1}function Ac(e){return!e.unsigned&&xc(e,gc)?gc:Oc(function(e){return tc(~e.low,~e.high,e.unsigned)}(e),fc)}function Oc(e,t){Xs(t)||(t=ic(t));var n=e.high>>>16,r=65535&e.high,i=e.low>>>16,o=65535&e.low,a=t.high>>>16,s=65535&t.high,c=t.low>>>16,u=0,l=0,f=0,d=0;return f+=(d+=o+(65535&t.low))>>>16,l+=(f+=i+c)>>>16,u+=(l+=r+s)>>>16,u+=n+a,tc((f&=65535)<<16|(d&=65535),(u&=65535)<<16|(l&=65535),e.unsigned)}function Tc(e,t){return Xs(t)||(t=ic(t)),Oc(e,Ac(t))}function Nc(e,t){if(bc(e))return e.unsigned?lc:uc;if(Xs(t)||(t=ic(t)),Ys)return tc(Ys.mul(e.low,e.high,t.low,t.high),Ys.get_high(),e.unsigned);if(bc(t))return e.unsigned?lc:uc;if(xc(e,gc))return Cc(t)?gc:uc;if(xc(t,gc))return Cc(e)?gc:uc;if(_c(e))return _c(t)?Nc(Ac(e),Ac(t)):Ac(Nc(Ac(e),t));if(_c(t))return Ac(Nc(e,Ac(t)));if(kc(e,cc)&&kc(t,cc))return ec(vc(e)*vc(t),e.unsigned);var n=e.high>>>16,r=65535&e.high,i=e.low>>>16,o=65535&e.low,a=t.high>>>16,s=65535&t.high,c=t.low>>>16,u=65535&t.low,l=0,f=0,d=0,h=0;return d+=(h+=o*u)>>>16,f+=(d+=i*u)>>>16,d&=65535,f+=(d+=o*c)>>>16,l+=(f+=r*u)>>>16,f&=65535,l+=(f+=i*c)>>>16,f&=65535,l+=(f+=o*s)>>>16,l+=n*u+r*c+i*s+o*a,tc((d&=65535)<<16|(h&=65535),(l&=65535)<<16|(f&=65535),e.unsigned)}function Mc(e,t){if(Xs(t)||(t=ic(t)),bc(t))throw Error("division by zero");var n,r,i;if(Ys)return e.unsigned||-2147483648!==e.high||-1!==t.low||-1!==t.high?tc((e.unsigned?Ys.div_u:Ys.div_s)(e.low,e.high,t.low,t.high),Ys.get_high(),e.unsigned):e;if(bc(e))return e.unsigned?lc:uc;if(e.unsigned){if(t.unsigned||(t=function(e){return e.unsigned?e:tc(e.low,e.high,!0)}(t)),Sc(t,e))return lc;if(Sc(t,function(e,t){if(Xs(t)&&(t=wc(t)),0==(t&=63))return e;var n=e.high;return t<32?tc(e.low>>>t|n<<32-t,n>>>t,e.unsigned):tc(32===t?n:n>>>t-32,0,e.unsigned)}(e,1)))return dc;i=lc}else{if(xc(e,gc))return xc(t,fc)||xc(t,hc)?gc:xc(t,gc)?fc:xc(n=function(e,t){return Xs(t)&&(t=wc(t)),0==(t&=63)?e:t<32?tc(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):tc(0,e.low<<t-32,e.unsigned)}(Mc(function(e,t){return Xs(t)&&(t=wc(t)),0==(t&=63)?e:t<32?tc(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):tc(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}(e,1),t),1),uc)?_c(t)?fc:hc:i=Oc(n,Mc(r=Tc(e,Nc(t,n)),t));if(xc(t,gc))return e.unsigned?lc:uc;if(_c(e))return _c(t)?Mc(Ac(e),Ac(t)):Ac(Mc(Ac(e),t));if(_c(t))return Ac(Mc(e,Ac(t)));i=uc}for(r=e;Ic(r,t);){n=Math.max(1,Math.floor(vc(r)/vc(t)));for(var o=Math.ceil(Math.log(n)/Math.LN2),a=o<=48?1:nc(2,o-48),s=ec(n),c=Nc(s,t);_c(c)||Sc(c,r);)c=Nc(s=ec(n-=a,e.unsigned),t);bc(s)&&(s=fc),i=Oc(i,s),r=Tc(r,c)}return i}const Pc=Mc,Dc=vc;function Rc(e){return e<0?Math.ceil(e):Math.floor(e)}function jc(e=0,t=0,n=0,r=0,i=0){switch(arguments.length){case 1:return Bc(arguments[0]);case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],i=0}return 864e5*e+36e5*t+6e4*n+1e3*r+i}function Bc(e){return Dc(Pc(e,1e4))}function Lc(e){return jc(0,e,0)}function Uc(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 jc(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,i=0;const o=null!=t[1]&&"-"===t[1]?-1:1,a=+t[4],s=+t[5];if(null!=t[3]&&(n=+t[3]),null!=t[7]&&(i=+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 o*jc(n,a,s,i,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}function zc(e,t){return un(t)?new es(1,rn(en("%s cannot be null or empty"))(e)):new es(0,t)}function Fc(e){const t=function(e){let t;const n=function(e,t){const n=function(e,t,n=0){return e.lastIndex=n,e.exec(t)}(Pt(".*?@(.*)"),t);return null!=n?Hn(wr(dr((()=>xr((e=>e||""),n))))):void 0}(0,e);switch(t=null!=n?zn(n)?1:zn(Hn(n))?0:1:1,t){case 0:return e;case 1:return}}(e);return null!=t?new es(0,t):new es(1,"Email is not in the correct format")}const Gc=e=>({tag:"ok",value:e}),Hc=e=>({tag:"error",error:e});class Vc{constructor(e){this.uri=e}static isAbsoluteUri(e){try{return new URL(e),!0}catch(e){return!1}}static tryCreateWithKind(e,t){switch(t){case 1:return Vc.isAbsoluteUri(e)?Gc(new Vc({original:e,value:new URL(e),kind:t})):Hc("Invalid URI: The format of the URI could not be determined.");case 2:return Vc.isAbsoluteUri(e)?Hc("URI is not a relative path."):Gc(new Vc({original:e,value:e,kind:t}));case 0:return Vc.isAbsoluteUri(e)?Gc(new Vc({original:e,value:new URL(e),kind:1})):Gc(new Vc({original:e,value:e,kind:2}));default:return t}}static tryCreateWithBase(e,t){return 1!==e.uri.kind?Hc("Base URI should have Absolute kind"):"string"==typeof t?Gc(new Vc({original:new URL(t,e.uri.value).toString(),value:new URL(t,e.uri.value),kind:1})):2===t.uri.kind?Gc(new Vc({original:new URL(t.uri.value,e.uri.value).toString(),value:new URL(t.uri.value,e.uri.value),kind:1})):Gc(e)}static tryCreateImpl(e,t=1){return"string"==typeof e?"number"!=typeof t?Hc("Kind must be specified when the baseUri is a string."):Vc.tryCreateWithKind(e,t):"number"==typeof t?Hc("Kind should not be specified when the baseUri is an absolute Uri."):Vc.tryCreateWithBase(e,t)}static create(e,t=1){const n=Vc.tryCreateImpl(e,t);switch(n.tag){case"ok":return n.value;case"error":throw new Error(n.error);default:return n}}static tryCreate(e,t=1,n){const r=Vc.tryCreateImpl(e,t);switch(r.tag){case"ok":return n.contents=r.value,!0;case"error":return!1;default:return r}}toString(){switch(this.uri.kind){case 1:return decodeURIComponent(this.asUrl().toString());case 2:return this.uri.value;default:return this.uri}}asUrl(){switch(this.uri.kind){case 1:return this.uri.value;case 2:throw new Error("This operation is not supported for a relative URI.");default:return this.uri}}get isAbsoluteUri(){return 1===this.uri.kind}get absoluteUri(){return this.asUrl().href}get scheme(){const e=this.asUrl().protocol;return e.slice(0,e.length-1)}get host(){return this.asUrl().host}get absolutePath(){return this.asUrl().pathname}get query(){return this.asUrl().search}get pathAndQuery(){const e=this.asUrl();return e.pathname+e.search}get fragment(){return this.asUrl().hash}get originalString(){return this.uri.original}}class Wc extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SecondFactorCode"]}}function Zc(e){return function(e){return!un(e)&&function(e,t,n=0){return e.lastIndex=n,e.test(t)}(/^(\d{6})$/gu,e)}(e)?new es(0,new Wc(0,e)):new es(1,"Invalid second factor code format.")}class $c extends Ht{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.NumberOfAttempts=0|n,this.DateOfLastAttempt=r}}Lc(5);class Yc extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["InviteCode"]}}function qc(e){return function(e){return!ln(e)}(e)?new es(0,new Yc(0,e)):new es(1,"Invalid invite code format.")}function Xc(e){return e.fields[0]}class Jc extends Ht{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.SecondFactor=n,this.Branding=r}}class Kc extends Ht{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class Qc extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Logo"]}}class eu extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompanyName"]}}class tu extends Ht{constructor(e,t){super(),this.Email=e,this.Phone=t}}class nu extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Email"]}}class ru extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Phone"]}}jc(10,0,0,0),Lc(30);class iu extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Initializing","WaitingForInput","Failed"]}}class ou extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["InitInvite","ActivateInvite","ValidateMfa","ProcessInput","ShowValidation"]}}class au extends Ht{constructor(e,t,n,r,i,o,a){super(),this.InviteToken=e,this.MaskedEmail=t,this.MfaCodeForm=n,this.IsValidationPending=r,this.CanRetry=i,this.Ui=o,this.CssOverrides=a}}function su(e,t){return 0===t.indexOf(e)?t:void 0}function cu(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 uu(e,t){return function(e){return 1===e?e=>{let t,n,r,i,o,a;return t=su("/",e),null!=t?(n=t,"#"+n):(r=su("#/",e),null!=r?(i=r,i):(o=su("#",e),null!=o?(a=o,"#/"+pn(a,1,a.length-1)):"#/"+e))}:e=>{let t,n;return t=su("/",e),null!=t?(n=t,n):"/"+e}}(t)(fn("/",Jn((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function lu(e,t,n){1===t?history.pushState(void 0,"",uu(e,n)):history.replaceState(void 0,"",uu(e,n));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}function fu(e,t){return function(e,t){let n,r;const i=Nn();let o=i,a=t;for(;!Pn(a);){let t=e(Rn(a));for(;!Pn(t);)n=o,r=new On(Rn(t),void 0),n.tail=r,o=r,t=jn(t);a=jn(a)}const s=o,c=Nn();return s.tail=c,jn(i)}((e=>{if(ln(e))return Bn();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+Dt(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return Bn();if(null!=su("?",t))return Un(t);{const e=t.split("?");if(An(((e,t)=>e===t),e,null)||1!==e.length){if(An(((e,t)=>e===t),e,null)||2!==e.length)return Bn();if(""===e[1]){const t=e[0];return Un(decodeURIComponent(t))}{const t=e[0],n=e[1];return qn([decodeURIComponent(t),"?"+n])}}{const t=e[0];return Un(decodeURIComponent(t))}}}}),qn(mn(null!=su("#",e)?pn(e,1,e.length-1):1!==t||null==cu("#",e)&&null==cu("#/",e)?e:"",["/"],null,0)))}const du=function(e,t,n,r){const i=Er.memo(e,ht(2,_n(pt(2,n),null)));return Cr((t=>{e.displayName=t}),bn(t)),e=>{const t=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(r,e);return Er.createElement(i,t)}}((e=>{const t=Ls((t=>{const n=_n(e.onUrlChanged,(e=>{}));!function(e,t,n){t(fu(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(_n(e.hashMode,1),n)}));Rs((()=>(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.addEventListener("hashchange",t):window.addEventListener("popstate",t),window.addEventListener("CUSTOM_NAVIGATION_EVENT",t),Ns((()=>{window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.removeEventListener("hashchange",t):window.removeEventListener("popstate",t),window.removeEventListener("CUSTOM_NAVIGATION_EVENT",t)}))))),Ds((()=>{const e=document.createEvent("CustomEvent");e.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(e)}));const n=e.application;return null==n?null:n}),void 0,void 0,void 0);function hu(e){try{const t=new URLSearchParams(e);return wr(dr((()=>xr((e=>[e[0],e[1]]),t.entries()))))}catch(e){return}}class mu extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Autodev","Test","Prod","Sandbox"]}}const pu=document.getElementById("workflows-app"),gu=pu.getAttribute("data-identity-url"),wu=pu.getAttribute("data-backend-url"),vu=qn(["workflows","app"]),yu=qn(["workflows","embed","v1.0","app"]);class bu extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Embedded","Standalone","Unknown"]}}function _u(e){switch(e.tag){case 0:default:return uu(yu,2);case 1:return uu(vu,2)}}!function(e){const t=qn(mn(e,["."],null,0));let n;switch(n=zn(t)?4:"autodev-partner"===Gn(t)?0:"test-partner"===Gn(t)?1:"partner"===Gn(t)?2:"sandbox-partner"===Gn(t)?3:4,n){case 0:return new es(0,new mu(0));case 1:return new es(0,new mu(1));case 2:return new es(0,new mu(2));case 3:return new es(0,new mu(3));case 4:new es(1,"Invalid environment")}}(Vc.create(wu).host);class Cu extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class xu extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Header"]}}class ku extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Empty","Text","Binary","Form"]}}class Su extends Ht{constructor(e,t,n,r,i,o,a,s){super(),this.url=e,this.method=t,this.headers=n,this.withCredentials=r,this.overridenMimeType=i,this.overridenResponseType=o,this.timeout=a,this.content=s}}class Iu extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Eu extends Ht{constructor(e,t,n,r,i,o){super(),this.statusCode=0|e,this.responseText=t,this.responseType=n,this.responseUrl=r,this.responseHeaders=i,this.content=o}}class Au{constructor(e,t){this.k=e,this.v=t}}function Ou(e,t){return new Au(e,t)}function Tu(e){return e.k}function Nu(e){return e.v}class Mu extends Au{constructor(e,t,n,r,i){super(e,t),this.left=n,this.right=r,this.h=0|i}}function Pu(e,t,n,r,i){return new Mu(e,t,n,r,i)}function Du(e){return e.left}function Ru(e){return e.right}function ju(e){return e.h}function Bu(e,t){e:for(;;){const n=e,r=t;if(null!=r){const i=r;if(i instanceof Mu){e=Bu(n+1,Du(i)),t=Ru(i);continue e}return n+1|0}return 0|n}}function Lu(e){return Bu(0,e)}function Uu(e,t,n,r){let i,o;if(null!=e){const t=e;i=t instanceof Mu?ju(t):1}else i=0;if(null!=r){const e=r;o=e instanceof Mu?ju(e):1}else o=0;const a=0|(i<o?o:i);return 0===a?Ou(t,n):Pu(t,n,e,r,a+1)}function zu(e,t,n,r){let i,o,a,s,c,u;if(null!=e){const t=e;c=t instanceof Mu?ju(t):1}else c=0;if(null!=r){const e=r;u=e instanceof Mu?ju(e):1}else u=0;if(u>c+2){const a=vn(r);if(a instanceof Mu){if(i=Du(a),(null!=i?(o=i,o instanceof Mu?ju(o):1):0)>c+1){const r=vn(Du(a));if(r instanceof Mu)return Uu(Uu(e,t,n,Du(r)),Tu(r),Nu(r),Uu(Ru(r),Tu(a),Nu(a),Ru(a)));throw new Error("internal error: Map.rebalance")}return Uu(Uu(e,t,n,Du(a)),Tu(a),Nu(a),Ru(a))}throw new Error("internal error: Map.rebalance")}if(c>u+2){const i=vn(e);if(i instanceof Mu){if(a=Ru(i),(null!=a?(s=a,s instanceof Mu?ju(s):1):0)>u+1){const e=vn(Ru(i));if(e instanceof Mu)return Uu(Uu(Du(i),Tu(i),Nu(i),Du(e)),Tu(e),Nu(e),Uu(Ru(e),t,n,r));throw new Error("internal error: Map.rebalance")}return Uu(Du(i),Tu(i),Nu(i),Uu(Ru(i),t,n,r))}throw new Error("internal error: Map.rebalance")}return Uu(e,t,n,r)}function Fu(e,t,n,r){if(null!=r){const i=r,o=0|e.Compare(t,Tu(i));return i instanceof Mu?o<0?zu(Fu(e,t,n,Du(i)),Tu(i),Nu(i),Ru(i)):0===o?Pu(t,n,Du(i),Ru(i),ju(i)):zu(Du(i),Tu(i),Nu(i),Fu(e,t,n,Ru(i))):o<0?Pu(t,n,void 0,r,2):0===o?Ou(t,n):Pu(t,n,r,void 0,2)}return Ou(t,n)}function Gu(e,t,n){e:for(;;){const r=e,i=t,o=n;if(null!=o){const a=o,s=0|r.Compare(i,Tu(a));if(0===s)return wn(Nu(a));if(a instanceof Mu){e=r,t=i,n=s<0?Du(a):Ru(a);continue e}return}return}}function Hu(e,t){e:for(;;){const n=e,r=t;if(null!=r){const i=r;if(i instanceof Mu){Hu(n,Du(i)),n(Tu(i),Nu(i)),e=n,t=Ru(i);continue e}n(Tu(i),Nu(i))}break}}function Vu(e,t){Hu(e,t)}function Wu(e,t){if(null!=t){const n=t;if(n instanceof Mu){const t=Wu(e,Du(n)),r=e(Tu(n),Nu(n)),i=Wu(e,Ru(n));return Pu(Tu(n),r,t,i,ju(n))}return Ou(Tu(n),e(Tu(n),Nu(n)))}}function Zu(e,t){return Wu(e,t)}function $u(e,t){let n;for(let r=0;r<=t.length-1;r++){const i=t[r];n=Fu(e,i[0],i[1],n)}return n}class Yu extends Ht{constructor(e,t){super(),this.stack=e,this.started=t}}function qu(e){e:for(;;){const t=e;if(zn(t))return Bn();{const n=Hn(t),r=Gn(t);if(null!=r){const i=r;if(i instanceof Mu){e=Yn([Du(i),Ou(Tu(i),Nu(i)),Ru(i)],n);continue e}return t}e=n;continue e}}}function Xu(e){return new Yu(qu(Un(e)),!1)}function Ju(e){if(e.started){const t=e.stack;if(zn(t))return function(){throw new Error("enumeration already finished")}();if(null!=Gn(t)){const e=Gn(t);if(e instanceof Mu)throw new Error("Please report error: Map iterator, unexpected stack for current");return[Tu(e),Nu(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function Ku(e){let t=Xu(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Ju(t),"System.Collections.IEnumerator.get_Current":()=>Ju(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(zn(t))return!1;if(null!=Gn(t)){if(Gn(t)instanceof Mu)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=qu(Hn(t)),!zn(e.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!zn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=Xu(e)},Dispose(){}}}class Qu{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=We(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=0|t(n,tt(e[0])),n=0|t(n,tt(e[1]))}}finally{Ge(r)}return 0|n}(this)}Equals(e){if(!(e instanceof Qu))return!1;{const t=We(this);try{const n=We(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"](),i=n["System.Collections.Generic.IEnumerator`1.get_Current"]();return!(!ot(r[0],i[0])||!ot(r[1],i[1]))&&e()}return!0}return!1};return e()}finally{Ge(n)}}finally{Ge(t)}}}toString(){return"map ["+fn("; ",xr((e=>cn("({0}, {1})",e[0],e[1])),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(e){return Array.from(this)}GetEnumerator(){return Ku(this.tree)}[Symbol.iterator](){return Ze(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Ku(this.tree)}CompareTo(e){const t=this;if(e instanceof Qu)return 0|function(e,t,n){const r=fr(t);try{const t=fr(n);try{let n=0,i=r["System.Collections.IEnumerator.MoveNext"](),o=t["System.Collections.IEnumerator.MoveNext"]();for(;0===n&&i&&o;)n=0|e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),t["System.Collections.Generic.IEnumerator`1.get_Current"]()),0===n&&(i=r["System.Collections.IEnumerator.MoveNext"](),o=t["System.Collections.IEnumerator.MoveNext"]());return 0|(0!==n?n:i?1:o?-1:0)}finally{Ge(t)}}finally{Ge(r)}}(((e,n)=>{const r=0|t.comparer.Compare(e[0],n[0]);return 0|(0!==r?r:ut(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 il(this,e[0])&&ot(nl(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){!function(e,t,n){let r=n;Vu(((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|rl(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|rl(this)}get size(){return 0|rl(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return xr((e=>[e[0],e[1]]),this)}get(e){return nl(this,e)}has(e){return il(this,e)}keys(){return xr((e=>e[0]),this)}set(e,t){throw new Error("Map cannot be mutated")}values(){return xr((e=>e[1]),this)}forEach(e,t){const n=this;Cr((t=>{e(t[1],t[0],n)}),n)}}function el(e,t){return new Qu(e,t)}function tl(e){const t=xn();return el(t,function(e,t){if(Ue(t))return $u(e,t);if(t instanceof On)return function(e,t){return Wn(((t,n)=>Fu(e,n[0],n[1],t)),void 0,t)}(e,t);{const n=We(t);try{return function(e,t,n){for(;;){const r=e,i=t,o=n;if(!o["System.Collections.IEnumerator.MoveNext"]())return i;{const a=o["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=Fu(r,a[0],a[1],i),n=o}}}(e,void 0,n)}finally{Ge(n)}}}(t,e))}function nl(e,t){return function(e,t,n){const r=Gu(e,t,n);if(null==r)throw new Error;return vn(r)}(e.comparer,t,e.tree)}function rl(e){return Lu(e.tree)}function il(e,t){return function(e,t,n){e:for(;;){const r=e,i=t,o=n;if(null!=o){const a=o,s=0|r.Compare(i,Tu(a));if(a instanceof Mu){if(s<0){e=r,t=i,n=Du(a);continue e}if(0===s)return!0;e=r,t=i,n=Ru(a);continue e}return 0===s}return!1}}(e.comparer,t,e.tree)}function ol(e,t,n){return function(e,t,n){return el(e.comparer,Fu(e.comparer,t,n,e.tree))}(n,e,t)}function al(e,t){return function(e,t){return Gu(e.comparer,t,e.tree)}(t,e)}function sl(e,t){return function(e,t){return el(e.comparer,Zu(t,e.tree))}(t,e)}function cl(){return Qu.empty}function ul(e){return new xu(0,"Content-Type",e)}Qu.empty=el(xn(),void 0);const ll=new Su("",new Cu(0),Bn(),!1,void 0,void 0,void 0,new ku(0));function fl(e,t){return un(t)?[t]:mn(t,[e],null,0)}function dl(e){return new Su(e,ll.method,ll.headers,ll.withCredentials,ll.overridenMimeType,ll.overridenResponseType,ll.timeout,ll.content)}function hl(e,t){return new Su(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function ml(e,t){return new Su(t.url,t.method,Xn(t.headers,Un(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function pl(e,t){return new Su(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function gl(e){return function(e){return Ka((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,i,o,a,s,c;4===n.readyState&&t[0]((r=n.responseType,e=""===r||"text"===r?n.responseText:"",i=0|n.status,o=n.responseType,s=n.responseType,a=""===s||"text"===s?new Iu(0,n.responseText):new Iu("arraybuffer"===s?2:"blob"===s?1:3,n.response),c=function(e){const t=xn();return el(t,$u(t,e))}(function(e,t,n){const r=[];for(let n=0;n<=t.length-1;n++){const i=e(t[n]);if(null!=i){const e=vn(i);r.push(e)}}return r}((e=>{const t=qn(fl(":",e));return zn(t)?void 0:[Gn(t).toLocaleLowerCase(),fn(":",Hn(t)).trim()]}),fl("\r\n",n.getAllResponseHeaders()))),new Eu(i,e,o,n.responseURL,c,a)))};const r=We(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{Ge(r)}n.withCredentials=e.withCredentials;const i=e.overridenMimeType;if(null==i);else{const e=i;n.overrideMimeType(e)}const o=e.overridenResponseType;null==o||(1===o.tag?n.responseType="blob":2===o.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(wn(s.fields[0]));break;default:n.send()}}))}new Eu(0,"","","",cl(),new Iu(0,""));class wl extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class vl extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class yl{constructor(){this.cache=new Map([])}}function bl(){return new yl}function _l(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function Cl(e,t){switch(e.tag){case 2:return function(e,t,n,r,i=0){if("string"==typeof e){const n=e;e=Pt(t,null!=r?r:0),t=n,r=void 0}if("function"==typeof n)return r=null==r?-1:r,t.substring(0,i)+t.substring(i).replace(e,(function(){let e=arguments[0];if(r){r--;const t=[],i=arguments.length,o="string"!=typeof arguments[i-1];let a=o?i-3:i-2;for(let e=0;e<a;e++)t.push(arguments[e]);t.index=arguments[a++],t.input=arguments[a++],o&&(t.groups=arguments[a]),e=n(t)}return e}));if(n=n.replace(/\$0/g,(e=>"$&")).replace(/\${([^}]+)}/g,"$<$1>"),null!=r){let o;const a=t.substring(i),s=Rt(e,a),c=Rt.length>r?(o=s[r-1],a.substring(0,o.index+o[0].length)):a;return t.substring(0,i)+c.replace(e,n)+t.substring(i+c.length)}return t.replace(e,n)}(_l(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return _l(t)}}bl(),bl();const xl=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,kl=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Sl=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Il(e){function t(e){return e.replace(kl,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(xl.test(n))return function(e,...t){if(0===t.length)return e.trim();const n="["+Dt(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}(n,"{","}","(",")");if(kl.test(n))return t(n);if(Sl.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function El(e,t){try{return t.contents=Il(e),!0}catch(e){return!1}}var Al;function Ol(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 Tl(e,t,n,r,i){try{return i.contents=function(e,t,n,r,i){const o=function(e,t,n){const r=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(null!=r){const[,,e,i]=r;n=n||function(e,t){if(t&Al.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 o=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(!o.test(i))return function(e,t){const[,n,r,i]=e;return{sign:n||"",prefix:r||"",digits:i,radix:t}}(r,n)}return null}(e,t,void 0);if(null!=o){let e=Number.parseInt(o.sign+o.digits,o.radix);if(!Number.isNaN(e)){const[t,i]=Ol(!0,r);!n&&10!==o.radix&&e>=t&&e<=i&&(e=e<<32-r>>32-r);const[a,s]=Ol(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 Nl(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 Ml(e,t){try{return t.contents=function(e){const[t,n]=Ct(e),r=null==n?-6e4*t.getTimezoneOffset():"Z"===n?0:6e4*n;return Nl(t.getTime(),r)}(e),!0}catch(e){return!1}}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(Al||(Al={}));class Pl{constructor(e,t,n,r){this.declaringType=e,this.tag=t,this.name=n,this.fields=r}}class Dl{constructor(e,t,n,r,i,o,a){this.fullname=e,this.generics=t,this.construct=n,this.parent=r,this.fields=i,this.cases=o,this.enumCases=a}toString(){return Xl(this)}GetHashCode(){return jl(this)}Equals(e){return Bl(this,e)}}function Rl(e){return null!=e.generics?e.generics:[]}function jl(e){return et([Ke(e.fullname),...Rl(e).map(jl)])}function Bl(e,t){return""===e.fullname?""===t.fullname&&rt(sf(e),sf(t),(([e,t],[n,r])=>e===n&&Bl(t,r))):e.fullname===t.fullname&&rt(Rl(e),Rl(t),Bl)}function Ll(e,t,n,r){return new Dl(e,t,n,r)}function Ul(e,t,n,r){return new Dl(e,t,n,void 0,r)}function zl(e,t,n,r){const i=new Dl(e,t,n,void 0,void 0,(()=>{const e=n.prototype.cases();return r().map(((t,n)=>new Pl(i,n,e[n],t)))}));return i}function Fl(...e){return new Dl("System.Tuple`"+e.length,e)}function Gl(e){return new Dl("Microsoft.FSharp.Core.FSharpOption`1",[e])}function Hl(e){return new Dl("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Vl=new Dl("System.Object"),Wl=(new Dl("Microsoft.FSharp.Core.Unit"),new Dl("System.Char"),new Dl("System.String")),Zl=new Dl("System.Boolean"),$l=(new Dl("System.SByte"),new Dl("System.Byte"),new Dl("System.Int16"),new Dl("System.UInt16"),new Dl("System.Int32")),Yl=(new Dl("System.UInt32"),new Dl("System.Single"),new Dl("System.Double"));function ql(e){if(Array.isArray(e))return e[0];if(e instanceof Dl){const t=Kl(e);if(null!=t)return ql(t)+"[]";{const t=e.fullname.lastIndexOf(".");return-1===t?e.fullname:e.fullname.substr(t+1)}}return e.name}function Xl(e){const t=Kl(e);return null!=t?Xl(t)+"[]":null==e.generics||0===e.generics.length?e.fullname:e.fullname+"["+e.generics.map((e=>Xl(e))).join(",")+"]"}function Jl(e){return null!=Kl(e)}function Kl(e){var t;return"[]"===e.fullname&&1===(null===(t=e.generics)||void 0===t?void 0:t.length)?e.generics[0]:void 0}function Ql(e){return null!=e.generics&&e.generics.length>0}function ef(e){return null!=e.enumCases&&e.enumCases.length>0}function tf(e){return null==e.generics?e:new Dl(e.fullname,e.generics.map((()=>Vl)))}function nf(e){var t;return null===(t=e.generics)||void 0===t?void 0:t[0]}function rf(e){if(ef(e)&&null!=e.enumCases)return e.enumCases.map((e=>e[1]));throw new Error(`${e.fullname} is not an enum type`)}function of(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 af(e){if(null!=e.cases)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function sf(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function cf(e){if(ff(e)&&null!=e.generics)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function uf(e){return e instanceof Dl?null!=e.cases:e instanceof Bt}function lf(e){return e instanceof Dl?null!=e.fields:e instanceof Ht}function ff(e){return e.fullname.startsWith("System.Tuple")}function df(e){return null==e.fields?[]:e.fields}new Dl("System.Decimal");class hf{constructor(e){this.k=e}}function mf(e){return new hf(e)}function pf(e){return e.k}class gf extends hf{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=0|r}}function wf(e,t,n,r){return new gf(e,t,n,r)}function vf(e){return e.left}function yf(e){return e.right}function bf(e){return e.h}function _f(e,t){e:for(;;){const n=e,r=t;if(null!=n){const i=n;if(i instanceof gf){e=vf(i),t=_f(yf(i),r+1);continue e}return r+1|0}return 0|r}}function Cf(e){return _f(e,0)}function xf(e,t,n){let r,i;if(null!=e){const t=e;r=t instanceof gf?bf(t):1}else r=0;if(null!=n){const e=n;i=e instanceof gf?bf(e):1}else i=0;const o=0|(r<i?i:r);return 0===o?mf(t):wf(t,e,n,o+1)}function kf(e,t,n){let r,i,o,a,s,c;if(null!=e){const t=e;s=t instanceof gf?bf(t):1}else s=0;if(null!=n){const e=n;c=e instanceof gf?bf(e):1}else c=0;if(c>s+2){const o=vn(n);if(o instanceof gf){if(r=vf(o),(null!=r?(i=r,i instanceof gf?bf(i):1):0)>s+1){const n=vn(vf(o));if(n instanceof gf)return xf(xf(e,t,vf(n)),pf(n),xf(yf(n),pf(o),yf(o)));throw new Error("internal error: Set.rebalance")}return xf(xf(e,t,vf(o)),pf(o),yf(o))}throw new Error("internal error: Set.rebalance")}if(s>c+2){const r=vn(e);if(r instanceof gf){if(o=yf(r),(null!=o?(a=o,a instanceof gf?bf(a):1):0)>c+1){const e=vn(yf(r));if(e instanceof gf)return xf(xf(vf(r),pf(r),vf(e)),pf(e),xf(yf(e),t,n));throw new Error("internal error: Set.rebalance")}return xf(vf(r),pf(r),xf(yf(r),t,n))}throw new Error("internal error: Set.rebalance")}return xf(e,t,n)}function Sf(e,t,n){if(null!=n){const r=n,i=0|e.Compare(t,pf(r));if(r instanceof gf)return i<0?kf(Sf(e,t,vf(r)),pf(r),yf(r)):0===i?n:kf(vf(r),pf(r),Sf(e,t,yf(r)));{const i=0|e.Compare(t,pf(r));return i<0?wf(t,void 0,n,2):0===i?n:wf(t,n,void 0,2)}}return mf(t)}function If(e,t,n){e:for(;;){const r=e,i=t,o=n;if(null!=o){const a=o,s=0|r.Compare(i,pf(a));if(a instanceof gf){if(s<0){e=r,t=i,n=vf(a);continue e}if(0===s)return!0;e=r,t=i,n=yf(a);continue e}return 0===s}return!1}}function Ef(e,t){e:for(;;){const n=e,r=t;if(null!=r){const i=r;if(i instanceof gf){Ef(n,vf(i)),n(pf(i)),e=n,t=yf(i);continue e}n(pf(i))}break}}class Af extends Ht{constructor(e,t){super(),this.stack=e,this.started=t}}function Of(e){e:for(;;){const t=e;if(zn(t))return Bn();{const n=Gn(t),r=Hn(t);if(null!=n){const i=n;if(i instanceof gf){e=Yn([vf(i),mf(pf(i)),yf(i)],r);continue e}return t}e=r;continue e}}}function Tf(e){return new Af(Of(Un(e)),!1)}function Nf(e){if(e.started){const t=e.stack;if(zn(t))return function(){throw new Error("Enumeration already started")}();if(null!=Gn(t))return pf(Gn(t));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function Mf(e){let t=Tf(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Nf(t),"System.Collections.IEnumerator.get_Current":()=>Nf(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(zn(t))return!1;if(null!=Gn(t)){if(Gn(t)instanceof gf)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Of(Hn(t)),!zn(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!zn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=Tf(e)},Dispose(){}}}function Pf(e,t,n){return null==t?null==n?0:-1:null==n?1:0|function(e,t,n){e:for(;;){const r=e,i=t,o=n,a=[i,o];if(zn(a[0]))return zn(a[1])?0:-1;if(zn(a[1]))return 1;if(null!=Gn(a[1]))if(null!=Gn(a[0])){const s=Gn(a[0]),c=Gn(a[1]);if(s instanceof gf)if(null==vf(s)){if(!(c instanceof gf)){const i=0|r.Compare(pf(s),pf(c));if(0!==i)return 0|i;e=r,t=Ln(yf(s),Hn(a[0])),n=Ln(void 0,Hn(a[1]));continue e}if(null==vf(c)){const i=0|r.Compare(pf(s),pf(c));if(0!==i)return 0|i;e=r,t=Ln(yf(s),Hn(a[0])),n=Ln(yf(c),Hn(a[1]));continue e}{const a=[i,o];let s,c,u,l,f;switch(zn(a[0])?zn(a[1])?s=2:null!=Gn(a[1])?(s=1,l=Hn(a[1]),f=Gn(a[1])):s=2:null!=Gn(a[0])?(s=0,c=Hn(a[0]),u=Gn(a[0])):zn(a[1])?s=2:null!=Gn(a[1])?(s=1,l=Hn(a[1]),f=Gn(a[1])):s=2,s){case 0:if(u instanceof gf){e=r,t=Yn([vf(u),wf(pf(u),void 0,yf(u),0)],c),n=o;continue e}e=r,t=Yn([void 0,mf(pf(u))],c),n=o;continue e;case 1:if(f instanceof gf){e=r,t=i,n=Yn([vf(f),wf(pf(f),void 0,yf(f),0)],l);continue e}e=r,t=i,n=Yn([void 0,mf(pf(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const a=[i,o];let s,c,u,l,f;switch(zn(a[0])?zn(a[1])?s=2:null!=Gn(a[1])?(s=1,l=Hn(a[1]),f=Gn(a[1])):s=2:null!=Gn(a[0])?(s=0,c=Hn(a[0]),u=Gn(a[0])):zn(a[1])?s=2:null!=Gn(a[1])?(s=1,l=Hn(a[1]),f=Gn(a[1])):s=2,s){case 0:if(u instanceof gf){e=r,t=Yn([vf(u),wf(pf(u),void 0,yf(u),0)],c),n=o;continue e}e=r,t=Yn([void 0,mf(pf(u))],c),n=o;continue e;case 1:if(f instanceof gf){e=r,t=i,n=Yn([vf(f),wf(pf(f),void 0,yf(f),0)],l);continue e}e=r,t=i,n=Yn([void 0,mf(pf(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(c instanceof gf)){const i=0|r.Compare(pf(s),pf(c));if(0!==i)return 0|i;e=r,t=Hn(a[0]),n=Hn(a[1]);continue e}if(null==vf(c)){const i=0|r.Compare(pf(s),pf(c));if(0!==i)return 0|i;e=r,t=Ln(void 0,Hn(a[0])),n=Ln(yf(c),Hn(a[1]));continue e}{const a=[i,o];let s,c,u,l,f;switch(zn(a[0])?zn(a[1])?s=2:null!=Gn(a[1])?(s=1,l=Hn(a[1]),f=Gn(a[1])):s=2:null!=Gn(a[0])?(s=0,c=Hn(a[0]),u=Gn(a[0])):zn(a[1])?s=2:null!=Gn(a[1])?(s=1,l=Hn(a[1]),f=Gn(a[1])):s=2,s){case 0:if(u instanceof gf){e=r,t=Yn([vf(u),wf(pf(u),void 0,yf(u),0)],c),n=o;continue e}e=r,t=Yn([void 0,mf(pf(u))],c),n=o;continue e;case 1:if(f instanceof gf){e=r,t=i,n=Yn([vf(f),wf(pf(f),void 0,yf(f),0)],l);continue e}e=r,t=i,n=Yn([void 0,mf(pf(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{Gn(a[1]);const s=[i,o];let c,u,l,f,d;switch(zn(s[0])?zn(s[1])?c=2:null!=Gn(s[1])?(c=1,f=Hn(s[1]),d=Gn(s[1])):c=2:null!=Gn(s[0])?(c=0,u=Hn(s[0]),l=Gn(s[0])):zn(s[1])?c=2:null!=Gn(s[1])?(c=1,f=Hn(s[1]),d=Gn(s[1])):c=2,c){case 0:if(l instanceof gf){e=r,t=Yn([vf(l),wf(pf(l),void 0,yf(l),0)],u),n=o;continue e}e=r,t=Yn([void 0,mf(pf(l))],u),n=o;continue e;case 1:if(d instanceof gf){e=r,t=i,n=Yn([vf(d),wf(pf(d),void 0,yf(d),0)],f);continue e}e=r,t=i,n=Yn([void 0,mf(pf(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==Gn(a[0])){e=r,t=Hn(a[0]),n=Hn(a[1]);continue e}{Gn(a[0]);const s=[i,o];let c,u,l,f,d;switch(zn(s[0])?zn(s[1])?c=2:null!=Gn(s[1])?(c=1,f=Hn(s[1]),d=Gn(s[1])):c=2:null!=Gn(s[0])?(c=0,u=Hn(s[0]),l=Gn(s[0])):zn(s[1])?c=2:null!=Gn(s[1])?(c=1,f=Hn(s[1]),d=Gn(s[1])):c=2,c){case 0:if(l instanceof gf){e=r,t=Yn([vf(l),wf(pf(l),void 0,yf(l),0)],u),n=o;continue e}e=r,t=Yn([void 0,mf(pf(l))],u),n=o;continue e;case 1:if(d instanceof gf){e=r,t=i,n=Yn([vf(d),wf(pf(d),void 0,yf(d),0)],f);continue e}e=r,t=i,n=Yn([void 0,mf(pf(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,Un(t),Un(n))}function Df(e,t,n){let r=n;Ef((e=>{t[r]=e,r=r+1|0}),e)}function Rf(e,t){if(Ue(t))return function(e,t){return En(((t,n)=>Sf(e,n,t)),void 0,t)}(e,t);if(t instanceof On)return function(e,t){return Wn(((t,n)=>Sf(e,n,t)),void 0,t)}(e,t);{const n=We(t);try{return function(e,t,n){for(;;){const r=e,i=t,o=n;if(!o["System.Collections.IEnumerator.MoveNext"]())return i;e=r,t=Sf(r,o["System.Collections.Generic.IEnumerator`1.get_Current"](),i),n=o}}(e,void 0,n)}finally{Ge(n)}}}class jf{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){let t,n=0;const r=We(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();)n=0|(t=0|tt(r["System.Collections.Generic.IEnumerator`1.get_Current"]()),(n<<1)+t+631)}finally{Ge(r)}return 0|Math.abs(n)}(this)}Equals(e){return e instanceof jf&&0===Pf(Bf(this),Lf(this),Lf(e))}toString(){return"set ["+fn("; ",xr((e=>jt(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(e){return Array.from(this)}CompareTo(e){return 0|Pf(Bf(this),Lf(this),Lf(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 If(Bf(this),e,Lf(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){Df(Lf(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|Uf(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|Uf(this)}GetEnumerator(){return Mf(Lf(this))}[Symbol.iterator](){return Ze(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Mf(Lf(this))}get size(){return 0|Uf(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 If(Bf(e),t,Lf(e))}(this,e)}keys(){return xr((e=>e),this)}values(){return xr((e=>e),this)}entries(){return xr((e=>[e,e]),this)}forEach(e,t){const n=this;Cr((t=>{e(t,t,n)}),n)}}function Bf(e){return e.comparer}function Lf(e){return e.tree}function Uf(e){return Cf(Lf(e))}function zf(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 Ff(e,t,n){const r=t(e,n);if(1===r.tag){const e=r.fields[0];return new es(1,function(e,t){const n=2===t.tag?zf(t.fields[0],t.fields[1],!0):1===t.tag?zf(t.fields[0],t.fields[1],!1)+"\nReason: "+t.fields[2]:3===t.tag?zf(t.fields[0],t.fields[1],!0):4===t.tag?zf(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"+fn("\n\n",t.fields[0]):6===t.tag?"The following `failure` occurred with the decoder: "+t.fields[0]:zf(t.fields[0],t.fields[1],!1);return 7===t.tag?n:"Error at: `"+e+"`\n"+n}(e[0],e[1]))}return new es(0,r.fields[0])}function Gf(e,t){try{return Ff("$",e,JSON.parse(t))}catch(e){if(e instanceof SyntaxError)return new es(1,"Given an invalid JSON: "+e.message);throw e}}function Hf(e,t){return"string"==typeof t?new es(0,t):new es(1,[e,new wl(0,"a string",t)])}const Vf=e=>t=>{const n="a sbyte",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-128<=e&&e<=127?new es(0,(e+128&255)-128):new es(1,[r,new wl(1,n,e,"Value was either too large or too small for a sbyte")]):new es(1,[r,new wl(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Tl(i,511,!1,8,new Vt((()=>t),(e=>{t=0|e}))),t],e[0]?new es(0,e[1]):new es(1,[r,new wl(0,n,i)])}return new es(1,[r,new wl(0,n,i)])},Wf=e=>t=>{const n="a byte",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=255?new es(0,255&e):new es(1,[r,new wl(1,n,e,"Value was either too large or too small for a byte")]):new es(1,[r,new wl(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Tl(i,511,!0,8,new Vt((()=>t),(e=>{t=e}))),t],e[0]?new es(0,e[1]):new es(1,[r,new wl(0,n,i)])}return new es(1,[r,new wl(0,n,i)])},Zf=e=>t=>{const n="an int16",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-32768<=e&&e<=32767?new es(0,(e+32768&65535)-32768):new es(1,[r,new wl(1,n,e,"Value was either too large or too small for "+n)]):new es(1,[r,new wl(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Tl(i,511,!1,16,new Vt((()=>t),(e=>{t=0|e}))),t],e[0]?new es(0,e[1]):new es(1,[r,new wl(0,n,i)])}return new es(1,[r,new wl(0,n,i)])},$f=e=>t=>{const n="an uint16",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=65535?new es(0,65535&e):new es(1,[r,new wl(1,n,e,"Value was either too large or too small for "+n)]):new es(1,[r,new wl(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Tl(i,511,!0,16,new Vt((()=>t),(e=>{t=e}))),t],e[0]?new es(0,e[1]):new es(1,[r,new wl(0,n,i)])}return new es(1,[r,new wl(0,n,i)])},Yf=e=>t=>{const n="an int",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-2147483648<=e&&e<=2147483647?new es(0,~~e):new es(1,[r,new wl(1,n,e,"Value was either too large or too small for an int")]):new es(1,[r,new wl(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Tl(i,511,!1,32,new Vt((()=>t),(e=>{t=0|e}))),t],e[0]?new es(0,e[1]):new es(1,[r,new wl(0,n,i)])}return new es(1,[r,new wl(0,n,i)])},qf=e=>t=>{const n="an uint32",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=4294967295?new es(0,e>>>0):new es(1,[r,new wl(1,n,e,"Value was either too large or too small for "+n)]):new es(1,[r,new wl(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[Tl(i,511,!0,32,new Vt((()=>t),(e=>{t=e}))),t],e[0]?new es(0,e[1]):new es(1,[r,new wl(0,n,i)])}return new es(1,[r,new wl(0,n,i)])};function Xf(e,t,n,r){let i;const o=n+".["+Xe(e)+"]";if(Array.isArray(r)){const n=r;return e<n.length?t(o,n[e]):new es(1,[o,new wl(5,"a longer array. Need index `"+Xe(e)+"` but there are only `"+(i=n.length,Xe(i)+"` entries"),r)])}return new es(1,[o,new wl(0,"an array",r)])}function Jf(e,t,n){if(Array.isArray(n)){let r=-1;return ts(Zn,En(((n,i)=>{if(r=r+1|0,0===n.tag){const o=e(t+".["+Xe(r)+"]",i);return 0===o.tag?new es(0,Ln(o.fields[0],n.fields[0])):new es(1,o.fields[0])}return n}),new es(0,Bn()),n))}return new es(1,[t,new wl(0,"a list",n)])}function Kf(e,t,n){if(Array.isArray(n)){let r=-1;const i=n;return En(((n,i)=>{if(r=r+1|0,0===n.tag){const o=n.fields[0],a=e(t+".["+Xe(r)+"]",i);return 0===a.tag?(o[r]=a.fields[0],new es(0,o)):new es(1,a.fields[0])}return n}),new es(0,Sn(new Array(i.length),0,i.length,null)),i)}return new es(1,[t,new wl(0,"an array",n)])}function Qf(e,t,n,r){const i=t(n,r);return 0===i.tag?e(i.fields[0],n,r):new es(1,i.fields[0])}function ed(e,t){let n;const r=e;return n=e=>t=>Xf(0,r,e,t),e=>r=>Qf(ht(3,(e=>{let n;const r=t;return n=e=>t=>Xf(1,r,e,t),t=>r=>Qf(((t,n,r)=>new es(0,[e,t])),ht(2,n),t,r)})),ht(2,n),e,r)}function td(e){return tl(e)}function nd(e){return function(e,t){return new jf(e,t)}(t={Compare:ut},Rf(t,e));var t}function rd(e,t,n,r){let i;const o=t.length+e|0;if(o!==r.length)return new es(1,[n,new wl(6,(i=0|r.length,rn(en("Expected array of length %i but got %i"))(o)(i)))]);{let i=new es(0,Bn());for(let o=e;o<=r.length-1;o++)if(0===i.tag){const a=i.fields[0],s=rn(en("%s[%i]"))(n)(o),c=t[o-e],u=r[o];i=ts((e=>Ln(e,a)),c(s)(u))}return ts(Zn,i)}}function id(e,t,n,r,i,o){const a=function(e,t){return t.find((e=>ql(e)===r))}(0,af(n));if(null!=a){const n=a,r=In((n=>ad(e,t,!1,n[1])),df(n));return ts((e=>function(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);return null!=e.declaringType.construct?new e.declaringType.construct(e.tag,...t):{}}(n,Vn(e))),0===r.length&&o.length<=1?new es(0,Bn()):rd(1,r,i,o))}return new es(1,[i,new wl(6,"Cannot find case "+r+" in "+Xl(n))])}function od(e,t,n,r){const i=new Vt(null);let o;const a=Xl(r);let s;if(o=""===a?e:ol(a,i,e),lf(r)){const e=In((e=>[Cl(t,ql(e)),ad(o,t,!1,e[1])]),sf(r));s=t=>n=>ts((e=>function(e,t){const n=sf(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],i)=>(e[n]=t[i],e)),{})}(r,Vn(e))),function(e,t,n){return null===n||Object.getPrototypeOf(n||!1)!==Object.prototype?new es(1,[t,new wl(0,"an object",n)]):function(e,t,n){return t.reduceRight(((t,n)=>e(n,t)),n)}(ht(2,(e=>{const r=e[0];return i=>0===i.tag?ts((e=>Ln(e,i.fields[0])),e[1](t+"."+r)(n[r])):i})),e,new es(0,Bn()))}(e,t,n))}else if(uf(r))s=e=>n=>{if("string"==typeof n)return id(o,t,r,n,e,[]);if(Array.isArray(n)){const i=n;return ns((n=>id(o,t,r,n,e,i)),Hf(e+"[0]",i[0]))}return new es(1,[e,new wl(0,"a string or array",n)])};else{if(!n){let e;const t=Xl(r);throw e=rn(en("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"))(t),new Error(e)}s=e=>t=>new es(1,[e,new wl(2,"an extra coder for "+Xl(r),t)])}return i.contents=s,s}function ad(e,t,n,r){let i,o,a,s;const c=Xl(r),u=al(c,e);if(null==u){if(Jl(r)){const n=ad(e,t,!1,Kl(r));return e=>t=>Kf(ht(2,n),e,t)}if(ef(r)){const e=Xl(nf(r));if("System.SByte"===e)return e=>t=>{const n=r,i=e,o=t,a=Vf(i)(o);if(1===a.tag)return new es(1,a.fields[0]);{const e=a.fields[0];return br(e,rf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new es(0,of(n,e.toString())):new es(1,[i,new wl(1,Xl(n),o,"Unkown value provided for the enum")])}};if("System.Byte"===e)return e=>t=>{const n=r,i=e,o=t,a=Wf(i)(o);if(1===a.tag)return new es(1,a.fields[0]);{const e=a.fields[0];return br(e,rf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new es(0,of(n,e.toString())):new es(1,[i,new wl(1,Xl(n),o,"Unkown value provided for the enum")])}};if("System.Int16"===e)return e=>t=>{const n=r,i=e,o=t,a=Zf(i)(o);if(1===a.tag)return new es(1,a.fields[0]);{const e=a.fields[0];return br(e,rf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new es(0,of(n,e.toString(s))):new es(1,[i,new wl(1,Xl(n),o,"Unkown value provided for the enum")])}var s};if("System.UInt16"===e)return e=>t=>{const n=r,i=e,o=t,a=$f(i)(o);if(1===a.tag)return new es(1,a.fields[0]);{const e=a.fields[0];return br(e,rf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new es(0,of(n,e.toString())):new es(1,[i,new wl(1,Xl(n),o,"Unkown value provided for the enum")])}};if("System.Int32"===e)return e=>t=>{const n=r,i=e,o=t,a=Yf(i)(o);if(1===a.tag)return new es(1,a.fields[0]);{const e=a.fields[0];return br(e,rf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new es(0,of(n,Xe(e))):new es(1,[i,new wl(1,Xl(n),o,"Unkown value provided for the enum")])}};if("System.UInt32"===e)return e=>t=>{const n=r,i=e,o=t,a=qf(i)(o);if(1===a.tag)return new es(1,a.fields[0]);{const e=a.fields[0];return br(e,rf(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new es(0,of(n,e.toString())):new es(1,[i,new wl(1,Xl(n),o,"Unkown value provided for the enum")])}};{const e=Xl(r),t=on(en("Cannot generate auto decoder for %s.\nThoth.Json.Net only support the following enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can't use one of these types, please pass an extra decoder.\n "))(e);return e=>t(e)}}if(Ql(r)){if(ff(r)){const n=In((n=>ad(e,t,!1,n)),cf(r));return e=>t=>Array.isArray(t)?ts((e=>Vn(e)),rd(0,n,e,t)):new es(1,[e,new wl(0,"an array",t)])}{const c=Xl(tf(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===c)return i=ad(e,t,!0,Rl(r)[0]),e=>t=>{return n=ht(2,i),r=e,null==(o=t)?new es(0,void 0):ts(wn,n(r,o));var n,r,o};if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===c)return o=ad(e,t,!1,Rl(r)[0]),e=>t=>Jf(ht(2,o),e,t);if("System.Collections.Generic.IEnumerable`1[System.Object]"===c)return a=ad(e,t,!1,Rl(r)[0]),e=>t=>function(e,t,n){if(Array.isArray(n)){let r=-1;return ts(Sr,En(((n,i)=>{if(r=r+1|0,0===n.tag){const o=e(t+".["+Xe(r)+"]",i);return 0===o.tag?new es(0,yr([o.fields[0]],n.fields[0])):new es(1,o.fields[0])}return n}),new es(0,[]),n))}return new es(1,[t,new wl(0,"a seq",n)])}(ht(2,a),e,t);if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===c){const n=ad(e,t,!1,Rl(r)[0]),i=ad(e,t,!1,Rl(r)[1]);let o;const a=qn([e=>t=>function(e,t,n,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new es(1,[n,new wl(0,"an object",r)]):_r(((i,o)=>{if(0===i.tag){const a=e(n,o);if(0===a.tag){const e=t(n+"."+o,r[o]);return 0===e.tag?new es(0,Ln([a.fields[0],e.fields[0]],i.fields[0])):new es(1,e.fields[0])}return new es(1,a.fields[0])}return i}),new es(0,Bn()),Object.keys(r))}(ht(2,n),ht(2,i),e,t),(s=ed(ht(2,n),ht(2,i)),e=>t=>Jf(ht(2,s),e,t))]);return o=e=>t=>{return n=e,r=t,((e,t)=>{e:for(;;){const i=e,o=t;if(zn(i))return new es(1,[n,new wl(7,o)]);{const a=Ff(n,ht(2,Gn(i)),r);if(1===a.tag){e=Hn(i),t=Xn(o,Un(a.fields[0]));continue e}return new es(0,a.fields[0])}}})(a,Bn());var n,r},e=>t=>function(e,t,n,r){const i=t(n,r);return 1===i.tag?new es(1,i.fields[0]):new es(0,e(i.fields[0]))}(td,ht(2,o),e,t)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===c){const n=ad(e,t,!1,Rl(r)[0]);return e=>t=>{const r=Kf(ht(2,n),e,t);return 0===r.tag?new es(0,nd(r.fields[0])):new es(1,r.fields[0])}}return od(e,t,n,r)}}return"System.Boolean"===c?e=>t=>{return n=e,"boolean"==typeof(r=t)?new es(0,r):new es(1,[n,new wl(0,"a boolean",r)]);var n,r}:"Microsoft.FSharp.Core.Unit"===c?e=>t=>{return n=e,null==(r=t)?new es(0,void 0):new es(1,[n,new wl(0,"null",r)]);var n,r}:"System.String"===c?e=>t=>Hf(e,t):"System.Char"===c?e=>t=>function(e,t){if("string"==typeof t){const n=t;return 1===n.length?new es(0,n[0]):new es(1,[e,new wl(0,"a single character string",t)])}return new es(1,[e,new wl(0,"a char",t)])}(e,t):"System.SByte"===c?Vf:"System.Byte"===c?Wf:"System.Int16"===c?Zf:"System.UInt16"===c?$f:"System.Int32"===c?Yf:"System.UInt32"===c?qf:"System.Double"===c?e=>t=>{return n=e,"number"==typeof(r=t)?new es(0,r):new es(1,[n,new wl(0,"a float",r)]);var n,r}:"System.Single"===c?e=>t=>{return n=e,"number"==typeof(r=t)?new es(0,r):new es(1,[n,new wl(0,"a float32",r)]);var n,r}:"System.DateTime"===c?e=>t=>function(e,t){if("string"==typeof t){let r,i=_t(-621355968e5,0);return r=[xt(t,new Vt((()=>i),(e=>{i=e}))),i],r[0]?new es(0,1===(n=r[1]).kind?n:_t(n.getTime(),1)):new es(1,[e,new wl(0,"a datetime",t)])}var n;return new es(1,[e,new wl(0,"a datetime",t)])}(e,t):"System.DateTimeOffset"===c?e=>t=>function(e,t){if("string"==typeof t){let n,r=Nl(-621355968e5,0);return n=[Ml(t,new Vt((()=>r),(e=>{r=e}))),r],n[0]?new es(0,n[1]):new es(1,[e,new wl(0,"a datetimeoffset",t)])}return new es(1,[e,new wl(0,"a datetime",t)])}(e,t):"System.TimeSpan"===c?e=>t=>function(e,t){if("string"==typeof t){let n,r=0;return n=[Uc(t,new Vt((()=>r),(e=>{r=e}))),r],n[0]?new es(0,n[1]):new es(1,[e,new wl(0,"a timespan",t)])}return new es(1,[e,new wl(0,"a timespan",t)])}(e,t):"System.Guid"===c?e=>t=>function(e,t){if("string"==typeof t){let n,r="00000000-0000-0000-0000-000000000000";return n=[El(t,new Vt((()=>r),(e=>{r=e}))),r],n[0]?new es(0,n[1]):new es(1,[e,new wl(0,"a guid",t)])}return new es(1,[e,new wl(0,"a guid",t)])}(e,t):"System.Object"===c?e=>e=>new es(0,e):od(e,t,n,r)}{const e=u;return t=>n=>e.contents(t)(n)}}function sd(e,t,n){const r=_n(t,new vl(0));return ad(function(e){return null!=e?sl(((e,t)=>new Vt(t[1])),e.Coders):cl()}(n),r,!1,e)}class cd extends Ht{constructor(e,t){super(),this.CssOverrides=e,this.MaskedEmail=t}}class ud extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Activated","InviteCodeInvalid","InviteExpired","InviteLocked","AwaitingConfirmation"]}}class ld extends Ht{constructor(e){super(),this.AuthCode=e}}class fd extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CodeMatch","CodeMismatch","CodeExpired","InviteLocked","NoSecondFactorCodeIssued"]}}class dd extends Ht{constructor(e,t){super(),this.CssOverrides=e,this.MaskedEmail=t}}function hd(){return Ul("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ActivationContextDto",[],dd,(()=>[["CssOverrides",Hl(Wl)],["MaskedEmail",Wl]]))}function md(e){return new cd(e.CssOverrides,e.MaskedEmail)}class pd extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Activated","InviteCodeInvalid","InviteExpired","InviteLocked","AwaitingConfirmation"]}}class gd extends Ht{constructor(e){super(),this.AuthCode=e}}class wd extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CodeMatch","CodeMismatch","CodeExpired","InviteLocked","NoSecondFactorCodeIssued"]}}class vd extends Ht{constructor(e){super(),this.Mfa=e}}function yd(e){return e}function bd(e){return Array.from(e)}function _d(e){return bt(e,"O")}function Cd(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 Rc(e/864e5)}(e)),i=Math.abs(function(e){return Rc(e%864e5/36e5)}(e)),o=Math.abs(function(e){return Rc(e%36e5/6e4)}(e)),a=Math.abs(function(e){return Rc(e%6e4/1e3)}(e)),s=Math.abs(function(e){return Rc(e%1e3)}(e));return`${e<0?"-":""}${0!==r||"c"!==t&&"g"!==t?"c"===t?r+".":r+":":""}${"g"===t?i:Ye(i,2)}:${Ye(o,2)}:${Ye(a,2)}${0!==s||"c"!==t&&"g"!==t?"g"===t?"."+Ye(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 xd(){return null}function kd(e){return bt(e,"O")}function Sd(e,t){return JSON.stringify(t,ht(2,null),wn(e))}function Id(e,t,n,r){const i=new Vt(null);let o;const a=Xl(r);let s;if(o=""===a?e:ol(a,i,e),lf(r)){const e=In((e=>{const r=Cl(t,ql(e)),i=Ed(o,t,n,e[1]);return t=>o=>{const a=function(e,t){return e[t[0]]}(t,e);return(!n||n&&null!=a)&&(o[r]=i(a)),o}}),sf(r));s=t=>_r(((e,n)=>n(t)(e)),{},e)}else{if(!uf(r)){let e;const t=Xl(r);throw e=rn(en("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"))(t),new Error(e)}s=e=>{const i=function(e,t){const n=af(t)[e.tag];if(null==n)throw new Error(`Cannot find case ${e.name} in union type`);return[n,e.fields]}(e,r),a=i[0],s=i[1],c=0|s.length;if(0===c)return ql(a);{const e=0|c,r=df(a),i=Sn(new Array(e+1),0,e+1,null);i[0]=ql(a);for(let a=1;a<=e;a++){const e=Ed(o,t,n,r[a-1][1]);i[a]=e(s[a-1])}return i}}}return i.contents=s,s}function Ed(e,t,n,r){const i=Xl(r),o=al(i,e);if(null==o){if(Jl(r)){const i=Ed(e,t,n,Kl(r));return e=>bd(xr(i,e))}if(ef(r)){const e=Xl(nf(r));if("System.SByte"===e)return e=>e;if("System.Byte"===e)return e=>e;if("System.Int16"===e)return e=>e;if("System.UInt16"===e)return e=>e;if("System.Int32"===e)return e=>e;if("System.UInt32"===e)return e=>e;{const e=Xl(r);return on(en("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 "))(e)}}if(Ql(r)){if(ff(r)){const i=In((r=>Ed(e,t,n,r)),cf(r));return e=>{return bd((t=(e,t)=>i[e](t),n=e,vr((()=>fr(n)),((e,n)=>n["System.Collections.IEnumerator.MoveNext"]()?wn(t(e,n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{Ge(e)}))));var t,n}}{const i=Xl(tf(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===i){const i=new $e((()=>{return i=Ed(e,t,n,Rl(r)[0]),e=>{return null!=(t=Cn(i,e))?vn(t):null;var t};var i}));return e=>null==e?null:i.Value(e)}if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===i||"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===i||"System.Collections.Generic.IEnumerable`1[System.Object]"===i){const i=Ed(e,t,n,Rl(r)[0]);return e=>bd(xr(i,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===i){const i=Rl(r)[0],o=Ed(e,t,n,Rl(r)[1]);if("System.String"===Xl(i)||"System.Guid"===Xl(i))return e=>_r(((e,t)=>{const n=t;return e[n[0]]=o(n[1]),e}),{},e);{let r;const a=Ed(e,t,n,i);return r=a,e=>bd(xr((e=>{const t=e;return[r(t[0]),o(t[1])]}),e))}}return Id(e,t,n,r)}}return"System.Boolean"===i?e=>e:"Microsoft.FSharp.Core.Unit"===i?xd:"System.String"===i?e=>e:"System.Char"===i?e=>e:"System.SByte"===i?e=>e:"System.Byte"===i?e=>e:"System.Int16"===i?e=>e:"System.UInt16"===i?e=>e:"System.Int32"===i?e=>e:"System.UInt32"===i?e=>e:"System.Double"===i?e=>e:"System.Single"===i?e=>e:"System.DateTime"===i?kd:"System.DateTimeOffset"===i?_d:"System.TimeSpan"===i?Cd:"System.Guid"===i?yd:"System.Object"===i?e=>e:Id(e,t,n,r)}{const e=o;return t=>e.contents(t)}}function Ad(e,t,n,r){const i=_n(t,new vl(0)),o=_n(r,!0);return Ed(function(e){return null!=e?sl(((e,t)=>new Vt(t[0])),e.Coders):cl()}(n),i,o,e)}function Od(e){return Qa.Delay((()=>{let t;const n=gl(e);return t=Qa.Bind(n,(e=>Qa.Return(new es(0,e)))),Qa.Bind(t,(t=>{const n=t;if(1===n.tag)return Qa.Return(new es(1,n.fields[0]));{const t=n.fields[0];if(429===t.statusCode||t.statusCode>=500){const t=gl(e);return Qa.Bind(t,(e=>Qa.Return(new es(0,e))))}return Qa.Return(new es(0,t))}}))}))}function Td(e,t){return Qa.Delay((()=>{let n,r;const i=Od((n=hl(new Cu(1),dl(function(e){const t=Xc(e);return rn(en("%s/workflows/public-backend/invites/%s/confirm"))(wu)(t)}(e))),pl(new ku(1,(r=new vd(t),Sd(0,Ad(Ul("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Write.ConfirmInvite",[],vd,(()=>[["Mfa",Wl]])),new vl(1),void 0,void 0)(r)))),n)));return Qa.Bind(i,(e=>{const t=e;if(1===t.tag)return Qa.Return(new es(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){let t;const n=Gf(ht(2,sd(zl("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ValidationOutcomeDto",[],wd,(()=>[[["Item",Ul("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.CodeMatchContextDto",[],gd,(()=>[["AuthCode",Wl]]))]],[],[],[],[]])),new vl(1),void 0)),e.responseText);return t=1===n.tag?new es(1,n.fields[0]):new es(0,function(e){switch(e.tag){case 1:return new fd(1);case 2:return new fd(2);case 3:return new fd(3);case 4:return new fd(4);default:return new fd(0,(t=e.fields[0],new ld(t.AuthCode)))}var t}(n.fields[0])),Qa.Return(t)}return Qa.Return(new es(1,"Unexpected response from backend"))}}))}))}function Nd(e){return function(e){return Qa.Delay((()=>{const t=Od(hl(new Cu(1),dl(function(e){const t=Xc(e);return rn(en("%s/workflows/public-backend/invites/%s/activate"))(wu)(t)}(e))));return Qa.Bind(t,(e=>{const t=e;if(1===t.tag)return Qa.Return(new es(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){let t;const n=Gf(ht(2,sd(zl("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ActivationOutcomeDto",[],pd,(()=>[[["Item",hd()]],[],[],[],[["Item",hd()]]])),new vl(1),void 0)),e.responseText);return t=1===n.tag?new es(1,n.fields[0]):new es(0,function(e){switch(e.tag){case 1:return new ud(1);case 2:return new ud(2);case 3:return new ud(3);case 4:return new ud(4,md(e.fields[0]));default:return new ud(0,md(e.fields[0]))}}(n.fields[0])),Qa.Return(t)}return Qa.Return(new es(1,"Unexpected response from backend"))}}))}))}(e)}function Md(e,t){let n,r,i,o,a,s,c;switch(e.tag){case 1:{const n=e.fields[0];let r,i;switch(3===n.tag?r=1:0===n.tag||1===n.tag?r=2:0===n.fields[0].tag?(r=0,i=n.fields[0].fields[0]):r=1,r){case 0:{let e,n;switch(i.tag){case 4:default:e=0,n=i.fields[0];break;case 1:e=1;break;case 2:e=2;break;case 3:e=3}switch(e){case 0:return[new au(t.InviteToken,n.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new iu(1),n.CssOverrides),ps()];case 1:return[new au(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new iu(2,"We couldn't find this invite. Reach out to your employer to get another one."),t.CssOverrides),ps()];case 2:return[new au(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new iu(2,"Your invite has expired. Reach out to your employer to get another one."),t.CssOverrides),ps()];case 3:return[new au(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new iu(2,"Your invite has been locked. Try refreshing this page in 30 minutes."),t.CssOverrides),ps()]}}case 1:return[new au(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new iu(2,"Oops, looks like something went wrong. Try refreshing this page."),t.CssOverrides),ps()];case 2:return[t,ps()]}}case 2:{const s=e.fields[0];let c,u;switch(3===s.tag?c=1:0===s.tag||1===s.tag?c=2:0===s.fields[0].tag?(c=0,u=s.fields[0].fields[0]):c=1,c){case 0:switch(u.tag){case 2:return[new au(t.InviteToken,t.MaskedEmail,(n=t.MfaCodeForm,{Error:"That code has expired. You should get another one soon.",Input:n.Input,IsDirty:n.IsDirty,IsTouched:n.IsTouched}),!1,t.CanRetry,t.Ui,t.CssOverrides),ys(new ou(0))];case 1:return[new au(t.InviteToken,t.MaskedEmail,(r=t.MfaCodeForm,{Error:"Code doesn't match.",Input:r.Input,IsDirty:r.IsDirty,IsTouched:r.IsTouched}),!1,t.CanRetry,t.Ui,t.CssOverrides),ps()];case 4:return[new au(t.InviteToken,t.MaskedEmail,(i=t.MfaCodeForm,{Error:"Looks like the code hasn't been issued. Reach out to your employer.",Input:i.Input,IsDirty:i.IsDirty,IsTouched:i.IsTouched}),!1,t.CanRetry,t.Ui,t.CssOverrides),ps()];case 3:return[new au(t.InviteToken,t.MaskedEmail,(o=t.MfaCodeForm,{Error:"Invite has been locked. Check back in 30 minutes.",Input:o.Input,IsDirty:o.IsDirty,IsTouched:o.IsTouched}),!1,t.CanRetry,t.Ui,t.CssOverrides),ps()];default:return[t,(a=_u(new bu(1)),vs((e=>{lu(Un(a+function(e){const t=fn("&",Jn((e=>fn("=",[encodeURIComponent(e[0]),encodeURIComponent(e[1])])),e));return""===t?"":"?"+t}(Un(["code",u.fields[0].AuthCode]))),1,2)})))]}case 1:return[new au(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,!1,t.CanRetry,new iu(2,"Oops, looks like something went wrong. Please try again."),t.CssOverrides),ps()];case 2:return[new au(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,!0,t.CanRetry,t.Ui,t.CssOverrides),ps()]}}case 3:{const n=e.fields[0];return[(s=Zc(n),1===s.tag?new au(t.InviteToken,t.MaskedEmail,{Error:"Code should contain exactly 6 digits.",Input:n,IsDirty:!0,IsTouched:t.MfaCodeForm.IsTouched},t.IsValidationPending,t.CanRetry,t.Ui,t.CssOverrides):new au(t.InviteToken,t.MaskedEmail,{Error:void 0,Input:n,IsDirty:!0,IsTouched:t.MfaCodeForm.IsTouched},t.IsValidationPending,t.CanRetry,t.Ui,t.CssOverrides)),ps()]}case 4:return[new au(t.InviteToken,t.MaskedEmail,(c=t.MfaCodeForm,{Error:c.Error,Input:c.Input,IsDirty:c.IsDirty,IsTouched:!0}),t.IsValidationPending,t.CanRetry,t.Ui,t.CssOverrides),ps()];default:return[t,ys(new ou(1,Zs(Nd(t.InviteToken),[])))]}}function Pd(e,t){return Qa.Delay((()=>Qa.Bind(us(e),(()=>Qa.ReturnFrom(t)))))}function Dd(e,t){return e.replace(/[a-z]?[A-Z]/g,(e=>1===e.length?e.toLowerCase():e.charAt(0)+t+e.charAt(1).toLowerCase()))}function Rd(e,t=0){const n={},r=t;function i(e){throw new Error("Cannot infer key and value of "+String(e))}function o(e,t,r){e=function(e,t){switch(t){case 1:return e.charAt(0).toLowerCase()+e.slice(1);case 2:return Dd(e,"_");case 3:return Dd(e,"_").toUpperCase();case 4:return Dd(e,"-");default:return e}}(e,t),n[e]=r}for(let t of e){let e=0;if(null==t&&i(t),t instanceof Bt){const n=t.cases()[t.tag];t=0===t.fields.length?n:[n].concat(t.fields),e=r}if(Array.isArray(t))switch(t.length){case 0:i(t);break;case 1:o(t[0],e,!0);break;case 2:const n=t[1];o(t[0],e,n);break;default:o(t[0],e,t.slice(1))}else"string"==typeof t?o(t,e,!0):i(t)}return n}function jd(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}class Bd{constructor(e,t){const n=new Vt(null);this.comparer=t,n.contents=this,this.hashMap=new Map([]),this["init@8-1"]=1;const r=We(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();Vd(n.contents,e[0],e[1])}}finally{Ge(r)}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(e){return Array.from(this)}"System.Collections.IEnumerable.GetEnumerator"(){return We(this)}GetEnumerator(){return We(hr(this.hashMap.values()))}[Symbol.iterator](){return Ze(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(e){Vd(this,e[0],e[1])}"System.Collections.Generic.ICollection`1.Clear"(){zd(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(e){const t=Ud(this,e[0]);let n;switch(n=null!=t&&ot(t[1],e[1])?0:1,n){case 0:return!0;case 1:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){var n;n=(n,r)=>{e[t+n]=r},_r(((e,t)=>(n(e,t),e+1|0)),0,this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|Fd(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(e){const t=Ud(this,e[0]);return null!=t&&(ot(t[1],e[1])&&Zd(this,e[0]),!0)}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(e,t){Vd(this,e,t)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(e){return Wd(this,e)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(e){return Gd(this,e)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(e,t){Hd(this,e,t)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const e=this;return gr(dr((()=>xr((e=>e[0]),e))))}"System.Collections.Generic.IDictionary`2.Remove2B595"(e){return Zd(this,e)}"System.Collections.Generic.IDictionary`2.TryGetValue23A0B95A"(e,t){const n=Ud(this,e);if(null!=n){const e=n;return t.contents=e[1],!0}return!1}"System.Collections.Generic.IDictionary`2.get_Values"(){const e=this;return gr(dr((()=>xr((e=>e[1]),e))))}get size(){return 0|Fd(this)}clear(){zd(this)}delete(e){return Zd(this,e)}entries(){return xr((e=>[e[0],e[1]]),this)}get(e){return Gd(this,e)}has(e){return Wd(this,e)}keys(){return xr((e=>e[0]),this)}set(e,t){return Hd(this,e,t),this}values(){return xr((e=>e[1]),this)}forEach(e,t){const n=this;Cr((t=>{e(t[1],t[0],n)}),n)}}function Ld(e,t){const n=0|e.comparer.GetHashCode(t);let r,i=null;return r=[(o=e.hashMap,a=n,s=new Vt((()=>i),(e=>{i=e})),!!o.has(a)&&(s.contents=o.get(a),!0)),i],r[0]?[!0,n,r[1].findIndex((n=>e.comparer.Equals(t,n[0])))]:[!1,n,-1];var o,a,s}function Ud(e,t){const n=Ld(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return jd(e.hashMap,n[1])[n[2]];case 1:return}}function zd(e){e.hashMap.clear()}function Fd(e){let t=0,n=We(e.hashMap.values());try{for(;n["System.Collections.IEnumerator.MoveNext"]();)t=t+n["System.Collections.Generic.IEnumerator`1.get_Current"]().length|0}finally{Ge(n)}return 0|t}function Gd(e,t){const n=Ud(e,t);if(null!=n)return n[1];throw new Error("The item was not found in collection")}function Hd(e,t,n){const r=Ld(e,t);r[0]?r[2]>-1?jd(e.hashMap,r[1])[r[2]]=[t,n]:jd(e.hashMap,r[1]).push([t,n]):e.hashMap.set(r[1],[[t,n]])}function Vd(e,t,n){const r=Ld(e,t);if(r[0]){if(r[2]>-1){const e=cn("An item with the same key has already been added. Key: {0}",t);throw new Error(e)}jd(e.hashMap,r[1]).push([t,n])}else e.hashMap.set(r[1],[[t,n]])}function Wd(e,t){const n=Ld(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function Zd(e,t){const n=Ld(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return jd(e.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}class $d extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProfileId"]}}function Yd(e){return new $d(0,e)}function qd(e){return e.fields[0]}class Xd extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessStepId"]}}class Jd extends Ht{constructor(e,t,n){super(),this.Id=e,this.DisplayName=t,this.ComponentTagName=n}}const Kd=new Jd(new Xd(0,"personal-details"),"Personal Details","apollo-personal-details-app"),Qd=new Jd(new Xd(0,"emergency-contacts"),"Emergency Contacts","apollo-emergency-contacts-app"),eh=new Jd(new Xd(0,"bank"),"Bank","bank-component"),th=new Jd(new Xd(0,"tax"),"Tax","tax-component"),nh=new Jd(new Xd(0,"super"),"Super","super-selection-app"),rh=new Jd(new Xd(0,"app-workplace-linking"),"App Workplace Linking","workplace-link"),ih=new Xd(0,"benefits-onboarding"),oh=new Jd(ih,"Benefits","benefits-onboarding");function ah(e){return new Xd(0,e)}function sh(e){return e.fields[0]}class ch extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessConfigId"]}}class uh extends Ht{constructor(e,t,n){super(),this.Id=e,this.Name=t,this.Steps=n}}const lh=new uh(new ch(0,Il("00000000-0000-0000-0000-000000000000")),"onboarding-default",qn([eh,th,nh])),fh=new uh(new ch(0,Il("00000000-0000-0000-0000-000000000001")),"PEBTS",qn([Kd,Qd,eh,th,nh])),dh=new uh(new ch(0,Il("00000000-0000-0000-0000-000000000002")),"PS",qn([Kd,nh])),hh=new uh(new ch(0,Il("00000000-0000-0000-0000-000000000003")),"BS",qn([eh,nh])),mh=new uh(new ch(0,Il("00000000-0000-0000-0001-000000000000")),"App Workplace Linking",Un(rh)),ph=new Bd([[lh.Id,lh],[fh.Id,fh],[dh.Id,dh],[hh.Id,hh],[mh.Id,mh]],{Equals:ot,GetHashCode:nt});class gh extends Ht{constructor(e,t){super(),this.ActivatedDates=e,this.CompletedSteps=t}}class wh extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}class vh extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessInstanceId"]}}function yh(e){return new vh(0,e)}function bh(e){return e.fields[0]}class _h extends Ht{constructor(e,t){super(),this.Name=e,this.Value=t}}class Ch extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TagName"]}}class xh extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TagValue"]}}class kh extends Ht{constructor(e,t,n,r,i,o,a){super(),this.Id=e,this.Configuration=t,this.DateCreated=n,this.Status=r,this.Invite=i,this.Tags=o,this.Creator=a}}function Sh(e,t,n){const r=Kn((t=>0===function(...e){switch(e.length){case 2:return Qt(e[0],e[1],!1);case 3:return Qt(e[0],e[1],e[2]);case 4:return Qt(e[0],e[1],!0===e[2]);case 5:return Qt(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),!1);case 6:return Qt(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),e[5]);case 7:return Qt(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),!0===e[5]);default:throw new Error("String.compare: Unsupported number of parameters")}}(t.ComponentTagName,e,5)),wr(dr((()=>yr(n.Configuration.Steps,dr((()=>t?pr(oh):mr()))))))),i=rn(tn("Invalid ComponentTagName %A%P()",[e])),o=r;return null==o?new es(1,i):new es(0,o)}function Ih(e){const t=e.Status;switch(t.tag){case 0:case 2:case 3:return;default:return Pn(n=er((e=>!nr((t=>ot(e.Id,t[0])),t.fields[0].CompletedSteps)),e.Configuration.Steps))?void 0:wn(Rn(n))}var n}function Eh(){return yn(document.getElementById("external-loading-page-container"))}function Ah(){return null!=Eh()}var Oh,Th=[],Nh="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(Oh||(Oh={}));var Mh,Ph=function(e){return Object.freeze(e)},Dh=function(e,t){this.inlineSize=e,this.blockSize=t,Ph(this)},Rh=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Ph(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),jh=function(e){return e instanceof SVGElement&&"getBBox"in e},Bh=function(e){if(jh(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e,o=i.offsetWidth,a=i.offsetHeight;return!(o||a||e.getClientRects().length)},Lh=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},Uh="undefined"!=typeof window?window:{},zh=new WeakMap,Fh=/auto|scroll/,Gh=/^tb|vertical/,Hh=/msie|trident/i.test(Uh.navigator&&Uh.navigator.userAgent),Vh=function(e){return parseFloat(e||"0")},Wh=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new Dh((n?t:e)||0,(n?e:t)||0)},Zh=Ph({devicePixelContentBoxSize:Wh(),borderBoxSize:Wh(),contentBoxSize:Wh(),contentRect:new Rh(0,0,0,0)}),$h=function(e,t){if(void 0===t&&(t=!1),zh.has(e)&&!t)return zh.get(e);if(Bh(e))return zh.set(e,Zh),Zh;var n=getComputedStyle(e),r=jh(e)&&e.ownerSVGElement&&e.getBBox(),i=!Hh&&"border-box"===n.boxSizing,o=Gh.test(n.writingMode||""),a=!r&&Fh.test(n.overflowY||""),s=!r&&Fh.test(n.overflowX||""),c=r?0:Vh(n.paddingTop),u=r?0:Vh(n.paddingRight),l=r?0:Vh(n.paddingBottom),f=r?0:Vh(n.paddingLeft),d=r?0:Vh(n.borderTopWidth),h=r?0:Vh(n.borderRightWidth),m=r?0:Vh(n.borderBottomWidth),p=f+u,g=c+l,w=(r?0:Vh(n.borderLeftWidth))+h,v=d+m,y=s?e.offsetHeight-v-e.clientHeight:0,b=a?e.offsetWidth-w-e.clientWidth:0,_=i?p+w:0,C=i?g+v:0,x=r?r.width:Vh(n.width)-_-b,k=r?r.height:Vh(n.height)-C-y,S=x+p+b+w,I=k+g+y+v,E=Ph({devicePixelContentBoxSize:Wh(Math.round(x*devicePixelRatio),Math.round(k*devicePixelRatio),o),borderBoxSize:Wh(S,I,o),contentBoxSize:Wh(x,k,o),contentRect:new Rh(f,c,x,k)});return zh.set(e,E),E},Yh=function(e,t,n){var r=$h(e,n),i=r.borderBoxSize,o=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case Oh.DEVICE_PIXEL_CONTENT_BOX:return a;case Oh.BORDER_BOX:return i;default:return o}},qh=function(e){var t=$h(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=Ph([t.borderBoxSize]),this.contentBoxSize=Ph([t.contentBoxSize]),this.devicePixelContentBoxSize=Ph([t.devicePixelContentBoxSize])},Xh=function(e){if(Bh(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},Jh=function(){var e=1/0,t=[];Th.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new qh(t.target),i=Xh(t.target);r.push(n),t.lastReportedSize=Yh(t.target,t.observedBox),i<e&&(e=i)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++)(0,r[n])();return e},Kh=function(e){Th.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(Xh(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},Qh=[],em=0,tm={attributes:!0,characterData:!0,childList:!0,subtree:!0},nm=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],rm=function(e){return void 0===e&&(e=0),Date.now()+e},im=!1,om=function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!im){im=!0;var n=rm(e);!function(e){!function(e){if(!Mh){var t=0,n=document.createTextNode("");new MutationObserver((function(){return Qh.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),Mh=function(){n.textContent="".concat(t?t--:t++)}}Qh.push(e),Mh()}((function(){requestAnimationFrame(e)}))}((function(){var r=!1;try{r=function(){var e,t=0;for(Kh(t);Th.some((function(e){return e.activeTargets.length>0}));)t=Jh(),Kh(t);return Th.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:Nh}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=Nh),window.dispatchEvent(e)),t>0}()}finally{if(im=!1,e=n-rm(),!em)return;r?t.run(1e3):e>0?t.run(e):t.start()}}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,tm)};document.body?t():Uh.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),nm.forEach((function(t){return Uh.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),nm.forEach((function(t){return Uh.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}(),am=new om,sm=function(e){!em&&e>0&&am.start(),!(em+=e)&&am.stop()},cm=function(){function e(e,t){this.target=e,this.observedBox=t||Oh.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=Yh(this.target,this.observedBox,!0);return e=this.target,jh(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),um=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},lm=new WeakMap,fm=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},dm=function(){function e(){}return e.connect=function(e,t){var n=new um(e,t);lm.set(e,n)},e.observe=function(e,t,n){var r=lm.get(e),i=0===r.observationTargets.length;fm(r.observationTargets,t)<0&&(i&&Th.push(r),r.observationTargets.push(new cm(t,n&&n.box)),sm(1),am.schedule())},e.unobserve=function(e,t){var n=lm.get(e),r=fm(n.observationTargets,t),i=1===n.observationTargets.length;r>=0&&(i&&Th.splice(Th.indexOf(n),1),n.observationTargets.splice(r,1),sm(-1))},e.disconnect=function(e){var t=this,n=lm.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),hm=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");dm.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Lh(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");dm.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Lh(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");dm.unobserve(this,e)},e.prototype.disconnect=function(){dm.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class mm extends Ht{constructor(e,t,n){super(),this.instanceId=0|e,this.name=t,this.type=n}}function pm(e){return new mm(bh(e.Id),e.Configuration.Name,e.Configuration.Id.fields[0])}function gm(e){Ah()||window.parent.postMessage(e,"*")}function wm(){gm(function(e,t){const n={type:"contentResized",sender:"flare"};return n.height=e,n.width=-1,n}(document.body.offsetHeight))}function vm(e,t){gm(function(e,t){const n={type:"workflowSubmitSuccess",sender:"flare"};return n.workflow=pm(e),n.profileId=qd(t),n}(e,t))}function ym(e){Ah()&&function(e,t){ls(Qa.Delay((()=>Qa.Bind(us(e),(()=>(function(){let e,t;const n=Eh();Cr((t=document.body,e=e=>t.removeChild(e),t=>{e(t)}),bn(n))}(),gm({type:"appReady",sender:"flare"}),wm(),Qa.Zero()))))))}(e)}function bm(e){let t;const n=Hs((r=e.inviteCode,[new au(r,void 0,{Error:void 0,Input:"",IsDirty:!1,IsTouched:!1},!1,!1,new iu(0),Bn()),ps()]),Md,[]);var r;const i=n[0],o=n[1];Ds($s((()=>Pd(1e3,Nd(i.InviteToken))),(e=>{o(new ou(1,e))})));const a=$s((()=>Pd(500,Td(i.InviteToken,i.MfaCodeForm.Input))),(e=>{o(new ou(2,e))}));Ds((()=>{ym(0)}));const s=e=>{let t;return d("svg",ft(qn([["className",fn(" ",Xn(qn(["animate-spin","text-primary-base"]),e))],["fill","none"],["viewBox","0 0 24 24"],["xmlns","http://www.w3.org/2000/svg"],(t=qn([d("circle",{className:fn(" ",["opacity-25"]),cx:12,cy:12,r:10,stroke:"currentColor",strokeWidth:4}),d("path",{className:fn(" ",["opacity-75"]),fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]),["children",Er.Children.toArray(Array.from(t))])])))};return d("div",ft(qn([["className",fn(" ",["h-screen","fade-in"])],(t=wr(dr((()=>yr(xr((e=>d("style",{children:[e]})),i.CssOverrides),dr((()=>{let e,t,n;return pr(d("div",ft(qn([["className",fn(" ",["h-full","flex","justify-center","items-center"])],(e=[d("div",ft(qn([["className",fn(" ",["border","rounded-lg","shadow-md","sm:max-w-md","p-8","text-center"])],(t=[d("div",ft(Un((n=wr(dr((()=>{let e,t,n,r,c;return yr((e=i.Ui,2===e.tag?pr(d("div",ft(qn([["className",fn(" ",["fade-in"])],(t=[d("i",{className:fn(" ",["text-red-600"]),children:Er.Children.toArray([Ya])}),d("h4",{className:fn(" ",["text-2xl","my-4","text-red-600"]),children:"This doesn't look right"}),d("p",{className:fn(" ",["mt-3","mb-5","text-gray-500"]),children:e.fields[0]})],["children",Er.Children.toArray(Array.from(t))])])))):1===e.tag?pr(d("form",ft(qn([["className",fn(" ",["fade-in"])],["onSubmit",e=>{e.preventDefault(),a()}],(n=wr(dr((()=>yr(pr(d("i",{className:fn(" ",["text-primary-base"]),children:Er.Children.toArray([$a])})),dr((()=>yr(pr(d("h4",{className:fn(" ",["text-2xl","my-4"]),children:"Authenticate Your Account"})),dr((()=>{let e,t;return yr(pr(d("p",ft(qn([["className",fn(" ",["mt-3","mb-5","text-gray-500"])],(e=["Protecting your account is our top priority. Check your email ",(t=_n(i.MaskedEmail,""),d("strong",{children:[t]}))," for the code that we have just sent you."],["children",Er.Children.toArray(Array.from(e))])])))),dr((()=>{let e;return yr(pr(d("div",ft(qn([["className",fn(" ",["mt-1","flex","rounded-md","shadow-sm"])],(e=[d("input",{"aria-describedby":fn(" ",["button-verify"]),"aria-label":"Authorization code",autoFocus:!0,className:fn(" ",["grow","rounded-none","rounded-l-md","border-gray-300","focus:ring-primary-focus","focus:border-primary-focus","focus:z-10"]),placeholder:"Enter the code here",required:!0,maxLength:6,type:"text",onChange:e=>{o(new ou(3,e.target.value))},onBlur:e=>{o(new ou(4))}}),d("button",ft(wr(dr((()=>yr(pr(["className",fn(" ",["-ml-px","border","border-gray-300","text-sm","rounded-r-md","px-4","py-2","bg-primary-dark","focus:outline-none","focus:ring-1","focus:ring-primary-focus","focus:border-primary-focus","text-white"])]),dr((()=>yr(pr(["id","button-verify"]),dr((()=>yr(pr(["type","submit"]),dr((()=>yr(pr(["disabled",!(!i.MfaCodeForm.IsTouched||null==i.MfaCodeForm.Error)||i.IsValidationPending]),dr((()=>{let e,t;return i.IsValidationPending?pr((e=[d("div",ft(qn([["className",fn(" ",["flex","justify-center","items-center"])],(t=[s(qn(["h-5","w-5"]))],["children",Er.Children.toArray(Array.from(t))])])))],["children",Er.Children.toArray(Array.from(e))])):pr(["children","Verify"])})))))))))))))))))],["children",Er.Children.toArray(Array.from(e))])])))),dr((()=>{const e=[i.MfaCodeForm.IsDirty&&i.MfaCodeForm.IsTouched,i.MfaCodeForm.Error];let t;switch(t=e[0]&&null!=e[1]?0:1,t){case 0:{const t=e[1];return pr(d("div",{className:fn(" ",["mt-2","text-sm","text-red-600","text-left"]),children:t}))}case 1:return pr(null)}})))})))}))))))))),["children",Er.Children.toArray(Array.from(n))])])))):pr((r=qn([d("div",ft(qn([["className",fn(" ",["flex","justify-center","items-center"])],(c=[s(qn(["h-10","w-10"]))],["children",Er.Children.toArray(Array.from(c))])]))),d("h4",{className:fn(" ",["text-2xl","my-4"]),children:"Verifying your invite"}),d("p",{className:fn(" ",["mt-3","mb-5","text-gray-500"]),children:"Hold tight. It won't be long."})]),d("div",{children:Er.Children.toArray(Array.from(r))})))),dr((()=>{let e,t,n;return pr(d("p",ft(qn([["className",fn(" ",["mt-16","text-gray-400","text-right","text-xs"])],(e=[(t=`Flare HR Pty Ltd © 2015-${n=kt(),St(n)}`,d("small",{children:[t]}))],["children",Er.Children.toArray(Array.from(e))])]))))})))}))),["children",Er.Children.toArray(Array.from(n))]))))],["children",Er.Children.toArray(Array.from(t))])])))],["children",Er.Children.toArray(Array.from(e))])]))))})))))),["children",Er.Children.toArray(Array.from(t))])])))}function _m(){let e;return Ds((()=>{ym(0)})),d("div",ft(qn([["className",fn(" ",["w-full","sm:max-w-md","mt-5","mx-1","text-center","mx-auto"])],(e=[d("h4",{className:fn(" ",["text-2xl"]),children:"You have been logged out of your onboarding due to inactivity"}),d("br",{}),d("p",{children:["To continue your onboarding, please find your onboarding invite email and click the link again."]})],["children",Er.Children.toArray(Array.from(e))])])))}function Cm(e){this.message=e}Cm.prototype=new Error,Cm.prototype.name="InvalidCharacterError";var xm="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new Cm("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,o=0,a="";r=t.charAt(o++);~r&&(n=i%4?64*n+r:r,i++%4)?a+=String.fromCharCode(255&n>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return a};function km(e){this.message=e}km.prototype=new Error,km.prototype.name="InvalidTokenError";function Sm(e){return function(e,t){return function(e,t,n){e:for(;;){const r=e,i=t,o=n;if(zn(o)){const e=r;return 1===e.tag?new es(1,e.fields[0]):new es(0,Zn(e.fields[0]))}{let a;const s=i(Gn(o));if(1===s.tag)a=new es(1,s.fields[0]);else{const e=r;a=1===e.tag?new es(1,e.fields[0]):new es(0,Ln(s.fields[0],e.fields[0]))}if(1===a.tag)return a;e=a,t=i,n=Hn(o);continue e}}}(new es(0,Bn()),e,t)}((e=>e),e)}class Im extends Ht{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class Em extends Ht{constructor(e,t){super(),this.Email=e,this.Phone=t}}function Am(e){let t;const n=e.Logo;if(null!=n){const e=function(e){try{const t=Vc.create(e);return t.isAbsoluteUri?[!0,t]:[!1,void 0]}catch(e){return[!1,void 0]}}(r=n)[0]?new es(0,new Qc(0,r)):new es(1,"Invalid logo url.");t=1===e.tag?new es(1,e.fields[0]):new es(0,e.fields[0])}else t=new es(0,void 0);var r,i;if(1===t.tag)return new es(1,t.fields[0]);{let n;const r=e.CompanyName;if(null!=r){const e=ln(i=r)?new es(1,"Invalid company name."):new es(0,new eu(0,i));n=1===e.tag?new es(1,e.fields[0]):new es(0,e.fields[0])}else n=new es(0,void 0);if(1===n.tag)return new es(1,n.fields[0]);{let r;const i=e.Support;if(null!=i){const e=function(e){let t;const n=e.Email;if(null!=n){const e=ts((e=>new nu(0,e)),ns(Fc,zc("Email",n)));t=1===e.tag?new es(1,e.fields[0]):new es(0,e.fields[0])}else t=new es(0,void 0);if(1===t.tag)return new es(1,t.fields[0]);{let n;const r=e.Phone;if(null!=r){const e=ts((e=>new ru(0,e)),zc("Phone",r));n=1===e.tag?new es(1,e.fields[0]):new es(0,e.fields[0])}else n=new es(0,void 0);return 1===n.tag?new es(1,n.fields[0]):new es(0,new tu(t.fields[0],n.fields[0]))}}(i);r=1===e.tag?new es(1,e.fields[0]):new es(0,e.fields[0])}else r=new es(0,void 0);return 1===r.tag?new es(1,r.fields[0]):new es(0,new Kc(n.fields[0],t.fields[0],r.fields[0]))}}}class Om extends Ht{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.NumberOfAttempts=0|n,this.DateOfLastAttempt=r}}class Tm extends Ht{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.SecondFactor=n,this.Branding=r}}class Nm extends Ht{constructor(e,t,n){super(),this.Id=e,this.DisplayName=t,this.ComponentTagName=n}}function Mm(e){return new es(0,new Jd(ah(e.Id),e.DisplayName,e.ComponentTagName))}class Pm extends Ht{constructor(e,t){super(),this.ActivatedDates=e,this.CompletedSteps=t}}class Dm extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}class Rm extends Ht{constructor(e,t,n){super(),this.Id=e,this.Name=t,this.Steps=n}}class jm extends Ht{constructor(e,t){super(),this.Name=e,this.Value=t}}function Bm(e){return function(e,t){const n=ln(r=e)?new es(1,"Tag name is empty"):r.length<100?new es(0,new Ch(0,r)):new es(1,"Tag name is too long");var r,i;if(1===n.tag)return new es(1,n.fields[0]);{const e=ln(i=t)?new es(1,"Tag value is empty"):i.length<100?new es(0,new xh(0,i)):new es(1,"Tag value is too long");return 1===e.tag?new es(1,e.fields[0]):new es(0,new _h(n.fields[0],e.fields[0]))}}(e.Name,e.Value)}class Lm extends Ht{constructor(e,t,n,r,i,o,a){super(),this.Id=0|e,this.DateCreated=t,this.Configuration=n,this.Status=r,this.Invite=i,this.Tags=o,this.Creator=a}}function Um(){return Ul("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceDto",[],Lm,(()=>[["Id",$l],["DateCreated",Ll("System.DateTime")],["Configuration",Ul("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessConfigDto",[],Rm,(()=>[["Id",Ll("System.Guid")],["Name",Wl],["Steps",Hl(Ul("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessStepConfigDto",[],Nm,(()=>[["Id",Wl],["DisplayName",Wl],["ComponentTagName",Wl]])))]]))],["Status",zl("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceStatusDto",[],Dm,(()=>[[],[["Item",Ul("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ActiveProcessInstanceDto",[],Pm,(()=>[["ActivatedDates",Hl(Ll("System.DateTime"))],["CompletedSteps",Hl(Fl(Wl,Ll("System.DateTime")))]]))]],[["Item",Ll("System.DateTime")]],[["Item",Ll("System.DateTime")]]]))],["Invite",Gl(Ul("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.InviteDto",[],Tm,(()=>[["Code",Wl],["DateIssued",Ll("System.DateTime")],["SecondFactor",Gl(Ul("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.SecondFactorDto",[],Om,(()=>[["Code",Wl],["DateIssued",Ll("System.DateTime")],["NumberOfAttempts",$l],["DateOfLastAttempt",Gl(Ll("System.DateTime"))]])))],["Branding",Gl(Ul("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.InviteBrandingDto",[],Im,(()=>[["CompanyName",Gl(Wl)],["Logo",Gl(Wl)],["Support",Gl(Ul("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.SupportDto",[],Em,(()=>[["Email",Gl(Wl)],["Phone",Gl(Wl)]])))]])))]])))],["Tags",Gl(Hl(Ul("Workflows.Business.Aggregates.ProcessInstanceList.Dto.TagDto",[],jm,(()=>[["Name",Wl],["Value",Wl]]))))],["Creator",Gl(Wl)]]))}function zm(e){let t;const n=function(e){const t=Sm(Jn(Mm,e.Steps));if(1===t.tag)return new es(1,t.fields[0]);{const n=function(e){const t=new ch(0,e);return br(t,ph.keys(),{Equals:ot,GetHashCode:nt})?new es(0,t):new es(1,"Invalid Type")}(e.Id);return 1===n.tag?new es(1,n.fields[0]):new es(0,new uh(n.fields[0],e.Name,t.fields[0]))}}(e.Configuration);if(1===n.tag)return new es(1,n.fields[0]);{const r=n.fields[0],i=function(e){switch(e.tag){case 1:{const t=function(e){const t=Sm(Jn((e=>new es(0,[ah(e[0]),e[1]])),e.CompletedSteps));return 1===t.tag?new es(1,t.fields[0]):new es(0,new gh(e.ActivatedDates,t.fields[0]))}(e.fields[0]);return 1===t.tag?new es(1,t.fields[0]):new es(0,new wh(1,t.fields[0]))}case 2:return new es(0,new wh(2,e.fields[0]));case 3:return new es(0,new wh(3,e.fields[0]));default:return new es(0,new wh(0))}}(e.Status);if(1===i.tag)return new es(1,i.fields[0]);{const n=i.fields[0];let o;if(1===n.tag){const e=n.fields[0],t=Sm(Jn((e=>{const t=[e[0],e[1]],n=t[0];return nr((e=>ot(e.Id,n)),r.Steps)?new es(0,[n,t[1]]):new es(1,"Step id is not configured for this Process Instance.")}),e.CompletedSteps));o=1===t.tag?new es(1,t.fields[0]):new es(0,new wh(1,new gh(e.ActivatedDates,t.fields[0])))}else o=new es(0,n);if(1===o.tag)return new es(1,o.fields[0]);{let n;const i=e.Invite;if(null!=i){const e=function(e){const t=qc(e.Code);if(1===t.tag)return new es(1,t.fields[0]);{let n;const r=e.SecondFactor;if(null!=r){const e=function(e){const t=Zc(e.Code);return 1===t.tag?new es(1,t.fields[0]):new es(0,new $c(t.fields[0],e.DateIssued,e.NumberOfAttempts,e.DateOfLastAttempt))}(r);n=1===e.tag?new es(1,e.fields[0]):new es(0,e.fields[0])}else n=new es(0,void 0);if(1===n.tag)return new es(1,n.fields[0]);{let r;const i=e.Branding;if(null!=i){const e=Am(i);r=1===e.tag?new es(1,e.fields[0]):new es(0,e.fields[0])}else r=new es(0,void 0);return 1===r.tag?new es(1,r.fields[0]):new es(0,new Jc(t.fields[0],e.DateIssued,n.fields[0],r.fields[0]))}}}(i);n=1===e.tag?new es(1,e.fields[0]):new es(0,e.fields[0])}else n=new es(0,void 0);if(1===n.tag)return new es(1,n.fields[0]);{let i;const a=e.Tags;if(null!=a){const e=Sm(Jn(Bm,a));i=1===e.tag?new es(1,e.fields[0]):new es(0,e.fields[0])}else i=new es(0,void 0);return 1===i.tag?new es(1,i.fields[0]):new es(0,new kh(yh(e.Id),r,e.DateCreated,o.fields[0],n.fields[0],i.fields[0],(t=e.Creator,null==t?void 0:Yd(t))))}}}}}class Fm extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompleteStep","Complete"]}}class Gm extends Ht{constructor(e,t,n){super(),this.CssOverrides=e,this.ProcessInstance=t,this.IsBenefitsEnabled=n}}class Hm extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompleteStep","Complete"]}}const Vm=zm;class Wm extends Ht{constructor(e,t,n){super(),this.CssOverrides=e,this.ProcessInstanceDto=t,this.IsBenefitsEnabled=n}}class Zm extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["WorkflowInstanceStepActivated","BenefitsStepActivated","BenefitsStepCompleted"]}}class $m extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PersonalDetails","EmergencyContacts","Bank","Tax","Super","WorkplaceLinking","BenefitsOnboarding"]}}class Ym extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Hidden","Incomplete","Complete"]}}function qm(e){return ot(e,Kd)?new es(0,new $m(0)):ot(e,Qd)?new es(0,new $m(1)):ot(e,eh)?new es(0,new $m(2)):ot(e,th)?new es(0,new $m(3)):ot(e,nh)?new es(0,new $m(4)):ot(e,rh)?new es(0,new $m(5)):new es(1,"Invalid step")}function Xm(e){switch(e.tag){case 1:return Qd;case 2:return eh;case 3:return th;case 4:return nh;case 5:return rh;case 6:return oh;default:return Kd}}function Jm(e){switch(e.tag){case 1:return"Emergency Contacts";case 2:return"Bank Details";case 3:return"Tax Details";case 4:return"Super Selection";case 5:return rh.DisplayName;case 6:return oh.DisplayName;default:return"Personal Details"}}function Km(e,t){const n=Sm(Jn(qm,e.Configuration.Steps));return 1===n.tag?new es(1,n.fields[0]):new es(0,(r=t,i=n.fields[0],0===r.tag?i:Xn(i,Un(new $m(6)))));var r,i}function Qm(e,t){const n=Sm(Jn(qm,function(e){const t=e.Status;switch(t.tag){case 2:return e.Configuration.Steps;case 3:case 0:return Bn();default:{const n=Jn((e=>e[0]),t.fields[0].CompletedSteps);return er((e=>tr(e.Id,n,{Equals:ot,GetHashCode:nt})),e.Configuration.Steps)}}}(e)));return 1===n.tag?new es(1,n.fields[0]):new es(0,(r=t,i=n.fields[0],2===r.tag?Xn(i,Un(new $m(6))):i));var r,i}class ep extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Initialising","StepList","Step","CompletedAllSteps","Oops","AllDone"]}}class tp extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ActivateCallback","ShowView","StepCompletionEventCallback","CompleteStep","CompleteWorkflow","SendAnalyticsEvent","AppendTrailingSlashToUrl","CompleteBenefitsOnboardingStep"]}}class np extends Ht{constructor(e,t,n,r,i,o){super(),this.ProfileId=e,this.ProcessInstanceId=t,this.ProcessInstance=n,this.CurrentView=r,this.CssOverrides=i,this.BenefitsOnboarding=o}}function rp(e,t){return Qa.Delay((()=>{const n=ml((r=rn(en("Bearer %s"))(e),new xu(0,"Authorization",r)),t);var r;let i;const o=gl(n);return i=Qa.Bind(o,(e=>Qa.Return(new es(0,e)))),Qa.Bind(i,(e=>{const t=e;if(1===t.tag)return Qa.Return(new es(1,t.fields[0]));{const e=t.fields[0];if(429===e.statusCode||e.statusCode>=500){const e=gl(n);return Qa.Bind(e,(e=>Qa.Return(new es(0,e))))}return Qa.Return(new es(0,e))}}))}))}function ip(e,t,n){return Qa.Delay((()=>{let r,i;const o=rp(n,(r=pl(new ku(1,(i=Un(function(e){return 1===e.tag?new Hm(1):new Hm(0,sh(e.fields[0]))}(e)),Sd(0,Ad(Hl(zl("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.ProcessInstanceCommandDto",[],Hm,(()=>[[["Item",Wl]],[]]))),new vl(1),void 0,void 0)(i)))),hl(new Cu(1),dl(function(e){const t=0|bh(e);return rn(en("%s/workflows/backend/%i"))(wu)(t)}(t)))),ml(ul("application/json"),r)));return Qa.Bind(o,(e=>{const t=e;if(1===t.tag)return Qa.Return(new es(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){let t;const n=Gf(ht(2,sd(Um(),new vl(1),void 0)),e.responseText);return t=1===n.tag?new es(1,n.fields[0]):Vm(n.fields[0]),Qa.Return(t)}return Qa.Return(new es(1,"Unexpected response from backend"))}}))}))}function op(e,t,n,r){let i,o,a,s,c,u,l,f,d,h,m,p;switch(n.tag){case 1:{const e=n.fields[0];return[new np(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,e,r.CssOverrides,r.BenefitsOnboarding),2===e.tag?(i=Xm(e.fields[0]),ot(i.Id,oh.Id)?ys(new tp(5,r.ProcessInstanceId,new Zm(1))):ys(new tp(5,r.ProcessInstanceId,new Zm(0,sh(i.Id))))):ps()]}case 5:return _s(function(e,t,n){let r;const i=Qa.Delay((()=>{let r;return rp(e,(r=pl(new ku(1,Sd(0,Ad(Hl(zl("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Write.WorkflowAnalyticsEventDto",[],Zm,(()=>[[["Item",Wl]],[],[]]))),new vl(1),void 0,void 0)(Un(n)))),hl(new Cu(1),dl(function(e){const t=0|bh(e);return rn(en("%s/workflows/backend/process-instances/%i/analytics-events"))(wu)(t)}(t)))),ml(ul("application/json"),r)))}));return r=Qa.Bind(i,(e=>{let t;const n=e;return t=1===n.tag?new es(1,n.fields[0]):new es(0,void n.fields[0]),Qa.Return(t)})),Qa.Bind(r,(e=>{let t;const n=e;return t=1===n.tag?void 0:n.fields[0],Qa.Return(t)}))}(e,n.fields[0],n.fields[1])),[r,ps()];case 2:{const e=r.ProcessInstance;let t,i;switch(2===e.tag&&0===e.fields[0].tag?(t=0,i=e.fields[0].fields[0]):t=1,t){case 0:return[r,(o=n.fields[0].target,a=!ot(r.BenefitsOnboarding,new Ym(0)),s=Sh(o.tagName,a,i),1===s.tag?ps():ot(s.fields[0].Id,ih)?ys(new tp(7)):ys(new tp(3,s.fields[0].Id,new Vs(0))))];case 1:return[r,ps()]}}case 7:{const e=r.ProcessInstance;let t,n;switch(2===e.tag&&0===e.fields[0].tag?ot(r.BenefitsOnboarding,new Ym(0))?t=1:(t=0,n=e.fields[0].fields[0]):t=1,t){case 0:return[new np(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,r.CurrentView,r.CssOverrides,new Ym(2)),ws(qn([ys(new tp(5,r.ProcessInstanceId,new Zm(2))),(l=[n,r.BenefitsOnboarding],u=Km(l[0],l[1]),c=1===u.tag?new es(1,u.fields[0]):new es(0,(f=u.fields[0],ys(new tp(1,new ep(3,f,f))))),1===c.tag?ys(new tp(1,new ep(4,c.fields[0]))):c.fields[0])]))];case 1:return[r,ps()]}}case 3:{const t=n.fields[0],i=n.fields[1];switch(i.tag){case 1:return[r,ps()];case 2:{const e=i.fields[0];let n,o;const a=e;if(1===a.tag)o=new es(1,a.fields[0]);else{const e=a.fields[0],t=Ih(e);let n;const i=[e,r.BenefitsOnboarding];if(n=Qm(i[0],i[1]),1===n.tag)o=new es(1,n.fields[0]);else{const i=n.fields[0];let a;const s=[e,r.BenefitsOnboarding];if(a=Km(s[0],s[1]),1===a.tag)o=new es(1,a.fields[0]);else{const e=a.fields[0];if(1===Fn(e))o=new es(0,new tp(4,new Vs(0)));else{const n=[t,r.BenefitsOnboarding];if(null==n[0])if(1===n[1].tag){const t=new $m(6);o=new es(0,new tp(1,new ep(2,t,t,i,e)))}else o=new es(0,new tp(1,new ep(3,i,e)));else{const t=qm(n[0]);o=1===t.tag?new es(1,t.fields[0]):new es(0,(d=t.fields[0],new tp(1,new ep(2,d,d,i,e))))}}}}}n=1===o.tag?new tp(1,new ep(4,o.fields[0])):o.fields[0];const s=e;return 1===s.tag?s.fields[0]:function(e,t,n){const r=function(e,t){const n=Kn((t=>ot(t.Id,e)),t.Configuration.Steps),r=rn(tn("Invalid ProcessStep Id %A%P()",[e])),i=n;return null==i?new es(1,r):new es(0,i)}(e,t);1===r.tag||gm(function(e,t,n,r){const i={type:"stepSubmitSuccess",sender:"flare"};return i.workflow=pm(n),i.profileId=qd(r),i.step={name:t,type:sh(e)},i}(e,r.fields[0].DisplayName,t,n))}(t,s.fields[0],r.ProfileId),[new np(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),ys(n)]}case 3:return[new np(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),ys(new tp(1,new ep(4,i.fields[0].message)))];default:return[r,bs((e=>{_s(e)}),(e=>function(e,t,n){return ip(new Fm(0,t),e,n)}(r.ProcessInstanceId,t,e)),e,(e=>new tp(3,t,new Vs(2,e))),(e=>new tp(3,t,new Vs(3,e))))]}}case 4:{const i=n.fields[0];switch(i.tag){case 1:return[r,ps()];case 2:{const e=i.fields[0];if(1===e.tag)return[new np(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),ys(new tp(1,new ep(4,e.fields[0])))];{const n=e.fields[0];return vm(n,r.ProfileId),[new np(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),(h=[t,(m=[n,r.BenefitsOnboarding],w=m[0],v=m[1],Fn(w.Configuration.Steps)+(0===v.tag?0:1))],1===h[0].tag?1===h[1]?ps():ys(new tp(1,new ep(5))):ps())]}}case 3:return[new np(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),ys(new tp(1,new ep(4,i.fields[0].message)))];default:{const t=r.ProcessInstance;let n,i;switch(2===t.tag&&0===t.fields[0].tag&&2===t.fields[0].fields[0].Status.tag?(n=0,i=t.fields[0].fields[0]):n=1,n){case 0:return vm(i,r.ProfileId),[r,ps()];case 1:return[r,bs((e=>{_s(e)}),(e=>function(e,t){return ip(new Fm(1),e,t)}(r.ProcessInstanceId,e)),e,(e=>new tp(4,new Vs(2,e))),(e=>new tp(4,new Vs(3,e))))]}}}}case 6:return[r,(p=window.location.pathname+"/"+window.location.search+window.location.hash,vs((e=>{lu(Un(p),1,2)})))];default:{const e=n.fields[0];let t;switch(e.tag){case 3:t=[r,ys(new tp(1,new ep(4,e.fields[0].message)))];break;case 0:case 1:t=[r,ps()];break;default:{let n,i;const o=e.fields[0];if(1===o.tag)i=new es(1,o.fields[0]);else{const e=o.fields[0],t=(g=e.IsBenefitsEnabled,new Ym(g?1:0));let n;const a=[e.ProcessInstance,t];if(n=Qm(a[0],a[1]),1===n.tag)i=new es(1,n.fields[0]);else{const o=n.fields[0];let a;const s=[e.ProcessInstance,t];if(a=Km(s[0],s[1]),1===a.tag)i=new es(1,a.fields[0]);else{const n=a.fields[0],s=e=>{const t=[pu.clientWidth<640,Fn(n)];return 1===t[1]?(document.title=Jm(e),new ep(2,e,e,o,n)):new ep(t[0]?1:2,e,e,o,n)};let c;const u=[Ih(e.ProcessInstance),t];if(null==u[0])c=1===u[1].tag?new es(0,s(new $m(6))):new es(0,new ep(3,o,n));else{const e=qm(u[0]);c=1===e.tag?new es(1,e.fields[0]):new es(0,s(e.fields[0]))}i=1===c.tag?new es(1,c.fields[0]):new es(0,[new np(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,r.CurrentView,e.CssOverrides,t),c.fields[0]])}}}n=1===i.tag?[r,new ep(4,i.fields[0])]:i.fields[0],t=[n[0],ys(new tp(1,n[1]))]}}const i=t[0];return[new np(i.ProfileId,i.ProcessInstanceId,Ws((e=>{const t=e;return 1===t.tag?new es(1,t.fields[0]):new es(0,t.fields[0].ProcessInstance)}),e),i.CurrentView,i.CssOverrides,i.BenefitsOnboarding),t[1]]}}var g,w,v}var ap;function sp(){return sp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sp.apply(this,arguments)}const cp=function(e){return d("svg",sp({width:17,height:14,xmlns:"http://www.w3.org/2000/svg"},e),ap||(ap=d("path",{d:"m2 8 4 4 9-10",strokeWidth:3,stroke:"#FFF",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"})))};var up,lp,fp;function dp(){return dp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dp.apply(this,arguments)}const hp=function(e){return d("svg",dp({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),up||(up=d("path",{d:"M11.208 17.438a3.635 3.635 0 1 0 0-7.271 3.635 3.635 0 0 0 0 7.27Zm0-5.857a2.229 2.229 0 1 1 0 4.457 2.229 2.229 0 0 1 0-4.457ZM11.208 18.78a5.455 5.455 0 0 0-3.952 1.653c-1.054 1.076-1.631 2.538-1.631 4.127a.705.705 0 0 0 .703.703h9.76a.705.705 0 0 0 .703-.703c0-1.589-.577-3.051-1.632-4.127a5.455 5.455 0 0 0-3.951-1.652ZM7.08 23.858c.12-.92.535-1.775 1.182-2.44a4.142 4.142 0 0 1 5.892 0 4.322 4.322 0 0 1 1.181 2.44H7.08Z",fill:"#000"})),lp||(lp=d("path",{d:"M31.36 5.273H4.64A3.517 3.517 0 0 0 1.126 8.79v17.86a3.517 3.517 0 0 0 3.516 3.515h26.718a3.517 3.517 0 0 0 3.516-3.516V8.79a3.517 3.517 0 0 0-3.516-3.516Zm2.109 21.375a2.116 2.116 0 0 1-2.11 2.11H4.641a2.116 2.116 0 0 1-2.11-2.11V8.79a2.116 2.116 0 0 1 2.11-2.11h26.718a2.116 2.116 0 0 1 2.11 2.11v17.86Z",fill:"#000"})),fp||(fp=d("path",{d:"M29.63 17.016h-8.192a.703.703 0 0 0 0 1.406h8.192a.703.703 0 1 0 0-1.406ZM29.63 21.516h-8.192a.703.703 0 0 0 0 1.406h8.192a.703.703 0 1 0 0-1.406ZM29.63 12.516h-8.192a.703.703 0 0 0 0 1.406h8.192a.703.703 0 1 0 0-1.406Z",fill:"#000"})))};var mp,pp;function gp(){return gp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gp.apply(this,arguments)}const wp=function(e){return d("svg",gp({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),mp||(mp=d("g",{clipPath:"url(#icon-emergency-contacts_svg__a)",fill:"#000"},d("path",{d:"M30.223 24.427c-.204-.15-5.051-3.656-9.3-2.538a.528.528 0 0 0-.272.174c-.078.095-1.718 2.102-2.065 3.967a9.392 9.392 0 0 1-1.224-.462c-.979-.444-2.476-1.305-4.055-2.884-.907-.907-1.66-1.825-2.238-2.73a.528.528 0 0 0-.89.568c.62.969 1.421 1.948 2.382 2.908 3.286 3.286 6.286 3.757 6.412 3.775a.527.527 0 0 0 .604-.522c0-.378.106-.802.27-1.231 1.318.114 5.928.678 9.431 3.139-.465 1.981-1.643 3.71-3.38 4.893-2.258 1.54-5.028 1.871-7.6.91-3.69-1.378-7.087-3.602-10.093-6.608C5.2 24.78 2.976 21.385 1.596 17.692c-.96-2.572-.628-5.342.912-7.6C3.69 8.354 5.418 7.176 7.4 6.711c2.461 3.503 3.025 8.113 3.14 9.432-.43.164-.854.27-1.232.27a.527.527 0 0 0-.528.54c.002.062.024.637.388 1.594a.527.527 0 1 0 .986-.374 6.108 6.108 0 0 1-.237-.76c1.876-.33 3.915-1.996 4.01-2.074a.528.528 0 0 0 .175-.273c1.117-4.247-2.388-9.095-2.538-9.3a.527.527 0 0 0-.355-.21c-.676-.091-1.36-.132-2.032-.12-3.068.05-5.816 1.53-7.541 4.06C-.1 12.043-.474 15.164.608 18.06c1.433 3.835 3.738 7.358 6.85 10.47 3.115 3.115 6.638 5.42 10.472 6.852 1.09.407 2.21.608 3.321.608a9.27 9.27 0 0 0 5.242-1.636c2.53-1.725 4.011-4.473 4.062-7.541.01-.672-.03-1.356-.121-2.032a.528.528 0 0 0-.211-.355ZM9.193 6.491c.545-.008 1.098.02 1.646.083.594.879 3.037 4.76 2.283 8.06-.347.27-.922.675-1.566 1.03-.174-1.698-.807-5.756-3.008-9.137.213-.02.428-.032.645-.036Zm11.133 17.944c.356-.644.76-1.22 1.032-1.566 3.3-.754 7.18 1.69 8.059 2.282.063.55.091 1.102.083 1.646a8.672 8.672 0 0 1-.036.646c-3.381-2.201-7.44-2.834-9.138-3.008Z"}),d("path",{d:"M26.97.009c-4.98 0-9.03 4.05-9.03 9.03 0 2.346.885 4.549 2.5 6.236-.175.716-.438 1.628-.781 2.366a1.34 1.34 0 0 0 .109 1.333 1.347 1.347 0 0 0 1.207.593c1.116-.07 2.669-.435 3.898-1.744a9.03 9.03 0 0 0 8.912-2.86.528.528 0 0 0-.796-.693 7.975 7.975 0 0 1-8.156 2.454.528.528 0 0 0-.547.171c-1.02 1.227-2.399 1.558-3.376 1.619a.299.299 0 0 1-.27-.134.293.293 0 0 1-.025-.293c.429-.922.737-2.062.92-2.856a.528.528 0 0 0-.145-.496 7.914 7.914 0 0 1-2.395-5.696c0-4.398 3.577-7.975 7.975-7.975 4.397 0 7.975 3.577 7.975 7.975a7.882 7.882 0 0 1-.855 3.596.527.527 0 1 0 .94.477c.644-1.27.97-2.64.97-4.073 0-4.98-4.051-9.03-9.03-9.03Z"}),d("path",{d:"M31.554 6.184h-9.168a.528.528 0 1 0 0 1.055h9.168a.528.528 0 0 0 0-1.055ZM31.554 8.71h-9.168a.528.528 0 1 0 0 1.055h9.168a.528.528 0 0 0 0-1.055ZM31.554 11.236h-9.168a.528.528 0 1 0 0 1.055h9.168a.528.528 0 0 0 0-1.055Z"}))),pp||(pp=d("defs",null,d("clipPath",{id:"icon-emergency-contacts_svg__a"},d("path",{fill:"#fff",d:"M0 0h36v36H0z"})))))};var vp,yp,bp;function _p(){return _p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_p.apply(this,arguments)}const Cp=function(e){return d("svg",_p({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),vp||(vp=d("path",{d:"M18.47 19.647a.562.562 0 0 0-.202-.007 1.343 1.343 0 0 1-1.188-1.33.59.59 0 0 0-1.18 0 2.526 2.526 0 0 0 1.857 2.431v.591a.59.59 0 0 0 1.18 0v-.555a2.521 2.521 0 0 0-.516-4.99 1.34 1.34 0 1 1 1.34-1.34.59.59 0 0 0 1.182 0 2.526 2.526 0 0 0-2.005-2.468v-.538a.59.59 0 0 0-1.181 0v.573a2.522 2.522 0 0 0 .664 4.954 1.34 1.34 0 0 1 .049 2.68Z",fill:"#000"})),yp||(yp=d("path",{d:"M9.858 16.423a8.563 8.563 0 1 0 8.563-8.562 8.573 8.573 0 0 0-8.563 8.562Zm8.563-7.381a7.382 7.382 0 1 1-7.382 7.381 7.39 7.39 0 0 1 7.382-7.381Z",fill:"#000"})),bp||(bp=d("path",{d:"m29.895 26.442-4.626 2.186a3.768 3.768 0 0 0-3.212-1.982l-4.27-.118a4.51 4.51 0 0 1-1.94-.5l-.435-.226a7.664 7.664 0 0 0-7.1.008l.028-.985a.59.59 0 0 0-.574-.607l-4.683-.128a.59.59 0 0 0-.606.574l-.283 10.275a.59.59 0 0 0 .574.607l4.683.129h.016a.59.59 0 0 0 .59-.575l.014-.491 1.216-.651a2.086 2.086 0 0 1 1.557-.17l7.265 2.038a7.779 7.779 0 0 0 1.635.174 7.879 7.879 0 0 0 3.29-.718.561.561 0 0 0 .074-.04l10.533-6.813a.59.59 0 0 0 .193-.787 2.983 2.983 0 0 0-3.94-1.2ZM3.39 34.382l.25-9.096 3.502.097-.25 9.095-3.502-.096Zm19.112-.155a6.695 6.695 0 0 1-4.094.457l-7.245-2.034a3.266 3.266 0 0 0-2.434.267l-.622.333.167-6.048a6.491 6.491 0 0 1 6.594-.351l.434.225c.76.392 1.597.608 2.452.633l4.27.117a2.59 2.59 0 0 1 2.462 2.064l-6.361-.175a.59.59 0 0 0-.033 1.18l7.02.194h.016a.59.59 0 0 0 .59-.575 3.746 3.746 0 0 0-.057-.766l4.745-2.242.014-.006a1.804 1.804 0 0 1 2.04.285l-9.958 6.442ZM19.012 6.2V.59a.59.59 0 0 0-1.182 0V6.2a.59.59 0 0 0 1.182 0ZM23.44 6.2V3.543a.59.59 0 0 0-1.18 0V6.2a.59.59 0 0 0 1.18 0ZM14.583 6.2V3.543a.59.59 0 0 0-1.181 0V6.2a.59.59 0 0 0 1.18 0Z",fill:"#000"})))};var xp,kp;function Sp(){return Sp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sp.apply(this,arguments)}const Ip=function(e){return d("svg",Sp({viewBox:"0 0 34 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),xp||(xp=d("path",{d:"M16.9 5.158a1.92 1.92 0 0 0-.006-.012c-.109-.208-.363-.343-.648-.343h-.001c-.286 0-.54.135-.648.344l-.005.01-2.406 4.995c-.109.227.035.48.322.567.287.086.608-.028.717-.254l.463-.961h3.098l.457.96c.085.175.296.284.52.284.066 0 .132-.01.197-.029.287-.085.432-.339.323-.566L16.9 5.158ZM15.11 8.625l1.133-2.352 1.122 2.352h-2.255ZM23.533 7.596l1.871-2.1c.177-.199.117-.473-.134-.613s-.598-.092-.774.106l-1.642 1.843-1.639-1.842c-.177-.199-.523-.247-.774-.107s-.312.414-.135.612l1.868 2.1-2.191 2.46c-.177.199-.117.473.134.613.097.054.21.08.32.08a.61.61 0 0 0 .454-.187l1.963-2.202 1.959 2.202a.61.61 0 0 0 .455.187.66.66 0 0 0 .319-.08c.251-.14.311-.414.135-.612l-2.189-2.46ZM12.271 4.803H8.733c-.307 0-.556.197-.556.44 0 .242.25.439.556.439H9.94v4.626c0 .243.249.44.556.44.307 0 .556-.197.556-.44V5.682h1.22c.307 0 .556-.197.556-.44 0-.242-.25-.439-.556-.439ZM6.648 22.468c.338 0 .478.1.733.284.3.216.712.513 1.48.513s1.18-.297 1.48-.513c.255-.183.395-.284.734-.284.338 0 .478.1.732.284.3.216.713.513 1.481.513.307 0 .556-.197.556-.44s-.249-.44-.556-.44c-.338 0-.478-.1-.733-.283-.3-.217-.712-.513-1.48-.513-.769 0-1.18.296-1.481.513-.255.183-.395.284-.733.284-.338 0-.478-.101-.732-.284-.3-.217-.712-.513-1.48-.513-.308 0-.556.197-.556.44 0 .242.248.439.555.439ZM6.648 24.233c.338 0 .478.1.733.284.3.216.712.513 1.48.513s1.18-.297 1.48-.513c.255-.183.395-.284.734-.284.338 0 .478.101.732.284.3.216.713.513 1.481.513.307 0 .556-.197.556-.44 0-.242-.249-.44-.556-.44-.338 0-.478-.1-.733-.283-.3-.216-.712-.513-1.48-.513-.769 0-1.18.297-1.481.513-.255.183-.395.284-.733.284-.338 0-.478-.1-.732-.284-.3-.216-.712-.513-1.48-.513-.308 0-.556.197-.556.44 0 .242.248.44.555.44ZM7.38 26.282c.301.217.713.513 1.481.513.768 0 1.18-.296 1.48-.513.255-.183.395-.284.734-.284.338 0 .478.101.732.284.3.217.713.513 1.481.513.307 0 .556-.197.556-.44 0-.242-.249-.439-.556-.439-.338 0-.478-.1-.733-.284-.3-.216-.712-.513-1.48-.513-.769 0-1.18.297-1.481.513-.255.183-.395.284-.733.284-.338 0-.478-.1-.732-.284-.3-.216-.712-.513-1.48-.513-.308 0-.556.197-.556.44s.248.44.555.44c.338 0 .478.1.733.283Z",fill:"#000"})),kp||(kp=d("path",{d:"M33.415 10.084a.357.357 0 0 0-.008-.039c-.343-2.034-1.647-3.067-3.908-4.638-.03-.343-.061-.668-.094-.984-.116-1.157-1.262-2.086-2.724-2.21-1.12-.093-2.25-.171-3.359-.232-2.168-.943-4.308-1.624-6.197-1.97a.699.699 0 0 0-.25 0c-1.891.347-4.031 1.028-6.196 1.97-1.129.062-2.259.14-3.36.233-1.462.123-2.607 1.052-2.724 2.208-.032.319-.063.643-.094.984-2.29 1.591-3.424 2.5-3.91 4.647a.337.337 0 0 0-.005.029v.005a63.15 63.15 0 0 0 0 17.158c.172 1.257 1.45 2.24 3.039 2.34.366.023.732.045 1.097.065.013 0 3.521.116 1.427.116.289 0 1.676.078 1.725-.465.022-.242-.559-.395-.865-.412-.362-.02-2.933-.158-3.297-.18-1.051-.066-1.899-.716-2.02-1.548v-.003c-.159-1.438 1.85-4.039 5.12-6.628.216-.172.216-.45-.001-.622a.664.664 0 0 0-.786.001c-1.775 1.406-3.595 3.17-4.619 4.796a62.456 62.456 0 0 1 .044-12.533c.805.986 1.999 1.93 2.864 2.55.206.148.421.298.635.442.065.045.132.089.2.133l.011.008a36.255 36.255 0 0 0 4.472 2.503c2.531 1.194 5.035 2.039 7.243 2.443a.7.7 0 0 0 .25 0c2.248-.412 4.797-1.278 7.371-2.504a37.96 37.96 0 0 0 1.767-.9 33.745 33.745 0 0 0 2.807-1.696c.206-.139.413-.284.616-.43.866-.62 2.06-1.564 2.864-2.55.435 4.166.449 8.365.044 12.534-1.024-1.625-2.844-3.39-4.619-4.796a.664.664 0 0 0-.786 0c-.217.171-.217.45 0 .621 3.269 2.589 5.278 5.19 5.119 6.628v.006c-.123.83-.97 1.48-2.02 1.545-7.72.48-15.552.541-23.279.18-.307-.015-.57.17-.587.412-.018.243.215.45.522.465a215.472 215.472 0 0 0 23.431-.181c1.589-.1 2.867-1.083 3.04-2.34.78-5.694.78-11.468 0-17.162ZM17 .89c1.1.21 2.29.538 3.524.97a115.812 115.812 0 0 0-7.049 0A24.836 24.836 0 0 1 17 .892ZM1.689 10.193c.354-1.553 1.01-2.299 2.708-3.533a92.655 92.655 0 0 0-.267 6.705c-1.613-1.296-2.528-2.47-2.441-3.172Zm28.182 3.171a91.19 91.19 0 0 0-.059-2.977c-.009-.243-.266-.434-.571-.427-.307.007-.549.21-.54.452.045 1.25.064 2.524.057 3.787-.136.096-.273.191-.41.284a32.633 32.633 0 0 1-2.713 1.64c-.555.3-1.13.594-1.713.87-2.426 1.157-4.817 1.978-6.922 2.378-2.066-.393-4.414-1.192-6.798-2.318a35.088 35.088 0 0 1-4.328-2.421l-.012-.008-.188-.127c-.146-.098-.29-.197-.431-.297a91.783 91.783 0 0 1 .46-9.707c.074-.736.803-1.327 1.733-1.405a114.117 114.117 0 0 1 19.128 0c.93.078 1.66.669 1.733 1.405a92.098 92.098 0 0 1 .325 4.17c.014.242.276.43.58.42.306-.011.544-.216.53-.459-.035-.654-.08-1.31-.13-1.963 1.736 1.261 2.468 2.065 2.708 3.523.096.7-.82 1.878-2.44 3.18Z",fill:"#000"})))};var Ep,Ap,Op;function Tp(){return Tp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tp.apply(this,arguments)}const Np=function(e){return d("svg",Tp({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ep||(Ep=d("path",{d:"M29.707 19.027a.524.524 0 0 0-.524.524.666.666 0 0 1-1.33 0 .524.524 0 1 0-1.048 0c0 .945.769 1.713 1.713 1.713.945 0 1.713-.768 1.713-1.713a.524.524 0 0 0-.524-.523Z",fill:"#000"})),Ap||(Ap=d("path",{d:"m34.625 19.113-1.475-.472a.617.617 0 0 1-.398-.404 9.507 9.507 0 0 0-1.394-2.757c-.28-.383-.59-.75-.93-1.098a13 13 0 0 0 .32-2.968c-.022-1.335-.29-2.118-.816-2.394-.284-.148-1.147-.6-5.82 1.539a1.7 1.7 0 0 0-.31.184 20.386 20.386 0 0 0-.961-.233l-.119-.024c.379-.827.6-1.726.641-2.654a.524.524 0 1 0-1.046-.046 6.087 6.087 0 0 1-3.989 5.45 15.196 15.196 0 0 0-4.217 0 6.066 6.066 0 0 1-2.207-1.41 6.063 6.063 0 0 1-1.787-4.315c0-1.63.635-3.163 1.787-4.316a6.063 6.063 0 0 1 4.316-1.787c1.63 0 3.163.634 4.315 1.787.463.463.846.992 1.138 1.571a.524.524 0 1 0 .936-.471 7.143 7.143 0 0 0-1.333-1.84A7.104 7.104 0 0 0 16.22.36c-1.91 0-3.706.744-5.057 2.094A7.104 7.104 0 0 0 9.07 7.511c0 1.91.744 3.705 2.094 5.056.39.39.814.725 1.262 1.005a14.8 14.8 0 0 0-.968.287.524.524 0 0 0 .332.994 14.06 14.06 0 0 1 8.862 0 .524.524 0 1 0 .332-.994 14.74 14.74 0 0 0-.969-.287 7.148 7.148 0 0 0 2.175-2.126 19.451 19.451 0 0 1 .99.219l-.016.069c-.256 1.212-.239 2.284.05 3.187a3.792 3.792 0 0 0 1.389 1.953c.78.571 1.724.818 2.578.818.643 0 1.236-.14 1.672-.386.492-.28.905-.867 1.231-1.75a8.458 8.458 0 0 1 1.67 2.995c.162.517.565.923 1.078 1.088l1.474.472c.387.124.647.48.647.886v2.446c0 .406-.26.762-.646.886l-2.376.76a1.62 1.62 0 0 0-.906.737c-.934 1.613-2.401 2.947-4.362 3.967a.821.821 0 0 0-.43.579L25.47 34.4a.236.236 0 0 1-.231.191h-2.474a.235.235 0 0 1-.231-.191l-.422-2.227a.823.823 0 0 0-.936-.662 21.909 21.909 0 0 1-5.665.107.83.83 0 0 0-.908.666l-.4 2.116a.236.236 0 0 1-.231.191h-2.475a.236.236 0 0 1-.231-.193l-.733-3.805a.822.822 0 0 0-.422-.572C6.768 28.237 5 25.256 5 21.4c0-1.948.426-3.671 1.266-5.12.785-1.354 1.93-2.472 3.406-3.325a.524.524 0 0 0-.525-.907c-2.86 1.654-4.585 4.207-5.06 7.449l-.152-.014a2.61 2.61 0 0 0-.192-1.046c-.303-.755-.928-1.3-1.59-1.389-.522-.07-1.019.152-1.364.607-.5.66-.418 1.184-.262 1.506.264.543.942.928 2.068 1.17a2.05 2.05 0 0 1-.102.14c-.665.834-1.449 1.018-1.958 1.035a.55.55 0 0 0-.536.548v.002c0 .294.232.534.526.547.037.002.077.003.117.003.644 0 1.678-.237 2.67-1.482.157-.197.285-.404.383-.618l.285.03v-.001c-.018.284-.028.572-.028.865 0 2.181.52 4.127 1.546 5.782.945 1.525 2.3 2.775 4.025 3.714l.713 3.7a1.284 1.284 0 0 0 1.26 1.044h2.475c.616 0 1.146-.44 1.26-1.044l.362-1.913a23.016 23.016 0 0 0 5.528-.104l.382 2.017a1.284 1.284 0 0 0 1.26 1.044h2.475c.616 0 1.146-.439 1.26-1.044l.742-3.923c2.093-1.107 3.67-2.561 4.69-4.323a.572.572 0 0 1 .318-.262l2.376-.761A1.973 1.973 0 0 0 36 23.442v-2.445c0-.863-.553-1.62-1.375-1.884Zm-5.004-6.227c-.201 1.725-.742 3.2-1.286 3.508-.618.35-2.044.417-3.115-.366-1.072-.784-1.429-2.194-1.032-4.078a.632.632 0 0 1 .36-.438c2.623-1.2 4.135-1.594 4.697-1.594.084 0 .147.01.19.026.168.18.39 1.202.186 2.942Zm-28.15 5.817c-.054-.112.074-.308.155-.415.129-.17.247-.205.336-.205a.39.39 0 0 1 .053.004c.241.032.579.297.757.741.043.105.097.278.11.495-.725-.15-1.289-.367-1.411-.62Z",fill:"#000"})),Op||(Op=d("path",{d:"M16.729 6.91V5.035c.646.046.887.342 1.108.342.277 0 .407-.35.407-.526 0-.453-.887-.647-1.515-.665v-.25c0-.11-.139-.212-.277-.212-.157 0-.268.101-.268.212v.268c-.878.092-1.755.554-1.755 1.718 0 1.182.923 1.515 1.755 1.81v2.17c-.942-.073-1.192-.72-1.497-.72-.23 0-.424.305-.424.527 0 .452.776 1.071 1.92 1.09v.286c0 .11.112.212.269.212.138 0 .277-.101.277-.212v-.314c.997-.139 1.68-.767 1.68-1.903 0-1.256-.877-1.662-1.68-1.958Zm-.49-.175c-.49-.185-.887-.379-.887-.905 0-.48.37-.712.887-.776v1.68Zm.434 3.15v-1.95c.453.194.813.453.813 1.035 0 .526-.314.822-.813.914Z",fill:"#000"})))};var Mp,Pp;function Dp(){return Dp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dp.apply(this,arguments)}const Rp=function(e){return d("svg",Dp({viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Mp||(Mp=d("g",{clipPath:"url(#icon-benefits-onboarding_svg__a)",fill:"#000"},d("path",{d:"m20.195 4.67-2.8-4a.4.4 0 0 0-.328-.17h-8.8a.4.4 0 0 0-.328.17l-2.8 4a.4.4 0 0 0 .045.513l7.2 7.2a.399.399 0 0 0 .566 0l7.2-7.2a.4.4 0 0 0 .045-.512Zm-7.528 6.864-6.68-6.68L8.475 1.3h8.384l2.487 3.554-6.68 6.68Z"}),d("path",{d:"M19.467 4.5h-14v.8h14v-.8Z"}),d("path",{d:"m15.094 4.755-2.427 6.241-2.427-6.241-.746.29 2.8 7.2a.4.4 0 0 0 .745 0l2.8-7.2-.745-.29Z"}),d("path",{d:"M16.695.752 15.37 4.065 12.995.67c-.15-.214-.506-.214-.656 0L9.964 4.065 8.638.752l-.742.297 1.6 4a.4.4 0 0 0 .699.08l2.472-3.531 2.473 3.531a.399.399 0 0 0 .698-.08l1.6-4-.742-.297ZM3.467 4.5h-2.8v.8h2.8v-.8ZM2.889.567l-.444.665 2.4 1.6.444-.665-2.4-1.6ZM4.846 6.968l-2.4 1.6.443.666 2.4-1.6-.443-.666ZM24.667 4.5h-2.8v.8h2.8v-.8ZM22.446.568l-2.4 1.6.443.665 2.4-1.6-.443-.665ZM20.49 6.965l-.444.666 2.4 1.6.444-.666-2.4-1.6ZM23.962 13.816a1.598 1.598 0 0 0-1.786.003L16.542 17.7h-6.475a.6.6 0 0 1 0-1.2h3.002c1.371 0 2.532-.98 2.761-2.336l.064-.4a.4.4 0 0 0-.395-.464H8.415c-.442 0-.877.15-1.226.42l-3.168 2.464.492.632 3.167-2.464c.21-.162.47-.252.735-.252h6.613a1.994 1.994 0 0 1-1.96 1.6h-3c-.773 0-1.4.628-1.4 1.4 0 .772.627 1.4 1.4 1.4h6.6a.4.4 0 0 0 .226-.07l5.732-3.95a.798.798 0 0 1 1.241.656v.347a.8.8 0 0 1-.335.646l-6.225 4.395-10.315 1.983.15.786 10.4-2a.406.406 0 0 0 .156-.066l6.297-4.445c.418-.298.67-.783.672-1.298v-.35a1.6 1.6 0 0 0-.706-1.318Z"}),d("path",{d:"m7.825 23.121-4-8a.402.402 0 0 0-.58-.154l-2.4 1.6a.4.4 0 0 0-.178.333v7.2c0 .221.18.4.4.4h4.8a.404.404 0 0 0 .18-.042l1.6-.8a.4.4 0 0 0 .178-.537Zm-2.052.579H1.467v-6.586l1.845-1.23 3.618 7.237-1.157.579Z"}),d("path",{d:"M3.467 20.5c-.662 0-1.2.538-1.2 1.2 0 .662.538 1.2 1.2 1.2.662 0 1.2-.538 1.2-1.2 0-.662-.538-1.2-1.2-1.2Zm0 1.6a.4.4 0 1 1 0-.8.4.4 0 0 1 0 .8Z"}))),Pp||(Pp=d("defs",null,d("clipPath",{id:"icon-benefits-onboarding_svg__a"},d("path",{fill:"#fff",transform:"translate(.667 .5)",d:"M0 0h24v24H0z"})))))};class jp extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Height","Width"]}}function Bp(e){const t=Rd(e,1);return d(cp,t)}class Lp extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Active","Complete","Editing","ReadyToComplete","ToComplete"]}}class Up extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ToBeCompleted","CompletedAll"]}}function zp(e){let t,n;if(1===e.tag?(t=0,n=e.fields[2]):(t=0,n=e.fields[3]),0===t)return n}function Fp(e,t){const n=t.state;return 1===n.tag?ot(n.fields[0],e)?new Lp(2):new Lp(1):function(e,t,n,r){let i;switch(i=tr(e,r,{Equals:ot,GetHashCode:nt})?ot(t,e)?1:ot(n,e)?2:3:ot(t,e)?0:ot(n,e)?2:4,i){case 0:return new Lp(0);case 1:return new Lp(2);case 2:return new Lp(3);case 3:return new Lp(1);case 4:return new Lp(4)}}(e,n.fields[0],n.fields[1],n.fields[2])}function Gp(e,t,n){let r;t.dispatch((r=t.state,1===r.tag?new tp(1,new ep(2,e,void 0,r.fields[1],r.fields[2])):new tp(1,new ep(2,e,r.fields[1],r.fields[2],r.fields[3]))))}function Hp(e,t){switch(t.tag){case 1:return function(e){const t=Rd(e,1);return d(wp,t)}([new jp(0,e),new jp(1,e)]);case 2:return function(e){const t=Rd(e,1);return d(Cp,t)}([new jp(0,e),new jp(1,e)]);case 3:return function(e){const t=Rd(e,1);return d(Ip,t)}([new jp(0,e),new jp(1,e)]);case 4:return function(e){const t=Rd(e,1);return d(Np,t)}([new jp(0,e),new jp(1,e)]);case 5:return null;case 6:return function(e){const t=Rd(e,1);return d(Rp,t)}([new jp(0,e),new jp(1,e)]);default:return function(e){const t=Rd(e,1);return d(hp,t)}([new jp(0,e),new jp(1,e)])}}function Vp(e){const t=wr(dr((()=>{const t=zp(e.state);return yr(xr((n=>function(e,t,n){return d("div",ft(wr(dr((()=>yr(pr(["className",fn(" ",["grid","grid-cols-12","mb-3","items-center"])]),dr((()=>{let r,i,o,a,s,c;return yr(pr((r=[d("div",ft(qn([["className",fn(" ",["col-span-2","sm:col-span-3"])],(i=wr(dr((()=>{let r;return yr(pr(d("div",ft(qn([["className",fn(" ",wr(dr((()=>{switch(Fp(e,t).tag){case 4:default:return pr("fl-step-tick-to-complete");case 0:return pr("fl-step-tick-active");case 1:case 2:return pr("fl-step-tick-complete-or-editing")}}))))],(r=[Bp([["className",fn(" ",wr(dr((()=>yr(pr("-mt-2"),dr((()=>yr(pr("scale-75"),dr((()=>yr(pr("inline-block"),dr((()=>{switch(Fp(e,t).tag){case 4:case 0:default:return pr("invisible");case 1:case 2:return pr("visible")}})))))))))))))]])],["children",Er.Children.toArray(Array.from(r))])])))),dr((()=>n?mr():pr(d("div",{className:fn(" ",["fl-step-tick-progress-bar"])})))))}))),["children",Er.Children.toArray(Array.from(i))])]))),d("div",ft(qn([["className",fn(" ",["col-span-10","sm:col-span-9"])],(o=[d("button",ft(qn([["className",fn(" ",wr(dr((()=>yr(pr("whitespace-nowrap"),dr((()=>yr(pr("border"),dr((()=>yr(pr("inline-flex"),dr((()=>yr(pr("w-full"),dr((()=>yr(pr("rounded-md"),dr((()=>yr(pr("items-center"),dr((()=>{switch(Fp(e,t).tag){case 3:case 1:return pr("fl-step-btn-ready-or-complete");case 0:case 2:return pr("fl-step-btn-active-or-editing");default:return pr(rn(en("%s %s"))("opacity-60")("fl-step-btn-to-complete"))}}))))))))))))))))))))))],(a=[d("span",ft(qn([["className",fn(" ",["mx-3","inline-block"])],(s=[Hp(36,e)],["children",Er.Children.toArray(Array.from(s))])]))),(c=Jm(e),d("span",{children:[c]}))],["children",Er.Children.toArray(Array.from(a))])])))],["children",Er.Children.toArray(Array.from(o))])])))],["children",Er.Children.toArray(Array.from(r))])),dr((()=>ot(Fp(e,t),new Lp(4))?mr():pr(["onClick",n=>{Gp(e,t)}]))))}))))))))}(n,e,ot(n,function(e){const t=function(e){e:for(;;){const t=e;if(Pn(t))return;{const n=jn(t);if(Pn(n))return wn(Rn(t));e=n;continue e}}}(e);if(null==t)throw new Error("Collection was empty.");return vn(t)}(t)))),t),dr((()=>1===e.state.tag?pr(d("button",{className:fn(" ",["inline-flex","items-center","justify-center","px-4","py-2","border","border-transparent","shadow-sm","text-sm","font-medium","rounded-md","text-primary-text","focus:outline-none","focus:ring-2","focus:ring-offset-2","focus:ring-primary-focus","bg-primary-base","hover:bg-primary-hover","w-full","mt-8"]),children:"Submit",onClick:t=>{e.dispatch(new tp(4,new Vs(0)))}})):pr(null))))})));return d("div",{children:Er.Children.toArray(Array.from(t))})}function Wp(e){return!(Fn(zp(e.state))<=3)}function Zp(e){return Wp(e)?25:36}function $p(e,t){return Wp(e)?yr(["text-xs"],t):t}function Yp(e){let t;return d("div",ft(qn([["className",fn(" ",["flex","flex-row","w-full","mt-1","mb-2"])],(t=wr(dr((()=>xr((t=>function(e,t){let n;return d("div",ft(qn([["className",fn(" ",["grow","mx-1"])],(n=[d("button",ft(wr(dr((()=>yr(pr(["className",fn(" ",wr(dr((()=>yr(pr("whitespace-nowrap"),dr((()=>yr(pr("border"),dr((()=>yr(pr("inline-flex"),dr((()=>yr(pr("items-center"),dr((()=>yr(pr("justify-center"),dr((()=>yr(pr("w-full"),dr((()=>yr(pr("rounded-md"),dr((()=>{switch(Fp(e,t).tag){case 3:case 1:return pr("fl-step-btn-ready-or-complete");case 0:case 2:return pr("fl-step-btn-active-or-editing");default:return pr(rn(en("%s %s"))("opacity-60")("fl-step-btn-to-complete"))}})))))))))))))))))))))))))]),dr((()=>{let n,r;return yr(pr((n=[d("span",ft(qn([["className",fn(" ",["md:mr-2","inline-block"])],(r=[Hp(Zp(t),e)],["children",Er.Children.toArray(Array.from(r))])]))),d("span",{children:Jm(e),className:fn(" ",$p(t,["hidden","md:inline-block"]))})],["children",Er.Children.toArray(Array.from(n))])),dr((()=>ot(Fp(e,t),new Lp(4))?mr():pr(["onClick",n=>{Gp(e,t)}]))))}))))))))],["children",Er.Children.toArray(Array.from(n))])])))}(t,e)),zp(e.state))))),["children",Er.Children.toArray(Array.from(t))])])))}function qp(e){let t,n,r;const i=e.dispatch,o=e.allSteps,a=e.completedSteps,s=e.readyToCompleteStep,c=e.step;return d("div",ft(qn([["className",fn(" ",["grid","grid-cols-12","mb-1"])],(t=[d("div",{className:fn(" ",["col-span-2","ml-1","px-4","cursor-pointer"]),children:Er.Children.toArray([Za]),onClick:e=>{i(new tp(1,function(e,t,n,r){return null==t?new ep(3,n,r):new ep(1,e,t,n,r)}(c,s,a,o)))}}),d("div",ft(qn([["className",fn(" ",["col-span-8","text-center"])],(n=[(r=Jm(c),d("b",{children:[r]}))],["children",Er.Children.toArray(Array.from(n))])]))),d("div",{className:fn(" ",["col-span-2"])})],["children",Er.Children.toArray(Array.from(t))])])))}class Xp extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["backend-url","access-token"]}}class Jp extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["app-base-url"]}}class Kp extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["workflows-instance-id"]}}function Qp(e){const t=e.children,n=e.effect,r=e.props,i=e.step;return Ds(n),d(1===i.tag?Qd.ComponentTagName:2===i.tag?eh.ComponentTagName:3===i.tag?th.ComponentTagName:4===i.tag?nh.ComponentTagName:5===i.tag?rh.ComponentTagName:6===i.tag?oh.ComponentTagName:Kd.ComponentTagName,Rd(r,1),...t)}function eg(e){let t,n,r;return d("div",ft(qn([["className",fn(" ",["text-center"])],(t=[d("h4",{className:fn(" ",["text-2xl","mb-2"]),children:"Well done!"}),d("p",ft(qn([["className",fn(" ",["mb-2"])],(n=["You've completed all the steps below.",d("br",{}),"You can review and edit your information by clicking the relevant step, or press Submit to continue."],["children",Er.Children.toArray(Array.from(n))])]))),d("div",ft(qn([["className",fn(" ",["w-full","sm:max-w-xs","mt-4","mx-1","mx-auto","text-left","p-3"])],(r=[d(Vp,e)],["children",Er.Children.toArray(Array.from(r))])])))],["children",Er.Children.toArray(Array.from(t))])])))}function tg(){let e,t;return d("div",ft(qn([["className",fn(" ",["text-center"])],(e=[d("h4",{className:fn(" ",["text-2xl"]),children:"You're all set!"}),(t=qn(["You have submitted all the required information and have successfully completed your onboarding.",d("br",{}),d("p",{children:["You can now close this browser tab."]})]),d("p",{children:Er.Children.toArray(Array.from(t))}))],["children",Er.Children.toArray(Array.from(e))])])))}function ng(e){let t;const n=e.accessToken,r=e.appMode,i=Hs(function(e){const t=function(e,t){if("string"!=typeof e)throw new km("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(xm(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(e){return xm(t)}}(e.split(".")[n]))}catch(e){throw new km("Invalid token specified: "+e.message)}}(e);return[new np(Yd(t.sub),yh(t.workflow.instanceId),new Vs(0),new ep(0),Bn(),new Ym(0)),ps()]}(n),((e,t)=>op(n,r,e,t)),[]),o=i[0],a=i[1];switch(js($s((()=>function(e,t){return function(e,t){return Qa.Delay((()=>{const n=rp(t,hl(new Cu(1),dl(function(e){const t=0|bh(e);return rn(en("%s/workflows/backend/process-instances/%i/activate"))(wu)(t)}(e))));return Qa.Bind(n,(e=>{const t=e;if(1===t.tag)return Qa.Return(new es(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){let t;const n=Gf(ht(2,sd(Ul("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.ProcessInstanceContextDto",[],Wm,(()=>[["CssOverrides",Hl(Wl)],["ProcessInstanceDto",Um()],["IsBenefitsEnabled",Zl]])),new vl(1),void 0)),e.responseText);return t=1===n.tag?new es(1,n.fields[0]):new es(0,function(e){let t;return new Gm(e.CssOverrides,(t=zm(e.ProcessInstanceDto),1===t.tag?(()=>{throw new Error(t.fields[0])})():t.fields[0]),e.IsBenefitsEnabled)}(n.fields[0])),Qa.Return(t)}return Qa.Return(new es(1,"Unexpected response from backend"))}}))}))}(e,t)}(o.ProcessInstanceId,n)),(e=>{a(new tp(0,e))})),[]),js((()=>{(window.ResizeObserver?new window.ResizeObserver((()=>{wm()})):new hm((()=>{wm()}))).observe(document.body)}),[]),js((()=>{const e=[o.ProcessInstance,o.CurrentView];let t;switch(t=2===e[0].tag?2!==e[1].tag||4!==e[1].fields[0].tag&&5!==e[1].fields[0].tag?1:0:2,t){case 0:case 2:break;case 1:lu(Un(_u(r)),2,2)}}),[o.CurrentView,o.ProcessInstance]),Ds((()=>{window.addEventListener("step-completion",(e=>{a(new tp(2,e))}))})),o.ProcessInstance.tag){case 1:default:return d("div",{children:["Please wait..."]});case 3:case 2:return d("div",ft(qn([["className",fn(" ",["max-w-7xl","mx-auto","pb-2"])],(t=wr(dr((()=>yr(xr((e=>d("style",{children:[e]})),o.CssOverrides),dr((()=>{let e,t,i,s;const c=o.CurrentView;switch(c.tag){case 1:{const t=c.fields[0],n=c.fields[1],r=c.fields[2],i=c.fields[3];return yr(pr(d("div",ft(qn([["className",fn(" ",["w-full","sm:max-w-xs","mt-4","mx-1","mx-auto","px-4","sm:px-0"])],(e=[d(Vp,{dispatch:a,state:null==n?new Up(1,t,r,i):new Up(0,t,n,r,i)})],["children",Er.Children.toArray(Array.from(e))])])))),dr((()=>(ym(0),mr()))))}case 2:{const e=c.fields[0],i=c.fields[1],s=c.fields[2],u=c.fields[3];return pr((t=wr(dr((()=>{let t;return yr(Fn(u)>1?pr(d("div",ft(qn([["className",fn(" ",["pt-2","relative"])],(t=[d(qp,{step:e,readyToCompleteStep:i,completedSteps:s,allSteps:u,dispatch:a}),d(Yp,{dispatch:a,state:null==i?new Up(1,e,s,u):new Up(0,e,i,s,u)})],["children",Er.Children.toArray(Array.from(t))])])))):mr(),dr((()=>{let t,i;return pr(d("div",ft(qn([["className",fn(" ",["grid","grid-cols-12","px-1"])],(t=[d("div",ft(qn([["className",fn(" ",["bg-white","col-span-12","rounded-md","border","p-3"])],(i=wr(dr((()=>{if(4===e.tag)return pr(d(Qp,{step:new $m(4),props:[new Xp(1,n),new Xp(0,rn(en("%s/super-selection/backend/v1.0/"))(wu)),new Jp(0,_u(r))],effect:()=>{a(new tp(6)),ym(2500)},children:[]}));{const t=e;return pr(d(Qp,{step:t,props:wr(dr((()=>yr(pr(new Xp(1,n)),dr((()=>yr(pr(new Xp(0,wu)),dr((()=>ot(t,new $m(6))?pr(new Kp(0,Xe(bh(o.ProcessInstanceId)))):mr()))))))))),effect:()=>{ym(1500)},children:[]}))}}))),["children",Er.Children.toArray(Array.from(i))])])))],["children",Er.Children.toArray(Array.from(t))])]))))})))}))),d("div",{children:Er.Children.toArray(Array.from(t))})))}case 3:return yr(pr(d("div",ft(qn([["className",fn(" ",["pt-5","px-4"])],(i=[d(eg,{dispatch:a,state:new Up(1,void 0,c.fields[0],c.fields[1])})],["children",Er.Children.toArray(Array.from(i))])])))),dr((()=>(ym(0),mr()))));case 4:return yr(pr(d("div",{className:fn(" ",["text-center","mt-5"]),children:"We had an issue. Please try again shortly."})),dr((()=>(ym(0),mr()))));case 5:return pr(d("div",ft(qn([["className",fn(" ",["mt-5","px-4"])],(s=[d(tg,null)],["children",Er.Children.toArray(Array.from(s))])]))));default:return pr(d("div",{children:["Please wait..."]}))}})))))),["children",Er.Children.toArray(Array.from(t))])])))}}class rg extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["AuthCode"]}}function ig(e){return new rg(0,e)}class og extends Ht{constructor(e,t,n,r,i,o){super(),this.id_token=e,this.access_token=t,this.expires_in=n,this.refresh_token=r,this.scope=i,this.token_type=o}}function ag(){return Ul("Workflows.UI.Auth.Types.Credentials",[],og,(()=>[["id_token",Wl],["access_token",Wl],["expires_in",Yl],["refresh_token",Gl(Wl)],["scope",Wl],["token_type",Wl]]))}class sg extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SignIn"]}}class cg extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","InviteValidation","AuthCodeExchange","NotFound","LoggedOut"]}}function ug(e){const t=hu(e);if(null!=t)return Cn((e=>e[1]),Kn((e=>"code"===e[0]),t));throw new Yt("/home/vsts/work/1/s/src/Workflows.UI/src/PageTypes.fs",26,18)}function lg(e){let t,n,r,i,o,a,s;const c=function(e){let t,n,r;switch(zn(e)?t=2:"workflows"===Gn(e)?zn(Hn(e))?t=2:"app"===Gn(Hn(e))?(t=0,n=Hn(Hn(e))):"embed"===Gn(Hn(e))?zn(Hn(Hn(e)))?t=2:"v1.0"===Gn(Hn(Hn(e)))?(t=1,r=Hn(Hn(Hn(e)))):t=2:t=2:t=2,t){case 0:return new is(1,n);case 1:return new is(0,r);case 2:return new is(2,void 0)}}(e);return 1===c.tag?[zn(c.fields[0])?zn(c.fields[0])?new cg(0):(i=hu(Gn(c.fields[0])),null!=i?zn(i)?new cg(0):"code"===Gn(i)[0]&&zn(Hn(i))&&zn(Hn(c.fields[0]))?(o=Gn(i)[1],new cg(2,ig(o))):new cg(0):new cg(0)):(t=hu(Gn(c.fields[0])),null!=t?zn(t)?zn(c.fields[0])?new cg(0):(i=hu(Gn(c.fields[0])),null!=i?zn(i)?new cg(0):"code"===Gn(i)[0]&&zn(Hn(i))&&zn(Hn(c.fields[0]))?(o=Gn(i)[1],new cg(2,ig(o))):new cg(0):new cg(0)):"invite"===Gn(t)[0]&&zn(Hn(t))&&zn(Hn(c.fields[0]))?(n=Gn(t)[1],r=qc(n),1===r.tag?new cg(3):new cg(1,r.fields[0])):zn(c.fields[0])?new cg(0):(i=hu(Gn(c.fields[0])),null!=i?zn(i)?new cg(0):"code"===Gn(i)[0]&&zn(Hn(i))&&zn(Hn(c.fields[0]))?(o=Gn(i)[1],new cg(2,ig(o))):new cg(0):new cg(0)):zn(c.fields[0])?new cg(0):(i=hu(Gn(c.fields[0])),null!=i?zn(i)?new cg(0):"code"===Gn(i)[0]&&zn(Hn(i))&&zn(Hn(c.fields[0]))?(o=Gn(i)[1],new cg(2,ig(o))):new cg(0):new cg(0))),new bu(1)]:2===c.tag?[new cg(3),new bu(2)]:[zn(c.fields[0])||zn(Hn(c.fields[0]))?new cg(0):(a=ug(Gn(Hn(c.fields[0]))),null!=a&&zn(Hn(Hn(c.fields[0])))?(s=a,new cg(2,ig(s))):new cg(0)),new bu(0)]}class fg extends Ht{constructor(e,t,n){super(),this.CurrentPage=e,this.Credentials=t,this.AppMode=n}}class dg extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","AuthMsg","DisplayLoggedOut"]}}class hg extends Ht{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class mg extends p{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}class pg extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class gg extends Bt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}function wg(e,t){const n=function(e){return[new pg(0),ys(new sg(0,new gg(0),e))]}(t);return[new fg(e.CurrentPage,n[0],e.AppMode),gs((e=>new dg(1,e)),n[1])]}var vg;!function(e){Os(void 0,e)}(("workflows-app",vg=Es((function(){const e=lg(fu(window.location.pathname+window.location.search,2)),t=e[0],n=e[1],r=new fg(t,new pg(0),n);let i;switch(i=2===t.tag?0:1===t.tag?1:0===t.tag&&ot(n,new bu(1))?2:3,i){case 0:return wg(r,t.fields[0]);case 1:return[r,ps()];case 2:{const e=function(){const e=yn(window.sessionStorage.getItem("credentials"));if(null!=e){const t=e,n=Gf(ht(2,sd(ag(),void 0,void 0)),t);return 1===n.tag?void 0:n.fields[0]}}();return null==e?[r,ys(new dg(2))]:[new fg(r.CurrentPage,new pg(2,new es(0,e)),r.AppMode),ps()]}case 3:return[r,ys(new dg(2))]}}),(function(e,t){switch(e.tag){case 1:{const n=function(e,t,n){let r;return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?[new pg(2,new es(1,`SignIn failed: ${e.fields[0].fields[0].fields[0]}`)),ps()]:(window.gtag&&window.gtag("event","oidc_sign_in",{}),[new pg(2,new es(0,e.fields[0].fields[0].fields[0])),(r=window.location.pathname,vs((e=>{lu(Un(r),1,2)})))]):[new pg(1),bs((e=>{_s(e)}),(e=>function(e,t){const n=encodeURIComponent(t.fields[0]),r=encodeURIComponent("apollo-workflows-app"),i=encodeURIComponent((o=new bu(0),`${window.location.protocol}//${window.location.host}${_u(o)}`));var o;return Qa.Delay((()=>{let e,t,o;const a=gl((t=hl(new Cu(1),dl(`${gu}/connect/token`)),e=ml(ul("application/x-www-form-urlencoded"),t),pl(new ku(1,`grant_type=authorization_code&code=${n}&client_id=${r}&redirect_uri=${i}`),e)));return o=Qa.Bind(a,(e=>Qa.Return(new es(0,e)))),Qa.Bind(o,(e=>{const t=e;if(1===t.tag)return Qa.Return(new es(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){const t=Gf(ht(2,sd(ag(),void 0,void 0)),e.responseText);return Qa.Return(t)}return Qa.Return(new es(1,"Unexpected result from backend"))}}))}))}(0,e)),e.fields[1],(t=>{const n=[new gg(1,t),e.fields[1]];return new sg(0,n[0],n[1])}),(t=>{const n=[new gg(1,new es(1,t.message)),e.fields[1]];return new sg(0,n[0],n[1])}))]}(e.fields[0],t.Credentials,t.AppMode),r=n[0],i=[r,t.AppMode];let o,a;return 2===i[0].tag&&0===i[0].fields[0].tag&&1===i[1].tag?(o=0,a=i[0].fields[0].fields[0]):o=1,0===o&&function(e){let t;const n=["credentials",(t=new og(e.id_token,e.access_token,e.expires_in,void 0,e.scope,e.token_type),Sd(0,Ad(ag(),void 0,void 0,void 0)(t)))];window.sessionStorage.setItem(n[0],n[1])}(a),[new fg(t.CurrentPage,r,t.AppMode),gs((e=>new dg(1,e)),n[1])]}case 2:return[new fg(new cg(4),t.Credentials,t.AppMode),ps()];default:{const n=lg(e.fields[0])[0],r=new fg(n,t.Credentials,t.AppMode);return 2===n.tag?wg(r,n.fields[0]):[r,ps()]}}}),(function(e,t){let n;const r=d("div",ft(qn([["className",fn(" ",["workflows-app","font-inter"])],(n=wr(dr((()=>{const t=e.CurrentPage;switch(t.tag){case 2:return pr(function(){let e,t,n,r,i,o,a,s;return d("div",ft(qn([["className",fn(" ",["h-screen","fade-in"])],(e=[d("div",ft(qn([["className",fn(" ",["h-full","flex","justify-center","items-center"])],(t=[d("div",ft(qn([["className",fn(" ",["border","rounded-lg","shadow-md","sm:max-w-md","p-8","text-center"])],(n=[(r=qn([(i=qn([d("i",{className:fn(" ",["text-green-700"]),children:Er.Children.toArray([$a])}),d("h4",{className:fn(" ",["text-2xl","my-4","text-green-700"]),children:"Your identity is confirmed"}),d("p",{className:fn(" ",["mt-3","mb-5","text-gray-500"]),children:"You will be redirected in a moment."})]),d("div",{children:Er.Children.toArray(Array.from(i))})),d("p",ft(qn([["className",fn(" ",["mt-16","text-gray-400","text-right","text-xs"])],(o=[(a=`Flare HR Pty Ltd © 2015-${s=kt(),St(s)}`,d("small",{children:[a]}))],["children",Er.Children.toArray(Array.from(o))])])))]),d("div",{children:Er.Children.toArray(Array.from(r))}))],["children",Er.Children.toArray(Array.from(n))])])))],["children",Er.Children.toArray(Array.from(t))])])))],["children",Er.Children.toArray(Array.from(e))])])))}());case 1:return pr(d(bm,{inviteCode:t.fields[0]}));case 3:return pr(d("h1",{children:["Not found"]}));case 4:return pr(d(_m,null));default:{const t=e.Credentials;let n,r;switch(2===t.tag&&0===t.fields[0].tag?(n=0,r=t.fields[0].fields[0]):n=1,n){case 0:return pr(d(ng,{appMode:e.AppMode,accessToken:r.access_token}));case 1:return pr(d("h1",{children:["Unauthorised"]}))}}}}))),["children",Er.Children.toArray(Array.from(n))])])));return du({hashMode:2,onUrlChanged:e=>{t(new dg(0,e))},application:d(m,{},r)})})),function(e,t,n){return As(((r,i)=>{Ie(e((e=>t=>e===t),function(e){return pt(2,e.view)}(n),r,i),document.getElementById(t))}),n)}(((e,t,n,r)=>function(e,t,n,r){const i=new hg(n,(()=>t(n,r)),e);return d(mg,i)}(ht(2,e),ht(2,t),n,r)),"workflows-app",vg)))})()})();
|