@flarehr/workflows-app 4.5.0 → 4.6.0
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.css +1 -1
- package/dist/workflows-app.js +1 -1
- package/package.json +1 -1
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={694:(e,n,t)=>{"use strict";var r=t(925);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,n,t,i,o,s){if(s!==r){var a=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 a.name="Invariant Violation",a}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:o,resetWarningCache:i};return t.PropTypes=t,t}},556:(e,n,t)=>{e.exports=t(694)()},925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},n={};function t(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={exports:{}};return e[r](o,o.exports,t),o.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{"use strict";var e,n,r,i,o,s,a={},c=[],l=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function u(e,n){for(var t in n)e[t]=n[t];return e}function f(e){var n=e.parentNode;n&&n.removeChild(e)}function d(n,t,r){var i,o,s,a={};for(s in t)"key"==s?i=t[s]:"ref"==s?o=t[s]:a[s]=t[s];if(arguments.length>2&&(a.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof n&&null!=n.defaultProps)for(s in n.defaultProps)void 0===a[s]&&(a[s]=n.defaultProps[s]);return h(n,a,i,o,null)}function h(e,t,i,o,s){var a={type:e,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==s?++r:s};return null==s&&null!=n.vnode&&n.vnode(a),a}function m(e){return e.children}function p(e,n){this.props=e,this.context=n}function $(e,n){if(null==n)return e.__?$(e.__,e.__.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?$(e):null}function g(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return g(e)}}function w(e){(!e.__d&&(e.__d=!0)&&i.push(e)&&!v.__r++||o!==n.debounceRendering)&&((o=n.debounceRendering)||setTimeout)(v)}function v(){for(var e;v.__r=i.length;)e=i.sort((function(e,n){return e.__v.__b-n.__v.__b})),i=[],e.some((function(e){var n,t,r,i,o,s;e.__d&&(o=(i=(n=e).__v).__e,(s=n.__P)&&(t=[],(r=u({},i)).__v=i.__v+1,A(s,i,r,n.__n,void 0!==s.ownerSVGElement,null!=i.__h?[o]:null,t,null==o?$(i):o,i.__h),E(t,i),i.__e!=o&&g(i)))}))}function y(e,n,t,r,i,o,s,l,u,f){var d,p,g,w,v,y,C,x=r&&r.__k||c,k=x.length;for(t.__k=[],d=0;d<n.length;d++)if(null!=(w=t.__k[d]=null==(w=n[d])||"boolean"==typeof w?null:"string"==typeof w||"number"==typeof w||"bigint"==typeof w?h(null,w,null,null,w):Array.isArray(w)?h(m,{children:w},null,null,null):w.__b>0?h(w.type,w.props,w.key,null,w.__v):w)){if(w.__=t,w.__b=t.__b+1,null===(g=x[d])||g&&w.key==g.key&&w.type===g.type)x[d]=void 0;else for(p=0;p<k;p++){if((g=x[p])&&w.key==g.key&&w.type===g.type){x[p]=void 0;break}g=null}A(e,w,g=g||a,i,o,s,l,u,f),v=w.__e,(p=w.ref)&&g.ref!=p&&(C||(C=[]),g.ref&&C.push(g.ref,null,w),C.push(p,w.__c||v,w)),null!=v?(null==y&&(y=v),"function"==typeof w.type&&w.__k===g.__k?w.__d=u=b(w,u,e):u=_(e,w,g,x,v,u),"function"==typeof t.type&&(t.__d=u)):u&&g.__e==u&&u.parentNode!=e&&(u=$(g))}for(t.__e=y,d=k;d--;)null!=x[d]&&("function"==typeof t.type&&null!=x[d].__e&&x[d].__e==t.__d&&(t.__d=$(r,d+1)),N(x[d],x[d]));if(C)for(d=0;d<C.length;d++)T(C[d],C[++d],C[++d])}function b(e,n,t){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,n="function"==typeof r.type?b(r,n,t):_(t,r,r,i,r.__e,n));return n}function C(e,n){return n=n||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){C(e,n)})):n.push(e)),n}function _(e,n,t,r,i,o){var s,a,c;if(void 0!==n.__d)s=n.__d,n.__d=void 0;else if(null==t||i!=o||null==i.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(i),s=null;else{for(a=o,c=0;(a=a.nextSibling)&&c<r.length;c+=2)if(a==i)break e;e.insertBefore(i,o),s=o}return void 0!==s?s:i.nextSibling}function x(e,n,t){"-"===n[0]?e.setProperty(n,t):e[n]=null==t?"":"number"!=typeof t||l.test(n)?t:t+"px"}function k(e,n,t,r,i){var o;e:if("style"===n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(n in r)t&&n in t||x(e.style,n,"");if(t)for(n in t)r&&t[n]===r[n]||x(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])o=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+o]=t,t?r||e.addEventListener(n,o?S:I,o):e.removeEventListener(n,o?S:I,o);else if("dangerouslySetInnerHTML"!==n){if(i)n=n.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&n in e)try{e[n]=null==t?"":t;break e}catch(e){}"function"==typeof t||(null!=t&&(!1!==t||"a"===n[0]&&"r"===n[1])?e.setAttribute(n,t):e.removeAttribute(n))}}function I(e){this.l[e.type+!1](n.event?n.event(e):e)}function S(e){this.l[e.type+!0](n.event?n.event(e):e)}function A(e,t,r,i,o,s,a,c,l){var f,d,h,$,g,w,v,b,C,_,x,k,I,S=t.type;if(void 0!==t.constructor)return null;null!=r.__h&&(l=r.__h,c=t.__e=r.__e,t.__h=null,s=[c]),(f=n.__b)&&f(t);try{e:if("function"==typeof S){if(b=t.props,C=(f=S.contextType)&&i[f.__c],_=f?C?C.props.value:f.__:i,r.__c?v=(d=t.__c=r.__c).__=d.__E:("prototype"in S&&S.prototype.render?t.__c=d=new S(b,_):(t.__c=d=new p(b,_),d.constructor=S,d.render=M),C&&C.sub(d),d.props=b,d.state||(d.state={}),d.context=_,d.__n=i,h=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=S.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=u({},d.__s)),u(d.__s,S.getDerivedStateFromProps(b,d.__s))),$=d.props,g=d.state,h)null==S.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==S.getDerivedStateFromProps&&b!==$&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(b,_),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(b,d.__s,_)||t.__v===r.__v){d.props=b,d.state=d.__s,t.__v!==r.__v&&(d.__d=!1),d.__v=t,t.__e=r.__e,t.__k=r.__k,t.__k.forEach((function(e){e&&(e.__=t)})),d.__h.length&&a.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(b,d.__s,_),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate($,g,w)}))}if(d.context=_,d.props=b,d.__v=t,d.__P=e,x=n.__r,k=0,"prototype"in S&&S.prototype.render)d.state=d.__s,d.__d=!1,x&&x(t),f=d.render(d.props,d.state,d.context);else do{d.__d=!1,x&&x(t),f=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++k<25);d.state=d.__s,null!=d.getChildContext&&(i=u(u({},i),d.getChildContext())),h||null==d.getSnapshotBeforeUpdate||(w=d.getSnapshotBeforeUpdate($,g)),I=null!=f&&f.type===m&&null==f.key?f.props.children:f,y(e,Array.isArray(I)?I:[I],t,r,i,o,s,a,c,l),d.base=t.__e,t.__h=null,d.__h.length&&a.push(d),v&&(d.__E=d.__=null),d.__e=!1}else null==s&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=O(r.__e,t,r,i,o,s,a,l);(f=n.diffed)&&f(t)}catch(e){t.__v=null,(l||null!=s)&&(t.__e=c,t.__h=!!l,s[s.indexOf(c)]=null),n.__e(e,t,r)}}function E(e,t){n.__c&&n.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){n.__e(e,t.__v)}}))}function O(n,t,r,i,o,s,c,l){var u,d,h,m=r.props,p=t.props,g=t.type,w=0;if("svg"===g&&(o=!0),null!=s)for(;w<s.length;w++)if((u=s[w])&&"setAttribute"in u==!!g&&(g?u.localName===g:3===u.nodeType)){n=u,s[w]=null;break}if(null==n){if(null===g)return document.createTextNode(p);n=o?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,p.is&&p),s=null,l=!1}if(null===g)m===p||l&&n.data===p||(n.data=p);else{if(s=s&&e.call(n.childNodes),d=(m=r.props||a).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!l){if(null!=s)for(m={},w=0;w<n.attributes.length;w++)m[n.attributes[w].name]=n.attributes[w].value;(h||d)&&(h&&(d&&h.__html==d.__html||h.__html===n.innerHTML)||(n.innerHTML=h&&h.__html||""))}if(function(e,n,t,r,i){var o;for(o in t)"children"===o||"key"===o||o in n||k(e,o,null,t[o],r);for(o in n)i&&"function"!=typeof n[o]||"children"===o||"key"===o||"value"===o||"checked"===o||t[o]===n[o]||k(e,o,n[o],t[o],r)}(n,p,m,o,l),h)t.__k=[];else if(w=t.props.children,y(n,Array.isArray(w)?w:[w],t,r,i,o&&"foreignObject"!==g,s,c,s?s[0]:r.__k&&$(r,0),l),null!=s)for(w=s.length;w--;)null!=s[w]&&f(s[w]);l||("value"in p&&void 0!==(w=p.value)&&(w!==n.value||"progress"===g&&!w||"option"===g&&w!==m.value)&&k(n,"value",w,m.value,!1),"checked"in p&&void 0!==(w=p.checked)&&w!==n.checked&&k(n,"checked",w,m.checked,!1))}return n}function T(e,t,r){try{"function"==typeof e?e(t):e.current=t}catch(e){n.__e(e,r)}}function N(e,t,r){var i,o;if(n.unmount&&n.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||T(i,null,t)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){n.__e(e,t)}i.base=i.__P=null}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&N(i[o],t,"function"!=typeof e.type);r||null==e.__e||f(e.__e),e.__e=e.__d=void 0}function M(e,n,t){return this.constructor(e,t)}function P(t,r,i){var o,s,c;n.__&&n.__(t,r),s=(o="function"==typeof i)?null:i&&i.__k||r.__k,c=[],A(r,t=(!o&&i||r).__k=d(m,null,[t]),s||a,a,void 0!==r.ownerSVGElement,!o&&i?[i]:s?null:r.firstChild?e.call(r.childNodes):null,c,!o&&i?i:s?s.__e:r.firstChild,o),E(c,t)}function D(e,n){P(e,n,D)}function R(n,t,r){var i,o,s,a=u({},n.props);for(s in t)"key"==s?i=t[s]:"ref"==s?o=t[s]:a[s]=t[s];return arguments.length>2&&(a.children=arguments.length>3?e.call(arguments,2):r),h(n.type,a,i||n.key,o||n.ref,null)}e=c.slice,n={__e:function(e,n,t,r){for(var i,o,s;n=n.__;)if((i=n.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),s=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),s=i.__d),s)return i.__E=i}catch(n){e=n}throw e}},r=0,p.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=u({},this.state),"function"==typeof e&&(e=e(u({},t),this.props)),e&&u(t,e),null!=e&&this.__v&&(n&&this.__h.push(n),w(this))},p.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),w(this))},p.prototype.render=m,i=[],v.__r=0,s=0;var B,L,j,W,F=0,U=[],z=[],V=n.__b,H=n.__r,G=n.diffed,Z=n.__c,q=n.unmount;function Y(e,t){n.__h&&n.__h(L,e,F||t),F=0;var r=L.__H||(L.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:z}),r.__[e]}function J(e){return F=1,X(se,e)}function X(e,n,t){var r=Y(B++,2);if(r.t=e,!r.__c&&(r.__=[t?t(n):se(void 0,n),function(e){var n=r.__N?r.__N[0]:r.__[0],t=r.t(n,e);n!==t&&(r.__N=[t,r.__[1]],r.__c.setState({}))}],r.__c=L,!L.u)){L.u=!0;var i=L.shouldComponentUpdate;L.shouldComponentUpdate=function(e,n,t){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,n,t);var s=!1;return o.forEach((function(e){if(e.__N){var n=e.__[0];e.__=e.__N,e.__N=void 0,n!==e.__[0]&&(s=!0)}})),!!s&&(!i||i.call(this,e,n,t))}}return r.__N||r.__}function K(e,t){var r=Y(B++,3);!n.__s&&oe(r.__H,t)&&(r.__=e,r.i=t,L.__H.__h.push(r))}function Q(e,t){var r=Y(B++,4);!n.__s&&oe(r.__H,t)&&(r.__=e,r.i=t,L.__h.push(r))}function ee(e,n){var t=Y(B++,7);return oe(t.__H,n)?(t.__V=e(),t.i=n,t.__h=e,t.__V):t.__}function ne(){for(var e;e=U.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(re),e.__H.__h.forEach(ie),e.__H.__h=[]}catch(t){e.__H.__h=[],n.__e(t,e.__v)}}n.__b=function(e){L=null,V&&V(e)},n.__r=function(e){H&&H(e),B=0;var n=(L=e.__c).__H;n&&(j===L?(n.__h=[],L.__h=[],n.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=z,e.__N=e.i=void 0}))):(n.__h.forEach(re),n.__h.forEach(ie),n.__h=[])),j=L},n.diffed=function(e){G&&G(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==U.push(t)&&W===n.requestAnimationFrame||((W=n.requestAnimationFrame)||function(e){var n,t=function(){clearTimeout(r),te&&cancelAnimationFrame(n),setTimeout(e)},r=setTimeout(t,100);te&&(n=requestAnimationFrame(t))})(ne)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==z&&(e.__=e.__V),e.i=void 0,e.__V=z}))),j=L=null},n.__c=function(e,t){t.some((function(e){try{e.__h.forEach(re),e.__h=e.__h.filter((function(e){return!e.__||ie(e)}))}catch(r){t.some((function(e){e.__h&&(e.__h=[])})),t=[],n.__e(r,e.__v)}})),Z&&Z(e,t)},n.unmount=function(e){q&&q(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{re(e)}catch(e){t=e}})),t&&n.__e(t,r.__v))};var te="function"==typeof requestAnimationFrame;function re(e){var n=L,t=e.__c;"function"==typeof t&&(e.__c=void 0,t()),L=n}function ie(e){var n=L;e.__c=e.__(),L=n}function oe(e,n){return!e||e.length!==n.length||n.some((function(n,t){return n!==e[t]}))}function se(e,n){return"function"==typeof n?n(e):n}function ae(e,n){for(var t in n)e[t]=n[t];return e}function ce(e,n){for(var t in e)if("__source"!==t&&!(t in n))return!0;for(var r in n)if("__source"!==r&&e[r]!==n[r])return!0;return!1}function le(e){this.props=e}(le.prototype=new p).isPureReactComponent=!0,le.prototype.shouldComponentUpdate=function(e,n){return ce(this.props,e)||ce(this.state,n)};var ue=n.__b;n.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ue&&ue(e)};var fe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,de=function(e,n){return null==e?null:C(C(e).map(n))},he={map:de,forEach:de,count:function(e){return e?C(e).length:0},only:function(e){var n=C(e);if(1!==n.length)throw"Children.only";return n[0]},toArray:C},me=n.__e;n.__e=function(e,n,t,r){if(e.then)for(var i,o=n;o=o.__;)if((i=o.__c)&&i.__c)return null==n.__e&&(n.__e=t.__e,n.__k=t.__k),i.__c(e,n);me(e,n,t,r)};var pe=n.unmount;function $e(){this.__u=0,this.t=null,this.__b=null}function ge(e){var n=e.__.__c;return n&&n.__a&&n.__a(e)}function we(){this.u=null,this.o=null}n.unmount=function(e){var n=e.__c;n&&n.__R&&n.__R(),n&&!0===e.__h&&(e.type=null),pe&&pe(e)},($e.prototype=new p).__c=function(e,n){var t=n.__c,r=this;null==r.t&&(r.t=[]),r.t.push(t);var i=ge(r.__v),o=!1,s=function(){o||(o=!0,t.__R=null,i?i(a):a())};t.__R=s;var a=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=function e(n,t,r){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map((function(n){return e(n,t,r)})),n.__c&&n.__c.__P===t&&(n.__e&&r.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=r)),n}(e,e.__c.__P,e.__c.__O)}var n;for(r.setState({__a:r.__b=null});n=r.t.pop();)n.forceUpdate()}},c=!0===n.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},$e.prototype.componentWillUnmount=function(){this.t=[]},$e.prototype.render=function(e,n){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(n,t,r){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),n.__c.__H=null),null!=(n=ae({},n)).__c&&(n.__c.__P===r&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map((function(n){return e(n,t,r)}))),n}(this.__b,t,r.__O=r.__P)}this.__b=null}var i=n.__a&&d(m,null,e.fallback);return i&&(i.__h=null),[d(m,null,n.__a?null:e.children),i]};var ve=function(e,n,t){if(++t[1]===t[0]&&e.o.delete(n),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(t=e.u;t;){for(;t.length>3;)t.pop()();if(t[1]<t[0])break;e.u=t=t[2]}};function ye(e){return this.getChildContext=function(){return e.context},e.children}function be(e){var n=this,t=e.i;n.componentWillUnmount=function(){P(null,n.l),n.l=null,n.i=null},n.i&&n.i!==t&&n.componentWillUnmount(),e.__v?(n.l||(n.i=t,n.l={nodeType:1,parentNode:t,childNodes:[],appendChild:function(e){this.childNodes.push(e),n.i.appendChild(e)},insertBefore:function(e,t){this.childNodes.push(e),n.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),n.i.removeChild(e)}}),P(d(ye,{context:n.context},e.__v),n.l)):n.l&&n.componentWillUnmount()}(we.prototype=new p).__a=function(e){var n=this,t=ge(n.__v),r=n.o.get(e);return r[0]++,function(i){var o=function(){n.props.revealOrder?(r.push(i),ve(n,e,r)):i()};t?t(o):o()}},we.prototype.render=function(e){this.u=null,this.o=new Map;var n=C(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&n.reverse();for(var t=n.length;t--;)this.o.set(n[t],this.u=[1,0,this.u]);return e.children},we.prototype.componentDidUpdate=we.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(n,t){ve(e,t,n)}))};var Ce="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,_e=/^(?: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]/,xe="undefined"!=typeof document,ke=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function Ie(e,n,t){return null==n.__k&&(n.textContent=""),P(e,n),"function"==typeof t&&t(),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(n){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:n})}})}));var Se=n.event;function Ae(){}function Ee(){return this.cancelBubble}function Oe(){return this.defaultPrevented}n.event=function(e){return Se&&(e=Se(e)),e.persist=Ae,e.isPropagationStopped=Ee,e.isDefaultPrevented=Oe,e.nativeEvent=e};var Te,Ne={configurable:!0,get:function(){return this.class}},Me=n.vnode;n.vnode=function(e){var n=e.type,t=e.props,r=t;if("string"==typeof n){var i=-1===n.indexOf("-");for(var o in r={},t){var s=t[o];xe&&"children"===o&&"noscript"===n||"value"===o&&"defaultValue"in t&&null==s||("defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===s?s="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+n)&&!ke(t.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&&_e.test(o)?o=o.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===s&&(s=void 0),/^oninput$/i.test(o)&&(o=o.toLowerCase(),r[o]&&(o="oninputCapture")),r[o]=s)}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=C(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=C(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,t.class!=t.className&&(Ne.enumerable="className"in t,null!=t.className&&(r.class=t.className),Object.defineProperty(r,"className",Ne))}e.$$typeof=Ce,Me&&Me(e)};var Pe=n.__r;n.__r=function(e){Pe&&Pe(e),Te=e.__c};var De={ReactCurrentDispatcher:{current:{readContext:function(e){return Te.__n[e.__c].props.value}}}};function Re(e){return!!e&&e.$$typeof===Ce}function Be(e){e()}const Le={useState:J,useReducer:X,useEffect:K,useLayoutEffect:Q,useInsertionEffect:Q,useTransition:function(){return[!1,Be]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,n){var t=n(),r=J({s:{__:t,h:n}}),i=r[0].s,o=r[1];return Q((function(){i.__=t,i.h=n,i.__!==n()&&o({s:i})}),[e,t,n]),K((function(){return i.__!==i.h()&&o({s:i}),e((function(){i.__!==i.h()&&o({s:i})}))}),[e]),t},startTransition:Be,useRef:function(e){return F=5,ee((function(){return{current:e}}),[])},useImperativeHandle:function(e,n,t){F=6,Q((function(){return"function"==typeof e?(e(n()),function(){return e(null)}):e?(e.current=n(),function(){return e.current=null}):void 0}),null==t?t:t.concat(e))},useMemo:ee,useCallback:function(e,n){return F=8,ee((function(){return e}),n)},useContext:function(e){var n=L.context[e.__c],t=Y(B++,9);return t.c=e,n?(null==t.__&&(t.__=!0,n.sub(L)),n.props.value):e.__},useDebugValue:function(e,t){n.useDebugValue&&n.useDebugValue(t?t(e):e)},version:"17.0.2",Children:he,render:Ie,hydrate:function(e,n,t){return D(e,n),"function"==typeof t&&t(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(P(null,e),!0)},createPortal:function(e,n){var t=d(be,{__v:e,i:n});return t.containerInfo=n,t},createElement:d,createContext:function(e,n){var t={__c:n="__cC"+s++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var t,r;return this.getChildContext||(t=[],(r={})[n]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some(w)},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Provider.__=t.Consumer.contextType=t},createFactory:function(e){return d.bind(null,e)},cloneElement:function(e){return Re(e)?R.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:m,isValidElement:Re,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:p,PureComponent:le,memo:function(e,n){function t(e){var t=this.props.ref,r=t==e.ref;return!r&&t&&(t.call?t(null):t.current=null),n?!n(this.props,e)||!r:ce(this.props,e)}function r(n){return this.shouldComponentUpdate=t,d(e,n)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function n(n){var t=ae({},n);return delete t.ref,e(t,n.ref||null)}return n.$$typeof=fe,n.render=n,n.prototype.isReactComponent=n.__f=!0,n.displayName="ForwardRef("+(e.displayName||e.name)+")",n},flushSync:function(e,n){return e(n)},unstable_batchedUpdates:function(e,n){return e(n)},StrictMode:m,Suspense:$e,SuspenseList:we,lazy:function(e){var n,t,r;function i(i){if(n||(n=e()).then((function(e){t=e.default||e}),(function(e){r=e})),r)throw r;if(!t)throw n;return d(t,i)}return i.displayName="Lazy",i.__f=!0,i},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:De};function je(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function We(e){return"function"==typeof e.GetHashCode}function Fe(e){return null!=e&&"function"==typeof e.Dispose}function Ue(e){Fe(e)&&e.Dispose()}function ze(e,n){var t,r;return(null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor)===(null===(r=Object.getPrototypeOf(n))||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 He(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new Ve(e[Symbol.iterator]())}function Ge(e){return{[Symbol.iterator](){return this},next(){const n=e["System.Collections.IEnumerator.MoveNext"]();return{done:!n,value:n?e["System.Collections.IEnumerator.get_Current"]():void 0}}}}class Ze{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 qe(e,n){let t=e.toString(10);for(;t.length<n;)t="0"+t;return t}function Ye(e){const n=e;return"number"==typeof n.offset?n.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}function Je(e,n){return(e=e<0&&null!=n&&10!==n?4294967295+e+1:e).toString(n)}class Xe{static id(e){return Xe.idMap.has(e)||Xe.idMap.set(e,++Xe.count),Xe.idMap.get(e)}}function Ke(e){let n=0,t=5381;const r=e.length;for(;n<r;)t=33*t^e.charCodeAt(n++);return t}function Qe(e){return 2654435761*e|0}function en(e){return 0===e.length?0:e.reduce(((e,n)=>(e<<5)+e^n))}function nn(e){var n;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(We(e))return e.GetHashCode();if(je(e))return function(e){const n=e.length,t=new Array(n);for(let r=0;r<n;r++)t[r]=nn(e[r]);return en(t)}(e);if(e instanceof Date)return function(e){return e.getTime()}(e);if((null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===Object){const n=Object.values(e).map((e=>nn(e)));return en(n)}return Qe(Xe.id(e))}}function tn(e){return null==e?0:We(e)?e.GetHashCode():Qe(Xe.id(e))}function rn(e,n,t){if(null==e)return null==n;if(null==n)return!1;if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++)if(!t(e[r],n[r]))return!1;return!0}function on(e,n){return rn(e,n,sn)}function sn(e,n){var t;return e===n||(null==e?null==n:null!=n&&"object"==typeof e&&(function(e){return"function"==typeof e.Equals}(e)?e.Equals(n):je(e)?je(n)&&on(e,n):e instanceof Date?n instanceof Date&&0===an(e,n):(null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor)===Object&&function(e,n){const t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;t.sort(),r.sort();for(let i=0;i<t.length;i++)if(t[i]!==r[i]||!sn(e[t[i]],n[r[i]]))return!1;return!0}(e,n)))}function an(e,n){let t,r;return"offset"in e&&"offset"in n?(t=e.getTime(),r=n.getTime()):(t=e.getTime()+Ye(e),r=n.getTime()+Ye(n)),t===r?0:t<r?-1:1}function cn(e,n){return e===n?0:e<n?-1:1}function ln(e,n){return function(e,n,t){if(null==e)return null==n?0:1;if(null==n)return-1;if(e.length!==n.length)return e.length<n.length?-1:1;for(let r=0,i=0;r<e.length;r++)if(i=t(e[r],n[r]),0!==i)return i;return 0}(e,n,un)}function un(e,n){var t;return e===n?0:null==e?null==n?0:-1:null==n?1:"object"!=typeof e?e<n?-1:1:function(e){return"function"==typeof e.CompareTo}(e)?e.CompareTo(n):je(e)?je(n)?ln(e,n):-1:e instanceof Date?n instanceof Date?an(e,n):-1:(null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor)===Object?function(e,n){const t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return t.length<r.length?-1:1;t.sort(),r.sort();for(let i=0,o=0;i<t.length;i++){const s=t[i];if(s!==r[i])return s<r[i]?-1:1;if(o=un(e[s],n[s]),0!==o)return o}return 0}(e,n):-1}function fn(e,n,t){return e(n,t)>0?n:t}function dn(e){const n={};for(const t of e)n[t[0]]=t[1];return n}Xe.idMap=new WeakMap,Xe.count=0;const hn=Symbol("curried");function mn(e,n){if(null==n||n.length>1)return n;const t=(...t)=>{let r=n;for(let n=0;n<e;n++)r=r(t[n]);return r};return t[hn]=n,t}function pn(e,n,t){return r=>1===n?t(...e.concat([r])):pn(e.concat([r]),n-1,t)}function $n(e,n){return null==n||1===n.length?n:hn in n?n[hn]:pn([],e,n)}function gn(e,n,t){if(null!=n){if(hn in n){n=n[hn];for(let e=0;e<t.length;e++)n=n(t[e]);return n}return pn(t,e,n)}}function wn(e,n=0){var t,r;if(null!=e&&"object"==typeof e){if("function"==typeof e.toString)return e.toString();if(Symbol.iterator in e)return function(e){let n=0,t="[";for(const r of e){if(0===n)t+=wn(r);else{if(100===n){t+="; ...";break}t+="; "+wn(r)}n++}return t+"]"}(e);{const i=null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor;return i===Object&&n<10?"{ "+Object.entries(e).map((([e,t])=>e+" = "+wn(t,n+1))).join("\n ")+" }":null!==(r=null==i?void 0:i.name)&&void 0!==r?r:""}}return String(e)}class vn{get name(){return this.cases()[this.tag]}toJSON(){return 0===this.fields.length?this.name:[this.name].concat(this.fields)}toString(){return function(e,n){if(0===n.length)return e;{let t="",r=!0;return 1===n.length?(t=wn(n[0]),r=t.indexOf(" ")>=0):t=n.map((e=>wn(e))).join(", "),e+(r?" (":" ")+t+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>nn(e)));return e.splice(0,0,Qe(this.tag)),en(e)}Equals(e){return this===e||!!ze(this,e)&&this.tag===e.tag&&on(this.fields,e.fields)}CompareTo(e){return this===e?0:ze(this,e)?this.tag===e.tag?ln(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class yn{toJSON(){return function(e){const n={},t=Object.keys(e);for(let r=0;r<t.length;r++)n[t[r]]=e[t[r]];return n}(this)}toString(){return e=this,"{ "+Object.entries(e).map((([e,n])=>e+" = "+wn(n))).join("\n ")+" }";var e}GetHashCode(){return function(e){const n=Object.values(e).map((e=>nn(e)));return en(n)}(this)}Equals(e){return function(e,n){if(e===n)return!0;if(ze(e,n)){const t=Object.keys(e);for(let r=0;r<t.length;r++)if(!sn(e[t[r]],n[t[r]]))return!1;return!0}return!1}(this,e)}CompareTo(e){return function(e,n){if(e===n)return 0;if(ze(e,n)){const t=Object.keys(e);for(let r=0;r<t.length;r++){const i=un(e[t[r]],n[t[r]]);if(0!==i)return i}return 0}return-1}(this,e)}}class bn{constructor(e,n){"function"==typeof n?(this.getter=e,this.setter=n):(this.getter=()=>e,this.setter=n=>{e=n})}get contents(){return this.getter()}set contents(e){this.setter(e)}}class Cn{constructor(e){this.message=e}}function _n(e){return function(e){return e instanceof Cn||e instanceof Error}(e)?e:new Error(String(e))}class xn{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return nn(this.value)}Equals(e){return null!=e&&sn(this.value,e instanceof xn?e.value:e)}CompareTo(e){return null==e?1:un(this.value,e instanceof xn?e.value:e)}}function kn(e){return null==e||e instanceof xn?new xn(e):e}function In(e){if(null==e)throw new Error("Option has no value");return e instanceof xn?e.value:e}function Sn(e){return null==e?void 0:e}function An(e){return null==e?[]:[In(e)]}function En(e,n){return null!=e?In(e):n}function On(e,n){return null!=n?kn(e(In(n))):void 0}function Tn(e,n){return null!=n?e(In(n)):void 0}function Nn(){return e=un,{Compare:(n,t)=>e(n,t)};var e}function Mn(e,n){return"function"==typeof e?new e(n):new Array(n)}function Pn(e,n,t,r){const i=0|n;return e.fill(r,i,i+t)}function Dn(e,n,t){const r=0|n.length,i=Mn(t,r);for(let t=0;t<=r-1;t++)i[t]=e(n[t]);return i}function Rn(e,n,t){return t.reduce(e,n)}function Bn(e,n,t){if(null==n)return null==t;if(null==t)return!1;{let r=0,i=!0;const o=0|n.length,s=0|t.length;if(o>s)return!1;if(o<s)return!1;for(;r<o&&i;)i=e(n[r],t[r]),r=r+1|0;return i}}function Ln(e,n){return e<0||e>=n.length?void 0:kn(n[e])}function jn(e){const n=e<0,t=(e=Math.abs(e))%36e5/6e4;return(n?"-":"+")+qe(~~(e/36e5),2)+":"+qe(t,2)}function Wn(e,n){const t=e.toISOString();return"first"===n?t.substring(0,t.indexOf("T")):t.substring(t.indexOf("T")+1,t.length-1)}function Fn(e,n,t){return n.replace(/(\w)\1*/g,(n=>{let r=Number.NaN;switch(n.substring(0,1)){case"y":const i=t?e.getUTCFullYear():e.getFullYear();r=n.length<4?i%100:i;break;case"M":r=(t?e.getUTCMonth():e.getMonth())+1;break;case"d":r=t?e.getUTCDate():e.getDate();break;case"H":r=t?e.getUTCHours():e.getHours();break;case"h":const o=t?e.getUTCHours():e.getHours();r=o>12?o%12:o;break;case"m":r=t?e.getUTCMinutes():e.getMinutes();break;case"s":r=t?e.getUTCSeconds():e.getSeconds();break;case"f":r=t?e.getUTCMilliseconds():e.getMilliseconds()}return Number.isNaN(r)?n:r<10&&n.length>1?"0"+r:""+r}))}function Un(e,n,t){return null!=e.offset?function(e,n){var t,r,i;const o=new Date(e.getTime()+(null!==(t=e.offset)&&void 0!==t?t:0));if("string"!=typeof n)return o.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+jn(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==n.length)return Fn(o,n,!0);switch(n){case"D":case"d":return Wn(o,"first");case"T":case"t":return Wn(o,"second");case"O":case"o":return function(e,n){const t=e.toISOString();return t.substring(0,t.length-1)+jn(n)}(o,null!==(i=e.offset)&&void 0!==i?i:0);default:throw new Error("Unrecognized Date print format")}}(e,n):function(e,n){const t=1===e.kind;if("string"!=typeof n)return t?e.toUTCString():e.toLocaleString();if(1!==n.length)return Fn(e,n,t);switch(n){case"D":case"d":return t?Wn(e,"first"):e.toLocaleDateString();case"T":case"t":return t?Wn(e,"second"):e.toLocaleTimeString();case"O":case"o":return function(e,n){if(n)return e.toISOString();{const n=null==e.kind||2===e.kind;return qe(e.getFullYear(),4)+"-"+qe(e.getMonth()+1,2)+"-"+qe(e.getDate(),2)+"T"+qe(e.getHours(),2)+":"+qe(e.getMinutes(),2)+":"+qe(e.getSeconds(),2)+"."+qe(e.getMilliseconds(),3)+(n?jn(-6e4*e.getTimezoneOffset()):"")}}(e,t);default:throw new Error("Unrecognized Date print format")}}(e,n)}function zn(e,n){const t=new Date(e);return t.kind=0|(null==n?0:n),t}function Vn(e){function n(){throw new Error(`The string is not a valid Date: ${e}`)}null!=e&&""!==e.trim()||n(),10===e.length&&"-"===e[4]&&"-"===e[7]&&(e+="T00:00:00");let t=new Date(e),r=null;if(isNaN(t.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,n=0;if(null!=i[2]){const e=i[2].split(":");n=3600*parseInt(e[0],10)+60*parseInt(e[1]||"0",10)+parseFloat(e[2]||"0"),null!=i[3]&&"PM"===i[3].toUpperCase()&&(n+=720)}if(null!=i[4]){if(null!=i[1])e=new Date(i[1]+" UTC");else{const n=new Date;e=new Date(n.getUTCFullYear()+"/"+(n.getUTCMonth()+1)+"/"+n.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,n-=60*e}}else if(null!=i[1])e=new Date(i[1]);else{const n=new Date;e=new Date(n.getFullYear()+"/"+(n.getMonth()+1)+"/"+n.getDate())}t=new Date(e.getTime()+1e3*n),t=new Date(t.getTime()+6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))}else n();isNaN(t.getTime())&&n()}return[t,r]}function Hn(e,n){try{return n.contents=function(e,n=!1){const[t,r]=Vn(e),i=null!=r?n&&"Z"===r?1:2:0;return zn(t.getTime(),i)}(e),!0}catch(e){return!1}}function Gn(){return function(e,n,t,r=0,i=0,o=0,s=0,a){const c=1===a?Date.UTC(e,n-1,t,r,i,o,s):new Date(e,n-1,t,r,i,o,s).getTime();if(isNaN(c))throw new Error("The parameters describe an unrepresentable Date.");const l=zn(c,a);return e<=99&&l.setFullYear(e,n-1,t),l}(Zn(e=zn(Date.now(),2)),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);var e}function Zn(e){return 1===e.kind?e.getUTCFullYear():e.getFullYear()}const qn=Symbol("numeric");function Yn(e){return"number"==typeof e||(null==e?void 0:e[qn])}function Jn(e,n){return"number"==typeof e?e*n:e[qn]().multiply(n)}function Xn(e,n){return"number"==typeof e?e.toFixed(n):e[qn]().toFixed(n)}function Kn(e,n){return"number"==typeof e?e.toPrecision(n):e[qn]().toPrecision(n)}function Qn(e,n){return"number"==typeof e?e.toExponential(n):e[qn]().toExponential(n)}function et(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[qn]().toHex()}function nt(e,n=0){if(0!=(-284&n))throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let t="gu";return t+=1&n?"i":"",t+=2&n?"m":"",t+=16&n?"s":"",new RegExp(e,t)}function tt(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function rt(e,n,t=0){if(null==n)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=t;const r=[];let i,o=-1;for(;null!=(i=e.exec(n));)i.index===o?e.lastIndex++:(o=i.index,r.push(i));return r}const it=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,ot=/(?:(^|[^%])%([0+\- ]*)(\d+)?(?:\.(\d+))?(\w))?%P\(\)/g,st=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function at(e,n){return function(e,n){return"number"==typeof e?e<n?-1:e>n?1:0:e.CompareTo(n)}(e,n)<0}function ct(e,n,t){function r(e){return!0===e||1===e||3===e||5===e}return null==e?null==n?0:-1:null==n?1:4===(i=t)||5===i?(r(t)&&(e=e.toLowerCase(),n=n.toLowerCase()),e===n?0:e<n?-1:1):(r(t)&&(e=e.toLocaleLowerCase(),n=n.toLocaleLowerCase()),e.localeCompare(n));var i}function lt(e){return{input:e,cont:(n=e,e=>{it.lastIndex=0;const t=[],r=[];let i=0,o=it.exec(n);for(;o;){const e=o.index+(o[1]||"").length;t.push(n.substring(i,e).replace(/%%/g,"%")),r.push(o),i=it.lastIndex,it.lastIndex-=1,o=it.exec(n)}return 0===t.length?e(n.replace(/%%/g,"%")):(t.push(n.substring(i).replace(/%%/g,"%")),pt(e,t,r))})};var n}function ut(e,n){let t=0,r=0,i="";ot.lastIndex=0;let o=ot.exec(e);for(;o;){const s=o.index+(o[1]||"").length;i+=e.substring(r,s).replace(/%%/g,"%");const[,,a,c,l,u]=o;r=ot.lastIndex,i+=mt(n[t++],a,c,l,u),ot.lastIndex=r-1,o=ot.exec(e)}return i+=e.substring(r).replace(/%%/g,"%"),i}function ft(e,n){return"string"==typeof n?e(n):n.cont(e)}function dt(e){return ft((e=>e),e)}function ht(e){return ft((e=>{throw new Error(e)}),e)}function mt(e,n,t,r,i){let o="";if(n=n||"",i=i||"",Yn(e))switch("x"!==i.toLowerCase()&&(at(e,0)?(e=Jn(e,-1),o="-"):n.indexOf(" ")>=0?o=" ":n.indexOf("+")>=0&&(o="+")),r=null==r?null:parseInt(r,10),i){case"f":case"F":e=Xn(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?Kn(e,r):Kn(e);break;case"e":case"E":e=null!=r?Qn(e,r):Qn(e);break;case"x":e=et(e);break;case"X":e=et(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?Un(e):wn(e);if(t="number"==typeof t?t:parseInt(t,10),isNaN(t))e=o+e;else{const r=n.indexOf("0")>=0,i=n.indexOf("-")>=0,s=i||!r?" ":"0";e="0"===s?o+(e=yt(e,t-o.length,s,i)):yt(o+e,t,s,i)}return e}function pt(e,n,t,r="",i=-1){return(...o)=>{let s=r;const a=n.slice(),c=t.slice();for(const e of o){const[,,n,t,r,o]=c[0];let l=t;if(i>=0)l=i,i=-1;else if("*"===l){if(e<0)throw new Error("Non-negative number required");i=e;continue}s+=a[0],s+=mt(e,n,l,r,o),a.splice(0,1),c.splice(0,1)}return 0===c.length?(s+=a[0],e(s)):pt(e,a,c,s,i)}}function $t(e,...n){return"object"==typeof e&&n.length>0&&(e=n[0],n.shift()),e.replace(st,((e,t,r,i,o,s)=>{if(t<0||t>=n.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let a=n[t];if(Yn(a))switch(o=null==o?null:parseInt(o,10),i){case"f":case"F":a=Xn(a,o=null!=o?o:2);break;case"g":case"G":a=null!=o?Kn(a,o):Kn(a);break;case"e":case"E":a=null!=o?Qn(a,o):Qn(a);break;case"p":case"P":o=null!=o?o:2,a=Xn(Jn(a,100),o)+" %";break;case"d":case"D":a=null!=o?bt(String(a),o,"0"):String(a);break;case"x":case"X":a=null!=o?bt(et(a),o,"0"):et(a),"X"===i&&(a=a.toUpperCase());break;default:if(s){let e="";a=s.replace(/([0#,]+)(\.[0#]+)?/,((n,t,r)=>{at(a,0)&&(a=Jn(a,-1),e="-"),r=null==r?"":r.substring(1),a=Xn(a,Math.max(r.length,0));let[i,o]=a.split(".");o||(o=""),i=bt(i,t.replace(/,/g,"").replace(/^#+/,"").length,"0");const s=r.replace(/#+$/,"").length;if(s>o.length?o=function(e,n,t){return yt(e,n,"0",!0)}(o,s):s<o.length&&(o=o.substring(0,s)+o.substring(s).replace(/0+$/,"")),t.indexOf(",")>0){const e=i.length%3,n=Math.floor(i.length/3);let t=e>0?i.substr(0,e)+(n>0?",":""):"";for(let r=0;r<n;r++)t+=i.substr(e+3*r,3)+(r<n-1?",":"");i=t}return o.length>0?i+"."+o:i})),a=e+a}}else a=a instanceof Date?Un(a,s||i):wn(a);return r=parseInt((r||" ").substring(1),10),isNaN(r)||(a=yt(String(a),Math.abs(r)," ",r<0)),a}))}function gt(e){return"string"!=typeof e||0===e.length}function wt(e){return"string"!=typeof e||/^\s*$/.test(e)}function vt(e,n){return Array.isArray(n)?n.join(e):Array.from(n).join(e)}function yt(e,n,t,r){t=t||" ",n-=e.length;for(let i=0;i<n;i++)e=r?e+t:t+e;return e}function bt(e,n,t){return yt(e,n,t)}function Ct(e,n,t,r){if(r="number"==typeof r?r:0,(t="number"==typeof t?t:void 0)&&t<0)throw new Error("Count cannot be less than zero");if(0===t)return[];const i=1==(1&r),o=2==(2&r);n=(n=n||[]).filter((e=>e)).map(tt),n=n.length>0?n:["\\s"];const s=[],a=new RegExp(n.join("|"),"g");let c=!0,l=0;do{const n=a.exec(e);if(null===n){const n=o?e.substring(l).trim():e.substring(l);(!i||n.length>0)&&s.push(n),c=!1}else{const r=o?e.substring(l,n.index).trim():e.substring(l,n.index);(!i||r.length>0)&&(null!=t&&s.length+1===t?(s.push(o?e.substring(l).trim():e.substring(l)),c=!1):s.push(r)),l=a.lastIndex}}while(c);return s}function _t(e,n){return n.split("").filter((n=>e(n))).join("")}function xt(e,n,t){if(n+(t||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=t?e.substr(n,t):e.substr(n)}const kt="Collection was empty.";class It extends yn{constructor(e,n){super(),this.head=e,this.tail=n}toString(){return"["+vt("; ",this)+"]"}Equals(e){return this===e||((e,n)=>{e:for(;;){const t=e,r=n,i=[t.tail,r.tail];if(null!=i[0]){if(null!=i[1]){const o=i[0],s=i[1];if(sn(t.head,r.head)){e=o,n=s;continue e}return!1}return!1}return null==i[1]}})(this,e)}GetHashCode(){return 0|((e,n,t)=>{for(;;){const r=e,i=n,o=t,s=o.tail;if(null==s)return 0|i;{const a=s;if(r>18)return 0|i;e=r+1,n=(i<<1)+nn(o.head)+631*r,t=a}}})(0,0,this)}toJSON(e){return Array.from(this)}CompareTo(e){return 0|((e,n)=>{e:for(;;){const t=e,r=n,i=[t.tail,r.tail];if(null!=i[0]){if(null!=i[1]){const o=i[0],s=i[1],a=0|un(t.head,r.head);if(0===a){e=o,n=s;continue e}return 0|a}return 1}return null!=i[1]?-1:0}})(this,e)}GetEnumerator(){return new St(this)}[Symbol.iterator](){return Ge(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return He(this)}}class St{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,n=e.it.tail;if(null!=n){const t=n;return e.current=e.it.head,e.it=t,!0}return!1}"System.Collections.IEnumerator.Reset"(){const e=this;e.it=e.xs,e.current=null}Dispose(){}}function At(){return new It(null,void 0)}function Et(e,n){return new It(e,n)}function Ot(e){return null==e.tail}function Tt(e){return 0|((e,n)=>{for(;;){const t=e,r=n.tail;if(null==r)return 0|t;e=t+1,n=r}})(0,e)}function Nt(e){if(null!=e.tail)return e.head;throw new Error(kt+"\\nParameter name: list")}function Mt(e){const n=e.tail;if(null!=n)return n;throw new Error(kt+"\\nParameter name: list")}function Pt(){return At()}function Dt(e,n){return Et(e,n)}function Rt(e){return Et(e,At())}function Bt(e){return Ot(e)}function Lt(e){return Tt(e)}function jt(e){return Nt(e)}function Wt(e){return Mt(e)}function Ft(e){const n=0|Tt(e),t=Pn(new Array(n),0,n,null);return((e,n)=>{for(;;){const r=e,i=n;if(Ot(i))break;t[r]=Nt(i),e=r+1,n=Mt(i)}})(0,e),t}function Ut(e,n,t){let r=n,i=t;for(;!Ot(i);)r=e(r,Nt(i)),i=Mt(i);return r}function zt(e){return Ut(((e,n)=>Et(n,e)),At(),e)}function Vt(e,n){Ut(((n,t)=>{e(t)}),void 0,n)}function Ht(e,n){let t=n;for(let n=e.length-1;n>=0;n--)t=Et(e[n],t);return t}function Gt(e){return Ht(e,At())}function Zt(e,n){return Ut(((e,n)=>Et(n,e)),n,zt(e))}function qt(e,n){const t=At(),r=Ut(((n,t)=>{const r=new It(e(t),void 0);return n.tail=r,r}),t,n),i=At();return r.tail=i,Mt(t)}function Yt(e,n){return function(e,n){return(n=>{e:for(;;){const t=n;if(Ot(t))return;{const r=e(Nt(t));if(null==r){n=Mt(t);continue e}return r}}})(n)}((n=>e(n)?kn(n):void 0),n)}function Jt(e,n){return((n,t)=>{for(;;){const r=n,i=t;if(Ot(i))return;if(e(Nt(i)))return r;n=r+1,t=Mt(i)}})(0,n)}function Xt(e,n){const t=At(),r=Ut(((n,t)=>{if(e(t)){const e=new It(t,void 0);return n.tail=e,e}return n}),t,n),i=At();return r.tail=i,Mt(t)}function Kt(e,n,t){return null!=Jt((n=>t.Equals(e,n)),n)}function Qt(e,n){return null!=Jt(e,n)}const er="Enumeration already finished.",nr="Enumeration has not started. Call MoveNext.",tr="The input sequence has an insufficient number of elements.";function rr(){throw new Error(nr)}function ir(){throw new Error(er)}class or{constructor(e){this.f=e}toString(){let e=0,n="seq [";const t=He(this);try{for(;e<4&&t["System.Collections.IEnumerator.MoveNext"]();)e>0&&(n+="; "),n+=wn(t["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(n+="; ..."),n+"]"}finally{Ue(t)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Ge(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class sr{constructor(e,n,t){this.current=e,this.next=n,this.dispose=t}"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 ar(e,n,t){return new sr(e,n,t)}function cr(e,n,t){let r,i=!1,o=kn(e());const s=()=>{if(null!=o){const e=In(o);try{t(e)}finally{o=void 0}}},a=()=>{try{s()}finally{r=void 0}};return ar((()=>(i||rr(),null!=r?In(r):ir())),(()=>{if(i||(i=!0),null!=o){const e=In(o);let t;try{t=n(e)}catch(e){throw a(),e}return null!=t?(r=t,!0):(a(),!1)}return!1}),s)}function lr(e){return function(e){return new or(e)}(e)}function ur(e){return n="source",null==e&&function(e){throw new Error(e)}(n),He(e);var n}function fr(e){return lr((()=>He(e())))}function dr(e){return lr((()=>function(e){let n,t,r,i=!1,o=!1;const s=()=>{if(o=!0,null!=t){const e=t;try{Ue(e)}finally{t=void 0}}if(null!=n){const e=n;try{Ue(e)}finally{n=void 0}}};return ar((()=>(i?o&&ir():rr(),null!=r?In(r):ir())),(()=>{let a;if(i||(i=!0),o)return!1;{let i;for(;null==i;){const o=[n,t];if(null!=o[0])if(null!=o[1]){const e=o[1];if(e["System.Collections.IEnumerator.MoveNext"]())r=kn(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),i=!0;else try{Ue(e)}finally{t=void 0}}else{const e=o[0];e["System.Collections.IEnumerator.MoveNext"]()?(a=e["System.Collections.Generic.IEnumerator`1.get_Current"](),t=He(a)):(s(),i=!1)}else n=He(e)}return In(i)}}),(()=>{o||s()}))}(e)))}function hr(){return fr((()=>new Array(0)))}function mr(e){return fr((()=>function(e,n){const t=Mn(void 0,1);return t[0]=e,t}(e)))}function pr(e){return e instanceof It?Ft(e):Array.from(e)}function $r(e){return je(e)?Gt(e):e instanceof It?e:function(e){let n,t;if(je(e))return Gt(e);if(e instanceof It)return e;{const r=At();let i=r;const o=He(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const e=o["System.Collections.Generic.IEnumerator`1.get_Current"]();n=i,t=new It(e,void 0),n.tail=t,i=t}}finally{Ue(o)}const s=i,a=At();return s.tail=a,Mt(r)}}(e)}function gr(e,n,t){return lr((()=>{let r=-1;return cr(e,(e=>(r=r+1|0,n(r,e))),t)}))}function wr(e,n){return dr([e,n])}function vr(e,n,t){const r=ur(n);try{let n=!1;for(;!n&&r["System.Collections.IEnumerator.MoveNext"]();)n=t.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return n}finally{Ue(r)}}function yr(e,n,t){const r=ur(t);try{let t=n;for(;r["System.Collections.IEnumerator.MoveNext"]();)t=e(t,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return t}finally{Ue(r)}}function br(e,n){yr(((n,t)=>{e(t)}),void 0,n)}function Cr(e,n){return t=()=>ur(n),r=n=>n["System.Collections.IEnumerator.MoveNext"]()?kn(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,i=e=>{Ue(e)},lr((()=>cr(t,r,i)));var t,r,i}function _r(e){return fr((()=>function(e){return e.slice().reverse()}(pr(e))))}function xr(e,n){return lr((()=>{const t=ur(n);try{for(let n=1;n<=e;n++)if(!t["System.Collections.IEnumerator.MoveNext"]())throw new Error(tr+"\\nParameter name: source");return function(e,n){return ar((()=>n["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>n["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{Ue(n)}finally{e()}}))}((()=>{}),t)}catch(e){throw Ue(t),e}}))}function kr(e,n){return fr((()=>dr(Cr(e,n))))}Symbol.iterator;const Ir={None:0,LowerFirst:1,SnakeCase:2,SnakeCaseAllCaps:3,KebabCase:4};function Sr(e,n){return e.replace(/[a-z]?[A-Z]/g,(e=>1===e.length?e.toLowerCase():e.charAt(0)+n+e.charAt(1).toLowerCase()))}function Ar(e,n=Ir.None){const t={},r=n;function i(e){throw new Error("Cannot infer key and value of "+String(e))}function o(e,n,r){e=function(e,n){switch(n){case Ir.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case Ir.SnakeCase:return Sr(e,"_");case Ir.SnakeCaseAllCaps:return Sr(e,"_").toUpperCase();case Ir.KebabCase:return Sr(e,"-");case Ir.None:default:return e}}(e,n),t[e]=r}for(let n of e){let e=Ir.None;if(null==n&&i(n),n instanceof vn){const t=n.cases()[n.tag];n=0===n.fields.length?t:[t].concat(n.fields),e=r}if(Array.isArray(n))switch(n.length){case 0:i(n);break;case 1:o(n[0],e,!0);break;case 2:const t=n[1];o(n[0],e,t);break;default:o(n[0],e,n.slice(1))}else"string"==typeof n?o(n,e,!0):i(n)}return t}function Er(e,n){if(e.has(n))return e.get(n);throw new Error(`The given key '${n}' was not present in the dictionary.`)}var Or,Tr,Nr;function Mr(){return Mr=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Mr.apply(this,arguments)}const Pr=function(e){return d("svg",Mr({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Or||(Or=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),Tr||(Tr=d("path",{d:"M9 24h21M23 17l7 7-7 7",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Nr||(Nr=d("path",{d:"M23 9h12a3 3 0 0 1 3 3v24a3 3 0 0 1-3 3H23",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};var Dr,Rr,Br,Lr;function jr(){return jr=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},jr.apply(this,arguments)}const Wr=function(e){return d("svg",jr({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Dr||(Dr=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),Rr||(Rr=d("path",{d:"M18 18.782V15a6.018 6.018 0 0 1 6-6 6.018 6.018 0 0 1 6 6v3.783",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Br||(Br=d("path",{d:"M24 39c6.075 0 11-4.925 11-11s-4.925-11-11-11-11 4.925-11 11 4.925 11 11 11Z",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Lr||(Lr=d("path",{d:"M24 30v3M24 30a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};var Fr,Ur,zr,Vr,Hr;function Gr(){return Gr=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Gr.apply(this,arguments)}const Zr=function(e){return d("svg",Gr({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Fr||(Fr=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),Ur||(Ur=d("path",{d:"M24 9v13",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),zr||(zr=d("path",{d:"M32 19h.235a3 3 0 0 1 2.622 1.543L39 28v7a3 3 0 0 1-3 3H12a3 3 0 0 1-3-3v-7l4.143-7.457A3 3 0 0 1 15.765 19H16",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Vr||(Vr=d("path",{d:"m29 17-5 5-5-5",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Hr||(Hr=d("path",{d:"M39 28H29v3H19v-3H9",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};var qr,Yr,Jr,Xr,Kr,Qr;function ei(){return ei=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},ei.apply(this,arguments)}const ni=function(e){return d("svg",ei({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),qr||(qr=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),Yr||(Yr=d("path",{d:"M24 18v6h-6",stroke:"#212121",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Jr||(Jr=d("path",{d:"M32 39a7 7 0 1 0 0-14 7 7 0 0 0 0 14Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Xr||(Xr=d("path",{d:"M21.982 35.84c-.092.538-.605.904-1.135.772a12.999 12.999 0 1 1 15.767-15.758c.132.53-.234 1.043-.773 1.134-.54.092-1.046-.272-1.185-.8A11.02 11.02 0 1 0 21.18 34.653c.528.14.892.647.8 1.185Z",fill:"#111827"})),Kr||(Kr=d("path",{stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",d:"M32 29v3"})),Qr||(Qr=d("circle",{cx:32,cy:35,r:1,fill:"currentColor"})))};var ti,ri,ii;function oi(){return oi=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},oi.apply(this,arguments)}const si=function(e){return d("svg",oi({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ti||(ti=d("rect",{width:48,height:47,rx:8,fill:"#FEE2E2"})),ri||(ri=d("g",{clipPath:"url(#error_svg__a)"},d("path",{d:"M24 15v12",stroke:"#DC2626",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M24 34a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z",fill:"#DC2626"}),d("path",{d:"M30.213 9H17.787L9 17.787v12.426L17.787 39h12.426L39 30.213V17.787L30.213 9Z",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))),ii||(ii=d("defs",null,d("clipPath",{id:"error_svg__a"},d("path",{fill:"#fff",transform:"translate(8 8)",d:"M0 0h32v32H0z"})))))};var ai,ci,li;function ui(){return ui=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},ui.apply(this,arguments)}const fi=function(e){return d("svg",ui({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ai||(ai=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),ci||(ci=d("g",{clipPath:"url(#completed_svg__a)",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},d("path",{d:"m17 25 4 4 10-10",stroke:"currentColor"}),d("path",{d:"M24 39c8.284 0 15-6.716 15-15 0-8.284-6.716-15-15-15-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15Z",stroke:"#111827"}))),li||(li=d("defs",null,d("clipPath",{id:"completed_svg__a"},d("path",{fill:"#fff",transform:"translate(8 8)",d:"M0 0h32v32H0z"})))))};function di(e){return $r(fr((()=>wr(mr(["className","text-primary-base"]),fr((()=>e))))))}function hi(e){const n=Ar(di(e),1);return d(Pr,n)}function mi(e){const n=Ar(di(e),1);return d(Zr,n)}function pi(e){const n=Ar(di(e),1);return d(si,n)}function $i(e){const n=Ar(di(e),1);return d(fi,n)}const gi=Le;var wi,vi;function yi(){return yi=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},yi.apply(this,arguments)}const bi=function(e){return d("svg",yi({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),wi||(wi=d("path",{d:"M21.6 12a9.6 9.6 0 1 1-19.2 0 9.6 9.6 0 0 1 19.2 0ZM4.797 12a7.203 7.203 0 1 0 14.406 0 7.203 7.203 0 0 0-14.406 0Z",fill:"#fff",fillOpacity:.3})),vi||(vi=d("path",{d:"M12 3.6c0-.663.54-1.208 1.197-1.125a9.6 9.6 0 0 1 8.329 8.328c.082.658-.463 1.197-1.126 1.197-.662 0-1.19-.541-1.3-1.195A7.202 7.202 0 0 0 13.196 4.9C12.54 4.79 12 4.263 12 3.6Z",fill:"#fff"})))};var Ci,_i;function xi(){return xi=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},xi.apply(this,arguments)}const ki=function(e){return d("svg",xi({width:64,height:65,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ci||(Ci=d("g",{clipPath:"url(#spinner-large_svg__a)"},d("path",{d:"M64 32.5c0 17.673-14.327 32-32 32-17.673 0-32-14.327-32-32C0 14.827 14.327.5 32 .5c17.673 0 32 14.327 32 32Zm-62.004 0c0 16.57 13.433 30.004 30.004 30.004 16.57 0 30.004-13.433 30.004-30.004C62.004 15.93 48.571 2.496 32 2.496 15.43 2.496 1.996 15.929 1.996 32.5Z",fill:"#D6E2FC"}),d("path",{d:"M32 1.492c0-.548.444-.994.992-.977a32 32 0 0 1 30.993 30.993.968.968 0 0 1-.977.992c-.548 0-.99-.444-1.008-.992A30.015 30.015 0 0 0 32.992 2.5 1.018 1.018 0 0 1 32 1.492Z",fill:"currentColor"}))),_i||(_i=d("defs",null,d("clipPath",{id:"spinner-large_svg__a"},d("path",{fill:"#fff",transform:"translate(0 .5)",d:"M0 0h64v64H0z"})))))};function Ii(e){const n=Ar(e,1);return d(ki,n)}function Si(e){return d("h1",{className:"mt-4 mb-4 sm:mb-8 text-xl sm:text-3xl font-semibold text-gray-900",children:e})}function Ai(e){let n;const t=Tn((e=>e.Phone),e.Support),r=Tn((e=>e.Email),e.Support);return d("p",dn(Gt([["className","text-sm text-gray-900 whitespace-pre-wrap leading-5"],(n=$r(fr((()=>{let n;return wr(mr((n=`Need help? Contact ${En(e.CompanyName,"your employer")}`,d("span",{children:[n]}))),fr((()=>{let e;return wr((e=[t,r],null==e[0]&&null==e[1]?mr(d("span",{children:["for assistance"]})):wr(mr(d("span",{children:[" at "]})),fr((()=>{let e,n,i;return wr((e=t,null==e?mr(null):(n=e,mr((i=`${n}`,d("span",{children:[i]}))))),fr((()=>{let e;return wr((e=[t,r],mr(null!=e[0]&&null!=e[1]?d("span",{children:[" or "]}):null)),fr((()=>mr(null==r?null:d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",href:`mailto:${r}`,children:r})))))})))})))),fr((()=>mr(d("span",{children:["."]})))))})))}))),["children",gi.Children.toArray(Array.from(n))])])))}function Ei(e,n,t,r){let i;return d("button",dn(Gt([["className",`w-full sm:w-[240px] ${t?"bg-primary-dark":"bg-primary-base"} text-primary-text font-semibold text-base rounded-md flex items-center justify-center h-[42px] hover:bg-primary-hover ${En(e,"")}`],["type","button"],["onClick",e=>{n()}],["disabled",t],(i=$r(fr((()=>t?mr(function(e){const n=Ar([["className","animate-spin"]],1);return d(bi,n)}()):r))),["children",gi.Children.toArray(Array.from(i))])])))}const Oi=Ii([["className","text-primary-base animate-spin"]]),Ti=(e,n)=>{K((()=>{const n=e();return()=>{n.Dispose()}}),n)},Ni=e=>{Q((()=>{const n=e();return()=>{n.Dispose()}}))};function Mi(e){return{Dispose(){e()}}}function Pi(e){return gi.useState(e)}function Di(e){var n;n=e,K((()=>{const e=n();return()=>{e.Dispose()}}))}function Ri(e,n){Ti(e,n)}function Bi(e){ji(e,[])}function Li(e){Ri(e,[])}function ji(e,n){Ti((n=>(e(),Mi((()=>{})))),n)}function Wi(e){return gi.useRef(e)}function Fi(e,n){const t=En(n,[]);return gi.useMemo(e,t)}function Ui(e){const n=Wi(e),t=function(e,t){const r=En([],[]);return gi.useCallback((e=>n.current(e)),r)}();var r;return r=()=>{n.current=e},Ni((e=>(r(),Mi((()=>{}))))),t}function zi(e){return gi.useState(e)}function Vi(e,n,t){const r=[pi([]),Si(e),d("p",{className:"text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-7 sm:leading-8 space-y-1 sm:space-y-2 mb-8",children:n}),En(t,null)];return d(m,{},...r)}function Hi(e,n,t){return Vi(e,n,On((e=>{let n;return d("div",dn(Gt([["className","mt-8"],(n=[Ai(e)],["children",gi.Children.toArray(Array.from(n))])])))}),t))}function Gi(e){let n;const t=e.reissueMagicLink,r=zi(!1);return Vi("Too many Invalid Codes","We’ve temporarily locked mobile authentication for your account because you made too many attempts with an invalid security code.",d("div",dn(Gt([["className","mt-1 sm:mt-8 text-base leading-7 text-gray-900 whitespace-pre-wrap"],(n=[d("span",{children:["Please wait 30 minutes before trying again, or "]}),d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",onClick:e=>{r[0]||(r[1](!0),t())},children:"sign in with email instead"}),d("span",{children:["."]})],["children",gi.Children.toArray(Array.from(n))])]))))}function Zi(e){return Hi("That link doesn’t look right","It looks like the link is incorrect or incomplete. We recommend going back to your invitation email and trying again.",e)}function qi(){return Vi("Something went wrong","We are unable to load our application at this time. Please wait a few minutes before trying again.",void 0)}const Yi=d("div",dn(Gt([["className","w-full sm:max-w-[640px] mt-10 sm:mt-14 text-xs text-gray-500 text-center whitespace-pre-wrap space-y-4"],(()=>{let e,n,t;const r=[(e=Gt([d("span",{children:["Flare provides workplace solutions to Australian businesses and their employees. All information collected is treated in accordance with our "]}),d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",href:"https://www.flarehr.com/security",target:"_blank",rel:"noreferrer",children:"security standards"}),d("span",{children:[" and "]}),d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",href:"https://www.flarehr.com/privacy-policy",target:"_blank",rel:"noreferrer",children:"Privacy Policy"}),d("span",{children:["."]})]),d("p",{children:gi.Children.toArray(Array.from(e))})),(n=`Copyright © ${t=Gn(),Zn(t)} Flare. ABN 46 607 120 892.`,d("p",{children:[n]}))];return["children",gi.Children.toArray(Array.from(r))]})()])));function Ji(){let e,n;return d("div",dn(Gt([["className",vt(" ",["fade-in","min-h-full flex flex-col justify-between w-full sm:w-[640px] mx-auto text-center"])],(e=[d("div",dn(Gt([["className","flex flex-col mt-10 mx-4 sm:mt-20 justify-center items-center"],(n=[Ii([["className","text-primary-base animate-spin"]]),d("h1",{className:"mt-4 font-bold text-2xl sm:text-3xl text-gray-900",children:"Authenticating your account"}),d("p",{className:"mt-6 sm:mt-8 text-base sm:text-lg text-gray-900",children:"This may take a few seconds, please don’t close this window."})],["children",gi.Children.toArray(Array.from(n))])]))),d("div",{className:"mb-6 sm:mb-8 px-4",children:gi.Children.toArray([Yi])})],["children",gi.Children.toArray(Array.from(e))])])))}class Xi{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 n=this._id;return this._listeners.set(this._id++,e),n}removeListener(e){return this._listeners.delete(e)}register(e,n){const t=this,r=this.addListener(null==n?e:()=>e(n));return{Dispose(){t.removeListener(r)}}}Dispose(){}}class Ki extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Ki.prototype)}}class Qi{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>Qi.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function eo(e){return n=>{if(n.cancelToken.isCancelled)n.onCancel(new Ki);else if(n.trampoline.incrementAndCheck())n.trampoline.hijack((()=>{try{e(n)}catch(e){n.onError(_n(e))}}));else try{e(n)}catch(e){n.onError(_n(e))}}}const no=new class{Bind(e,n){return function(e,n){return eo((t=>{e({onSuccess:e=>{try{n(e)(t)}catch(e){t.onError(_n(e))}},onError:t.onError,onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})}))}(e,n)}Combine(e,n){return this.Bind(e,(()=>n))}Delay(e){return eo((n=>e()(n)))}For(e,n){const t=e[Symbol.iterator]();let r=t.next();return this.While((()=>!r.done),this.Delay((()=>{const e=n(r.value);return r=t.next(),e})))}Return(e){return function(e){return eo((n=>n.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,n){return eo((t=>{e({onSuccess:e=>{n(),t.onSuccess(e)},onError:e=>{n(),t.onError(e)},onCancel:e=>{n(),t.onCancel(e)},cancelToken:t.cancelToken,trampoline:t.trampoline})}))}TryWith(e,n){return eo((t=>{e({onSuccess:t.onSuccess,onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline,onError:e=>{try{n(e)(t)}catch(e){t.onError(_n(e))}}})}))}Using(e,n){return this.TryFinally(n(e),(()=>e.Dispose()))}While(e,n){return e()?this.Bind(n,(()=>this.While(e,n))):this.Return(void 0)}Zero(){return eo((e=>e.onSuccess(void 0)))}};class to extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Ok","Error"]}}function ro(e,n){return 0===n.tag?new to(0,e(n.fields[0])):new to(1,n.fields[0])}function io(e,n){return 0===n.tag?e(n.fields[0]):new to(1,n.fields[0])}class oo extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Choice1Of2","Choice2Of2"]}}class so extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Choice1Of3","Choice2Of3","Choice3Of3"]}}function ao(e){}function co(e){const n=new Xi("boolean"==typeof e&&e);return"number"==typeof e&&setTimeout((()=>{n.cancel()}),e),n}function lo(e){e.cancel()}const uo=new Xi;function fo(e){return eo((n=>{e({onSuccess:e=>n.onSuccess(function(e){return new oo(0,e)}(e)),onError:e=>n.onSuccess(function(e){return new oo(1,e)}(e)),onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})}))}function ho(e){return eo((n=>e([n.onSuccess,n.onError,n.onCancel])))}function mo(e){return eo((n=>{let t;const r=setTimeout((()=>{n.cancelToken.removeListener(t),n.onSuccess(void 0)}),e);t=n.cancelToken.addListener((()=>{clearTimeout(r),n.onCancel(new Ki)}))}))}function po(e,n){return function(e,n){return $o(e,n)}(e,n)}function $o(e,n,t,r,i){"function"!=typeof n&&(i=n,n=void 0);const o=new Qi;e({onSuccess:n||ao,onError:t||ao,onCancel:r||ao,cancelToken:i||uo,trampoline:o})}const go=class{constructor(){this.delegates=[]}Add(e){this._addHandler(e)}get Publish(){return this}Trigger(e,n){let t,r;void 0===n?(t=null,r=e):(t=e,r=n),this.delegates.forEach((e=>1===e.length?e(r):e(t,r)))}AddHandler(e){this._addHandler(e)}RemoveHandler(e){this._removeHandler(e)}Subscribe(e){const n="function"==typeof e?e:e.OnNext;return this._addHandler(n),{Dispose:()=>{this._removeHandler(n)}}}_addHandler(e){this.delegates.push(e)}_removeHandler(e){const n=this.delegates.indexOf(e);n>-1&&this.delegates.splice(n,1)}},wo=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 go}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}};class vo{constructor(e,n,t){this.OnNext=e,this.OnError=n||(e=>{}),this.OnCompleted=t||(()=>{})}}function yo(e,n,t){Vt((t=>{try{t(n)}catch(n){e(n)}}),t)}function bo(){return Pt()}function Co(e,n){return qt((n=>t=>{n((n=>{t(e(n))}))}),n)}function _o(e){return function(e){const n=At();let t=n;const r=e=>{t=Ut(((e,n)=>{const t=new It(n,void 0);return e.tail=t,t}),t,e)};if(je(e))e.forEach(r);else if(e instanceof It)Vt(r,e);else{const n=He(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();)r(n["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{Ue(n)}}const i=t,o=At();return i.tail=o,Mt(n)}(e)}function xo(e){return Rt(e)}function ko(e){return Rt((n=>{n(e)}))}function Io(e,n,t,r,i){return Rt((o=>{e(no.Delay((()=>no.Bind(fo(n(t)),(e=>{const n=e;return o(1===n.tag?i(n.fields[0]):r(n.fields[0])),no.Zero()})))))}))}function So(e,n,t,r){return Rt((i=>{e(no.Delay((()=>no.Bind(fo(n(t)),(e=>{const n=e;return 0===n.tag?(i(r(n.fields[0])),no.Zero()):no.Zero()})))))}))}function Ao(e){!function(e,n){let t,r=new wo(e);r.AutoReset=!1,t=r,function(e,n){n.Subscribe(new vo(e))}(n,t.Elapsed()),t.Enabled=!0,t.Start()}(0,(n=>{po(e)}))}function Eo(e,n,t,r,i){const o=function(e,n,t,r){const i=0|un(e,t);if(0===i)throw new Error("The step of a range cannot be zero");const o=i>0;return t=>{const i=0|un(t,n);return o&&i<=0||!o&&i>=0?[t,r(t,e)]:void 0}}(n,t,r,i);return fr((()=>{return n=o,t=e,lr((()=>function(e,n){let t,r=n;return ar((()=>{if(null!=t){const e=t[0];return t[1],e}return rr()}),(()=>{if(t=e(r),null!=t){t[0];const e=t[1];return r=e,!0}return!1}),(()=>{}))}(n,t)));var n,t}))}function Oo(e,n,t){return Eo(e,n,t,0,((e,n)=>e+n))}class To extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Writable","ReadWritable"]}}class No{constructor(e){this.state=new To(0,Pn(new Array(fn(cn,e,10)),0,fn(cn,e,10),null),0)}}function Mo(e){const n=e.state;if(1===n.tag){const t=0|n.fields[1],r=0|n.fields[2],i=n.fields[0],o=(r+1)%i.length|0;return e.state=o===t?new To(0,i,t):new To(1,i,t,o),kn(i[r])}}class Po extends yn{constructor(e,n,t,r,i,o,s){super(),this.init=e,this.update=n,this.subscribe=t,this.view=r,this.setState=i,this.onError=o,this.syncDispatch=s}}function Do(e,n,t){return new Po(e,n,(e=>bo()),t,mn(2,(e=>{const n=gn(1,t,[e]);return e=>{n(e)}})),(e=>{var n,t;n=e[0],t=e[1],console.error(kn(n),t)}),mn(2,(e=>e)))}function Ro(e,n){return new Po(n.init,n.update,n.subscribe,n.view,e,n.onError,n.syncDispatch)}function Bo(e,n){const t=n.init(e),r=t[0],i=new No(10);let o=!1,s=r;const a=gn(1,n.syncDispatch,[e=>{if(o)!function(e,n){const t=e.state;if(1===t.tag){const o=0|t.fields[1],s=0|t.fields[2],a=t.fields[0];a[o]=n;const c=(o+1)%a.length|0;e.state=c===s?new To(1,(r=s,i=a,Array.from(fr((()=>wr(xr(r,i),fr((()=>{return wr((e=r,n=i,gr((()=>ur(n)),((n,t)=>{if(n<e){if(t["System.Collections.IEnumerator.MoveNext"]())return kn(t["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(tr+"\\nParameter name: source")}}),(e=>{Ue(e)}))),fr((()=>kr((e=>mr(null)),Oo(0,1,i.length)))));var e,n}))))))),a.length,0):new To(1,a,c,s)}else{const r=0|t.fields[1],i=t.fields[0];i[r]=n;const o=(r+1)%i.length|0;e.state=new To(1,i,o,r)}var r,i}(i,e);else{o=!0;let t=kn(e);for(;null!=t;){const e=In(t);try{const t=n.update(e,s),r=t[0];n.setState(r,a),yo((t=>{n.onError([dt(lt("Error in command while handling: %A"))(e),t])}),a,t[1]),s=r}catch(t){n.onError([dt(lt("Unable to process the message: %A"))(e),t])}t=Mo(i)}o=!1}}]);n.setState(r,a),yo((e=>{n.onError(["Error intitializing:",e])}),a,_o(Gt([(()=>{try{return n.subscribe(r)}catch(e){return n.onError(["Unable to subscribe:",e]),bo()}})(),t[1]])))}class Lo{constructor(){this.hasDisposedOnce=!1,this.state=void 0,this.listener=void 0,this.dispatcher=void 0}}function jo(){return new Lo}function Wo(e,n,t,r){Bo(n,Ro(((e,n)=>{!function(e,n,t){e.state=kn(n),e.dispatcher=t;const r=e.listener;null!=r&&r(n)}(t,e,n)}),e()));const i=function(e){return e.state}(t);if(null!=i)return In(i);throw new Error("Elmish program has not initialized")}function Fo(e,n){return function(e,n,t){const r=Pi(jo)[0],i=Pi((()=>Wo(e,n,r))),o=i[1];return Ri((()=>(function(e){return e.hasDisposedOnce}(r)&&o(Wo(e,n,r)),Mi((()=>{!function(e){const n=e.state;if(null!=n){const e=In(n);Fe(e)&&Ue(e)}e.dispatcher=void 0,e.state=void 0,e.hasDisposedOnce=!0}(r)})))),En(t,[])),function(e,n){null==e.listener&&(e.listener=n)}(r,o),[i[0],e=>{!function(e,n){const t=e.dispatcher;null!=t&&t(n)}(r,e)}]}(e,void 0,n)}function Uo(e,n,t){return Fo((()=>Do(e,n,((e,n)=>{}))),t)}function zo(e,n,t){return Fo((()=>Do((()=>e),n,((e,n)=>{}))),t)}class Vo{constructor(e,n,t,r){this.declaringType=e,this.tag=n,this.name=t,this.fields=r}}class Ho{constructor(e,n,t,r,i,o,s){this.fullname=e,this.generics=n,this.construct=t,this.parent=r,this.fields=i,this.cases=o,this.enumCases=s}toString(){return cs(this)}GetHashCode(){return Zo(this)}Equals(e){return qo(this,e)}}function Go(e){return null!=e.generics?e.generics:[]}function Zo(e){return en([Ke(e.fullname),...Go(e).map(Zo)])}function qo(e,n){return""===e.fullname?""===n.fullname&&rn(ws(e),ws(n),(([e,n],[t,r])=>e===t&&qo(n,r))):e.fullname===n.fullname&&rn(Go(e),Go(n),qo)}function Yo(e,n,t,r){return new Ho(e,n,t,r)}function Jo(e,n,t,r){return new Ho(e,n,t,void 0,r)}function Xo(...e){return new Ho("",void 0,void 0,void 0,(()=>e))}function Ko(e,n,t,r){const i=new Ho(e,n,t,void 0,void 0,(()=>{const e=t.prototype.cases();return r().map(((n,t)=>new Vo(i,t,e[t],n)))}));return i}function Qo(...e){return new Ho("System.Tuple`"+e.length,e)}function es(e){return new Ho("Microsoft.FSharp.Core.FSharpOption`1",[e])}function ns(e){return new Ho("Microsoft.FSharp.Collections.FSharpList`1",[e])}const ts=new Ho("System.Object"),rs=(new Ho("Microsoft.FSharp.Core.Unit"),new Ho("System.Char"),new Ho("System.String")),is=new Ho("System.Boolean"),os=(new Ho("System.SByte"),new Ho("System.Byte"),new Ho("System.Int16"),new Ho("System.UInt16"),new Ho("System.Int32")),ss=(new Ho("System.UInt32"),new Ho("System.Single"),new Ho("System.Double"));function as(e){if(Array.isArray(e))return e[0];if(e instanceof Ho){const n=us(e);if(null!=n)return as(n)+"[]";{const n=e.fullname.lastIndexOf(".");return-1===n?e.fullname:e.fullname.substr(n+1)}}return e.name}function cs(e){const n=us(e);return null!=n?cs(n)+"[]":null==e.generics||0===e.generics.length?e.fullname:e.fullname+"["+e.generics.map((e=>cs(e))).join(",")+"]"}function ls(e){return null!=us(e)}function us(e){var n;return"[]"===e.fullname&&1===(null===(n=e.generics)||void 0===n?void 0:n.length)?e.generics[0]:void 0}function fs(e){return null!=e.generics&&e.generics.length>0}function ds(e){return null!=e.enumCases&&e.enumCases.length>0}function hs(e){return null==e.generics?e:new Ho(e.fullname,e.generics.map((()=>ts)))}function ms(e){var n;return null===(n=e.generics)||void 0===n?void 0:n[0]}function ps(e){if(ds(e)&&null!=e.enumCases)return e.enumCases.map((e=>e[1]));throw new Error(`${e.fullname} is not an enum type`)}function $s(e,n){const t=parseInt(n,10);return function(e,n){if(null!=e.enumCases){if("string"==typeof n){for(const t of e.enumCases)if(t[0]===n)return t;throw new Error(`'${n}' was not found in ${e.fullname}`)}for(const t of e.enumCases)if(t[1]===n)return t;return["",n]}throw new Error(`${e.fullname} is not an enum type`)}(e,isNaN(t)?n:t)[1]}function gs(e){if(null!=e.cases)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function ws(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function vs(e){if(Cs(e)&&null!=e.generics)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function ys(e){return e instanceof Ho?null!=e.cases:e instanceof vn}function bs(e){return e instanceof Ho?null!=e.fields:e instanceof yn}function Cs(e){return e.fullname.startsWith("System.Tuple")}function _s(e){return null==e.fields?[]:e.fields}new Ho("System.Decimal");class xs extends yn{constructor(e,n){super(),this.CssOverrides=e,this.MaskedEmail=n}}class ks extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Activated","InviteCodeInvalid","InviteExpired","InviteLocked","AwaitingConfirmation"]}}class Is extends yn{constructor(e){super(),this.AuthCode=e}}class Ss extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["CodeMatch","CodeMismatch","CodeExpired","InviteLocked","NoSecondFactorCodeIssued"]}}class As extends yn{constructor(e,n){super(),this.CssOverrides=e,this.MaskedEmail=n}}function Es(){return Jo("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ActivationContextDto",[],As,(()=>[["CssOverrides",ns(rs)],["MaskedEmail",rs]]))}function Os(e){return new xs(e.CssOverrides,e.MaskedEmail)}class Ts extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Activated","InviteCodeInvalid","InviteExpired","InviteLocked","AwaitingConfirmation"]}}class Ns extends yn{constructor(e){super(),this.AuthCode=e}}class Ms extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["CodeMatch","CodeMismatch","CodeExpired","InviteLocked","NoSecondFactorCodeIssued"]}}class Ps extends yn{constructor(e){super(),this.Mfa=e}}class Ds extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function Rs(e,n){switch(n.tag){case 1:return new Ds(1);case 3:return new Ds(3,n.fields[0]);case 2:try{return new Ds(2,e(n.fields[0]))}catch(e){return new Ds(3,e)}default:return new Ds(0)}}function Bs(e,n){const t=zi(new Ds(0)),r=t[1];let i;const o=Wi(co()),s=Wi(o.current);Li((()=>Mi((()=>{lo(o.current)})))),i=s;const a=no.Delay((()=>no.TryWith(no.Delay((()=>(r(new Ds(1)),no.Bind(e,(e=>(r(new Ds(2,e)),no.Zero())))))),(e=>(r(new Ds(3,e)),no.Zero())))));return ji((()=>{po(a,i.current)}),n),t[0]}function Ls(e,n){const t=Wi(co());return Li((()=>Mi((()=>{lo(t.current)})))),Ui((r=>{var i;null!=(i=t.current)&&i.isCancelled||po(no.Delay((()=>no.TryWith(no.Delay((()=>(n(new Ds(1)),no.Bind(e(r),(e=>(n(new Ds(2,e)),no.Zero())))))),(e=>(n(new Ds(3,e)),no.Zero()))))),t.current)}))}function js(e,n){return gt(n)?new to(1,dt(lt("%s cannot be null or empty"))(e)):new to(0,n)}function Ws(e){const n=function(e){let n;const t=function(e,n){const t=function(e,n,t=0){return e.lastIndex=t,e.exec(n)}(nt(".*?@(.*)"),n);return null!=t?Wt($r(fr((()=>Cr((e=>e||""),t))))):void 0}(0,e);switch(n=null!=t?Bt(t)?1:Bt(Wt(t))?0:1:1,n){case 0:return e;case 1:return}}(e);return null!=n?new to(0,n):new to(1,"Email is not in the correct format")}const Fs=e=>({tag:"ok",value:e}),Us=e=>({tag:"error",error:e});class zs{constructor(e){this.uri=e}static isAbsoluteUri(e){try{return new URL(e),!0}catch(e){return!1}}static tryCreateWithKind(e,n){switch(n){case 1:return zs.isAbsoluteUri(e)?Fs(new zs({original:e,value:new URL(e),kind:n})):Us("Invalid URI: The format of the URI could not be determined.");case 2:return zs.isAbsoluteUri(e)?Us("URI is not a relative path."):Fs(new zs({original:e,value:e,kind:n}));case 0:return zs.isAbsoluteUri(e)?Fs(new zs({original:e,value:new URL(e),kind:1})):Fs(new zs({original:e,value:e,kind:2}));default:return n}}static tryCreateWithBase(e,n){return 1!==e.uri.kind?Us("Base URI should have Absolute kind"):"string"==typeof n?Fs(new zs({original:new URL(n,e.uri.value).toString(),value:new URL(n,e.uri.value),kind:1})):2===n.uri.kind?Fs(new zs({original:new URL(n.uri.value,e.uri.value).toString(),value:new URL(n.uri.value,e.uri.value),kind:1})):Fs(e)}static tryCreateImpl(e,n=1){return"string"==typeof e?"number"!=typeof n?Us("Kind must be specified when the baseUri is a string."):zs.tryCreateWithKind(e,n):"number"==typeof n?Us("Kind should not be specified when the baseUri is an absolute Uri."):zs.tryCreateWithBase(e,n)}static create(e,n=1){const t=zs.tryCreateImpl(e,n);switch(t.tag){case"ok":return t.value;case"error":throw new Error(t.error);default:return t}}static tryCreate(e,n=1,t){const r=zs.tryCreateImpl(e,n);switch(r.tag){case"ok":return t.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 Vs extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ProfileId"]}}function Hs(e){return new Vs(0,e)}function Gs(e){return e.fields[0]}class Zs extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["InviteCode"]}}function qs(e){return function(e){return!wt(e)}(e)?new to(0,new Zs(0,e)):new to(1,"Invalid invite code format.")}function Ys(e){return e.fields[0]}class Js extends yn{constructor(e,n,t){super(),this.CompanyName=e,this.Logo=n,this.Support=t}}class Xs extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Logo"]}}class Ks extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["CompanyName"]}}class Qs extends yn{constructor(e,n){super(),this.Email=e,this.Phone=n}}class ea extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Email"]}}class na extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Phone"]}}const ta=e=>ro((e=>new ea(0,e)),io(Ws,js("Email",e))),ra=e=>ro((e=>new na(0,e)),js("Phone",e));class ia extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Initializing","WaitingForInput","Failed"]}}class oa extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["InitInvite","ActivateInvite","ValidateMfa","ProcessInput","ShowValidation"]}}class sa extends yn{constructor(e,n,t,r,i,o,s){super(),this.InviteToken=e,this.MaskedEmail=n,this.MfaCodeForm=t,this.IsValidationPending=r,this.CanRetry=i,this.Ui=o,this.CssOverrides=s}}const aa=(()=>{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 ca(e){return On((e=>e.passive&&!aa?{capture:e.capture,once:e.once,passive:!1}:e),e)}function la(e){return Tn((e=>e.capture?{capture:!0}:void 0),e)}function ua(e,n){return 0===n.indexOf(e)?n:void 0}function fa(e,n){return function(e,n){const t=e.lastIndexOf(n);return t>=0&&t===e.length-n.length}(n,e)?n:void 0}function da(e,n){return function(e){return 1===e?e=>{let n,t,r,i,o,s;return n=ua("/",e),null!=n?(t=n,"#"+t):(r=ua("#/",e),null!=r?(i=r,i):(o=ua("#",e),null!=o?(s=o,"#/"+xt(s,1,s.length-1)):"#/"+e))}:e=>{let n,t;return n=ua("/",e),null!=n?(t=n,t):"/"+e}}(n)(vt("/",qt((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function ha(e,n,t){1===n?history.pushState(void 0,"",da(e,t)):history.replaceState(void 0,"",da(e,t));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}function ma(e,n){return function(e,n){let t,r;const i=At();let o=i,s=n;for(;!Ot(s);){let n=e(Nt(s));for(;!Ot(n);)t=o,r=new It(Nt(n),void 0),t.tail=r,o=r,n=Mt(n);s=Mt(s)}const a=o,c=At();return a.tail=c,Mt(i)}((e=>{if(wt(e))return Pt();{const n=function(e,...n){return 0===n.length?e.trimEnd():e.replace(new RegExp("["+tt(n.join(""))+"]+$"),"")}(e,"#");if("?"===n)return Pt();if(null!=ua("?",n))return Rt(n);{const e=n.split("?");if(Bn(((e,n)=>e===n),e,null)||1!==e.length){if(Bn(((e,n)=>e===n),e,null)||2!==e.length)return Pt();if(""===e[1]){const n=e[0];return Rt(decodeURIComponent(n))}{const n=e[0],t=e[1];return Gt([decodeURIComponent(n),"?"+t])}}{const n=e[0];return Rt(decodeURIComponent(n))}}}}),Gt(Ct(null!=ua("#",e)?xt(e,1,e.length-1):1!==n||null==fa("#",e)&&null==fa("#/",e)?e:"",["/"],null,0)))}const pa=function(e,n,t,r){const i=gi.memo(e,mn(2,En($n(2,t),null)));return br((n=>{e.displayName=n}),An(n)),e=>{const n=function(e,n){if(null==e)return n;{const t=e;return n.key=t(n),n}}(r,e);return gi.createElement(i,n)}}((e=>{const n=Ui((n=>{const t=En(e.onUrlChanged,(e=>{}));!function(e,n,t){n(ma(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(En(e.hashMode,1),t)}));if(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0){const e="hashchange",t=e=>{n(e)},r=void 0,i=Fi((()=>ca(r)),[r]),o=Fi((()=>la(r)),[r]),s=Fi((()=>e=>{t(e)}),[t]);Di(Ui((()=>{if(null==i)window.addEventListener(e,s);else{const n=i;window.addEventListener(e,s,n)}return Mi((()=>{if(null==o)window.removeEventListener(e,s);else{const n=o;window.removeEventListener(e,s,n)}}))})))}else{const e="popstate",t=n,r=void 0,i=Fi((()=>ca(r)),[r]),o=Fi((()=>la(r)),[r]),s=Fi((()=>e=>{t(e)}),[t]);Di(Ui((()=>{if(null==i)window.addEventListener(e,s);else{const n=i;window.addEventListener(e,s,n)}return Mi((()=>{if(null==o)window.removeEventListener(e,s);else{const n=o;window.removeEventListener(e,s,n)}}))})))}const t="CUSTOM_NAVIGATION_EVENT",r=n,i=void 0,o=Fi((()=>ca(i)),[i]),s=Fi((()=>la(i)),[i]),a=Fi((()=>e=>{r(e)}),[r]);Di(Ui((()=>{if(null==o)window.addEventListener(t,a);else{const e=o;window.addEventListener(t,a,e)}return Mi((()=>{if(null==s)window.removeEventListener(t,a);else{const e=s;window.removeEventListener(t,a,e)}}))})));const c=e.application;return null==c?null:c}),void 0,void 0,void 0);function $a(e){try{const n=new URLSearchParams(e);return $r(fr((()=>Cr((e=>[e[0],e[1]]),n.entries()))))}catch(e){return}}class ga extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Autodev","Test","Prod","Sandbox"]}}const wa=document.getElementById("workflows-app"),va=wa.getAttribute("data-identity-url"),ya=wa.getAttribute("data-backend-url"),ba=Gt(["workflows","app"]),Ca=Gt(["workflows","embed","v1.0","app"]),_a="apollo-workflows-app";class xa extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Embedded","Standalone","Unknown"]}}function ka(e){switch(e.tag){case 0:default:return da(Ca,2);case 1:return da(ba,2)}}!function(e){const n=Gt(Ct(e,["."],null,0));let t;switch(t=Bt(n)?4:"autodev-partner"===jt(n)?0:"test-partner"===jt(n)?1:"partner"===jt(n)?2:"sandbox-partner"===jt(n)?3:4,t){case 0:return new to(0,new ga(0));case 1:return new to(0,new ga(1));case 2:return new to(0,new ga(2));case 3:return new to(0,new ga(3));case 4:new to(1,"Invalid environment")}}(zs.create(ya).host);var Ia=null;try{Ia=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 Sa(e,n,t){this.low=0|e,this.high=0|n,this.unsigned=!!t}function Aa(e){return!0===(e&&e.__isLong__)}Sa.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},Sa.prototype.Equals=function(e){return nc(this,e)},Sa.prototype.CompareTo=function(e){return oc(this,e)},Sa.prototype.toString=function(e){return Xa(this,e)},Sa.prototype.toJSON=function(){return Xa(this)},Sa.prototype[qn]=function(){const e=this;return{multiply:n=>lc(e,n),toPrecision:n=>String(e)+(0).toPrecision(n).substr(1),toExponential:n=>String(e)+(0).toExponential(n).substr(1),toFixed:n=>String(e)+(0).toFixed(n).substr(1),toHex:()=>{return Xa(e.unsigned?e:function(e,n,t){return t?function(e,n){return new Sa(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,n)}(e,n):function(e,n){return new Sa(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],n)}(e,n)}((n=e,t?function(e){var n=e.high,t=e.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&n,n>>>8&255,n>>>16&255,n>>>24]}(n):function(e){var n=e.high,t=e.low;return[n>>>24,n>>>16&255,n>>>8&255,255&n,t>>>24,t>>>16&255,t>>>8&255,255&t]}(n)),!0),16);var n,t}}},Sa.prototype.__isLong__,Object.defineProperty(Sa.prototype,"__isLong__",{value:!0});var Ea={},Oa={};function Ta(e,n){var t,r,i;return n?(i=0<=(e>>>=0)&&e<256)&&(r=Oa[e])?r:(t=Ma(e,(0|e)<0?-1:0,!0),i&&(Oa[e]=t),t):(i=-128<=(e|=0)&&e<128)&&(r=Ea[e])?r:(t=Ma(e,e<0?-1:0,!1),i&&(Ea[e]=t),t)}function Na(e,n){if(isNaN(e))return n?Ua:Fa;if(n){if(e<0)return Ua;if(e>=La)return Za}else{if(e<=-ja)return qa;if(e+1>=ja)return Ga}return e<0?sc(Na(-e,n)):Ma(e%Ba|0,e/Ba|0,n)}function Ma(e,n,t){return new Sa(e,n,t)}var Pa=Math.pow;function Da(e,n,t){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return Fa;if("number"==typeof n?(t=n,n=!1):n=!!n,(t=t||10)<2||36<t)throw RangeError("radix");var r=e.indexOf("-");if(r>0)throw Error("interior hyphen");if(0===r)return sc(Da(e.substring(1),n,t));for(var i=Na(Pa(t,8)),o=Fa,s=0;s<e.length;s+=8){var a=Math.min(8,e.length-s),c=parseInt(e.substring(s,s+a),t);o=ac(a<8?lc(o,Na(Pa(t,a))):o=lc(o,i),Na(c))}return o.unsigned=n,o}function Ra(e,n){return"number"==typeof e?Na(e,n):"string"==typeof e?Da(e,n):Ma(e.low,e.high,"boolean"==typeof n?n:e.unsigned)}var Ba=4294967296,La=Ba*Ba,ja=La/2,Wa=Ta(1<<24),Fa=Ta(0),Ua=Ta(0,!0),za=Ta(1),Va=Ta(1,!0),Ha=Ta(-1),Ga=Ma(-1,2147483647,!1),Za=Ma(-1,-1,!0),qa=Ma(0,-2147483648,!1);function Ya(e){return e.unsigned?e.low>>>0:e.low}function Ja(e){return e.unsigned?(e.high>>>0)*Ba+(e.low>>>0):e.high*Ba+(e.low>>>0)}function Xa(e,n){if((n=n||10)<2||36<n)throw RangeError("radix");if(Ka(e))return"0";if(Qa(e)){if(nc(e,qa)){var t=Na(n),r=uc(e,t),i=cc(lc(r,t),e);return Xa(r,n)+Ya(i).toString(n)}return"-"+Xa(sc(e),n)}for(var o=Na(Pa(n,6),e.unsigned),s=e,a="";;){var c=uc(s,o),l=(Ya(cc(s,lc(c,o)))>>>0).toString(n);if(Ka(s=c))return l+a;for(;l.length<6;)l="0"+l;a=""+l+a}}function Ka(e){return 0===e.high&&0===e.low}function Qa(e){return!e.unsigned&&e.high<0}function ec(e){return 1==(1&e.low)}function nc(e,n){return Aa(n)||(n=Ra(n)),(e.unsigned===n.unsigned||e.high>>>31!=1||n.high>>>31!=1)&&e.high===n.high&&e.low===n.low}function tc(e,n){return oc(e,n)<0}function rc(e,n){return oc(e,n)>0}function ic(e,n){return oc(e,n)>=0}function oc(e,n){if(Aa(n)||(n=Ra(n)),nc(e,n))return 0;var t=Qa(e),r=Qa(n);return t&&!r?-1:!t&&r?1:e.unsigned?n.high>>>0>e.high>>>0||n.high===e.high&&n.low>>>0>e.low>>>0?-1:1:Qa(cc(e,n))?-1:1}function sc(e){return!e.unsigned&&nc(e,qa)?qa:ac(function(e){return Ma(~e.low,~e.high,e.unsigned)}(e),za)}function ac(e,n){Aa(n)||(n=Ra(n));var t=e.high>>>16,r=65535&e.high,i=e.low>>>16,o=65535&e.low,s=n.high>>>16,a=65535&n.high,c=n.low>>>16,l=0,u=0,f=0,d=0;return f+=(d+=o+(65535&n.low))>>>16,u+=(f+=i+c)>>>16,l+=(u+=r+a)>>>16,l+=t+s,Ma((f&=65535)<<16|(d&=65535),(l&=65535)<<16|(u&=65535),e.unsigned)}function cc(e,n){return Aa(n)||(n=Ra(n)),ac(e,sc(n))}function lc(e,n){if(Ka(e))return e.unsigned?Ua:Fa;if(Aa(n)||(n=Ra(n)),Ia)return Ma(Ia.mul(e.low,e.high,n.low,n.high),Ia.get_high(),e.unsigned);if(Ka(n))return e.unsigned?Ua:Fa;if(nc(e,qa))return ec(n)?qa:Fa;if(nc(n,qa))return ec(e)?qa:Fa;if(Qa(e))return Qa(n)?lc(sc(e),sc(n)):sc(lc(sc(e),n));if(Qa(n))return sc(lc(e,sc(n)));if(tc(e,Wa)&&tc(n,Wa))return Na(Ja(e)*Ja(n),e.unsigned);var t=e.high>>>16,r=65535&e.high,i=e.low>>>16,o=65535&e.low,s=n.high>>>16,a=65535&n.high,c=n.low>>>16,l=65535&n.low,u=0,f=0,d=0,h=0;return d+=(h+=o*l)>>>16,f+=(d+=i*l)>>>16,d&=65535,f+=(d+=o*c)>>>16,u+=(f+=r*l)>>>16,f&=65535,u+=(f+=i*c)>>>16,f&=65535,u+=(f+=o*a)>>>16,u+=t*l+r*c+i*a+o*s,Ma((d&=65535)<<16|(h&=65535),(u&=65535)<<16|(f&=65535),e.unsigned)}function uc(e,n){if(Aa(n)||(n=Ra(n)),Ka(n))throw Error("division by zero");var t,r,i;if(Ia)return e.unsigned||-2147483648!==e.high||-1!==n.low||-1!==n.high?Ma((e.unsigned?Ia.div_u:Ia.div_s)(e.low,e.high,n.low,n.high),Ia.get_high(),e.unsigned):e;if(Ka(e))return e.unsigned?Ua:Fa;if(e.unsigned){if(n.unsigned||(n=function(e){return e.unsigned?e:Ma(e.low,e.high,!0)}(n)),rc(n,e))return Ua;if(rc(n,function(e,n){if(Aa(n)&&(n=Ya(n)),0==(n&=63))return e;var t=e.high;return n<32?Ma(e.low>>>n|t<<32-n,t>>>n,e.unsigned):Ma(32===n?t:t>>>n-32,0,e.unsigned)}(e,1)))return Va;i=Ua}else{if(nc(e,qa))return nc(n,za)||nc(n,Ha)?qa:nc(n,qa)?za:nc(t=function(e,n){return Aa(n)&&(n=Ya(n)),0==(n&=63)?e:n<32?Ma(e.low<<n,e.high<<n|e.low>>>32-n,e.unsigned):Ma(0,e.low<<n-32,e.unsigned)}(uc(function(e,n){return Aa(n)&&(n=Ya(n)),0==(n&=63)?e:n<32?Ma(e.low>>>n|e.high<<32-n,e.high>>n,e.unsigned):Ma(e.high>>n-32,e.high>=0?0:-1,e.unsigned)}(e,1),n),1),Fa)?Qa(n)?za:Ha:i=ac(t,uc(r=cc(e,lc(n,t)),n));if(nc(n,qa))return e.unsigned?Ua:Fa;if(Qa(e))return Qa(n)?uc(sc(e),sc(n)):sc(uc(sc(e),n));if(Qa(n))return sc(uc(e,sc(n)));i=Fa}for(r=e;ic(r,n);){t=Math.max(1,Math.floor(Ja(r)/Ja(n)));for(var o=Math.ceil(Math.log(t)/Math.LN2),s=o<=48?1:Pa(2,o-48),a=Na(t),c=lc(a,n);Qa(c)||rc(c,r);)c=lc(a=Na(t-=s,e.unsigned),n);Ka(a)&&(a=za),i=ac(i,a),r=cc(r,c)}return i}const fc=uc,dc=Ja;function hc(e){return e<0?Math.ceil(e):Math.floor(e)}function mc(e=0,n=0,t=0,r=0,i=0){switch(arguments.length){case 1:return dc(fc(arguments[0],1e4));case 3:e=0,n=arguments[0],t=arguments[1],r=arguments[2],i=0}return 864e5*e+36e5*n+6e4*t+1e3*r+i}function pc(e){return mc(0,e,0)}function $c(e,n){try{return n.contents=function(e){const n=e.search("\\."),t=e.search("\\:");if(-1===n&&-1===t){const n=parseInt(e,0);if(isNaN(n))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return mc(n,0,0,0,0)}if(t>0){const n=/^(-?)((\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!=n&&null!=n[4]&&null!=n[5]){let t=0,r=0,i=0;const o=null!=n[1]&&"-"===n[1]?-1:1,s=+n[4],a=+n[5];if(null!=n[3]&&(t=+n[3]),null!=n[7]&&(i=+n[7]),null!=n[8])switch(n[8].length){case 1:r=100*+n[8];break;case 2:r=10*+n[8];break;case 3:r=+n[8];break;case 4:r=+n[8]/10;break;case 5:r=+n[8]/100;break;case 6:r=+n[8]/1e3;break;case 7:r=+n[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return o*mc(t,s,a,i,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}class gc extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["SecondFactorCode"]}}function wc(e){return function(e){return!gt(e)&&function(e,n,t=0){return e.lastIndex=t,e.test(n)}(/^(\d{6})$/gu,e)}(e)?new to(0,new gc(0,e)):new to(1,"Invalid second factor code format.")}class vc extends yn{constructor(e,n,t,r){super(),this.Code=e,this.DateIssued=n,this.NumberOfAttempts=0|t,this.DateOfLastAttempt=r}}pc(5);class yc extends yn{constructor(e,n,t,r){super(),this.Code=e,this.DateIssued=n,this.SecondFactor=t,this.Branding=r}}mc(10,0,0,0),pc(30);class bc extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class Cc extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Header"]}}class _c extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Empty","Text","Binary","Form"]}}class xc extends yn{constructor(e,n,t,r,i,o,s,a){super(),this.url=e,this.method=n,this.headers=t,this.withCredentials=r,this.overridenMimeType=i,this.overridenResponseType=o,this.timeout=s,this.content=a}}class kc extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Ic extends yn{constructor(e,n,t,r,i,o){super(),this.statusCode=0|e,this.responseText=n,this.responseType=t,this.responseUrl=r,this.responseHeaders=i,this.content=o}}class Sc{constructor(e,n){this.k=e,this.v=n}}function Ac(e,n){return new Sc(e,n)}function Ec(e){return e.k}function Oc(e){return e.v}class Tc extends Sc{constructor(e,n,t,r,i){super(e,n),this.left=t,this.right=r,this.h=0|i}}function Nc(e,n,t,r,i){return new Tc(e,n,t,r,i)}function Mc(e){return e.left}function Pc(e){return e.right}function Dc(e){return e.h}function Rc(e,n){e:for(;;){const t=e;if(null!=n){const r=n;if(r instanceof Tc){e=Rc(t+1,Mc(r)),n=Pc(r);continue e}return t+1|0}return 0|t}}function Bc(e){return Rc(0,e)}function Lc(e,n,t,r){let i,o;i=null!=e?e instanceof Tc?Dc(e):1:0,o=null!=r?r instanceof Tc?Dc(r):1:0;const s=0|(i<o?o:i);return 0===s?Ac(n,t):Nc(n,t,e,r,s+1)}function jc(e,n,t,r){let i,o,s,a,c,l;if(c=null!=e?e instanceof Tc?Dc(e):1:0,l=null!=r?r instanceof Tc?Dc(r):1:0,l>c+2){const s=In(r);if(s instanceof Tc){if(i=Mc(s),(null!=i?(o=i,o instanceof Tc?Dc(o):1):0)>c+1){const r=In(Mc(s));if(r instanceof Tc)return Lc(Lc(e,n,t,Mc(r)),Ec(r),Oc(r),Lc(Pc(r),Ec(s),Oc(s),Pc(s)));throw new Error("internal error: Map.rebalance")}return Lc(Lc(e,n,t,Mc(s)),Ec(s),Oc(s),Pc(s))}throw new Error("internal error: Map.rebalance")}if(c>l+2){const i=In(e);if(i instanceof Tc){if(s=Pc(i),(null!=s?(a=s,a instanceof Tc?Dc(a):1):0)>l+1){const e=In(Pc(i));if(e instanceof Tc)return Lc(Lc(Mc(i),Ec(i),Oc(i),Mc(e)),Ec(e),Oc(e),Lc(Pc(e),n,t,r));throw new Error("internal error: Map.rebalance")}return Lc(Mc(i),Ec(i),Oc(i),Lc(Pc(i),n,t,r))}throw new Error("internal error: Map.rebalance")}return Lc(e,n,t,r)}function Wc(e,n,t,r){if(null!=r){const i=r,o=0|e.Compare(n,Ec(i));return i instanceof Tc?o<0?jc(Wc(e,n,t,Mc(i)),Ec(i),Oc(i),Pc(i)):0===o?Nc(n,t,Mc(i),Pc(i),Dc(i)):jc(Mc(i),Ec(i),Oc(i),Wc(e,n,t,Pc(i))):o<0?Nc(n,t,void 0,r,2):0===o?Ac(n,t):Nc(n,t,r,void 0,2)}return Ac(n,t)}function Fc(e,n,t){e:for(;;){const r=e,i=n;if(null!=t){const o=t,s=0|r.Compare(i,Ec(o));if(0===s)return kn(Oc(o));if(o instanceof Tc){e=r,n=i,t=s<0?Mc(o):Pc(o);continue e}return}return}}function Uc(e,n){e:for(;;){const t=e;if(null!=n){const r=n;if(r instanceof Tc){Uc(t,Mc(r)),t(Ec(r),Oc(r)),e=t,n=Pc(r);continue e}t(Ec(r),Oc(r))}break}}function zc(e,n){Uc(e,n)}function Vc(e,n){if(null!=n){const t=n;if(t instanceof Tc){const n=Vc(e,Mc(t)),r=e(Ec(t),Oc(t)),i=Vc(e,Pc(t));return Nc(Ec(t),r,n,i,Dc(t))}return Ac(Ec(t),e(Ec(t),Oc(t)))}}function Hc(e,n){return Vc(e,n)}function Gc(e,n){let t;for(let r=0;r<=n.length-1;r++){const i=n[r];t=Wc(e,i[0],i[1],t)}return t}class Zc extends yn{constructor(e,n){super(),this.stack=e,this.started=n}}function qc(e){e:for(;;){const n=e;if(Bt(n))return Pt();{const t=Wt(n),r=jt(n);if(null!=r){const i=r;if(i instanceof Tc){e=Ht([Mc(i),Ac(Ec(i),Oc(i)),Pc(i)],t);continue e}return n}e=t;continue e}}}function Yc(e){return new Zc(qc(Rt(e)),!1)}function Jc(e){if(e.started){const n=e.stack;if(Bt(n))return function(){throw new Error("enumeration already finished")}();if(null!=jt(n)){const e=jt(n);if(e instanceof Tc)throw new Error("Please report error: Map iterator, unexpected stack for current");return[Ec(e),Oc(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function Xc(e){let n=Yc(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Jc(n),"System.Collections.IEnumerator.get_Current":()=>Jc(n),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const n=e.stack;if(Bt(n))return!1;if(null!=jt(n)){if(jt(n)instanceof Tc)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=qc(Wt(n)),!Bt(e.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!Bt(e.stack)}(n),"System.Collections.IEnumerator.Reset"(){n=Yc(e)},Dispose(){}}}class Kc{constructor(e,n){this.comparer=e,this.tree=n}GetHashCode(){return 0|function(e){const n=(e,n)=>(e<<1)+n+631;let t=0;const r=He(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t=0|n(t,nn(e[0])),t=0|n(t,nn(e[1]))}}finally{Ue(r)}return 0|t}(this)}Equals(e){if(!(e instanceof Kc))return!1;{const n=He(this);try{const t=He(e);try{const e=()=>{const r=n["System.Collections.IEnumerator.MoveNext"]();if(r===t["System.Collections.IEnumerator.MoveNext"]()){if(r){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"](),i=t["System.Collections.Generic.IEnumerator`1.get_Current"]();return!(!sn(r[0],i[0])||!sn(r[1],i[1]))&&e()}return!0}return!1};return e()}finally{Ue(t)}}finally{Ue(n)}}}toString(){return"map ["+vt("; ",Cr((e=>$t("({0}, {1})",e[0],e[1])),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(e){return Array.from(this)}GetEnumerator(){return Xc(this.tree)}[Symbol.iterator](){return Ge(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Xc(this.tree)}CompareTo(e){const n=this;if(e instanceof Kc)return 0|function(e,n,t){const r=ur(n);try{const n=ur(t);try{let t=0,i=r["System.Collections.IEnumerator.MoveNext"](),o=n["System.Collections.IEnumerator.MoveNext"]();for(;0===t&&i&&o;)t=0|e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),n["System.Collections.Generic.IEnumerator`1.get_Current"]()),0===t&&(i=r["System.Collections.IEnumerator.MoveNext"](),o=n["System.Collections.IEnumerator.MoveNext"]());return 0|(0!==t?t:i?1:o?-1:0)}finally{Ue(n)}}finally{Ue(r)}}(((e,t)=>{const r=0|n.comparer.Compare(e[0],t[0]);return 0|(0!==r?r:un(e[1],t[1]))}),n,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 rl(this,e[0])&&sn(nl(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,n){!function(e,n,t){let r=t;zc(((e,t)=>{n[r]=[e,t],r=r+1|0}),e)}(this.tree,e,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|tl(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|tl(this)}get size(){return 0|tl(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return Cr((e=>[e[0],e[1]]),this)}get(e){return nl(this,e)}has(e){return rl(this,e)}keys(){return Cr((e=>e[0]),this)}set(e,n){throw new Error("Map cannot be mutated")}values(){return Cr((e=>e[1]),this)}forEach(e,n){const t=this;br((n=>{e(n[1],n[0],t)}),t)}}function Qc(e,n){return new Kc(e,n)}function el(e){const n=Nn();return Qc(n,function(e,n){if(je(n))return Gc(e,n);if(n instanceof It)return function(e,n){return Ut(((n,t)=>Wc(e,t[0],t[1],n)),void 0,n)}(e,n);{const t=He(n);try{return function(e,n,t){for(;;){const r=e,i=n,o=t;if(!o["System.Collections.IEnumerator.MoveNext"]())return i;{const s=o["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,n=Wc(r,s[0],s[1],i),t=o}}}(e,void 0,t)}finally{Ue(t)}}}(n,e))}function nl(e,n){return function(e,n,t){const r=Fc(e,n,t);if(null==r)throw new Error;return In(r)}(e.comparer,n,e.tree)}function tl(e){return Bc(e.tree)}function rl(e,n){return function(e,n,t){e:for(;;){const r=e,i=n;if(null!=t){const o=t,s=0|r.Compare(i,Ec(o));if(o instanceof Tc){if(s<0){e=r,n=i,t=Mc(o);continue e}if(0===s)return!0;e=r,n=i,t=Pc(o);continue e}return 0===s}return!1}}(e.comparer,n,e.tree)}function il(e,n,t){return function(e,n,t){return Qc(e.comparer,Wc(e.comparer,n,t,e.tree))}(t,e,n)}function ol(e,n){return function(e,n){return Fc(e.comparer,n,e.tree)}(n,e)}function sl(e,n){return function(e,n){return Qc(e.comparer,Hc(n,e.tree))}(n,e)}function al(){return Kc.empty}function cl(e){return new Cc(0,"Content-Type",e)}Kc.empty=Qc(Nn(),void 0);const ll=new xc("",new bc(0),Pt(),!1,void 0,void 0,void 0,new _c(0));function ul(e,n){return gt(n)?[n]:Ct(n,[e],null,0)}function fl(e){return new xc(e,ll.method,ll.headers,ll.withCredentials,ll.overridenMimeType,ll.overridenResponseType,ll.timeout,ll.content)}function dl(e,n){return new xc(n.url,e,n.headers,n.withCredentials,n.overridenMimeType,n.overridenResponseType,n.timeout,n.content)}function hl(e,n){return new xc(n.url,n.method,Zt(n.headers,Rt(e)),n.withCredentials,n.overridenMimeType,n.overridenResponseType,n.timeout,n.content)}function ml(e,n){return new xc(n.url,n.method,n.headers,n.withCredentials,n.overridenMimeType,n.overridenResponseType,n.timeout,e)}function pl(e){return ho((n=>{const t=new XMLHttpRequest;t.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),t.onreadystatechange=()=>{let e,r,i,o,s,a,c;4===t.readyState&&n[0]((r=t.responseType,e=""===r||"text"===r?t.responseText:"",i=0|t.status,o=t.responseType,a=t.responseType,s=""===a||"text"===a?new kc(0,t.responseText):new kc("arraybuffer"===a?2:"blob"===a?1:3,t.response),c=function(e){const n=Nn();return Qc(n,Gc(n,e))}(function(e,n,t){const r=[];for(let t=0;t<=n.length-1;t++){const i=e(n[t]);if(null!=i){const e=In(i);r.push(e)}}return r}((e=>{const n=Gt(ul(":",e));return Bt(n)?void 0:[jt(n).toLocaleLowerCase(),vt(":",Wt(n)).trim()]}),ul("\r\n",t.getAllResponseHeaders()))),new Ic(i,e,o,t.responseURL,c,s)))};const r=He(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t.setRequestHeader(e.fields[0],e.fields[1])}}finally{Ue(r)}t.withCredentials=e.withCredentials;const i=e.overridenMimeType;if(null==i);else{const e=i;t.overrideMimeType(e)}const o=e.overridenResponseType;null==o||(1===o.tag?t.responseType="blob":2===o.tag?t.responseType="arraybuffer":t.responseType="text");const s=e.timeout;if(null==s);else{const e=0|s;t.timeout=0|e}const a=e.content;switch(a.tag){case 1:case 3:case 2:t.send(kn(a.fields[0]));break;default:t.send()}}))}new Ic(0,"","","",al(),new kc(0,""));class $l extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class gl extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class wl{constructor(){this.cache=new Map([])}}function vl(){return new wl}function yl(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function bl(e,n){switch(e.tag){case 2:return function(e,n,t,r,i=0){if("string"==typeof e){const t=e;e=nt(n,null!=r?r:0),n=t,r=void 0}if("function"==typeof t)return r=null==r?-1:r,n.substring(0,i)+n.substring(i).replace(e,(function(){let e=arguments[0];if(r){r--;const n=[],i=arguments.length,o="string"!=typeof arguments[i-1];let s=o?i-3:i-2;for(let e=0;e<s;e++)n.push(arguments[e]);n.index=arguments[s++],n.input=arguments[s++],o&&(n.groups=arguments[s]),e=t(n)}return e}));if(t=t.replace(/\$0/g,(e=>"$&")).replace(/\${([^}]+)}/g,"$<$1>"),null!=r){let o;const s=n.substring(i),a=rt(e,s),c=rt.length>r?(o=a[r-1],s.substring(0,o.index+o[0].length)):s;return n.substring(0,i)+c.replace(e,t)+n.substring(i+c.length)}return n.replace(e,t)}(yl(n),"[A-Z]","_$0").toLowerCase();case 0:return n;default:return yl(n)}}vl(),vl();const Cl=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,_l=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,xl=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function kl(e){function n(e){return e.replace(_l,"$1-$2-$3-$4-$5")}const t=e.trim().toLowerCase();if(Cl.test(t))return function(e,...n){if(0===n.length)return e.trim();const t="["+tt(n.join(""))+"]+";return e.replace(new RegExp("^"+t),"").replace(new RegExp(t+"$"),"")}(t,"{","}","(",")");if(_l.test(t))return n(t);if(xl.test(t))return n(t.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function Il(e,n){try{return n.contents=kl(e),!0}catch(e){return!1}}var Sl;function Al(e,n){switch(n){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 El(e,n,t,r,i){const o=function(e,n,t){const r=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(null!=r){const[,,e,i]=r;t=t||function(e,n){if(n&Sl.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,n);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.")}}(t);if(!o.test(i))return function(e,n){const[,t,r,i]=e;return{sign:t||"",prefix:r||"",digits:i,radix:n}}(r,t)}return null}(e,n,i);if(null!=o){let e=Number.parseInt(o.sign+o.digits,o.radix);if(!Number.isNaN(e)){const[n,i]=Al(!0,r);!t&&10!==o.radix&&e>=n&&e<=i&&(e=e<<32-r>>32-r);const[s,a]=Al(t,r);if(e>=s&&e<=a)return e}}throw new Error("Input string was not in a correct format.")}function Ol(e,n,t,r,i){try{return i.contents=El(e,n,t,r),!0}catch(e){return!1}}function Tl(e,n){!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.")}}(n);const t=new Date(e);return t.offset=null!=n?n:-6e4*(new Date).getTimezoneOffset(),t}function Nl(e,n){try{return n.contents=function(e){const[n,t]=Vn(e),r=null==t?-6e4*n.getTimezoneOffset():"Z"===t?0:6e4*t;return Tl(n.getTime(),r)}(e),!0}catch(e){return!1}}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(Sl||(Sl={}));class Ml{constructor(e){this.k=e}}function Pl(e){return new Ml(e)}function Dl(e){return e.k}class Rl extends Ml{constructor(e,n,t,r){super(e),this.left=n,this.right=t,this.h=0|r}}function Bl(e,n,t,r){return new Rl(e,n,t,r)}function Ll(e){return e.left}function jl(e){return e.right}function Wl(e){return e.h}function Fl(e,n){e:for(;;){const t=n;if(null!=e){const r=e;if(r instanceof Rl){e=Ll(r),n=Fl(jl(r),t+1);continue e}return t+1|0}return 0|t}}function Ul(e){return Fl(e,0)}function zl(e,n,t){let r,i;r=null!=e?e instanceof Rl?Wl(e):1:0,i=null!=t?t instanceof Rl?Wl(t):1:0;const o=0|(r<i?i:r);return 0===o?Pl(n):Bl(n,e,t,o+1)}function Vl(e,n,t){let r,i,o,s,a,c;if(a=null!=e?e instanceof Rl?Wl(e):1:0,c=null!=t?t instanceof Rl?Wl(t):1:0,c>a+2){const o=In(t);if(o instanceof Rl){if(r=Ll(o),(null!=r?(i=r,i instanceof Rl?Wl(i):1):0)>a+1){const t=In(Ll(o));if(t instanceof Rl)return zl(zl(e,n,Ll(t)),Dl(t),zl(jl(t),Dl(o),jl(o)));throw new Error("internal error: Set.rebalance")}return zl(zl(e,n,Ll(o)),Dl(o),jl(o))}throw new Error("internal error: Set.rebalance")}if(a>c+2){const r=In(e);if(r instanceof Rl){if(o=jl(r),(null!=o?(s=o,s instanceof Rl?Wl(s):1):0)>c+1){const e=In(jl(r));if(e instanceof Rl)return zl(zl(Ll(r),Dl(r),Ll(e)),Dl(e),zl(jl(e),n,t));throw new Error("internal error: Set.rebalance")}return zl(Ll(r),Dl(r),zl(jl(r),n,t))}throw new Error("internal error: Set.rebalance")}return zl(e,n,t)}function Hl(e,n,t){if(null!=t){const r=t,i=0|e.Compare(n,Dl(r));if(r instanceof Rl)return i<0?Vl(Hl(e,n,Ll(r)),Dl(r),jl(r)):0===i?t:Vl(Ll(r),Dl(r),Hl(e,n,jl(r)));{const i=0|e.Compare(n,Dl(r));return i<0?Bl(n,void 0,t,2):0===i?t:Bl(n,t,void 0,2)}}return Pl(n)}function Gl(e,n,t){e:for(;;){const r=e,i=n;if(null!=t){const o=t,s=0|r.Compare(i,Dl(o));if(o instanceof Rl){if(s<0){e=r,n=i,t=Ll(o);continue e}if(0===s)return!0;e=r,n=i,t=jl(o);continue e}return 0===s}return!1}}function Zl(e,n){e:for(;;){const t=e;if(null!=n){const r=n;if(r instanceof Rl){Zl(t,Ll(r)),t(Dl(r)),e=t,n=jl(r);continue e}t(Dl(r))}break}}class ql extends yn{constructor(e,n){super(),this.stack=e,this.started=n}}function Yl(e){e:for(;;){const n=e;if(Bt(n))return Pt();{const t=jt(n),r=Wt(n);if(null!=t){const i=t;if(i instanceof Rl){e=Ht([Ll(i),Pl(Dl(i)),jl(i)],r);continue e}return n}e=r;continue e}}}function Jl(e){return new ql(Yl(Rt(e)),!1)}function Xl(e){if(e.started){const n=e.stack;if(Bt(n))return function(){throw new Error("Enumeration already started")}();if(null!=jt(n))return Dl(jt(n));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function Kl(e){let n=Jl(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Xl(n),"System.Collections.IEnumerator.get_Current":()=>Xl(n),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const n=e.stack;if(Bt(n))return!1;if(null!=jt(n)){if(jt(n)instanceof Rl)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Yl(Wt(n)),!Bt(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!Bt(e.stack)}(n),"System.Collections.IEnumerator.Reset"(){n=Jl(e)},Dispose(){}}}function Ql(e,n,t){return null==n?null==t?0:-1:null==t?1:0|function(e,n,t){e:for(;;){const r=e,i=n,o=t,s=[i,o];if(Bt(s[0]))return Bt(s[1])?0:-1;if(Bt(s[1]))return 1;if(null!=jt(s[1]))if(null!=jt(s[0])){const a=jt(s[0]),c=jt(s[1]);if(a instanceof Rl)if(null==Ll(a)){if(!(c instanceof Rl)){const i=0|r.Compare(Dl(a),Dl(c));if(0!==i)return 0|i;e=r,n=Dt(jl(a),Wt(s[0])),t=Dt(void 0,Wt(s[1]));continue e}if(null==Ll(c)){const i=0|r.Compare(Dl(a),Dl(c));if(0!==i)return 0|i;e=r,n=Dt(jl(a),Wt(s[0])),t=Dt(jl(c),Wt(s[1]));continue e}{const s=[i,o];let a,c,l,u,f;switch(Bt(s[0])?Bt(s[1])?a=2:null!=jt(s[1])?(a=1,u=Wt(s[1]),f=jt(s[1])):a=2:null!=jt(s[0])?(a=0,c=Wt(s[0]),l=jt(s[0])):Bt(s[1])?a=2:null!=jt(s[1])?(a=1,u=Wt(s[1]),f=jt(s[1])):a=2,a){case 0:if(l instanceof Rl){e=r,n=Ht([Ll(l),Bl(Dl(l),void 0,jl(l),0)],c),t=o;continue e}e=r,n=Ht([void 0,Pl(Dl(l))],c),t=o;continue e;case 1:if(f instanceof Rl){e=r,n=i,t=Ht([Ll(f),Bl(Dl(f),void 0,jl(f),0)],u);continue e}e=r,n=i,t=Ht([void 0,Pl(Dl(f))],u);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const s=[i,o];let a,c,l,u,f;switch(Bt(s[0])?Bt(s[1])?a=2:null!=jt(s[1])?(a=1,u=Wt(s[1]),f=jt(s[1])):a=2:null!=jt(s[0])?(a=0,c=Wt(s[0]),l=jt(s[0])):Bt(s[1])?a=2:null!=jt(s[1])?(a=1,u=Wt(s[1]),f=jt(s[1])):a=2,a){case 0:if(l instanceof Rl){e=r,n=Ht([Ll(l),Bl(Dl(l),void 0,jl(l),0)],c),t=o;continue e}e=r,n=Ht([void 0,Pl(Dl(l))],c),t=o;continue e;case 1:if(f instanceof Rl){e=r,n=i,t=Ht([Ll(f),Bl(Dl(f),void 0,jl(f),0)],u);continue e}e=r,n=i,t=Ht([void 0,Pl(Dl(f))],u);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(c instanceof Rl)){const i=0|r.Compare(Dl(a),Dl(c));if(0!==i)return 0|i;e=r,n=Wt(s[0]),t=Wt(s[1]);continue e}if(null==Ll(c)){const i=0|r.Compare(Dl(a),Dl(c));if(0!==i)return 0|i;e=r,n=Dt(void 0,Wt(s[0])),t=Dt(jl(c),Wt(s[1]));continue e}{const s=[i,o];let a,c,l,u,f;switch(Bt(s[0])?Bt(s[1])?a=2:null!=jt(s[1])?(a=1,u=Wt(s[1]),f=jt(s[1])):a=2:null!=jt(s[0])?(a=0,c=Wt(s[0]),l=jt(s[0])):Bt(s[1])?a=2:null!=jt(s[1])?(a=1,u=Wt(s[1]),f=jt(s[1])):a=2,a){case 0:if(l instanceof Rl){e=r,n=Ht([Ll(l),Bl(Dl(l),void 0,jl(l),0)],c),t=o;continue e}e=r,n=Ht([void 0,Pl(Dl(l))],c),t=o;continue e;case 1:if(f instanceof Rl){e=r,n=i,t=Ht([Ll(f),Bl(Dl(f),void 0,jl(f),0)],u);continue e}e=r,n=i,t=Ht([void 0,Pl(Dl(f))],u);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{jt(s[1]);const a=[i,o];let c,l,u,f,d;switch(Bt(a[0])?Bt(a[1])?c=2:null!=jt(a[1])?(c=1,f=Wt(a[1]),d=jt(a[1])):c=2:null!=jt(a[0])?(c=0,l=Wt(a[0]),u=jt(a[0])):Bt(a[1])?c=2:null!=jt(a[1])?(c=1,f=Wt(a[1]),d=jt(a[1])):c=2,c){case 0:if(u instanceof Rl){e=r,n=Ht([Ll(u),Bl(Dl(u),void 0,jl(u),0)],l),t=o;continue e}e=r,n=Ht([void 0,Pl(Dl(u))],l),t=o;continue e;case 1:if(d instanceof Rl){e=r,n=i,t=Ht([Ll(d),Bl(Dl(d),void 0,jl(d),0)],f);continue e}e=r,n=i,t=Ht([void 0,Pl(Dl(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==jt(s[0])){e=r,n=Wt(s[0]),t=Wt(s[1]);continue e}{jt(s[0]);const a=[i,o];let c,l,u,f,d;switch(Bt(a[0])?Bt(a[1])?c=2:null!=jt(a[1])?(c=1,f=Wt(a[1]),d=jt(a[1])):c=2:null!=jt(a[0])?(c=0,l=Wt(a[0]),u=jt(a[0])):Bt(a[1])?c=2:null!=jt(a[1])?(c=1,f=Wt(a[1]),d=jt(a[1])):c=2,c){case 0:if(u instanceof Rl){e=r,n=Ht([Ll(u),Bl(Dl(u),void 0,jl(u),0)],l),t=o;continue e}e=r,n=Ht([void 0,Pl(Dl(u))],l),t=o;continue e;case 1:if(d instanceof Rl){e=r,n=i,t=Ht([Ll(d),Bl(Dl(d),void 0,jl(d),0)],f);continue e}e=r,n=i,t=Ht([void 0,Pl(Dl(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,Rt(n),Rt(t))}function eu(e,n,t){let r=t;Zl((e=>{n[r]=e,r=r+1|0}),e)}function nu(e,n){if(je(n))return function(e,n){return Rn(((n,t)=>Hl(e,t,n)),void 0,n)}(e,n);if(n instanceof It)return function(e,n){return Ut(((n,t)=>Hl(e,t,n)),void 0,n)}(e,n);{const t=He(n);try{return function(e,n,t){for(;;){const r=e,i=n,o=t;if(!o["System.Collections.IEnumerator.MoveNext"]())return i;e=r,n=Hl(r,o["System.Collections.Generic.IEnumerator`1.get_Current"](),i),t=o}}(e,void 0,t)}finally{Ue(t)}}}class tu{constructor(e,n){this.comparer=e,this.tree=n}GetHashCode(){return 0|function(e){let n,t=0;const r=He(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();)t=0|(n=0|nn(r["System.Collections.Generic.IEnumerator`1.get_Current"]()),(t<<1)+n+631)}finally{Ue(r)}return 0|Math.abs(t)}(this)}Equals(e){return e instanceof tu&&0===Ql(ru(this),iu(this),iu(e))}toString(){return"set ["+vt("; ",Cr((e=>wn(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(e){return Array.from(this)}CompareTo(e){return 0|Ql(ru(this),iu(this),iu(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 Gl(ru(this),e,iu(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,n){eu(iu(this),e,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|ou(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|ou(this)}GetEnumerator(){return Kl(iu(this))}[Symbol.iterator](){return Ge(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Kl(iu(this))}get size(){return 0|ou(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,n){return Gl(ru(e),n,iu(e))}(this,e)}keys(){return Cr((e=>e),this)}values(){return Cr((e=>e),this)}entries(){return Cr((e=>[e,e]),this)}forEach(e,n){const t=this;br((n=>{e(n,n,t)}),t)}}function ru(e){return e.comparer}function iu(e){return e.tree}function ou(e){return Ul(iu(e))}function su(e,n,t){try{return"Expecting "+e+" but instead got:"+(t?"\n":" ")+JSON.stringify(n,null,4)}catch(n){return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(t?"\n":" ")}}function au(e,n,t){const r=n(e,t);if(1===r.tag){const e=r.fields[0];return new to(1,function(e,n){const t=2===n.tag?su(n.fields[0],n.fields[1],!0):1===n.tag?su(n.fields[0],n.fields[1],!1)+"\nReason: "+n.fields[2]:3===n.tag?su(n.fields[0],n.fields[1],!0):4===n.tag?su(n.fields[0],n.fields[1],!0)+"\nNode `"+n.fields[2]+"` is unkown.":5===n.tag?"Expecting "+n.fields[0]+".\n"+JSON.stringify(n.fields[1],null,4):7===n.tag?"The following errors were found:\n\n"+vt("\n\n",n.fields[0]):6===n.tag?"The following `failure` occurred with the decoder: "+n.fields[0]:su(n.fields[0],n.fields[1],!1);return 7===n.tag?t:"Error at: `"+e+"`\n"+t}(e[0],e[1]))}return new to(0,r.fields[0])}function cu(e,n){try{return au("$",e,JSON.parse(n))}catch(e){if(e instanceof SyntaxError)return new to(1,"Given an invalid JSON: "+e.message);throw e}}function lu(e,n){return"string"==typeof n?new to(0,n):new to(1,[e,new $l(0,"a string",n)])}const uu=e=>n=>{const t="a sbyte",r=e,i=n;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-128<=e&&e<=127?new to(0,(e+128&255)-128):new to(1,[r,new $l(1,t,e,"Value was either too large or too small for "+t)]):new to(1,[r,new $l(1,t,e,"Value is not an integral value")])}if("string"==typeof i){let e,n=0;return e=[Ol(i,511,!1,8,new bn((()=>n),(e=>{n=0|e}))),n],e[0]?new to(0,e[1]):new to(1,[r,new $l(0,t,i)])}return new to(1,[r,new $l(0,t,i)])},fu=e=>n=>{const t="a byte",r=e,i=n;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=255?new to(0,255&e):new to(1,[r,new $l(1,t,e,"Value was either too large or too small for "+t)]):new to(1,[r,new $l(1,t,e,"Value is not an integral value")])}if("string"==typeof i){let e,n=0;return e=[Ol(i,511,!0,8,new bn((()=>n),(e=>{n=e}))),n],e[0]?new to(0,e[1]):new to(1,[r,new $l(0,t,i)])}return new to(1,[r,new $l(0,t,i)])},du=e=>n=>{const t="an int16",r=e,i=n;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-32768<=e&&e<=32767?new to(0,(e+32768&65535)-32768):new to(1,[r,new $l(1,t,e,"Value was either too large or too small for "+t)]):new to(1,[r,new $l(1,t,e,"Value is not an integral value")])}if("string"==typeof i){let e,n=0;return e=[Ol(i,511,!1,16,new bn((()=>n),(e=>{n=0|e}))),n],e[0]?new to(0,e[1]):new to(1,[r,new $l(0,t,i)])}return new to(1,[r,new $l(0,t,i)])},hu=e=>n=>{const t="an uint16",r=e,i=n;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=65535?new to(0,65535&e):new to(1,[r,new $l(1,t,e,"Value was either too large or too small for "+t)]):new to(1,[r,new $l(1,t,e,"Value is not an integral value")])}if("string"==typeof i){let e,n=0;return e=[Ol(i,511,!0,16,new bn((()=>n),(e=>{n=e}))),n],e[0]?new to(0,e[1]):new to(1,[r,new $l(0,t,i)])}return new to(1,[r,new $l(0,t,i)])},mu=e=>n=>{const t="an int",r=e,i=n;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-2147483648<=e&&e<=2147483647?new to(0,~~e):new to(1,[r,new $l(1,t,e,"Value was either too large or too small for "+t)]):new to(1,[r,new $l(1,t,e,"Value is not an integral value")])}if("string"==typeof i){let e,n=0;return e=[Ol(i,511,!1,32,new bn((()=>n),(e=>{n=0|e}))),n],e[0]?new to(0,e[1]):new to(1,[r,new $l(0,t,i)])}return new to(1,[r,new $l(0,t,i)])},pu=e=>n=>{const t="an uint32",r=e,i=n;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=4294967295?new to(0,e>>>0):new to(1,[r,new $l(1,t,e,"Value was either too large or too small for "+t)]):new to(1,[r,new $l(1,t,e,"Value is not an integral value")])}if("string"==typeof i){let e,n=0;return e=[Ol(i,511,!0,32,new bn((()=>n),(e=>{n=e}))),n],e[0]?new to(0,e[1]):new to(1,[r,new $l(0,t,i)])}return new to(1,[r,new $l(0,t,i)])};function $u(e,n,t,r){let i;const o=t+".["+Je(e)+"]";if(Array.isArray(r)){const t=r;return e<t.length?n(o,t[e]):new to(1,[o,new $l(5,"a longer array. Need index `"+Je(e)+"` but there are only `"+(i=t.length,Je(i)+"` entries"),r)])}return new to(1,[o,new $l(0,"an array",r)])}function gu(e,n,t){if(Array.isArray(t)){let r=-1;return ro(zt,Rn(((t,i)=>{if(r=r+1|0,0===t.tag){const o=e(n+".["+Je(r)+"]",i);return 0===o.tag?new to(0,Dt(o.fields[0],t.fields[0])):new to(1,o.fields[0])}return t}),new to(0,Pt()),t))}return new to(1,[n,new $l(0,"a list",t)])}function wu(e,n,t){if(Array.isArray(t)){let r=-1;const i=t;return Rn(((t,i)=>{if(r=r+1|0,0===t.tag){const o=t.fields[0],s=e(n+".["+Je(r)+"]",i);return 0===s.tag?(o[r]=s.fields[0],new to(0,o)):new to(1,s.fields[0])}return t}),new to(0,Pn(new Array(i.length),0,i.length,null)),i)}return new to(1,[n,new $l(0,"an array",t)])}function vu(e,n,t,r){const i=n(t,r);return 0===i.tag?e(i.fields[0],t,r):new to(1,i.fields[0])}function yu(e,n){let t;const r=e;return t=e=>n=>$u(0,r,e,n),e=>r=>vu(mn(3,(e=>{let t;const r=n;return t=e=>n=>$u(1,r,e,n),n=>r=>vu(((n,t,r)=>new to(0,[e,n])),mn(2,t),n,r)})),mn(2,t),e,r)}function bu(e){return el(e)}function Cu(e){return function(e,n){return new tu(e,n)}(n={Compare:un},nu(n,e));var n}function _u(e,n,t,r){let i;const o=n.length+e|0;if(o!==r.length)return new to(1,[t,new $l(6,(i=0|r.length,dt(lt("Expected array of length %i but got %i"))(o)(i)))]);{let i=new to(0,Pt());for(let o=e;o<=r.length-1;o++)if(0===i.tag){const s=i.fields[0],a=dt(lt("%s[%i]"))(t)(o),c=n[o-e],l=r[o];i=ro((e=>Dt(e,s)),c(a)(l))}return ro(zt,i)}}function xu(e,n,t,r,i,o){const s=function(e,n){return n.find((e=>as(e)===r))}(0,gs(t));if(null!=s){const t=s,r=Dn((t=>Iu(e,n,!1,t[1])),_s(t));return ro((e=>function(e,n){const t=(e.fields||[]).length;if(n.length!==t)throw new Error(`Expected an array of length ${t} but got ${n.length}`);return null!=e.declaringType.construct?new e.declaringType.construct(e.tag,...n):{}}(t,Ft(e))),0===r.length&&o.length<=1?new to(0,Pt()):_u(1,r,i,o))}return new to(1,[i,new $l(6,"Cannot find case "+r+" in "+cs(t))])}function ku(e,n,t,r){const i=new bn(null);let o;const s=cs(r);let a;if(o=""===s?e:il(s,i,e),bs(r)){const e=Dn((e=>[bl(n,as(e)),Iu(o,n,!1,e[1])]),ws(r));a=n=>t=>ro((e=>function(e,n){const t=ws(e);if(t.length!==n.length)throw new Error(`Expected an array of length ${t.length} but got ${n.length}`);return null!=e.construct?new e.construct(...n):t.reduce(((e,[t,r],i)=>(e[t]=n[i],e)),{})}(r,Ft(e))),function(e,n,t){return null===t||Object.getPrototypeOf(t||!1)!==Object.prototype?new to(1,[n,new $l(0,"an object",t)]):function(e,n,t){return n.reduceRight(((n,t)=>e(t,n)),t)}(mn(2,(e=>{const r=e[0];return i=>0===i.tag?ro((e=>Dt(e,i.fields[0])),e[1](n+"."+r)(t[r])):i})),e,new to(0,Pt()))}(e,n,t))}else if(ys(r))a=e=>t=>{if("string"==typeof t)return xu(o,n,r,t,e,[]);if(Array.isArray(t)){const i=t;return io((t=>xu(o,n,r,t,e,i)),lu(e+"[0]",i[0]))}return new to(1,[e,new $l(0,"a string or array",t)])};else{if(!t){let e;const n=cs(r);throw e=dt(lt("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"))(n),new Error(e)}a=e=>n=>new to(1,[e,new $l(2,"an extra coder for "+cs(r),n)])}return i.contents=a,a}function Iu(e,n,t,r){let i,o,s,a;const c=cs(r),l=ol(c,e);if(null==l){if(ls(r)){const t=Iu(e,n,!1,us(r));return e=>n=>wu(mn(2,t),e,n)}if(ds(r)){const e=cs(ms(r));if("System.SByte"===e)return e=>n=>{const t=r,i=e,o=n,s=uu(i)(o);if(1===s.tag)return new to(1,s.fields[0]);{const e=s.fields[0];return vr(e,ps(t),{Equals:(e,n)=>e===n,GetHashCode:Qe})?new to(0,$s(t,e.toString())):new to(1,[i,new $l(1,cs(t),o,"Unkown value provided for the enum")])}};if("System.Byte"===e)return e=>n=>{const t=r,i=e,o=n,s=fu(i)(o);if(1===s.tag)return new to(1,s.fields[0]);{const e=s.fields[0];return vr(e,ps(t),{Equals:(e,n)=>e===n,GetHashCode:Qe})?new to(0,$s(t,e.toString())):new to(1,[i,new $l(1,cs(t),o,"Unkown value provided for the enum")])}};if("System.Int16"===e)return e=>n=>{const t=r,i=e,o=n,s=du(i)(o);if(1===s.tag)return new to(1,s.fields[0]);{const e=s.fields[0];return vr(e,ps(t),{Equals:(e,n)=>e===n,GetHashCode:Qe})?new to(0,$s(t,e.toString(a))):new to(1,[i,new $l(1,cs(t),o,"Unkown value provided for the enum")])}var a};if("System.UInt16"===e)return e=>n=>{const t=r,i=e,o=n,s=hu(i)(o);if(1===s.tag)return new to(1,s.fields[0]);{const e=s.fields[0];return vr(e,ps(t),{Equals:(e,n)=>e===n,GetHashCode:Qe})?new to(0,$s(t,e.toString())):new to(1,[i,new $l(1,cs(t),o,"Unkown value provided for the enum")])}};if("System.Int32"===e)return e=>n=>{const t=r,i=e,o=n,s=mu(i)(o);if(1===s.tag)return new to(1,s.fields[0]);{const e=s.fields[0];return vr(e,ps(t),{Equals:(e,n)=>e===n,GetHashCode:Qe})?new to(0,$s(t,Je(e))):new to(1,[i,new $l(1,cs(t),o,"Unkown value provided for the enum")])}};if("System.UInt32"===e)return e=>n=>{const t=r,i=e,o=n,s=pu(i)(o);if(1===s.tag)return new to(1,s.fields[0]);{const e=s.fields[0];return vr(e,ps(t),{Equals:(e,n)=>e===n,GetHashCode:Qe})?new to(0,$s(t,e.toString())):new to(1,[i,new $l(1,cs(t),o,"Unkown value provided for the enum")])}};{const e=cs(r),n=ht(lt("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=>n(e)}}if(fs(r)){if(Cs(r)){const t=Dn((t=>Iu(e,n,!1,t)),vs(r));return e=>n=>Array.isArray(n)?ro((e=>Ft(e)),_u(0,t,e,n)):new to(1,[e,new $l(0,"an array",n)])}{const c=cs(hs(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===c)return i=Iu(e,n,!0,Go(r)[0]),e=>n=>{return t=mn(2,i),r=e,null==(o=n)?new to(0,void 0):ro(kn,t(r,o));var t,r,o};if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===c)return o=Iu(e,n,!1,Go(r)[0]),e=>n=>gu(mn(2,o),e,n);if("System.Collections.Generic.IEnumerable`1[System.Object]"===c)return s=Iu(e,n,!1,Go(r)[0]),e=>n=>function(e,n,t){if(Array.isArray(t)){let r=-1;return ro(_r,Rn(((t,i)=>{if(r=r+1|0,0===t.tag){const o=e(n+".["+Je(r)+"]",i);return 0===o.tag?new to(0,wr([o.fields[0]],t.fields[0])):new to(1,o.fields[0])}return t}),new to(0,[]),t))}return new to(1,[n,new $l(0,"a seq",t)])}(mn(2,s),e,n);if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===c){const t=Iu(e,n,!1,Go(r)[0]),i=Iu(e,n,!1,Go(r)[1]);let o;const s=Gt([e=>n=>function(e,n,t,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new to(1,[t,new $l(0,"an object",r)]):yr(((i,o)=>{if(0===i.tag){const s=e(t,o);if(0===s.tag){const e=n(t+"."+o,r[o]);return 0===e.tag?new to(0,Dt([s.fields[0],e.fields[0]],i.fields[0])):new to(1,e.fields[0])}return new to(1,s.fields[0])}return i}),new to(0,Pt()),Object.keys(r))}(mn(2,t),mn(2,i),e,n),(a=yu(mn(2,t),mn(2,i)),e=>n=>gu(mn(2,a),e,n))]);return o=e=>n=>{return t=e,r=n,((e,n)=>{e:for(;;){const i=e,o=n;if(Bt(i))return new to(1,[t,new $l(7,o)]);{const s=au(t,mn(2,jt(i)),r);if(1===s.tag){e=Wt(i),n=Zt(o,Rt(s.fields[0]));continue e}return new to(0,s.fields[0])}}})(s,Pt());var t,r},e=>n=>function(e,n,t,r){const i=n(t,r);return 1===i.tag?new to(1,i.fields[0]):new to(0,e(i.fields[0]))}(bu,mn(2,o),e,n)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===c){const t=Iu(e,n,!1,Go(r)[0]);return e=>n=>{const r=wu(mn(2,t),e,n);return 0===r.tag?new to(0,Cu(r.fields[0])):new to(1,r.fields[0])}}return ku(e,n,t,r)}}return"System.Boolean"===c?e=>n=>{return t=e,"boolean"==typeof(r=n)?new to(0,r):new to(1,[t,new $l(0,"a boolean",r)]);var t,r}:"Microsoft.FSharp.Core.Unit"===c?e=>n=>{return t=e,null==(r=n)?new to(0,void 0):new to(1,[t,new $l(0,"null",r)]);var t,r}:"System.String"===c?e=>n=>lu(e,n):"System.Char"===c?e=>n=>function(e,n){if("string"==typeof n){const t=n;return 1===t.length?new to(0,t[0]):new to(1,[e,new $l(0,"a single character string",n)])}return new to(1,[e,new $l(0,"a char",n)])}(e,n):"System.SByte"===c?uu:"System.Byte"===c?fu:"System.Int16"===c?du:"System.UInt16"===c?hu:"System.Int32"===c?mu:"System.UInt32"===c?pu:"System.Double"===c?e=>n=>{return t=e,"number"==typeof(r=n)?new to(0,r):new to(1,[t,new $l(0,"a float",r)]);var t,r}:"System.Single"===c?e=>n=>{return t=e,"number"==typeof(r=n)?new to(0,r):new to(1,[t,new $l(0,"a float32",r)]);var t,r}:"System.DateTime"===c?e=>n=>function(e,n){if("string"==typeof n){let r,i=zn(-621355968e5,0);return r=[Hn(n,new bn((()=>i),(e=>{i=e}))),i],r[0]?new to(0,1===(t=r[1]).kind?t:zn(t.getTime(),1)):new to(1,[e,new $l(0,"a datetime",n)])}var t;return new to(1,[e,new $l(0,"a datetime",n)])}(e,n):"System.DateTimeOffset"===c?e=>n=>function(e,n){if("string"==typeof n){let t,r=Tl(-621355968e5,0);return t=[Nl(n,new bn((()=>r),(e=>{r=e}))),r],t[0]?new to(0,t[1]):new to(1,[e,new $l(0,"a datetimeoffset",n)])}return new to(1,[e,new $l(0,"a datetime",n)])}(e,n):"System.TimeSpan"===c?e=>n=>function(e,n){if("string"==typeof n){let t,r=0;return t=[$c(n,new bn((()=>r),(e=>{r=e}))),r],t[0]?new to(0,t[1]):new to(1,[e,new $l(0,"a timespan",n)])}return new to(1,[e,new $l(0,"a timespan",n)])}(e,n):"System.Guid"===c?e=>n=>function(e,n){if("string"==typeof n){let t,r="00000000-0000-0000-0000-000000000000";return t=[Il(n,new bn((()=>r),(e=>{r=e}))),r],t[0]?new to(0,t[1]):new to(1,[e,new $l(0,"a guid",n)])}return new to(1,[e,new $l(0,"a guid",n)])}(e,n):"System.Object"===c?e=>e=>new to(0,e):ku(e,n,t,r)}{const e=l;return n=>t=>e.contents(n)(t)}}function Su(e,n,t){const r=En(n,new gl(0));return Iu(function(e){return null!=e?sl(((e,n)=>new bn(n[1])),e.Coders):al()}(t),r,!1,e)}function Au(e){return e}const Eu=null;function Ou(e){return Array.from(e)}function Tu(e){return Un(e,"O")}function Nu(e){return function(e,n="c",t){if(-1===["c","g","G"].indexOf(n))throw new Error("Custom formats are not supported");const r=Math.abs(function(e){return hc(e/864e5)}(e)),i=Math.abs(function(e){return hc(e%864e5/36e5)}(e)),o=Math.abs(function(e){return hc(e%36e5/6e4)}(e)),s=Math.abs(function(e){return hc(e%6e4/1e3)}(e)),a=Math.abs(function(e){return hc(e%1e3)}(e));return`${e<0?"-":""}${0!==r||"c"!==n&&"g"!==n?"c"===n?r+".":r+":":""}${"g"===n?i:qe(i,2)}:${qe(o,2)}:${qe(s,2)}${0!==a||"c"!==n&&"g"!==n?"g"===n?"."+qe(a,3):"."+function(e,n,t){let r=e.toString(10);for(;r.length<3;)r="0"+r;for(;r.length<7;)r+="0";return r}(a):""}`}(e)}function Mu(){return null}function Pu(e){return Un(e,"O")}function Du(e,n){return JSON.stringify(n,mn(2,null),kn(e))}function Ru(e,n,t,r){const i=new bn(null);let o;const s=cs(r);let a;if(o=""===s?e:il(s,i,e),bs(r)){const e=Dn((e=>{const r=bl(n,as(e)),i=Bu(o,n,t,e[1]);return n=>o=>{const s=function(e,n){return e[n[0]]}(n,e);return(!t||t&&null!=s)&&(o[r]=i(s)),o}}),ws(r));a=n=>yr(((e,t)=>t(n)(e)),{},e)}else{if(!ys(r)){let e;const n=cs(r);throw e=dt(lt("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"))(n),new Error(e)}a=e=>{const i=function(e,n){const t=gs(n)[e.tag];if(null==t)throw new Error(`Cannot find case ${e.name} in union type`);return[t,e.fields]}(e,r),s=i[0],a=i[1],c=0|a.length;if(0===c)return as(s);{const e=0|c,r=_s(s),i=Pn(new Array(e+1),0,e+1,null);i[0]=as(s);for(let s=1;s<=e;s++){const e=Bu(o,n,t,r[s-1][1]);i[s]=e(a[s-1])}return i}}}return i.contents=a,a}function Bu(e,n,t,r){const i=cs(r),o=ol(i,e);if(null==o){if(ls(r)){const i=Bu(e,n,t,us(r));return e=>Ou(Cr(i,e))}if(ds(r)){const e=cs(ms(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=cs(r);return ht(lt("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(fs(r)){if(Cs(r)){const i=Dn((r=>Bu(e,n,t,r)),vs(r));return e=>{return Ou((n=(e,n)=>i[e](n),t=e,gr((()=>ur(t)),((e,t)=>t["System.Collections.IEnumerator.MoveNext"]()?kn(n(e,t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{Ue(e)}))));var n,t}}{const i=cs(hs(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===i){const i=new Ze((()=>{return i=Bu(e,n,t,Go(r)[0]),e=>{return t=()=>Eu,null!=(n=On(i,e))?In(n):t();var n,t};var i}));return e=>null==e?Eu: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=Bu(e,n,t,Go(r)[0]);return e=>Ou(Cr(i,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===i){const i=Go(r)[0],o=Bu(e,n,t,Go(r)[1]);if("System.String"===cs(i)||"System.Guid"===cs(i))return e=>yr(((e,n)=>{const t=n;return e[t[0]]=o(t[1]),e}),{},e);{let r;const s=Bu(e,n,t,i);return r=s,e=>Ou(Cr((e=>{const n=e;return[r(n[0]),o(n[1])]}),e))}}return Ru(e,n,t,r)}}return"System.Boolean"===i?e=>e:"Microsoft.FSharp.Core.Unit"===i?Mu:"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?Pu:"System.DateTimeOffset"===i?Tu:"System.TimeSpan"===i?Nu:"System.Guid"===i?Au:"System.Object"===i?e=>e:Ru(e,n,t,r)}{const e=o;return n=>e.contents(n)}}function Lu(e,n,t,r){const i=En(n,new gl(0)),o=En(r,!0);return Bu(function(e){return null!=e?sl(((e,n)=>new bn(n[0])),e.Coders):al()}(t),i,o,e)}function ju(e){return no.Delay((()=>{let n;const t=pl(e);return n=no.Bind(t,(e=>no.Return(new to(0,e)))),no.Bind(n,(n=>{const t=n;if(1===t.tag)return no.Return(new to(1,t.fields[0]));{const n=t.fields[0];if(429===n.statusCode||n.statusCode>=500){const n=pl(e);return no.Bind(n,(e=>no.Return(new to(0,e))))}return no.Return(new to(0,n))}}))}))}function Wu(e,n){return no.Delay((()=>{let t,r;const i=ju((t=dl(new bc(1),fl(function(e){const n=Ys(e);return dt(lt("%s/workflows/public-backend/invites/%s/confirm"))(ya)(n)}(e))),ml(new _c(1,(r=new Ps(n),Du(0,Lu(Jo("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Write.ConfirmInvite",[],Ps,(()=>[["Mfa",rs]])),new gl(1),void 0,void 0)(r)))),t)));return no.Bind(i,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{const e=n.fields[0];if(200===e.statusCode){let n;const t=cu(mn(2,Su(Ko("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ValidationOutcomeDto",[],Ms,(()=>[[["Item",Jo("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.CodeMatchContextDto",[],Ns,(()=>[["AuthCode",rs]]))]],[],[],[],[]])),new gl(1),void 0)),e.responseText);return n=1===t.tag?new to(1,t.fields[0]):new to(0,function(e){switch(e.tag){case 1:return new Ss(1);case 2:return new Ss(2);case 3:return new Ss(3);case 4:return new Ss(4);default:return new Ss(0,(n=e.fields[0],new Is(n.AuthCode)))}var n}(t.fields[0])),no.Return(n)}return no.Return(new to(1,"Unexpected response from backend"))}}))}))}function Fu(e){return function(e){return no.Delay((()=>{const n=ju(dl(new bc(1),fl(function(e){const n=Ys(e);return dt(lt("%s/workflows/public-backend/invites/%s/activate"))(ya)(n)}(e))));return no.Bind(n,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{const e=n.fields[0];if(200===e.statusCode){let n;const t=cu(mn(2,Su(Ko("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ActivationOutcomeDto",[],Ts,(()=>[[["Item",Es()]],[],[],[],[["Item",Es()]]])),new gl(1),void 0)),e.responseText);return n=1===t.tag?new to(1,t.fields[0]):new to(0,function(e){switch(e.tag){case 1:return new ks(1);case 2:return new ks(2);case 3:return new ks(3);case 4:return new ks(4,Os(e.fields[0]));default:return new ks(0,Os(e.fields[0]))}}(t.fields[0])),no.Return(n)}return no.Return(new to(1,"Unexpected response from backend"))}}))}))}(e)}function Uu(e,n){let t,r,i,o,s,a,c;switch(e.tag){case 1:{const t=e.fields[0];let r,i;switch(3===t.tag?r=1:0===t.tag||1===t.tag?r=2:0===t.fields[0].tag?(r=0,i=t.fields[0].fields[0]):r=1,r){case 0:{let e,t;switch(i.tag){case 4:default:e=0,t=i.fields[0];break;case 1:e=1;break;case 2:e=2;break;case 3:e=3}switch(e){case 0:return[new sa(n.InviteToken,t.MaskedEmail,n.MfaCodeForm,n.IsValidationPending,n.CanRetry,new ia(1),t.CssOverrides),bo()];case 1:return[new sa(n.InviteToken,n.MaskedEmail,n.MfaCodeForm,n.IsValidationPending,n.CanRetry,new ia(2,"We couldn't find this invite. Reach out to your employer to get another one."),n.CssOverrides),bo()];case 2:return[new sa(n.InviteToken,n.MaskedEmail,n.MfaCodeForm,n.IsValidationPending,n.CanRetry,new ia(2,"Your invite has expired. Reach out to your employer to get another one."),n.CssOverrides),bo()];case 3:return[new sa(n.InviteToken,n.MaskedEmail,n.MfaCodeForm,n.IsValidationPending,n.CanRetry,new ia(2,"Your invite has been locked. Try refreshing this page in 30 minutes."),n.CssOverrides),bo()]}}case 1:return[new sa(n.InviteToken,n.MaskedEmail,n.MfaCodeForm,n.IsValidationPending,n.CanRetry,new ia(2,"Oops, looks like something went wrong. Try refreshing this page."),n.CssOverrides),bo()];case 2:return[n,bo()]}}case 2:{const a=e.fields[0];let c,l;switch(3===a.tag?c=1:0===a.tag||1===a.tag?c=2:0===a.fields[0].tag?(c=0,l=a.fields[0].fields[0]):c=1,c){case 0:switch(l.tag){case 2:return[new sa(n.InviteToken,n.MaskedEmail,(t=n.MfaCodeForm,{Error:"That code has expired. You should get another one soon.",Input:t.Input,IsDirty:t.IsDirty,IsTouched:t.IsTouched}),!1,n.CanRetry,n.Ui,n.CssOverrides),ko(new oa(0))];case 1:return[new sa(n.InviteToken,n.MaskedEmail,(r=n.MfaCodeForm,{Error:"Code doesn't match.",Input:r.Input,IsDirty:r.IsDirty,IsTouched:r.IsTouched}),!1,n.CanRetry,n.Ui,n.CssOverrides),bo()];case 4:return[new sa(n.InviteToken,n.MaskedEmail,(i=n.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,n.CanRetry,n.Ui,n.CssOverrides),bo()];case 3:return[new sa(n.InviteToken,n.MaskedEmail,(o=n.MfaCodeForm,{Error:"Invite has been locked. Check back in 30 minutes.",Input:o.Input,IsDirty:o.IsDirty,IsTouched:o.IsTouched}),!1,n.CanRetry,n.Ui,n.CssOverrides),bo()];default:return[n,(s=ka(new xa(1)),xo((e=>{ha(Rt(s+function(e){const n=vt("&",qt((e=>vt("=",[encodeURIComponent(e[0]),encodeURIComponent(e[1])])),e));return""===n?"":"?"+n}(Rt(["code",l.fields[0].AuthCode]))),1,2)})))]}case 1:return[new sa(n.InviteToken,n.MaskedEmail,n.MfaCodeForm,!1,n.CanRetry,new ia(2,"Oops, looks like something went wrong. Please try again."),n.CssOverrides),bo()];case 2:return[new sa(n.InviteToken,n.MaskedEmail,n.MfaCodeForm,!0,n.CanRetry,n.Ui,n.CssOverrides),bo()]}}case 3:{const t=e.fields[0];return[(a=wc(t),1===a.tag?new sa(n.InviteToken,n.MaskedEmail,{Error:"Code should contain exactly 6 digits.",Input:t,IsDirty:!0,IsTouched:n.MfaCodeForm.IsTouched},n.IsValidationPending,n.CanRetry,n.Ui,n.CssOverrides):new sa(n.InviteToken,n.MaskedEmail,{Error:void 0,Input:t,IsDirty:!0,IsTouched:n.MfaCodeForm.IsTouched},n.IsValidationPending,n.CanRetry,n.Ui,n.CssOverrides)),bo()]}case 4:return[new sa(n.InviteToken,n.MaskedEmail,(c=n.MfaCodeForm,{Error:c.Error,Input:c.Input,IsDirty:c.IsDirty,IsTouched:!0}),n.IsValidationPending,n.CanRetry,n.Ui,n.CssOverrides),bo()];default:return[n,ko(new oa(1,Bs(Fu(n.InviteToken),[])))]}}function zu(e,n){return no.Delay((()=>no.Bind(mo(e),(()=>no.ReturnFrom(n)))))}class Vu{constructor(e,n){const t=new bn(null);this.comparer=n,t.contents=this,this.hashMap=new Map([]),this["init@8-1"]=1;const r=He(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();Xu(t.contents,e[0],e[1])}}finally{Ue(r)}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(e){return Array.from(this)}"System.Collections.IEnumerable.GetEnumerator"(){return He(this)}GetEnumerator(){return He(dr(this.hashMap.values()))}[Symbol.iterator](){return Ge(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(e){Xu(this,e[0],e[1])}"System.Collections.Generic.ICollection`1.Clear"(){Zu(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(e){const n=Gu(this,e[0]);let t;switch(t=null!=n&&sn(n[1],e[1])?0:1,t){case 0:return!0;case 1:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,n){var t;t=(t,r)=>{e[n+t]=r},yr(((e,n)=>(t(e,n),e+1|0)),0,this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|qu(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(e){const n=Gu(this,e[0]);return null!=n&&(sn(n[1],e[1])&&Qu(this,e[0]),!0)}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(e,n){Xu(this,e,n)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(e){return Ku(this,e)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(e){return Yu(this,e)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(e,n){Ju(this,e,n)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const e=this;return pr(fr((()=>Cr((e=>e[0]),e))))}"System.Collections.Generic.IDictionary`2.Remove2B595"(e){return Qu(this,e)}"System.Collections.Generic.IDictionary`2.TryGetValue23A0B95A"(e,n){const t=Gu(this,e);if(null!=t){const e=t;return n.contents=e[1],!0}return!1}"System.Collections.Generic.IDictionary`2.get_Values"(){const e=this;return pr(fr((()=>Cr((e=>e[1]),e))))}get size(){return 0|qu(this)}clear(){Zu(this)}delete(e){return Qu(this,e)}entries(){return Cr((e=>[e[0],e[1]]),this)}get(e){return Yu(this,e)}has(e){return Ku(this,e)}keys(){return Cr((e=>e[0]),this)}set(e,n){return Ju(this,e,n),this}values(){return Cr((e=>e[1]),this)}forEach(e,n){const t=this;br((n=>{e(n[1],n[0],t)}),t)}}function Hu(e,n){const t=0|e.comparer.GetHashCode(n);let r,i=null;return r=[(o=e.hashMap,s=t,a=new bn((()=>i),(e=>{i=e})),!!o.has(s)&&(a.contents=o.get(s),!0)),i],r[0]?[!0,t,r[1].findIndex((t=>e.comparer.Equals(n,t[0])))]:[!1,t,-1];var o,s,a}function Gu(e,n){const t=Hu(e,n);let r;switch(r=t[0]&&t[2]>-1?0:1,r){case 0:return Er(e.hashMap,t[1])[t[2]];case 1:return}}function Zu(e){e.hashMap.clear()}function qu(e){let n=0,t=He(e.hashMap.values());try{for(;t["System.Collections.IEnumerator.MoveNext"]();)n=n+t["System.Collections.Generic.IEnumerator`1.get_Current"]().length|0}finally{Ue(t)}return 0|n}function Yu(e,n){const t=Gu(e,n);if(null!=t)return t[1];throw new Error("The item was not found in collection")}function Ju(e,n,t){const r=Hu(e,n);r[0]?r[2]>-1?Er(e.hashMap,r[1])[r[2]]=[n,t]:Er(e.hashMap,r[1]).push([n,t]):e.hashMap.set(r[1],[[n,t]])}function Xu(e,n,t){const r=Hu(e,n);if(r[0]){if(r[2]>-1){const e=$t("An item with the same key has already been added. Key: {0}",n);throw new Error(e)}Er(e.hashMap,r[1]).push([n,t])}else e.hashMap.set(r[1],[[n,t]])}function Ku(e,n){const t=Hu(e,n);let r;switch(r=t[0]&&t[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function Qu(e,n){const t=Hu(e,n);let r;switch(r=t[0]&&t[2]>-1?0:1,r){case 0:return Er(e.hashMap,t[1]).splice(t[2],1),!0;case 1:return!1}}class ef extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ProcessStepId"]}}class nf extends yn{constructor(e,n,t){super(),this.Id=e,this.DisplayName=n,this.ComponentTagName=t}}const tf=new nf(new ef(0,"personal-details"),"Personal Details","apollo-personal-details-app"),rf=new nf(new ef(0,"emergency-contacts"),"Emergency Contacts","apollo-emergency-contacts-app"),of=new nf(new ef(0,"bank"),"Bank","bank-component"),sf=new nf(new ef(0,"tax"),"Tax","tax-component"),af=new nf(new ef(0,"super"),"Super","super-selection-app"),cf=new nf(new ef(0,"app-workplace-linking"),"App Workplace Linking","workplace-link"),lf=new ef(0,"benefits-onboarding"),uf=new nf(lf,"Benefits","benefits-onboarding"),ff=new nf(new ef(0,"workplace-policy"),"Workplace-policy","apollo-workplace-policies-app"),df=new nf(new ef(0,"Benefits-Discrete"),"Benefits","benefits-onboarding");function hf(e){return new ef(0,e)}function mf(e){return e.fields[0]}class pf extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ProcessConfigId"]}}class $f extends yn{constructor(e,n,t){super(),this.Id=e,this.Name=n,this.Steps=t}}const gf=new $f(new pf(0,kl("00000000-0000-0000-0000-000000000000")),"onboarding-default",Gt([of,sf,af])),wf=new $f(new pf(0,kl("00000000-0000-0000-0000-000000000001")),"PEBTS",Gt([tf,rf,of,sf,af])),vf=new $f(new pf(0,kl("00000000-0000-0000-0000-000000000002")),"PS",Gt([tf,af])),yf=new $f(new pf(0,kl("00000000-0000-0000-0000-000000000003")),"BS",Gt([of,af])),bf=new $f(new pf(0,kl("00000000-0000-0000-0000-000000000004")),"Super",Rt(af)),Cf=new $f(new pf(0,kl("00000000-0000-0000-0001-000000000000")),"App Workplace Linking",Rt(cf)),_f=new $f(new pf(0,kl("00000000-0000-0000-0000-000000000005")),"Tax",Rt(sf)),xf=new $f(new pf(0,kl("00000000-0000-0000-0000-000000000006")),"PBTS",Gt([tf,of,sf,af])),kf=new $f(new pf(0,kl("00000000-0000-0000-0000-000000000007")),"PEBTSPo",Gt([tf,rf,of,sf,af,ff])),If=new $f(new pf(0,kl("00000000-0000-0000-0000-000000000008")),"PEBSPo",Gt([tf,rf,of,af,ff])),Sf=new $f(new pf(0,kl("00000000-0000-0000-0000-000000000009")),"PESPo",Gt([tf,rf,af,ff])),Af=new $f(new pf(0,kl("00000000-0000-0000-0000-000000000010")),"PETSPo",Gt([tf,rf,sf,af,ff])),Ef=new $f(new pf(0,kl("00000000-0000-0000-0002-000000000000")),"Bo",Rt(df)),Of=new $f(new pf(0,kl("00000000-0000-0000-0000-000000000011")),"PETS",Gt([tf,rf,sf,af])),Tf=new $f(new pf(0,kl("00000000-0000-0000-0000-000000000012")),"PEBS",Gt([tf,rf,of,af])),Nf=new $f(new pf(0,kl("00000000-0000-0000-0000-000000000013")),"PES",Gt([tf,rf,af])),Mf=new Vu([[gf.Id,gf],[wf.Id,wf],[vf.Id,vf],[yf.Id,yf],[bf.Id,bf],[Cf.Id,Cf],[_f.Id,_f],[xf.Id,xf],[kf.Id,kf],[If.Id,If],[Sf.Id,Sf],[Af.Id,Af],[Ef.Id,Ef],[Of.Id,Of],[Tf.Id,Tf],[Nf.Id,Nf]],{Equals:sn,GetHashCode:tn});class Pf extends yn{constructor(e,n){super(),this.ActivatedDates=e,this.CompletedSteps=n}}class Df extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Inactive","Active","Complete","Abandoned"]}}class Rf extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ProcessInstanceId"]}}function Bf(e){return new Rf(0,e)}function Lf(e){return e.fields[0]}class jf extends yn{constructor(e,n){super(),this.Name=e,this.Value=n}}class Wf extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["TagName"]}}class Ff extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["TagValue"]}}class Uf extends yn{constructor(e,n,t,r,i,o,s,a,c,l){super(),this.Id=e,this.Configuration=n,this.DateCreated=t,this.Status=r,this.Invite=i,this.Tags=o,this.Creator=s,this.StepsConfiguration=a,this.JourneyType=c,this.IsBenefitsStepEnabled=l}}class zf extends yn{constructor(e){super(),this.BenefitsOnboarding=e}}class Vf extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Default","InfoRequest","AppInvite","BenefitsExisting","BenefitsOnboarding"]}}class Hf extends yn{constructor(e){super(),this.Category=e}}class Gf extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["WhenEnabled","Always"]}}function Zf(e,n,t){const r=Yt((n=>0===function(...e){switch(e.length){case 2:return ct(e[0],e[1],!1);case 3:return ct(e[0],e[1],e[2]);case 4:return ct(e[0],e[1],!0===e[2]);case 5:return ct(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),!1);case 6:return ct(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),e[5]);case 7:return ct(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")}}(n.ComponentTagName,e,5)),$r(fr((()=>wr(t.Configuration.Steps,fr((()=>n?mr(uf):hr()))))))),i=dt(ut("Invalid ComponentTagName %A%P()",[e])),o=r;return null==o?new to(1,i):new to(0,o)}function qf(e){const n=e.Status;switch(n.tag){case 0:case 2:case 3:return;default:return Ot(t=Xt((e=>!Qt((n=>sn(e.Id,n[0])),n.fields[0].CompletedSteps)),e.Configuration.Steps))?void 0:kn(Nt(t))}var t}function Yf(){return Sn(document.getElementById("external-loading-page-container"))}function Jf(){return null!=Yf()}var Xf,Kf=[],Qf="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"}(Xf||(Xf={}));var ed,nd=function(e){return Object.freeze(e)},td=function(e,n){this.inlineSize=e,this.blockSize=n,nd(this)},rd=function(){function e(e,n,t,r){return this.x=e,this.y=n,this.width=t,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,nd(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(n){return new e(n.x,n.y,n.width,n.height)},e}(),id=function(e){return e instanceof SVGElement&&"getBBox"in e},od=function(e){if(id(e)){var n=e.getBBox(),t=n.width,r=n.height;return!t&&!r}var i=e,o=i.offsetWidth,s=i.offsetHeight;return!(o||s||e.getClientRects().length)},sd=function(e){var n;if(e instanceof Element)return!0;var t=null===(n=null==e?void 0:e.ownerDocument)||void 0===n?void 0:n.defaultView;return!!(t&&e instanceof t.Element)},ad="undefined"!=typeof window?window:{},cd=new WeakMap,ld=/auto|scroll/,ud=/^tb|vertical/,fd=/msie|trident/i.test(ad.navigator&&ad.navigator.userAgent),dd=function(e){return parseFloat(e||"0")},hd=function(e,n,t){return void 0===e&&(e=0),void 0===n&&(n=0),void 0===t&&(t=!1),new td((t?n:e)||0,(t?e:n)||0)},md=nd({devicePixelContentBoxSize:hd(),borderBoxSize:hd(),contentBoxSize:hd(),contentRect:new rd(0,0,0,0)}),pd=function(e,n){if(void 0===n&&(n=!1),cd.has(e)&&!n)return cd.get(e);if(od(e))return cd.set(e,md),md;var t=getComputedStyle(e),r=id(e)&&e.ownerSVGElement&&e.getBBox(),i=!fd&&"border-box"===t.boxSizing,o=ud.test(t.writingMode||""),s=!r&&ld.test(t.overflowY||""),a=!r&&ld.test(t.overflowX||""),c=r?0:dd(t.paddingTop),l=r?0:dd(t.paddingRight),u=r?0:dd(t.paddingBottom),f=r?0:dd(t.paddingLeft),d=r?0:dd(t.borderTopWidth),h=r?0:dd(t.borderRightWidth),m=r?0:dd(t.borderBottomWidth),p=f+l,$=c+u,g=(r?0:dd(t.borderLeftWidth))+h,w=d+m,v=a?e.offsetHeight-w-e.clientHeight:0,y=s?e.offsetWidth-g-e.clientWidth:0,b=i?p+g:0,C=i?$+w:0,_=r?r.width:dd(t.width)-b-y,x=r?r.height:dd(t.height)-C-v,k=_+p+y+g,I=x+$+v+w,S=nd({devicePixelContentBoxSize:hd(Math.round(_*devicePixelRatio),Math.round(x*devicePixelRatio),o),borderBoxSize:hd(k,I,o),contentBoxSize:hd(_,x,o),contentRect:new rd(f,c,_,x)});return cd.set(e,S),S},$d=function(e,n,t){var r=pd(e,t),i=r.borderBoxSize,o=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(n){case Xf.DEVICE_PIXEL_CONTENT_BOX:return s;case Xf.BORDER_BOX:return i;default:return o}},gd=function(e){var n=pd(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=nd([n.borderBoxSize]),this.contentBoxSize=nd([n.contentBoxSize]),this.devicePixelContentBoxSize=nd([n.devicePixelContentBoxSize])},wd=function(e){if(od(e))return 1/0;for(var n=0,t=e.parentNode;t;)n+=1,t=t.parentNode;return n},vd=function(){var e=1/0,n=[];Kf.forEach((function(t){if(0!==t.activeTargets.length){var r=[];t.activeTargets.forEach((function(n){var t=new gd(n.target),i=wd(n.target);r.push(t),n.lastReportedSize=$d(n.target,n.observedBox),i<e&&(e=i)})),n.push((function(){t.callback.call(t.observer,r,t.observer)})),t.activeTargets.splice(0,t.activeTargets.length)}}));for(var t=0,r=n;t<r.length;t++)(0,r[t])();return e},yd=function(e){Kf.forEach((function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach((function(t){t.isActive()&&(wd(t.target)>e?n.activeTargets.push(t):n.skippedTargets.push(t))}))}))},bd=[],Cd=0,_d={attributes:!0,characterData:!0,childList:!0,subtree:!0},xd=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],kd=function(e){return void 0===e&&(e=0),Date.now()+e},Id=!1,Sd=function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var n=this;if(void 0===e&&(e=250),!Id){Id=!0;var t,r=kd(e);t=function(){var t=!1;try{t=function(){var e,n=0;for(yd(n);Kf.some((function(e){return e.activeTargets.length>0}));)n=vd(),yd(n);return Kf.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:Qf}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=Qf),window.dispatchEvent(e)),n>0}()}finally{if(Id=!1,e=r-kd(),!Cd)return;t?n.run(1e3):e>0?n.run(e):n.start()}},function(e){if(!ed){var n=0,t=document.createTextNode("");new MutationObserver((function(){return bd.splice(0).forEach((function(e){return e()}))})).observe(t,{characterData:!0}),ed=function(){t.textContent="".concat(n?n--:n++)}}bd.push(e),ed()}((function(){requestAnimationFrame(t)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,n=function(){return e.observer&&e.observer.observe(document.body,_d)};document.body?n():ad.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),xd.forEach((function(n){return ad.addEventListener(n,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),xd.forEach((function(n){return ad.removeEventListener(n,e.listener,!0)})),this.stopped=!0)},e}(),Ad=new Sd,Ed=function(e){!Cd&&e>0&&Ad.start(),!(Cd+=e)&&Ad.stop()},Od=function(){function e(e,n){this.target=e,this.observedBox=n||Xf.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,n=$d(this.target,this.observedBox,!0);return e=this.target,id(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=n),this.lastReportedSize.inlineSize!==n.inlineSize||this.lastReportedSize.blockSize!==n.blockSize},e}(),Td=function(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n},Nd=new WeakMap,Md=function(e,n){for(var t=0;t<e.length;t+=1)if(e[t].target===n)return t;return-1},Pd=function(){function e(){}return e.connect=function(e,n){var t=new Td(e,n);Nd.set(e,t)},e.observe=function(e,n,t){var r=Nd.get(e),i=0===r.observationTargets.length;Md(r.observationTargets,n)<0&&(i&&Kf.push(r),r.observationTargets.push(new Od(n,t&&t.box)),Ed(1),Ad.schedule())},e.unobserve=function(e,n){var t=Nd.get(e),r=Md(t.observationTargets,n),i=1===t.observationTargets.length;r>=0&&(i&&Kf.splice(Kf.indexOf(t),1),t.observationTargets.splice(r,1),Ed(-1))},e.disconnect=function(e){var n=this,t=Nd.get(e);t.observationTargets.slice().forEach((function(t){return n.unobserve(e,t.target)})),t.activeTargets.splice(0,t.activeTargets.length)},e}(),Dd=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.");Pd.connect(this,e)}return e.prototype.observe=function(e,n){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!sd(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Pd.observe(this,e,n)},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(!sd(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Pd.unobserve(this,e)},e.prototype.disconnect=function(){Pd.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class Rd extends yn{constructor(e,n,t){super(),this.instanceId=0|e,this.name=n,this.type=t}}function Bd(e){return new Rd(Lf(e.Id),e.Configuration.Name,e.Configuration.Id.fields[0])}function Ld(e){Jf()||window.parent.postMessage(e,"*")}function jd(){Ld(function(e,n){const t={type:"contentResized",sender:"flare"};return t.height=e,t.width=-1,t}(document.body.offsetHeight))}function Wd(e,n){Ld(function(e,n){const t={type:"workflowSubmitSuccess",sender:"flare"};return t.workflow=Bd(e),t.profileId=Gs(n),t}(e,n))}function Fd(e){Jf()&&function(e,n){po(no.Delay((()=>no.Bind(mo(e),(()=>(function(){let e,n;const t=Yf();br((n=document.body,e=e=>n.removeChild(e),n=>{e(n)}),An(t))}(),Ld({type:"appReady",sender:"flare"}),jd(),no.Zero()))))))}(e)}function Ud(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function zd(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Ud(Object(t),!0).forEach((function(n){Gd(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ud(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function Vd(e){return Vd="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},Vd(e)}function Hd(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Gd(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Zd(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,i,o=[],s=!0,a=!1;try{for(t=t.call(e);!(s=(r=t.next()).done)&&(o.push(r.value),!n||o.length!==n);s=!0);}catch(e){a=!0,i=e}finally{try{s||null==t.return||t.return()}finally{if(a)throw i}}return o}}(e,n)||Yd(e,n)||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 qd(e){return function(e){if(Array.isArray(e))return Jd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Yd(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 Yd(e,n){if(e){if("string"==typeof e)return Jd(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Jd(e,n):void 0}}function Jd(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var Xd=function(){},Kd={},Qd={},eh=null,nh={mark:Xd,measure:Xd};try{"undefined"!=typeof window&&(Kd=window),"undefined"!=typeof document&&(Qd=document),"undefined"!=typeof MutationObserver&&(eh=MutationObserver),"undefined"!=typeof performance&&(nh=performance)}catch(c){}var th=(Kd.navigator||{}).userAgent,rh=void 0===th?"":th,ih=Kd,oh=Qd,sh=eh,ah=nh,ch=(ih.document,!!oh.documentElement&&!!oh.head&&"function"==typeof oh.addEventListener&&"function"==typeof oh.createElement),lh=~rh.indexOf("MSIE")||~rh.indexOf("Trident/"),uh="___FONT_AWESOME___",fh="fa",dh="svg-inline--fa",hh="data-fa-i2svg",mh="data-fa-pseudo-element",ph="data-fa-pseudo-element-pending",$h="data-prefix",gh="data-icon",wh="fontawesome-i2svg",vh="async",yh=["HTML","HEAD","STYLE","SCRIPT"],bh=function(){try{return!0}catch(e){return!1}}(),Ch={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"},_h={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},xh={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},kh={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},Ih=/fa[srltdbk]?[\-\ ]/,Sh="fa-layers-text",Ah=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,Eh={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},Oh=[1,2,3,4,5,6,7,8,9,10],Th=Oh.concat([11,12,13,14,15,16,17,18,19,20]),Nh=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Mh={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Ph=[].concat(qd(Object.keys(_h)),["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",Mh.GROUP,Mh.SWAP_OPACITY,Mh.PRIMARY,Mh.SECONDARY]).concat(Oh.map((function(e){return"".concat(e,"x")}))).concat(Th.map((function(e){return"w-".concat(e)}))),Dh=ih.FontAwesomeConfig||{};oh&&"function"==typeof oh.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 n=Zd(e,2),t=n[0],r=n[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var n=oh.querySelector("script["+e+"]");if(n)return n.getAttribute(e)}(t));null!=i&&(Dh[r]=i)}));var Rh=zd(zd({},{familyPrefix:fh,styleDefault:"solid",replacementClass:dh,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0}),Dh);Rh.autoReplaceSvg||(Rh.observeMutations=!1);var Bh={};Object.keys(Rh).forEach((function(e){Object.defineProperty(Bh,e,{enumerable:!0,set:function(n){Rh[e]=n,Lh.forEach((function(e){return e(Bh)}))},get:function(){return Rh[e]}})})),ih.FontAwesomeConfig=Bh;var Lh=[],jh=16,Wh={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},Fh="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Uh(){for(var e=12,n="";e-- >0;)n+=Fh[62*Math.random()|0];return n}function zh(e){for(var n=[],t=(e||[]).length>>>0;t--;)n[t]=e[t];return n}function Vh(e){return e.classList?zh(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function Hh(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Gh(e){return Object.keys(e||{}).reduce((function(n,t){return n+"".concat(t,": ").concat(e[t].trim(),";")}),"")}function Zh(e){return e.size!==Wh.size||e.x!==Wh.x||e.y!==Wh.y||e.rotate!==Wh.rotate||e.flipX||e.flipY}var qh=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function Yh(){var e=fh,n=dh,t=Bh.familyPrefix,r=Bh.replacementClass,i=qh;if(t!==e||r!==n){var o=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),a=new RegExp("\\.".concat(n),"g");i=i.replace(o,".".concat(t,"-")).replace(s,"--".concat(t,"-")).replace(a,".".concat(r))}return i}var Jh=!1;function Xh(){Bh.autoAddCss&&!Jh&&(function(e){if(e&&ch){var n=oh.createElement("style");n.setAttribute("type","text/css"),n.innerHTML=e;for(var t=oh.head.childNodes,r=null,i=t.length-1;i>-1;i--){var o=t[i],s=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(r=o)}oh.head.insertBefore(n,r)}}(Yh()),Jh=!0)}var Kh={mixout:function(){return{dom:{css:Yh,insertCss:Xh}}},hooks:function(){return{beforeDOMElementCreation:function(){Xh()},beforeI2svg:function(){Xh()}}}},Qh=ih||{};Qh[uh]||(Qh[uh]={}),Qh[uh].styles||(Qh[uh].styles={}),Qh[uh].hooks||(Qh[uh].hooks={}),Qh[uh].shims||(Qh[uh].shims=[]);var em=Qh[uh],nm=[],tm=!1;function rm(e){var n=e.tag,t=e.attributes,r=void 0===t?{}:t,i=e.children,o=void 0===i?[]:i;return"string"==typeof e?Hh(e):"<".concat(n," ").concat(function(e){return Object.keys(e||{}).reduce((function(n,t){return n+"".concat(t,'="').concat(Hh(e[t]),'" ')}),"").trim()}(r),">").concat(o.map(rm).join(""),"</").concat(n,">")}function im(e,n,t){if(e&&e[n]&&e[n][t])return{prefix:n,iconName:t,icon:e[n][t]}}ch&&((tm=(oh.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(oh.readyState))||oh.addEventListener("DOMContentLoaded",(function e(){oh.removeEventListener("DOMContentLoaded",e),tm=1,nm.map((function(e){return e()}))})));var om=function(e,n,t,r){var i,o,s,a=Object.keys(e),c=a.length,l=void 0!==r?function(e,n){return function(t,r,i,o){return e.call(n,t,r,i,o)}}(n,r):n;for(void 0===t?(i=1,s=e[a[0]]):(i=0,s=t);i<c;i++)s=l(s,e[o=a[i]],o,e);return s};function sm(e){var n=function(e){for(var n=[],t=0,r=e.length;t<r;){var i=e.charCodeAt(t++);if(i>=55296&&i<=56319&&t<r){var o=e.charCodeAt(t++);56320==(64512&o)?n.push(((1023&i)<<10)+(1023&o)+65536):(n.push(i),t--)}else n.push(i)}return n}(e);return 1===n.length?n[0].toString(16):null}function am(e){return Object.keys(e).reduce((function(n,t){var r=e[t];return r.icon?n[r.iconName]=r.icon:n[t]=r,n}),{})}function cm(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==t&&t,i=am(n);"function"!=typeof em.hooks.addPack||r?em.styles[e]=zd(zd({},em.styles[e]||{}),i):em.hooks.addPack(e,am(n)),"fas"===e&&cm("fa",n)}var lm=em.styles,um=em.shims,fm=Object.values(xh),dm=null,hm={},mm={},pm={},$m={},gm={},wm=Object.keys(Ch);var vm,ym=function(){var e=function(e){return om(lm,(function(n,t,r){return n[r]=om(t,e,{}),n}),{})};hm=e((function(e,n,t){if(n[3]&&(e[n[3]]=t),n[2]){var r=n[2].filter((function(e){return"number"==typeof e}));r.forEach((function(n){e[n.toString(16)]=t}))}return e})),mm=e((function(e,n,t){if(e[t]=t,n[2]){var r=n[2].filter((function(e){return"string"==typeof e}));r.forEach((function(n){e[n]=t}))}return e})),gm=e((function(e,n,t){var r=n[2];return e[t]=t,r.forEach((function(n){e[n]=t})),e}));var n="far"in lm||Bh.autoFetchSvg,t=om(um,(function(e,t){var r=t[0],i=t[1],o=t[2];return"far"!==i||n||(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:{}});pm=t.names,$m=t.unicodes,dm=Im(Bh.styleDefault)};function bm(e,n){return(hm[e]||{})[n]}function Cm(e,n){return(gm[e]||{})[n]}function _m(e){return pm[e]||{prefix:null,iconName:null}}function xm(){return dm}vm=function(e){dm=Im(e.styleDefault)},Lh.push(vm),ym();var km=function(){return{prefix:null,iconName:null,rest:[]}};function Im(e){var n=Ch[e],t=_h[e]||_h[n],r=e in em.styles?e:null;return t||r||null}function Sm(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,t=void 0!==n&&n,r=null,i=e.reduce((function(e,n){var i=function(e,n){var t,r=n.split("-"),i=r[0],o=r.slice(1).join("-");return i!==e||""===o||(t=o,~Ph.indexOf(t))?null:o}(Bh.familyPrefix,n);if(lm[n]?(n=fm.includes(n)?kh[n]:n,r=n,e.prefix=n):wm.indexOf(n)>-1?(r=n,e.prefix=Im(n)):i?e.iconName=i:n!==Bh.replacementClass&&e.rest.push(n),!t&&e.prefix&&e.iconName){var o="fa"===r?_m(e.iconName):{},s=Cm(e.prefix,e.iconName);o.prefix&&(r=null),e.iconName=o.iconName||s||e.iconName,e.prefix=o.prefix||e.prefix,"far"!==e.prefix||lm.far||!lm.fas||Bh.autoFetchSvg||(e.prefix="fas")}return e}),km());return"fa"!==i.prefix&&"fa"!==r||(i.prefix=xm()||"fas"),i}var Am=function(){function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var n,t;return n=e,t=[{key:"add",value:function(){for(var e=this,n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];var i=t.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(n){e.definitions[n]=zd(zd({},e.definitions[n]||{}),i[n]),cm(n,i[n]);var t=xh[n];t&&cm(t,i[n]),ym()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,n){var t=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(t).map((function(n){var r=t[n],i=r.prefix,o=r.iconName,s=r.icon,a=s[2];e[i]||(e[i]={}),a.length>0&&a.forEach((function(n){"string"==typeof n&&(e[i][n]=s)})),e[i][o]=s})),e}}],t&&Hd(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),e}(),Em=[],Om={},Tm={},Nm=Object.keys(Tm);function Mm(e,n){for(var t=arguments.length,r=new Array(t>2?t-2:0),i=2;i<t;i++)r[i-2]=arguments[i];return(Om[e]||[]).forEach((function(e){n=e.apply(null,[n].concat(r))})),n}function Pm(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];(Om[e]||[]).forEach((function(e){e.apply(null,t)}))}function Dm(){var e=arguments[0],n=Array.prototype.slice.call(arguments,1);return Tm[e]?Tm[e].apply(null,n):void 0}function Rm(e){"fa"===e.prefix&&(e.prefix="fas");var n=e.iconName,t=e.prefix||xm();if(n)return n=Cm(t,n)||n,im(Bm.definitions,t,n)||im(em.styles,t,n)}var Bm=new Am,Lm={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ch?(Pm("beforeI2svg",e),Dm("pseudoElements2svg",e),Dm("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.autoReplaceSvgRoot;!1===Bh.autoReplaceSvg&&(Bh.autoReplaceSvg=!0),Bh.observeMutations=!0,e=function(){Wm({autoReplaceSvgRoot:t}),Pm("watch",n)},ch&&(tm?setTimeout(e,0):nm.push(e))}},jm={noAuto:function(){Bh.autoReplaceSvg=!1,Bh.observeMutations=!1,Pm("noAuto")},config:Bh,dom:Lm,parse:{icon:function(e){if(null===e)return null;if("object"===Vd(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Cm(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var n=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],t=Im(e[0]);return{prefix:t,iconName:Cm(t,n)||n}}if("string"==typeof e&&(e.indexOf("".concat(Bh.familyPrefix,"-"))>-1||e.match(Ih))){var r=Sm(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||xm(),iconName:Cm(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var i=xm();return{prefix:i,iconName:Cm(i,e)||e}}}},library:Bm,findIconDefinition:Rm,toHtml:rm},Wm=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,n=void 0===e?oh:e;(Object.keys(em.styles).length>0||Bh.autoFetchSvg)&&ch&&Bh.autoReplaceSvg&&jm.dom.i2svg({node:n})};function Fm(e,n){return Object.defineProperty(e,"abstract",{get:n}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return rm(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(ch){var n=oh.createElement("div");return n.innerHTML=e.html,n.children}}}),e}function Um(e){var n=e.icons,t=n.main,r=n.mask,i=e.prefix,o=e.iconName,s=e.transform,a=e.symbol,c=e.title,l=e.maskId,u=e.titleId,f=e.extra,d=e.watchable,h=void 0!==d&&d,m=r.found?r:t,p=m.width,$=m.height,g="fak"===i,w=[Bh.replacementClass,o?"".concat(Bh.familyPrefix,"-").concat(o):""].filter((function(e){return-1===f.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(f.classes).join(" "),v={children:[],attributes:zd(zd({},f.attributes),{},{"data-prefix":i,"data-icon":o,class:w,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat($)})},y=g&&!~f.classes.indexOf("fa-fw")?{width:"".concat(p/$*16*.0625,"em")}:{};h&&(v.attributes[hh]=""),c&&(v.children.push({tag:"title",attributes:{id:v.attributes["aria-labelledby"]||"title-".concat(u||Uh())},children:[c]}),delete v.attributes.title);var b=zd(zd({},v),{},{prefix:i,iconName:o,main:t,mask:r,maskId:l,transform:s,symbol:a,styles:zd(zd({},y),f.styles)}),C=r.found&&t.found?Dm("generateAbstractMask",b)||{children:[],attributes:{}}:Dm("generateAbstractIcon",b)||{children:[],attributes:{}},_=C.children,x=C.attributes;return b.children=_,b.attributes=x,a?function(e){var n=e.prefix,t=e.iconName,r=e.children,i=e.attributes,o=e.symbol,s=!0===o?"".concat(n,"-").concat(Bh.familyPrefix,"-").concat(t):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:zd(zd({},i),{},{id:s}),children:r}]}]}(b):function(e){var n=e.children,t=e.main,r=e.mask,i=e.attributes,o=e.styles,s=e.transform;if(Zh(s)&&t.found&&!r.found){var a={x:t.width/t.height/2,y:.5};i.style=Gh(zd(zd({},o),{},{"transform-origin":"".concat(a.x+s.x/16,"em ").concat(a.y+s.y/16,"em")}))}return[{tag:"svg",attributes:i,children:n}]}(b)}function zm(e){var n=e.content,t=e.width,r=e.height,i=e.transform,o=e.title,s=e.extra,a=e.watchable,c=void 0!==a&&a,l=zd(zd(zd({},s.attributes),o?{title:o}:{}),{},{class:s.classes.join(" ")});c&&(l[hh]="");var u=zd({},s.styles);Zh(i)&&(u.transform=function(e){var n=e.transform,t=e.width,r=void 0===t?16:t,i=e.height,o=void 0===i?16:i,s=e.startCentered,a=void 0!==s&&s,c="";return c+=a&&lh?"translate(".concat(n.x/jh-r/2,"em, ").concat(n.y/jh-o/2,"em) "):a?"translate(calc(-50% + ".concat(n.x/jh,"em), calc(-50% + ").concat(n.y/jh,"em)) "):"translate(".concat(n.x/jh,"em, ").concat(n.y/jh,"em) "),(c+="scale(".concat(n.size/jh*(n.flipX?-1:1),", ").concat(n.size/jh*(n.flipY?-1:1),") "))+"rotate(".concat(n.rotate,"deg) ")}({transform:i,startCentered:!0,width:t,height:r}),u["-webkit-transform"]=u.transform);var f=Gh(u);f.length>0&&(l.style=f);var d=[];return d.push({tag:"span",attributes:l,children:[n]}),o&&d.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),d}var Vm=em.styles;function Hm(e){var n=e[0],t=e[1],r=Zd(e.slice(4),1)[0];return{found:!0,width:n,height:t,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(Bh.familyPrefix,"-").concat(Mh.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Bh.familyPrefix,"-").concat(Mh.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Bh.familyPrefix,"-").concat(Mh.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var Gm={found:!1,width:512,height:512};function Zm(e,n){var t=n;return"fa"===n&&null!==Bh.styleDefault&&(n=xm()),new Promise((function(r,i){if(Dm("missingIconAbstract"),"fa"===t){var o=_m(e)||{};e=o.iconName||e,n=o.prefix||n}if(e&&n&&Vm[n]&&Vm[n][e])return r(Hm(Vm[n][e]));!function(e,n){bh||Bh.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(n,'" is missing.'))}(e,n),r(zd(zd({},Gm),{},{icon:Bh.showMissingIcons&&e&&Dm("missingIconAbstract")||{}}))}))}var qm=function(){},Ym=Bh.measurePerformance&&ah&&ah.mark&&ah.measure?ah:{mark:qm,measure:qm},Jm='FA "6.1.2"',Xm=function(e){Ym.mark("".concat(Jm," ").concat(e," ends")),Ym.measure("".concat(Jm," ").concat(e),"".concat(Jm," ").concat(e," begins"),"".concat(Jm," ").concat(e," ends"))},Km={begin:function(e){return Ym.mark("".concat(Jm," ").concat(e," begins")),function(){return Xm(e)}},end:Xm},Qm=function(){};function ep(e){return"string"==typeof(e.getAttribute?e.getAttribute(hh):null)}function np(e){return oh.createElementNS("http://www.w3.org/2000/svg",e)}function tp(e){return oh.createElement(e)}function rp(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,t=void 0===n?"svg"===e.tag?np:tp:n;if("string"==typeof e)return oh.createTextNode(e);var r=t(e.tag);return Object.keys(e.attributes||[]).forEach((function(n){r.setAttribute(n,e.attributes[n])})),(e.children||[]).forEach((function(e){r.appendChild(rp(e,{ceFn:t}))})),r}var ip={replace:function(e){var n=e[0];if(n.parentNode)if(e[1].forEach((function(e){n.parentNode.insertBefore(rp(e),n)})),null===n.getAttribute(hh)&&Bh.keepOriginalSource){var t=oh.createComment(function(e){var n=" ".concat(e.outerHTML," ");return"".concat(n,"Font Awesome fontawesome.com ")}(n));n.parentNode.replaceChild(t,n)}else n.remove()},nest:function(e){var n=e[0],t=e[1];if(~Vh(n).indexOf(Bh.replacementClass))return ip.replace(e);var r=new RegExp("".concat(Bh.familyPrefix,"-.*"));if(delete t[0].attributes.id,t[0].attributes.class){var i=t[0].attributes.class.split(" ").reduce((function(e,n){return n===Bh.replacementClass||n.match(r)?e.toSvg.push(n):e.toNode.push(n),e}),{toNode:[],toSvg:[]});t[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?n.removeAttribute("class"):n.setAttribute("class",i.toNode.join(" "))}var o=t.map((function(e){return rm(e)})).join("\n");n.setAttribute(hh,""),n.innerHTML=o}};function op(e){e()}function sp(e,n){var t="function"==typeof n?n:Qm;if(0===e.length)t();else{var r=op;Bh.mutateApproach===vh&&(r=ih.requestAnimationFrame||op),r((function(){var n=!0===Bh.autoReplaceSvg?ip.replace:ip[Bh.autoReplaceSvg]||ip.replace,r=Km.begin("mutate");e.map(n),r(),t()}))}}var ap=!1;function cp(){ap=!0}function lp(){ap=!1}var up=null;function fp(e){if(sh&&Bh.observeMutations){var n=e.treeCallback,t=void 0===n?Qm:n,r=e.nodeCallback,i=void 0===r?Qm:r,o=e.pseudoElementsCallback,s=void 0===o?Qm:o,a=e.observeMutationsRoot,c=void 0===a?oh:a;up=new sh((function(e){if(!ap){var n=xm();zh(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!ep(e.addedNodes[0])&&(Bh.searchPseudoElements&&s(e.target),t(e.target)),"attributes"===e.type&&e.target.parentNode&&Bh.searchPseudoElements&&s(e.target.parentNode),"attributes"===e.type&&ep(e.target)&&~Nh.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var n=e.getAttribute?e.getAttribute($h):null,t=e.getAttribute?e.getAttribute(gh):null;return n&&t}(e.target)){var r=Sm(Vh(e.target)),o=r.prefix,a=r.iconName;e.target.setAttribute($h,o||n),a&&e.target.setAttribute(gh,a)}else(c=e.target)&&c.classList&&c.classList.contains&&c.classList.contains(Bh.replacementClass)&&i(e.target);var c}))}})),ch&&up.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function dp(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},t=function(e){var n,t,r=e.getAttribute("data-prefix"),i=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",s=Sm(Vh(e));return s.prefix||(s.prefix=xm()),r&&i&&(s.prefix=r,s.iconName=i),s.iconName&&s.prefix||(s.prefix&&o.length>0&&(s.iconName=(n=s.prefix,t=e.innerText,(mm[n]||{})[t]||bm(s.prefix,sm(e.innerText)))),!s.iconName&&Bh.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=e.firstChild.data)),s}(e),r=t.iconName,i=t.prefix,o=t.rest,s=function(e){var n=zh(e.attributes).reduce((function(e,n){return"class"!==e.name&&"style"!==e.name&&(e[n.name]=n.value),e}),{}),t=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return Bh.autoA11y&&(t?n["aria-labelledby"]="".concat(Bh.replacementClass,"-title-").concat(r||Uh()):(n["aria-hidden"]="true",n.focusable="false")),n}(e),a=Mm("parseNodeAttributes",{},e),c=n.styleParser?function(e){var n=e.getAttribute("style"),t=[];return n&&(t=n.split(";").reduce((function(e,n){var t=n.split(":"),r=t[0],i=t.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e}),{})),t}(e):[];return zd({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:Wh,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:c,attributes:s}},a)}var hp=em.styles;function mp(e){var n="nest"===Bh.autoReplaceSvg?dp(e,{styleParser:!1}):dp(e);return~n.extra.classes.indexOf(Sh)?Dm("generateLayersText",e,n):Dm("generateSvgReplacementMutation",e,n)}function pp(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!ch)return Promise.resolve();var t=oh.documentElement.classList,r=function(e){return t.add("".concat(wh,"-").concat(e))},i=function(e){return t.remove("".concat(wh,"-").concat(e))},o=Bh.autoFetchSvg?Object.keys(Ch):Object.keys(hp);o.includes("fa")||o.push("fa");var s=[".".concat(Sh,":not([").concat(hh,"])")].concat(o.map((function(e){return".".concat(e,":not([").concat(hh,"])")}))).join(", ");if(0===s.length)return Promise.resolve();var a=[];try{a=zh(e.querySelectorAll(s))}catch(e){}if(!(a.length>0))return Promise.resolve();r("pending"),i("complete");var c=Km.begin("onTree"),l=a.reduce((function(e,n){try{var t=mp(n);t&&e.push(t)}catch(e){bh||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,t){Promise.all(l).then((function(t){sp(t,(function(){r("active"),r("complete"),i("pending"),"function"==typeof n&&n(),c(),e()}))})).catch((function(e){c(),t(e)}))}))}function $p(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;mp(e).then((function(e){e&&sp([e],n)}))}var gp=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.transform,r=void 0===t?Wh:t,i=n.symbol,o=void 0!==i&&i,s=n.mask,a=void 0===s?null:s,c=n.maskId,l=void 0===c?null:c,u=n.title,f=void 0===u?null:u,d=n.titleId,h=void 0===d?null:d,m=n.classes,p=void 0===m?[]:m,$=n.attributes,g=void 0===$?{}:$,w=n.styles,v=void 0===w?{}:w;if(e){var y=e.prefix,b=e.iconName,C=e.icon;return Fm(zd({type:"icon"},e),(function(){return Pm("beforeDOMElementCreation",{iconDefinition:e,params:n}),Bh.autoA11y&&(f?g["aria-labelledby"]="".concat(Bh.replacementClass,"-title-").concat(h||Uh()):(g["aria-hidden"]="true",g.focusable="false")),Um({icons:{main:Hm(C),mask:a?Hm(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:y,iconName:b,transform:zd(zd({},Wh),r),symbol:o,title:f,maskId:l,titleId:h,extra:{attributes:g,styles:v,classes:p}})}))}},wp={mixout:function(){return{icon:(e=gp,function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(n||{}).icon?n:Rm(n||{}),i=t.mask;return i&&(i=(i||{}).icon?i:Rm(i||{})),e(r,zd(zd({},t),{},{mask:i}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=pp,e.nodeCallback=$p,e}}},provides:function(e){e.i2svg=function(e){var n=e.node,t=void 0===n?oh:n,r=e.callback;return pp(t,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,n){var t=n.iconName,r=n.title,i=n.titleId,o=n.prefix,s=n.transform,a=n.symbol,c=n.mask,l=n.maskId,u=n.extra;return new Promise((function(n,f){Promise.all([Zm(t,o),c.iconName?Zm(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(c){var f=Zd(c,2),d=f[0],h=f[1];n([e,Um({icons:{main:d,mask:h},prefix:o,iconName:t,transform:s,symbol:a,maskId:l,title:r,titleId:i,extra:u,watchable:!0})])})).catch(f)}))},e.generateAbstractIcon=function(e){var n,t=e.children,r=e.attributes,i=e.main,o=e.transform,s=Gh(e.styles);return s.length>0&&(r.style=s),Zh(o)&&(n=Dm("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),t.push(n||i.icon),{children:t,attributes:r}}}},vp={mixout:function(){return{layer:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.classes,r=void 0===t?[]:t;return Fm({type:"layer"},(function(){Pm("beforeDOMElementCreation",{assembler:e,params:n});var t=[];return e((function(e){Array.isArray(e)?e.map((function(e){t=t.concat(e.abstract)})):t=t.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(Bh.familyPrefix,"-layers")].concat(qd(r)).join(" ")},children:t}]}))}}}},yp={mixout:function(){return{counter:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.title,r=void 0===t?null:t,i=n.classes,o=void 0===i?[]:i,s=n.attributes,a=void 0===s?{}:s,c=n.styles,l=void 0===c?{}:c;return Fm({type:"counter",content:e},(function(){return Pm("beforeDOMElementCreation",{content:e,params:n}),function(e){var n=e.content,t=e.title,r=e.extra,i=zd(zd(zd({},r.attributes),t?{title:t}:{}),{},{class:r.classes.join(" ")}),o=Gh(r.styles);o.length>0&&(i.style=o);var s=[];return s.push({tag:"span",attributes:i,children:[n]}),t&&s.push({tag:"span",attributes:{class:"sr-only"},children:[t]}),s}({content:e.toString(),title:r,extra:{attributes:a,styles:l,classes:["".concat(Bh.familyPrefix,"-layers-counter")].concat(qd(o))}})}))}}}},bp={mixout:function(){return{text:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.transform,r=void 0===t?Wh:t,i=n.title,o=void 0===i?null:i,s=n.classes,a=void 0===s?[]:s,c=n.attributes,l=void 0===c?{}:c,u=n.styles,f=void 0===u?{}:u;return Fm({type:"text",content:e},(function(){return Pm("beforeDOMElementCreation",{content:e,params:n}),zm({content:e,transform:zd(zd({},Wh),r),title:o,extra:{attributes:l,styles:f,classes:["".concat(Bh.familyPrefix,"-layers-text")].concat(qd(a))}})}))}}},provides:function(e){e.generateLayersText=function(e,n){var t=n.title,r=n.transform,i=n.extra,o=null,s=null;if(lh){var a=parseInt(getComputedStyle(e).fontSize,10),c=e.getBoundingClientRect();o=c.width/a,s=c.height/a}return Bh.autoA11y&&!t&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,zm({content:e.innerHTML,width:o,height:s,transform:r,title:t,extra:i,watchable:!0})])}}},Cp=new RegExp('"',"ug"),_p=[1105920,1112319];function xp(e,n){var t="".concat(ph).concat(n.replace(":","-"));return new Promise((function(r,i){if(null!==e.getAttribute(t))return r();var o,s,a,c=zh(e.children).filter((function(e){return e.getAttribute(mh)===n}))[0],l=ih.getComputedStyle(e,n),u=l.getPropertyValue("font-family").match(Ah),f=l.getPropertyValue("font-weight"),d=l.getPropertyValue("content");if(c&&!u)return e.removeChild(c),r();if(u&&"none"!==d&&""!==d){var h=l.getPropertyValue("content"),m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?_h[u[2].toLowerCase()]:Eh[f],p=function(e){var n=e.replace(Cp,""),t=function(e,n){var t,r=e.length,i=e.charCodeAt(0);return i>=55296&&i<=56319&&r>1&&(t=e.charCodeAt(1))>=56320&&t<=57343?1024*(i-55296)+t-56320+65536:i}(n),r=t>=_p[0]&&t<=_p[1],i=2===n.length&&n[0]===n[1];return{value:sm(i?n[0]:n),isSecondary:r||i}}(h),$=p.value,g=p.isSecondary,w=u[0].startsWith("FontAwesome"),v=bm(m,$),y=v;if(w){var b=(s=$m[o=$],a=bm("fas",o),s||(a?{prefix:"fas",iconName:a}:null)||{prefix:null,iconName:null});b.iconName&&b.prefix&&(v=b.iconName,m=b.prefix)}if(!v||g||c&&c.getAttribute($h)===m&&c.getAttribute(gh)===y)r();else{e.setAttribute(t,y),c&&e.removeChild(c);var C={iconName:null,title:null,titleId:null,prefix:null,transform:Wh,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},_=C.extra;_.attributes[mh]=n,Zm(v,m).then((function(i){var o=Um(zd(zd({},C),{},{icons:{main:i,mask:km()},prefix:m,iconName:y,extra:_,watchable:!0})),s=oh.createElement("svg");"::before"===n?e.insertBefore(s,e.firstChild):e.appendChild(s),s.outerHTML=o.map((function(e){return rm(e)})).join("\n"),e.removeAttribute(t),r()})).catch(i)}}else r()}))}function kp(e){return Promise.all([xp(e,"::before"),xp(e,"::after")])}function Ip(e){return!(e.parentNode===document.head||~yh.indexOf(e.tagName.toUpperCase())||e.getAttribute(mh)||e.parentNode&&"svg"===e.parentNode.tagName)}function Sp(e){if(ch)return new Promise((function(n,t){var r=zh(e.querySelectorAll("*")).filter(Ip).map(kp),i=Km.begin("searchPseudoElements");cp(),Promise.all(r).then((function(){i(),lp(),n()})).catch((function(){i(),lp(),t()}))}))}var Ap=!1,Ep=function(e){return e.toLowerCase().split(" ").reduce((function(e,n){var t=n.toLowerCase().split("-"),r=t[0],i=t.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})},Op={mixout:function(){return{parse:{transform:function(e){return Ep(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,n){var t=n.getAttribute("data-fa-transform");return t&&(e.transform=Ep(t)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var n=e.main,t=e.transform,r=e.containerWidth,i=e.iconWidth,o={transform:"translate(".concat(r/2," 256)")},s="translate(".concat(32*t.x,", ").concat(32*t.y,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),c="rotate(".concat(t.rotate," 0 0)"),l={outer:o,inner:{transform:"".concat(s," ").concat(a," ").concat(c)},path:{transform:"translate(".concat(i/2*-1," -256)")}};return{tag:"g",attributes:zd({},l.outer),children:[{tag:"g",attributes:zd({},l.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:zd(zd({},n.icon.attributes),l.path)}]}]}}}},Tp={x:0,y:0,width:"100%",height:"100%"};function Np(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||n)&&(e.attributes.fill="black"),e}var Mp,Pp={hooks:function(){return{parseNodeAttributes:function(e,n){var t=n.getAttribute("data-fa-mask"),r=t?Sm(t.split(" ").map((function(e){return e.trim()}))):km();return r.prefix||(r.prefix=xm()),e.mask=r,e.maskId=n.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var n,t=e.children,r=e.attributes,i=e.main,o=e.mask,s=e.maskId,a=e.transform,c=i.width,l=i.icon,u=o.width,f=o.icon,d=function(e){var n=e.transform,t=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},i="translate(".concat(32*n.x,", ").concat(32*n.y,") "),o="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),s="rotate(".concat(n.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(i," ").concat(o," ").concat(s)},path:{transform:"translate(".concat(t/2*-1," -256)")}}}({transform:a,containerWidth:u,iconWidth:c}),h={tag:"rect",attributes:zd(zd({},Tp),{},{fill:"white"})},m=l.children?{children:l.children.map(Np)}:{},p={tag:"g",attributes:zd({},d.inner),children:[Np(zd({tag:l.tag,attributes:zd(zd({},l.attributes),d.path)},m))]},$={tag:"g",attributes:zd({},d.outer),children:[p]},g="mask-".concat(s||Uh()),w="clip-".concat(s||Uh()),v={tag:"mask",attributes:zd(zd({},Tp),{},{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,$]},y={tag:"defs",children:[{tag:"clipPath",attributes:{id:w},children:(n=f,"g"===n.tag?n.children:[n])},v]};return t.push(y,{tag:"rect",attributes:zd({fill:"currentColor","clip-path":"url(#".concat(w,")"),mask:"url(#".concat(g,")")},Tp)}),{children:t,attributes:r}}}},Dp={provides:function(e){var n=!1;ih.matchMedia&&(n=ih.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],t={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:zd(zd({},t),{},{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=zd(zd({},r),{},{attributeName:"opacity"}),o={tag:"circle",attributes:zd(zd({},t),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||o.children.push({tag:"animate",attributes:zd(zd({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:zd(zd({},i),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:zd(zd({},t),{},{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:n?[]:[{tag:"animate",attributes:zd(zd({},i),{},{values:"1;0;0;0;0;1;"})}]}),n||e.push({tag:"path",attributes:zd(zd({},t),{},{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:zd(zd({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},Rp=[Kh,wp,vp,yp,bp,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=Sp,e}}},provides:function(e){e.pseudoElements2svg=function(e){var n=e.node,t=void 0===n?oh:n;Bh.searchPseudoElements&&Sp(t)}}},{mixout:function(){return{dom:{unwatch:function(){cp(),Ap=!0}}}},hooks:function(){return{bootstrap:function(){fp(Mm("mutationObserverCallbacks",{}))},noAuto:function(){up&&up.disconnect()},watch:function(e){var n=e.observeMutationsRoot;Ap?lp():fp(Mm("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},Op,Pp,Dp,{hooks:function(){return{parseNodeAttributes:function(e,n){var t=n.getAttribute("data-fa-symbol"),r=null!==t&&(""===t||t);return e.symbol=r,e}}}}];Mp={mixoutsTo:jm}.mixoutsTo,Em=Rp,Om={},Object.keys(Tm).forEach((function(e){-1===Nm.indexOf(e)&&delete Tm[e]})),Em.forEach((function(e){var n=e.mixout?e.mixout():{};if(Object.keys(n).forEach((function(e){"function"==typeof n[e]&&(Mp[e]=n[e]),"object"===Vd(n[e])&&Object.keys(n[e]).forEach((function(t){Mp[e]||(Mp[e]={}),Mp[e][t]=n[e][t]}))})),e.hooks){var t=e.hooks();Object.keys(t).forEach((function(e){Om[e]||(Om[e]=[]),Om[e].push(t[e])}))}e.provides&&e.provides(Tm)}));var Bp=jm.parse,Lp=jm.icon,jp=t(556),Wp=t.n(jp);function Fp(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Up(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Fp(Object(t),!0).forEach((function(n){Vp(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Fp(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function zp(e){return zp="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},zp(e)}function Vp(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Hp(e){return function(e){if(Array.isArray(e))return Gp(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return Gp(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Gp(e,n):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 Gp(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function Zp(e){return n=e,(n-=0)==n?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,n){return n?n.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var n}var qp=["style"],Yp=!1;try{Yp=!0}catch(c){}function Jp(e){return e&&"object"===zp(e)&&e.prefix&&e.iconName&&e.icon?e:Bp.icon?Bp.icon(e):null===e?null:e&&"object"===zp(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 Xp(e,n){return Array.isArray(n)&&n.length>0||!Array.isArray(n)&&n?Vp({},e,n):{}}var Kp=Le.forwardRef((function(e,n){var t=e.icon,r=e.mask,i=e.symbol,o=e.className,s=e.title,a=e.titleId,c=e.maskId,l=Jp(t),u=Xp("classes",[].concat(Hp(function(e){var n,t=e.beat,r=e.fade,i=e.beatFade,o=e.bounce,s=e.shake,a=e.flash,c=e.spin,l=e.spinPulse,u=e.spinReverse,f=e.pulse,d=e.fixedWidth,h=e.inverse,m=e.border,p=e.listItem,$=e.flip,g=e.size,w=e.rotation,v=e.pull,y=(Vp(n={"fa-beat":t,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":o,"fa-shake":s,"fa-flash":a,"fa-spin":c,"fa-spin-reverse":u,"fa-spin-pulse":l,"fa-pulse":f,"fa-fw":d,"fa-inverse":h,"fa-border":m,"fa-li":p,"fa-flip":!0===$,"fa-flip-horizontal":"horizontal"===$||"both"===$,"fa-flip-vertical":"vertical"===$||"both"===$},"fa-".concat(g),null!=g),Vp(n,"fa-rotate-".concat(w),null!=w&&0!==w),Vp(n,"fa-pull-".concat(v),null!=v),Vp(n,"fa-swap-opacity",e.swapOpacity),n);return Object.keys(y).map((function(e){return y[e]?e:null})).filter((function(e){return e}))}(e)),Hp(o.split(" ")))),f=Xp("transform","string"==typeof e.transform?Bp.transform(e.transform):e.transform),d=Xp("mask",Jp(r)),h=Lp(l,Up(Up(Up(Up({},u),f),d),{},{symbol:i,title:s,titleId:a,maskId:c}));if(!h)return function(){var e;!Yp&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",l),null;var m=h.abstract,p={ref:n};return Object.keys(e).forEach((function(n){Kp.defaultProps.hasOwnProperty(n)||(p[n]=e[n])})),Qp(m[0],p)}));Kp.displayName="FontAwesomeIcon",Kp.propTypes={beat:Wp().bool,border:Wp().bool,beatFade:Wp().bool,bounce:Wp().bool,className:Wp().string,fade:Wp().bool,flash:Wp().bool,mask:Wp().oneOfType([Wp().object,Wp().array,Wp().string]),maskId:Wp().string,fixedWidth:Wp().bool,inverse:Wp().bool,flip:Wp().oneOf([!0,!1,"horizontal","vertical","both"]),icon:Wp().oneOfType([Wp().object,Wp().array,Wp().string]),listItem:Wp().bool,pull:Wp().oneOf(["right","left"]),pulse:Wp().bool,rotation:Wp().oneOf([0,90,180,270]),shake:Wp().bool,size:Wp().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Wp().bool,spinPulse:Wp().bool,spinReverse:Wp().bool,symbol:Wp().oneOfType([Wp().bool,Wp().string]),title:Wp().string,titleId:Wp().string,transform:Wp().oneOfType([Wp().string,Wp().object]),swapOpacity:Wp().bool},Kp.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 Qp=function e(n,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t)return t;var i=(t.children||[]).map((function(t){return e(n,t)})),o=Object.keys(t.attributes||{}).reduce((function(e,n){var r=t.attributes[n];switch(n){case"class":e.attrs.className=r,delete t.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,n){var t,r=n.indexOf(":"),i=Zp(n.slice(0,r)),o=n.slice(r+1).trim();return i.startsWith("webkit")?e[(t=i,t.charAt(0).toUpperCase()+t.slice(1))]=o:e[i]=o,e}),{});break;default:0===n.indexOf("aria-")||0===n.indexOf("data-")?e.attrs[n.toLowerCase()]=r:e.attrs[Zp(n)]=r}return e}),{attrs:{}}),s=r.style,a=void 0===s?{}:s,c=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t=o[r],n.indexOf(t)>=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t=o[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(r,qp);return o.attrs.style=Up(Up({},o.attrs.style),a),n.apply(void 0,[t.tag,Up(Up({},o.attrs),c)].concat(Hp(i)))}.bind(null,Le.createElement),e$={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"]},n$={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 t$(e,n){return d(Kp,e,...n)}const r$=t$({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"]}},[]),i$=t$({icon:n$,size:"5x"},[]),o$=t$({icon:e$,size:"5x"},[]);function s$(e){let n;const t=zo((r=e.inviteCode,[new sa(r,void 0,{Error:void 0,Input:"",IsDirty:!1,IsTouched:!1},!1,!1,new ia(0),Pt()),bo()]),Uu,[]);var r;const i=t[0],o=t[1];Bi(Ls((()=>zu(1e3,Fu(i.InviteToken))),(e=>{o(new oa(1,e))})));const s=Ls((()=>zu(500,Wu(i.InviteToken,i.MfaCodeForm.Input))),(e=>{o(new oa(2,e))}));Bi((()=>{Fd(0)}));const a=e=>{let n;return d("svg",dn(Gt([["className",vt(" ",Zt(Gt(["animate-spin","text-primary-base"]),e))],["fill","none"],["viewBox","0 0 24 24"],["xmlns","http://www.w3.org/2000/svg"],(n=Gt([d("circle",{className:vt(" ",["opacity-25"]),cx:12,cy:12,r:10,stroke:"currentColor",strokeWidth:4}),d("path",{className:vt(" ",["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",gi.Children.toArray(Array.from(n))])])))};return d("div",dn(Gt([["className",vt(" ",["h-screen","fade-in"])],(n=$r(fr((()=>wr(Cr((e=>d("style",{children:[e]})),i.CssOverrides),fr((()=>{let e,n,t;return mr(d("div",dn(Gt([["className",vt(" ",["h-full","flex","justify-center","items-center"])],(e=[d("div",dn(Gt([["className",vt(" ",["border","rounded-lg","shadow-md","sm:max-w-md","p-8","text-center"])],(n=[d("div",dn(Rt((t=$r(fr((()=>{let e,n,t,r,c;return wr((e=i.Ui,2===e.tag?mr(d("div",dn(Gt([["className",vt(" ",["fade-in"])],(n=[d("i",{className:vt(" ",["text-red-600"]),children:gi.Children.toArray([o$])}),d("h4",{className:vt(" ",["text-2xl","my-4","text-red-600"]),children:"This doesn't look right"}),d("p",{className:vt(" ",["mt-3","mb-5","text-gray-500"]),children:e.fields[0]})],["children",gi.Children.toArray(Array.from(n))])])))):1===e.tag?mr(d("form",dn(Gt([["className",vt(" ",["fade-in"])],["onSubmit",e=>{e.preventDefault(),s()}],(t=$r(fr((()=>wr(mr(d("i",{className:vt(" ",["text-primary-base"]),children:gi.Children.toArray([i$])})),fr((()=>wr(mr(d("h4",{className:vt(" ",["text-2xl","my-4"]),children:"Authenticate Your Account"})),fr((()=>{let e,n;return wr(mr(d("p",dn(Gt([["className",vt(" ",["mt-3","mb-5","text-gray-500"])],(e=["Protecting your account is our top priority. Check your email ",(n=En(i.MaskedEmail,""),d("strong",{children:[n]}))," for the code that we have just sent you."],["children",gi.Children.toArray(Array.from(e))])])))),fr((()=>{let e;return wr(mr(d("div",dn(Gt([["className",vt(" ",["mt-1","flex","rounded-md","shadow-sm"])],(e=[d("input",{"aria-describedby":vt(" ",["button-verify"]),"aria-label":"Authorization code",autoFocus:!0,className:vt(" ",["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 oa(3,e.target.value))},onBlur:e=>{o(new oa(4))}}),d("button",dn($r(fr((()=>wr(mr(["className",vt(" ",["-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"])]),fr((()=>wr(mr(["id","button-verify"]),fr((()=>wr(mr(["type","submit"]),fr((()=>wr(mr(["disabled",!(!i.MfaCodeForm.IsTouched||null==i.MfaCodeForm.Error)||i.IsValidationPending]),fr((()=>{let e,n;return i.IsValidationPending?mr((e=[d("div",dn(Gt([["className",vt(" ",["flex","justify-center","items-center"])],(n=[a(Gt(["h-5","w-5"]))],["children",gi.Children.toArray(Array.from(n))])])))],["children",gi.Children.toArray(Array.from(e))])):mr(["children","Verify"])})))))))))))))))))],["children",gi.Children.toArray(Array.from(e))])])))),fr((()=>{const e=[i.MfaCodeForm.IsDirty&&i.MfaCodeForm.IsTouched,i.MfaCodeForm.Error];let n;switch(n=e[0]&&null!=e[1]?0:1,n){case 0:{const n=e[1];return mr(d("div",{className:vt(" ",["mt-2","text-sm","text-red-600","text-left"]),children:n}))}case 1:return mr(null)}})))})))}))))))))),["children",gi.Children.toArray(Array.from(t))])])))):mr((r=Gt([d("div",dn(Gt([["className",vt(" ",["flex","justify-center","items-center"])],(c=[a(Gt(["h-10","w-10"]))],["children",gi.Children.toArray(Array.from(c))])]))),d("h4",{className:vt(" ",["text-2xl","my-4"]),children:"Verifying your invite"}),d("p",{className:vt(" ",["mt-3","mb-5","text-gray-500"]),children:"Hold tight. It won't be long."})]),d("div",{children:gi.Children.toArray(Array.from(r))})))),fr((()=>{let e,n,t;return mr(d("p",dn(Gt([["className",vt(" ",["mt-16","text-gray-400","text-right","text-xs"])],(e=[(n=`Flare HR Pty Ltd © 2015-${t=Gn(),Zn(t)}`,d("small",{children:[n]}))],["children",gi.Children.toArray(Array.from(e))])]))))})))}))),["children",gi.Children.toArray(Array.from(t))]))))],["children",gi.Children.toArray(Array.from(n))])])))],["children",gi.Children.toArray(Array.from(e))])]))))})))))),["children",gi.Children.toArray(Array.from(n))])])))}class a$ extends yn{constructor(e,n){super(),this.Email=e,this.Phone=n}}class c$ extends yn{constructor(e,n,t){super(),this.CompanyName=e,this.Logo=n,this.Support=t}}function l$(){return Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.InviteBrandingDto",[],c$,(()=>[["CompanyName",es(rs)],["Logo",es(rs)],["Support",es(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.SupportDto",[],a$,(()=>[["Email",es(rs)],["Phone",es(rs)]])))]]))}class u$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Default","InfoRequest","AppInvite"]}}function f$(){return Ko("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.InviteJourneyTypeDto",[],u$,(()=>[[["Item",h$()]],[["Item",h$()]],[["Item",h$()]]]))}class d$ extends yn{constructor(e){super(),this.Category=e}}function h$(){return Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.JourneyTypeDetailsDto",[],d$,(()=>[["Category",es(rs)]]))}class m$ extends yn{constructor(e){super(),this.MagicCode=e}}class p$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["PassThrough","MagicCodeExpired","MagicCodeNotRecognised","InviteExpired","WorkflowCompleted","WorkflowAbandoned","ProfileStateInvalidForWorkflowCompletion","InviteNotFound"]}}function $$(e){switch(e.tag){case 1:case 2:case 3:case 4:case 5:case 6:default:return e.fields[0].Branding;case 7:return}}function g$(e){switch(e.tag){case 1:case 2:case 3:case 4:case 5:case 6:default:return e.fields[0].JourneyType;case 7:return}}class w$ extends yn{constructor(e,n){super(),this.CssOverrides=e,this.Outcome=n}}class v$ extends yn{constructor(e,n){super(),this.MagicCode=e,this.IsChange=n}}class y$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["MagicCodeIssued","MagicCodeNotRecognised","MagicCodeIssuingThrottled","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class b$ extends yn{constructor(e){super(),this.Outcome=e}}class C$ extends yn{constructor(e,n){super(),this.MagicCode=e,this.IsResend=n}}class _$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["OneTimeCodeIssued","OneTimeCodeOptionNotAvailable","OneTimeCodeLocked","OneTimeCodeIssuingThrottled","MagicCodeNotRecognised","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class x$ extends yn{constructor(e){super(),this.Outcome=e}}class k$ extends yn{constructor(e){super(),this.OneTimeCode=0|e}}class I$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["OneTimeCodeMatched","OneTimeCodeFailed","OneTimeCodeExpired","OneTimeCodeNotCurrentlyIssued","OneTimeCodeAlreadyUsed","OneTimeCodeLocked","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class S$ extends yn{constructor(e){super(),this.Outcome=e}}class A$ extends yn{constructor(e,n){super(),this.MagicCode=e,this.IsPassThrough=n}}class E$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Progressed","MagicCodeNotRecognised","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class O$ extends yn{constructor(e){super(),this.Outcome=e}}class T$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class N$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Started","Finished"]}}class M$ extends yn{constructor(e,n){super(),this.InviteToken=e,this.MagicCode=n}}class P$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["OneTimeCodeLocked","NoAccess","UnrecognisedLink","WorkflowAbandoned","InviteExpired","SomethingWentWrong"]}}class D$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Loading","Welcome","CheckYourInbox","CodeEntry","AccessLinkExpired","WorkflowCompleted","Error"]}}class R$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["CheckYourInbox","CodeEntry","Onboarding"]}}class B$ extends yn{constructor(e,n,t,r){super(),this.CssOverrides=e,this.Page=n,this.Branding=t,this.JourneyType=r}}class L$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["NavigatePage","ValidateMagicLink","ReissueMagicLink","IssueOneTimeCode","ValidateOneTimeCode","ProgressFromWelcome","NavigateToAuthCodeExchange"]}}class j${constructor(e){this.magicLink=e,this.backendUrl=`${ya}/workflows/public-backend/invites/${this.magicLink.InviteToken}`}}function W$(e,n){return no.Delay((()=>{let e;const t=pl(n);return e=no.Bind(t,(e=>no.Return(new to(0,e)))),no.Bind(e,(e=>{const t=e;if(1===t.tag)return no.Return(new to(1,t.fields[0]));{const e=t.fields[0];if(429===e.statusCode||e.statusCode>=500){let e;const t=mo(2e3);return e=no.Bind(t,(()=>no.Return(new to(0,x$0027_1)))),no.Bind(e,(e=>{const t=e;if(1===t.tag)return no.Return(new to(1,t.fields[0]));{const e=pl(n);return no.Bind(e,(e=>no.Return(new to(0,e))))}}))}return no.Return(new to(0,e))}}))}))}class F$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["AuthCode"]}}function U$(e){return new F$(0,e)}class z$ extends yn{constructor(e,n,t,r,i,o){super(),this.id_token=e,this.access_token=n,this.expires_in=t,this.refresh_token=r,this.scope=i,this.token_type=o}}function V$(){return Jo("Workflows.UI.Auth.Types.Credentials",[],z$,(()=>[["id_token",rs],["access_token",rs],["expires_in",ss],["refresh_token",es(rs)],["scope",rs],["token_type",rs]]))}class H$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["SignIn","SignInWithCurrentAuth","NavigateToOnboarding"]}}function G$(){return[new B$(Pt(),new D$(0),void 0,new u$(0,new d$(void 0))),ko(new L$(1,new N$(0)))]}function Z$(e,n,t,r,i){let o,s,a,c;const l=function(e){return new j$(e)}(e);if(1===r.tag){if(1===r.fields[0].tag){if(1===r.fields[0].fields[0].tag)return[i,ko(new L$(0,new D$(6,new P$(5))))];{let e;const n=r.fields[0].fields[0].fields[0].Outcome;switch(n.tag){case 1:{const t=n.fields[0],r=[t.IsInitialMagicLinkUsed,t.OneTimeCodeOptionAvailable];e=r[0]?r[1]?new L$(0,new D$(1,t.FirstName,new R$(1))):new L$(0,new D$(1,t.FirstName,new R$(0))):r[1]?new L$(3,!1,new N$(0)):new L$(0,new D$(4));break}case 4:e=new L$(0,new D$(5));break;case 2:case 7:e=new L$(0,new D$(6,new P$(2)));break;case 3:e=new L$(0,new D$(6,new P$(4)));break;case 5:e=new L$(0,new D$(6,new P$(3)));break;case 6:e=new L$(0,new D$(6,new P$(1)));break;default:{const r=n.fields[0];r.IsInitialMagicLinkUsed?(t(U$(r.AuthCode)),e=new L$(0,new D$(1,r.FirstName,new R$(2)))):e=new L$(6,r.AuthCode)}}return[new B$(r.fields[0].fields[0].fields[0].CssOverrides,i.Page,$$(r.fields[0].fields[0].fields[0].Outcome),En(g$(r.fields[0].fields[0].fields[0].Outcome),i.JourneyType)),ko(e)]}}return[i,Io((e=>{Ao(e)}),(()=>function(e){return no.Delay((()=>{let n,t;const r=W$(0,(n=dl(new bc(1),fl(`${e.backendUrl}/magic-link/validate`)),ml(new _c(1,(t=new m$(e.magicLink.MagicCode),Du(0,Lu(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeRequestDto",[],m$,(()=>[["MagicCode",rs]])),new gl(1),void 0,void 0)(t)))),n)));return no.Bind(r,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{let e;const t=n.fields[0];return e=200===t.statusCode?cu(mn(2,Su(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeResponseDto",[],w$,(()=>[["CssOverrides",ns(rs)],["Outcome",Ko("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeOutcomeDto",[],p$,(()=>[[["Item",Xo(["AuthCode",rs],["Branding",es(l$())],["FirstName",rs],["IsInitialMagicLinkUsed",is],["JourneyType",f$()])]],[["Item",Xo(["Branding",es(l$())],["FirstName",rs],["IsInitialMagicLinkUsed",is],["JourneyType",f$()],["OneTimeCodeOptionAvailable",is])]],[["Item",Xo(["Branding",es(l$())],["JourneyType",f$()])]],[["Item",Xo(["Branding",es(l$())],["JourneyType",f$()])]],[["Item",Xo(["Branding",es(l$())],["JourneyType",f$()])]],[["Item",Xo(["Branding",es(l$())],["JourneyType",f$()])]],[["Item",Xo(["Branding",es(l$())],["JourneyType",f$()])]],[]]))]])),new gl(1),void 0)),t.responseText):new to(1,"Unexpected response from backend"),no.Return(e)}}))}))}(l)),void 0,(e=>new L$(1,new N$(1,e))),(e=>new L$(1,new N$(1,new to(1,e.message)))))]}return 2===r.tag?1===r.fields[1].tag?1===r.fields[1].fields[0].tag?[i,ko(new L$(0,new D$(6,new P$(5))))]:[i,ko(new L$(0,(o=r.fields[1].fields[0].fields[0].Outcome,2===o.tag?new D$(2,o.fields[0].MaskedEmail):1===o.tag||5===o.tag?new D$(6,new P$(2)):3===o.tag?new D$(6,new P$(4)):4===o.tag?new D$(6,new P$(1)):6===o.tag?new D$(5):7===o.tag?new D$(6,new P$(3)):new D$(2,o.fields[0].MaskedEmail))))]:[i,Io((e=>{Ao(e)}),(e=>function(e,n){return no.Delay((()=>{let t,r;const i=W$(0,(t=dl(new bc(1),fl(`${e.backendUrl}/magic-link/reissue`)),ml(new _c(1,(r=new v$(e.magicLink.MagicCode,n),Du(0,Lu(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeRequestDto",[],v$,(()=>[["MagicCode",rs],["IsChange",is]])),new gl(1),void 0,void 0)(r)))),t)));return no.Bind(i,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{let e;const t=n.fields[0];return e=200===t.statusCode?cu(mn(2,Su(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeResponseDto",[],b$,(()=>[["Outcome",Ko("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeOutcomeDto",[],y$,(()=>[[["Item",Xo(["MaskedEmail",rs])]],[],[["Item",Xo(["MaskedEmail",rs])]],[],[],[],[],[]]))]])),new gl(1),void 0)),t.responseText):new to(1,"Unexpected response from backend"),no.Return(e)}}))}))}(l,e)),r.fields[0],(e=>new L$(2,r.fields[0],new N$(1,e))),(e=>new L$(2,r.fields[0],new N$(1,new to(1,e.message)))))]:3===r.tag?1===r.fields[1].tag?1===r.fields[1].fields[0].tag?[i,ko(new L$(0,new D$(6,new P$(5))))]:[i,ko(new L$(0,(s=r.fields[1].fields[0].fields[0].Outcome,1===s.tag?new D$(4):2===s.tag?new D$(6,new P$(0)):3===s.tag?r.fields[0]?i.Page:new D$(3,s.fields[0].MaskedPhone):4===s.tag||7===s.tag?new D$(6,new P$(2)):5===s.tag?new D$(6,new P$(4)):6===s.tag?new D$(6,new P$(1)):8===s.tag?new D$(5):9===s.tag?new D$(6,new P$(3)):r.fields[0]?i.Page:new D$(3,s.fields[0].MaskedPhone))))]:[i,Io((e=>{Ao(e)}),(e=>function(e,n){return no.Delay((()=>{let t,r;const i=W$(0,(t=dl(new bc(1),fl(`${e.backendUrl}/one-time-code/issue`)),ml(new _c(1,(r=new C$(e.magicLink.MagicCode,n),Du(0,Lu(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeRequestDto",[],C$,(()=>[["MagicCode",rs],["IsResend",is]])),new gl(1),void 0,void 0)(r)))),t)));return no.Bind(i,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{let e;const t=n.fields[0];return e=200===t.statusCode?cu(mn(2,Su(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeResponseDto",[],x$,(()=>[["Outcome",Ko("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeOutcomeDto",[],_$,(()=>[[["Item",Xo(["MaskedPhone",rs])]],[],[],[["Item",Xo(["MaskedPhone",rs])]],[],[],[],[],[],[]]))]])),new gl(1),void 0)),t.responseText):new to(1,"Unexpected response from backend"),no.Return(e)}}))}))}(l,e)),r.fields[0],(e=>new L$(3,r.fields[0],new N$(1,e))),(e=>new L$(3,r.fields[0],new N$(1,new to(1,e.message)))))]:4===r.tag?1===r.fields[2].tag?1===r.fields[2].fields[0].tag?[i,ko(new L$(0,new D$(6,new P$(5))))]:[i,(a=r.fields[2].fields[0].fields[0].Outcome,1===a.tag?a.fields[0].RemainingAttempts>0?(r.fields[1]({AttemptsRemaining:a.fields[0].RemainingAttempts}),bo()):ko(new L$(0,new D$(6,new P$(0)))):5===a.tag?ko(new L$(0,new D$(6,new P$(0)))):2===a.tag||3===a.tag||4===a.tag?(r.fields[1]({AttemptsRemaining:void 0}),bo()):6===a.tag?ko(new L$(0,new D$(6,new P$(4)))):7===a.tag?ko(new L$(0,new D$(6,new P$(1)))):8===a.tag?ko(new L$(0,new D$(6,new P$(2)))):9===a.tag?ko(new L$(0,new D$(5))):10===a.tag?ko(new L$(0,new D$(6,new P$(0)))):ko(new L$(6,a.fields[0].AuthCode)))]:[i,Io((e=>{Ao(e)}),(e=>function(e,n){return no.Delay((()=>{let t,r;const i=W$(0,(t=dl(new bc(1),fl(`${e.backendUrl}/one-time-code/validate`)),ml(new _c(1,(r=new k$(n),Du(0,Lu(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeRequestDto",[],k$,(()=>[["OneTimeCode",os]])),new gl(1),void 0,void 0)(r)))),t)));return no.Bind(i,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{let e;const t=n.fields[0];return e=200===t.statusCode?cu(mn(2,Su(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeResponseDto",[],S$,(()=>[["Outcome",Ko("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeOutcomeDto",[],I$,(()=>[[["Item",Xo(["AuthCode",rs])]],[["Item",Xo(["RemainingAttempts",os])]],[],[],[],[],[],[],[],[],[]]))]])),new gl(1),void 0)),t.responseText):new to(1,"Unexpected response from backend"),no.Return(e)}}))}))}(l,e)),r.fields[0],(e=>new L$(4,r.fields[0],r.fields[1],new N$(1,e))),(e=>new L$(4,r.fields[0],r.fields[1],new N$(1,new to(1,e.message)))))]:5===r.tag?1===r.fields[1].tag?1===r.fields[1].fields[0].tag?[i,ko(new L$(0,new D$(6,new P$(5))))]:[i,ko((c=r.fields[1].fields[0].fields[0].Outcome,1===c.tag||4===c.tag?new L$(0,new D$(6,new P$(2))):2===c.tag?new L$(0,new D$(6,new P$(4))):3===c.tag?new L$(0,new D$(6,new P$(1))):5===c.tag?new L$(0,new D$(5)):6===c.tag?new L$(0,new D$(6,new P$(0))):1===r.fields[0].tag?new L$(3,!1,new N$(0)):2===r.fields[0].tag?new L$(6,void 0):new L$(2,!1,new N$(0))))]:[i,Io((e=>{Ao(e)}),(e=>function(e,n){return no.Delay((()=>{let t,r;const i=W$(0,(t=dl(new bc(1),fl(`${e.backendUrl}/progress`)),ml(new _c(1,(r=new A$(e.magicLink.MagicCode,n),Du(0,Lu(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressRequestDto",[],A$,(()=>[["MagicCode",rs],["IsPassThrough",is]])),new gl(1),void 0,void 0)(r)))),t)));return no.Bind(i,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{let e;const t=n.fields[0];return e=200===t.statusCode?cu(mn(2,Su(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressResponseDto",[],O$,(()=>[["Outcome",Ko("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressOutcomeDto",[],E$,(()=>[[],[],[],[],[],[],[]]))]])),new gl(1),void 0)),t.responseText):new to(1,"Unexpected response from backend"),no.Return(e)}}))}))}(l,e)),1!==r.fields[0].tag&&2===r.fields[0].tag,(e=>new L$(5,r.fields[0],new N$(1,e))),(e=>new L$(5,r.fields[0],new N$(1,new to(1,e.message)))))]:6===r.tag?(n(On(U$,r.fields[0])),[i,bo()]):[new B$(i.CssOverrides,r.fields[0],i.Branding,i.JourneyType),bo()]}const q$=function(){const e=[..."#C$&$&$$$$$$%-%&%=$$$$$$=$$$$D$$'$$$$$$$$$$$$%$$%$$$$&$:$*;$+$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$&%$$$%$&%'$%$&&%$%$$$$$%$$%$$%$&$$$%%$$&'$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$%$$$$$&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*%$%%$$'$$$$$$$$h$>5'/1(*$$$4$$$$$$$$%$&$$'%$$&$$$%$4$,F$%&&$$$$$$$$$$$$$$$$$$$$$$$($$$$$%%VS$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$(%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$I%$)L$$%%$$P$$$%$%$$+>''%.)&%$%%.$$$%C$-8-'%$$$*$$)%%$'%-&%$1$$$$A>%|.$1-D,%$&$%$%9'$,$&$(%2$<&%$$.X8$5.2$C$Y$$$$&+'$%$*-%%-$$2$%$+%%%9$*$$&'%$$&'%%%%$$+$'%$&%%-%%)$$$$$%%$$)'%%9$*$%$%$%%$$&%'%%&&$*'$$*-%&$$-%$$,$&$9$*$%$(%$$&($%$$%$%$2%%%-$$*$)$$%$+%%%9$*$%$(%$$$$$'%%%%$*%$'%$&%%-$$)-$$$)&&$'&%$$$%&%&&&/'%$%&&$&$%$)$1-&)$$($&$+$&$:$3&$&'$&$'*%$&(%%%-*$*$$$%$+$&$:$-$(%$$$$($$%$%%*%*$$%%%-$%0%%,$&$L%$&'$&$&$$$'&$*&%%-,$)$$%$5&;$,$$%*&$'&&$$$+)-%%$/S$%*'$)$+$-%H%$$$($;$$$-$%,$%($$$)%-%'C$&2$$&%)--$$$$$$$$$$%+$G'1$($%(.$G$+$)$%('%HN%'$)$%%%$-))%%'&$&%*&'0$%%)$$$-&$%I$$($%N$$&Ŭ$'%*$$$'%L$'%D$'%*$$$'%2$\\$'%f%&,7&3-)y%)%$ʏ$$4$=$$&n&&+*0$'&.5&%,5%/0$&$%/W%$*+$%.&$&$$$%-)-))$'&$$-)F$X*(%E$$(i-B$&'%&'%$)&'$&%-A%(.O'=)-$&E:%%$%%X$$$*$$$$%+)-%$-)-)*$)%1$%b'$R$$($$($%*'-*-,,&%$A$'%%$&%-O$$%&$$&%+'G++%%&(-&&-A)%,*N%&++&$0$*'$)$%$%$(Ob0$EH]$($$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$,$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$,+)%)%++++)%)%+$$$$$$$$++1%++++++($%'$$$&&$%'$&'%%'$&+(&%&$%'$%$.()%$$$%$$$+$$($,$$'%&$$$.$$$-$($-$$%)&$$$-&$$$0&C30'$&/2%$'$%$&%&$$$%$()$$$$$$'$$'$'$%%%($'$$%$$3F$$'$%'((%'$%$%$*$B%%$$$Bį+$$$$7%*$$t$A<K)h<.8_q9Ú$,$Y+$ě$$$$$$$$$$$$$$AO($$B$$$$$$$$$$3ģ¦$$$$$$$$$$$$$$$$$$$$$$b$$$$C$$ĥS8%)J%C$R$R$$$&%$$$$$$'$$%$)%&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%)$$$$&$$('$%I$$($%[*$$1$:,*$*$*$*$*$*$*$*$C%$$$$&$$$$$,$%$$$$%$$$$$$$$$$($-%'$$$0%$P=$|/ù=/'$&$$$$$$$$$$$$$$%$$$$$$$$$$%$,'%$(%&$$$%$y%%%%$$}$&$(N$$%'-CG/3B$-A+$2C-J2ţ᧣c删&8$Қ&Z,K)%į$&3-%7$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$&$-$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%%i-%)+:,%$$$$$$$$$$$$$&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$+$$$$%$$$$$$$$$$%$$$$$$$$&$$$$$$$$$$$$$$$$$$$$($($$$$$$$$$$$%$$'$$$M$$$%$*$&$'$:%%$'$&)%$$)W'+%U3%+%-)5)&$$%$-?+%:.%.$@&&$R$%'%%&0$$-'%($$,-($L)%%%%,&$+$$%-%'3$)&$$$$U$$&%%(%$$$;%$%.$%%%$%$$-)%)%),*$*$N$',$%'sF%$%$%$$$%-)⯇/:'T'ࠣᤣƑ%I*/(($$-$0$($$$%$%$34Ǝ$$3c%YK/$$%3*$$$)3$%%$$$$$$$$$$$$$$$$%$$'&&$'$$$$$$$&$$&$$$%'($ª%$$&$&$$$$$$%-%&%=$$$$$$=$$$$$$$$$%-$P%B&)%)%)%&&%$$$%$$'%-&%%/$=$6$%$2%1E(&'P&,X'4%&$0&$RP$¥@&T2$>'C',7$+$(I((A$$G'+$(MKKq%-)G'G'K+W.$³Ś,9-+»)%$$O$%&$%:$$+:%*B+,S6$%((9)&$=($c['%%3%Q$&$%(''$&$@%&'$,*,*@%$@&C+$?%'(*,Y&*9%+6(+5*'/*slZV0V*)G'+-ʼnB$M$%$%%q@-$+9.'(y8*7:,$$$X2*'7-2&$P&'%%%$'.$%<*-)&G($+$-'$%$+F$%$,%$S&,%'''$$$-$$$&$7.5$<&&%$$%)$d*$$$'$2$-$)R$&+(-)%%$+%%%9$*$%$($%$%$'%%%&%$)$((%%*&(®X&+%&$$'(-%$$$&AS&)$$'%$%%$$+-ÉR&'%'%$%:'%ES&+%$$%&$.-)06N$$$%)$$$*-Y>%&%'$('-%&$ãO&,$%$CC-,/+%$%+$%$;)$%%%$$$$$$$&,-i+%J&'%%'$$$$$>$-K)$$'+$+$)%&Q0$%&$(@\\Ī,$H$*$)$$$(--6&%A%9$$*$%$%l*$%$I)&$$%$*$$+-))$%$C($%$%$$$$*-ř6%%%Ú$28+'40$ν$(.çђ$,ɪ⇜ɜ*B$-'%A%($-S*(''$$--$*$8(6˓CC:'n'$$Z*'0c%$$$.%1+ӹM,⌚łT&4'+Ưध(0&,*-%$%$'ę-J%_%&&)++%*A'^:e&$½7/z,<ª===*$5==$$%%$%%%'$+'$$$*$.==%$'%+$*$=%$'$($$&*$============?%<$<$)<$<$)<$<$)<$<$)<$<$)$$%UȣZ'U+$1$%(2($2ճ*$4%*$%$(øP&**%-'$$ƓO'-($ԣè%,*LEE*$'-'%̴^$&$'oP$2å'$>$%$$%$$-$'$$$$)$'$$$$$$&$%$$%$$$$$$$$$$%$$%'$*$'$'$$$-$4(&$($4W%ıO'/2%2$2$H-0Ä[@0O',*%1)½Ğ(˻+0&0&/|*/7/'[+-)K+A%%q$u$ª/1%(&&(*,<**,&0*L¶$ZH-Щ꜁Eၘ.ā%ᚥ1ᵔూɁ፮$A£ē︳𐀡%𐀡"].map((e=>{var n;return(null!==(n=e.codePointAt(0))&&void 0!==n?n:0)-35})),n=[..."1.;=;78;<;6;+;<;#7;8>5>$7<8<1.;=?;>?'9<2?>?<->$;>-':-;#<#$<$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'#$'#%$#%$#%$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#%$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'$&>&>&>&>&>(#$#$&>#$@&$;#@>#;#@#@#$#@#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$<#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$?(*#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#@&;$;6@?=@(6(;(;(;(@'@';@2<;=;?(;2@;'&'(+;'(';'(2?(&(?('+'?';@2'('(@'('@+'(&?;&@(='(&(&(&(@;@'(@;@'@'@'@(2()'()(')()()'('(;+;&'()@'@'@'@'@'@'@(')(@)@)('@)@'@'(@+'=-?=';(@()@'@'@'@'@'@'@'@(@)(@(@(@(@'@'@+('(;@()@'@'@'@'@'@'@(')(@()@)(@'@'(@+;=@'(@()@'@'@'@'@'@'@(')()(@)@)(@()@'@'(@+?'-@('@'@'@'@'@'@'@'@'@'@)()@)@)(@'@)@+-?=?@()('@'@'@'@'()@(@(@(@'@'(@+@;-?'();'@'@'@'@'@(')()@()@)(@)@'@'(@+@'@()'@'@'(')(@)@)('?@')-'(@+-?'@()@'@'@'@'@'@(@)(@(@)@+@);@'('(@='&(;+;@'@'@'@'@'@'('('@'@&@(@+@'@'?;?;?(?+-?(?(?(7878)'@'@()(;('(@(@?(?@?;?;@')()()()('+;')('(')')'('()()(')+)(?#@#@#@$;&$'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@(;-@'?@#@$@6'?;'.'78@';,'@'@'(@'(;@'(@'@'@(@'()()()(;&;='(@+@-@;6;(2@+@'&'@'('('@'@'@()()@)()(@?@;+'@'@'@'@+-@?'()(@;')()(@()()()(@(+@+@;&;@(*(@()'()()()()'@+;?(?@()')()()('+'()()()()@;')()(@;+@'+'&;$@#@#;@(;()('('(')('@$&$&$&(@(#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#@$#$#$@#@$@#@#@#@#$#$@$%$%$%$@$#%>$>$@$#%>$@$#@>$#>@$@$#%>@.26;9:79:79;/02.;9:;5;<78;<;5;.2@2-&@-<78&-<78@&@=@(*(*(@?#?#?$#$#$?#?<#?#?#?#?#?$#$'$?$#<#$?<?$?-,#$,-?@<?<?<?<?<?<?<?<?<?<?7878?<?78?<?<?<?@?@-?-?<?<?<?<?78787878787878-?<78<7878787878<?<7878787878787878787878<7878<78<?<?<?@?@?#@$@#$#$#$#$#$#$#$#$&#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$?#$#$(#$@;-;$@$@$@'@&;@('@'@'@'@'@'@'@'@'@(;9:9:;9:;9:;6;6;9:;9:78787878;&;6;6;7;?;@?@?@?@?@.;?&',7878787878?78787878678?,()6&?,&';?@'@(>&'6';&'@'@'@?-?'?@'?@-?-?-?-?-?'?'@'&'@?@'&;'&;'+'@#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'(*;(;&#$#$#$#$#$#$#$#$#$#$#$#$#$#$&(',(;@>&>#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$&$#$#$#$#$#$#$#$&>#$#$'#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#$#$#$@#$'&$'('('(')()?(@-?=?@';@)')(@;+@(';';'(+'(;'()@;'@()'()()();@&+@;'(&'+'@'()()(@'('()@+@;'&'?')()'('('('('('@'&;')();'&)(@'@'@'@'@'@$>&$&>@$')()();)(@+@'@'@'@34'@'@$@$@'('<'@'@'@'@'@'>@'87@'@'@'=?@(;78;@(;657878787878787878;78;5;@;6787878;<6<@;=;@'@'@2@;=;78;<;6;+;<;#7;8>5>$7<8<78;78;'&'&'@'@'@'@'@=<>?=@?<?@2?@'@'@'@'@'@'@'@;@-@?,-?-?@?@?@?(@'@'@(-@'-@',',@'(@'@;'@';,@#$'@+@#@$@'@'@;@'@'@'@'@'@'@'@'@'@;-'?-'@-@'@'@-'-@;'@;@'@-'-@-'(@(@('@'@'@(@(-@;@'-;'-@'?'(@-;@'@;'@-'@-'@;@-@'@#@$@-'(@+@-@'@(6@'@'-'@'(-;@'-@'@)()'(;@-+@()')()(;2;@2@'@+@('()(@+;')'@'(;'@()')()';(;)(+';';@-@'@')()()(;(@'@'@'@'@';@'()(@+@()@'@'@'@'@'@'@(')()@)@)@'@)@')@(@(@')()()(';+;@;('@')()()()(';'@+@')(@)()(;'(@')()()(;'@+@;@'()()()('@+@'@()()(@+-;?@')()(;@#$+-@'@'@'@'@')@)@()(')')(;@+@'@')(@()(';')@'('()'(;(@'()('()(;';@'@'@')(@()(';@+-@;'@(@)()()(@'@'@'(@(@(@('(@+@'@'@')@(@)()('@+@'();@'@-?=?@;'@,@;@'@'@2@'@'@'@+@;@'@(;@'(;?&;?@+@-@'@'@#$-;@'@(')@(&@&;&(@)@'@'@'@'@'@'@'@'@'@'@'@?(;2@?@?@?)(?)2(?(?(?@?(?@-@?@-@#$#$@$#$#@#@#@#@#@#$@$@$@$#$#@#@#@#@$#@#@#@#@#@$#$#$#$#$#$#$@#<$<$#<$<$#<$<$#<$<$#<$<$#$@+?(?(?(?(?;@(@(@(@(@(@(@(@'@(&@+@'?@'(+@=@'@-(@#$(&@+@;@-?-=-@-?-@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@<@?@?@?@?@?@?@-?@?@?@?@?@?@?>?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@+@'@'@'@'@'@'@'@2@2@(@4@4@"].map((e=>{var n;return(null!==(n=e.codePointAt(0))&&void 0!==n?n:0)-35})),t=new Uint32Array(e),r=new Uint8Array(n);for(let e=1;e<t.length;++e)t[e]+=t[e-1];return e=>{let n=t.length,i=0;for(;n-i>1;){const r=Math.floor((n+i)/2),o=t[r];if(e<o)n=r;else{if(e===o){n=i=r;break}o<e&&(i=r)}}return r[i]}}();const Y$=e=>function(e,n){const t=1<<function(e,n){const t=function(e,n){if(n>=0&&n<e.length)return e.charCodeAt(n);throw new Error("Index out of range.")}(e,n);return q$(t)}(e,0);return 0!=(256&t)}(e);class J$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ResendTimerTick","SignIn","IncorrectOneTimeCodeCallback","SetCodeInvalid","SetCodeInputValue","SetReissueLinkInProgress"]}}class X$ extends yn{constructor(e,n,t,r,i,o){super(),this.AttemptsRemaining=e,this.CodeInvalid=n,this.CodeInputValue=t,this.ResendTimer=r,this.SignInInProgress=i,this.ReissueLinkInProgress=o}}function K$(){return[new X$(void 0,!1,"",void 0,!1,!1),bo()]}function Q$(e){"one-time-code-input"===e.target.id||"Enter"!==e.key&&document.getElementById("one-time-code-input").focus()}const eg={Dispose(){document.removeEventListener("keypress",(e=>{Q$(e)})),document.removeEventListener("paste",(e=>{Q$(e)}))}};function ng(e){const n=e.reissueLink,t=e.reissueOneTimeCode,r=e.validateOneTimeCode,i=e.maskedPhone,o=Uo(K$,((e,n)=>function(e,n,t){let r;switch(n.tag){case 1:{const r=_t(Y$,t.CodeInputValue);return 6===r.length?(e([El(r,511,!1,32),n.fields[0]]),[new X$(t.AttemptsRemaining,t.CodeInvalid,t.CodeInputValue,t.ResendTimer,!0,t.ReissueLinkInProgress),bo()]):[t,ko(new J$(3,!0))]}case 2:return[new X$(n.fields[0],t.CodeInvalid,t.CodeInputValue,t.ResendTimer,t.SignInInProgress,t.ReissueLinkInProgress),ko(new J$(3,!0))];case 3:{const e=n.fields[0];return[new X$(t.AttemptsRemaining,e,e?"":t.CodeInputValue,t.ResendTimer,!1,t.ReissueLinkInProgress),bo()]}case 4:return[new X$(t.AttemptsRemaining,t.CodeInvalid,n.fields[0],t.ResendTimer,t.SignInInProgress,t.ReissueLinkInProgress),bo()];case 5:return[new X$(t.AttemptsRemaining,t.CodeInvalid,t.CodeInputValue,t.ResendTimer,t.SignInInProgress,!0),bo()];default:{const e=So((e=>{Ao(e)}),(()=>no.Delay((()=>no.Bind(mo(1e3),(()=>no.Return()))))),void 0,(()=>new J$(0)));let n;const i=t.ResendTimer;return n=null!=i?i>0?(r=0|i,[r-1,e]):[void 0,bo()]:[20,e],[new X$(t.AttemptsRemaining,t.CodeInvalid,t.CodeInputValue,n[0],t.SignInInProgress,t.ReissueLinkInProgress),n[1]]}}}(r,e,n))),s=o[0],a=o[1];Ri((()=>(document.addEventListener("keypress",(e=>{Q$(e)})),document.addEventListener("paste",(e=>{Q$(e)})),eg)),new Array(0));const c=()=>{a(new J$(1,(e=>{a(new J$(2,e.AttemptsRemaining))})))},l=$r(fr((()=>wr(mr(function(e){const n=Ar(di([]),1);return d(Wr,n)}()),fr((()=>wr(mr(Si("Enter your security code")),fr((()=>{let e,r;return wr(mr(d("div",dn(Gt([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-7 sm:leading-8 space-y-1 sm:space-y-2"],(e=[(r=Gt([d("span",{children:["We’ve sent a security code to your mobile number ending in •••"]}),d("span",{className:"font-semibold",children:_t(Y$,i)}),d("span",{children:["."]})]),d("p",{children:gi.Children.toArray(Array.from(r))})),d("p",{children:["Enter your code to sign in."]})],["children",gi.Children.toArray(Array.from(e))])])))),fr((()=>{let e;return wr(mr(d("div",dn(Gt([["className","mt-8 flex relative"],(e=$r(fr((()=>{let e;return wr(mr(d("input",dn(Gt([["className","absolute w-full h-full peer z-10 opacity-0"],["id","one-time-code-input"],["type","text"],["autoComplete","one-time-code"],["maxLength",6],["onClick",e=>{const n=e.target;n.selectionStart=0|s.CodeInputValue.length,n.selectionEnd=0|s.CodeInputValue.length,a(new J$(3,!1))}],["onChange",e=>{const n=_t(Y$,e.target.value);a(new J$(4,n)),6===n.length&&c()}],(e=s.CodeInputValue,["ref",n=>{null==n||sn(n.value,e)||(n.value=e)}])])))),fr((()=>kr((e=>{const n=On((e=>e),Ln(e,s.CodeInputValue.split(""))),t=On((e=>e),Ln(e-1,s.CodeInputValue.split("")));return mr(d("div",{key:e,className:vt(" ",$r(fr((()=>wr(mr("flex justify-center items-center text-xl w-10 h-12 rounded-md ring-inset ring-1 transition ease-in"),fr((()=>wr(s.CodeInvalid?mr("ring-red-600"):mr("ring-gray-400"),fr((()=>wr(mr(2===e?"mr-4":5===e?"":"mr-2"),fr((()=>null!=n||null!=t||0===e?mr("peer-focus:ring-2 peer-focus:ring-primary-base"):hr()))))))))))))),children:En(n,"")}))}),Oo(0,1,5)))))}))),["children",gi.Children.toArray(Array.from(e))])])))),fr((()=>{let e;return wr(s.CodeInvalid?mr(d("p",dn(Gt([["className","w-[288px] text-red-600 mt-2 leading-5"],(e=$r(fr((()=>wr(mr("The code you entered is invalid"),fr((()=>{let e,n;return wr((e=s.AttemptsRemaining,null==e?mr(null):(n=0|e,mr(`, you have ${n} attempts remaining`))),fr((()=>wr(mr("."),fr((()=>null==s.AttemptsRemaining?mr(" Try again or click on the link below to resend the code."):mr(null)))))))})))))),["children",gi.Children.toArray(Array.from(e))])])))):hr(),fr((()=>wr(mr(Ei("sm:w-[288px] mt-6",c,s.SignInInProgress,[d("span",{children:["Continue"]})])),fr((()=>{let e;return mr(d("div",dn(Gt([["className","mt-8 sm:mt-14 text-sm text-gray-900 whitespace-pre-wrap leading-5 space-y-4"],(e=$r(fr((()=>{let e,r,i,o;return wr((e=s.ResendTimer,null!=e?(r=0|e,mr((i=`Message sent. Wait ${r} seconds before trying again.`,d("p",{children:[i]})))):mr((o=Gt([d("span",{children:["Didn’t get the code? "]}),d("span",{className:"text-primary-base underline underline-offset-3 cursor-pointer",onClick:e=>{t(),a(new J$(0))},children:"Resend message"}),d("span",{children:["."]})]),d("p",{children:gi.Children.toArray(Array.from(o))})))),fr((()=>{let e;return mr((e=Gt([d("span",{children:["Still having trouble? "]}),d("span",{className:"text-primary-base underline underline-offset-3 cursor-pointer",onClick:e=>{s.ReissueLinkInProgress||(a(new J$(5)),n())},children:"Sign in with email instead"}),d("span",{children:["."]})]),d("p",{children:gi.Children.toArray(Array.from(e))})))})))}))),["children",gi.Children.toArray(Array.from(e))])]))))}))))))})))})))})))))))));return d(m,{},...l)}function tg(e){const n=e.reissueLink,t=e.brandingOption,r=zi(!1),i=$r(fr((()=>wr(mr(function(e){const n=Ar(di([]),1);return d(ni,n)}()),fr((()=>wr(mr(Si("Access link timed-out")),fr((()=>{let e;return wr(mr(d("div",dn(Gt([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-7 sm:leading-8 space-y-1 sm:space-y-2"],(e=[d("p",{children:["Your 5-minute temporary access link has timed-out."]}),d("p",{children:["Get a new link to continue."]})],["children",gi.Children.toArray(Array.from(e))])])))),fr((()=>wr(mr(Ei("mt-8 mb-8 sm:mb-14",(()=>{r[1](!0),n()}),r[0],[d("span",{children:["Get a new link"]})])),fr((()=>mr(null==t?null:Ai(t))))))))})))))))));return d(m,{},...i)}function rg(e){switch(e.tag){case 1:return"information request";case 2:return"workflow";default:return"onboarding"}}function ig(e){const n=e.startAuthCodeExchangeBackground,t=e.navigateAuthCodeExchangePage,r=e.magicLink,i=Uo(G$,((e,i)=>Z$(r,t,n,e,i))),o=i[0],s=i[1],a=$r(fr((()=>wr(Cr((e=>d("style",{children:[e]})),o.CssOverrides),fr((()=>{const e=o.Page;if(1===e.tag)return mr(function(e,n,t,r){const i=zi(!1),o=On((e=>d("span",{className:"font-semibold",children:`${e}`})),Tn((e=>e.CompanyName),n)),s=1===t.tag?`Hi, ${e}`:2===t.tag?`${e}, join your workplace benefits program`:`Welcome, ${e}`,a=$r(fr((()=>{let e,n;return wr((e=t,1===e.tag?mr(hi([])):2===e.tag?mr(d("div",dn(Gt([["className","sm:w-[700px]"],(n=[d("img",{src:"/workflows/app/app-invite/welcome.png"})],["children",gi.Children.toArray(Array.from(n))])])))):mr(hi([]))),fr((()=>wr(mr(Si(s)),fr((()=>{let e;return wr(mr(d("div",dn(Gt([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-7 sm:leading-8 space-y-1 sm:space-y-2 mb-8 sm:mb-14"],(e=$r(fr((()=>1===t.tag?wr(mr(En(o,d("span",{children:["Your employer"]}))),fr((()=>wr(mr(d("span",{children:[" has requested additional information from you."]})),fr((()=>mr(d("p",{children:["Sign in to complete your information request."]})))))))):2===t.tag?mr(d("p",{children:["Your employer has partnered with Flare Benefits to give you exclusive access to savings and perks from Australia’s most-loved brands, plus special offers to help you save on bigger expenses like household utilities, health insurance and more."]})):wr(mr(d("p",{children:["Congratulations on the new role!"]})),fr((()=>{let e;return mr((e=Gt([d("span",{children:["Sign in to complete your onboarding with "]}),En(o,d("span",{children:["your employer"]})),d("span",{children:["."]})]),d("p",{children:gi.Children.toArray(Array.from(e))})))})))))),["children",gi.Children.toArray(Array.from(e))])])))),fr((()=>{let e;return mr(Ei(void 0,(()=>{i[1](!0),r()}),i[0],[(e=1===t.tag?"Sign in":2===t.tag?"Continue":"Sign in",d("span",{children:[e]}))]))})))}))))))})));return d(m,{},...a)}(e.fields[0],o.Branding,o.JourneyType,(()=>{s(new L$(5,e.fields[1],new N$(0)))})));if(2===e.tag)return mr(function(e,n){let t,r,i;const o=[mi([]),Si("Check your inbox"),d("div",dn(Gt([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-7 sm:leading-8 space-y-1 sm:space-y-2"],(t=[(r=Gt([d("span",{children:["We’ve sent a temporary access link to "]}),d("span",{className:"font-semibold",children:(s=e,a="*",c="•",s.replace(new RegExp(tt(a),"g"),c))}),d("span",{children:["."]})]),d("p",{children:gi.Children.toArray(Array.from(r))})),d("p",{children:["Click the link to confirm your email address and sign in. The link is valid for 5 minutes."]})],["children",gi.Children.toArray(Array.from(t))])]))),d("div",dn(Gt([["className","text-sm text-gray-900 whitespace-pre-wrap mt-8 sm:mt-14 space-y-4 leading-5"],(i=$r(fr((()=>wr(mr(d("p",{children:["Can’t see the email? Check your spam folder."]})),fr((()=>mr(null==n?null:Ai(n)))))))),["children",gi.Children.toArray(Array.from(i))])])))];var s,a,c;return d(m,{},...o)}(e.fields[0],o.Branding));if(3===e.tag)return mr(d(ng,{maskedPhone:e.fields[0],validateOneTimeCode:e=>{s(new L$(4,e[0],e[1],new N$(0)))},reissueOneTimeCode:()=>{s(new L$(3,!0,new N$(0)))},reissueLink:()=>{s(new L$(2,!0,new N$(0)))}}));if(4===e.tag)return mr(d(tg,{brandingOption:o.Branding,reissueLink:()=>{s(new L$(2,!1,new N$(0)))}}));if(5!==e.tag)return 6===e.tag?1===e.fields[0].tag?mr(Vi("You don’t have access","It seems that you’re not authorised to access our application. If you believe this is an error, please contact your employer for assistance.",void 0)):0===e.fields[0].tag?mr(d(Gi,{reissueMagicLink:()=>{s(new L$(2,!0,new N$(0)))}})):5===e.fields[0].tag?mr(qi()):2===e.fields[0].tag?mr(Zi(o.Branding)):3===e.fields[0].tag?mr(Hi("Invite no longer active","It looks like your employer may have cancelled your invite, and you no longer have access.",o.Branding)):mr(Hi("Invite expired","Your invite has now expired and you no longer have access.",o.Branding)):mr(Oi);switch(o.JourneyType.tag){case 1:default:return mr(function(e,n){const t=En(Tn((e=>e.CompanyName),e),"your employer"),r=$r(fr((()=>wr(mr($i([])),fr((()=>wr(mr(Si("You’re all done")),fr((()=>{let r,i;return wr(mr(d("div",dn(Gt([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-7 sm:leading-8 space-y-1 sm:space-y-2 mb-8 sm:mb-14"],(r=[(i=`Your ${rg(n)} is now complete and your pay information has now been submitted to ${t}.`,d("p",{children:[i]})),d("p",{children:["You can now close this window."]})],["children",gi.Children.toArray(Array.from(r))])])))),fr((()=>mr(null==e?null:Ai(e)))))})))))))));return d(m,{},...r)}(o.Branding,o.JourneyType));case 2:return mr(function(){let e,n,t,r,i,o,s,a;return d("div",dn(Gt([["className","flex lg:min-w-[1024px] xl:min-w-[1280px] max-w-screen-xl justify-center"],(e=[d("div",dn(Gt([["className","flex flex-col justify-center items-center"],(n=[$i([]),Si("You’re all set!"),d("div",dn(Gt([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-7 sm:leading-8 space-y-1 sm:space-y-2 mb-8 sm:mb-14"],(t=[d("p",{children:["Access your exclusive benefits by downloading the Flare app."]}),d("div",dn(Gt([["className","hidden lg:flex justify-center lg:py-8"],(r=[d("img",{className:"h-40",src:"/workflows/app/app-invite/qr.png"})],["children",gi.Children.toArray(Array.from(r))])]))),d("p",dn(Gt([["className","font-semibold pt-5 lg:pt-0"],(i=[d("span",{className:"lg:hidden",children:"Download the Flare App"}),d("span",{className:"hidden lg:block",children:"Scan to download"})],["children",gi.Children.toArray(Array.from(i))])]))),d("p",{children:"Available on iOS and Android"})],["children",gi.Children.toArray(Array.from(t))])]))),d("div",dn(Gt([["className","flex space-x-6"],(o=[d("a",dn(Gt([["href","https://apps.apple.com/us/app/flare/id1587276031"],["target","_blank"],["rel","noreferrer"],(s=[d("img",{className:"h-10 cursor-pointer",src:"/workflows/app/app-invite/app-store.png"})],["children",gi.Children.toArray(Array.from(s))])]))),d("a",dn(Gt([["href","https://play.google.com/store/apps/details?id=com.flarehr.payandbenefits"],["target","_blank"],["rel","noreferrer"],(a=[d("img",{className:"h-10 cursor-pointer",src:"/workflows/app/app-invite/google-play.png"})],["children",gi.Children.toArray(Array.from(a))])])))],["children",gi.Children.toArray(Array.from(o))])])))],["children",gi.Children.toArray(Array.from(n))])]))),d("img",{className:"hidden lg:block w-[640px]",src:"/workflows/app/app-invite/completed.png"})],["children",gi.Children.toArray(Array.from(e))])])))}())}}))))));return d(m,{},...a)}function og(e){let n,t;const r=e.startAuthCodeExchangeBackground,i=e.navigateAuthCodeExchangePage,o=e.inviteCode;return Bi((()=>{Fd(0)})),d("div",dn(Gt([["className","min-h-full flex flex-col items-center justify-between w-full sm:max-w-[640px] mx-auto text-center pt-8 sm:pt-20 pb-6 sm:pb-8 px-4"],(n=[d("div",dn(Gt([["className","flex flex-col items-center justify-center"],(t=$r(fr((()=>{const e=function(e){const n=Ct(e,["."],null,0);if(Bn(((e,n)=>e===n),n,null)||2!==n.length)return new to(1,"Invalid link");{const e=n[1];return new to(0,new M$(n[0],e))}}(o);return 0===e.tag?mr(d(ig,{magicLink:e.fields[0],navigateAuthCodeExchangePage:i,startAuthCodeExchangeBackground:r})):mr(Zi(void 0))}))),["children",gi.Children.toArray(Array.from(t))])]))),Yi],["children",gi.Children.toArray(Array.from(n))])])))}class sg extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Home","InviteValidation","InviteV2","AuthCodeExchange","AuthCodeExchangeWithCurrentAuth","NotFound","LoggedOut"]}}function ag(e){const n=$a(e);if(null!=n)return On((e=>e[1]),Yt((e=>"code"===e[0]),n))}function cg(e){let n,t,r,i,o,s,a,c,l;const u=function(e){let n,t,r;switch(Bt(e)?n=2:"workflows"===jt(e)?Bt(Wt(e))?n=2:"app"===jt(Wt(e))?(n=0,t=Wt(Wt(e))):"embed"===jt(Wt(e))?Bt(Wt(Wt(e)))?n=2:"v1.0"===jt(Wt(Wt(e)))?(n=1,r=Wt(Wt(Wt(e)))):n=2:n=2:n=2,n){case 0:return new so(1,t);case 1:return new so(0,r);case 2:return new so(2,void 0)}}(e);return 1===u.tag?[Bt(u.fields[0])?Bt(u.fields[0])?Bt(u.fields[0])?new sg(0):(s=$a(jt(u.fields[0])),null!=s?Bt(s)?new sg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new sg(3,U$(a))):new sg(0):new sg(0)):(i=$a(jt(u.fields[0])),null!=i?Bt(i)?Bt(u.fields[0])?new sg(0):(s=$a(jt(u.fields[0])),null!=s?Bt(s)?new sg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new sg(3,U$(a))):new sg(0):new sg(0)):"invite-code"===jt(i)[0]&&Bt(Wt(i))&&Bt(Wt(u.fields[0]))?(o=jt(i)[1],new sg(2,o)):Bt(u.fields[0])?new sg(0):(s=$a(jt(u.fields[0])),null!=s?Bt(s)?new sg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new sg(3,U$(a))):new sg(0):new sg(0)):Bt(u.fields[0])?new sg(0):(s=$a(jt(u.fields[0])),null!=s?Bt(s)?new sg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new sg(3,U$(a))):new sg(0):new sg(0))):(n=$a(jt(u.fields[0])),null!=n?Bt(n)?Bt(u.fields[0])?Bt(u.fields[0])?new sg(0):(s=$a(jt(u.fields[0])),null!=s?Bt(s)?new sg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new sg(3,U$(a))):new sg(0):new sg(0)):(i=$a(jt(u.fields[0])),null!=i?Bt(i)?Bt(u.fields[0])?new sg(0):(s=$a(jt(u.fields[0])),null!=s?Bt(s)?new sg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new sg(3,U$(a))):new sg(0):new sg(0)):"invite-code"===jt(i)[0]&&Bt(Wt(i))&&Bt(Wt(u.fields[0]))?(o=jt(i)[1],new sg(2,o)):Bt(u.fields[0])?new sg(0):(s=$a(jt(u.fields[0])),null!=s?Bt(s)?new sg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new sg(3,U$(a))):new sg(0):new sg(0)):Bt(u.fields[0])?new sg(0):(s=$a(jt(u.fields[0])),null!=s?Bt(s)?new sg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new sg(3,U$(a))):new sg(0):new sg(0))):"invite"===jt(n)[0]&&Bt(Wt(n))&&Bt(Wt(u.fields[0]))?(t=jt(n)[1],r=qs(t),1===r.tag?new sg(5):new sg(1,r.fields[0])):Bt(u.fields[0])?Bt(u.fields[0])?new sg(0):(s=$a(jt(u.fields[0])),null!=s?Bt(s)?new sg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new sg(3,U$(a))):new sg(0):new sg(0)):(i=$a(jt(u.fields[0])),null!=i?Bt(i)?Bt(u.fields[0])?new sg(0):(s=$a(jt(u.fields[0])),null!=s?Bt(s)?new sg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new sg(3,U$(a))):new sg(0):new sg(0)):"invite-code"===jt(i)[0]&&Bt(Wt(i))&&Bt(Wt(u.fields[0]))?(o=jt(i)[1],new sg(2,o)):Bt(u.fields[0])?new sg(0):(s=$a(jt(u.fields[0])),null!=s?Bt(s)?new sg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new sg(3,U$(a))):new sg(0):new sg(0)):Bt(u.fields[0])?new sg(0):(s=$a(jt(u.fields[0])),null!=s?Bt(s)?new sg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new sg(3,U$(a))):new sg(0):new sg(0))):Bt(u.fields[0])?Bt(u.fields[0])?new sg(0):(s=$a(jt(u.fields[0])),null!=s?Bt(s)?new sg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new sg(3,U$(a))):new sg(0):new sg(0)):(i=$a(jt(u.fields[0])),null!=i?Bt(i)?Bt(u.fields[0])?new sg(0):(s=$a(jt(u.fields[0])),null!=s?Bt(s)?new sg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new sg(3,U$(a))):new sg(0):new sg(0)):"invite-code"===jt(i)[0]&&Bt(Wt(i))&&Bt(Wt(u.fields[0]))?(o=jt(i)[1],new sg(2,o)):Bt(u.fields[0])?new sg(0):(s=$a(jt(u.fields[0])),null!=s?Bt(s)?new sg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new sg(3,U$(a))):new sg(0):new sg(0)):Bt(u.fields[0])?new sg(0):(s=$a(jt(u.fields[0])),null!=s?Bt(s)?new sg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new sg(3,U$(a))):new sg(0):new sg(0)))),new xa(1)]:2===u.tag?[new sg(5),new xa(2)]:[Bt(u.fields[0])||Bt(Wt(u.fields[0]))?new sg(0):(c=ag(jt(Wt(u.fields[0]))),null!=c&&Bt(Wt(Wt(u.fields[0])))?(l=c,new sg(3,U$(l))):new sg(0)),new xa(0)]}class lg extends yn{constructor(e,n,t){super(),this.CurrentPage=e,this.Credentials=n,this.AppMode=t}}class ug extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["UrlChanged","NavigateAuthCodeExchangePage","NavigateAuthCodeExchangePageWithCurrentAuth","AuthMsg","StartAuthCodeExchangeBackground","DisplayLoggedOut"]}}function fg(){let e;return Bi((()=>{Fd(0)})),d("div",dn(Gt([["className",vt(" ",["w-full","sm:max-w-md","mt-5","mx-1","text-center","mx-auto"])],(e=[d("h4",{className:vt(" ",["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",gi.Children.toArray(Array.from(e))])])))}function dg(e){this.message=e}dg.prototype=new Error,dg.prototype.name="InvalidCharacterError";var hg="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var n=String(e).replace(/=+$/,"");if(n.length%4==1)throw new dg("'atob' failed: The string to be decoded is not correctly encoded.");for(var t,r,i=0,o=0,s="";r=n.charAt(o++);~r&&(t=i%4?64*t+r:r,i++%4)?s+=String.fromCharCode(255&t>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return s};function mg(e){this.message=e}mg.prototype=new Error,mg.prototype.name="InvalidTokenError";function pg(e){return function(e,n){return function(e,n,t){e:for(;;){const r=e,i=n,o=t;if(Bt(o)){const e=r;return 1===e.tag?new to(1,e.fields[0]):new to(0,zt(e.fields[0]))}{let s;const a=i(jt(o));if(1===a.tag)s=new to(1,a.fields[0]);else{const e=r;s=1===e.tag?new to(1,e.fields[0]):new to(0,Dt(a.fields[0],e.fields[0]))}if(1===s.tag)return s;e=s,n=i,t=Wt(o);continue e}}}(new to(0,Pt()),e,n)}((e=>e),e)}class $g extends yn{constructor(e,n,t){super(),this.CompanyName=e,this.Logo=n,this.Support=t}}class gg extends yn{constructor(e,n){super(),this.Email=e,this.Phone=n}}function wg(e){let n;const t=e.Logo;if(null!=t){const e=function(e){try{const n=zs.create(e);return n.isAbsoluteUri?[!0,n]:[!1,void 0]}catch(e){return[!1,void 0]}}(r=t)[0]?new to(0,new Xs(0,r)):new to(1,"Invalid logo url.");n=1===e.tag?new to(1,e.fields[0]):new to(0,e.fields[0])}else n=new to(0,void 0);var r,i;if(1===n.tag)return new to(1,n.fields[0]);{let t;const r=e.CompanyName;if(null!=r){const e=wt(i=r)?new to(1,"Invalid company name."):new to(0,new Ks(0,i));t=1===e.tag?new to(1,e.fields[0]):new to(0,e.fields[0])}else t=new to(0,void 0);if(1===t.tag)return new to(1,t.fields[0]);{let r;const i=e.Support;if(null!=i){const e=function(e){let n;const t=e.Email;if(null!=t){const e=ta(t);n=1===e.tag?new to(1,e.fields[0]):new to(0,e.fields[0])}else n=new to(0,void 0);if(1===n.tag)return new to(1,n.fields[0]);{let t;const r=e.Phone;if(null!=r){const e=ra(r);t=1===e.tag?new to(1,e.fields[0]):new to(0,e.fields[0])}else t=new to(0,void 0);return 1===t.tag?new to(1,t.fields[0]):new to(0,new Qs(n.fields[0],t.fields[0]))}}(i);r=1===e.tag?new to(1,e.fields[0]):new to(0,e.fields[0])}else r=new to(0,void 0);return 1===r.tag?new to(1,r.fields[0]):new to(0,new Js(t.fields[0],n.fields[0],r.fields[0]))}}}class vg extends yn{constructor(e,n,t,r){super(),this.Code=e,this.DateIssued=n,this.NumberOfAttempts=0|t,this.DateOfLastAttempt=r}}class yg extends yn{constructor(e,n,t,r){super(),this.Code=e,this.DateIssued=n,this.SecondFactor=t,this.Branding=r}}class bg extends yn{constructor(e,n,t){super(),this.Id=e,this.DisplayName=n,this.ComponentTagName=t}}function Cg(e){return new to(0,new nf(hf(e.Id),e.DisplayName,e.ComponentTagName))}class _g extends yn{constructor(e,n){super(),this.ActivatedDates=e,this.CompletedSteps=n}}class xg extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Inactive","Active","Complete","Abandoned"]}}class kg extends yn{constructor(e,n,t){super(),this.Id=e,this.Name=n,this.Steps=t}}class Ig extends yn{constructor(e,n){super(),this.Name=e,this.Value=n}}function Sg(e){return function(e,n){const t=wt(r=e)?new to(1,"Tag name is empty"):r.length<100?new to(0,new Wf(0,r)):new to(1,"Tag name is too long");var r,i;if(1===t.tag)return new to(1,t.fields[0]);{const e=wt(i=n)?new to(1,"Tag value is empty"):i.length<100?new to(0,new Ff(0,i)):new to(1,"Tag value is too long");return 1===e.tag?new to(1,e.fields[0]):new to(0,new jf(t.fields[0],e.fields[0]))}}(e.Name,e.Value)}class Ag extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["WhenEnabled","Always"]}}class Eg extends yn{constructor(e){super(),this.BenefitsOnboarding=e}}class Og extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Default","InfoRequest","AppInvite","BenefitsExisting","BenefitsOnboarding"]}}class Tg extends yn{constructor(e){super(),this.Category=e}}function Ng(){return Jo("Workflows.Business.Aggregates.ProcessInstanceList.Dto.JourneyTypeDetailsDto",[],Tg,(()=>[["Category",es(rs)]]))}function Mg(e){return new Hf(e.Category)}class Pg extends yn{constructor(e,n,t,r,i,o,s,a,c,l){super(),this.Id=0|e,this.DateCreated=n,this.Configuration=t,this.Status=r,this.Invite=i,this.Tags=o,this.Creator=s,this.StepsConfiguration=a,this.JourneyType=c,this.IsBenefitsStepEnabled=l}}function Dg(){return Jo("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceDto",[],Pg,(()=>[["Id",os],["DateCreated",Yo("System.DateTime")],["Configuration",Jo("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessConfigDto",[],kg,(()=>[["Id",Yo("System.Guid")],["Name",rs],["Steps",ns(Jo("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessStepConfigDto",[],bg,(()=>[["Id",rs],["DisplayName",rs],["ComponentTagName",rs]])))]]))],["Status",Ko("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceStatusDto",[],xg,(()=>[[],[["Item",Jo("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ActiveProcessInstanceDto",[],_g,(()=>[["ActivatedDates",ns(Yo("System.DateTime"))],["CompletedSteps",ns(Qo(rs,Yo("System.DateTime")))]]))]],[["Item",Yo("System.DateTime")]],[["Item",Yo("System.DateTime")]]]))],["Invite",es(Jo("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.InviteDto",[],yg,(()=>[["Code",rs],["DateIssued",Yo("System.DateTime")],["SecondFactor",es(Jo("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.SecondFactorDto",[],vg,(()=>[["Code",rs],["DateIssued",Yo("System.DateTime")],["NumberOfAttempts",os],["DateOfLastAttempt",es(Yo("System.DateTime"))]])))],["Branding",es(Jo("Workflows.Business.Aggregates.CommonDto.InviteBrandingDto",[],$g,(()=>[["CompanyName",es(rs)],["Logo",es(rs)],["Support",es(Jo("Workflows.Business.Aggregates.CommonDto.SupportDto",[],gg,(()=>[["Email",es(rs)],["Phone",es(rs)]])))]])))]])))],["Tags",es(ns(Jo("Workflows.Business.Aggregates.ProcessInstanceList.Dto.TagDto",[],Ig,(()=>[["Name",rs],["Value",rs]]))))],["Creator",es(rs)],["StepsConfiguration",es(Jo("Workflows.Business.Aggregates.ProcessInstanceList.Dto.StepsConfigurationDto",[],Eg,(()=>[["BenefitsOnboarding",es(Xo(["Show",Ko("Workflows.Business.Aggregates.ProcessInstanceList.Dto.BenefitsOnboardingShowOptionsDto",[],Ag,(()=>[[],[]]))]))]])))],["JourneyType",es(Ko("Workflows.Business.Aggregates.ProcessInstanceList.Dto.JourneyTypeDto",[],Og,(()=>[[["Item",Ng()]],[["Item",Ng()]],[["Item",Ng()]],[["Item",Ng()]],[["Item",Ng()]]])))],["IsBenefitsStepEnabled",es(is)]]))}function Rg(e){let n,t;const r=function(e){const n=pg(qt(Cg,e.Steps));if(1===n.tag)return new to(1,n.fields[0]);{const t=function(e){const n=new pf(0,e);return vr(n,Mf.keys(),{Equals:sn,GetHashCode:tn})?new to(0,n):new to(1,dt(ut("Invalid Type %A%P()",[e])))}(e.Id);return 1===t.tag?new to(1,t.fields[0]):new to(0,new $f(t.fields[0],e.Name,n.fields[0]))}}(e.Configuration);if(1===r.tag)return new to(1,r.fields[0]);{const i=r.fields[0],o=function(e){switch(e.tag){case 1:{const n=function(e){const n=pg(qt((e=>new to(0,[hf(e[0]),e[1]])),e.CompletedSteps));return 1===n.tag?new to(1,n.fields[0]):new to(0,new Pf(e.ActivatedDates,n.fields[0]))}(e.fields[0]);return 1===n.tag?new to(1,n.fields[0]):new to(0,new Df(1,n.fields[0]))}case 2:return new to(0,new Df(2,e.fields[0]));case 3:return new to(0,new Df(3,e.fields[0]));default:return new to(0,new Df(0))}}(e.Status);if(1===o.tag)return new to(1,o.fields[0]);{const r=o.fields[0];let s;if(1===r.tag){const e=r.fields[0],n=pg(qt((e=>{const n=[e[0],e[1]],t=n[0];return Qt((e=>sn(e.Id,t)),i.Steps)?new to(0,[t,n[1]]):new to(1,"Step id is not configured for this Process Instance.")}),e.CompletedSteps));s=1===n.tag?new to(1,n.fields[0]):new to(0,new Df(1,new Pf(e.ActivatedDates,n.fields[0])))}else s=new to(0,r);if(1===s.tag)return new to(1,s.fields[0]);{let r;const o=e.Invite;if(null!=o){const e=function(e){const n=qs(e.Code);if(1===n.tag)return new to(1,n.fields[0]);{let t;const r=e.SecondFactor;if(null!=r){const e=function(e){const n=wc(e.Code);return 1===n.tag?new to(1,n.fields[0]):new to(0,new vc(n.fields[0],e.DateIssued,e.NumberOfAttempts,e.DateOfLastAttempt))}(r);t=1===e.tag?new to(1,e.fields[0]):new to(0,e.fields[0])}else t=new to(0,void 0);if(1===t.tag)return new to(1,t.fields[0]);{let r;const i=e.Branding;if(null!=i){const e=wg(i);r=1===e.tag?new to(1,e.fields[0]):new to(0,e.fields[0])}else r=new to(0,void 0);return 1===r.tag?new to(1,r.fields[0]):new to(0,new yc(n.fields[0],e.DateIssued,t.fields[0],r.fields[0]))}}}(o);r=1===e.tag?new to(1,e.fields[0]):new to(0,e.fields[0])}else r=new to(0,void 0);if(1===r.tag)return new to(1,r.fields[0]);{let o;const a=e.Tags;if(null!=a){const e=pg(qt(Sg,a));o=1===e.tag?new to(1,e.fields[0]):new to(0,e.fields[0])}else o=new to(0,void 0);return 1===o.tag?new to(1,o.fields[0]):new to(0,new Uf(Bf(e.Id),i,e.DateCreated,s.fields[0],r.fields[0],o.fields[0],(n=e.Creator,null==n?void 0:Hs(n)),(t=e.StepsConfiguration,null==t?void 0:function(e){let n,t;return new zf((n=e.BenefitsOnboarding,null==n?void 0:(t=n,{Show:1===t.Show.tag?new Gf(1):new Gf(0)})))}(t)),function(e){if(null==e)return new Vf(0,new Hf(void 0));if(1===e.tag){const n=e.fields[0];return new Vf(1,Mg(n))}if(2===e.tag){const n=e.fields[0];return new Vf(2,Mg(n))}if(3===e.tag){const n=e.fields[0];return new Vf(3,Mg(n))}if(4===e.tag){const n=e.fields[0];return new Vf(4,Mg(n))}{const n=e.fields[0];return new Vf(0,Mg(n))}}(e.JourneyType),e.IsBenefitsStepEnabled))}}}}}class Bg extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["CompleteStep","Complete"]}}class Lg extends yn{constructor(e,n,t){super(),this.CssOverrides=e,this.ProcessInstance=n,this.IsBenefitsEnabled=t}}class jg extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["CompleteStep","Complete"]}}const Wg=Rg;class Fg extends yn{constructor(e,n,t){super(),this.CssOverrides=e,this.ProcessInstanceDto=n,this.IsBenefitsEnabled=t}}class Ug extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["WorkflowInstanceStepActivated","BenefitsStepActivated","BenefitsStepCompleted"]}}class zg extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["PersonalDetails","EmergencyContacts","Bank","Tax","Super","WorkplaceLinking","BenefitsOnboarding","WorkplacePolicies","DiscreteBenefits"]}}class Vg extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Hidden","Incomplete","Complete"]}}function Hg(e){return sn(e,tf)?new to(0,new zg(0)):sn(e,rf)?new to(0,new zg(1)):sn(e,of)?new to(0,new zg(2)):sn(e,sf)?new to(0,new zg(3)):sn(e,af)?new to(0,new zg(4)):sn(e,cf)?new to(0,new zg(5)):sn(e,ff)?new to(0,new zg(7)):sn(e,df)?new to(0,new zg(8)):new to(1,"Invalid step")}function Gg(e){switch(e.tag){case 1:return rf;case 2:return of;case 3:return sf;case 4:return af;case 5:return cf;case 6:return uf;case 7:return ff;case 8:return df;default:return tf}}function Zg(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 cf.DisplayName;case 6:return uf.DisplayName;case 7:return"Fair Work";case 8:return df.DisplayName;default:return"Personal Details"}}function qg(e,n){const t=pg(qt(Hg,e.Configuration.Steps));return 1===t.tag?new to(1,t.fields[0]):new to(0,(r=n,i=t.fields[0],0===r.tag?i:Zt(i,Rt(new zg(6)))));var r,i}function Yg(e,n){const t=pg(qt(Hg,function(e){const n=e.Status;switch(n.tag){case 2:return e.Configuration.Steps;case 3:case 0:return Pt();default:{const t=qt((e=>e[0]),n.fields[0].CompletedSteps);return Xt((e=>Kt(e.Id,t,{Equals:sn,GetHashCode:tn})),e.Configuration.Steps)}}}(e)));return 1===t.tag?new to(1,t.fields[0]):new to(0,(r=n,i=t.fields[0],2===r.tag?Zt(i,Rt(new zg(6))):i));var r,i}class Jg extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Initialising","StepList","Step","CompletedAllSteps","Oops","AllDone"]}}class Xg extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ActivateCallback","ShowView","StepCompletionEventCallback","CompleteStep","CompleteWorkflow","SendAnalyticsEvent","AppendTrailingSlashToUrl","CompleteBenefitsOnboardingStep"]}}class Kg extends yn{constructor(e,n,t,r,i,o){super(),this.ProfileId=e,this.ProcessInstanceId=n,this.ProcessInstance=t,this.CurrentView=r,this.CssOverrides=i,this.BenefitsOnboarding=o}}function Qg(e,n){return no.Delay((()=>{const t=hl((r=dt(lt("Bearer %s"))(e),new Cc(0,"Authorization",r)),n);var r;let i;const o=pl(t);return i=no.Bind(o,(e=>no.Return(new to(0,e)))),no.Bind(i,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{const e=n.fields[0];if(429===e.statusCode||e.statusCode>=500){const e=pl(t);return no.Bind(e,(e=>no.Return(new to(0,e))))}return no.Return(new to(0,e))}}))}))}function ew(e,n,t){return no.Delay((()=>{let r,i;const o=Qg(t,(r=ml(new _c(1,(i=Rt(function(e){return 1===e.tag?new jg(1):new jg(0,mf(e.fields[0]))}(e)),Du(0,Lu(ns(Ko("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.ProcessInstanceCommandDto",[],jg,(()=>[[["Item",rs]],[]]))),new gl(1),void 0,void 0)(i)))),dl(new bc(1),fl(function(e){const n=0|Lf(e);return dt(lt("%s/workflows/backend/%i"))(ya)(n)}(n)))),hl(cl("application/json"),r)));return no.Bind(o,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{const e=n.fields[0];if(200===e.statusCode){let n;const t=cu(mn(2,Su(Dg(),new gl(1),void 0)),e.responseText);return n=1===t.tag?new to(1,t.fields[0]):Wg(t.fields[0]),no.Return(n)}return no.Return(new to(1,"Unexpected response from backend"))}}))}))}function nw(e,n,t,r){let i,o,s,a,c,l,u,f,d,h,m,p;switch(t.tag){case 1:{const e=t.fields[0];return[new Kg(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,e,r.CssOverrides,r.BenefitsOnboarding),2===e.tag?(i=Gg(e.fields[0]),sn(i.Id,uf.Id)?ko(new Xg(5,r.ProcessInstanceId,new Ug(1))):ko(new Xg(5,r.ProcessInstanceId,new Ug(0,mf(i.Id))))):bo()]}case 5:return Ao(function(e,n,t){let r;const i=no.Delay((()=>{let r;return Qg(e,(r=ml(new _c(1,Du(0,Lu(ns(Ko("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Write.WorkflowAnalyticsEventDto",[],Ug,(()=>[[["Item",rs]],[],[]]))),new gl(1),void 0,void 0)(Rt(t)))),dl(new bc(1),fl(function(e){const n=0|Lf(e);return dt(lt("%s/workflows/backend/process-instances/%i/analytics-events"))(ya)(n)}(n)))),hl(cl("application/json"),r)))}));return r=no.Bind(i,(e=>{let n;const t=e;return n=1===t.tag?new to(1,t.fields[0]):new to(0,void t.fields[0]),no.Return(n)})),no.Bind(r,(e=>{let n;const t=e;return n=1===t.tag?void 0:t.fields[0],no.Return(n)}))}(e,t.fields[0],t.fields[1])),[r,bo()];case 2:{const e=r.ProcessInstance;let n,i;switch(2===e.tag&&0===e.fields[0].tag?(n=0,i=e.fields[0].fields[0]):n=1,n){case 0:return[r,(o=t.fields[0].target,s=!sn(r.BenefitsOnboarding,new Vg(0)),a=Zf(o.tagName,s,i),1===a.tag?bo():sn(a.fields[0].Id,lf)?ko(new Xg(7)):ko(new Xg(3,a.fields[0].Id,new Ds(0))))];case 1:return[r,bo()]}}case 7:{const e=r.ProcessInstance;let n,t;switch(2===e.tag&&0===e.fields[0].tag?sn(r.BenefitsOnboarding,new Vg(0))?n=1:(n=0,t=e.fields[0].fields[0]):n=1,n){case 0:return[new Kg(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,r.CurrentView,r.CssOverrides,new Vg(2)),_o(Gt([ko(new Xg(5,r.ProcessInstanceId,new Ug(2))),(u=[t,r.BenefitsOnboarding],l=qg(u[0],u[1]),c=1===l.tag?new to(1,l.fields[0]):new to(0,(f=l.fields[0],ko(new Xg(1,new Jg(3,f,f))))),1===c.tag?ko(new Xg(1,new Jg(4,c.fields[0]))):c.fields[0])]))];case 1:return[r,bo()]}}case 3:{const n=t.fields[0],i=t.fields[1];switch(i.tag){case 1:return[r,bo()];case 2:{const e=i.fields[0];let t,o;const s=e;if(1===s.tag)o=new to(1,s.fields[0]);else{const e=s.fields[0],n=qf(e);let t;const i=[e,r.BenefitsOnboarding];if(t=Yg(i[0],i[1]),1===t.tag)o=new to(1,t.fields[0]);else{const i=t.fields[0];let s;const a=[e,r.BenefitsOnboarding];if(s=qg(a[0],a[1]),1===s.tag)o=new to(1,s.fields[0]);else{const e=s.fields[0];if(1===Lt(e))o=new to(0,new Xg(4,new Ds(0)));else{const t=[n,r.BenefitsOnboarding];if(null==t[0])if(1===t[1].tag){const n=new zg(6);o=new to(0,new Xg(1,new Jg(2,n,n,i,e)))}else o=new to(0,new Xg(1,new Jg(3,i,e)));else{const n=Hg(t[0]);o=1===n.tag?new to(1,n.fields[0]):new to(0,(d=n.fields[0],new Xg(1,new Jg(2,d,d,i,e))))}}}}}t=1===o.tag?new Xg(1,new Jg(4,o.fields[0])):o.fields[0];const a=e;return 1===a.tag?a.fields[0]:function(e,n,t){const r=function(e,n){const t=Yt((n=>sn(n.Id,e)),n.Configuration.Steps),r=dt(ut("Invalid ProcessStep Id %A%P()",[e])),i=t;return null==i?new to(1,r):new to(0,i)}(e,n);1===r.tag||Ld(function(e,n,t,r){const i={type:"stepSubmitSuccess",sender:"flare"};return i.workflow=Bd(t),i.profileId=Gs(r),i.step={name:n,type:mf(e)},i}(e,r.fields[0].DisplayName,n,t))}(n,a.fields[0],r.ProfileId),[new Kg(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),ko(t)]}case 3:return[new Kg(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),ko(new Xg(1,new Jg(4,i.fields[0].message)))];default:return[r,Io((e=>{Ao(e)}),(e=>function(e,n,t){return ew(new Bg(0,n),e,t)}(r.ProcessInstanceId,n,e)),e,(e=>new Xg(3,n,new Ds(2,e))),(e=>new Xg(3,n,new Ds(3,e))))]}}case 4:{const i=t.fields[0];switch(i.tag){case 1:return[r,bo()];case 2:{const e=i.fields[0];if(1===e.tag)return[new Kg(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),ko(new Xg(1,new Jg(4,e.fields[0])))];{const t=e.fields[0];return Wd(t,r.ProfileId),[new Kg(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),(h=[n,(m=[t,r.BenefitsOnboarding],g=m[0],w=m[1],Lt(g.Configuration.Steps)+(0===w.tag?0:1))],1===h[0].tag?1===h[1]?bo():ko(new Xg(1,new Jg(5))):bo())]}}case 3:return[new Kg(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),ko(new Xg(1,new Jg(4,i.fields[0].message)))];default:{const n=r.ProcessInstance;let t,i;switch(2===n.tag&&0===n.fields[0].tag&&2===n.fields[0].fields[0].Status.tag?(t=0,i=n.fields[0].fields[0]):t=1,t){case 0:return Wd(i,r.ProfileId),[r,bo()];case 1:return[r,Io((e=>{Ao(e)}),(e=>function(e,n){return ew(new Bg(1),e,n)}(r.ProcessInstanceId,e)),e,(e=>new Xg(4,new Ds(2,e))),(e=>new Xg(4,new Ds(3,e))))]}}}}case 6:return[r,(p=window.location.pathname+"/"+window.location.search+window.location.hash,xo((e=>{ha(Rt(p),1,2)})))];default:{const e=t.fields[0];let n;switch(e.tag){case 3:n=[r,ko(new Xg(1,new Jg(4,e.fields[0].message)))];break;case 0:case 1:n=[r,bo()];break;default:{let t,i;const o=e.fields[0];if(1===o.tag)i=new to(1,o.fields[0]);else{const e=o.fields[0],n=($=e.IsBenefitsEnabled,new Vg($?1:0));let t;const s=[e.ProcessInstance,n];if(t=Yg(s[0],s[1]),1===t.tag)i=new to(1,t.fields[0]);else{const o=t.fields[0];let s;const a=[e.ProcessInstance,n];if(s=qg(a[0],a[1]),1===s.tag)i=new to(1,s.fields[0]);else{const t=s.fields[0],a=e=>{const n=[wa.clientWidth<640,Lt(t)];return 1===n[1]?(document.title=Zg(e),new Jg(2,e,e,o,t)):new Jg(n[0]?1:2,e,e,o,t)};let c;const l=[qf(e.ProcessInstance),n];if(null==l[0])c=1===l[1].tag?new to(0,a(new zg(6))):new to(0,new Jg(3,o,t));else{const e=Hg(l[0]);c=1===e.tag?new to(1,e.fields[0]):new to(0,a(e.fields[0]))}i=1===c.tag?new to(1,c.fields[0]):new to(0,[new Kg(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,r.CurrentView,e.CssOverrides,n),c.fields[0]])}}}t=1===i.tag?[r,new Jg(4,i.fields[0])]:i.fields[0],n=[t[0],ko(new Xg(1,t[1]))]}}const i=n[0];return[new Kg(i.ProfileId,i.ProcessInstanceId,Rs((e=>{const n=e;return 1===n.tag?new to(1,n.fields[0]):new to(0,n.fields[0].ProcessInstance)}),e),i.CurrentView,i.CssOverrides,i.BenefitsOnboarding),n[1]]}}var $,g,w}var tw;function rw(){return rw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},rw.apply(this,arguments)}const iw=function(e){return d("svg",rw({width:17,height:14,xmlns:"http://www.w3.org/2000/svg"},e),tw||(tw=d("path",{d:"m2 8 4 4 9-10",strokeWidth:3,stroke:"#FFF",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"})))};var ow,sw,aw;function cw(){return cw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},cw.apply(this,arguments)}const lw=function(e){return d("svg",cw({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ow||(ow=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"})),sw||(sw=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"})),aw||(aw=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 uw,fw;function dw(){return dw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},dw.apply(this,arguments)}const hw=function(e){return d("svg",dw({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),uw||(uw=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"}))),fw||(fw=d("defs",null,d("clipPath",{id:"icon-emergency-contacts_svg__a"},d("path",{fill:"#fff",d:"M0 0h36v36H0z"})))))};var mw,pw,$w;function gw(){return gw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},gw.apply(this,arguments)}const ww=function(e){return d("svg",gw({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),mw||(mw=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"})),pw||(pw=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"})),$w||($w=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 vw,yw;function bw(){return bw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},bw.apply(this,arguments)}const Cw=function(e){return d("svg",bw({viewBox:"0 0 34 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),vw||(vw=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"})),yw||(yw=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 _w,xw,kw;function Iw(){return Iw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Iw.apply(this,arguments)}const Sw=function(e){return d("svg",Iw({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),_w||(_w=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"})),xw||(xw=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"})),kw||(kw=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 Aw,Ew;function Ow(){return Ow=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Ow.apply(this,arguments)}const Tw=function(e){return d("svg",Ow({viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Aw||(Aw=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"}))),Ew||(Ew=d("defs",null,d("clipPath",{id:"icon-benefits-onboarding_svg__a"},d("path",{fill:"#fff",transform:"translate(.667 .5)",d:"M0 0h24v24H0z"})))))};var Nw,Mw,Pw,Dw,Rw,Bw,Lw;function jw(){return jw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},jw.apply(this,arguments)}const Ww=function(e){return d("svg",jw({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e),Nw||(Nw=d("path",{d:"M41.05 0h310.02c21.81 2.11 37.24 17.71 37.38 39.75q.11 19.22-.01 38.3a.26.25-33.3 0 0 .49.1q7.85-18.24 15.66-36.33 4.37-10.1 16.29-9.43a.75.73 12.7 0 0 .71-.44c2.76-6.27 5.51-14.07 9.06-18.94Q439.35 1.07 455.34 0h1.44c18.05 1.24 31.23 16.62 29.09 34.48-.8 6.71-4.67 14.42-7.67 21.09a1.01 1-70.6 0 0 .66 1.38q8.11 2.11 7.01 10.55-.06.5.41.7 8.39 3.53 16.73 7.21c5.53 2.44 6.45 6.58 4.09 12.1q-29.71 69.25-59.54 138.44-1.67 3.87-3.72 5.24c-4.44 2.98-11.56-.34-11.86-5.78q-.13-2.24 1.68-6.43 28.3-65.84 56.57-131.58a.58.57 23.3 0 0-.31-.76L480 82.5q-.57-.23-.82.33-73.05 169.3-145.96 338.76-1.88 4.37-2.97 5.4-22.77 21.45-45.61 42.83-5.3 4.95-8.64 6.14c-8.08 2.86-17.9-1.38-21.36-9.18q-1.41-3.15-1.47-9.29-.34-31.81-.11-63.23a7.4 7.34 57.2 0 1 .61-2.89q58.89-136.45 118.22-273.79 1.04-2.4 1.04-5.02.12-33.22.07-66.47-.02-10.51-1.56-14.9c-3.56-10.2-12.95-15.69-23.69-15.69H48.81q-9.55.01-13.83 1.47C23.74 20.81 19.06 30.52 19.05 42Q19 254.41 19 466.81c.01 12.68 2.82 23.72 15.87 28.13q4.67 1.57 16.93 1.57 145.45-.03 290.89 0 9.49.01 13.95-1.43 11.34-3.64 14.96-14.94 1.45-4.52 1.43-14.46-.07-50.37-.01-100.73c.01-11.76 15.46-11.97 15.47.83q.04 50.76-.01 101.52-.01 11.03-1.44 16.13c-4.6 16.42-19.1 27.42-36.11 28.57H41.19c-17.03-1.1-31.64-12.26-36.15-28.58q-1.53-5.56-1.53-19.11-.02-211.78.04-423.56C3.56 18.17 18.5 2.21 41.05 0Zm395.38 38.46 26.56 11.49a.68.68 0 0 0 .9-.35l5.35-12.37a15.64 15.08-66.6 0 0-7.63-20.35l-.13-.05a15.64 15.08-66.6 0 0-20.05 8.36l-5.35 12.37a.68.68 0 0 0 .35.9Zm31.6 31.214a.54.54 0 0 0-.281-.71L419.493 48.08a.54.54 0 0 0-.71.282L356.51 192.267a.54.54 0 0 0 .281.71l48.256 20.882a.54.54 0 0 0 .71-.282L468.03 69.673Zm-68.852 159.068a.47.47 0 0 0-.246-.617l-48.42-20.853a.47.47 0 0 0-.618.245l-78.572 182.44a.47.47 0 0 0 .246.618l48.42 20.853a.47.47 0 0 0 .618-.245l78.572-182.44ZM268.84 460.47a.5.5 0 0 0 .24.42l1.15.68a.5.5 0 0 0 .59-.07l39.08-36.7a.5.5 0 0 0-.15-.82l-40.54-17.53a.5.5 0 0 0-.7.47l.33 53.55Z"})),Mw||(Mw=d("path",{d:"M273.75 81.24V59.5q0-.75-.75-.75H117.11a.4.39 0 0 0-.4.39l.03 21.93q0 .71.71.71 41.6-.03 81.33-.03c1.97 0 6.09-.08 8 .66 6.18 2.41 6.73 11.55.78 14.19q-1.98.88-6.87.88-40.38.04-80.76.02c-14.59-.01-18.86-4.77-18.92-19.02q-.06-14.55 0-20.21c.11-10.44 6.57-15.02 16.12-15.02q77.68 0 155.37.01c11.34 0 16.69 4.56 16.73 16.07q.03 10.39.03 20.76c.01 13.14-5.3 17.37-18.07 17.4q-14.96.03-29.94 0c-9.3-.03-11.48-12.56-2.99-15.23q1.41-.45 6.24-.45 14.36.01 28.74-.06.51-.01.51-.51Z"})),Pw||(Pw=d("rect",{x:66.34,y:129.52,width:259.34,height:15.72,rx:7.8})),Dw||(Dw=d("rect",{x:66.48,y:178.5,width:259.2,height:15.74,rx:7.8})),Rw||(Rw=d("rect",{x:66.35,y:227.51,width:203.38,height:15.72,rx:7.78})),Bw||(Bw=d("rect",{x:66.34,y:276.52,width:112.62,height:15.48,rx:7.61})),Lw||(Lw=d("path",{d:"M62.69 442.31c-4.05-2.49-4.18-6.83-2.39-11.05q10.01-23.68 36-26c15.84-1.42 25.16 5.95 37.55 15.52 15.22 11.75 29.77 9.57 40.42-6.61q2.43-3.69 3.4-4.47c6.74-5.44 15.31 2.52 11.07 10.33-13.5 24.83-40.22 31.34-63.03 13.98-5.31-4.04-11.55-9.66-17.25-11.65-11.66-4.09-24.89-.23-31.63 10.48-3.23 5.14-5.29 14.92-14.14 9.47Z"})))};class Fw extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Height","Width"]}}function Uw(e){const n=Ar(e,1);return d(iw,n)}class zw extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Active","Complete","Editing","ReadyToComplete","ToComplete"]}}class Vw extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ToBeCompleted","CompletedAll"]}}function Hw(e){let n,t;if(1===e.tag?(n=0,t=e.fields[2]):(n=0,t=e.fields[3]),0===n)return t}function Gw(e,n){const t=n.state;return 1===t.tag?sn(t.fields[0],e)?new zw(2):new zw(1):function(e,n,t,r){let i;switch(i=Kt(e,r,{Equals:sn,GetHashCode:tn})?sn(n,e)?1:sn(t,e)?2:3:sn(n,e)?0:sn(t,e)?2:4,i){case 0:return new zw(0);case 1:return new zw(2);case 2:return new zw(3);case 3:return new zw(1);case 4:return new zw(4)}}(e,t.fields[0],t.fields[1],t.fields[2])}function Zw(e,n,t){let r;n.dispatch((r=n.state,1===r.tag?new Xg(1,new Jg(2,e,void 0,r.fields[1],r.fields[2])):new Xg(1,new Jg(2,e,r.fields[1],r.fields[2],r.fields[3]))))}function qw(e,n){switch(n.tag){case 1:return function(e){const n=Ar(e,1);return d(hw,n)}([new Fw(0,e),new Fw(1,e)]);case 2:return function(e){const n=Ar(e,1);return d(ww,n)}([new Fw(0,e),new Fw(1,e)]);case 3:return function(e){const n=Ar(e,1);return d(Cw,n)}([new Fw(0,e),new Fw(1,e)]);case 4:return function(e){const n=Ar(e,1);return d(Sw,n)}([new Fw(0,e),new Fw(1,e)]);case 5:return null;case 6:case 8:return function(e){const n=Ar(e,1);return d(Tw,n)}([new Fw(0,e),new Fw(1,e)]);case 7:return function(e){const n=Ar(e,1);return d(Ww,n)}([new Fw(0,e),new Fw(1,e)]);default:return function(e){const n=Ar(e,1);return d(lw,n)}([new Fw(0,e),new Fw(1,e)])}}function Yw(e){const n=$r(fr((()=>{const n=Hw(e.state);return wr(Cr((t=>function(e,n,t){return d("div",dn($r(fr((()=>wr(mr(["className",vt(" ",["grid","grid-cols-12","mb-3","items-center"])]),fr((()=>{let r,i,o,s,a,c;return wr(mr((r=[d("div",dn(Gt([["className",vt(" ",["col-span-2","sm:col-span-3"])],(i=$r(fr((()=>{let r;return wr(mr(d("div",dn(Gt([["className",vt(" ",$r(fr((()=>{switch(Gw(e,n).tag){case 4:default:return mr("fl-step-tick-to-complete");case 0:return mr("fl-step-tick-active");case 1:case 2:return mr("fl-step-tick-complete-or-editing")}}))))],(r=[Uw([["className",vt(" ",$r(fr((()=>wr(mr("-mt-2"),fr((()=>wr(mr("scale-75"),fr((()=>wr(mr("inline-block"),fr((()=>{switch(Gw(e,n).tag){case 4:case 0:default:return mr("invisible");case 1:case 2:return mr("visible")}})))))))))))))]])],["children",gi.Children.toArray(Array.from(r))])])))),fr((()=>t?hr():mr(d("div",{className:vt(" ",["fl-step-tick-progress-bar"])})))))}))),["children",gi.Children.toArray(Array.from(i))])]))),d("div",dn(Gt([["className",vt(" ",["col-span-10","sm:col-span-9"])],(o=[d("button",dn(Gt([["className",vt(" ",$r(fr((()=>wr(mr("whitespace-nowrap"),fr((()=>wr(mr("border"),fr((()=>wr(mr("inline-flex"),fr((()=>wr(mr("w-full"),fr((()=>wr(mr("rounded-md"),fr((()=>wr(mr("items-center"),fr((()=>{switch(Gw(e,n).tag){case 3:case 1:return mr("fl-step-btn-ready-or-complete");case 0:case 2:return mr("fl-step-btn-active-or-editing");default:return mr(dt(lt("%s %s"))("opacity-60")("fl-step-btn-to-complete"))}}))))))))))))))))))))))],(s=[d("span",dn(Gt([["className",vt(" ",["mx-3","inline-block"])],(a=[qw(36,e)],["children",gi.Children.toArray(Array.from(a))])]))),(c=Zg(e),d("span",{children:[c]}))],["children",gi.Children.toArray(Array.from(s))])])))],["children",gi.Children.toArray(Array.from(o))])])))],["children",gi.Children.toArray(Array.from(r))])),fr((()=>sn(Gw(e,n),new zw(4))?hr():mr(["onClick",t=>{Zw(e,n)}]))))}))))))))}(t,e,sn(t,function(e){const n=function(e){e:for(;;){const n=e;if(Ot(n))return;{const t=Mt(n);if(Ot(t))return kn(Nt(n));e=t;continue e}}}(e);if(null==n)throw new Error(kt);return In(n)}(n)))),n),fr((()=>1===e.state.tag?mr(d("button",{className:vt(" ",["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:n=>{e.dispatch(new Xg(4,new Ds(0)))}})):mr(null))))})));return d("div",{children:gi.Children.toArray(Array.from(n))})}function Jw(e){return!(Lt(Hw(e.state))<=3)}function Xw(e){return Jw(e)?25:36}function Kw(e,n){return Jw(e)?wr(["text-xs"],n):n}function Qw(e){let n;return d("div",dn(Gt([["className",vt(" ",["flex","flex-row","w-full","mt-1","mb-2"])],(n=$r(fr((()=>Cr((n=>function(e,n){let t;return d("div",dn(Gt([["className",vt(" ",["grow","mx-1"])],(t=[d("button",dn($r(fr((()=>wr(mr(["className",vt(" ",$r(fr((()=>wr(mr("whitespace-nowrap"),fr((()=>wr(mr("border"),fr((()=>wr(mr("inline-flex"),fr((()=>wr(mr("items-center"),fr((()=>wr(mr("justify-center"),fr((()=>wr(mr("w-full"),fr((()=>wr(mr("rounded-md"),fr((()=>{switch(Gw(e,n).tag){case 3:case 1:return mr("fl-step-btn-ready-or-complete");case 0:case 2:return mr("fl-step-btn-active-or-editing");default:return mr(dt(lt("%s %s"))("opacity-60")("fl-step-btn-to-complete"))}})))))))))))))))))))))))))]),fr((()=>{let t,r;return wr(mr((t=[d("span",dn(Gt([["className",vt(" ",["md:mr-2","inline-block"])],(r=[qw(Xw(n),e)],["children",gi.Children.toArray(Array.from(r))])]))),d("span",{children:Zg(e),className:vt(" ",Kw(n,["hidden","md:inline-block"]))})],["children",gi.Children.toArray(Array.from(t))])),fr((()=>sn(Gw(e,n),new zw(4))?hr():mr(["onClick",t=>{Zw(e,n)}]))))}))))))))],["children",gi.Children.toArray(Array.from(t))])])))}(n,e)),Hw(e.state))))),["children",gi.Children.toArray(Array.from(n))])])))}function ev(e){let n,t,r;const i=e.dispatch,o=e.allSteps,s=e.completedSteps,a=e.readyToCompleteStep,c=e.step;return d("div",dn(Gt([["className",vt(" ",["grid","grid-cols-12","mb-1"])],(n=[d("div",{className:vt(" ",["col-span-2","ml-1","px-4","cursor-pointer"]),children:gi.Children.toArray([r$]),onClick:e=>{i(new Xg(1,function(e,n,t,r){return null==n?new Jg(3,t,r):new Jg(1,e,n,t,r)}(c,a,s,o)))}}),d("div",dn(Gt([["className",vt(" ",["col-span-8","text-center"])],(t=[(r=Zg(c),d("b",{children:[r]}))],["children",gi.Children.toArray(Array.from(t))])]))),d("div",{className:vt(" ",["col-span-2"])})],["children",gi.Children.toArray(Array.from(n))])])))}class nv extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["backend-url","access-token"]}}class tv extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["app-base-url"]}}class rv extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["workflows-instance-id"]}}function iv(e){const n=e.children,t=e.effect,r=e.props,i=e.step;return Bi(t),d(1===i.tag?rf.ComponentTagName:2===i.tag?of.ComponentTagName:3===i.tag?sf.ComponentTagName:4===i.tag?af.ComponentTagName:5===i.tag?cf.ComponentTagName:6===i.tag?uf.ComponentTagName:7===i.tag?ff.ComponentTagName:8===i.tag?df.ComponentTagName:tf.ComponentTagName,Ar(r,1),...n)}function ov(e){let n,t,r;return d("div",dn(Gt([["className",vt(" ",["text-center"])],(n=[d("h4",{className:vt(" ",["text-2xl","mb-2"]),children:"Well done!"}),d("p",dn(Gt([["className",vt(" ",["mb-2"])],(t=["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",gi.Children.toArray(Array.from(t))])]))),d("div",dn(Gt([["className",vt(" ",["w-full","sm:max-w-xs","mt-4","mx-1","mx-auto","text-left","p-3"])],(r=[d(Yw,e)],["children",gi.Children.toArray(Array.from(r))])])))],["children",gi.Children.toArray(Array.from(n))])])))}function sv(){let e,n;return d("div",dn(Gt([["className",vt(" ",["text-center"])],(e=[d("h4",{className:vt(" ",["text-2xl"]),children:"You're all set!"}),(n=Gt(["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:gi.Children.toArray(Array.from(n))}))],["children",gi.Children.toArray(Array.from(e))])])))}function av(e){let n;const t=e.accessToken,r=e.appMode,i=zo(function(e){const n=function(e,n){if("string"!=typeof e)throw new mg("Invalid token specified");var t=!0===(n=n||{}).header?0:1;try{return JSON.parse(function(e){var n=e.replace(/-/g,"+").replace(/_/g,"/");switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(hg(e).replace(/(.)/g,(function(e,n){var t=n.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0"+t),"%"+t})))}(n)}catch(e){return hg(n)}}(e.split(".")[t]))}catch(e){throw new mg("Invalid token specified: "+e.message)}}(e);return[new Kg(Hs(n.sub),Bf(n.workflow.instanceId),new Ds(0),new Jg(0),Pt(),new Vg(0)),bo()]}(t),((e,n)=>nw(t,r,e,n)),[]),o=i[0],s=i[1];switch(ji(Ls((()=>function(e,n){return function(e,n){return no.Delay((()=>{const t=Qg(n,dl(new bc(1),fl(function(e){const n=0|Lf(e);return dt(lt("%s/workflows/backend/process-instances/%i/activate"))(ya)(n)}(e))));return no.Bind(t,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{const e=n.fields[0];if(200===e.statusCode){let n;const t=cu(mn(2,Su(Jo("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.ProcessInstanceContextDto",[],Fg,(()=>[["CssOverrides",ns(rs)],["ProcessInstanceDto",Dg()],["IsBenefitsEnabled",is]])),new gl(1),void 0)),e.responseText);return n=1===t.tag?new to(1,t.fields[0]):new to(0,function(e){let n;return new Lg(e.CssOverrides,(n=Rg(e.ProcessInstanceDto),1===n.tag?(()=>{throw new Error(n.fields[0])})():n.fields[0]),e.IsBenefitsEnabled)}(t.fields[0])),no.Return(n)}return no.Return(new to(1,"Unexpected response from backend"))}}))}))}(e,n)}(o.ProcessInstanceId,t)),(e=>{s(new Xg(0,e))})),[]),ji((()=>{(window.ResizeObserver?new window.ResizeObserver((()=>{jd()})):new Dd((()=>{jd()}))).observe(document.body)}),[]),ji((()=>{const e=[o.ProcessInstance,o.CurrentView];let n;switch(n=2===e[0].tag?2!==e[1].tag||4!==e[1].fields[0].tag&&5!==e[1].fields[0].tag?1:0:2,n){case 0:case 2:break;case 1:ha(Rt(ka(r)),2,2)}}),[o.CurrentView,o.ProcessInstance]),Bi((()=>{window.addEventListener("step-completion",(e=>{s(new Xg(2,e))}))})),o.ProcessInstance.tag){case 1:default:return d("div",{children:["Please wait..."]});case 3:case 2:return d("div",dn(Gt([["className",vt(" ",["max-w-7xl","mx-auto","pb-2"])],(n=$r(fr((()=>wr(Cr((e=>d("style",{children:[e]})),o.CssOverrides),fr((()=>{let e,n,i,a;const c=o.CurrentView;switch(c.tag){case 1:{const n=c.fields[0],t=c.fields[1],r=c.fields[2],i=c.fields[3];return wr(mr(d("div",dn(Gt([["className",vt(" ",["w-full","sm:max-w-xs","mt-4","mx-1","mx-auto","px-4","sm:px-0"])],(e=[d(Yw,{dispatch:s,state:null==t?new Vw(1,n,r,i):new Vw(0,n,t,r,i)})],["children",gi.Children.toArray(Array.from(e))])])))),fr((()=>(Fd(0),hr()))))}case 2:{const e=c.fields[0],i=c.fields[1],a=c.fields[2],l=c.fields[3];return mr((n=$r(fr((()=>{let n;return wr(Lt(l)>1?mr(d("div",dn(Gt([["className",vt(" ",["pt-2","relative"])],(n=[d(ev,{step:e,readyToCompleteStep:i,completedSteps:a,allSteps:l,dispatch:s}),d(Qw,{dispatch:s,state:null==i?new Vw(1,e,a,l):new Vw(0,e,i,a,l)})],["children",gi.Children.toArray(Array.from(n))])])))):hr(),fr((()=>{let n,i;return mr(d("div",dn(Gt([["className",vt(" ",["grid","grid-cols-12","px-1"])],(n=[d("div",dn(Gt([["className",vt(" ",["bg-white","col-span-12","rounded-md","border","p-3"])],(i=$r(fr((()=>4===e.tag?mr(d(iv,{step:new zg(4),props:[new nv(1,t),new nv(0,dt(lt("%s/super-selection/backend/v1.0/"))(ya)),new tv(0,ka(r))],effect:()=>{s(new Xg(6)),Fd(2500)},children:[]})):mr(d(iv,{step:e,props:[new nv(1,t),new nv(0,ya),new rv(0,Je(Lf(o.ProcessInstanceId)))],effect:()=>{Fd(1500)},children:[]}))))),["children",gi.Children.toArray(Array.from(i))])])))],["children",gi.Children.toArray(Array.from(n))])]))))})))}))),d("div",{children:gi.Children.toArray(Array.from(n))})))}case 3:return wr(mr(d("div",dn(Gt([["className",vt(" ",["pt-5","px-4"])],(i=[d(ov,{dispatch:s,state:new Vw(1,void 0,c.fields[0],c.fields[1])})],["children",gi.Children.toArray(Array.from(i))])])))),fr((()=>(Fd(0),hr()))));case 4:return wr(mr(d("div",{className:vt(" ",["text-center","mt-5"]),children:"We had an issue. Please try again shortly."})),fr((()=>(Fd(0),hr()))));case 5:return mr(d("div",dn(Gt([["className",vt(" ",["mt-5","px-4"])],(a=[d(sv,null)],["children",gi.Children.toArray(Array.from(a))])]))));default:return mr(d("div",{children:["Please wait..."]}))}})))))),["children",gi.Children.toArray(Array.from(n))])])))}}class cv extends yn{constructor(e,n,t){super(),this.model=e,this.render=n,this.equal=t}}class lv extends p{constructor(e){super(e)}shouldComponentUpdate(e,n){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}function uv(e,n){const t=encodeURIComponent(n.fields[0]),r=encodeURIComponent(_a),i=encodeURIComponent((o=new xa(0),`${window.location.protocol}//${window.location.host}${ka(o)}`));var o;return no.Delay((()=>{let e,n,o;const s=pl((n=dl(new bc(1),fl(`${va}/connect/token`)),e=hl(cl("application/x-www-form-urlencoded"),n),ml(new _c(1,`grant_type=authorization_code&code=${t}&client_id=${r}&redirect_uri=${i}`),e)));return o=no.Bind(s,(e=>no.Return(new to(0,e)))),no.Bind(o,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{const e=n.fields[0];if(200===e.statusCode){const n=cu(mn(2,Su(V$(),void 0,void 0)),e.responseText);return no.Return(n)}return no.Return(new to(1,"Unexpected result from backend"))}}))}))}function fv(e){return mo(e)}function dv(e,n){return no.Delay((()=>{let e;return no.Bind((r=[(e=uv(0,n),no.Bind(e,(e=>no.Return(e)))),no.Delay((()=>no.Bind(fv(2e3),(()=>no.Return()))))],t=()=>function(e){return ho((n=>e.then(n[0]).catch((e=>(e instanceof Ki?n[2]:n[1])(e)))))}(Promise.all(Array.from(r,(e=>{return n=e,new Promise(((e,r)=>$o(n,e,r,r,t||uo)));var n,t})))),eo((e=>t()(e)))),(e=>no.Return(e[0])));var t,r}))}function hv(){const e=Sn(window.sessionStorage.getItem("credentials"));if(null!=e){const n=e,t=cu(mn(2,Su(V$(),void 0,void 0)),n);return 1===t.tag?void 0:t.fields[0]}}function mv(e,n){return Co((e=>new ug(3,e)),ko(new H$(0,new N$(0),e,n)))}function pv(e){return mv(e,!1)}const $v=d("div",dn(Gt([["className","flex flex-col justify-center items-center pt-10"],(()=>{const e=[qi()];return["children",gi.Children.toArray(Array.from(e))]})()])));var gv;!function(e){Bo(void 0,e)}(("workflows-app",gv=Do((function(){const e=cg(ma(window.location.pathname+window.location.search,2)),n=e[0],t=e[1],r=new lg(n,new T$(0),t);switch(n.tag){case 4:case 1:case 2:case 5:case 6:return[r,bo()];case 0:{const e=[t,hv()];let n;switch(n=0===e[0].tag||2===e[0].tag||null==e[1]?1:0,n){case 0:return[new lg(r.CurrentPage,new T$(2,new to(0,e[1])),r.AppMode),bo()];case 1:return[r,ko(new ug(5))]}}default:return[r,pv(n.fields[0])]}}),(function(e,n){switch(e.tag){case 1:{const t=e.fields[0];return[new lg(new sg(3,t),n.Credentials,n.AppMode),pv(t)]}case 2:return[new lg(new sg(4),n.Credentials,n.AppMode),Co((e=>new ug(3,e)),ko(new H$(1)))];case 3:{const t=function(e,n,t){let r;return 1===e.tag?1===n.tag?[n,So((e=>{Ao(e)}),fv,1e3,(()=>new H$(1)))]:2===n.tag?1===n.fields[0].tag?[n,bo()]:[n,So((e=>{Ao(e)}),fv,2e3,(()=>new H$(2)))]:[new T$(2,new to(1,"No current authenticated user")),bo()]:2===e.tag?[n,(r=window.location.pathname,xo((e=>{ha(Rt(r),1,2)})))]:1===e.fields[0].tag?1===e.fields[0].fields[0].tag?[new T$(2,new to(1,`SignIn failed: ${e.fields[0].fields[0].fields[0]}`)),bo()]:(window.gtag&&window.gtag("event","oidc_sign_in",{}),[new T$(2,new to(0,e.fields[0].fields[0].fields[0])),e.fields[2]?bo():ko(new H$(2))]):[new T$(1),Io((e=>{Ao(e)}),(e=>dv(e[0],e[1])),[t,e.fields[1]],(n=>{const t=[new N$(1,n),e.fields[1],e.fields[2]];return new H$(0,t[0],t[1],t[2])}),(n=>{const t=[new N$(1,new to(1,n.message)),e.fields[1],e.fields[2]];return new H$(0,t[0],t[1],t[2])}))]}(e.fields[0],n.Credentials,n.AppMode),r=t[0],i=[r,n.AppMode];let o,s;return 2===i[0].tag&&0===i[0].fields[0].tag&&1===i[1].tag?(o=0,s=i[0].fields[0].fields[0]):o=1,0===o&&function(e){let n;const t=["credentials",(n=new z$(e.id_token,e.access_token,e.expires_in,void 0,e.scope,e.token_type),Du(0,Lu(V$(),void 0,void 0,void 0)(n)))];window.sessionStorage.setItem(t[0],t[1])}(s),[new lg(n.CurrentPage,r,n.AppMode),Co((e=>new ug(3,e)),t[1])]}case 4:return[n,(t=e.fields[0],mv(t,!0))];case 5:return[new lg(new sg(6),n.Credentials,n.AppMode),bo()];default:{const t=cg(e.fields[0])[0],r=new lg(t,n.Credentials,n.AppMode);return 3===t.tag?[r,pv(t.fields[0])]:[r,bo()]}}var t}),(function(e,n){let t;const r=d("div",dn(Gt([["className",vt(" ",$r(fr((()=>wr(mr("workflows-app"),fr((()=>wr(mr("font-inter"),fr((()=>function(e){switch(e.CurrentPage.tag){case 1:case 5:case 6:default:return Pt();case 3:case 4:case 2:return Gt(["bg-white","h-full"])}}(e)))))))))))],(t=$r(fr((()=>wr(mr(function(e){switch(e.tag){case 0:default:return null;case 1:return d("style",{children:["\n html {\n height: 100%;\n }\n body {\n height: 100%;\n }\n #workflows-app {\n height: 100%;\n }"]})}}(e.AppMode)),fr((()=>{const t=e.CurrentPage;switch(t.tag){case 3:case 4:{const n=e.Credentials;let t;switch(t=2===n.tag&&1===n.fields[0].tag?0:1,t){case 0:return mr($v);case 1:return mr(d(Ji,null))}}case 1:return mr(d(s$,{inviteCode:t.fields[0]}));case 2:return mr(d(og,{inviteCode:t.fields[0],navigateAuthCodeExchangePage:e=>{n(null==e?new ug(2):new ug(1,e))},startAuthCodeExchangeBackground:e=>{n(new ug(4,e))}}));case 5:return mr(d("h1",{children:["Not found"]}));case 6:return mr(d(fg,null));default:{const n=e.Credentials;let t,r;switch(2===n.tag&&0===n.fields[0].tag?(t=0,r=n.fields[0].fields[0]):t=1,t){case 0:return mr(d(av,{appMode:e.AppMode,accessToken:r.access_token}));case 1:return mr($v)}}}})))))),["children",gi.Children.toArray(Array.from(t))])])));return pa({hashMode:2,onUrlChanged:e=>{n(new ug(0,e))},application:d(m,{},r)})})),function(e,n,t){return Ro(((r,i)=>{Ie(e((e=>n=>e===n),function(e){return $n(2,e.view)}(t),r,i),document.getElementById(n))}),t)}(((e,n,t,r)=>function(e,n,t,r){const i=new cv(t,(()=>n(t,r)),e);return d(lv,i)}(mn(2,e),mn(2,n),t,r)),"workflows-app",gv)))})()})();
|
|
2
|
+
(()=>{var e={694:(e,n,t)=>{"use strict";var r=t(925);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,n,t,i,o,s){if(s!==r){var a=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 a.name="Invariant Violation",a}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:o,resetWarningCache:i};return t.PropTypes=t,t}},556:(e,n,t)=>{e.exports=t(694)()},925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},n={};function t(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={exports:{}};return e[r](o,o.exports,t),o.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{"use strict";var e,n,r,i,o,s,a={},c=[],l=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function u(e,n){for(var t in n)e[t]=n[t];return e}function f(e){var n=e.parentNode;n&&n.removeChild(e)}function d(n,t,r){var i,o,s,a={};for(s in t)"key"==s?i=t[s]:"ref"==s?o=t[s]:a[s]=t[s];if(arguments.length>2&&(a.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof n&&null!=n.defaultProps)for(s in n.defaultProps)void 0===a[s]&&(a[s]=n.defaultProps[s]);return h(n,a,i,o,null)}function h(e,t,i,o,s){var a={type:e,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==s?++r:s};return null==s&&null!=n.vnode&&n.vnode(a),a}function m(e){return e.children}function p(e,n){this.props=e,this.context=n}function $(e,n){if(null==n)return e.__?$(e.__,e.__.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?$(e):null}function g(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return g(e)}}function w(e){(!e.__d&&(e.__d=!0)&&i.push(e)&&!v.__r++||o!==n.debounceRendering)&&((o=n.debounceRendering)||setTimeout)(v)}function v(){for(var e;v.__r=i.length;)e=i.sort((function(e,n){return e.__v.__b-n.__v.__b})),i=[],e.some((function(e){var n,t,r,i,o,s;e.__d&&(o=(i=(n=e).__v).__e,(s=n.__P)&&(t=[],(r=u({},i)).__v=i.__v+1,A(s,i,r,n.__n,void 0!==s.ownerSVGElement,null!=i.__h?[o]:null,t,null==o?$(i):o,i.__h),E(t,i),i.__e!=o&&g(i)))}))}function y(e,n,t,r,i,o,s,l,u,f){var d,p,g,w,v,y,C,x=r&&r.__k||c,k=x.length;for(t.__k=[],d=0;d<n.length;d++)if(null!=(w=t.__k[d]=null==(w=n[d])||"boolean"==typeof w?null:"string"==typeof w||"number"==typeof w||"bigint"==typeof w?h(null,w,null,null,w):Array.isArray(w)?h(m,{children:w},null,null,null):w.__b>0?h(w.type,w.props,w.key,null,w.__v):w)){if(w.__=t,w.__b=t.__b+1,null===(g=x[d])||g&&w.key==g.key&&w.type===g.type)x[d]=void 0;else for(p=0;p<k;p++){if((g=x[p])&&w.key==g.key&&w.type===g.type){x[p]=void 0;break}g=null}A(e,w,g=g||a,i,o,s,l,u,f),v=w.__e,(p=w.ref)&&g.ref!=p&&(C||(C=[]),g.ref&&C.push(g.ref,null,w),C.push(p,w.__c||v,w)),null!=v?(null==y&&(y=v),"function"==typeof w.type&&w.__k===g.__k?w.__d=u=b(w,u,e):u=_(e,w,g,x,v,u),"function"==typeof t.type&&(t.__d=u)):u&&g.__e==u&&u.parentNode!=e&&(u=$(g))}for(t.__e=y,d=k;d--;)null!=x[d]&&("function"==typeof t.type&&null!=x[d].__e&&x[d].__e==t.__d&&(t.__d=$(r,d+1)),N(x[d],x[d]));if(C)for(d=0;d<C.length;d++)T(C[d],C[++d],C[++d])}function b(e,n,t){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,n="function"==typeof r.type?b(r,n,t):_(t,r,r,i,r.__e,n));return n}function C(e,n){return n=n||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){C(e,n)})):n.push(e)),n}function _(e,n,t,r,i,o){var s,a,c;if(void 0!==n.__d)s=n.__d,n.__d=void 0;else if(null==t||i!=o||null==i.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(i),s=null;else{for(a=o,c=0;(a=a.nextSibling)&&c<r.length;c+=2)if(a==i)break e;e.insertBefore(i,o),s=o}return void 0!==s?s:i.nextSibling}function x(e,n,t){"-"===n[0]?e.setProperty(n,t):e[n]=null==t?"":"number"!=typeof t||l.test(n)?t:t+"px"}function k(e,n,t,r,i){var o;e:if("style"===n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(n in r)t&&n in t||x(e.style,n,"");if(t)for(n in t)r&&t[n]===r[n]||x(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])o=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+o]=t,t?r||e.addEventListener(n,o?S:I,o):e.removeEventListener(n,o?S:I,o);else if("dangerouslySetInnerHTML"!==n){if(i)n=n.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&n in e)try{e[n]=null==t?"":t;break e}catch(e){}"function"==typeof t||(null!=t&&(!1!==t||"a"===n[0]&&"r"===n[1])?e.setAttribute(n,t):e.removeAttribute(n))}}function I(e){this.l[e.type+!1](n.event?n.event(e):e)}function S(e){this.l[e.type+!0](n.event?n.event(e):e)}function A(e,t,r,i,o,s,a,c,l){var f,d,h,$,g,w,v,b,C,_,x,k,I,S=t.type;if(void 0!==t.constructor)return null;null!=r.__h&&(l=r.__h,c=t.__e=r.__e,t.__h=null,s=[c]),(f=n.__b)&&f(t);try{e:if("function"==typeof S){if(b=t.props,C=(f=S.contextType)&&i[f.__c],_=f?C?C.props.value:f.__:i,r.__c?v=(d=t.__c=r.__c).__=d.__E:("prototype"in S&&S.prototype.render?t.__c=d=new S(b,_):(t.__c=d=new p(b,_),d.constructor=S,d.render=M),C&&C.sub(d),d.props=b,d.state||(d.state={}),d.context=_,d.__n=i,h=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=S.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=u({},d.__s)),u(d.__s,S.getDerivedStateFromProps(b,d.__s))),$=d.props,g=d.state,h)null==S.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==S.getDerivedStateFromProps&&b!==$&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(b,_),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(b,d.__s,_)||t.__v===r.__v){d.props=b,d.state=d.__s,t.__v!==r.__v&&(d.__d=!1),d.__v=t,t.__e=r.__e,t.__k=r.__k,t.__k.forEach((function(e){e&&(e.__=t)})),d.__h.length&&a.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(b,d.__s,_),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate($,g,w)}))}if(d.context=_,d.props=b,d.__v=t,d.__P=e,x=n.__r,k=0,"prototype"in S&&S.prototype.render)d.state=d.__s,d.__d=!1,x&&x(t),f=d.render(d.props,d.state,d.context);else do{d.__d=!1,x&&x(t),f=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++k<25);d.state=d.__s,null!=d.getChildContext&&(i=u(u({},i),d.getChildContext())),h||null==d.getSnapshotBeforeUpdate||(w=d.getSnapshotBeforeUpdate($,g)),I=null!=f&&f.type===m&&null==f.key?f.props.children:f,y(e,Array.isArray(I)?I:[I],t,r,i,o,s,a,c,l),d.base=t.__e,t.__h=null,d.__h.length&&a.push(d),v&&(d.__E=d.__=null),d.__e=!1}else null==s&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=O(r.__e,t,r,i,o,s,a,l);(f=n.diffed)&&f(t)}catch(e){t.__v=null,(l||null!=s)&&(t.__e=c,t.__h=!!l,s[s.indexOf(c)]=null),n.__e(e,t,r)}}function E(e,t){n.__c&&n.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){n.__e(e,t.__v)}}))}function O(n,t,r,i,o,s,c,l){var u,d,h,m=r.props,p=t.props,g=t.type,w=0;if("svg"===g&&(o=!0),null!=s)for(;w<s.length;w++)if((u=s[w])&&"setAttribute"in u==!!g&&(g?u.localName===g:3===u.nodeType)){n=u,s[w]=null;break}if(null==n){if(null===g)return document.createTextNode(p);n=o?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,p.is&&p),s=null,l=!1}if(null===g)m===p||l&&n.data===p||(n.data=p);else{if(s=s&&e.call(n.childNodes),d=(m=r.props||a).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!l){if(null!=s)for(m={},w=0;w<n.attributes.length;w++)m[n.attributes[w].name]=n.attributes[w].value;(h||d)&&(h&&(d&&h.__html==d.__html||h.__html===n.innerHTML)||(n.innerHTML=h&&h.__html||""))}if(function(e,n,t,r,i){var o;for(o in t)"children"===o||"key"===o||o in n||k(e,o,null,t[o],r);for(o in n)i&&"function"!=typeof n[o]||"children"===o||"key"===o||"value"===o||"checked"===o||t[o]===n[o]||k(e,o,n[o],t[o],r)}(n,p,m,o,l),h)t.__k=[];else if(w=t.props.children,y(n,Array.isArray(w)?w:[w],t,r,i,o&&"foreignObject"!==g,s,c,s?s[0]:r.__k&&$(r,0),l),null!=s)for(w=s.length;w--;)null!=s[w]&&f(s[w]);l||("value"in p&&void 0!==(w=p.value)&&(w!==n.value||"progress"===g&&!w||"option"===g&&w!==m.value)&&k(n,"value",w,m.value,!1),"checked"in p&&void 0!==(w=p.checked)&&w!==n.checked&&k(n,"checked",w,m.checked,!1))}return n}function T(e,t,r){try{"function"==typeof e?e(t):e.current=t}catch(e){n.__e(e,r)}}function N(e,t,r){var i,o;if(n.unmount&&n.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||T(i,null,t)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){n.__e(e,t)}i.base=i.__P=null}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&N(i[o],t,"function"!=typeof e.type);r||null==e.__e||f(e.__e),e.__e=e.__d=void 0}function M(e,n,t){return this.constructor(e,t)}function P(t,r,i){var o,s,c;n.__&&n.__(t,r),s=(o="function"==typeof i)?null:i&&i.__k||r.__k,c=[],A(r,t=(!o&&i||r).__k=d(m,null,[t]),s||a,a,void 0!==r.ownerSVGElement,!o&&i?[i]:s?null:r.firstChild?e.call(r.childNodes):null,c,!o&&i?i:s?s.__e:r.firstChild,o),E(c,t)}function D(e,n){P(e,n,D)}function R(n,t,r){var i,o,s,a=u({},n.props);for(s in t)"key"==s?i=t[s]:"ref"==s?o=t[s]:a[s]=t[s];return arguments.length>2&&(a.children=arguments.length>3?e.call(arguments,2):r),h(n.type,a,i||n.key,o||n.ref,null)}e=c.slice,n={__e:function(e,n,t,r){for(var i,o,s;n=n.__;)if((i=n.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),s=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),s=i.__d),s)return i.__E=i}catch(n){e=n}throw e}},r=0,p.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=u({},this.state),"function"==typeof e&&(e=e(u({},t),this.props)),e&&u(t,e),null!=e&&this.__v&&(n&&this.__h.push(n),w(this))},p.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),w(this))},p.prototype.render=m,i=[],v.__r=0,s=0;var B,L,j,W,F=0,U=[],z=[],V=n.__b,H=n.__r,G=n.diffed,Z=n.__c,q=n.unmount;function Y(e,t){n.__h&&n.__h(L,e,F||t),F=0;var r=L.__H||(L.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:z}),r.__[e]}function J(e){return F=1,X(se,e)}function X(e,n,t){var r=Y(B++,2);if(r.t=e,!r.__c&&(r.__=[t?t(n):se(void 0,n),function(e){var n=r.__N?r.__N[0]:r.__[0],t=r.t(n,e);n!==t&&(r.__N=[t,r.__[1]],r.__c.setState({}))}],r.__c=L,!L.u)){L.u=!0;var i=L.shouldComponentUpdate;L.shouldComponentUpdate=function(e,n,t){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,n,t);var s=!1;return o.forEach((function(e){if(e.__N){var n=e.__[0];e.__=e.__N,e.__N=void 0,n!==e.__[0]&&(s=!0)}})),!!s&&(!i||i.call(this,e,n,t))}}return r.__N||r.__}function K(e,t){var r=Y(B++,3);!n.__s&&oe(r.__H,t)&&(r.__=e,r.i=t,L.__H.__h.push(r))}function Q(e,t){var r=Y(B++,4);!n.__s&&oe(r.__H,t)&&(r.__=e,r.i=t,L.__h.push(r))}function ee(e,n){var t=Y(B++,7);return oe(t.__H,n)?(t.__V=e(),t.i=n,t.__h=e,t.__V):t.__}function ne(){for(var e;e=U.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(re),e.__H.__h.forEach(ie),e.__H.__h=[]}catch(t){e.__H.__h=[],n.__e(t,e.__v)}}n.__b=function(e){L=null,V&&V(e)},n.__r=function(e){H&&H(e),B=0;var n=(L=e.__c).__H;n&&(j===L?(n.__h=[],L.__h=[],n.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=z,e.__N=e.i=void 0}))):(n.__h.forEach(re),n.__h.forEach(ie),n.__h=[])),j=L},n.diffed=function(e){G&&G(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==U.push(t)&&W===n.requestAnimationFrame||((W=n.requestAnimationFrame)||function(e){var n,t=function(){clearTimeout(r),te&&cancelAnimationFrame(n),setTimeout(e)},r=setTimeout(t,100);te&&(n=requestAnimationFrame(t))})(ne)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==z&&(e.__=e.__V),e.i=void 0,e.__V=z}))),j=L=null},n.__c=function(e,t){t.some((function(e){try{e.__h.forEach(re),e.__h=e.__h.filter((function(e){return!e.__||ie(e)}))}catch(r){t.some((function(e){e.__h&&(e.__h=[])})),t=[],n.__e(r,e.__v)}})),Z&&Z(e,t)},n.unmount=function(e){q&&q(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{re(e)}catch(e){t=e}})),t&&n.__e(t,r.__v))};var te="function"==typeof requestAnimationFrame;function re(e){var n=L,t=e.__c;"function"==typeof t&&(e.__c=void 0,t()),L=n}function ie(e){var n=L;e.__c=e.__(),L=n}function oe(e,n){return!e||e.length!==n.length||n.some((function(n,t){return n!==e[t]}))}function se(e,n){return"function"==typeof n?n(e):n}function ae(e,n){for(var t in n)e[t]=n[t];return e}function ce(e,n){for(var t in e)if("__source"!==t&&!(t in n))return!0;for(var r in n)if("__source"!==r&&e[r]!==n[r])return!0;return!1}function le(e){this.props=e}(le.prototype=new p).isPureReactComponent=!0,le.prototype.shouldComponentUpdate=function(e,n){return ce(this.props,e)||ce(this.state,n)};var ue=n.__b;n.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ue&&ue(e)};var fe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,de=function(e,n){return null==e?null:C(C(e).map(n))},he={map:de,forEach:de,count:function(e){return e?C(e).length:0},only:function(e){var n=C(e);if(1!==n.length)throw"Children.only";return n[0]},toArray:C},me=n.__e;n.__e=function(e,n,t,r){if(e.then)for(var i,o=n;o=o.__;)if((i=o.__c)&&i.__c)return null==n.__e&&(n.__e=t.__e,n.__k=t.__k),i.__c(e,n);me(e,n,t,r)};var pe=n.unmount;function $e(){this.__u=0,this.t=null,this.__b=null}function ge(e){var n=e.__.__c;return n&&n.__a&&n.__a(e)}function we(){this.u=null,this.o=null}n.unmount=function(e){var n=e.__c;n&&n.__R&&n.__R(),n&&!0===e.__h&&(e.type=null),pe&&pe(e)},($e.prototype=new p).__c=function(e,n){var t=n.__c,r=this;null==r.t&&(r.t=[]),r.t.push(t);var i=ge(r.__v),o=!1,s=function(){o||(o=!0,t.__R=null,i?i(a):a())};t.__R=s;var a=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=function e(n,t,r){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map((function(n){return e(n,t,r)})),n.__c&&n.__c.__P===t&&(n.__e&&r.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=r)),n}(e,e.__c.__P,e.__c.__O)}var n;for(r.setState({__a:r.__b=null});n=r.t.pop();)n.forceUpdate()}},c=!0===n.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},$e.prototype.componentWillUnmount=function(){this.t=[]},$e.prototype.render=function(e,n){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(n,t,r){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),n.__c.__H=null),null!=(n=ae({},n)).__c&&(n.__c.__P===r&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map((function(n){return e(n,t,r)}))),n}(this.__b,t,r.__O=r.__P)}this.__b=null}var i=n.__a&&d(m,null,e.fallback);return i&&(i.__h=null),[d(m,null,n.__a?null:e.children),i]};var ve=function(e,n,t){if(++t[1]===t[0]&&e.o.delete(n),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(t=e.u;t;){for(;t.length>3;)t.pop()();if(t[1]<t[0])break;e.u=t=t[2]}};function ye(e){return this.getChildContext=function(){return e.context},e.children}function be(e){var n=this,t=e.i;n.componentWillUnmount=function(){P(null,n.l),n.l=null,n.i=null},n.i&&n.i!==t&&n.componentWillUnmount(),e.__v?(n.l||(n.i=t,n.l={nodeType:1,parentNode:t,childNodes:[],appendChild:function(e){this.childNodes.push(e),n.i.appendChild(e)},insertBefore:function(e,t){this.childNodes.push(e),n.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),n.i.removeChild(e)}}),P(d(ye,{context:n.context},e.__v),n.l)):n.l&&n.componentWillUnmount()}(we.prototype=new p).__a=function(e){var n=this,t=ge(n.__v),r=n.o.get(e);return r[0]++,function(i){var o=function(){n.props.revealOrder?(r.push(i),ve(n,e,r)):i()};t?t(o):o()}},we.prototype.render=function(e){this.u=null,this.o=new Map;var n=C(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&n.reverse();for(var t=n.length;t--;)this.o.set(n[t],this.u=[1,0,this.u]);return e.children},we.prototype.componentDidUpdate=we.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(n,t){ve(e,t,n)}))};var Ce="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,_e=/^(?: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]/,xe="undefined"!=typeof document,ke=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function Ie(e,n,t){return null==n.__k&&(n.textContent=""),P(e,n),"function"==typeof t&&t(),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(n){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:n})}})}));var Se=n.event;function Ae(){}function Ee(){return this.cancelBubble}function Oe(){return this.defaultPrevented}n.event=function(e){return Se&&(e=Se(e)),e.persist=Ae,e.isPropagationStopped=Ee,e.isDefaultPrevented=Oe,e.nativeEvent=e};var Te,Ne={configurable:!0,get:function(){return this.class}},Me=n.vnode;n.vnode=function(e){var n=e.type,t=e.props,r=t;if("string"==typeof n){var i=-1===n.indexOf("-");for(var o in r={},t){var s=t[o];xe&&"children"===o&&"noscript"===n||"value"===o&&"defaultValue"in t&&null==s||("defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===s?s="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+n)&&!ke(t.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&&_e.test(o)?o=o.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===s&&(s=void 0),/^oninput$/i.test(o)&&(o=o.toLowerCase(),r[o]&&(o="oninputCapture")),r[o]=s)}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=C(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=C(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,t.class!=t.className&&(Ne.enumerable="className"in t,null!=t.className&&(r.class=t.className),Object.defineProperty(r,"className",Ne))}e.$$typeof=Ce,Me&&Me(e)};var Pe=n.__r;n.__r=function(e){Pe&&Pe(e),Te=e.__c};var De={ReactCurrentDispatcher:{current:{readContext:function(e){return Te.__n[e.__c].props.value}}}};function Re(e){return!!e&&e.$$typeof===Ce}function Be(e){e()}const Le={useState:J,useReducer:X,useEffect:K,useLayoutEffect:Q,useInsertionEffect:Q,useTransition:function(){return[!1,Be]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,n){var t=n(),r=J({s:{__:t,h:n}}),i=r[0].s,o=r[1];return Q((function(){i.__=t,i.h=n,i.__!==n()&&o({s:i})}),[e,t,n]),K((function(){return i.__!==i.h()&&o({s:i}),e((function(){i.__!==i.h()&&o({s:i})}))}),[e]),t},startTransition:Be,useRef:function(e){return F=5,ee((function(){return{current:e}}),[])},useImperativeHandle:function(e,n,t){F=6,Q((function(){return"function"==typeof e?(e(n()),function(){return e(null)}):e?(e.current=n(),function(){return e.current=null}):void 0}),null==t?t:t.concat(e))},useMemo:ee,useCallback:function(e,n){return F=8,ee((function(){return e}),n)},useContext:function(e){var n=L.context[e.__c],t=Y(B++,9);return t.c=e,n?(null==t.__&&(t.__=!0,n.sub(L)),n.props.value):e.__},useDebugValue:function(e,t){n.useDebugValue&&n.useDebugValue(t?t(e):e)},version:"17.0.2",Children:he,render:Ie,hydrate:function(e,n,t){return D(e,n),"function"==typeof t&&t(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(P(null,e),!0)},createPortal:function(e,n){var t=d(be,{__v:e,i:n});return t.containerInfo=n,t},createElement:d,createContext:function(e,n){var t={__c:n="__cC"+s++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var t,r;return this.getChildContext||(t=[],(r={})[n]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some(w)},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Provider.__=t.Consumer.contextType=t},createFactory:function(e){return d.bind(null,e)},cloneElement:function(e){return Re(e)?R.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:m,isValidElement:Re,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:p,PureComponent:le,memo:function(e,n){function t(e){var t=this.props.ref,r=t==e.ref;return!r&&t&&(t.call?t(null):t.current=null),n?!n(this.props,e)||!r:ce(this.props,e)}function r(n){return this.shouldComponentUpdate=t,d(e,n)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function n(n){var t=ae({},n);return delete t.ref,e(t,n.ref||null)}return n.$$typeof=fe,n.render=n,n.prototype.isReactComponent=n.__f=!0,n.displayName="ForwardRef("+(e.displayName||e.name)+")",n},flushSync:function(e,n){return e(n)},unstable_batchedUpdates:function(e,n){return e(n)},StrictMode:m,Suspense:$e,SuspenseList:we,lazy:function(e){var n,t,r;function i(i){if(n||(n=e()).then((function(e){t=e.default||e}),(function(e){r=e})),r)throw r;if(!t)throw n;return d(t,i)}return i.displayName="Lazy",i.__f=!0,i},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:De};function je(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function We(e){return"function"==typeof e.GetHashCode}function Fe(e){return null!=e&&"function"==typeof e.Dispose}function Ue(e){Fe(e)&&e.Dispose()}function ze(e,n){var t,r;return(null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor)===(null===(r=Object.getPrototypeOf(n))||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 He(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new Ve(e[Symbol.iterator]())}function Ge(e){return{[Symbol.iterator](){return this},next(){const n=e["System.Collections.IEnumerator.MoveNext"]();return{done:!n,value:n?e["System.Collections.IEnumerator.get_Current"]():void 0}}}}class Ze{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 qe(e,n){let t=e.toString(10);for(;t.length<n;)t="0"+t;return t}function Ye(e){const n=e;return"number"==typeof n.offset?n.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}function Je(e,n){return(e=e<0&&null!=n&&10!==n?4294967295+e+1:e).toString(n)}class Xe{static id(e){return Xe.idMap.has(e)||Xe.idMap.set(e,++Xe.count),Xe.idMap.get(e)}}function Ke(e){let n=0,t=5381;const r=e.length;for(;n<r;)t=33*t^e.charCodeAt(n++);return t}function Qe(e){return 2654435761*e|0}function en(e){return 0===e.length?0:e.reduce(((e,n)=>(e<<5)+e^n))}function nn(e){var n;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(We(e))return e.GetHashCode();if(je(e))return function(e){const n=e.length,t=new Array(n);for(let r=0;r<n;r++)t[r]=nn(e[r]);return en(t)}(e);if(e instanceof Date)return function(e){return e.getTime()}(e);if((null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===Object){const n=Object.values(e).map((e=>nn(e)));return en(n)}return Qe(Xe.id(e))}}function tn(e){return null==e?0:We(e)?e.GetHashCode():Qe(Xe.id(e))}function rn(e,n,t){if(null==e)return null==n;if(null==n)return!1;if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++)if(!t(e[r],n[r]))return!1;return!0}function on(e,n){return rn(e,n,sn)}function sn(e,n){var t;return e===n||(null==e?null==n:null!=n&&"object"==typeof e&&(function(e){return"function"==typeof e.Equals}(e)?e.Equals(n):je(e)?je(n)&&on(e,n):e instanceof Date?n instanceof Date&&0===an(e,n):(null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor)===Object&&function(e,n){const t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;t.sort(),r.sort();for(let i=0;i<t.length;i++)if(t[i]!==r[i]||!sn(e[t[i]],n[r[i]]))return!1;return!0}(e,n)))}function an(e,n){let t,r;return"offset"in e&&"offset"in n?(t=e.getTime(),r=n.getTime()):(t=e.getTime()+Ye(e),r=n.getTime()+Ye(n)),t===r?0:t<r?-1:1}function cn(e,n){return e===n?0:e<n?-1:1}function ln(e,n){return function(e,n,t){if(null==e)return null==n?0:1;if(null==n)return-1;if(e.length!==n.length)return e.length<n.length?-1:1;for(let r=0,i=0;r<e.length;r++)if(i=t(e[r],n[r]),0!==i)return i;return 0}(e,n,un)}function un(e,n){var t;return e===n?0:null==e?null==n?0:-1:null==n?1:"object"!=typeof e?e<n?-1:1:function(e){return"function"==typeof e.CompareTo}(e)?e.CompareTo(n):je(e)?je(n)?ln(e,n):-1:e instanceof Date?n instanceof Date?an(e,n):-1:(null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor)===Object?function(e,n){const t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return t.length<r.length?-1:1;t.sort(),r.sort();for(let i=0,o=0;i<t.length;i++){const s=t[i];if(s!==r[i])return s<r[i]?-1:1;if(o=un(e[s],n[s]),0!==o)return o}return 0}(e,n):-1}function fn(e,n,t){return e(n,t)>0?n:t}function dn(e){const n={};for(const t of e)n[t[0]]=t[1];return n}Xe.idMap=new WeakMap,Xe.count=0;const hn=Symbol("curried");function mn(e,n){if(null==n||n.length>1)return n;const t=(...t)=>{let r=n;for(let n=0;n<e;n++)r=r(t[n]);return r};return t[hn]=n,t}function pn(e,n,t){return r=>1===n?t(...e.concat([r])):pn(e.concat([r]),n-1,t)}function $n(e,n){return null==n||1===n.length?n:hn in n?n[hn]:pn([],e,n)}function gn(e,n,t){if(null!=n){if(hn in n){n=n[hn];for(let e=0;e<t.length;e++)n=n(t[e]);return n}return pn(t,e,n)}}function wn(e,n=0){var t,r;if(null!=e&&"object"==typeof e){if("function"==typeof e.toString)return e.toString();if(Symbol.iterator in e)return function(e){let n=0,t="[";for(const r of e){if(0===n)t+=wn(r);else{if(100===n){t+="; ...";break}t+="; "+wn(r)}n++}return t+"]"}(e);{const i=null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor;return i===Object&&n<10?"{ "+Object.entries(e).map((([e,t])=>e+" = "+wn(t,n+1))).join("\n ")+" }":null!==(r=null==i?void 0:i.name)&&void 0!==r?r:""}}return String(e)}class vn{get name(){return this.cases()[this.tag]}toJSON(){return 0===this.fields.length?this.name:[this.name].concat(this.fields)}toString(){return function(e,n){if(0===n.length)return e;{let t="",r=!0;return 1===n.length?(t=wn(n[0]),r=t.indexOf(" ")>=0):t=n.map((e=>wn(e))).join(", "),e+(r?" (":" ")+t+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>nn(e)));return e.splice(0,0,Qe(this.tag)),en(e)}Equals(e){return this===e||!!ze(this,e)&&this.tag===e.tag&&on(this.fields,e.fields)}CompareTo(e){return this===e?0:ze(this,e)?this.tag===e.tag?ln(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class yn{toJSON(){return function(e){const n={},t=Object.keys(e);for(let r=0;r<t.length;r++)n[t[r]]=e[t[r]];return n}(this)}toString(){return e=this,"{ "+Object.entries(e).map((([e,n])=>e+" = "+wn(n))).join("\n ")+" }";var e}GetHashCode(){return function(e){const n=Object.values(e).map((e=>nn(e)));return en(n)}(this)}Equals(e){return function(e,n){if(e===n)return!0;if(ze(e,n)){const t=Object.keys(e);for(let r=0;r<t.length;r++)if(!sn(e[t[r]],n[t[r]]))return!1;return!0}return!1}(this,e)}CompareTo(e){return function(e,n){if(e===n)return 0;if(ze(e,n)){const t=Object.keys(e);for(let r=0;r<t.length;r++){const i=un(e[t[r]],n[t[r]]);if(0!==i)return i}return 0}return-1}(this,e)}}class bn{constructor(e,n){"function"==typeof n?(this.getter=e,this.setter=n):(this.getter=()=>e,this.setter=n=>{e=n})}get contents(){return this.getter()}set contents(e){this.setter(e)}}class Cn{constructor(e){this.message=e}}function _n(e){return function(e){return e instanceof Cn||e instanceof Error}(e)?e:new Error(String(e))}class xn{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return nn(this.value)}Equals(e){return null!=e&&sn(this.value,e instanceof xn?e.value:e)}CompareTo(e){return null==e?1:un(this.value,e instanceof xn?e.value:e)}}function kn(e){return null==e||e instanceof xn?new xn(e):e}function In(e){if(null==e)throw new Error("Option has no value");return e instanceof xn?e.value:e}function Sn(e){return null==e?void 0:e}function An(e){return null==e?[]:[In(e)]}function En(e,n){return null!=e?In(e):n}function On(e,n){return null!=n?kn(e(In(n))):void 0}function Tn(e,n){return null!=n?e(In(n)):void 0}function Nn(){return e=un,{Compare:(n,t)=>e(n,t)};var e}function Mn(e,n){return"function"==typeof e?new e(n):new Array(n)}function Pn(e,n,t,r){const i=0|n;return e.fill(r,i,i+t)}function Dn(e,n,t){const r=0|n.length,i=Mn(t,r);for(let t=0;t<=r-1;t++)i[t]=e(n[t]);return i}function Rn(e,n,t){return t.reduce(e,n)}function Bn(e,n,t){if(null==n)return null==t;if(null==t)return!1;{let r=0,i=!0;const o=0|n.length,s=0|t.length;if(o>s)return!1;if(o<s)return!1;for(;r<o&&i;)i=e(n[r],t[r]),r=r+1|0;return i}}function Ln(e,n){return e<0||e>=n.length?void 0:kn(n[e])}function jn(e){const n=e<0,t=(e=Math.abs(e))%36e5/6e4;return(n?"-":"+")+qe(~~(e/36e5),2)+":"+qe(t,2)}function Wn(e,n){const t=e.toISOString();return"first"===n?t.substring(0,t.indexOf("T")):t.substring(t.indexOf("T")+1,t.length-1)}function Fn(e,n,t){return n.replace(/(\w)\1*/g,(n=>{let r=Number.NaN;switch(n.substring(0,1)){case"y":const i=t?e.getUTCFullYear():e.getFullYear();r=n.length<4?i%100:i;break;case"M":r=(t?e.getUTCMonth():e.getMonth())+1;break;case"d":r=t?e.getUTCDate():e.getDate();break;case"H":r=t?e.getUTCHours():e.getHours();break;case"h":const o=t?e.getUTCHours():e.getHours();r=o>12?o%12:o;break;case"m":r=t?e.getUTCMinutes():e.getMinutes();break;case"s":r=t?e.getUTCSeconds():e.getSeconds();break;case"f":r=t?e.getUTCMilliseconds():e.getMilliseconds()}return Number.isNaN(r)?n:r<10&&n.length>1?"0"+r:""+r}))}function Un(e,n,t){return null!=e.offset?function(e,n){var t,r,i;const o=new Date(e.getTime()+(null!==(t=e.offset)&&void 0!==t?t:0));if("string"!=typeof n)return o.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+jn(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==n.length)return Fn(o,n,!0);switch(n){case"D":case"d":return Wn(o,"first");case"T":case"t":return Wn(o,"second");case"O":case"o":return function(e,n){const t=e.toISOString();return t.substring(0,t.length-1)+jn(n)}(o,null!==(i=e.offset)&&void 0!==i?i:0);default:throw new Error("Unrecognized Date print format")}}(e,n):function(e,n){const t=1===e.kind;if("string"!=typeof n)return t?e.toUTCString():e.toLocaleString();if(1!==n.length)return Fn(e,n,t);switch(n){case"D":case"d":return t?Wn(e,"first"):e.toLocaleDateString();case"T":case"t":return t?Wn(e,"second"):e.toLocaleTimeString();case"O":case"o":return function(e,n){if(n)return e.toISOString();{const n=null==e.kind||2===e.kind;return qe(e.getFullYear(),4)+"-"+qe(e.getMonth()+1,2)+"-"+qe(e.getDate(),2)+"T"+qe(e.getHours(),2)+":"+qe(e.getMinutes(),2)+":"+qe(e.getSeconds(),2)+"."+qe(e.getMilliseconds(),3)+(n?jn(-6e4*e.getTimezoneOffset()):"")}}(e,t);default:throw new Error("Unrecognized Date print format")}}(e,n)}function zn(e,n){const t=new Date(e);return t.kind=0|(null==n?0:n),t}function Vn(e){function n(){throw new Error(`The string is not a valid Date: ${e}`)}null!=e&&""!==e.trim()||n(),10===e.length&&"-"===e[4]&&"-"===e[7]&&(e+="T00:00:00");let t=new Date(e),r=null;if(isNaN(t.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,n=0;if(null!=i[2]){const e=i[2].split(":");n=3600*parseInt(e[0],10)+60*parseInt(e[1]||"0",10)+parseFloat(e[2]||"0"),null!=i[3]&&"PM"===i[3].toUpperCase()&&(n+=720)}if(null!=i[4]){if(null!=i[1])e=new Date(i[1]+" UTC");else{const n=new Date;e=new Date(n.getUTCFullYear()+"/"+(n.getUTCMonth()+1)+"/"+n.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,n-=60*e}}else if(null!=i[1])e=new Date(i[1]);else{const n=new Date;e=new Date(n.getFullYear()+"/"+(n.getMonth()+1)+"/"+n.getDate())}t=new Date(e.getTime()+1e3*n),t=new Date(t.getTime()+6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))}else n();isNaN(t.getTime())&&n()}return[t,r]}function Hn(e,n){try{return n.contents=function(e,n=!1){const[t,r]=Vn(e),i=null!=r?n&&"Z"===r?1:2:0;return zn(t.getTime(),i)}(e),!0}catch(e){return!1}}function Gn(){return function(e,n,t,r=0,i=0,o=0,s=0,a){const c=1===a?Date.UTC(e,n-1,t,r,i,o,s):new Date(e,n-1,t,r,i,o,s).getTime();if(isNaN(c))throw new Error("The parameters describe an unrepresentable Date.");const l=zn(c,a);return e<=99&&l.setFullYear(e,n-1,t),l}(Zn(e=zn(Date.now(),2)),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);var e}function Zn(e){return 1===e.kind?e.getUTCFullYear():e.getFullYear()}const qn=Symbol("numeric");function Yn(e){return"number"==typeof e||(null==e?void 0:e[qn])}function Jn(e,n){return"number"==typeof e?e*n:e[qn]().multiply(n)}function Xn(e,n){return"number"==typeof e?e.toFixed(n):e[qn]().toFixed(n)}function Kn(e,n){return"number"==typeof e?e.toPrecision(n):e[qn]().toPrecision(n)}function Qn(e,n){return"number"==typeof e?e.toExponential(n):e[qn]().toExponential(n)}function et(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[qn]().toHex()}function nt(e,n=0){if(0!=(-284&n))throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let t="gu";return t+=1&n?"i":"",t+=2&n?"m":"",t+=16&n?"s":"",new RegExp(e,t)}function tt(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function rt(e,n,t=0){if(null==n)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=t;const r=[];let i,o=-1;for(;null!=(i=e.exec(n));)i.index===o?e.lastIndex++:(o=i.index,r.push(i));return r}const it=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,ot=/(?:(^|[^%])%([0+\- ]*)(\d+)?(?:\.(\d+))?(\w))?%P\(\)/g,st=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function at(e,n){return function(e,n){return"number"==typeof e?e<n?-1:e>n?1:0:e.CompareTo(n)}(e,n)<0}function ct(e,n,t){function r(e){return!0===e||1===e||3===e||5===e}return null==e?null==n?0:-1:null==n?1:4===(i=t)||5===i?(r(t)&&(e=e.toLowerCase(),n=n.toLowerCase()),e===n?0:e<n?-1:1):(r(t)&&(e=e.toLocaleLowerCase(),n=n.toLocaleLowerCase()),e.localeCompare(n));var i}function lt(e){return{input:e,cont:(n=e,e=>{it.lastIndex=0;const t=[],r=[];let i=0,o=it.exec(n);for(;o;){const e=o.index+(o[1]||"").length;t.push(n.substring(i,e).replace(/%%/g,"%")),r.push(o),i=it.lastIndex,it.lastIndex-=1,o=it.exec(n)}return 0===t.length?e(n.replace(/%%/g,"%")):(t.push(n.substring(i).replace(/%%/g,"%")),pt(e,t,r))})};var n}function ut(e,n){let t=0,r=0,i="";ot.lastIndex=0;let o=ot.exec(e);for(;o;){const s=o.index+(o[1]||"").length;i+=e.substring(r,s).replace(/%%/g,"%");const[,,a,c,l,u]=o;r=ot.lastIndex,i+=mt(n[t++],a,c,l,u),ot.lastIndex=r-1,o=ot.exec(e)}return i+=e.substring(r).replace(/%%/g,"%"),i}function ft(e,n){return"string"==typeof n?e(n):n.cont(e)}function dt(e){return ft((e=>e),e)}function ht(e){return ft((e=>{throw new Error(e)}),e)}function mt(e,n,t,r,i){let o="";if(n=n||"",i=i||"",Yn(e))switch("x"!==i.toLowerCase()&&(at(e,0)?(e=Jn(e,-1),o="-"):n.indexOf(" ")>=0?o=" ":n.indexOf("+")>=0&&(o="+")),r=null==r?null:parseInt(r,10),i){case"f":case"F":e=Xn(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?Kn(e,r):Kn(e);break;case"e":case"E":e=null!=r?Qn(e,r):Qn(e);break;case"x":e=et(e);break;case"X":e=et(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?Un(e):wn(e);if(t="number"==typeof t?t:parseInt(t,10),isNaN(t))e=o+e;else{const r=n.indexOf("0")>=0,i=n.indexOf("-")>=0,s=i||!r?" ":"0";e="0"===s?o+(e=yt(e,t-o.length,s,i)):yt(o+e,t,s,i)}return e}function pt(e,n,t,r="",i=-1){return(...o)=>{let s=r;const a=n.slice(),c=t.slice();for(const e of o){const[,,n,t,r,o]=c[0];let l=t;if(i>=0)l=i,i=-1;else if("*"===l){if(e<0)throw new Error("Non-negative number required");i=e;continue}s+=a[0],s+=mt(e,n,l,r,o),a.splice(0,1),c.splice(0,1)}return 0===c.length?(s+=a[0],e(s)):pt(e,a,c,s,i)}}function $t(e,...n){return"object"==typeof e&&n.length>0&&(e=n[0],n.shift()),e.replace(st,((e,t,r,i,o,s)=>{if(t<0||t>=n.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let a=n[t];if(Yn(a))switch(o=null==o?null:parseInt(o,10),i){case"f":case"F":a=Xn(a,o=null!=o?o:2);break;case"g":case"G":a=null!=o?Kn(a,o):Kn(a);break;case"e":case"E":a=null!=o?Qn(a,o):Qn(a);break;case"p":case"P":o=null!=o?o:2,a=Xn(Jn(a,100),o)+" %";break;case"d":case"D":a=null!=o?bt(String(a),o,"0"):String(a);break;case"x":case"X":a=null!=o?bt(et(a),o,"0"):et(a),"X"===i&&(a=a.toUpperCase());break;default:if(s){let e="";a=s.replace(/([0#,]+)(\.[0#]+)?/,((n,t,r)=>{at(a,0)&&(a=Jn(a,-1),e="-"),r=null==r?"":r.substring(1),a=Xn(a,Math.max(r.length,0));let[i,o]=a.split(".");o||(o=""),i=bt(i,t.replace(/,/g,"").replace(/^#+/,"").length,"0");const s=r.replace(/#+$/,"").length;if(s>o.length?o=function(e,n,t){return yt(e,n,"0",!0)}(o,s):s<o.length&&(o=o.substring(0,s)+o.substring(s).replace(/0+$/,"")),t.indexOf(",")>0){const e=i.length%3,n=Math.floor(i.length/3);let t=e>0?i.substr(0,e)+(n>0?",":""):"";for(let r=0;r<n;r++)t+=i.substr(e+3*r,3)+(r<n-1?",":"");i=t}return o.length>0?i+"."+o:i})),a=e+a}}else a=a instanceof Date?Un(a,s||i):wn(a);return r=parseInt((r||" ").substring(1),10),isNaN(r)||(a=yt(String(a),Math.abs(r)," ",r<0)),a}))}function gt(e){return"string"!=typeof e||0===e.length}function wt(e){return"string"!=typeof e||/^\s*$/.test(e)}function vt(e,n){return Array.isArray(n)?n.join(e):Array.from(n).join(e)}function yt(e,n,t,r){t=t||" ",n-=e.length;for(let i=0;i<n;i++)e=r?e+t:t+e;return e}function bt(e,n,t){return yt(e,n,t)}function Ct(e,n,t,r){if(r="number"==typeof r?r:0,(t="number"==typeof t?t:void 0)&&t<0)throw new Error("Count cannot be less than zero");if(0===t)return[];const i=1==(1&r),o=2==(2&r);n=(n=n||[]).filter((e=>e)).map(tt),n=n.length>0?n:["\\s"];const s=[],a=new RegExp(n.join("|"),"g");let c=!0,l=0;do{const n=a.exec(e);if(null===n){const n=o?e.substring(l).trim():e.substring(l);(!i||n.length>0)&&s.push(n),c=!1}else{const r=o?e.substring(l,n.index).trim():e.substring(l,n.index);(!i||r.length>0)&&(null!=t&&s.length+1===t?(s.push(o?e.substring(l).trim():e.substring(l)),c=!1):s.push(r)),l=a.lastIndex}}while(c);return s}function _t(e,n){return n.split("").filter((n=>e(n))).join("")}function xt(e,n,t){if(n+(t||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=t?e.substr(n,t):e.substr(n)}const kt="Collection was empty.";class It extends yn{constructor(e,n){super(),this.head=e,this.tail=n}toString(){return"["+vt("; ",this)+"]"}Equals(e){return this===e||((e,n)=>{e:for(;;){const t=e,r=n,i=[t.tail,r.tail];if(null!=i[0]){if(null!=i[1]){const o=i[0],s=i[1];if(sn(t.head,r.head)){e=o,n=s;continue e}return!1}return!1}return null==i[1]}})(this,e)}GetHashCode(){return 0|((e,n,t)=>{for(;;){const r=e,i=n,o=t,s=o.tail;if(null==s)return 0|i;{const a=s;if(r>18)return 0|i;e=r+1,n=(i<<1)+nn(o.head)+631*r,t=a}}})(0,0,this)}toJSON(e){return Array.from(this)}CompareTo(e){return 0|((e,n)=>{e:for(;;){const t=e,r=n,i=[t.tail,r.tail];if(null!=i[0]){if(null!=i[1]){const o=i[0],s=i[1],a=0|un(t.head,r.head);if(0===a){e=o,n=s;continue e}return 0|a}return 1}return null!=i[1]?-1:0}})(this,e)}GetEnumerator(){return new St(this)}[Symbol.iterator](){return Ge(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return He(this)}}class St{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,n=e.it.tail;if(null!=n){const t=n;return e.current=e.it.head,e.it=t,!0}return!1}"System.Collections.IEnumerator.Reset"(){const e=this;e.it=e.xs,e.current=null}Dispose(){}}function At(){return new It(null,void 0)}function Et(e,n){return new It(e,n)}function Ot(e){return null==e.tail}function Tt(e){return 0|((e,n)=>{for(;;){const t=e,r=n.tail;if(null==r)return 0|t;e=t+1,n=r}})(0,e)}function Nt(e){if(null!=e.tail)return e.head;throw new Error(kt+"\\nParameter name: list")}function Mt(e){const n=e.tail;if(null!=n)return n;throw new Error(kt+"\\nParameter name: list")}function Pt(){return At()}function Dt(e,n){return Et(e,n)}function Rt(e){return Et(e,At())}function Bt(e){return Ot(e)}function Lt(e){return Tt(e)}function jt(e){return Nt(e)}function Wt(e){return Mt(e)}function Ft(e){const n=0|Tt(e),t=Pn(new Array(n),0,n,null);return((e,n)=>{for(;;){const r=e,i=n;if(Ot(i))break;t[r]=Nt(i),e=r+1,n=Mt(i)}})(0,e),t}function Ut(e,n,t){let r=n,i=t;for(;!Ot(i);)r=e(r,Nt(i)),i=Mt(i);return r}function zt(e){return Ut(((e,n)=>Et(n,e)),At(),e)}function Vt(e,n){Ut(((n,t)=>{e(t)}),void 0,n)}function Ht(e,n){let t=n;for(let n=e.length-1;n>=0;n--)t=Et(e[n],t);return t}function Gt(e){return Ht(e,At())}function Zt(e,n){return Ut(((e,n)=>Et(n,e)),n,zt(e))}function qt(e,n){const t=At(),r=Ut(((n,t)=>{const r=new It(e(t),void 0);return n.tail=r,r}),t,n),i=At();return r.tail=i,Mt(t)}function Yt(e,n){return function(e,n){return(n=>{e:for(;;){const t=n;if(Ot(t))return;{const r=e(Nt(t));if(null==r){n=Mt(t);continue e}return r}}})(n)}((n=>e(n)?kn(n):void 0),n)}function Jt(e,n){return((n,t)=>{for(;;){const r=n,i=t;if(Ot(i))return;if(e(Nt(i)))return r;n=r+1,t=Mt(i)}})(0,n)}function Xt(e,n){const t=At(),r=Ut(((n,t)=>{if(e(t)){const e=new It(t,void 0);return n.tail=e,e}return n}),t,n),i=At();return r.tail=i,Mt(t)}function Kt(e,n,t){return null!=Jt((n=>t.Equals(e,n)),n)}function Qt(e,n){return null!=Jt(e,n)}const er="Enumeration already finished.",nr="Enumeration has not started. Call MoveNext.",tr="The input sequence has an insufficient number of elements.";function rr(){throw new Error(nr)}function ir(){throw new Error(er)}class or{constructor(e){this.f=e}toString(){let e=0,n="seq [";const t=He(this);try{for(;e<4&&t["System.Collections.IEnumerator.MoveNext"]();)e>0&&(n+="; "),n+=wn(t["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(n+="; ..."),n+"]"}finally{Ue(t)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Ge(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class sr{constructor(e,n,t){this.current=e,this.next=n,this.dispose=t}"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 ar(e,n,t){return new sr(e,n,t)}function cr(e,n,t){let r,i=!1,o=kn(e());const s=()=>{if(null!=o){const e=In(o);try{t(e)}finally{o=void 0}}},a=()=>{try{s()}finally{r=void 0}};return ar((()=>(i||rr(),null!=r?In(r):ir())),(()=>{if(i||(i=!0),null!=o){const e=In(o);let t;try{t=n(e)}catch(e){throw a(),e}return null!=t?(r=t,!0):(a(),!1)}return!1}),s)}function lr(e){return function(e){return new or(e)}(e)}function ur(e){return n="source",null==e&&function(e){throw new Error(e)}(n),He(e);var n}function fr(e){return lr((()=>He(e())))}function dr(e){return lr((()=>function(e){let n,t,r,i=!1,o=!1;const s=()=>{if(o=!0,null!=t){const e=t;try{Ue(e)}finally{t=void 0}}if(null!=n){const e=n;try{Ue(e)}finally{n=void 0}}};return ar((()=>(i?o&&ir():rr(),null!=r?In(r):ir())),(()=>{let a;if(i||(i=!0),o)return!1;{let i;for(;null==i;){const o=[n,t];if(null!=o[0])if(null!=o[1]){const e=o[1];if(e["System.Collections.IEnumerator.MoveNext"]())r=kn(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),i=!0;else try{Ue(e)}finally{t=void 0}}else{const e=o[0];e["System.Collections.IEnumerator.MoveNext"]()?(a=e["System.Collections.Generic.IEnumerator`1.get_Current"](),t=He(a)):(s(),i=!1)}else n=He(e)}return In(i)}}),(()=>{o||s()}))}(e)))}function hr(){return fr((()=>new Array(0)))}function mr(e){return fr((()=>function(e,n){const t=Mn(void 0,1);return t[0]=e,t}(e)))}function pr(e){return e instanceof It?Ft(e):Array.from(e)}function $r(e){return je(e)?Gt(e):e instanceof It?e:function(e){let n,t;if(je(e))return Gt(e);if(e instanceof It)return e;{const r=At();let i=r;const o=He(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const e=o["System.Collections.Generic.IEnumerator`1.get_Current"]();n=i,t=new It(e,void 0),n.tail=t,i=t}}finally{Ue(o)}const s=i,a=At();return s.tail=a,Mt(r)}}(e)}function gr(e,n,t){return lr((()=>{let r=-1;return cr(e,(e=>(r=r+1|0,n(r,e))),t)}))}function wr(e,n){return dr([e,n])}function vr(e,n,t){const r=ur(n);try{let n=!1;for(;!n&&r["System.Collections.IEnumerator.MoveNext"]();)n=t.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return n}finally{Ue(r)}}function yr(e,n,t){const r=ur(t);try{let t=n;for(;r["System.Collections.IEnumerator.MoveNext"]();)t=e(t,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return t}finally{Ue(r)}}function br(e,n){yr(((n,t)=>{e(t)}),void 0,n)}function Cr(e,n){return t=()=>ur(n),r=n=>n["System.Collections.IEnumerator.MoveNext"]()?kn(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,i=e=>{Ue(e)},lr((()=>cr(t,r,i)));var t,r,i}function _r(e){return fr((()=>function(e){return e.slice().reverse()}(pr(e))))}function xr(e,n){return lr((()=>{const t=ur(n);try{for(let n=1;n<=e;n++)if(!t["System.Collections.IEnumerator.MoveNext"]())throw new Error(tr+"\\nParameter name: source");return function(e,n){return ar((()=>n["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>n["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{Ue(n)}finally{e()}}))}((()=>{}),t)}catch(e){throw Ue(t),e}}))}function kr(e,n){return fr((()=>dr(Cr(e,n))))}Symbol.iterator;const Ir={None:0,LowerFirst:1,SnakeCase:2,SnakeCaseAllCaps:3,KebabCase:4};function Sr(e,n){return e.replace(/[a-z]?[A-Z]/g,(e=>1===e.length?e.toLowerCase():e.charAt(0)+n+e.charAt(1).toLowerCase()))}function Ar(e,n=Ir.None){const t={},r=n;function i(e){throw new Error("Cannot infer key and value of "+String(e))}function o(e,n,r){e=function(e,n){switch(n){case Ir.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case Ir.SnakeCase:return Sr(e,"_");case Ir.SnakeCaseAllCaps:return Sr(e,"_").toUpperCase();case Ir.KebabCase:return Sr(e,"-");case Ir.None:default:return e}}(e,n),t[e]=r}for(let n of e){let e=Ir.None;if(null==n&&i(n),n instanceof vn){const t=n.cases()[n.tag];n=0===n.fields.length?t:[t].concat(n.fields),e=r}if(Array.isArray(n))switch(n.length){case 0:i(n);break;case 1:o(n[0],e,!0);break;case 2:const t=n[1];o(n[0],e,t);break;default:o(n[0],e,n.slice(1))}else"string"==typeof n?o(n,e,!0):i(n)}return t}function Er(e,n){if(e.has(n))return e.get(n);throw new Error(`The given key '${n}' was not present in the dictionary.`)}var Or,Tr,Nr;function Mr(){return Mr=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Mr.apply(this,arguments)}const Pr=function(e){return d("svg",Mr({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Or||(Or=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),Tr||(Tr=d("path",{d:"M9 24h21M23 17l7 7-7 7",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Nr||(Nr=d("path",{d:"M23 9h12a3 3 0 0 1 3 3v24a3 3 0 0 1-3 3H23",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};var Dr,Rr,Br,Lr;function jr(){return jr=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},jr.apply(this,arguments)}const Wr=function(e){return d("svg",jr({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Dr||(Dr=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),Rr||(Rr=d("path",{d:"M18 18.782V15a6.018 6.018 0 0 1 6-6 6.018 6.018 0 0 1 6 6v3.783",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Br||(Br=d("path",{d:"M24 39c6.075 0 11-4.925 11-11s-4.925-11-11-11-11 4.925-11 11 4.925 11 11 11Z",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Lr||(Lr=d("path",{d:"M24 30v3M24 30a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};var Fr,Ur,zr,Vr,Hr;function Gr(){return Gr=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Gr.apply(this,arguments)}const Zr=function(e){return d("svg",Gr({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Fr||(Fr=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),Ur||(Ur=d("path",{d:"M24 9v13",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),zr||(zr=d("path",{d:"M32 19h.235a3 3 0 0 1 2.622 1.543L39 28v7a3 3 0 0 1-3 3H12a3 3 0 0 1-3-3v-7l4.143-7.457A3 3 0 0 1 15.765 19H16",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Vr||(Vr=d("path",{d:"m29 17-5 5-5-5",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Hr||(Hr=d("path",{d:"M39 28H29v3H19v-3H9",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};var qr,Yr,Jr,Xr,Kr,Qr;function ei(){return ei=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},ei.apply(this,arguments)}const ni=function(e){return d("svg",ei({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),qr||(qr=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),Yr||(Yr=d("path",{d:"M24 18v6h-6",stroke:"#212121",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Jr||(Jr=d("path",{d:"M32 39a7 7 0 1 0 0-14 7 7 0 0 0 0 14Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Xr||(Xr=d("path",{d:"M21.982 35.84c-.092.538-.605.904-1.135.772a12.999 12.999 0 1 1 15.767-15.758c.132.53-.234 1.043-.773 1.134-.54.092-1.046-.272-1.185-.8A11.02 11.02 0 1 0 21.18 34.653c.528.14.892.647.8 1.185Z",fill:"#111827"})),Kr||(Kr=d("path",{stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",d:"M32 29v3"})),Qr||(Qr=d("circle",{cx:32,cy:35,r:1,fill:"currentColor"})))};var ti,ri,ii;function oi(){return oi=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},oi.apply(this,arguments)}const si=function(e){return d("svg",oi({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ti||(ti=d("rect",{width:48,height:47,rx:8,fill:"#FEE2E2"})),ri||(ri=d("g",{clipPath:"url(#error_svg__a)"},d("path",{d:"M24 15v12",stroke:"#DC2626",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M24 34a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z",fill:"#DC2626"}),d("path",{d:"M30.213 9H17.787L9 17.787v12.426L17.787 39h12.426L39 30.213V17.787L30.213 9Z",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))),ii||(ii=d("defs",null,d("clipPath",{id:"error_svg__a"},d("path",{fill:"#fff",transform:"translate(8 8)",d:"M0 0h32v32H0z"})))))};var ai,ci,li;function ui(){return ui=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},ui.apply(this,arguments)}const fi=function(e){return d("svg",ui({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ai||(ai=d("rect",{width:48,height:47,rx:8,fill:"#EAF0FE"})),ci||(ci=d("g",{clipPath:"url(#completed_svg__a)",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},d("path",{d:"m17 25 4 4 10-10",stroke:"currentColor"}),d("path",{d:"M24 39c8.284 0 15-6.716 15-15 0-8.284-6.716-15-15-15-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15Z",stroke:"#111827"}))),li||(li=d("defs",null,d("clipPath",{id:"completed_svg__a"},d("path",{fill:"#fff",transform:"translate(8 8)",d:"M0 0h32v32H0z"})))))};function di(e){return $r(fr((()=>wr(mr(["className","text-primary-base"]),fr((()=>e))))))}function hi(e){const n=Ar(di(e),1);return d(Pr,n)}function mi(e){const n=Ar(di(e),1);return d(Zr,n)}function pi(e){const n=Ar(di(e),1);return d(si,n)}function $i(e){const n=Ar(di(e),1);return d(fi,n)}const gi=Le;var wi,vi;function yi(){return yi=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},yi.apply(this,arguments)}const bi=function(e){return d("svg",yi({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),wi||(wi=d("path",{d:"M21.6 12a9.6 9.6 0 1 1-19.2 0 9.6 9.6 0 0 1 19.2 0ZM4.797 12a7.203 7.203 0 1 0 14.406 0 7.203 7.203 0 0 0-14.406 0Z",fill:"#fff",fillOpacity:.3})),vi||(vi=d("path",{d:"M12 3.6c0-.663.54-1.208 1.197-1.125a9.6 9.6 0 0 1 8.329 8.328c.082.658-.463 1.197-1.126 1.197-.662 0-1.19-.541-1.3-1.195A7.202 7.202 0 0 0 13.196 4.9C12.54 4.79 12 4.263 12 3.6Z",fill:"#fff"})))};var Ci,_i;function xi(){return xi=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},xi.apply(this,arguments)}const ki=function(e){return d("svg",xi({xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none"},e),Ci||(Ci=d("g",{clipPath:"url(#spinner-large_svg__a)",fill:"currentColor"},d("path",{d:"M48 24c0 13.255-10.745 24-24 24S0 37.255 0 24 10.745 0 24 0s24 10.745 24 24ZM2.997 24C2.997 35.6 12.4 45.003 24 45.003S45.003 35.6 45.003 24 35.6 2.997 24 2.997 2.997 12.4 2.997 24Z",fillOpacity:.3}),d("path",{d:"M24 1.5c0-.828.672-1.505 1.499-1.453A24 24 0 0 1 47.953 22.5c.052.827-.625 1.499-1.453 1.499-.828 0-1.494-.672-1.553-1.499A21.002 21.002 0 0 0 25.498 3.054C24.672 2.994 24 2.328 24 1.5Z"}))),_i||(_i=d("defs",null,d("clipPath",{id:"spinner-large_svg__a"},d("path",{fill:"#fff",d:"M0 0h48v48H0z"})))))};function Ii(e){const n=Ar(e,1);return d(ki,n)}function Si(e){return d("h1",{className:"mt-4 mb-4 sm:mb-8 text-2xl sm:text-3xl font-semibold text-gray-900",children:e})}function Ai(e){let n;const t=Tn((e=>e.Phone),e.Support),r=Tn((e=>e.Email),e.Support);return d("p",dn(Gt([["className","text-sm text-gray-900 whitespace-pre-wrap leading-5"],(n=$r(fr((()=>{let n;return wr(mr((n=`Need help? Contact ${En(e.CompanyName,"your employer")}`,d("span",{children:[n]}))),fr((()=>{let e;return wr((e=[t,r],null==e[0]&&null==e[1]?mr(d("span",{children:["for assistance"]})):wr(mr(d("span",{children:[" at "]})),fr((()=>{let e,n,i;return wr((e=t,null==e?mr(null):(n=e,mr((i=`${n}`,d("span",{children:[i]}))))),fr((()=>{let e;return wr((e=[t,r],mr(null!=e[0]&&null!=e[1]?d("span",{children:[" or "]}):null)),fr((()=>mr(null==r?null:d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",href:`mailto:${r}`,children:r})))))})))})))),fr((()=>mr(d("span",{children:["."]})))))})))}))),["children",gi.Children.toArray(Array.from(n))])])))}function Ei(e,n,t,r){let i;return d("button",dn(Gt([["className",`w-full sm:w-[240px] ${t?"bg-primary-dark":"bg-primary-base"} text-primary-text font-semibold text-base rounded-md flex items-center justify-center h-[42px] hover:bg-primary-hover ${En(e,"")}`],["type","button"],["onClick",e=>{n()}],["disabled",t],(i=$r(fr((()=>t?mr(function(e){const n=Ar([["className","animate-spin"]],1);return d(bi,n)}()):r))),["children",gi.Children.toArray(Array.from(i))])])))}const Oi=Ii([["className","text-primary-base animate-spin"]]),Ti=(e,n)=>{K((()=>{const n=e();return()=>{n.Dispose()}}),n)},Ni=e=>{Q((()=>{const n=e();return()=>{n.Dispose()}}))};function Mi(e){return{Dispose(){e()}}}function Pi(e){return gi.useState(e)}function Di(e){var n;n=e,K((()=>{const e=n();return()=>{e.Dispose()}}))}function Ri(e,n){Ti(e,n)}function Bi(e){ji(e,[])}function Li(e){Ri(e,[])}function ji(e,n){Ti((n=>(e(),Mi((()=>{})))),n)}function Wi(e){return gi.useRef(e)}function Fi(e,n){const t=En(n,[]);return gi.useMemo(e,t)}function Ui(e){const n=Wi(e),t=function(e,t){const r=En([],[]);return gi.useCallback((e=>n.current(e)),r)}();var r;return r=()=>{n.current=e},Ni((e=>(r(),Mi((()=>{}))))),t}function zi(e){return gi.useState(e)}function Vi(e,n,t){const r=[pi([]),Si(e),d("p",{className:"text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-7 sm:leading-8 space-y-3 sm:space-y-4 mb-8",children:n}),En(t,null)];return d(m,{},...r)}function Hi(e,n,t){return Vi(e,n,On((e=>{let n;return d("div",dn(Gt([["className","mt-8"],(n=[Ai(e)],["children",gi.Children.toArray(Array.from(n))])])))}),t))}function Gi(e){let n;const t=e.reissueMagicLink,r=zi(!1);return Vi("Too many Invalid Codes","We’ve temporarily locked mobile authentication for your account because you made too many attempts with an invalid security code.",d("div",dn(Gt([["className","mt-1 sm:mt-8 text-base leading-7 text-gray-900 whitespace-pre-wrap"],(n=[d("span",{children:["Please wait 30 minutes before trying again, or "]}),d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",onClick:e=>{r[0]||(r[1](!0),t())},children:"sign in with email instead"}),d("span",{children:["."]})],["children",gi.Children.toArray(Array.from(n))])]))))}function Zi(e){return Hi("That link doesn’t look right","It looks like the link is incorrect or incomplete. We recommend going back to your invitation email and trying again.",e)}function qi(){return Vi("Something went wrong","We are unable to load our application at this time. Please wait a few minutes before trying again.",void 0)}const Yi=d("div",dn(Gt([["className","w-full sm:max-w-[640px] mt-10 sm:mt-14 text-xs text-gray-500 text-center whitespace-pre-wrap space-y-4"],(()=>{let e,n,t;const r=[(e=Gt([d("span",{children:["Flare provides workplace solutions to Australian businesses and their employees. All information collected is treated in accordance with our "]}),d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",href:"https://www.flarehr.com/security",target:"_blank",rel:"noreferrer",children:"security standards"}),d("span",{children:[" and "]}),d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",href:"https://www.flarehr.com/privacy-policy",target:"_blank",rel:"noreferrer",children:"Privacy Policy"}),d("span",{children:["."]})]),d("p",{children:gi.Children.toArray(Array.from(e))})),(n=`Copyright © ${t=Gn(),Zn(t)} Flare. ABN 46 607 120 892.`,d("p",{children:[n]}))];return["children",gi.Children.toArray(Array.from(r))]})()])));function Ji(){let e,n;return d("div",dn(Gt([["className",vt(" ",["fade-in","min-h-full flex flex-col justify-between w-full sm:w-[640px] mx-auto text-center"])],(e=[d("div",dn(Gt([["className","flex flex-col mt-10 mx-4 sm:mt-20 justify-center items-center"],(n=[Ii([["className","h-12 w-12 text-primary-base animate-spin"]]),d("h1",{className:"mt-4 font-bold text-lg sm:text-3xl text-gray-900",children:"Authenticating your account"}),d("p",{className:"mt-6 sm:mt-8 text-lg sm:text-lg text-gray-900",children:"This may take a few seconds, please don’t close this window."})],["children",gi.Children.toArray(Array.from(n))])]))),d("div",{className:"mb-6 sm:mb-8 px-4",children:gi.Children.toArray([Yi])})],["children",gi.Children.toArray(Array.from(e))])])))}class Xi{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 n=this._id;return this._listeners.set(this._id++,e),n}removeListener(e){return this._listeners.delete(e)}register(e,n){const t=this,r=this.addListener(null==n?e:()=>e(n));return{Dispose(){t.removeListener(r)}}}Dispose(){}}class Ki extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Ki.prototype)}}class Qi{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>Qi.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function eo(e){return n=>{if(n.cancelToken.isCancelled)n.onCancel(new Ki);else if(n.trampoline.incrementAndCheck())n.trampoline.hijack((()=>{try{e(n)}catch(e){n.onError(_n(e))}}));else try{e(n)}catch(e){n.onError(_n(e))}}}const no=new class{Bind(e,n){return function(e,n){return eo((t=>{e({onSuccess:e=>{try{n(e)(t)}catch(e){t.onError(_n(e))}},onError:t.onError,onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})}))}(e,n)}Combine(e,n){return this.Bind(e,(()=>n))}Delay(e){return eo((n=>e()(n)))}For(e,n){const t=e[Symbol.iterator]();let r=t.next();return this.While((()=>!r.done),this.Delay((()=>{const e=n(r.value);return r=t.next(),e})))}Return(e){return function(e){return eo((n=>n.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,n){return eo((t=>{e({onSuccess:e=>{n(),t.onSuccess(e)},onError:e=>{n(),t.onError(e)},onCancel:e=>{n(),t.onCancel(e)},cancelToken:t.cancelToken,trampoline:t.trampoline})}))}TryWith(e,n){return eo((t=>{e({onSuccess:t.onSuccess,onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline,onError:e=>{try{n(e)(t)}catch(e){t.onError(_n(e))}}})}))}Using(e,n){return this.TryFinally(n(e),(()=>e.Dispose()))}While(e,n){return e()?this.Bind(n,(()=>this.While(e,n))):this.Return(void 0)}Zero(){return eo((e=>e.onSuccess(void 0)))}};class to extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Ok","Error"]}}function ro(e,n){return 0===n.tag?new to(0,e(n.fields[0])):new to(1,n.fields[0])}function io(e,n){return 0===n.tag?e(n.fields[0]):new to(1,n.fields[0])}class oo extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Choice1Of2","Choice2Of2"]}}class so extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Choice1Of3","Choice2Of3","Choice3Of3"]}}function ao(e){}function co(e){const n=new Xi("boolean"==typeof e&&e);return"number"==typeof e&&setTimeout((()=>{n.cancel()}),e),n}function lo(e){e.cancel()}const uo=new Xi;function fo(e){return eo((n=>{e({onSuccess:e=>n.onSuccess(function(e){return new oo(0,e)}(e)),onError:e=>n.onSuccess(function(e){return new oo(1,e)}(e)),onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})}))}function ho(e){return eo((n=>e([n.onSuccess,n.onError,n.onCancel])))}function mo(e){return eo((n=>{let t;const r=setTimeout((()=>{n.cancelToken.removeListener(t),n.onSuccess(void 0)}),e);t=n.cancelToken.addListener((()=>{clearTimeout(r),n.onCancel(new Ki)}))}))}function po(e,n){return function(e,n){return $o(e,n)}(e,n)}function $o(e,n,t,r,i){"function"!=typeof n&&(i=n,n=void 0);const o=new Qi;e({onSuccess:n||ao,onError:t||ao,onCancel:r||ao,cancelToken:i||uo,trampoline:o})}const go=class{constructor(){this.delegates=[]}Add(e){this._addHandler(e)}get Publish(){return this}Trigger(e,n){let t,r;void 0===n?(t=null,r=e):(t=e,r=n),this.delegates.forEach((e=>1===e.length?e(r):e(t,r)))}AddHandler(e){this._addHandler(e)}RemoveHandler(e){this._removeHandler(e)}Subscribe(e){const n="function"==typeof e?e:e.OnNext;return this._addHandler(n),{Dispose:()=>{this._removeHandler(n)}}}_addHandler(e){this.delegates.push(e)}_removeHandler(e){const n=this.delegates.indexOf(e);n>-1&&this.delegates.splice(n,1)}},wo=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 go}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}};class vo{constructor(e,n,t){this.OnNext=e,this.OnError=n||(e=>{}),this.OnCompleted=t||(()=>{})}}function yo(e,n,t){Vt((t=>{try{t(n)}catch(n){e(n)}}),t)}function bo(){return Pt()}function Co(e,n){return qt((n=>t=>{n((n=>{t(e(n))}))}),n)}function _o(e){return function(e){const n=At();let t=n;const r=e=>{t=Ut(((e,n)=>{const t=new It(n,void 0);return e.tail=t,t}),t,e)};if(je(e))e.forEach(r);else if(e instanceof It)Vt(r,e);else{const n=He(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();)r(n["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{Ue(n)}}const i=t,o=At();return i.tail=o,Mt(n)}(e)}function xo(e){return Rt(e)}function ko(e){return Rt((n=>{n(e)}))}function Io(e,n,t,r,i){return Rt((o=>{e(no.Delay((()=>no.Bind(fo(n(t)),(e=>{const n=e;return o(1===n.tag?i(n.fields[0]):r(n.fields[0])),no.Zero()})))))}))}function So(e,n,t,r){return Rt((i=>{e(no.Delay((()=>no.Bind(fo(n(t)),(e=>{const n=e;return 0===n.tag?(i(r(n.fields[0])),no.Zero()):no.Zero()})))))}))}function Ao(e){!function(e,n){let t,r=new wo(e);r.AutoReset=!1,t=r,function(e,n){n.Subscribe(new vo(e))}(n,t.Elapsed()),t.Enabled=!0,t.Start()}(0,(n=>{po(e)}))}function Eo(e,n,t,r,i){const o=function(e,n,t,r){const i=0|un(e,t);if(0===i)throw new Error("The step of a range cannot be zero");const o=i>0;return t=>{const i=0|un(t,n);return o&&i<=0||!o&&i>=0?[t,r(t,e)]:void 0}}(n,t,r,i);return fr((()=>{return n=o,t=e,lr((()=>function(e,n){let t,r=n;return ar((()=>{if(null!=t){const e=t[0];return t[1],e}return rr()}),(()=>{if(t=e(r),null!=t){t[0];const e=t[1];return r=e,!0}return!1}),(()=>{}))}(n,t)));var n,t}))}function Oo(e,n,t){return Eo(e,n,t,0,((e,n)=>e+n))}class To extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Writable","ReadWritable"]}}class No{constructor(e){this.state=new To(0,Pn(new Array(fn(cn,e,10)),0,fn(cn,e,10),null),0)}}function Mo(e){const n=e.state;if(1===n.tag){const t=0|n.fields[1],r=0|n.fields[2],i=n.fields[0],o=(r+1)%i.length|0;return e.state=o===t?new To(0,i,t):new To(1,i,t,o),kn(i[r])}}class Po extends yn{constructor(e,n,t,r,i,o,s){super(),this.init=e,this.update=n,this.subscribe=t,this.view=r,this.setState=i,this.onError=o,this.syncDispatch=s}}function Do(e,n,t){return new Po(e,n,(e=>bo()),t,mn(2,(e=>{const n=gn(1,t,[e]);return e=>{n(e)}})),(e=>{var n,t;n=e[0],t=e[1],console.error(kn(n),t)}),mn(2,(e=>e)))}function Ro(e,n){return new Po(n.init,n.update,n.subscribe,n.view,e,n.onError,n.syncDispatch)}function Bo(e,n){const t=n.init(e),r=t[0],i=new No(10);let o=!1,s=r;const a=gn(1,n.syncDispatch,[e=>{if(o)!function(e,n){const t=e.state;if(1===t.tag){const o=0|t.fields[1],s=0|t.fields[2],a=t.fields[0];a[o]=n;const c=(o+1)%a.length|0;e.state=c===s?new To(1,(r=s,i=a,Array.from(fr((()=>wr(xr(r,i),fr((()=>{return wr((e=r,n=i,gr((()=>ur(n)),((n,t)=>{if(n<e){if(t["System.Collections.IEnumerator.MoveNext"]())return kn(t["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(tr+"\\nParameter name: source")}}),(e=>{Ue(e)}))),fr((()=>kr((e=>mr(null)),Oo(0,1,i.length)))));var e,n}))))))),a.length,0):new To(1,a,c,s)}else{const r=0|t.fields[1],i=t.fields[0];i[r]=n;const o=(r+1)%i.length|0;e.state=new To(1,i,o,r)}var r,i}(i,e);else{o=!0;let t=kn(e);for(;null!=t;){const e=In(t);try{const t=n.update(e,s),r=t[0];n.setState(r,a),yo((t=>{n.onError([dt(lt("Error in command while handling: %A"))(e),t])}),a,t[1]),s=r}catch(t){n.onError([dt(lt("Unable to process the message: %A"))(e),t])}t=Mo(i)}o=!1}}]);n.setState(r,a),yo((e=>{n.onError(["Error intitializing:",e])}),a,_o(Gt([(()=>{try{return n.subscribe(r)}catch(e){return n.onError(["Unable to subscribe:",e]),bo()}})(),t[1]])))}class Lo{constructor(){this.hasDisposedOnce=!1,this.state=void 0,this.listener=void 0,this.dispatcher=void 0}}function jo(){return new Lo}function Wo(e,n,t,r){Bo(n,Ro(((e,n)=>{!function(e,n,t){e.state=kn(n),e.dispatcher=t;const r=e.listener;null!=r&&r(n)}(t,e,n)}),e()));const i=function(e){return e.state}(t);if(null!=i)return In(i);throw new Error("Elmish program has not initialized")}function Fo(e,n){return function(e,n,t){const r=Pi(jo)[0],i=Pi((()=>Wo(e,n,r))),o=i[1];return Ri((()=>(function(e){return e.hasDisposedOnce}(r)&&o(Wo(e,n,r)),Mi((()=>{!function(e){const n=e.state;if(null!=n){const e=In(n);Fe(e)&&Ue(e)}e.dispatcher=void 0,e.state=void 0,e.hasDisposedOnce=!0}(r)})))),En(t,[])),function(e,n){null==e.listener&&(e.listener=n)}(r,o),[i[0],e=>{!function(e,n){const t=e.dispatcher;null!=t&&t(n)}(r,e)}]}(e,void 0,n)}function Uo(e,n,t){return Fo((()=>Do(e,n,((e,n)=>{}))),t)}function zo(e,n,t){return Fo((()=>Do((()=>e),n,((e,n)=>{}))),t)}class Vo{constructor(e,n,t,r){this.declaringType=e,this.tag=n,this.name=t,this.fields=r}}class Ho{constructor(e,n,t,r,i,o,s){this.fullname=e,this.generics=n,this.construct=t,this.parent=r,this.fields=i,this.cases=o,this.enumCases=s}toString(){return cs(this)}GetHashCode(){return Zo(this)}Equals(e){return qo(this,e)}}function Go(e){return null!=e.generics?e.generics:[]}function Zo(e){return en([Ke(e.fullname),...Go(e).map(Zo)])}function qo(e,n){return""===e.fullname?""===n.fullname&&rn(ws(e),ws(n),(([e,n],[t,r])=>e===t&&qo(n,r))):e.fullname===n.fullname&&rn(Go(e),Go(n),qo)}function Yo(e,n,t,r){return new Ho(e,n,t,r)}function Jo(e,n,t,r){return new Ho(e,n,t,void 0,r)}function Xo(...e){return new Ho("",void 0,void 0,void 0,(()=>e))}function Ko(e,n,t,r){const i=new Ho(e,n,t,void 0,void 0,(()=>{const e=t.prototype.cases();return r().map(((n,t)=>new Vo(i,t,e[t],n)))}));return i}function Qo(...e){return new Ho("System.Tuple`"+e.length,e)}function es(e){return new Ho("Microsoft.FSharp.Core.FSharpOption`1",[e])}function ns(e){return new Ho("Microsoft.FSharp.Collections.FSharpList`1",[e])}const ts=new Ho("System.Object"),rs=(new Ho("Microsoft.FSharp.Core.Unit"),new Ho("System.Char"),new Ho("System.String")),is=new Ho("System.Boolean"),os=(new Ho("System.SByte"),new Ho("System.Byte"),new Ho("System.Int16"),new Ho("System.UInt16"),new Ho("System.Int32")),ss=(new Ho("System.UInt32"),new Ho("System.Single"),new Ho("System.Double"));function as(e){if(Array.isArray(e))return e[0];if(e instanceof Ho){const n=us(e);if(null!=n)return as(n)+"[]";{const n=e.fullname.lastIndexOf(".");return-1===n?e.fullname:e.fullname.substr(n+1)}}return e.name}function cs(e){const n=us(e);return null!=n?cs(n)+"[]":null==e.generics||0===e.generics.length?e.fullname:e.fullname+"["+e.generics.map((e=>cs(e))).join(",")+"]"}function ls(e){return null!=us(e)}function us(e){var n;return"[]"===e.fullname&&1===(null===(n=e.generics)||void 0===n?void 0:n.length)?e.generics[0]:void 0}function fs(e){return null!=e.generics&&e.generics.length>0}function ds(e){return null!=e.enumCases&&e.enumCases.length>0}function hs(e){return null==e.generics?e:new Ho(e.fullname,e.generics.map((()=>ts)))}function ms(e){var n;return null===(n=e.generics)||void 0===n?void 0:n[0]}function ps(e){if(ds(e)&&null!=e.enumCases)return e.enumCases.map((e=>e[1]));throw new Error(`${e.fullname} is not an enum type`)}function $s(e,n){const t=parseInt(n,10);return function(e,n){if(null!=e.enumCases){if("string"==typeof n){for(const t of e.enumCases)if(t[0]===n)return t;throw new Error(`'${n}' was not found in ${e.fullname}`)}for(const t of e.enumCases)if(t[1]===n)return t;return["",n]}throw new Error(`${e.fullname} is not an enum type`)}(e,isNaN(t)?n:t)[1]}function gs(e){if(null!=e.cases)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function ws(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function vs(e){if(Cs(e)&&null!=e.generics)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function ys(e){return e instanceof Ho?null!=e.cases:e instanceof vn}function bs(e){return e instanceof Ho?null!=e.fields:e instanceof yn}function Cs(e){return e.fullname.startsWith("System.Tuple")}function _s(e){return null==e.fields?[]:e.fields}new Ho("System.Decimal");class xs extends yn{constructor(e,n){super(),this.CssOverrides=e,this.MaskedEmail=n}}class ks extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Activated","InviteCodeInvalid","InviteExpired","InviteLocked","AwaitingConfirmation"]}}class Is extends yn{constructor(e){super(),this.AuthCode=e}}class Ss extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["CodeMatch","CodeMismatch","CodeExpired","InviteLocked","NoSecondFactorCodeIssued"]}}class As extends yn{constructor(e,n){super(),this.CssOverrides=e,this.MaskedEmail=n}}function Es(){return Jo("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ActivationContextDto",[],As,(()=>[["CssOverrides",ns(rs)],["MaskedEmail",rs]]))}function Os(e){return new xs(e.CssOverrides,e.MaskedEmail)}class Ts extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Activated","InviteCodeInvalid","InviteExpired","InviteLocked","AwaitingConfirmation"]}}class Ns extends yn{constructor(e){super(),this.AuthCode=e}}class Ms extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["CodeMatch","CodeMismatch","CodeExpired","InviteLocked","NoSecondFactorCodeIssued"]}}class Ps extends yn{constructor(e){super(),this.Mfa=e}}class Ds extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function Rs(e,n){switch(n.tag){case 1:return new Ds(1);case 3:return new Ds(3,n.fields[0]);case 2:try{return new Ds(2,e(n.fields[0]))}catch(e){return new Ds(3,e)}default:return new Ds(0)}}function Bs(e,n){const t=zi(new Ds(0)),r=t[1];let i;const o=Wi(co()),s=Wi(o.current);Li((()=>Mi((()=>{lo(o.current)})))),i=s;const a=no.Delay((()=>no.TryWith(no.Delay((()=>(r(new Ds(1)),no.Bind(e,(e=>(r(new Ds(2,e)),no.Zero())))))),(e=>(r(new Ds(3,e)),no.Zero())))));return ji((()=>{po(a,i.current)}),n),t[0]}function Ls(e,n){const t=Wi(co());return Li((()=>Mi((()=>{lo(t.current)})))),Ui((r=>{var i;null!=(i=t.current)&&i.isCancelled||po(no.Delay((()=>no.TryWith(no.Delay((()=>(n(new Ds(1)),no.Bind(e(r),(e=>(n(new Ds(2,e)),no.Zero())))))),(e=>(n(new Ds(3,e)),no.Zero()))))),t.current)}))}function js(e,n){return gt(n)?new to(1,dt(lt("%s cannot be null or empty"))(e)):new to(0,n)}function Ws(e){const n=function(e){let n;const t=function(e,n){const t=function(e,n,t=0){return e.lastIndex=t,e.exec(n)}(nt(".*?@(.*)"),n);return null!=t?Wt($r(fr((()=>Cr((e=>e||""),t))))):void 0}(0,e);switch(n=null!=t?Bt(t)?1:Bt(Wt(t))?0:1:1,n){case 0:return e;case 1:return}}(e);return null!=n?new to(0,n):new to(1,"Email is not in the correct format")}const Fs=e=>({tag:"ok",value:e}),Us=e=>({tag:"error",error:e});class zs{constructor(e){this.uri=e}static isAbsoluteUri(e){try{return new URL(e),!0}catch(e){return!1}}static tryCreateWithKind(e,n){switch(n){case 1:return zs.isAbsoluteUri(e)?Fs(new zs({original:e,value:new URL(e),kind:n})):Us("Invalid URI: The format of the URI could not be determined.");case 2:return zs.isAbsoluteUri(e)?Us("URI is not a relative path."):Fs(new zs({original:e,value:e,kind:n}));case 0:return zs.isAbsoluteUri(e)?Fs(new zs({original:e,value:new URL(e),kind:1})):Fs(new zs({original:e,value:e,kind:2}));default:return n}}static tryCreateWithBase(e,n){return 1!==e.uri.kind?Us("Base URI should have Absolute kind"):"string"==typeof n?Fs(new zs({original:new URL(n,e.uri.value).toString(),value:new URL(n,e.uri.value),kind:1})):2===n.uri.kind?Fs(new zs({original:new URL(n.uri.value,e.uri.value).toString(),value:new URL(n.uri.value,e.uri.value),kind:1})):Fs(e)}static tryCreateImpl(e,n=1){return"string"==typeof e?"number"!=typeof n?Us("Kind must be specified when the baseUri is a string."):zs.tryCreateWithKind(e,n):"number"==typeof n?Us("Kind should not be specified when the baseUri is an absolute Uri."):zs.tryCreateWithBase(e,n)}static create(e,n=1){const t=zs.tryCreateImpl(e,n);switch(t.tag){case"ok":return t.value;case"error":throw new Error(t.error);default:return t}}static tryCreate(e,n=1,t){const r=zs.tryCreateImpl(e,n);switch(r.tag){case"ok":return t.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 Vs extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ProfileId"]}}function Hs(e){return new Vs(0,e)}function Gs(e){return e.fields[0]}class Zs extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["InviteCode"]}}function qs(e){return function(e){return!wt(e)}(e)?new to(0,new Zs(0,e)):new to(1,"Invalid invite code format.")}function Ys(e){return e.fields[0]}class Js extends yn{constructor(e,n,t){super(),this.CompanyName=e,this.Logo=n,this.Support=t}}class Xs extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Logo"]}}class Ks extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["CompanyName"]}}class Qs extends yn{constructor(e,n){super(),this.Email=e,this.Phone=n}}class ea extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Email"]}}class na extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Phone"]}}const ta=e=>ro((e=>new ea(0,e)),io(Ws,js("Email",e)));function ra(e){return e.fields[0]}const ia=e=>ro((e=>new na(0,e)),js("Phone",e));function oa(e){return e.fields[0]}function sa(e){return e.fields[0]}function aa(e){return e.fields[0]}class ca extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Initializing","WaitingForInput","Failed"]}}class la extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["InitInvite","ActivateInvite","ValidateMfa","ProcessInput","ShowValidation"]}}class ua extends yn{constructor(e,n,t,r,i,o,s){super(),this.InviteToken=e,this.MaskedEmail=n,this.MfaCodeForm=t,this.IsValidationPending=r,this.CanRetry=i,this.Ui=o,this.CssOverrides=s}}const fa=(()=>{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 da(e){return On((e=>e.passive&&!fa?{capture:e.capture,once:e.once,passive:!1}:e),e)}function ha(e){return Tn((e=>e.capture?{capture:!0}:void 0),e)}function ma(e,n){return 0===n.indexOf(e)?n:void 0}function pa(e,n){return function(e,n){const t=e.lastIndexOf(n);return t>=0&&t===e.length-n.length}(n,e)?n:void 0}function $a(e,n){return function(e){return 1===e?e=>{let n,t,r,i,o,s;return n=ma("/",e),null!=n?(t=n,"#"+t):(r=ma("#/",e),null!=r?(i=r,i):(o=ma("#",e),null!=o?(s=o,"#/"+xt(s,1,s.length-1)):"#/"+e))}:e=>{let n,t;return n=ma("/",e),null!=n?(t=n,t):"/"+e}}(n)(vt("/",qt((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function ga(e,n,t){1===n?history.pushState(void 0,"",$a(e,t)):history.replaceState(void 0,"",$a(e,t));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}function wa(e,n){return function(e,n){let t,r;const i=At();let o=i,s=n;for(;!Ot(s);){let n=e(Nt(s));for(;!Ot(n);)t=o,r=new It(Nt(n),void 0),t.tail=r,o=r,n=Mt(n);s=Mt(s)}const a=o,c=At();return a.tail=c,Mt(i)}((e=>{if(wt(e))return Pt();{const n=function(e,...n){return 0===n.length?e.trimEnd():e.replace(new RegExp("["+tt(n.join(""))+"]+$"),"")}(e,"#");if("?"===n)return Pt();if(null!=ma("?",n))return Rt(n);{const e=n.split("?");if(Bn(((e,n)=>e===n),e,null)||1!==e.length){if(Bn(((e,n)=>e===n),e,null)||2!==e.length)return Pt();if(""===e[1]){const n=e[0];return Rt(decodeURIComponent(n))}{const n=e[0],t=e[1];return Gt([decodeURIComponent(n),"?"+t])}}{const n=e[0];return Rt(decodeURIComponent(n))}}}}),Gt(Ct(null!=ma("#",e)?xt(e,1,e.length-1):1!==n||null==pa("#",e)&&null==pa("#/",e)?e:"",["/"],null,0)))}const va=function(e,n,t,r){const i=gi.memo(e,mn(2,En($n(2,t),null)));return br((n=>{e.displayName=n}),An(n)),e=>{const n=function(e,n){if(null==e)return n;{const t=e;return n.key=t(n),n}}(r,e);return gi.createElement(i,n)}}((e=>{const n=Ui((n=>{const t=En(e.onUrlChanged,(e=>{}));!function(e,n,t){n(wa(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(En(e.hashMode,1),t)}));if(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0){const e="hashchange",t=e=>{n(e)},r=void 0,i=Fi((()=>da(r)),[r]),o=Fi((()=>ha(r)),[r]),s=Fi((()=>e=>{t(e)}),[t]);Di(Ui((()=>{if(null==i)window.addEventListener(e,s);else{const n=i;window.addEventListener(e,s,n)}return Mi((()=>{if(null==o)window.removeEventListener(e,s);else{const n=o;window.removeEventListener(e,s,n)}}))})))}else{const e="popstate",t=n,r=void 0,i=Fi((()=>da(r)),[r]),o=Fi((()=>ha(r)),[r]),s=Fi((()=>e=>{t(e)}),[t]);Di(Ui((()=>{if(null==i)window.addEventListener(e,s);else{const n=i;window.addEventListener(e,s,n)}return Mi((()=>{if(null==o)window.removeEventListener(e,s);else{const n=o;window.removeEventListener(e,s,n)}}))})))}const t="CUSTOM_NAVIGATION_EVENT",r=n,i=void 0,o=Fi((()=>da(i)),[i]),s=Fi((()=>ha(i)),[i]),a=Fi((()=>e=>{r(e)}),[r]);Di(Ui((()=>{if(null==o)window.addEventListener(t,a);else{const e=o;window.addEventListener(t,a,e)}return Mi((()=>{if(null==s)window.removeEventListener(t,a);else{const e=s;window.removeEventListener(t,a,e)}}))})));const c=e.application;return null==c?null:c}),void 0,void 0,void 0);function ya(e){try{const n=new URLSearchParams(e);return $r(fr((()=>Cr((e=>[e[0],e[1]]),n.entries()))))}catch(e){return}}class ba extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Autodev","Test","Prod","Sandbox"]}}const Ca=document.getElementById("workflows-app"),_a=Ca.getAttribute("data-identity-url"),xa=Ca.getAttribute("data-backend-url"),ka=Gt(["workflows","app"]),Ia=Gt(["workflows","embed","v1.0","app"]),Sa="apollo-workflows-app";class Aa extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Embedded","Standalone","Unknown"]}}function Ea(e){switch(e.tag){case 0:default:return $a(Ia,2);case 1:return $a(ka,2)}}!function(e){const n=Gt(Ct(e,["."],null,0));let t;switch(t=Bt(n)?4:"autodev-partner"===jt(n)?0:"test-partner"===jt(n)?1:"partner"===jt(n)?2:"sandbox-partner"===jt(n)?3:4,t){case 0:return new to(0,new ba(0));case 1:return new to(0,new ba(1));case 2:return new to(0,new ba(2));case 3:return new to(0,new ba(3));case 4:new to(1,"Invalid environment")}}(zs.create(xa).host);var Oa=null;try{Oa=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 Ta(e,n,t){this.low=0|e,this.high=0|n,this.unsigned=!!t}function Na(e){return!0===(e&&e.__isLong__)}Ta.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},Ta.prototype.Equals=function(e){return oc(this,e)},Ta.prototype.CompareTo=function(e){return lc(this,e)},Ta.prototype.toString=function(e){return nc(this,e)},Ta.prototype.toJSON=function(){return nc(this)},Ta.prototype[qn]=function(){const e=this;return{multiply:n=>hc(e,n),toPrecision:n=>String(e)+(0).toPrecision(n).substr(1),toExponential:n=>String(e)+(0).toExponential(n).substr(1),toFixed:n=>String(e)+(0).toFixed(n).substr(1),toHex:()=>{return nc(e.unsigned?e:function(e,n,t){return t?function(e,n){return new Ta(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,n)}(e,n):function(e,n){return new Ta(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],n)}(e,n)}((n=e,t?function(e){var n=e.high,t=e.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&n,n>>>8&255,n>>>16&255,n>>>24]}(n):function(e){var n=e.high,t=e.low;return[n>>>24,n>>>16&255,n>>>8&255,255&n,t>>>24,t>>>16&255,t>>>8&255,255&t]}(n)),!0),16);var n,t}}},Ta.prototype.__isLong__,Object.defineProperty(Ta.prototype,"__isLong__",{value:!0});var Ma={},Pa={};function Da(e,n){var t,r,i;return n?(i=0<=(e>>>=0)&&e<256)&&(r=Pa[e])?r:(t=Ba(e,(0|e)<0?-1:0,!0),i&&(Pa[e]=t),t):(i=-128<=(e|=0)&&e<128)&&(r=Ma[e])?r:(t=Ba(e,e<0?-1:0,!1),i&&(Ma[e]=t),t)}function Ra(e,n){if(isNaN(e))return n?Ga:Ha;if(n){if(e<0)return Ga;if(e>=Ua)return Xa}else{if(e<=-za)return Ka;if(e+1>=za)return Ja}return e<0?uc(Ra(-e,n)):Ba(e%Fa|0,e/Fa|0,n)}function Ba(e,n,t){return new Ta(e,n,t)}var La=Math.pow;function ja(e,n,t){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return Ha;if("number"==typeof n?(t=n,n=!1):n=!!n,(t=t||10)<2||36<t)throw RangeError("radix");var r=e.indexOf("-");if(r>0)throw Error("interior hyphen");if(0===r)return uc(ja(e.substring(1),n,t));for(var i=Ra(La(t,8)),o=Ha,s=0;s<e.length;s+=8){var a=Math.min(8,e.length-s),c=parseInt(e.substring(s,s+a),t);o=fc(a<8?hc(o,Ra(La(t,a))):o=hc(o,i),Ra(c))}return o.unsigned=n,o}function Wa(e,n){return"number"==typeof e?Ra(e,n):"string"==typeof e?ja(e,n):Ba(e.low,e.high,"boolean"==typeof n?n:e.unsigned)}var Fa=4294967296,Ua=Fa*Fa,za=Ua/2,Va=Da(1<<24),Ha=Da(0),Ga=Da(0,!0),Za=Da(1),qa=Da(1,!0),Ya=Da(-1),Ja=Ba(-1,2147483647,!1),Xa=Ba(-1,-1,!0),Ka=Ba(0,-2147483648,!1);function Qa(e){return e.unsigned?e.low>>>0:e.low}function ec(e){return e.unsigned?(e.high>>>0)*Fa+(e.low>>>0):e.high*Fa+(e.low>>>0)}function nc(e,n){if((n=n||10)<2||36<n)throw RangeError("radix");if(tc(e))return"0";if(rc(e)){if(oc(e,Ka)){var t=Ra(n),r=mc(e,t),i=dc(hc(r,t),e);return nc(r,n)+Qa(i).toString(n)}return"-"+nc(uc(e),n)}for(var o=Ra(La(n,6),e.unsigned),s=e,a="";;){var c=mc(s,o),l=(Qa(dc(s,hc(c,o)))>>>0).toString(n);if(tc(s=c))return l+a;for(;l.length<6;)l="0"+l;a=""+l+a}}function tc(e){return 0===e.high&&0===e.low}function rc(e){return!e.unsigned&&e.high<0}function ic(e){return 1==(1&e.low)}function oc(e,n){return Na(n)||(n=Wa(n)),(e.unsigned===n.unsigned||e.high>>>31!=1||n.high>>>31!=1)&&e.high===n.high&&e.low===n.low}function sc(e,n){return lc(e,n)<0}function ac(e,n){return lc(e,n)>0}function cc(e,n){return lc(e,n)>=0}function lc(e,n){if(Na(n)||(n=Wa(n)),oc(e,n))return 0;var t=rc(e),r=rc(n);return t&&!r?-1:!t&&r?1:e.unsigned?n.high>>>0>e.high>>>0||n.high===e.high&&n.low>>>0>e.low>>>0?-1:1:rc(dc(e,n))?-1:1}function uc(e){return!e.unsigned&&oc(e,Ka)?Ka:fc(function(e){return Ba(~e.low,~e.high,e.unsigned)}(e),Za)}function fc(e,n){Na(n)||(n=Wa(n));var t=e.high>>>16,r=65535&e.high,i=e.low>>>16,o=65535&e.low,s=n.high>>>16,a=65535&n.high,c=n.low>>>16,l=0,u=0,f=0,d=0;return f+=(d+=o+(65535&n.low))>>>16,u+=(f+=i+c)>>>16,l+=(u+=r+a)>>>16,l+=t+s,Ba((f&=65535)<<16|(d&=65535),(l&=65535)<<16|(u&=65535),e.unsigned)}function dc(e,n){return Na(n)||(n=Wa(n)),fc(e,uc(n))}function hc(e,n){if(tc(e))return e.unsigned?Ga:Ha;if(Na(n)||(n=Wa(n)),Oa)return Ba(Oa.mul(e.low,e.high,n.low,n.high),Oa.get_high(),e.unsigned);if(tc(n))return e.unsigned?Ga:Ha;if(oc(e,Ka))return ic(n)?Ka:Ha;if(oc(n,Ka))return ic(e)?Ka:Ha;if(rc(e))return rc(n)?hc(uc(e),uc(n)):uc(hc(uc(e),n));if(rc(n))return uc(hc(e,uc(n)));if(sc(e,Va)&&sc(n,Va))return Ra(ec(e)*ec(n),e.unsigned);var t=e.high>>>16,r=65535&e.high,i=e.low>>>16,o=65535&e.low,s=n.high>>>16,a=65535&n.high,c=n.low>>>16,l=65535&n.low,u=0,f=0,d=0,h=0;return d+=(h+=o*l)>>>16,f+=(d+=i*l)>>>16,d&=65535,f+=(d+=o*c)>>>16,u+=(f+=r*l)>>>16,f&=65535,u+=(f+=i*c)>>>16,f&=65535,u+=(f+=o*a)>>>16,u+=t*l+r*c+i*a+o*s,Ba((d&=65535)<<16|(h&=65535),(u&=65535)<<16|(f&=65535),e.unsigned)}function mc(e,n){if(Na(n)||(n=Wa(n)),tc(n))throw Error("division by zero");var t,r,i;if(Oa)return e.unsigned||-2147483648!==e.high||-1!==n.low||-1!==n.high?Ba((e.unsigned?Oa.div_u:Oa.div_s)(e.low,e.high,n.low,n.high),Oa.get_high(),e.unsigned):e;if(tc(e))return e.unsigned?Ga:Ha;if(e.unsigned){if(n.unsigned||(n=function(e){return e.unsigned?e:Ba(e.low,e.high,!0)}(n)),ac(n,e))return Ga;if(ac(n,function(e,n){if(Na(n)&&(n=Qa(n)),0==(n&=63))return e;var t=e.high;return n<32?Ba(e.low>>>n|t<<32-n,t>>>n,e.unsigned):Ba(32===n?t:t>>>n-32,0,e.unsigned)}(e,1)))return qa;i=Ga}else{if(oc(e,Ka))return oc(n,Za)||oc(n,Ya)?Ka:oc(n,Ka)?Za:oc(t=function(e,n){return Na(n)&&(n=Qa(n)),0==(n&=63)?e:n<32?Ba(e.low<<n,e.high<<n|e.low>>>32-n,e.unsigned):Ba(0,e.low<<n-32,e.unsigned)}(mc(function(e,n){return Na(n)&&(n=Qa(n)),0==(n&=63)?e:n<32?Ba(e.low>>>n|e.high<<32-n,e.high>>n,e.unsigned):Ba(e.high>>n-32,e.high>=0?0:-1,e.unsigned)}(e,1),n),1),Ha)?rc(n)?Za:Ya:i=fc(t,mc(r=dc(e,hc(n,t)),n));if(oc(n,Ka))return e.unsigned?Ga:Ha;if(rc(e))return rc(n)?mc(uc(e),uc(n)):uc(mc(uc(e),n));if(rc(n))return uc(mc(e,uc(n)));i=Ha}for(r=e;cc(r,n);){t=Math.max(1,Math.floor(ec(r)/ec(n)));for(var o=Math.ceil(Math.log(t)/Math.LN2),s=o<=48?1:La(2,o-48),a=Ra(t),c=hc(a,n);rc(c)||ac(c,r);)c=hc(a=Ra(t-=s,e.unsigned),n);tc(a)&&(a=Za),i=fc(i,a),r=dc(r,c)}return i}const pc=mc,$c=ec;function gc(e){return e<0?Math.ceil(e):Math.floor(e)}function wc(e=0,n=0,t=0,r=0,i=0){switch(arguments.length){case 1:return $c(pc(arguments[0],1e4));case 3:e=0,n=arguments[0],t=arguments[1],r=arguments[2],i=0}return 864e5*e+36e5*n+6e4*t+1e3*r+i}function vc(e){return wc(0,e,0)}function yc(e,n){try{return n.contents=function(e){const n=e.search("\\."),t=e.search("\\:");if(-1===n&&-1===t){const n=parseInt(e,0);if(isNaN(n))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return wc(n,0,0,0,0)}if(t>0){const n=/^(-?)((\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!=n&&null!=n[4]&&null!=n[5]){let t=0,r=0,i=0;const o=null!=n[1]&&"-"===n[1]?-1:1,s=+n[4],a=+n[5];if(null!=n[3]&&(t=+n[3]),null!=n[7]&&(i=+n[7]),null!=n[8])switch(n[8].length){case 1:r=100*+n[8];break;case 2:r=10*+n[8];break;case 3:r=+n[8];break;case 4:r=+n[8]/10;break;case 5:r=+n[8]/100;break;case 6:r=+n[8]/1e3;break;case 7:r=+n[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return o*wc(t,s,a,i,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}class bc extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["SecondFactorCode"]}}function Cc(e){return function(e){return!gt(e)&&function(e,n,t=0){return e.lastIndex=t,e.test(n)}(/^(\d{6})$/gu,e)}(e)?new to(0,new bc(0,e)):new to(1,"Invalid second factor code format.")}class _c extends yn{constructor(e,n,t,r){super(),this.Code=e,this.DateIssued=n,this.NumberOfAttempts=0|t,this.DateOfLastAttempt=r}}vc(5);class xc extends yn{constructor(e,n,t,r){super(),this.Code=e,this.DateIssued=n,this.SecondFactor=t,this.Branding=r}}wc(10,0,0,0),vc(30);class kc extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class Ic extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Header"]}}class Sc extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Empty","Text","Binary","Form"]}}class Ac extends yn{constructor(e,n,t,r,i,o,s,a){super(),this.url=e,this.method=n,this.headers=t,this.withCredentials=r,this.overridenMimeType=i,this.overridenResponseType=o,this.timeout=s,this.content=a}}class Ec extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Oc extends yn{constructor(e,n,t,r,i,o){super(),this.statusCode=0|e,this.responseText=n,this.responseType=t,this.responseUrl=r,this.responseHeaders=i,this.content=o}}class Tc{constructor(e,n){this.k=e,this.v=n}}function Nc(e,n){return new Tc(e,n)}function Mc(e){return e.k}function Pc(e){return e.v}class Dc extends Tc{constructor(e,n,t,r,i){super(e,n),this.left=t,this.right=r,this.h=0|i}}function Rc(e,n,t,r,i){return new Dc(e,n,t,r,i)}function Bc(e){return e.left}function Lc(e){return e.right}function jc(e){return e.h}function Wc(e,n){e:for(;;){const t=e;if(null!=n){const r=n;if(r instanceof Dc){e=Wc(t+1,Bc(r)),n=Lc(r);continue e}return t+1|0}return 0|t}}function Fc(e){return Wc(0,e)}function Uc(e,n,t,r){let i,o;i=null!=e?e instanceof Dc?jc(e):1:0,o=null!=r?r instanceof Dc?jc(r):1:0;const s=0|(i<o?o:i);return 0===s?Nc(n,t):Rc(n,t,e,r,s+1)}function zc(e,n,t,r){let i,o,s,a,c,l;if(c=null!=e?e instanceof Dc?jc(e):1:0,l=null!=r?r instanceof Dc?jc(r):1:0,l>c+2){const s=In(r);if(s instanceof Dc){if(i=Bc(s),(null!=i?(o=i,o instanceof Dc?jc(o):1):0)>c+1){const r=In(Bc(s));if(r instanceof Dc)return Uc(Uc(e,n,t,Bc(r)),Mc(r),Pc(r),Uc(Lc(r),Mc(s),Pc(s),Lc(s)));throw new Error("internal error: Map.rebalance")}return Uc(Uc(e,n,t,Bc(s)),Mc(s),Pc(s),Lc(s))}throw new Error("internal error: Map.rebalance")}if(c>l+2){const i=In(e);if(i instanceof Dc){if(s=Lc(i),(null!=s?(a=s,a instanceof Dc?jc(a):1):0)>l+1){const e=In(Lc(i));if(e instanceof Dc)return Uc(Uc(Bc(i),Mc(i),Pc(i),Bc(e)),Mc(e),Pc(e),Uc(Lc(e),n,t,r));throw new Error("internal error: Map.rebalance")}return Uc(Bc(i),Mc(i),Pc(i),Uc(Lc(i),n,t,r))}throw new Error("internal error: Map.rebalance")}return Uc(e,n,t,r)}function Vc(e,n,t,r){if(null!=r){const i=r,o=0|e.Compare(n,Mc(i));return i instanceof Dc?o<0?zc(Vc(e,n,t,Bc(i)),Mc(i),Pc(i),Lc(i)):0===o?Rc(n,t,Bc(i),Lc(i),jc(i)):zc(Bc(i),Mc(i),Pc(i),Vc(e,n,t,Lc(i))):o<0?Rc(n,t,void 0,r,2):0===o?Nc(n,t):Rc(n,t,r,void 0,2)}return Nc(n,t)}function Hc(e,n,t){e:for(;;){const r=e,i=n;if(null!=t){const o=t,s=0|r.Compare(i,Mc(o));if(0===s)return kn(Pc(o));if(o instanceof Dc){e=r,n=i,t=s<0?Bc(o):Lc(o);continue e}return}return}}function Gc(e,n){e:for(;;){const t=e;if(null!=n){const r=n;if(r instanceof Dc){Gc(t,Bc(r)),t(Mc(r),Pc(r)),e=t,n=Lc(r);continue e}t(Mc(r),Pc(r))}break}}function Zc(e,n){Gc(e,n)}function qc(e,n){if(null!=n){const t=n;if(t instanceof Dc){const n=qc(e,Bc(t)),r=e(Mc(t),Pc(t)),i=qc(e,Lc(t));return Rc(Mc(t),r,n,i,jc(t))}return Nc(Mc(t),e(Mc(t),Pc(t)))}}function Yc(e,n){return qc(e,n)}function Jc(e,n){let t;for(let r=0;r<=n.length-1;r++){const i=n[r];t=Vc(e,i[0],i[1],t)}return t}class Xc extends yn{constructor(e,n){super(),this.stack=e,this.started=n}}function Kc(e){e:for(;;){const n=e;if(Bt(n))return Pt();{const t=Wt(n),r=jt(n);if(null!=r){const i=r;if(i instanceof Dc){e=Ht([Bc(i),Nc(Mc(i),Pc(i)),Lc(i)],t);continue e}return n}e=t;continue e}}}function Qc(e){return new Xc(Kc(Rt(e)),!1)}function el(e){if(e.started){const n=e.stack;if(Bt(n))return function(){throw new Error("enumeration already finished")}();if(null!=jt(n)){const e=jt(n);if(e instanceof Dc)throw new Error("Please report error: Map iterator, unexpected stack for current");return[Mc(e),Pc(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function nl(e){let n=Qc(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>el(n),"System.Collections.IEnumerator.get_Current":()=>el(n),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const n=e.stack;if(Bt(n))return!1;if(null!=jt(n)){if(jt(n)instanceof Dc)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=Kc(Wt(n)),!Bt(e.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!Bt(e.stack)}(n),"System.Collections.IEnumerator.Reset"(){n=Qc(e)},Dispose(){}}}class tl{constructor(e,n){this.comparer=e,this.tree=n}GetHashCode(){return 0|function(e){const n=(e,n)=>(e<<1)+n+631;let t=0;const r=He(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t=0|n(t,nn(e[0])),t=0|n(t,nn(e[1]))}}finally{Ue(r)}return 0|t}(this)}Equals(e){if(!(e instanceof tl))return!1;{const n=He(this);try{const t=He(e);try{const e=()=>{const r=n["System.Collections.IEnumerator.MoveNext"]();if(r===t["System.Collections.IEnumerator.MoveNext"]()){if(r){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"](),i=t["System.Collections.Generic.IEnumerator`1.get_Current"]();return!(!sn(r[0],i[0])||!sn(r[1],i[1]))&&e()}return!0}return!1};return e()}finally{Ue(t)}}finally{Ue(n)}}}toString(){return"map ["+vt("; ",Cr((e=>$t("({0}, {1})",e[0],e[1])),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(e){return Array.from(this)}GetEnumerator(){return nl(this.tree)}[Symbol.iterator](){return Ge(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return nl(this.tree)}CompareTo(e){const n=this;if(e instanceof tl)return 0|function(e,n,t){const r=ur(n);try{const n=ur(t);try{let t=0,i=r["System.Collections.IEnumerator.MoveNext"](),o=n["System.Collections.IEnumerator.MoveNext"]();for(;0===t&&i&&o;)t=0|e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),n["System.Collections.Generic.IEnumerator`1.get_Current"]()),0===t&&(i=r["System.Collections.IEnumerator.MoveNext"](),o=n["System.Collections.IEnumerator.MoveNext"]());return 0|(0!==t?t:i?1:o?-1:0)}finally{Ue(n)}}finally{Ue(r)}}(((e,t)=>{const r=0|n.comparer.Compare(e[0],t[0]);return 0|(0!==r?r:un(e[1],t[1]))}),n,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 al(this,e[0])&&sn(ol(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,n){!function(e,n,t){let r=t;Zc(((e,t)=>{n[r]=[e,t],r=r+1|0}),e)}(this.tree,e,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|sl(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|sl(this)}get size(){return 0|sl(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return Cr((e=>[e[0],e[1]]),this)}get(e){return ol(this,e)}has(e){return al(this,e)}keys(){return Cr((e=>e[0]),this)}set(e,n){throw new Error("Map cannot be mutated")}values(){return Cr((e=>e[1]),this)}forEach(e,n){const t=this;br((n=>{e(n[1],n[0],t)}),t)}}function rl(e,n){return new tl(e,n)}function il(e){const n=Nn();return rl(n,function(e,n){if(je(n))return Jc(e,n);if(n instanceof It)return function(e,n){return Ut(((n,t)=>Vc(e,t[0],t[1],n)),void 0,n)}(e,n);{const t=He(n);try{return function(e,n,t){for(;;){const r=e,i=n,o=t;if(!o["System.Collections.IEnumerator.MoveNext"]())return i;{const s=o["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,n=Vc(r,s[0],s[1],i),t=o}}}(e,void 0,t)}finally{Ue(t)}}}(n,e))}function ol(e,n){return function(e,n,t){const r=Hc(e,n,t);if(null==r)throw new Error;return In(r)}(e.comparer,n,e.tree)}function sl(e){return Fc(e.tree)}function al(e,n){return function(e,n,t){e:for(;;){const r=e,i=n;if(null!=t){const o=t,s=0|r.Compare(i,Mc(o));if(o instanceof Dc){if(s<0){e=r,n=i,t=Bc(o);continue e}if(0===s)return!0;e=r,n=i,t=Lc(o);continue e}return 0===s}return!1}}(e.comparer,n,e.tree)}function cl(e,n,t){return function(e,n,t){return rl(e.comparer,Vc(e.comparer,n,t,e.tree))}(t,e,n)}function ll(e,n){return function(e,n){return Hc(e.comparer,n,e.tree)}(n,e)}function ul(e,n){return function(e,n){return rl(e.comparer,Yc(n,e.tree))}(n,e)}function fl(){return tl.empty}function dl(e){return new Ic(0,"Content-Type",e)}tl.empty=rl(Nn(),void 0);const hl=new Ac("",new kc(0),Pt(),!1,void 0,void 0,void 0,new Sc(0));function ml(e,n){return gt(n)?[n]:Ct(n,[e],null,0)}function pl(e){return new Ac(e,hl.method,hl.headers,hl.withCredentials,hl.overridenMimeType,hl.overridenResponseType,hl.timeout,hl.content)}function $l(e,n){return new Ac(n.url,e,n.headers,n.withCredentials,n.overridenMimeType,n.overridenResponseType,n.timeout,n.content)}function gl(e,n){return new Ac(n.url,n.method,Zt(n.headers,Rt(e)),n.withCredentials,n.overridenMimeType,n.overridenResponseType,n.timeout,n.content)}function wl(e,n){return new Ac(n.url,n.method,n.headers,n.withCredentials,n.overridenMimeType,n.overridenResponseType,n.timeout,e)}function vl(e){return ho((n=>{const t=new XMLHttpRequest;t.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),t.onreadystatechange=()=>{let e,r,i,o,s,a,c;4===t.readyState&&n[0]((r=t.responseType,e=""===r||"text"===r?t.responseText:"",i=0|t.status,o=t.responseType,a=t.responseType,s=""===a||"text"===a?new Ec(0,t.responseText):new Ec("arraybuffer"===a?2:"blob"===a?1:3,t.response),c=function(e){const n=Nn();return rl(n,Jc(n,e))}(function(e,n,t){const r=[];for(let t=0;t<=n.length-1;t++){const i=e(n[t]);if(null!=i){const e=In(i);r.push(e)}}return r}((e=>{const n=Gt(ml(":",e));return Bt(n)?void 0:[jt(n).toLocaleLowerCase(),vt(":",Wt(n)).trim()]}),ml("\r\n",t.getAllResponseHeaders()))),new Oc(i,e,o,t.responseURL,c,s)))};const r=He(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();t.setRequestHeader(e.fields[0],e.fields[1])}}finally{Ue(r)}t.withCredentials=e.withCredentials;const i=e.overridenMimeType;if(null==i);else{const e=i;t.overrideMimeType(e)}const o=e.overridenResponseType;null==o||(1===o.tag?t.responseType="blob":2===o.tag?t.responseType="arraybuffer":t.responseType="text");const s=e.timeout;if(null==s);else{const e=0|s;t.timeout=0|e}const a=e.content;switch(a.tag){case 1:case 3:case 2:t.send(kn(a.fields[0]));break;default:t.send()}}))}new Oc(0,"","","",fl(),new Ec(0,""));class yl extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class bl extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class Cl{constructor(){this.cache=new Map([])}}function _l(){return new Cl}function xl(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function kl(e,n){switch(e.tag){case 2:return function(e,n,t,r,i=0){if("string"==typeof e){const t=e;e=nt(n,null!=r?r:0),n=t,r=void 0}if("function"==typeof t)return r=null==r?-1:r,n.substring(0,i)+n.substring(i).replace(e,(function(){let e=arguments[0];if(r){r--;const n=[],i=arguments.length,o="string"!=typeof arguments[i-1];let s=o?i-3:i-2;for(let e=0;e<s;e++)n.push(arguments[e]);n.index=arguments[s++],n.input=arguments[s++],o&&(n.groups=arguments[s]),e=t(n)}return e}));if(t=t.replace(/\$0/g,(e=>"$&")).replace(/\${([^}]+)}/g,"$<$1>"),null!=r){let o;const s=n.substring(i),a=rt(e,s),c=rt.length>r?(o=a[r-1],s.substring(0,o.index+o[0].length)):s;return n.substring(0,i)+c.replace(e,t)+n.substring(i+c.length)}return n.replace(e,t)}(xl(n),"[A-Z]","_$0").toLowerCase();case 0:return n;default:return xl(n)}}_l(),_l();const Il=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,Sl=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Al=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function El(e){function n(e){return e.replace(Sl,"$1-$2-$3-$4-$5")}const t=e.trim().toLowerCase();if(Il.test(t))return function(e,...n){if(0===n.length)return e.trim();const t="["+tt(n.join(""))+"]+";return e.replace(new RegExp("^"+t),"").replace(new RegExp(t+"$"),"")}(t,"{","}","(",")");if(Sl.test(t))return n(t);if(Al.test(t))return n(t.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function Ol(e,n){try{return n.contents=El(e),!0}catch(e){return!1}}var Tl;function Nl(e,n){switch(n){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 Ml(e,n,t,r,i){const o=function(e,n,t){const r=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(null!=r){const[,,e,i]=r;t=t||function(e,n){if(n&Tl.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,n);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.")}}(t);if(!o.test(i))return function(e,n){const[,t,r,i]=e;return{sign:t||"",prefix:r||"",digits:i,radix:n}}(r,t)}return null}(e,n,i);if(null!=o){let e=Number.parseInt(o.sign+o.digits,o.radix);if(!Number.isNaN(e)){const[n,i]=Nl(!0,r);!t&&10!==o.radix&&e>=n&&e<=i&&(e=e<<32-r>>32-r);const[s,a]=Nl(t,r);if(e>=s&&e<=a)return e}}throw new Error("Input string was not in a correct format.")}function Pl(e,n,t,r,i){try{return i.contents=Ml(e,n,t,r),!0}catch(e){return!1}}function Dl(e,n){!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.")}}(n);const t=new Date(e);return t.offset=null!=n?n:-6e4*(new Date).getTimezoneOffset(),t}function Rl(e,n){try{return n.contents=function(e){const[n,t]=Vn(e),r=null==t?-6e4*n.getTimezoneOffset():"Z"===t?0:6e4*t;return Dl(n.getTime(),r)}(e),!0}catch(e){return!1}}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(Tl||(Tl={}));class Bl{constructor(e){this.k=e}}function Ll(e){return new Bl(e)}function jl(e){return e.k}class Wl extends Bl{constructor(e,n,t,r){super(e),this.left=n,this.right=t,this.h=0|r}}function Fl(e,n,t,r){return new Wl(e,n,t,r)}function Ul(e){return e.left}function zl(e){return e.right}function Vl(e){return e.h}function Hl(e,n){e:for(;;){const t=n;if(null!=e){const r=e;if(r instanceof Wl){e=Ul(r),n=Hl(zl(r),t+1);continue e}return t+1|0}return 0|t}}function Gl(e){return Hl(e,0)}function Zl(e,n,t){let r,i;r=null!=e?e instanceof Wl?Vl(e):1:0,i=null!=t?t instanceof Wl?Vl(t):1:0;const o=0|(r<i?i:r);return 0===o?Ll(n):Fl(n,e,t,o+1)}function ql(e,n,t){let r,i,o,s,a,c;if(a=null!=e?e instanceof Wl?Vl(e):1:0,c=null!=t?t instanceof Wl?Vl(t):1:0,c>a+2){const o=In(t);if(o instanceof Wl){if(r=Ul(o),(null!=r?(i=r,i instanceof Wl?Vl(i):1):0)>a+1){const t=In(Ul(o));if(t instanceof Wl)return Zl(Zl(e,n,Ul(t)),jl(t),Zl(zl(t),jl(o),zl(o)));throw new Error("internal error: Set.rebalance")}return Zl(Zl(e,n,Ul(o)),jl(o),zl(o))}throw new Error("internal error: Set.rebalance")}if(a>c+2){const r=In(e);if(r instanceof Wl){if(o=zl(r),(null!=o?(s=o,s instanceof Wl?Vl(s):1):0)>c+1){const e=In(zl(r));if(e instanceof Wl)return Zl(Zl(Ul(r),jl(r),Ul(e)),jl(e),Zl(zl(e),n,t));throw new Error("internal error: Set.rebalance")}return Zl(Ul(r),jl(r),Zl(zl(r),n,t))}throw new Error("internal error: Set.rebalance")}return Zl(e,n,t)}function Yl(e,n,t){if(null!=t){const r=t,i=0|e.Compare(n,jl(r));if(r instanceof Wl)return i<0?ql(Yl(e,n,Ul(r)),jl(r),zl(r)):0===i?t:ql(Ul(r),jl(r),Yl(e,n,zl(r)));{const i=0|e.Compare(n,jl(r));return i<0?Fl(n,void 0,t,2):0===i?t:Fl(n,t,void 0,2)}}return Ll(n)}function Jl(e,n,t){e:for(;;){const r=e,i=n;if(null!=t){const o=t,s=0|r.Compare(i,jl(o));if(o instanceof Wl){if(s<0){e=r,n=i,t=Ul(o);continue e}if(0===s)return!0;e=r,n=i,t=zl(o);continue e}return 0===s}return!1}}function Xl(e,n){e:for(;;){const t=e;if(null!=n){const r=n;if(r instanceof Wl){Xl(t,Ul(r)),t(jl(r)),e=t,n=zl(r);continue e}t(jl(r))}break}}class Kl extends yn{constructor(e,n){super(),this.stack=e,this.started=n}}function Ql(e){e:for(;;){const n=e;if(Bt(n))return Pt();{const t=jt(n),r=Wt(n);if(null!=t){const i=t;if(i instanceof Wl){e=Ht([Ul(i),Ll(jl(i)),zl(i)],r);continue e}return n}e=r;continue e}}}function eu(e){return new Kl(Ql(Rt(e)),!1)}function nu(e){if(e.started){const n=e.stack;if(Bt(n))return function(){throw new Error("Enumeration already started")}();if(null!=jt(n))return jl(jt(n));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function tu(e){let n=eu(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>nu(n),"System.Collections.IEnumerator.get_Current":()=>nu(n),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const n=e.stack;if(Bt(n))return!1;if(null!=jt(n)){if(jt(n)instanceof Wl)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Ql(Wt(n)),!Bt(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!Bt(e.stack)}(n),"System.Collections.IEnumerator.Reset"(){n=eu(e)},Dispose(){}}}function ru(e,n,t){return null==n?null==t?0:-1:null==t?1:0|function(e,n,t){e:for(;;){const r=e,i=n,o=t,s=[i,o];if(Bt(s[0]))return Bt(s[1])?0:-1;if(Bt(s[1]))return 1;if(null!=jt(s[1]))if(null!=jt(s[0])){const a=jt(s[0]),c=jt(s[1]);if(a instanceof Wl)if(null==Ul(a)){if(!(c instanceof Wl)){const i=0|r.Compare(jl(a),jl(c));if(0!==i)return 0|i;e=r,n=Dt(zl(a),Wt(s[0])),t=Dt(void 0,Wt(s[1]));continue e}if(null==Ul(c)){const i=0|r.Compare(jl(a),jl(c));if(0!==i)return 0|i;e=r,n=Dt(zl(a),Wt(s[0])),t=Dt(zl(c),Wt(s[1]));continue e}{const s=[i,o];let a,c,l,u,f;switch(Bt(s[0])?Bt(s[1])?a=2:null!=jt(s[1])?(a=1,u=Wt(s[1]),f=jt(s[1])):a=2:null!=jt(s[0])?(a=0,c=Wt(s[0]),l=jt(s[0])):Bt(s[1])?a=2:null!=jt(s[1])?(a=1,u=Wt(s[1]),f=jt(s[1])):a=2,a){case 0:if(l instanceof Wl){e=r,n=Ht([Ul(l),Fl(jl(l),void 0,zl(l),0)],c),t=o;continue e}e=r,n=Ht([void 0,Ll(jl(l))],c),t=o;continue e;case 1:if(f instanceof Wl){e=r,n=i,t=Ht([Ul(f),Fl(jl(f),void 0,zl(f),0)],u);continue e}e=r,n=i,t=Ht([void 0,Ll(jl(f))],u);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const s=[i,o];let a,c,l,u,f;switch(Bt(s[0])?Bt(s[1])?a=2:null!=jt(s[1])?(a=1,u=Wt(s[1]),f=jt(s[1])):a=2:null!=jt(s[0])?(a=0,c=Wt(s[0]),l=jt(s[0])):Bt(s[1])?a=2:null!=jt(s[1])?(a=1,u=Wt(s[1]),f=jt(s[1])):a=2,a){case 0:if(l instanceof Wl){e=r,n=Ht([Ul(l),Fl(jl(l),void 0,zl(l),0)],c),t=o;continue e}e=r,n=Ht([void 0,Ll(jl(l))],c),t=o;continue e;case 1:if(f instanceof Wl){e=r,n=i,t=Ht([Ul(f),Fl(jl(f),void 0,zl(f),0)],u);continue e}e=r,n=i,t=Ht([void 0,Ll(jl(f))],u);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(c instanceof Wl)){const i=0|r.Compare(jl(a),jl(c));if(0!==i)return 0|i;e=r,n=Wt(s[0]),t=Wt(s[1]);continue e}if(null==Ul(c)){const i=0|r.Compare(jl(a),jl(c));if(0!==i)return 0|i;e=r,n=Dt(void 0,Wt(s[0])),t=Dt(zl(c),Wt(s[1]));continue e}{const s=[i,o];let a,c,l,u,f;switch(Bt(s[0])?Bt(s[1])?a=2:null!=jt(s[1])?(a=1,u=Wt(s[1]),f=jt(s[1])):a=2:null!=jt(s[0])?(a=0,c=Wt(s[0]),l=jt(s[0])):Bt(s[1])?a=2:null!=jt(s[1])?(a=1,u=Wt(s[1]),f=jt(s[1])):a=2,a){case 0:if(l instanceof Wl){e=r,n=Ht([Ul(l),Fl(jl(l),void 0,zl(l),0)],c),t=o;continue e}e=r,n=Ht([void 0,Ll(jl(l))],c),t=o;continue e;case 1:if(f instanceof Wl){e=r,n=i,t=Ht([Ul(f),Fl(jl(f),void 0,zl(f),0)],u);continue e}e=r,n=i,t=Ht([void 0,Ll(jl(f))],u);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{jt(s[1]);const a=[i,o];let c,l,u,f,d;switch(Bt(a[0])?Bt(a[1])?c=2:null!=jt(a[1])?(c=1,f=Wt(a[1]),d=jt(a[1])):c=2:null!=jt(a[0])?(c=0,l=Wt(a[0]),u=jt(a[0])):Bt(a[1])?c=2:null!=jt(a[1])?(c=1,f=Wt(a[1]),d=jt(a[1])):c=2,c){case 0:if(u instanceof Wl){e=r,n=Ht([Ul(u),Fl(jl(u),void 0,zl(u),0)],l),t=o;continue e}e=r,n=Ht([void 0,Ll(jl(u))],l),t=o;continue e;case 1:if(d instanceof Wl){e=r,n=i,t=Ht([Ul(d),Fl(jl(d),void 0,zl(d),0)],f);continue e}e=r,n=i,t=Ht([void 0,Ll(jl(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==jt(s[0])){e=r,n=Wt(s[0]),t=Wt(s[1]);continue e}{jt(s[0]);const a=[i,o];let c,l,u,f,d;switch(Bt(a[0])?Bt(a[1])?c=2:null!=jt(a[1])?(c=1,f=Wt(a[1]),d=jt(a[1])):c=2:null!=jt(a[0])?(c=0,l=Wt(a[0]),u=jt(a[0])):Bt(a[1])?c=2:null!=jt(a[1])?(c=1,f=Wt(a[1]),d=jt(a[1])):c=2,c){case 0:if(u instanceof Wl){e=r,n=Ht([Ul(u),Fl(jl(u),void 0,zl(u),0)],l),t=o;continue e}e=r,n=Ht([void 0,Ll(jl(u))],l),t=o;continue e;case 1:if(d instanceof Wl){e=r,n=i,t=Ht([Ul(d),Fl(jl(d),void 0,zl(d),0)],f);continue e}e=r,n=i,t=Ht([void 0,Ll(jl(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,Rt(n),Rt(t))}function iu(e,n,t){let r=t;Xl((e=>{n[r]=e,r=r+1|0}),e)}function ou(e,n){if(je(n))return function(e,n){return Rn(((n,t)=>Yl(e,t,n)),void 0,n)}(e,n);if(n instanceof It)return function(e,n){return Ut(((n,t)=>Yl(e,t,n)),void 0,n)}(e,n);{const t=He(n);try{return function(e,n,t){for(;;){const r=e,i=n,o=t;if(!o["System.Collections.IEnumerator.MoveNext"]())return i;e=r,n=Yl(r,o["System.Collections.Generic.IEnumerator`1.get_Current"](),i),t=o}}(e,void 0,t)}finally{Ue(t)}}}class su{constructor(e,n){this.comparer=e,this.tree=n}GetHashCode(){return 0|function(e){let n,t=0;const r=He(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();)t=0|(n=0|nn(r["System.Collections.Generic.IEnumerator`1.get_Current"]()),(t<<1)+n+631)}finally{Ue(r)}return 0|Math.abs(t)}(this)}Equals(e){return e instanceof su&&0===ru(au(this),cu(this),cu(e))}toString(){return"set ["+vt("; ",Cr((e=>wn(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(e){return Array.from(this)}CompareTo(e){return 0|ru(au(this),cu(this),cu(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 Jl(au(this),e,cu(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,n){iu(cu(this),e,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|lu(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|lu(this)}GetEnumerator(){return tu(cu(this))}[Symbol.iterator](){return Ge(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return tu(cu(this))}get size(){return 0|lu(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,n){return Jl(au(e),n,cu(e))}(this,e)}keys(){return Cr((e=>e),this)}values(){return Cr((e=>e),this)}entries(){return Cr((e=>[e,e]),this)}forEach(e,n){const t=this;br((n=>{e(n,n,t)}),t)}}function au(e){return e.comparer}function cu(e){return e.tree}function lu(e){return Gl(cu(e))}function uu(e,n,t){try{return"Expecting "+e+" but instead got:"+(t?"\n":" ")+JSON.stringify(n,null,4)}catch(n){return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(t?"\n":" ")}}function fu(e,n,t){const r=n(e,t);if(1===r.tag){const e=r.fields[0];return new to(1,function(e,n){const t=2===n.tag?uu(n.fields[0],n.fields[1],!0):1===n.tag?uu(n.fields[0],n.fields[1],!1)+"\nReason: "+n.fields[2]:3===n.tag?uu(n.fields[0],n.fields[1],!0):4===n.tag?uu(n.fields[0],n.fields[1],!0)+"\nNode `"+n.fields[2]+"` is unkown.":5===n.tag?"Expecting "+n.fields[0]+".\n"+JSON.stringify(n.fields[1],null,4):7===n.tag?"The following errors were found:\n\n"+vt("\n\n",n.fields[0]):6===n.tag?"The following `failure` occurred with the decoder: "+n.fields[0]:uu(n.fields[0],n.fields[1],!1);return 7===n.tag?t:"Error at: `"+e+"`\n"+t}(e[0],e[1]))}return new to(0,r.fields[0])}function du(e,n){try{return fu("$",e,JSON.parse(n))}catch(e){if(e instanceof SyntaxError)return new to(1,"Given an invalid JSON: "+e.message);throw e}}function hu(e,n){return"string"==typeof n?new to(0,n):new to(1,[e,new yl(0,"a string",n)])}const mu=e=>n=>{const t="a sbyte",r=e,i=n;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-128<=e&&e<=127?new to(0,(e+128&255)-128):new to(1,[r,new yl(1,t,e,"Value was either too large or too small for "+t)]):new to(1,[r,new yl(1,t,e,"Value is not an integral value")])}if("string"==typeof i){let e,n=0;return e=[Pl(i,511,!1,8,new bn((()=>n),(e=>{n=0|e}))),n],e[0]?new to(0,e[1]):new to(1,[r,new yl(0,t,i)])}return new to(1,[r,new yl(0,t,i)])},pu=e=>n=>{const t="a byte",r=e,i=n;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=255?new to(0,255&e):new to(1,[r,new yl(1,t,e,"Value was either too large or too small for "+t)]):new to(1,[r,new yl(1,t,e,"Value is not an integral value")])}if("string"==typeof i){let e,n=0;return e=[Pl(i,511,!0,8,new bn((()=>n),(e=>{n=e}))),n],e[0]?new to(0,e[1]):new to(1,[r,new yl(0,t,i)])}return new to(1,[r,new yl(0,t,i)])},$u=e=>n=>{const t="an int16",r=e,i=n;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-32768<=e&&e<=32767?new to(0,(e+32768&65535)-32768):new to(1,[r,new yl(1,t,e,"Value was either too large or too small for "+t)]):new to(1,[r,new yl(1,t,e,"Value is not an integral value")])}if("string"==typeof i){let e,n=0;return e=[Pl(i,511,!1,16,new bn((()=>n),(e=>{n=0|e}))),n],e[0]?new to(0,e[1]):new to(1,[r,new yl(0,t,i)])}return new to(1,[r,new yl(0,t,i)])},gu=e=>n=>{const t="an uint16",r=e,i=n;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=65535?new to(0,65535&e):new to(1,[r,new yl(1,t,e,"Value was either too large or too small for "+t)]):new to(1,[r,new yl(1,t,e,"Value is not an integral value")])}if("string"==typeof i){let e,n=0;return e=[Pl(i,511,!0,16,new bn((()=>n),(e=>{n=e}))),n],e[0]?new to(0,e[1]):new to(1,[r,new yl(0,t,i)])}return new to(1,[r,new yl(0,t,i)])},wu=e=>n=>{const t="an int",r=e,i=n;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-2147483648<=e&&e<=2147483647?new to(0,~~e):new to(1,[r,new yl(1,t,e,"Value was either too large or too small for "+t)]):new to(1,[r,new yl(1,t,e,"Value is not an integral value")])}if("string"==typeof i){let e,n=0;return e=[Pl(i,511,!1,32,new bn((()=>n),(e=>{n=0|e}))),n],e[0]?new to(0,e[1]):new to(1,[r,new yl(0,t,i)])}return new to(1,[r,new yl(0,t,i)])},vu=e=>n=>{const t="an uint32",r=e,i=n;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=4294967295?new to(0,e>>>0):new to(1,[r,new yl(1,t,e,"Value was either too large or too small for "+t)]):new to(1,[r,new yl(1,t,e,"Value is not an integral value")])}if("string"==typeof i){let e,n=0;return e=[Pl(i,511,!0,32,new bn((()=>n),(e=>{n=e}))),n],e[0]?new to(0,e[1]):new to(1,[r,new yl(0,t,i)])}return new to(1,[r,new yl(0,t,i)])};function yu(e,n,t,r){let i;const o=t+".["+Je(e)+"]";if(Array.isArray(r)){const t=r;return e<t.length?n(o,t[e]):new to(1,[o,new yl(5,"a longer array. Need index `"+Je(e)+"` but there are only `"+(i=t.length,Je(i)+"` entries"),r)])}return new to(1,[o,new yl(0,"an array",r)])}function bu(e,n,t){if(Array.isArray(t)){let r=-1;return ro(zt,Rn(((t,i)=>{if(r=r+1|0,0===t.tag){const o=e(n+".["+Je(r)+"]",i);return 0===o.tag?new to(0,Dt(o.fields[0],t.fields[0])):new to(1,o.fields[0])}return t}),new to(0,Pt()),t))}return new to(1,[n,new yl(0,"a list",t)])}function Cu(e,n,t){if(Array.isArray(t)){let r=-1;const i=t;return Rn(((t,i)=>{if(r=r+1|0,0===t.tag){const o=t.fields[0],s=e(n+".["+Je(r)+"]",i);return 0===s.tag?(o[r]=s.fields[0],new to(0,o)):new to(1,s.fields[0])}return t}),new to(0,Pn(new Array(i.length),0,i.length,null)),i)}return new to(1,[n,new yl(0,"an array",t)])}function _u(e,n,t,r){const i=n(t,r);return 0===i.tag?e(i.fields[0],t,r):new to(1,i.fields[0])}function xu(e,n){let t;const r=e;return t=e=>n=>yu(0,r,e,n),e=>r=>_u(mn(3,(e=>{let t;const r=n;return t=e=>n=>yu(1,r,e,n),n=>r=>_u(((n,t,r)=>new to(0,[e,n])),mn(2,t),n,r)})),mn(2,t),e,r)}function ku(e){return il(e)}function Iu(e){return function(e,n){return new su(e,n)}(n={Compare:un},ou(n,e));var n}function Su(e,n,t,r){let i;const o=n.length+e|0;if(o!==r.length)return new to(1,[t,new yl(6,(i=0|r.length,dt(lt("Expected array of length %i but got %i"))(o)(i)))]);{let i=new to(0,Pt());for(let o=e;o<=r.length-1;o++)if(0===i.tag){const s=i.fields[0],a=dt(lt("%s[%i]"))(t)(o),c=n[o-e],l=r[o];i=ro((e=>Dt(e,s)),c(a)(l))}return ro(zt,i)}}function Au(e,n,t,r,i,o){const s=function(e,n){return n.find((e=>as(e)===r))}(0,gs(t));if(null!=s){const t=s,r=Dn((t=>Ou(e,n,!1,t[1])),_s(t));return ro((e=>function(e,n){const t=(e.fields||[]).length;if(n.length!==t)throw new Error(`Expected an array of length ${t} but got ${n.length}`);return null!=e.declaringType.construct?new e.declaringType.construct(e.tag,...n):{}}(t,Ft(e))),0===r.length&&o.length<=1?new to(0,Pt()):Su(1,r,i,o))}return new to(1,[i,new yl(6,"Cannot find case "+r+" in "+cs(t))])}function Eu(e,n,t,r){const i=new bn(null);let o;const s=cs(r);let a;if(o=""===s?e:cl(s,i,e),bs(r)){const e=Dn((e=>[kl(n,as(e)),Ou(o,n,!1,e[1])]),ws(r));a=n=>t=>ro((e=>function(e,n){const t=ws(e);if(t.length!==n.length)throw new Error(`Expected an array of length ${t.length} but got ${n.length}`);return null!=e.construct?new e.construct(...n):t.reduce(((e,[t,r],i)=>(e[t]=n[i],e)),{})}(r,Ft(e))),function(e,n,t){return null===t||Object.getPrototypeOf(t||!1)!==Object.prototype?new to(1,[n,new yl(0,"an object",t)]):function(e,n,t){return n.reduceRight(((n,t)=>e(t,n)),t)}(mn(2,(e=>{const r=e[0];return i=>0===i.tag?ro((e=>Dt(e,i.fields[0])),e[1](n+"."+r)(t[r])):i})),e,new to(0,Pt()))}(e,n,t))}else if(ys(r))a=e=>t=>{if("string"==typeof t)return Au(o,n,r,t,e,[]);if(Array.isArray(t)){const i=t;return io((t=>Au(o,n,r,t,e,i)),hu(e+"[0]",i[0]))}return new to(1,[e,new yl(0,"a string or array",t)])};else{if(!t){let e;const n=cs(r);throw e=dt(lt("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"))(n),new Error(e)}a=e=>n=>new to(1,[e,new yl(2,"an extra coder for "+cs(r),n)])}return i.contents=a,a}function Ou(e,n,t,r){let i,o,s,a;const c=cs(r),l=ll(c,e);if(null==l){if(ls(r)){const t=Ou(e,n,!1,us(r));return e=>n=>Cu(mn(2,t),e,n)}if(ds(r)){const e=cs(ms(r));if("System.SByte"===e)return e=>n=>{const t=r,i=e,o=n,s=mu(i)(o);if(1===s.tag)return new to(1,s.fields[0]);{const e=s.fields[0];return vr(e,ps(t),{Equals:(e,n)=>e===n,GetHashCode:Qe})?new to(0,$s(t,e.toString())):new to(1,[i,new yl(1,cs(t),o,"Unkown value provided for the enum")])}};if("System.Byte"===e)return e=>n=>{const t=r,i=e,o=n,s=pu(i)(o);if(1===s.tag)return new to(1,s.fields[0]);{const e=s.fields[0];return vr(e,ps(t),{Equals:(e,n)=>e===n,GetHashCode:Qe})?new to(0,$s(t,e.toString())):new to(1,[i,new yl(1,cs(t),o,"Unkown value provided for the enum")])}};if("System.Int16"===e)return e=>n=>{const t=r,i=e,o=n,s=$u(i)(o);if(1===s.tag)return new to(1,s.fields[0]);{const e=s.fields[0];return vr(e,ps(t),{Equals:(e,n)=>e===n,GetHashCode:Qe})?new to(0,$s(t,e.toString(a))):new to(1,[i,new yl(1,cs(t),o,"Unkown value provided for the enum")])}var a};if("System.UInt16"===e)return e=>n=>{const t=r,i=e,o=n,s=gu(i)(o);if(1===s.tag)return new to(1,s.fields[0]);{const e=s.fields[0];return vr(e,ps(t),{Equals:(e,n)=>e===n,GetHashCode:Qe})?new to(0,$s(t,e.toString())):new to(1,[i,new yl(1,cs(t),o,"Unkown value provided for the enum")])}};if("System.Int32"===e)return e=>n=>{const t=r,i=e,o=n,s=wu(i)(o);if(1===s.tag)return new to(1,s.fields[0]);{const e=s.fields[0];return vr(e,ps(t),{Equals:(e,n)=>e===n,GetHashCode:Qe})?new to(0,$s(t,Je(e))):new to(1,[i,new yl(1,cs(t),o,"Unkown value provided for the enum")])}};if("System.UInt32"===e)return e=>n=>{const t=r,i=e,o=n,s=vu(i)(o);if(1===s.tag)return new to(1,s.fields[0]);{const e=s.fields[0];return vr(e,ps(t),{Equals:(e,n)=>e===n,GetHashCode:Qe})?new to(0,$s(t,e.toString())):new to(1,[i,new yl(1,cs(t),o,"Unkown value provided for the enum")])}};{const e=cs(r),n=ht(lt("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=>n(e)}}if(fs(r)){if(Cs(r)){const t=Dn((t=>Ou(e,n,!1,t)),vs(r));return e=>n=>Array.isArray(n)?ro((e=>Ft(e)),Su(0,t,e,n)):new to(1,[e,new yl(0,"an array",n)])}{const c=cs(hs(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===c)return i=Ou(e,n,!0,Go(r)[0]),e=>n=>{return t=mn(2,i),r=e,null==(o=n)?new to(0,void 0):ro(kn,t(r,o));var t,r,o};if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===c)return o=Ou(e,n,!1,Go(r)[0]),e=>n=>bu(mn(2,o),e,n);if("System.Collections.Generic.IEnumerable`1[System.Object]"===c)return s=Ou(e,n,!1,Go(r)[0]),e=>n=>function(e,n,t){if(Array.isArray(t)){let r=-1;return ro(_r,Rn(((t,i)=>{if(r=r+1|0,0===t.tag){const o=e(n+".["+Je(r)+"]",i);return 0===o.tag?new to(0,wr([o.fields[0]],t.fields[0])):new to(1,o.fields[0])}return t}),new to(0,[]),t))}return new to(1,[n,new yl(0,"a seq",t)])}(mn(2,s),e,n);if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===c){const t=Ou(e,n,!1,Go(r)[0]),i=Ou(e,n,!1,Go(r)[1]);let o;const s=Gt([e=>n=>function(e,n,t,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new to(1,[t,new yl(0,"an object",r)]):yr(((i,o)=>{if(0===i.tag){const s=e(t,o);if(0===s.tag){const e=n(t+"."+o,r[o]);return 0===e.tag?new to(0,Dt([s.fields[0],e.fields[0]],i.fields[0])):new to(1,e.fields[0])}return new to(1,s.fields[0])}return i}),new to(0,Pt()),Object.keys(r))}(mn(2,t),mn(2,i),e,n),(a=xu(mn(2,t),mn(2,i)),e=>n=>bu(mn(2,a),e,n))]);return o=e=>n=>{return t=e,r=n,((e,n)=>{e:for(;;){const i=e,o=n;if(Bt(i))return new to(1,[t,new yl(7,o)]);{const s=fu(t,mn(2,jt(i)),r);if(1===s.tag){e=Wt(i),n=Zt(o,Rt(s.fields[0]));continue e}return new to(0,s.fields[0])}}})(s,Pt());var t,r},e=>n=>function(e,n,t,r){const i=n(t,r);return 1===i.tag?new to(1,i.fields[0]):new to(0,e(i.fields[0]))}(ku,mn(2,o),e,n)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===c){const t=Ou(e,n,!1,Go(r)[0]);return e=>n=>{const r=Cu(mn(2,t),e,n);return 0===r.tag?new to(0,Iu(r.fields[0])):new to(1,r.fields[0])}}return Eu(e,n,t,r)}}return"System.Boolean"===c?e=>n=>{return t=e,"boolean"==typeof(r=n)?new to(0,r):new to(1,[t,new yl(0,"a boolean",r)]);var t,r}:"Microsoft.FSharp.Core.Unit"===c?e=>n=>{return t=e,null==(r=n)?new to(0,void 0):new to(1,[t,new yl(0,"null",r)]);var t,r}:"System.String"===c?e=>n=>hu(e,n):"System.Char"===c?e=>n=>function(e,n){if("string"==typeof n){const t=n;return 1===t.length?new to(0,t[0]):new to(1,[e,new yl(0,"a single character string",n)])}return new to(1,[e,new yl(0,"a char",n)])}(e,n):"System.SByte"===c?mu:"System.Byte"===c?pu:"System.Int16"===c?$u:"System.UInt16"===c?gu:"System.Int32"===c?wu:"System.UInt32"===c?vu:"System.Double"===c?e=>n=>{return t=e,"number"==typeof(r=n)?new to(0,r):new to(1,[t,new yl(0,"a float",r)]);var t,r}:"System.Single"===c?e=>n=>{return t=e,"number"==typeof(r=n)?new to(0,r):new to(1,[t,new yl(0,"a float32",r)]);var t,r}:"System.DateTime"===c?e=>n=>function(e,n){if("string"==typeof n){let r,i=zn(-621355968e5,0);return r=[Hn(n,new bn((()=>i),(e=>{i=e}))),i],r[0]?new to(0,1===(t=r[1]).kind?t:zn(t.getTime(),1)):new to(1,[e,new yl(0,"a datetime",n)])}var t;return new to(1,[e,new yl(0,"a datetime",n)])}(e,n):"System.DateTimeOffset"===c?e=>n=>function(e,n){if("string"==typeof n){let t,r=Dl(-621355968e5,0);return t=[Rl(n,new bn((()=>r),(e=>{r=e}))),r],t[0]?new to(0,t[1]):new to(1,[e,new yl(0,"a datetimeoffset",n)])}return new to(1,[e,new yl(0,"a datetime",n)])}(e,n):"System.TimeSpan"===c?e=>n=>function(e,n){if("string"==typeof n){let t,r=0;return t=[yc(n,new bn((()=>r),(e=>{r=e}))),r],t[0]?new to(0,t[1]):new to(1,[e,new yl(0,"a timespan",n)])}return new to(1,[e,new yl(0,"a timespan",n)])}(e,n):"System.Guid"===c?e=>n=>function(e,n){if("string"==typeof n){let t,r="00000000-0000-0000-0000-000000000000";return t=[Ol(n,new bn((()=>r),(e=>{r=e}))),r],t[0]?new to(0,t[1]):new to(1,[e,new yl(0,"a guid",n)])}return new to(1,[e,new yl(0,"a guid",n)])}(e,n):"System.Object"===c?e=>e=>new to(0,e):Eu(e,n,t,r)}{const e=l;return n=>t=>e.contents(n)(t)}}function Tu(e,n,t){const r=En(n,new bl(0));return Ou(function(e){return null!=e?ul(((e,n)=>new bn(n[1])),e.Coders):fl()}(t),r,!1,e)}function Nu(e){return e}const Mu=null;function Pu(e){return Array.from(e)}function Du(e){return Un(e,"O")}function Ru(e){return function(e,n="c",t){if(-1===["c","g","G"].indexOf(n))throw new Error("Custom formats are not supported");const r=Math.abs(function(e){return gc(e/864e5)}(e)),i=Math.abs(function(e){return gc(e%864e5/36e5)}(e)),o=Math.abs(function(e){return gc(e%36e5/6e4)}(e)),s=Math.abs(function(e){return gc(e%6e4/1e3)}(e)),a=Math.abs(function(e){return gc(e%1e3)}(e));return`${e<0?"-":""}${0!==r||"c"!==n&&"g"!==n?"c"===n?r+".":r+":":""}${"g"===n?i:qe(i,2)}:${qe(o,2)}:${qe(s,2)}${0!==a||"c"!==n&&"g"!==n?"g"===n?"."+qe(a,3):"."+function(e,n,t){let r=e.toString(10);for(;r.length<3;)r="0"+r;for(;r.length<7;)r+="0";return r}(a):""}`}(e)}function Bu(){return null}function Lu(e){return Un(e,"O")}function ju(e,n){return JSON.stringify(n,mn(2,null),kn(e))}function Wu(e,n,t,r){const i=new bn(null);let o;const s=cs(r);let a;if(o=""===s?e:cl(s,i,e),bs(r)){const e=Dn((e=>{const r=kl(n,as(e)),i=Fu(o,n,t,e[1]);return n=>o=>{const s=function(e,n){return e[n[0]]}(n,e);return(!t||t&&null!=s)&&(o[r]=i(s)),o}}),ws(r));a=n=>yr(((e,t)=>t(n)(e)),{},e)}else{if(!ys(r)){let e;const n=cs(r);throw e=dt(lt("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"))(n),new Error(e)}a=e=>{const i=function(e,n){const t=gs(n)[e.tag];if(null==t)throw new Error(`Cannot find case ${e.name} in union type`);return[t,e.fields]}(e,r),s=i[0],a=i[1],c=0|a.length;if(0===c)return as(s);{const e=0|c,r=_s(s),i=Pn(new Array(e+1),0,e+1,null);i[0]=as(s);for(let s=1;s<=e;s++){const e=Fu(o,n,t,r[s-1][1]);i[s]=e(a[s-1])}return i}}}return i.contents=a,a}function Fu(e,n,t,r){const i=cs(r),o=ll(i,e);if(null==o){if(ls(r)){const i=Fu(e,n,t,us(r));return e=>Pu(Cr(i,e))}if(ds(r)){const e=cs(ms(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=cs(r);return ht(lt("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(fs(r)){if(Cs(r)){const i=Dn((r=>Fu(e,n,t,r)),vs(r));return e=>{return Pu((n=(e,n)=>i[e](n),t=e,gr((()=>ur(t)),((e,t)=>t["System.Collections.IEnumerator.MoveNext"]()?kn(n(e,t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{Ue(e)}))));var n,t}}{const i=cs(hs(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===i){const i=new Ze((()=>{return i=Fu(e,n,t,Go(r)[0]),e=>{return t=()=>Mu,null!=(n=On(i,e))?In(n):t();var n,t};var i}));return e=>null==e?Mu: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=Fu(e,n,t,Go(r)[0]);return e=>Pu(Cr(i,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===i){const i=Go(r)[0],o=Fu(e,n,t,Go(r)[1]);if("System.String"===cs(i)||"System.Guid"===cs(i))return e=>yr(((e,n)=>{const t=n;return e[t[0]]=o(t[1]),e}),{},e);{let r;const s=Fu(e,n,t,i);return r=s,e=>Pu(Cr((e=>{const n=e;return[r(n[0]),o(n[1])]}),e))}}return Wu(e,n,t,r)}}return"System.Boolean"===i?e=>e:"Microsoft.FSharp.Core.Unit"===i?Bu:"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?Lu:"System.DateTimeOffset"===i?Du:"System.TimeSpan"===i?Ru:"System.Guid"===i?Nu:"System.Object"===i?e=>e:Wu(e,n,t,r)}{const e=o;return n=>e.contents(n)}}function Uu(e,n,t,r){const i=En(n,new bl(0)),o=En(r,!0);return Fu(function(e){return null!=e?ul(((e,n)=>new bn(n[0])),e.Coders):fl()}(t),i,o,e)}function zu(e){return no.Delay((()=>{let n;const t=vl(e);return n=no.Bind(t,(e=>no.Return(new to(0,e)))),no.Bind(n,(n=>{const t=n;if(1===t.tag)return no.Return(new to(1,t.fields[0]));{const n=t.fields[0];if(429===n.statusCode||n.statusCode>=500){const n=vl(e);return no.Bind(n,(e=>no.Return(new to(0,e))))}return no.Return(new to(0,n))}}))}))}function Vu(e,n){return no.Delay((()=>{let t,r;const i=zu((t=$l(new kc(1),pl(function(e){const n=Ys(e);return dt(lt("%s/workflows/public-backend/invites/%s/confirm"))(xa)(n)}(e))),wl(new Sc(1,(r=new Ps(n),ju(0,Uu(Jo("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Write.ConfirmInvite",[],Ps,(()=>[["Mfa",rs]])),new bl(1),void 0,void 0)(r)))),t)));return no.Bind(i,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{const e=n.fields[0];if(200===e.statusCode){let n;const t=du(mn(2,Tu(Ko("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ValidationOutcomeDto",[],Ms,(()=>[[["Item",Jo("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.CodeMatchContextDto",[],Ns,(()=>[["AuthCode",rs]]))]],[],[],[],[]])),new bl(1),void 0)),e.responseText);return n=1===t.tag?new to(1,t.fields[0]):new to(0,function(e){switch(e.tag){case 1:return new Ss(1);case 2:return new Ss(2);case 3:return new Ss(3);case 4:return new Ss(4);default:return new Ss(0,(n=e.fields[0],new Is(n.AuthCode)))}var n}(t.fields[0])),no.Return(n)}return no.Return(new to(1,"Unexpected response from backend"))}}))}))}function Hu(e){return function(e){return no.Delay((()=>{const n=zu($l(new kc(1),pl(function(e){const n=Ys(e);return dt(lt("%s/workflows/public-backend/invites/%s/activate"))(xa)(n)}(e))));return no.Bind(n,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{const e=n.fields[0];if(200===e.statusCode){let n;const t=du(mn(2,Tu(Ko("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ActivationOutcomeDto",[],Ts,(()=>[[["Item",Es()]],[],[],[],[["Item",Es()]]])),new bl(1),void 0)),e.responseText);return n=1===t.tag?new to(1,t.fields[0]):new to(0,function(e){switch(e.tag){case 1:return new ks(1);case 2:return new ks(2);case 3:return new ks(3);case 4:return new ks(4,Os(e.fields[0]));default:return new ks(0,Os(e.fields[0]))}}(t.fields[0])),no.Return(n)}return no.Return(new to(1,"Unexpected response from backend"))}}))}))}(e)}function Gu(e,n){let t,r,i,o,s,a,c;switch(e.tag){case 1:{const t=e.fields[0];let r,i;switch(3===t.tag?r=1:0===t.tag||1===t.tag?r=2:0===t.fields[0].tag?(r=0,i=t.fields[0].fields[0]):r=1,r){case 0:{let e,t;switch(i.tag){case 4:default:e=0,t=i.fields[0];break;case 1:e=1;break;case 2:e=2;break;case 3:e=3}switch(e){case 0:return[new ua(n.InviteToken,t.MaskedEmail,n.MfaCodeForm,n.IsValidationPending,n.CanRetry,new ca(1),t.CssOverrides),bo()];case 1:return[new ua(n.InviteToken,n.MaskedEmail,n.MfaCodeForm,n.IsValidationPending,n.CanRetry,new ca(2,"We couldn't find this invite. Reach out to your employer to get another one."),n.CssOverrides),bo()];case 2:return[new ua(n.InviteToken,n.MaskedEmail,n.MfaCodeForm,n.IsValidationPending,n.CanRetry,new ca(2,"Your invite has expired. Reach out to your employer to get another one."),n.CssOverrides),bo()];case 3:return[new ua(n.InviteToken,n.MaskedEmail,n.MfaCodeForm,n.IsValidationPending,n.CanRetry,new ca(2,"Your invite has been locked. Try refreshing this page in 30 minutes."),n.CssOverrides),bo()]}}case 1:return[new ua(n.InviteToken,n.MaskedEmail,n.MfaCodeForm,n.IsValidationPending,n.CanRetry,new ca(2,"Oops, looks like something went wrong. Try refreshing this page."),n.CssOverrides),bo()];case 2:return[n,bo()]}}case 2:{const a=e.fields[0];let c,l;switch(3===a.tag?c=1:0===a.tag||1===a.tag?c=2:0===a.fields[0].tag?(c=0,l=a.fields[0].fields[0]):c=1,c){case 0:switch(l.tag){case 2:return[new ua(n.InviteToken,n.MaskedEmail,(t=n.MfaCodeForm,{Error:"That code has expired. You should get another one soon.",Input:t.Input,IsDirty:t.IsDirty,IsTouched:t.IsTouched}),!1,n.CanRetry,n.Ui,n.CssOverrides),ko(new la(0))];case 1:return[new ua(n.InviteToken,n.MaskedEmail,(r=n.MfaCodeForm,{Error:"Code doesn't match.",Input:r.Input,IsDirty:r.IsDirty,IsTouched:r.IsTouched}),!1,n.CanRetry,n.Ui,n.CssOverrides),bo()];case 4:return[new ua(n.InviteToken,n.MaskedEmail,(i=n.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,n.CanRetry,n.Ui,n.CssOverrides),bo()];case 3:return[new ua(n.InviteToken,n.MaskedEmail,(o=n.MfaCodeForm,{Error:"Invite has been locked. Check back in 30 minutes.",Input:o.Input,IsDirty:o.IsDirty,IsTouched:o.IsTouched}),!1,n.CanRetry,n.Ui,n.CssOverrides),bo()];default:return[n,(s=Ea(new Aa(1)),xo((e=>{ga(Rt(s+function(e){const n=vt("&",qt((e=>vt("=",[encodeURIComponent(e[0]),encodeURIComponent(e[1])])),e));return""===n?"":"?"+n}(Rt(["code",l.fields[0].AuthCode]))),1,2)})))]}case 1:return[new ua(n.InviteToken,n.MaskedEmail,n.MfaCodeForm,!1,n.CanRetry,new ca(2,"Oops, looks like something went wrong. Please try again."),n.CssOverrides),bo()];case 2:return[new ua(n.InviteToken,n.MaskedEmail,n.MfaCodeForm,!0,n.CanRetry,n.Ui,n.CssOverrides),bo()]}}case 3:{const t=e.fields[0];return[(a=Cc(t),1===a.tag?new ua(n.InviteToken,n.MaskedEmail,{Error:"Code should contain exactly 6 digits.",Input:t,IsDirty:!0,IsTouched:n.MfaCodeForm.IsTouched},n.IsValidationPending,n.CanRetry,n.Ui,n.CssOverrides):new ua(n.InviteToken,n.MaskedEmail,{Error:void 0,Input:t,IsDirty:!0,IsTouched:n.MfaCodeForm.IsTouched},n.IsValidationPending,n.CanRetry,n.Ui,n.CssOverrides)),bo()]}case 4:return[new ua(n.InviteToken,n.MaskedEmail,(c=n.MfaCodeForm,{Error:c.Error,Input:c.Input,IsDirty:c.IsDirty,IsTouched:!0}),n.IsValidationPending,n.CanRetry,n.Ui,n.CssOverrides),bo()];default:return[n,ko(new la(1,Bs(Hu(n.InviteToken),[])))]}}function Zu(e,n){return no.Delay((()=>no.Bind(mo(e),(()=>no.ReturnFrom(n)))))}class qu{constructor(e,n){const t=new bn(null);this.comparer=n,t.contents=this,this.hashMap=new Map([]),this["init@8-1"]=1;const r=He(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();nf(t.contents,e[0],e[1])}}finally{Ue(r)}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(e){return Array.from(this)}"System.Collections.IEnumerable.GetEnumerator"(){return He(this)}GetEnumerator(){return He(dr(this.hashMap.values()))}[Symbol.iterator](){return Ge(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(e){nf(this,e[0],e[1])}"System.Collections.Generic.ICollection`1.Clear"(){Xu(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(e){const n=Ju(this,e[0]);let t;switch(t=null!=n&&sn(n[1],e[1])?0:1,t){case 0:return!0;case 1:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,n){var t;t=(t,r)=>{e[n+t]=r},yr(((e,n)=>(t(e,n),e+1|0)),0,this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|Ku(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(e){const n=Ju(this,e[0]);return null!=n&&(sn(n[1],e[1])&&rf(this,e[0]),!0)}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(e,n){nf(this,e,n)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(e){return tf(this,e)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(e){return Qu(this,e)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(e,n){ef(this,e,n)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const e=this;return pr(fr((()=>Cr((e=>e[0]),e))))}"System.Collections.Generic.IDictionary`2.Remove2B595"(e){return rf(this,e)}"System.Collections.Generic.IDictionary`2.TryGetValue23A0B95A"(e,n){const t=Ju(this,e);if(null!=t){const e=t;return n.contents=e[1],!0}return!1}"System.Collections.Generic.IDictionary`2.get_Values"(){const e=this;return pr(fr((()=>Cr((e=>e[1]),e))))}get size(){return 0|Ku(this)}clear(){Xu(this)}delete(e){return rf(this,e)}entries(){return Cr((e=>[e[0],e[1]]),this)}get(e){return Qu(this,e)}has(e){return tf(this,e)}keys(){return Cr((e=>e[0]),this)}set(e,n){return ef(this,e,n),this}values(){return Cr((e=>e[1]),this)}forEach(e,n){const t=this;br((n=>{e(n[1],n[0],t)}),t)}}function Yu(e,n){const t=0|e.comparer.GetHashCode(n);let r,i=null;return r=[(o=e.hashMap,s=t,a=new bn((()=>i),(e=>{i=e})),!!o.has(s)&&(a.contents=o.get(s),!0)),i],r[0]?[!0,t,r[1].findIndex((t=>e.comparer.Equals(n,t[0])))]:[!1,t,-1];var o,s,a}function Ju(e,n){const t=Yu(e,n);let r;switch(r=t[0]&&t[2]>-1?0:1,r){case 0:return Er(e.hashMap,t[1])[t[2]];case 1:return}}function Xu(e){e.hashMap.clear()}function Ku(e){let n=0,t=He(e.hashMap.values());try{for(;t["System.Collections.IEnumerator.MoveNext"]();)n=n+t["System.Collections.Generic.IEnumerator`1.get_Current"]().length|0}finally{Ue(t)}return 0|n}function Qu(e,n){const t=Ju(e,n);if(null!=t)return t[1];throw new Error("The item was not found in collection")}function ef(e,n,t){const r=Yu(e,n);r[0]?r[2]>-1?Er(e.hashMap,r[1])[r[2]]=[n,t]:Er(e.hashMap,r[1]).push([n,t]):e.hashMap.set(r[1],[[n,t]])}function nf(e,n,t){const r=Yu(e,n);if(r[0]){if(r[2]>-1){const e=$t("An item with the same key has already been added. Key: {0}",n);throw new Error(e)}Er(e.hashMap,r[1]).push([n,t])}else e.hashMap.set(r[1],[[n,t]])}function tf(e,n){const t=Yu(e,n);let r;switch(r=t[0]&&t[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function rf(e,n){const t=Yu(e,n);let r;switch(r=t[0]&&t[2]>-1?0:1,r){case 0:return Er(e.hashMap,t[1]).splice(t[2],1),!0;case 1:return!1}}class of extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ProcessStepId"]}}class sf extends yn{constructor(e,n,t){super(),this.Id=e,this.DisplayName=n,this.ComponentTagName=t}}const af=new sf(new of(0,"personal-details"),"Personal Details","apollo-personal-details-app"),cf=new sf(new of(0,"emergency-contacts"),"Emergency Contacts","apollo-emergency-contacts-app"),lf=new sf(new of(0,"bank"),"Bank","bank-component"),uf=new sf(new of(0,"tax"),"Tax","tax-component"),ff=new sf(new of(0,"super"),"Super","super-selection-app"),df=new sf(new of(0,"app-workplace-linking"),"App Workplace Linking","workplace-link"),hf=new of(0,"benefits-onboarding"),mf=new sf(hf,"Benefits","benefits-onboarding"),pf=new sf(new of(0,"workplace-policy"),"Workplace-policy","apollo-workplace-policies-app"),$f=new sf(new of(0,"Benefits-Discrete"),"Benefits","benefits-onboarding");function gf(e){return new of(0,e)}function wf(e){return e.fields[0]}class vf extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ProcessConfigId"]}}class yf extends yn{constructor(e,n,t){super(),this.Id=e,this.Name=n,this.Steps=t}}const bf=new yf(new vf(0,El("00000000-0000-0000-0000-000000000000")),"onboarding-default",Gt([lf,uf,ff])),Cf=new yf(new vf(0,El("00000000-0000-0000-0000-000000000001")),"PEBTS",Gt([af,cf,lf,uf,ff])),_f=new yf(new vf(0,El("00000000-0000-0000-0000-000000000002")),"PS",Gt([af,ff])),xf=new yf(new vf(0,El("00000000-0000-0000-0000-000000000003")),"BS",Gt([lf,ff])),kf=new yf(new vf(0,El("00000000-0000-0000-0000-000000000004")),"Super",Rt(ff)),If=new yf(new vf(0,El("00000000-0000-0000-0001-000000000000")),"App Workplace Linking",Rt(df)),Sf=new yf(new vf(0,El("00000000-0000-0000-0000-000000000005")),"Tax",Rt(uf)),Af=new yf(new vf(0,El("00000000-0000-0000-0000-000000000006")),"PBTS",Gt([af,lf,uf,ff])),Ef=new yf(new vf(0,El("00000000-0000-0000-0000-000000000007")),"PEBTSPo",Gt([af,cf,lf,uf,ff,pf])),Of=new yf(new vf(0,El("00000000-0000-0000-0000-000000000008")),"PEBSPo",Gt([af,cf,lf,ff,pf])),Tf=new yf(new vf(0,El("00000000-0000-0000-0000-000000000009")),"PESPo",Gt([af,cf,ff,pf])),Nf=new yf(new vf(0,El("00000000-0000-0000-0000-000000000010")),"PETSPo",Gt([af,cf,uf,ff,pf])),Mf=new yf(new vf(0,El("00000000-0000-0000-0002-000000000000")),"Bo",Rt($f)),Pf=new yf(new vf(0,El("00000000-0000-0000-0000-000000000011")),"PETS",Gt([af,cf,uf,ff])),Df=new yf(new vf(0,El("00000000-0000-0000-0000-000000000012")),"PEBS",Gt([af,cf,lf,ff])),Rf=new yf(new vf(0,El("00000000-0000-0000-0000-000000000013")),"PES",Gt([af,cf,ff])),Bf=new qu([[bf.Id,bf],[Cf.Id,Cf],[_f.Id,_f],[xf.Id,xf],[kf.Id,kf],[If.Id,If],[Sf.Id,Sf],[Af.Id,Af],[Ef.Id,Ef],[Of.Id,Of],[Tf.Id,Tf],[Nf.Id,Nf],[Mf.Id,Mf],[Pf.Id,Pf],[Df.Id,Df],[Rf.Id,Rf]],{Equals:sn,GetHashCode:tn});class Lf extends yn{constructor(e,n){super(),this.ActivatedDates=e,this.CompletedSteps=n}}class jf extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Inactive","Active","Complete","Abandoned"]}}class Wf extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ProcessInstanceId"]}}function Ff(e){return new Wf(0,e)}function Uf(e){return e.fields[0]}class zf extends yn{constructor(e,n){super(),this.Name=e,this.Value=n}}class Vf extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["TagName"]}}class Hf extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["TagValue"]}}class Gf extends yn{constructor(e,n,t,r,i,o,s,a,c,l){super(),this.Id=e,this.Configuration=n,this.DateCreated=t,this.Status=r,this.Invite=i,this.Tags=o,this.Creator=s,this.StepsConfiguration=a,this.JourneyType=c,this.IsBenefitsStepEnabled=l}}class Zf extends yn{constructor(e){super(),this.BenefitsOnboarding=e}}class qf extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Default","InfoRequest","AppInvite","BenefitsExisting","BenefitsOnboarding"]}}class Yf extends yn{constructor(e){super(),this.Category=e}}class Jf extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["WhenEnabled","Always"]}}function Xf(e,n,t){const r=Yt((n=>0===function(...e){switch(e.length){case 2:return ct(e[0],e[1],!1);case 3:return ct(e[0],e[1],e[2]);case 4:return ct(e[0],e[1],!0===e[2]);case 5:return ct(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),!1);case 6:return ct(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),e[5]);case 7:return ct(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")}}(n.ComponentTagName,e,5)),$r(fr((()=>wr(t.Configuration.Steps,fr((()=>n?mr(mf):hr()))))))),i=dt(ut("Invalid ComponentTagName %A%P()",[e])),o=r;return null==o?new to(1,i):new to(0,o)}function Kf(e){const n=e.Status;switch(n.tag){case 0:case 2:case 3:return;default:return Ot(t=Xt((e=>!Qt((n=>sn(e.Id,n[0])),n.fields[0].CompletedSteps)),e.Configuration.Steps))?void 0:kn(Nt(t))}var t}function Qf(){return Sn(document.getElementById("external-loading-page-container"))}function ed(){return null!=Qf()}var nd,td=[],rd="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"}(nd||(nd={}));var id,od=function(e){return Object.freeze(e)},sd=function(e,n){this.inlineSize=e,this.blockSize=n,od(this)},ad=function(){function e(e,n,t,r){return this.x=e,this.y=n,this.width=t,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,od(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(n){return new e(n.x,n.y,n.width,n.height)},e}(),cd=function(e){return e instanceof SVGElement&&"getBBox"in e},ld=function(e){if(cd(e)){var n=e.getBBox(),t=n.width,r=n.height;return!t&&!r}var i=e,o=i.offsetWidth,s=i.offsetHeight;return!(o||s||e.getClientRects().length)},ud=function(e){var n;if(e instanceof Element)return!0;var t=null===(n=null==e?void 0:e.ownerDocument)||void 0===n?void 0:n.defaultView;return!!(t&&e instanceof t.Element)},fd="undefined"!=typeof window?window:{},dd=new WeakMap,hd=/auto|scroll/,md=/^tb|vertical/,pd=/msie|trident/i.test(fd.navigator&&fd.navigator.userAgent),$d=function(e){return parseFloat(e||"0")},gd=function(e,n,t){return void 0===e&&(e=0),void 0===n&&(n=0),void 0===t&&(t=!1),new sd((t?n:e)||0,(t?e:n)||0)},wd=od({devicePixelContentBoxSize:gd(),borderBoxSize:gd(),contentBoxSize:gd(),contentRect:new ad(0,0,0,0)}),vd=function(e,n){if(void 0===n&&(n=!1),dd.has(e)&&!n)return dd.get(e);if(ld(e))return dd.set(e,wd),wd;var t=getComputedStyle(e),r=cd(e)&&e.ownerSVGElement&&e.getBBox(),i=!pd&&"border-box"===t.boxSizing,o=md.test(t.writingMode||""),s=!r&&hd.test(t.overflowY||""),a=!r&&hd.test(t.overflowX||""),c=r?0:$d(t.paddingTop),l=r?0:$d(t.paddingRight),u=r?0:$d(t.paddingBottom),f=r?0:$d(t.paddingLeft),d=r?0:$d(t.borderTopWidth),h=r?0:$d(t.borderRightWidth),m=r?0:$d(t.borderBottomWidth),p=f+l,$=c+u,g=(r?0:$d(t.borderLeftWidth))+h,w=d+m,v=a?e.offsetHeight-w-e.clientHeight:0,y=s?e.offsetWidth-g-e.clientWidth:0,b=i?p+g:0,C=i?$+w:0,_=r?r.width:$d(t.width)-b-y,x=r?r.height:$d(t.height)-C-v,k=_+p+y+g,I=x+$+v+w,S=od({devicePixelContentBoxSize:gd(Math.round(_*devicePixelRatio),Math.round(x*devicePixelRatio),o),borderBoxSize:gd(k,I,o),contentBoxSize:gd(_,x,o),contentRect:new ad(f,c,_,x)});return dd.set(e,S),S},yd=function(e,n,t){var r=vd(e,t),i=r.borderBoxSize,o=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(n){case nd.DEVICE_PIXEL_CONTENT_BOX:return s;case nd.BORDER_BOX:return i;default:return o}},bd=function(e){var n=vd(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=od([n.borderBoxSize]),this.contentBoxSize=od([n.contentBoxSize]),this.devicePixelContentBoxSize=od([n.devicePixelContentBoxSize])},Cd=function(e){if(ld(e))return 1/0;for(var n=0,t=e.parentNode;t;)n+=1,t=t.parentNode;return n},_d=function(){var e=1/0,n=[];td.forEach((function(t){if(0!==t.activeTargets.length){var r=[];t.activeTargets.forEach((function(n){var t=new bd(n.target),i=Cd(n.target);r.push(t),n.lastReportedSize=yd(n.target,n.observedBox),i<e&&(e=i)})),n.push((function(){t.callback.call(t.observer,r,t.observer)})),t.activeTargets.splice(0,t.activeTargets.length)}}));for(var t=0,r=n;t<r.length;t++)(0,r[t])();return e},xd=function(e){td.forEach((function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach((function(t){t.isActive()&&(Cd(t.target)>e?n.activeTargets.push(t):n.skippedTargets.push(t))}))}))},kd=[],Id=0,Sd={attributes:!0,characterData:!0,childList:!0,subtree:!0},Ad=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Ed=function(e){return void 0===e&&(e=0),Date.now()+e},Od=!1,Td=function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var n=this;if(void 0===e&&(e=250),!Od){Od=!0;var t,r=Ed(e);t=function(){var t=!1;try{t=function(){var e,n=0;for(xd(n);td.some((function(e){return e.activeTargets.length>0}));)n=_d(),xd(n);return td.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:rd}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=rd),window.dispatchEvent(e)),n>0}()}finally{if(Od=!1,e=r-Ed(),!Id)return;t?n.run(1e3):e>0?n.run(e):n.start()}},function(e){if(!id){var n=0,t=document.createTextNode("");new MutationObserver((function(){return kd.splice(0).forEach((function(e){return e()}))})).observe(t,{characterData:!0}),id=function(){t.textContent="".concat(n?n--:n++)}}kd.push(e),id()}((function(){requestAnimationFrame(t)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,n=function(){return e.observer&&e.observer.observe(document.body,Sd)};document.body?n():fd.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Ad.forEach((function(n){return fd.addEventListener(n,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),Ad.forEach((function(n){return fd.removeEventListener(n,e.listener,!0)})),this.stopped=!0)},e}(),Nd=new Td,Md=function(e){!Id&&e>0&&Nd.start(),!(Id+=e)&&Nd.stop()},Pd=function(){function e(e,n){this.target=e,this.observedBox=n||nd.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,n=yd(this.target,this.observedBox,!0);return e=this.target,cd(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=n),this.lastReportedSize.inlineSize!==n.inlineSize||this.lastReportedSize.blockSize!==n.blockSize},e}(),Dd=function(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n},Rd=new WeakMap,Bd=function(e,n){for(var t=0;t<e.length;t+=1)if(e[t].target===n)return t;return-1},Ld=function(){function e(){}return e.connect=function(e,n){var t=new Dd(e,n);Rd.set(e,t)},e.observe=function(e,n,t){var r=Rd.get(e),i=0===r.observationTargets.length;Bd(r.observationTargets,n)<0&&(i&&td.push(r),r.observationTargets.push(new Pd(n,t&&t.box)),Md(1),Nd.schedule())},e.unobserve=function(e,n){var t=Rd.get(e),r=Bd(t.observationTargets,n),i=1===t.observationTargets.length;r>=0&&(i&&td.splice(td.indexOf(t),1),t.observationTargets.splice(r,1),Md(-1))},e.disconnect=function(e){var n=this,t=Rd.get(e);t.observationTargets.slice().forEach((function(t){return n.unobserve(e,t.target)})),t.activeTargets.splice(0,t.activeTargets.length)},e}(),jd=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.");Ld.connect(this,e)}return e.prototype.observe=function(e,n){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ud(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ld.observe(this,e,n)},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(!ud(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ld.unobserve(this,e)},e.prototype.disconnect=function(){Ld.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class Wd extends yn{constructor(e,n,t){super(),this.instanceId=0|e,this.name=n,this.type=t}}function Fd(e){return new Wd(Uf(e.Id),e.Configuration.Name,e.Configuration.Id.fields[0])}function Ud(e){ed()||window.parent.postMessage(e,"*")}function zd(){Ud(function(e,n){const t={type:"contentResized",sender:"flare"};return t.height=e,t.width=-1,t}(document.body.offsetHeight))}function Vd(e,n){Ud(function(e,n){const t={type:"workflowSubmitSuccess",sender:"flare"};return t.workflow=Fd(e),t.profileId=Gs(n),t}(e,n))}function Hd(e){ed()&&function(e,n){po(no.Delay((()=>no.Bind(mo(e),(()=>(function(){let e,n;const t=Qf();br((n=document.body,e=e=>n.removeChild(e),n=>{e(n)}),An(t))}(),Ud({type:"appReady",sender:"flare"}),zd(),no.Zero()))))))}(e)}function Gd(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Zd(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Gd(Object(t),!0).forEach((function(n){Jd(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Gd(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function qd(e){return qd="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},qd(e)}function Yd(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jd(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Xd(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,i,o=[],s=!0,a=!1;try{for(t=t.call(e);!(s=(r=t.next()).done)&&(o.push(r.value),!n||o.length!==n);s=!0);}catch(e){a=!0,i=e}finally{try{s||null==t.return||t.return()}finally{if(a)throw i}}return o}}(e,n)||Qd(e,n)||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 Kd(e){return function(e){if(Array.isArray(e))return eh(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Qd(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 Qd(e,n){if(e){if("string"==typeof e)return eh(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?eh(e,n):void 0}}function eh(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var nh=function(){},th={},rh={},ih=null,oh={mark:nh,measure:nh};try{"undefined"!=typeof window&&(th=window),"undefined"!=typeof document&&(rh=document),"undefined"!=typeof MutationObserver&&(ih=MutationObserver),"undefined"!=typeof performance&&(oh=performance)}catch(c){}var sh=(th.navigator||{}).userAgent,ah=void 0===sh?"":sh,ch=th,lh=rh,uh=ih,fh=oh,dh=(ch.document,!!lh.documentElement&&!!lh.head&&"function"==typeof lh.addEventListener&&"function"==typeof lh.createElement),hh=~ah.indexOf("MSIE")||~ah.indexOf("Trident/"),mh="___FONT_AWESOME___",ph="fa",$h="svg-inline--fa",gh="data-fa-i2svg",wh="data-fa-pseudo-element",vh="data-fa-pseudo-element-pending",yh="data-prefix",bh="data-icon",Ch="fontawesome-i2svg",_h="async",xh=["HTML","HEAD","STYLE","SCRIPT"],kh=function(){try{return!0}catch(e){return!1}}(),Ih={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"},Sh={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},Ah={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},Eh={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},Oh=/fa[srltdbk]?[\-\ ]/,Th="fa-layers-text",Nh=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,Mh={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},Ph=[1,2,3,4,5,6,7,8,9,10],Dh=Ph.concat([11,12,13,14,15,16,17,18,19,20]),Rh=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Bh={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Lh=[].concat(Kd(Object.keys(Sh)),["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",Bh.GROUP,Bh.SWAP_OPACITY,Bh.PRIMARY,Bh.SECONDARY]).concat(Ph.map((function(e){return"".concat(e,"x")}))).concat(Dh.map((function(e){return"w-".concat(e)}))),jh=ch.FontAwesomeConfig||{};lh&&"function"==typeof lh.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 n=Xd(e,2),t=n[0],r=n[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var n=lh.querySelector("script["+e+"]");if(n)return n.getAttribute(e)}(t));null!=i&&(jh[r]=i)}));var Wh=Zd(Zd({},{familyPrefix:ph,styleDefault:"solid",replacementClass:$h,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0}),jh);Wh.autoReplaceSvg||(Wh.observeMutations=!1);var Fh={};Object.keys(Wh).forEach((function(e){Object.defineProperty(Fh,e,{enumerable:!0,set:function(n){Wh[e]=n,Uh.forEach((function(e){return e(Fh)}))},get:function(){return Wh[e]}})})),ch.FontAwesomeConfig=Fh;var Uh=[],zh=16,Vh={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},Hh="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Gh(){for(var e=12,n="";e-- >0;)n+=Hh[62*Math.random()|0];return n}function Zh(e){for(var n=[],t=(e||[]).length>>>0;t--;)n[t]=e[t];return n}function qh(e){return e.classList?Zh(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function Yh(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Jh(e){return Object.keys(e||{}).reduce((function(n,t){return n+"".concat(t,": ").concat(e[t].trim(),";")}),"")}function Xh(e){return e.size!==Vh.size||e.x!==Vh.x||e.y!==Vh.y||e.rotate!==Vh.rotate||e.flipX||e.flipY}var Kh=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function Qh(){var e=ph,n=$h,t=Fh.familyPrefix,r=Fh.replacementClass,i=Kh;if(t!==e||r!==n){var o=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),a=new RegExp("\\.".concat(n),"g");i=i.replace(o,".".concat(t,"-")).replace(s,"--".concat(t,"-")).replace(a,".".concat(r))}return i}var em=!1;function nm(){Fh.autoAddCss&&!em&&(function(e){if(e&&dh){var n=lh.createElement("style");n.setAttribute("type","text/css"),n.innerHTML=e;for(var t=lh.head.childNodes,r=null,i=t.length-1;i>-1;i--){var o=t[i],s=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(r=o)}lh.head.insertBefore(n,r)}}(Qh()),em=!0)}var tm={mixout:function(){return{dom:{css:Qh,insertCss:nm}}},hooks:function(){return{beforeDOMElementCreation:function(){nm()},beforeI2svg:function(){nm()}}}},rm=ch||{};rm[mh]||(rm[mh]={}),rm[mh].styles||(rm[mh].styles={}),rm[mh].hooks||(rm[mh].hooks={}),rm[mh].shims||(rm[mh].shims=[]);var im=rm[mh],om=[],sm=!1;function am(e){var n=e.tag,t=e.attributes,r=void 0===t?{}:t,i=e.children,o=void 0===i?[]:i;return"string"==typeof e?Yh(e):"<".concat(n," ").concat(function(e){return Object.keys(e||{}).reduce((function(n,t){return n+"".concat(t,'="').concat(Yh(e[t]),'" ')}),"").trim()}(r),">").concat(o.map(am).join(""),"</").concat(n,">")}function cm(e,n,t){if(e&&e[n]&&e[n][t])return{prefix:n,iconName:t,icon:e[n][t]}}dh&&((sm=(lh.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(lh.readyState))||lh.addEventListener("DOMContentLoaded",(function e(){lh.removeEventListener("DOMContentLoaded",e),sm=1,om.map((function(e){return e()}))})));var lm=function(e,n,t,r){var i,o,s,a=Object.keys(e),c=a.length,l=void 0!==r?function(e,n){return function(t,r,i,o){return e.call(n,t,r,i,o)}}(n,r):n;for(void 0===t?(i=1,s=e[a[0]]):(i=0,s=t);i<c;i++)s=l(s,e[o=a[i]],o,e);return s};function um(e){var n=function(e){for(var n=[],t=0,r=e.length;t<r;){var i=e.charCodeAt(t++);if(i>=55296&&i<=56319&&t<r){var o=e.charCodeAt(t++);56320==(64512&o)?n.push(((1023&i)<<10)+(1023&o)+65536):(n.push(i),t--)}else n.push(i)}return n}(e);return 1===n.length?n[0].toString(16):null}function fm(e){return Object.keys(e).reduce((function(n,t){var r=e[t];return r.icon?n[r.iconName]=r.icon:n[t]=r,n}),{})}function dm(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==t&&t,i=fm(n);"function"!=typeof im.hooks.addPack||r?im.styles[e]=Zd(Zd({},im.styles[e]||{}),i):im.hooks.addPack(e,fm(n)),"fas"===e&&dm("fa",n)}var hm=im.styles,mm=im.shims,pm=Object.values(Ah),$m=null,gm={},wm={},vm={},ym={},bm={},Cm=Object.keys(Ih);var _m,xm=function(){var e=function(e){return lm(hm,(function(n,t,r){return n[r]=lm(t,e,{}),n}),{})};gm=e((function(e,n,t){if(n[3]&&(e[n[3]]=t),n[2]){var r=n[2].filter((function(e){return"number"==typeof e}));r.forEach((function(n){e[n.toString(16)]=t}))}return e})),wm=e((function(e,n,t){if(e[t]=t,n[2]){var r=n[2].filter((function(e){return"string"==typeof e}));r.forEach((function(n){e[n]=t}))}return e})),bm=e((function(e,n,t){var r=n[2];return e[t]=t,r.forEach((function(n){e[n]=t})),e}));var n="far"in hm||Fh.autoFetchSvg,t=lm(mm,(function(e,t){var r=t[0],i=t[1],o=t[2];return"far"!==i||n||(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:{}});vm=t.names,ym=t.unicodes,$m=Om(Fh.styleDefault)};function km(e,n){return(gm[e]||{})[n]}function Im(e,n){return(bm[e]||{})[n]}function Sm(e){return vm[e]||{prefix:null,iconName:null}}function Am(){return $m}_m=function(e){$m=Om(e.styleDefault)},Uh.push(_m),xm();var Em=function(){return{prefix:null,iconName:null,rest:[]}};function Om(e){var n=Ih[e],t=Sh[e]||Sh[n],r=e in im.styles?e:null;return t||r||null}function Tm(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,t=void 0!==n&&n,r=null,i=e.reduce((function(e,n){var i=function(e,n){var t,r=n.split("-"),i=r[0],o=r.slice(1).join("-");return i!==e||""===o||(t=o,~Lh.indexOf(t))?null:o}(Fh.familyPrefix,n);if(hm[n]?(n=pm.includes(n)?Eh[n]:n,r=n,e.prefix=n):Cm.indexOf(n)>-1?(r=n,e.prefix=Om(n)):i?e.iconName=i:n!==Fh.replacementClass&&e.rest.push(n),!t&&e.prefix&&e.iconName){var o="fa"===r?Sm(e.iconName):{},s=Im(e.prefix,e.iconName);o.prefix&&(r=null),e.iconName=o.iconName||s||e.iconName,e.prefix=o.prefix||e.prefix,"far"!==e.prefix||hm.far||!hm.fas||Fh.autoFetchSvg||(e.prefix="fas")}return e}),Em());return"fa"!==i.prefix&&"fa"!==r||(i.prefix=Am()||"fas"),i}var Nm=function(){function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var n,t;return n=e,t=[{key:"add",value:function(){for(var e=this,n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];var i=t.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(n){e.definitions[n]=Zd(Zd({},e.definitions[n]||{}),i[n]),dm(n,i[n]);var t=Ah[n];t&&dm(t,i[n]),xm()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,n){var t=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(t).map((function(n){var r=t[n],i=r.prefix,o=r.iconName,s=r.icon,a=s[2];e[i]||(e[i]={}),a.length>0&&a.forEach((function(n){"string"==typeof n&&(e[i][n]=s)})),e[i][o]=s})),e}}],t&&Yd(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),e}(),Mm=[],Pm={},Dm={},Rm=Object.keys(Dm);function Bm(e,n){for(var t=arguments.length,r=new Array(t>2?t-2:0),i=2;i<t;i++)r[i-2]=arguments[i];return(Pm[e]||[]).forEach((function(e){n=e.apply(null,[n].concat(r))})),n}function Lm(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];(Pm[e]||[]).forEach((function(e){e.apply(null,t)}))}function jm(){var e=arguments[0],n=Array.prototype.slice.call(arguments,1);return Dm[e]?Dm[e].apply(null,n):void 0}function Wm(e){"fa"===e.prefix&&(e.prefix="fas");var n=e.iconName,t=e.prefix||Am();if(n)return n=Im(t,n)||n,cm(Fm.definitions,t,n)||cm(im.styles,t,n)}var Fm=new Nm,Um={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return dh?(Lm("beforeI2svg",e),jm("pseudoElements2svg",e),jm("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.autoReplaceSvgRoot;!1===Fh.autoReplaceSvg&&(Fh.autoReplaceSvg=!0),Fh.observeMutations=!0,e=function(){Vm({autoReplaceSvgRoot:t}),Lm("watch",n)},dh&&(sm?setTimeout(e,0):om.push(e))}},zm={noAuto:function(){Fh.autoReplaceSvg=!1,Fh.observeMutations=!1,Lm("noAuto")},config:Fh,dom:Um,parse:{icon:function(e){if(null===e)return null;if("object"===qd(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Im(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var n=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],t=Om(e[0]);return{prefix:t,iconName:Im(t,n)||n}}if("string"==typeof e&&(e.indexOf("".concat(Fh.familyPrefix,"-"))>-1||e.match(Oh))){var r=Tm(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||Am(),iconName:Im(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var i=Am();return{prefix:i,iconName:Im(i,e)||e}}}},library:Fm,findIconDefinition:Wm,toHtml:am},Vm=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,n=void 0===e?lh:e;(Object.keys(im.styles).length>0||Fh.autoFetchSvg)&&dh&&Fh.autoReplaceSvg&&zm.dom.i2svg({node:n})};function Hm(e,n){return Object.defineProperty(e,"abstract",{get:n}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return am(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(dh){var n=lh.createElement("div");return n.innerHTML=e.html,n.children}}}),e}function Gm(e){var n=e.icons,t=n.main,r=n.mask,i=e.prefix,o=e.iconName,s=e.transform,a=e.symbol,c=e.title,l=e.maskId,u=e.titleId,f=e.extra,d=e.watchable,h=void 0!==d&&d,m=r.found?r:t,p=m.width,$=m.height,g="fak"===i,w=[Fh.replacementClass,o?"".concat(Fh.familyPrefix,"-").concat(o):""].filter((function(e){return-1===f.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(f.classes).join(" "),v={children:[],attributes:Zd(Zd({},f.attributes),{},{"data-prefix":i,"data-icon":o,class:w,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat($)})},y=g&&!~f.classes.indexOf("fa-fw")?{width:"".concat(p/$*16*.0625,"em")}:{};h&&(v.attributes[gh]=""),c&&(v.children.push({tag:"title",attributes:{id:v.attributes["aria-labelledby"]||"title-".concat(u||Gh())},children:[c]}),delete v.attributes.title);var b=Zd(Zd({},v),{},{prefix:i,iconName:o,main:t,mask:r,maskId:l,transform:s,symbol:a,styles:Zd(Zd({},y),f.styles)}),C=r.found&&t.found?jm("generateAbstractMask",b)||{children:[],attributes:{}}:jm("generateAbstractIcon",b)||{children:[],attributes:{}},_=C.children,x=C.attributes;return b.children=_,b.attributes=x,a?function(e){var n=e.prefix,t=e.iconName,r=e.children,i=e.attributes,o=e.symbol,s=!0===o?"".concat(n,"-").concat(Fh.familyPrefix,"-").concat(t):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Zd(Zd({},i),{},{id:s}),children:r}]}]}(b):function(e){var n=e.children,t=e.main,r=e.mask,i=e.attributes,o=e.styles,s=e.transform;if(Xh(s)&&t.found&&!r.found){var a={x:t.width/t.height/2,y:.5};i.style=Jh(Zd(Zd({},o),{},{"transform-origin":"".concat(a.x+s.x/16,"em ").concat(a.y+s.y/16,"em")}))}return[{tag:"svg",attributes:i,children:n}]}(b)}function Zm(e){var n=e.content,t=e.width,r=e.height,i=e.transform,o=e.title,s=e.extra,a=e.watchable,c=void 0!==a&&a,l=Zd(Zd(Zd({},s.attributes),o?{title:o}:{}),{},{class:s.classes.join(" ")});c&&(l[gh]="");var u=Zd({},s.styles);Xh(i)&&(u.transform=function(e){var n=e.transform,t=e.width,r=void 0===t?16:t,i=e.height,o=void 0===i?16:i,s=e.startCentered,a=void 0!==s&&s,c="";return c+=a&&hh?"translate(".concat(n.x/zh-r/2,"em, ").concat(n.y/zh-o/2,"em) "):a?"translate(calc(-50% + ".concat(n.x/zh,"em), calc(-50% + ").concat(n.y/zh,"em)) "):"translate(".concat(n.x/zh,"em, ").concat(n.y/zh,"em) "),(c+="scale(".concat(n.size/zh*(n.flipX?-1:1),", ").concat(n.size/zh*(n.flipY?-1:1),") "))+"rotate(".concat(n.rotate,"deg) ")}({transform:i,startCentered:!0,width:t,height:r}),u["-webkit-transform"]=u.transform);var f=Jh(u);f.length>0&&(l.style=f);var d=[];return d.push({tag:"span",attributes:l,children:[n]}),o&&d.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),d}var qm=im.styles;function Ym(e){var n=e[0],t=e[1],r=Xd(e.slice(4),1)[0];return{found:!0,width:n,height:t,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(Fh.familyPrefix,"-").concat(Bh.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Fh.familyPrefix,"-").concat(Bh.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Fh.familyPrefix,"-").concat(Bh.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var Jm={found:!1,width:512,height:512};function Xm(e,n){var t=n;return"fa"===n&&null!==Fh.styleDefault&&(n=Am()),new Promise((function(r,i){if(jm("missingIconAbstract"),"fa"===t){var o=Sm(e)||{};e=o.iconName||e,n=o.prefix||n}if(e&&n&&qm[n]&&qm[n][e])return r(Ym(qm[n][e]));!function(e,n){kh||Fh.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(n,'" is missing.'))}(e,n),r(Zd(Zd({},Jm),{},{icon:Fh.showMissingIcons&&e&&jm("missingIconAbstract")||{}}))}))}var Km=function(){},Qm=Fh.measurePerformance&&fh&&fh.mark&&fh.measure?fh:{mark:Km,measure:Km},ep='FA "6.1.2"',np=function(e){Qm.mark("".concat(ep," ").concat(e," ends")),Qm.measure("".concat(ep," ").concat(e),"".concat(ep," ").concat(e," begins"),"".concat(ep," ").concat(e," ends"))},tp={begin:function(e){return Qm.mark("".concat(ep," ").concat(e," begins")),function(){return np(e)}},end:np},rp=function(){};function ip(e){return"string"==typeof(e.getAttribute?e.getAttribute(gh):null)}function op(e){return lh.createElementNS("http://www.w3.org/2000/svg",e)}function sp(e){return lh.createElement(e)}function ap(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,t=void 0===n?"svg"===e.tag?op:sp:n;if("string"==typeof e)return lh.createTextNode(e);var r=t(e.tag);return Object.keys(e.attributes||[]).forEach((function(n){r.setAttribute(n,e.attributes[n])})),(e.children||[]).forEach((function(e){r.appendChild(ap(e,{ceFn:t}))})),r}var cp={replace:function(e){var n=e[0];if(n.parentNode)if(e[1].forEach((function(e){n.parentNode.insertBefore(ap(e),n)})),null===n.getAttribute(gh)&&Fh.keepOriginalSource){var t=lh.createComment(function(e){var n=" ".concat(e.outerHTML," ");return"".concat(n,"Font Awesome fontawesome.com ")}(n));n.parentNode.replaceChild(t,n)}else n.remove()},nest:function(e){var n=e[0],t=e[1];if(~qh(n).indexOf(Fh.replacementClass))return cp.replace(e);var r=new RegExp("".concat(Fh.familyPrefix,"-.*"));if(delete t[0].attributes.id,t[0].attributes.class){var i=t[0].attributes.class.split(" ").reduce((function(e,n){return n===Fh.replacementClass||n.match(r)?e.toSvg.push(n):e.toNode.push(n),e}),{toNode:[],toSvg:[]});t[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?n.removeAttribute("class"):n.setAttribute("class",i.toNode.join(" "))}var o=t.map((function(e){return am(e)})).join("\n");n.setAttribute(gh,""),n.innerHTML=o}};function lp(e){e()}function up(e,n){var t="function"==typeof n?n:rp;if(0===e.length)t();else{var r=lp;Fh.mutateApproach===_h&&(r=ch.requestAnimationFrame||lp),r((function(){var n=!0===Fh.autoReplaceSvg?cp.replace:cp[Fh.autoReplaceSvg]||cp.replace,r=tp.begin("mutate");e.map(n),r(),t()}))}}var fp=!1;function dp(){fp=!0}function hp(){fp=!1}var mp=null;function pp(e){if(uh&&Fh.observeMutations){var n=e.treeCallback,t=void 0===n?rp:n,r=e.nodeCallback,i=void 0===r?rp:r,o=e.pseudoElementsCallback,s=void 0===o?rp:o,a=e.observeMutationsRoot,c=void 0===a?lh:a;mp=new uh((function(e){if(!fp){var n=Am();Zh(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!ip(e.addedNodes[0])&&(Fh.searchPseudoElements&&s(e.target),t(e.target)),"attributes"===e.type&&e.target.parentNode&&Fh.searchPseudoElements&&s(e.target.parentNode),"attributes"===e.type&&ip(e.target)&&~Rh.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var n=e.getAttribute?e.getAttribute(yh):null,t=e.getAttribute?e.getAttribute(bh):null;return n&&t}(e.target)){var r=Tm(qh(e.target)),o=r.prefix,a=r.iconName;e.target.setAttribute(yh,o||n),a&&e.target.setAttribute(bh,a)}else(c=e.target)&&c.classList&&c.classList.contains&&c.classList.contains(Fh.replacementClass)&&i(e.target);var c}))}})),dh&&mp.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function $p(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},t=function(e){var n,t,r=e.getAttribute("data-prefix"),i=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",s=Tm(qh(e));return s.prefix||(s.prefix=Am()),r&&i&&(s.prefix=r,s.iconName=i),s.iconName&&s.prefix||(s.prefix&&o.length>0&&(s.iconName=(n=s.prefix,t=e.innerText,(wm[n]||{})[t]||km(s.prefix,um(e.innerText)))),!s.iconName&&Fh.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=e.firstChild.data)),s}(e),r=t.iconName,i=t.prefix,o=t.rest,s=function(e){var n=Zh(e.attributes).reduce((function(e,n){return"class"!==e.name&&"style"!==e.name&&(e[n.name]=n.value),e}),{}),t=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return Fh.autoA11y&&(t?n["aria-labelledby"]="".concat(Fh.replacementClass,"-title-").concat(r||Gh()):(n["aria-hidden"]="true",n.focusable="false")),n}(e),a=Bm("parseNodeAttributes",{},e),c=n.styleParser?function(e){var n=e.getAttribute("style"),t=[];return n&&(t=n.split(";").reduce((function(e,n){var t=n.split(":"),r=t[0],i=t.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e}),{})),t}(e):[];return Zd({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:Vh,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:c,attributes:s}},a)}var gp=im.styles;function wp(e){var n="nest"===Fh.autoReplaceSvg?$p(e,{styleParser:!1}):$p(e);return~n.extra.classes.indexOf(Th)?jm("generateLayersText",e,n):jm("generateSvgReplacementMutation",e,n)}function vp(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!dh)return Promise.resolve();var t=lh.documentElement.classList,r=function(e){return t.add("".concat(Ch,"-").concat(e))},i=function(e){return t.remove("".concat(Ch,"-").concat(e))},o=Fh.autoFetchSvg?Object.keys(Ih):Object.keys(gp);o.includes("fa")||o.push("fa");var s=[".".concat(Th,":not([").concat(gh,"])")].concat(o.map((function(e){return".".concat(e,":not([").concat(gh,"])")}))).join(", ");if(0===s.length)return Promise.resolve();var a=[];try{a=Zh(e.querySelectorAll(s))}catch(e){}if(!(a.length>0))return Promise.resolve();r("pending"),i("complete");var c=tp.begin("onTree"),l=a.reduce((function(e,n){try{var t=wp(n);t&&e.push(t)}catch(e){kh||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,t){Promise.all(l).then((function(t){up(t,(function(){r("active"),r("complete"),i("pending"),"function"==typeof n&&n(),c(),e()}))})).catch((function(e){c(),t(e)}))}))}function yp(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;wp(e).then((function(e){e&&up([e],n)}))}var bp=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.transform,r=void 0===t?Vh:t,i=n.symbol,o=void 0!==i&&i,s=n.mask,a=void 0===s?null:s,c=n.maskId,l=void 0===c?null:c,u=n.title,f=void 0===u?null:u,d=n.titleId,h=void 0===d?null:d,m=n.classes,p=void 0===m?[]:m,$=n.attributes,g=void 0===$?{}:$,w=n.styles,v=void 0===w?{}:w;if(e){var y=e.prefix,b=e.iconName,C=e.icon;return Hm(Zd({type:"icon"},e),(function(){return Lm("beforeDOMElementCreation",{iconDefinition:e,params:n}),Fh.autoA11y&&(f?g["aria-labelledby"]="".concat(Fh.replacementClass,"-title-").concat(h||Gh()):(g["aria-hidden"]="true",g.focusable="false")),Gm({icons:{main:Ym(C),mask:a?Ym(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:y,iconName:b,transform:Zd(Zd({},Vh),r),symbol:o,title:f,maskId:l,titleId:h,extra:{attributes:g,styles:v,classes:p}})}))}},Cp={mixout:function(){return{icon:(e=bp,function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(n||{}).icon?n:Wm(n||{}),i=t.mask;return i&&(i=(i||{}).icon?i:Wm(i||{})),e(r,Zd(Zd({},t),{},{mask:i}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=vp,e.nodeCallback=yp,e}}},provides:function(e){e.i2svg=function(e){var n=e.node,t=void 0===n?lh:n,r=e.callback;return vp(t,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,n){var t=n.iconName,r=n.title,i=n.titleId,o=n.prefix,s=n.transform,a=n.symbol,c=n.mask,l=n.maskId,u=n.extra;return new Promise((function(n,f){Promise.all([Xm(t,o),c.iconName?Xm(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(c){var f=Xd(c,2),d=f[0],h=f[1];n([e,Gm({icons:{main:d,mask:h},prefix:o,iconName:t,transform:s,symbol:a,maskId:l,title:r,titleId:i,extra:u,watchable:!0})])})).catch(f)}))},e.generateAbstractIcon=function(e){var n,t=e.children,r=e.attributes,i=e.main,o=e.transform,s=Jh(e.styles);return s.length>0&&(r.style=s),Xh(o)&&(n=jm("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),t.push(n||i.icon),{children:t,attributes:r}}}},_p={mixout:function(){return{layer:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.classes,r=void 0===t?[]:t;return Hm({type:"layer"},(function(){Lm("beforeDOMElementCreation",{assembler:e,params:n});var t=[];return e((function(e){Array.isArray(e)?e.map((function(e){t=t.concat(e.abstract)})):t=t.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(Fh.familyPrefix,"-layers")].concat(Kd(r)).join(" ")},children:t}]}))}}}},xp={mixout:function(){return{counter:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.title,r=void 0===t?null:t,i=n.classes,o=void 0===i?[]:i,s=n.attributes,a=void 0===s?{}:s,c=n.styles,l=void 0===c?{}:c;return Hm({type:"counter",content:e},(function(){return Lm("beforeDOMElementCreation",{content:e,params:n}),function(e){var n=e.content,t=e.title,r=e.extra,i=Zd(Zd(Zd({},r.attributes),t?{title:t}:{}),{},{class:r.classes.join(" ")}),o=Jh(r.styles);o.length>0&&(i.style=o);var s=[];return s.push({tag:"span",attributes:i,children:[n]}),t&&s.push({tag:"span",attributes:{class:"sr-only"},children:[t]}),s}({content:e.toString(),title:r,extra:{attributes:a,styles:l,classes:["".concat(Fh.familyPrefix,"-layers-counter")].concat(Kd(o))}})}))}}}},kp={mixout:function(){return{text:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.transform,r=void 0===t?Vh:t,i=n.title,o=void 0===i?null:i,s=n.classes,a=void 0===s?[]:s,c=n.attributes,l=void 0===c?{}:c,u=n.styles,f=void 0===u?{}:u;return Hm({type:"text",content:e},(function(){return Lm("beforeDOMElementCreation",{content:e,params:n}),Zm({content:e,transform:Zd(Zd({},Vh),r),title:o,extra:{attributes:l,styles:f,classes:["".concat(Fh.familyPrefix,"-layers-text")].concat(Kd(a))}})}))}}},provides:function(e){e.generateLayersText=function(e,n){var t=n.title,r=n.transform,i=n.extra,o=null,s=null;if(hh){var a=parseInt(getComputedStyle(e).fontSize,10),c=e.getBoundingClientRect();o=c.width/a,s=c.height/a}return Fh.autoA11y&&!t&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,Zm({content:e.innerHTML,width:o,height:s,transform:r,title:t,extra:i,watchable:!0})])}}},Ip=new RegExp('"',"ug"),Sp=[1105920,1112319];function Ap(e,n){var t="".concat(vh).concat(n.replace(":","-"));return new Promise((function(r,i){if(null!==e.getAttribute(t))return r();var o,s,a,c=Zh(e.children).filter((function(e){return e.getAttribute(wh)===n}))[0],l=ch.getComputedStyle(e,n),u=l.getPropertyValue("font-family").match(Nh),f=l.getPropertyValue("font-weight"),d=l.getPropertyValue("content");if(c&&!u)return e.removeChild(c),r();if(u&&"none"!==d&&""!==d){var h=l.getPropertyValue("content"),m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?Sh[u[2].toLowerCase()]:Mh[f],p=function(e){var n=e.replace(Ip,""),t=function(e,n){var t,r=e.length,i=e.charCodeAt(0);return i>=55296&&i<=56319&&r>1&&(t=e.charCodeAt(1))>=56320&&t<=57343?1024*(i-55296)+t-56320+65536:i}(n),r=t>=Sp[0]&&t<=Sp[1],i=2===n.length&&n[0]===n[1];return{value:um(i?n[0]:n),isSecondary:r||i}}(h),$=p.value,g=p.isSecondary,w=u[0].startsWith("FontAwesome"),v=km(m,$),y=v;if(w){var b=(s=ym[o=$],a=km("fas",o),s||(a?{prefix:"fas",iconName:a}:null)||{prefix:null,iconName:null});b.iconName&&b.prefix&&(v=b.iconName,m=b.prefix)}if(!v||g||c&&c.getAttribute(yh)===m&&c.getAttribute(bh)===y)r();else{e.setAttribute(t,y),c&&e.removeChild(c);var C={iconName:null,title:null,titleId:null,prefix:null,transform:Vh,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},_=C.extra;_.attributes[wh]=n,Xm(v,m).then((function(i){var o=Gm(Zd(Zd({},C),{},{icons:{main:i,mask:Em()},prefix:m,iconName:y,extra:_,watchable:!0})),s=lh.createElement("svg");"::before"===n?e.insertBefore(s,e.firstChild):e.appendChild(s),s.outerHTML=o.map((function(e){return am(e)})).join("\n"),e.removeAttribute(t),r()})).catch(i)}}else r()}))}function Ep(e){return Promise.all([Ap(e,"::before"),Ap(e,"::after")])}function Op(e){return!(e.parentNode===document.head||~xh.indexOf(e.tagName.toUpperCase())||e.getAttribute(wh)||e.parentNode&&"svg"===e.parentNode.tagName)}function Tp(e){if(dh)return new Promise((function(n,t){var r=Zh(e.querySelectorAll("*")).filter(Op).map(Ep),i=tp.begin("searchPseudoElements");dp(),Promise.all(r).then((function(){i(),hp(),n()})).catch((function(){i(),hp(),t()}))}))}var Np=!1,Mp=function(e){return e.toLowerCase().split(" ").reduce((function(e,n){var t=n.toLowerCase().split("-"),r=t[0],i=t.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})},Pp={mixout:function(){return{parse:{transform:function(e){return Mp(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,n){var t=n.getAttribute("data-fa-transform");return t&&(e.transform=Mp(t)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var n=e.main,t=e.transform,r=e.containerWidth,i=e.iconWidth,o={transform:"translate(".concat(r/2," 256)")},s="translate(".concat(32*t.x,", ").concat(32*t.y,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),c="rotate(".concat(t.rotate," 0 0)"),l={outer:o,inner:{transform:"".concat(s," ").concat(a," ").concat(c)},path:{transform:"translate(".concat(i/2*-1," -256)")}};return{tag:"g",attributes:Zd({},l.outer),children:[{tag:"g",attributes:Zd({},l.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:Zd(Zd({},n.icon.attributes),l.path)}]}]}}}},Dp={x:0,y:0,width:"100%",height:"100%"};function Rp(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||n)&&(e.attributes.fill="black"),e}var Bp,Lp={hooks:function(){return{parseNodeAttributes:function(e,n){var t=n.getAttribute("data-fa-mask"),r=t?Tm(t.split(" ").map((function(e){return e.trim()}))):Em();return r.prefix||(r.prefix=Am()),e.mask=r,e.maskId=n.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var n,t=e.children,r=e.attributes,i=e.main,o=e.mask,s=e.maskId,a=e.transform,c=i.width,l=i.icon,u=o.width,f=o.icon,d=function(e){var n=e.transform,t=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},i="translate(".concat(32*n.x,", ").concat(32*n.y,") "),o="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),s="rotate(".concat(n.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(i," ").concat(o," ").concat(s)},path:{transform:"translate(".concat(t/2*-1," -256)")}}}({transform:a,containerWidth:u,iconWidth:c}),h={tag:"rect",attributes:Zd(Zd({},Dp),{},{fill:"white"})},m=l.children?{children:l.children.map(Rp)}:{},p={tag:"g",attributes:Zd({},d.inner),children:[Rp(Zd({tag:l.tag,attributes:Zd(Zd({},l.attributes),d.path)},m))]},$={tag:"g",attributes:Zd({},d.outer),children:[p]},g="mask-".concat(s||Gh()),w="clip-".concat(s||Gh()),v={tag:"mask",attributes:Zd(Zd({},Dp),{},{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,$]},y={tag:"defs",children:[{tag:"clipPath",attributes:{id:w},children:(n=f,"g"===n.tag?n.children:[n])},v]};return t.push(y,{tag:"rect",attributes:Zd({fill:"currentColor","clip-path":"url(#".concat(w,")"),mask:"url(#".concat(g,")")},Dp)}),{children:t,attributes:r}}}},jp={provides:function(e){var n=!1;ch.matchMedia&&(n=ch.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],t={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:Zd(Zd({},t),{},{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=Zd(Zd({},r),{},{attributeName:"opacity"}),o={tag:"circle",attributes:Zd(Zd({},t),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||o.children.push({tag:"animate",attributes:Zd(Zd({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Zd(Zd({},i),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:Zd(Zd({},t),{},{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:n?[]:[{tag:"animate",attributes:Zd(Zd({},i),{},{values:"1;0;0;0;0;1;"})}]}),n||e.push({tag:"path",attributes:Zd(Zd({},t),{},{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:Zd(Zd({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},Wp=[tm,Cp,_p,xp,kp,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=Tp,e}}},provides:function(e){e.pseudoElements2svg=function(e){var n=e.node,t=void 0===n?lh:n;Fh.searchPseudoElements&&Tp(t)}}},{mixout:function(){return{dom:{unwatch:function(){dp(),Np=!0}}}},hooks:function(){return{bootstrap:function(){pp(Bm("mutationObserverCallbacks",{}))},noAuto:function(){mp&&mp.disconnect()},watch:function(e){var n=e.observeMutationsRoot;Np?hp():pp(Bm("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},Pp,Lp,jp,{hooks:function(){return{parseNodeAttributes:function(e,n){var t=n.getAttribute("data-fa-symbol"),r=null!==t&&(""===t||t);return e.symbol=r,e}}}}];Bp={mixoutsTo:zm}.mixoutsTo,Mm=Wp,Pm={},Object.keys(Dm).forEach((function(e){-1===Rm.indexOf(e)&&delete Dm[e]})),Mm.forEach((function(e){var n=e.mixout?e.mixout():{};if(Object.keys(n).forEach((function(e){"function"==typeof n[e]&&(Bp[e]=n[e]),"object"===qd(n[e])&&Object.keys(n[e]).forEach((function(t){Bp[e]||(Bp[e]={}),Bp[e][t]=n[e][t]}))})),e.hooks){var t=e.hooks();Object.keys(t).forEach((function(e){Pm[e]||(Pm[e]=[]),Pm[e].push(t[e])}))}e.provides&&e.provides(Dm)}));var Fp=zm.parse,Up=zm.icon,zp=t(556),Vp=t.n(zp);function Hp(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Gp(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Hp(Object(t),!0).forEach((function(n){qp(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Hp(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function Zp(e){return Zp="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},Zp(e)}function qp(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Yp(e){return function(e){if(Array.isArray(e))return Jp(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return Jp(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Jp(e,n):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 Jp(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function Xp(e){return n=e,(n-=0)==n?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,n){return n?n.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var n}var Kp=["style"],Qp=!1;try{Qp=!0}catch(c){}function e$(e){return e&&"object"===Zp(e)&&e.prefix&&e.iconName&&e.icon?e:Fp.icon?Fp.icon(e):null===e?null:e&&"object"===Zp(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 n$(e,n){return Array.isArray(n)&&n.length>0||!Array.isArray(n)&&n?qp({},e,n):{}}var t$=Le.forwardRef((function(e,n){var t=e.icon,r=e.mask,i=e.symbol,o=e.className,s=e.title,a=e.titleId,c=e.maskId,l=e$(t),u=n$("classes",[].concat(Yp(function(e){var n,t=e.beat,r=e.fade,i=e.beatFade,o=e.bounce,s=e.shake,a=e.flash,c=e.spin,l=e.spinPulse,u=e.spinReverse,f=e.pulse,d=e.fixedWidth,h=e.inverse,m=e.border,p=e.listItem,$=e.flip,g=e.size,w=e.rotation,v=e.pull,y=(qp(n={"fa-beat":t,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":o,"fa-shake":s,"fa-flash":a,"fa-spin":c,"fa-spin-reverse":u,"fa-spin-pulse":l,"fa-pulse":f,"fa-fw":d,"fa-inverse":h,"fa-border":m,"fa-li":p,"fa-flip":!0===$,"fa-flip-horizontal":"horizontal"===$||"both"===$,"fa-flip-vertical":"vertical"===$||"both"===$},"fa-".concat(g),null!=g),qp(n,"fa-rotate-".concat(w),null!=w&&0!==w),qp(n,"fa-pull-".concat(v),null!=v),qp(n,"fa-swap-opacity",e.swapOpacity),n);return Object.keys(y).map((function(e){return y[e]?e:null})).filter((function(e){return e}))}(e)),Yp(o.split(" ")))),f=n$("transform","string"==typeof e.transform?Fp.transform(e.transform):e.transform),d=n$("mask",e$(r)),h=Up(l,Gp(Gp(Gp(Gp({},u),f),d),{},{symbol:i,title:s,titleId:a,maskId:c}));if(!h)return function(){var e;!Qp&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",l),null;var m=h.abstract,p={ref:n};return Object.keys(e).forEach((function(n){t$.defaultProps.hasOwnProperty(n)||(p[n]=e[n])})),r$(m[0],p)}));t$.displayName="FontAwesomeIcon",t$.propTypes={beat:Vp().bool,border:Vp().bool,beatFade:Vp().bool,bounce:Vp().bool,className:Vp().string,fade:Vp().bool,flash:Vp().bool,mask:Vp().oneOfType([Vp().object,Vp().array,Vp().string]),maskId:Vp().string,fixedWidth:Vp().bool,inverse:Vp().bool,flip:Vp().oneOf([!0,!1,"horizontal","vertical","both"]),icon:Vp().oneOfType([Vp().object,Vp().array,Vp().string]),listItem:Vp().bool,pull:Vp().oneOf(["right","left"]),pulse:Vp().bool,rotation:Vp().oneOf([0,90,180,270]),shake:Vp().bool,size:Vp().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Vp().bool,spinPulse:Vp().bool,spinReverse:Vp().bool,symbol:Vp().oneOfType([Vp().bool,Vp().string]),title:Vp().string,titleId:Vp().string,transform:Vp().oneOfType([Vp().string,Vp().object]),swapOpacity:Vp().bool},t$.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 r$=function e(n,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t)return t;var i=(t.children||[]).map((function(t){return e(n,t)})),o=Object.keys(t.attributes||{}).reduce((function(e,n){var r=t.attributes[n];switch(n){case"class":e.attrs.className=r,delete t.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,n){var t,r=n.indexOf(":"),i=Xp(n.slice(0,r)),o=n.slice(r+1).trim();return i.startsWith("webkit")?e[(t=i,t.charAt(0).toUpperCase()+t.slice(1))]=o:e[i]=o,e}),{});break;default:0===n.indexOf("aria-")||0===n.indexOf("data-")?e.attrs[n.toLowerCase()]=r:e.attrs[Xp(n)]=r}return e}),{attrs:{}}),s=r.style,a=void 0===s?{}:s,c=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t=o[r],n.indexOf(t)>=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t=o[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(r,Kp);return o.attrs.style=Gp(Gp({},o.attrs.style),a),n.apply(void 0,[t.tag,Gp(Gp({},o.attrs),c)].concat(Yp(i)))}.bind(null,Le.createElement),i$={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"]},o$={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 s$(e,n){return d(t$,e,...n)}const a$=s$({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"]}},[]),c$=s$({icon:o$,size:"5x"},[]),l$=s$({icon:i$,size:"5x"},[]);function u$(e){let n;const t=zo((r=e.inviteCode,[new ua(r,void 0,{Error:void 0,Input:"",IsDirty:!1,IsTouched:!1},!1,!1,new ca(0),Pt()),bo()]),Gu,[]);var r;const i=t[0],o=t[1];Bi(Ls((()=>Zu(1e3,Hu(i.InviteToken))),(e=>{o(new la(1,e))})));const s=Ls((()=>Zu(500,Vu(i.InviteToken,i.MfaCodeForm.Input))),(e=>{o(new la(2,e))}));Bi((()=>{Hd(0)}));const a=e=>{let n;return d("svg",dn(Gt([["className",vt(" ",Zt(Gt(["animate-spin","text-primary-base"]),e))],["fill","none"],["viewBox","0 0 24 24"],["xmlns","http://www.w3.org/2000/svg"],(n=Gt([d("circle",{className:vt(" ",["opacity-25"]),cx:12,cy:12,r:10,stroke:"currentColor",strokeWidth:4}),d("path",{className:vt(" ",["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",gi.Children.toArray(Array.from(n))])])))};return d("div",dn(Gt([["className",vt(" ",["h-screen","fade-in"])],(n=$r(fr((()=>wr(Cr((e=>d("style",{children:[e]})),i.CssOverrides),fr((()=>{let e,n,t;return mr(d("div",dn(Gt([["className",vt(" ",["h-full","flex","justify-center","items-center"])],(e=[d("div",dn(Gt([["className",vt(" ",["border","rounded-lg","shadow-md","sm:max-w-md","p-8","text-center"])],(n=[d("div",dn(Rt((t=$r(fr((()=>{let e,n,t,r,c;return wr((e=i.Ui,2===e.tag?mr(d("div",dn(Gt([["className",vt(" ",["fade-in"])],(n=[d("i",{className:vt(" ",["text-red-600"]),children:gi.Children.toArray([l$])}),d("h4",{className:vt(" ",["text-2xl","my-4","text-red-600"]),children:"This doesn't look right"}),d("p",{className:vt(" ",["mt-3","mb-5","text-gray-500"]),children:e.fields[0]})],["children",gi.Children.toArray(Array.from(n))])])))):1===e.tag?mr(d("form",dn(Gt([["className",vt(" ",["fade-in"])],["onSubmit",e=>{e.preventDefault(),s()}],(t=$r(fr((()=>wr(mr(d("i",{className:vt(" ",["text-primary-base"]),children:gi.Children.toArray([c$])})),fr((()=>wr(mr(d("h4",{className:vt(" ",["text-2xl","my-4"]),children:"Authenticate Your Account"})),fr((()=>{let e,n;return wr(mr(d("p",dn(Gt([["className",vt(" ",["mt-3","mb-5","text-gray-500"])],(e=["Protecting your account is our top priority. Check your email ",(n=En(i.MaskedEmail,""),d("strong",{children:[n]}))," for the code that we have just sent you."],["children",gi.Children.toArray(Array.from(e))])])))),fr((()=>{let e;return wr(mr(d("div",dn(Gt([["className",vt(" ",["mt-1","flex","rounded-md","shadow-sm"])],(e=[d("input",{"aria-describedby":vt(" ",["button-verify"]),"aria-label":"Authorization code",autoFocus:!0,className:vt(" ",["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 la(3,e.target.value))},onBlur:e=>{o(new la(4))}}),d("button",dn($r(fr((()=>wr(mr(["className",vt(" ",["-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"])]),fr((()=>wr(mr(["id","button-verify"]),fr((()=>wr(mr(["type","submit"]),fr((()=>wr(mr(["disabled",!(!i.MfaCodeForm.IsTouched||null==i.MfaCodeForm.Error)||i.IsValidationPending]),fr((()=>{let e,n;return i.IsValidationPending?mr((e=[d("div",dn(Gt([["className",vt(" ",["flex","justify-center","items-center"])],(n=[a(Gt(["h-5","w-5"]))],["children",gi.Children.toArray(Array.from(n))])])))],["children",gi.Children.toArray(Array.from(e))])):mr(["children","Verify"])})))))))))))))))))],["children",gi.Children.toArray(Array.from(e))])])))),fr((()=>{const e=[i.MfaCodeForm.IsDirty&&i.MfaCodeForm.IsTouched,i.MfaCodeForm.Error];let n;switch(n=e[0]&&null!=e[1]?0:1,n){case 0:{const n=e[1];return mr(d("div",{className:vt(" ",["mt-2","text-sm","text-red-600","text-left"]),children:n}))}case 1:return mr(null)}})))})))}))))))))),["children",gi.Children.toArray(Array.from(t))])])))):mr((r=Gt([d("div",dn(Gt([["className",vt(" ",["flex","justify-center","items-center"])],(c=[a(Gt(["h-10","w-10"]))],["children",gi.Children.toArray(Array.from(c))])]))),d("h4",{className:vt(" ",["text-2xl","my-4"]),children:"Verifying your invite"}),d("p",{className:vt(" ",["mt-3","mb-5","text-gray-500"]),children:"Hold tight. It won't be long."})]),d("div",{children:gi.Children.toArray(Array.from(r))})))),fr((()=>{let e,n,t;return mr(d("p",dn(Gt([["className",vt(" ",["mt-16","text-gray-400","text-right","text-xs"])],(e=[(n=`Flare HR Pty Ltd © 2015-${t=Gn(),Zn(t)}`,d("small",{children:[n]}))],["children",gi.Children.toArray(Array.from(e))])]))))})))}))),["children",gi.Children.toArray(Array.from(t))]))))],["children",gi.Children.toArray(Array.from(n))])])))],["children",gi.Children.toArray(Array.from(e))])]))))})))))),["children",gi.Children.toArray(Array.from(n))])])))}class f$ extends yn{constructor(e,n){super(),this.Email=e,this.Phone=n}}function d$(e){return new f$(On(ra,e.Email),On(oa,e.Phone))}class h$ extends yn{constructor(e,n,t){super(),this.CompanyName=e,this.Logo=n,this.Support=t}}function m$(){return Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.InviteBrandingDto",[],h$,(()=>[["CompanyName",es(rs)],["Logo",es(rs)],["Support",es(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.SupportDto",[],f$,(()=>[["Email",es(rs)],["Phone",es(rs)]])))]]))}function p$(e){return new h$(On(sa,e.CompanyName),On(aa,e.Logo),On(d$,e.Support))}class $$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Default","InfoRequest","AppInvite"]}}function g$(){return Ko("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.InviteJourneyTypeDto",[],$$,(()=>[[["Item",v$()]],[["Item",v$()]],[["Item",v$()]]]))}class w$ extends yn{constructor(e){super(),this.Category=e}}function v$(){return Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.JourneyTypeDetailsDto",[],w$,(()=>[["Category",es(rs)]]))}class y$ extends yn{constructor(e){super(),this.MagicCode=e}}class b$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["PassThrough","MagicCodeExpired","MagicCodeNotRecognised","InviteExpired","WorkflowCompleted","WorkflowAbandoned","ProfileStateInvalidForWorkflowCompletion","InviteNotFound"]}}function C$(e){switch(e.tag){case 1:case 2:case 3:case 4:case 5:case 6:default:return e.fields[0].Branding;case 7:return}}function _$(e){switch(e.tag){case 1:case 2:case 3:case 4:case 5:case 6:default:return e.fields[0].JourneyType;case 7:return}}class x$ extends yn{constructor(e,n){super(),this.CssOverrides=e,this.Outcome=n}}class k$ extends yn{constructor(e,n){super(),this.MagicCode=e,this.IsChange=n}}class I$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["MagicCodeIssued","MagicCodeNotRecognised","MagicCodeIssuingThrottled","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class S$ extends yn{constructor(e){super(),this.Outcome=e}}class A$ extends yn{constructor(e,n){super(),this.MagicCode=e,this.IsResend=n}}class E$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["OneTimeCodeIssued","OneTimeCodeOptionNotAvailable","OneTimeCodeLocked","OneTimeCodeIssuingThrottled","MagicCodeNotRecognised","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class O$ extends yn{constructor(e){super(),this.Outcome=e}}class T$ extends yn{constructor(e){super(),this.OneTimeCode=0|e}}class N$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["OneTimeCodeMatched","OneTimeCodeFailed","OneTimeCodeExpired","OneTimeCodeNotCurrentlyIssued","OneTimeCodeAlreadyUsed","OneTimeCodeLocked","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class M$ extends yn{constructor(e){super(),this.Outcome=e}}class P$ extends yn{constructor(e,n){super(),this.MagicCode=e,this.IsPassThrough=n}}class D$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Progressed","MagicCodeNotRecognised","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class R$ extends yn{constructor(e){super(),this.Outcome=e}}class B$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class L$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Started","Finished"]}}class j$ extends yn{constructor(e,n){super(),this.InviteToken=e,this.MagicCode=n}}class W$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["OneTimeCodeLocked","NoAccess","UnrecognisedLink","WorkflowAbandoned","InviteExpired","SomethingWentWrong"]}}class F$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Loading","Welcome","CheckYourInbox","CodeEntry","AccessLinkExpired","WorkflowCompleted","Error"]}}class U$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["CheckYourInbox","CodeEntry","Onboarding"]}}class z$ extends yn{constructor(e,n,t,r){super(),this.CssOverrides=e,this.Page=n,this.Branding=t,this.JourneyType=r}}class V$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["NavigatePage","ValidateMagicLink","ReissueMagicLink","IssueOneTimeCode","ValidateOneTimeCode","ProgressFromWelcome","NavigateToAuthCodeExchange"]}}class H${constructor(e){this.magicLink=e,this.backendUrl=`${xa}/workflows/public-backend/invites/${this.magicLink.InviteToken}`}}function G$(e,n){return no.Delay((()=>{let e;const t=vl(n);return e=no.Bind(t,(e=>no.Return(new to(0,e)))),no.Bind(e,(e=>{const t=e;if(1===t.tag)return no.Return(new to(1,t.fields[0]));{const e=t.fields[0];if(429===e.statusCode||e.statusCode>=500){let e;const t=mo(2e3);return e=no.Bind(t,(()=>no.Return(new to(0,x$0027_1)))),no.Bind(e,(e=>{const t=e;if(1===t.tag)return no.Return(new to(1,t.fields[0]));{const e=vl(n);return no.Bind(e,(e=>no.Return(new to(0,e))))}}))}return no.Return(new to(0,e))}}))}))}class Z$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["AuthCode"]}}function q$(e){return new Z$(0,e)}class Y$ extends yn{constructor(e,n,t,r,i,o){super(),this.id_token=e,this.access_token=n,this.expires_in=t,this.refresh_token=r,this.scope=i,this.token_type=o}}function J$(){return Jo("Workflows.UI.Auth.Types.Credentials",[],Y$,(()=>[["id_token",rs],["access_token",rs],["expires_in",ss],["refresh_token",es(rs)],["scope",rs],["token_type",rs]]))}class X$ extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["SignIn","SignInWithCurrentAuth","NavigateToOnboarding"]}}function K$(){return[new z$(Pt(),new F$(0),void 0,new $$(0,new w$(void 0))),ko(new V$(1,new L$(0)))]}function Q$(e,n,t,r,i){let o,s,a,c;const l=function(e){return new H$(e)}(e);if(1===r.tag){if(1===r.fields[0].tag){if(1===r.fields[0].fields[0].tag)return[i,ko(new V$(0,new F$(6,new W$(5))))];{let e;const n=r.fields[0].fields[0].fields[0].Outcome;switch(n.tag){case 1:{const t=n.fields[0],r=[t.IsInitialMagicLinkUsed,t.OneTimeCodeOptionAvailable];e=r[0]?r[1]?new V$(0,new F$(1,t.FirstName,new U$(1))):new V$(0,new F$(1,t.FirstName,new U$(0))):r[1]?new V$(3,!1,new L$(0)):new V$(0,new F$(4));break}case 4:e=new V$(0,new F$(5));break;case 2:case 7:e=new V$(0,new F$(6,new W$(2)));break;case 3:e=new V$(0,new F$(6,new W$(4)));break;case 5:e=new V$(0,new F$(6,new W$(3)));break;case 6:e=new V$(0,new F$(6,new W$(1)));break;default:{const r=n.fields[0];r.IsInitialMagicLinkUsed?(t(q$(r.AuthCode)),e=new V$(0,new F$(1,r.FirstName,new U$(2)))):e=new V$(6,r.AuthCode)}}return[new z$(r.fields[0].fields[0].fields[0].CssOverrides,i.Page,C$(r.fields[0].fields[0].fields[0].Outcome),En(_$(r.fields[0].fields[0].fields[0].Outcome),i.JourneyType)),ko(e)]}}return[i,Io((e=>{Ao(e)}),(()=>function(e){return no.Delay((()=>{let n,t;const r=G$(0,(n=$l(new kc(1),pl(`${e.backendUrl}/magic-link/validate`)),wl(new Sc(1,(t=new y$(e.magicLink.MagicCode),ju(0,Uu(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeRequestDto",[],y$,(()=>[["MagicCode",rs]])),new bl(1),void 0,void 0)(t)))),n)));return no.Bind(r,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{let e;const t=n.fields[0];return e=200===t.statusCode?du(mn(2,Tu(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeResponseDto",[],x$,(()=>[["CssOverrides",ns(rs)],["Outcome",Ko("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeOutcomeDto",[],b$,(()=>[[["Item",Xo(["AuthCode",rs],["Branding",es(m$())],["FirstName",rs],["IsInitialMagicLinkUsed",is],["JourneyType",g$()])]],[["Item",Xo(["Branding",es(m$())],["FirstName",rs],["IsInitialMagicLinkUsed",is],["JourneyType",g$()],["OneTimeCodeOptionAvailable",is])]],[["Item",Xo(["Branding",es(m$())],["JourneyType",g$()])]],[["Item",Xo(["Branding",es(m$())],["JourneyType",g$()])]],[["Item",Xo(["Branding",es(m$())],["JourneyType",g$()])]],[["Item",Xo(["Branding",es(m$())],["JourneyType",g$()])]],[["Item",Xo(["Branding",es(m$())],["JourneyType",g$()])]],[]]))]])),new bl(1),void 0)),t.responseText):new to(1,"Unexpected response from backend"),no.Return(e)}}))}))}(l)),void 0,(e=>new V$(1,new L$(1,e))),(e=>new V$(1,new L$(1,new to(1,e.message)))))]}return 2===r.tag?1===r.fields[1].tag?1===r.fields[1].fields[0].tag?[i,ko(new V$(0,new F$(6,new W$(5))))]:[i,ko(new V$(0,(o=r.fields[1].fields[0].fields[0].Outcome,2===o.tag?new F$(2,o.fields[0].MaskedEmail):1===o.tag||5===o.tag?new F$(6,new W$(2)):3===o.tag?new F$(6,new W$(4)):4===o.tag?new F$(6,new W$(1)):6===o.tag?new F$(5):7===o.tag?new F$(6,new W$(3)):new F$(2,o.fields[0].MaskedEmail))))]:[i,Io((e=>{Ao(e)}),(e=>function(e,n){return no.Delay((()=>{let t,r;const i=G$(0,(t=$l(new kc(1),pl(`${e.backendUrl}/magic-link/reissue`)),wl(new Sc(1,(r=new k$(e.magicLink.MagicCode,n),ju(0,Uu(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeRequestDto",[],k$,(()=>[["MagicCode",rs],["IsChange",is]])),new bl(1),void 0,void 0)(r)))),t)));return no.Bind(i,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{let e;const t=n.fields[0];return e=200===t.statusCode?du(mn(2,Tu(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeResponseDto",[],S$,(()=>[["Outcome",Ko("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeOutcomeDto",[],I$,(()=>[[["Item",Xo(["MaskedEmail",rs])]],[],[["Item",Xo(["MaskedEmail",rs])]],[],[],[],[],[]]))]])),new bl(1),void 0)),t.responseText):new to(1,"Unexpected response from backend"),no.Return(e)}}))}))}(l,e)),r.fields[0],(e=>new V$(2,r.fields[0],new L$(1,e))),(e=>new V$(2,r.fields[0],new L$(1,new to(1,e.message)))))]:3===r.tag?1===r.fields[1].tag?1===r.fields[1].fields[0].tag?[i,ko(new V$(0,new F$(6,new W$(5))))]:[i,ko(new V$(0,(s=r.fields[1].fields[0].fields[0].Outcome,1===s.tag?new F$(4):2===s.tag?new F$(6,new W$(0)):3===s.tag?r.fields[0]?i.Page:new F$(3,s.fields[0].MaskedPhone):4===s.tag||7===s.tag?new F$(6,new W$(2)):5===s.tag?new F$(6,new W$(4)):6===s.tag?new F$(6,new W$(1)):8===s.tag?new F$(5):9===s.tag?new F$(6,new W$(3)):r.fields[0]?i.Page:new F$(3,s.fields[0].MaskedPhone))))]:[i,Io((e=>{Ao(e)}),(e=>function(e,n){return no.Delay((()=>{let t,r;const i=G$(0,(t=$l(new kc(1),pl(`${e.backendUrl}/one-time-code/issue`)),wl(new Sc(1,(r=new A$(e.magicLink.MagicCode,n),ju(0,Uu(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeRequestDto",[],A$,(()=>[["MagicCode",rs],["IsResend",is]])),new bl(1),void 0,void 0)(r)))),t)));return no.Bind(i,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{let e;const t=n.fields[0];return e=200===t.statusCode?du(mn(2,Tu(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeResponseDto",[],O$,(()=>[["Outcome",Ko("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeOutcomeDto",[],E$,(()=>[[["Item",Xo(["MaskedPhone",rs])]],[],[],[["Item",Xo(["MaskedPhone",rs])]],[],[],[],[],[],[]]))]])),new bl(1),void 0)),t.responseText):new to(1,"Unexpected response from backend"),no.Return(e)}}))}))}(l,e)),r.fields[0],(e=>new V$(3,r.fields[0],new L$(1,e))),(e=>new V$(3,r.fields[0],new L$(1,new to(1,e.message)))))]:4===r.tag?1===r.fields[2].tag?1===r.fields[2].fields[0].tag?[i,ko(new V$(0,new F$(6,new W$(5))))]:[i,(a=r.fields[2].fields[0].fields[0].Outcome,1===a.tag?a.fields[0].RemainingAttempts>0?(r.fields[1]({AttemptsRemaining:a.fields[0].RemainingAttempts}),bo()):ko(new V$(0,new F$(6,new W$(0)))):5===a.tag?ko(new V$(0,new F$(6,new W$(0)))):2===a.tag||3===a.tag||4===a.tag?(r.fields[1]({AttemptsRemaining:void 0}),bo()):6===a.tag?ko(new V$(0,new F$(6,new W$(4)))):7===a.tag?ko(new V$(0,new F$(6,new W$(1)))):8===a.tag?ko(new V$(0,new F$(6,new W$(2)))):9===a.tag?ko(new V$(0,new F$(5))):10===a.tag?ko(new V$(0,new F$(6,new W$(0)))):ko(new V$(6,a.fields[0].AuthCode)))]:[i,Io((e=>{Ao(e)}),(e=>function(e,n){return no.Delay((()=>{let t,r;const i=G$(0,(t=$l(new kc(1),pl(`${e.backendUrl}/one-time-code/validate`)),wl(new Sc(1,(r=new T$(n),ju(0,Uu(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeRequestDto",[],T$,(()=>[["OneTimeCode",os]])),new bl(1),void 0,void 0)(r)))),t)));return no.Bind(i,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{let e;const t=n.fields[0];return e=200===t.statusCode?du(mn(2,Tu(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeResponseDto",[],M$,(()=>[["Outcome",Ko("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeOutcomeDto",[],N$,(()=>[[["Item",Xo(["AuthCode",rs])]],[["Item",Xo(["RemainingAttempts",os])]],[],[],[],[],[],[],[],[],[]]))]])),new bl(1),void 0)),t.responseText):new to(1,"Unexpected response from backend"),no.Return(e)}}))}))}(l,e)),r.fields[0],(e=>new V$(4,r.fields[0],r.fields[1],new L$(1,e))),(e=>new V$(4,r.fields[0],r.fields[1],new L$(1,new to(1,e.message)))))]:5===r.tag?1===r.fields[1].tag?1===r.fields[1].fields[0].tag?[i,ko(new V$(0,new F$(6,new W$(5))))]:[i,ko((c=r.fields[1].fields[0].fields[0].Outcome,1===c.tag||4===c.tag?new V$(0,new F$(6,new W$(2))):2===c.tag?new V$(0,new F$(6,new W$(4))):3===c.tag?new V$(0,new F$(6,new W$(1))):5===c.tag?new V$(0,new F$(5)):6===c.tag?new V$(0,new F$(6,new W$(0))):1===r.fields[0].tag?new V$(3,!1,new L$(0)):2===r.fields[0].tag?new V$(6,void 0):new V$(2,!1,new L$(0))))]:[i,Io((e=>{Ao(e)}),(e=>function(e,n){return no.Delay((()=>{let t,r;const i=G$(0,(t=$l(new kc(1),pl(`${e.backendUrl}/progress`)),wl(new Sc(1,(r=new P$(e.magicLink.MagicCode,n),ju(0,Uu(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressRequestDto",[],P$,(()=>[["MagicCode",rs],["IsPassThrough",is]])),new bl(1),void 0,void 0)(r)))),t)));return no.Bind(i,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{let e;const t=n.fields[0];return e=200===t.statusCode?du(mn(2,Tu(Jo("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressResponseDto",[],R$,(()=>[["Outcome",Ko("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressOutcomeDto",[],D$,(()=>[[],[],[],[],[],[],[]]))]])),new bl(1),void 0)),t.responseText):new to(1,"Unexpected response from backend"),no.Return(e)}}))}))}(l,e)),1!==r.fields[0].tag&&2===r.fields[0].tag,(e=>new V$(5,r.fields[0],new L$(1,e))),(e=>new V$(5,r.fields[0],new L$(1,new to(1,e.message)))))]:6===r.tag?(n(On(q$,r.fields[0])),[i,bo()]):[new z$(i.CssOverrides,r.fields[0],i.Branding,i.JourneyType),bo()]}const eg=function(){const e=[..."#C$&$&$$$$$$%-%&%=$$$$$$=$$$$D$$'$$$$$$$$$$$$%$$%$$$$&$:$*;$+$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$&%$$$%$&%'$%$&&%$%$$$$$%$$%$$%$&$$$%%$$&'$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$%$$$$$&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*%$%%$$'$$$$$$$$h$>5'/1(*$$$4$$$$$$$$%$&$$'%$$&$$$%$4$,F$%&&$$$$$$$$$$$$$$$$$$$$$$$($$$$$%%VS$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$(%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%$$$$$$$$$$$$%$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$I%$)L$$%%$$P$$$%$%$$+>''%.)&%$%%.$$$%C$-8-'%$$$*$$)%%$'%-&%$1$$$$A>%|.$1-D,%$&$%$%9'$,$&$(%2$<&%$$.X8$5.2$C$Y$$$$&+'$%$*-%%-$$2$%$+%%%9$*$$&'%$$&'%%%%$$+$'%$&%%-%%)$$$$$%%$$)'%%9$*$%$%$%%$$&%'%%&&$*'$$*-%&$$-%$$,$&$9$*$%$(%$$&($%$$%$%$2%%%-$$*$)$$%$+%%%9$*$%$(%$$$$$'%%%%$*%$'%$&%%-$$)-$$$)&&$'&%$$$%&%&&&/'%$%&&$&$%$)$1-&)$$($&$+$&$:$3&$&'$&$'*%$&(%%%-*$*$$$%$+$&$:$-$(%$$$$($$%$%%*%*$$%%%-$%0%%,$&$L%$&'$&$&$$$'&$*&%%-,$)$$%$5&;$,$$%*&$'&&$$$+)-%%$/S$%*'$)$+$-%H%$$$($;$$$-$%,$%($$$)%-%'C$&2$$&%)--$$$$$$$$$$%+$G'1$($%(.$G$+$)$%('%HN%'$)$%%%$-))%%'&$&%*&'0$%%)$$$-&$%I$$($%N$$&Ŭ$'%*$$$'%L$'%D$'%*$$$'%2$\\$'%f%&,7&3-)y%)%$ʏ$$4$=$$&n&&+*0$'&.5&%,5%/0$&$%/W%$*+$%.&$&$$$%-)-))$'&$$-)F$X*(%E$$(i-B$&'%&'%$)&'$&%-A%(.O'=)-$&E:%%$%%X$$$*$$$$%+)-%$-)-)*$)%1$%b'$R$$($$($%*'-*-,,&%$A$'%%$&%-O$$%&$$&%+'G++%%&(-&&-A)%,*N%&++&$0$*'$)$%$%$(Ob0$EH]$($$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$,$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$,+)%)%++++)%)%+$$$$$$$$++1%++++++($%'$$$&&$%'$&'%%'$&+(&%&$%'$%$.()%$$$%$$$+$$($,$$'%&$$$.$$$-$($-$$%)&$$$-&$$$0&C30'$&/2%$'$%$&%&$$$%$()$$$$$$'$$'$'$%%%($'$$%$$3F$$'$%'((%'$%$%$*$B%%$$$Bį+$$$$7%*$$t$A<K)h<.8_q9Ú$,$Y+$ě$$$$$$$$$$$$$$AO($$B$$$$$$$$$$3ģ¦$$$$$$$$$$$$$$$$$$$$$$b$$$$C$$ĥS8%)J%C$R$R$$$&%$$$$$$'$$%$)%&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%)$$$$&$$('$%I$$($%[*$$1$:,*$*$*$*$*$*$*$*$C%$$$$&$$$$$,$%$$$$%$$$$$$$$$$($-%'$$$0%$P=$|/ù=/'$&$$$$$$$$$$$$$$%$$$$$$$$$$%$,'%$(%&$$$%$y%%%%$$}$&$(N$$%'-CG/3B$-A+$2C-J2ţ᧣c删&8$Қ&Z,K)%į$&3-%7$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$&$-$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$%%i-%)+:,%$$$$$$$$$$$$$&$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$+$$$$%$$$$$$$$$$%$$$$$$$$&$$$$$$$$$$$$$$$$$$$$($($$$$$$$$$$$%$$'$$$M$$$%$*$&$'$:%%$'$&)%$$)W'+%U3%+%-)5)&$$%$-?+%:.%.$@&&$R$%'%%&0$$-'%($$,-($L)%%%%,&$+$$%-%'3$)&$$$$U$$&%%(%$$$;%$%.$%%%$%$$-)%)%),*$*$N$',$%'sF%$%$%$$$%-)⯇/:'T'ࠣᤣƑ%I*/(($$-$0$($$$%$%$34Ǝ$$3c%YK/$$%3*$$$)3$%%$$$$$$$$$$$$$$$$%$$'&&$'$$$$$$$&$$&$$$%'($ª%$$&$&$$$$$$%-%&%=$$$$$$=$$$$$$$$$%-$P%B&)%)%)%&&%$$$%$$'%-&%%/$=$6$%$2%1E(&'P&,X'4%&$0&$RP$¥@&T2$>'C',7$+$(I((A$$G'+$(MKKq%-)G'G'K+W.$³Ś,9-+»)%$$O$%&$%:$$+:%*B+,S6$%((9)&$=($c['%%3%Q$&$%(''$&$@%&'$,*,*@%$@&C+$?%'(*,Y&*9%+6(+5*'/*slZV0V*)G'+-ʼnB$M$%$%%q@-$+9.'(y8*7:,$$$X2*'7-2&$P&'%%%$'.$%<*-)&G($+$-'$%$+F$%$,%$S&,%'''$$$-$$$&$7.5$<&&%$$%)$d*$$$'$2$-$)R$&+(-)%%$+%%%9$*$%$($%$%$'%%%&%$)$((%%*&(®X&+%&$$'(-%$$$&AS&)$$'%$%%$$+-ÉR&'%'%$%:'%ES&+%$$%&$.-)06N$$$%)$$$*-Y>%&%'$('-%&$ãO&,$%$CC-,/+%$%+$%$;)$%%%$$$$$$$&,-i+%J&'%%'$$$$$>$-K)$$'+$+$)%&Q0$%&$(@\\Ī,$H$*$)$$$(--6&%A%9$$*$%$%l*$%$I)&$$%$*$$+-))$%$C($%$%$$$$*-ř6%%%Ú$28+'40$ν$(.çђ$,ɪ⇜ɜ*B$-'%A%($-S*(''$$--$*$8(6˓CC:'n'$$Z*'0c%$$$.%1+ӹM,⌚łT&4'+Ưध(0&,*-%$%$'ę-J%_%&&)++%*A'^:e&$½7/z,<ª===*$5==$$%%$%%%'$+'$$$*$.==%$'%+$*$=%$'$($$&*$============?%<$<$)<$<$)<$<$)<$<$)<$<$)$$%UȣZ'U+$1$%(2($2ճ*$4%*$%$(øP&**%-'$$ƓO'-($ԣè%,*LEE*$'-'%̴^$&$'oP$2å'$>$%$$%$$-$'$$$$)$'$$$$$$&$%$$%$$$$$$$$$$%$$%'$*$'$'$$$-$4(&$($4W%ıO'/2%2$2$H-0Ä[@0O',*%1)½Ğ(˻+0&0&/|*/7/'[+-)K+A%%q$u$ª/1%(&&(*,<**,&0*L¶$ZH-Щ꜁Eၘ.ā%ᚥ1ᵔూɁ፮$A£ē︳𐀡%𐀡"].map((e=>{var n;return(null!==(n=e.codePointAt(0))&&void 0!==n?n:0)-35})),n=[..."1.;=;78;<;6;+;<;#7;8>5>$7<8<1.;=?;>?'9<2?>?<->$;>-':-;#<#$<$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'#$'#%$#%$#%$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#%$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'$&>&>&>&>&>(#$#$&>#$@&$;#@>#;#@#@#$#@#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$<#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$?(*#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#@&;$;6@?=@(6(;(;(;(@'@';@2<;=;?(;2@;'&'(+;'(';'(2?(&(?('+'?';@2'('(@'('@+'(&?;&@(='(&(&(&(@;@'(@;@'@'@'@(2()'()(')()()'('(;+;&'()@'@'@'@'@'@'@(')(@)@)('@)@'@'(@+'=-?=';(@()@'@'@'@'@'@'@'@(@)(@(@(@(@'@'@+('(;@()@'@'@'@'@'@'@(')(@()@)(@'@'(@+;=@'(@()@'@'@'@'@'@'@(')()(@)@)(@()@'@'(@+?'-@('@'@'@'@'@'@'@'@'@'@)()@)@)(@'@)@+-?=?@()('@'@'@'@'()@(@(@(@'@'(@+@;-?'();'@'@'@'@'@(')()@()@)(@)@'@'(@+@'@()'@'@'(')(@)@)('?@')-'(@+-?'@()@'@'@'@'@'@(@)(@(@)@+@);@'('(@='&(;+;@'@'@'@'@'@'('('@'@&@(@+@'@'?;?;?(?+-?(?(?(7878)'@'@()(;('(@(@?(?@?;?;@')()()()('+;')('(')')'('()()(')+)(?#@#@#@$;&$'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@(;-@'?@#@$@6'?;'.'78@';,'@'@'(@'(;@'(@'@'@(@'()()()(;&;='(@+@-@;6;(2@+@'&'@'('('@'@'@()()@)()(@?@;+'@'@'@'@+-@?'()(@;')()(@()()()(@(+@+@;&;@(*(@()'()()()()'@+;?(?@()')()()('+'()()()()@;')()(@;+@'+'&;$@#@#;@(;()('('(')('@$&$&$&(@(#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#@$#$#$@#@$@#@#@#@#$#$@$%$%$%$@$#%>$>$@$#%>$@$#@>$#>@$@$#%>@.26;9:79:79;/02.;9:;5;<78;<;5;.2@2-&@-<78&-<78@&@=@(*(*(@?#?#?$#$#$?#?<#?#?#?#?#?$#$'$?$#<#$?<?$?-,#$,-?@<?<?<?<?<?<?<?<?<?<?7878?<?78?<?<?<?@?@-?-?<?<?<?<?78787878787878-?<78<7878787878<?<7878787878787878787878<7878<78<?<?<?@?@?#@$@#$#$#$#$#$#$#$#$&#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$?#$#$(#$@;-;$@$@$@'@&;@('@'@'@'@'@'@'@'@'@(;9:9:;9:;9:;6;6;9:;9:78787878;&;6;6;7;?;@?@?@?@?@.;?&',7878787878?78787878678?,()6&?,&';?@'@(>&'6';&'@'@'@?-?'?@'?@-?-?-?-?-?'?'@'&'@?@'&;'&;'+'@#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$'(*;(;&#$#$#$#$#$#$#$#$#$#$#$#$#$#$&(',(;@>&>#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$&$#$#$#$#$#$#$#$&>#$#$'#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$@#$#$#$@#$'&$'('('(')()?(@-?=?@';@)')(@;+@(';';'(+'(;'()@;'@()'()()();@&+@;'(&'+'@'()()(@'('()@+@;'&'?')()'('('('('('@'&;')();'&)(@'@'@'@'@'@$>&$&>@$')()();)(@+@'@'@'@34'@'@$@$@'('<'@'@'@'@'@'>@'87@'@'@'=?@(;78;@(;657878787878787878;78;5;@;6787878;<6<@;=;@'@'@2@;=;78;<;6;+;<;#7;8>5>$7<8<78;78;'&'&'@'@'@'@'@=<>?=@?<?@2?@'@'@'@'@'@'@'@;@-@?,-?-?@?@?@?(@'@'@(-@'-@',',@'(@'@;'@';,@#$'@+@#@$@'@'@;@'@'@'@'@'@'@'@'@'@;-'?-'@-@'@'@-'-@;'@;@'@-'-@-'(@(@('@'@'@(@(-@;@'-;'-@'?'(@-;@'@;'@-'@-'@;@-@'@#@$@-'(@+@-@'@(6@'@'-'@'(-;@'-@'@)()'(;@-+@()')()(;2;@2@'@+@('()(@+;')'@'(;'@()')()';(;)(+';';@-@'@')()()(;(@'@'@'@'@';@'()(@+@()@'@'@'@'@'@'@(')()@)@)@'@)@')@(@(@')()()(';+;@;('@')()()()(';'@+@')(@)()(;'(@')()()(;'@+@;@'()()()('@+@'@()()(@+-;?@')()(;@#$+-@'@'@'@'@')@)@()(')')(;@+@'@')(@()(';')@'('()'(;(@'()('()(;';@'@'@')(@()(';@+-@;'@(@)()()(@'@'@'(@(@(@('(@+@'@'@')@(@)()('@+@'();@'@-?=?@;'@,@;@'@'@2@'@'@'@+@;@'@(;@'(;?&;?@+@-@'@'@#$-;@'@(')@(&@&;&(@)@'@'@'@'@'@'@'@'@'@'@'@?(;2@?@?@?)(?)2(?(?(?@?(?@-@?@-@#$#$@$#$#@#@#@#@#@#$@$@$@$#$#@#@#@#@$#@#@#@#@#@$#$#$#$#$#$#$@#<$<$#<$<$#<$<$#<$<$#<$<$#$@+?(?(?(?(?;@(@(@(@(@(@(@(@'@(&@+@'?@'(+@=@'@-(@#$(&@+@;@-?-=-@-?-@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@'@<@?@?@?@?@?@?@-?@?@?@?@?@?@?>?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@?@+@'@'@'@'@'@'@'@2@2@(@4@4@"].map((e=>{var n;return(null!==(n=e.codePointAt(0))&&void 0!==n?n:0)-35})),t=new Uint32Array(e),r=new Uint8Array(n);for(let e=1;e<t.length;++e)t[e]+=t[e-1];return e=>{let n=t.length,i=0;for(;n-i>1;){const r=Math.floor((n+i)/2),o=t[r];if(e<o)n=r;else{if(e===o){n=i=r;break}o<e&&(i=r)}}return r[i]}}();const ng=e=>function(e,n){const t=1<<function(e,n){const t=function(e,n){if(n>=0&&n<e.length)return e.charCodeAt(n);throw new Error("Index out of range.")}(e,n);return eg(t)}(e,0);return 0!=(256&t)}(e);class tg extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ResendTimerTick","SignIn","IncorrectOneTimeCodeCallback","SetCodeInvalid","SetCodeInputValue","SetReissueLinkInProgress"]}}class rg extends yn{constructor(e,n,t,r,i,o){super(),this.AttemptsRemaining=e,this.CodeInvalid=n,this.CodeInputValue=t,this.ResendTimer=r,this.SignInInProgress=i,this.ReissueLinkInProgress=o}}function ig(){return[new rg(void 0,!1,"",void 0,!1,!1),bo()]}function og(e){"one-time-code-input"===e.target.id||"Enter"!==e.key&&document.getElementById("one-time-code-input").focus()}const sg={Dispose(){document.removeEventListener("keypress",(e=>{og(e)})),document.removeEventListener("paste",(e=>{og(e)}))}};function ag(e){const n=e.reissueLink,t=e.reissueOneTimeCode,r=e.validateOneTimeCode,i=e.maskedPhone,o=Uo(ig,((e,n)=>function(e,n,t){let r;switch(n.tag){case 1:{const r=_t(ng,t.CodeInputValue);return 6===r.length?(e([Ml(r,511,!1,32),n.fields[0]]),[new rg(t.AttemptsRemaining,t.CodeInvalid,t.CodeInputValue,t.ResendTimer,!0,t.ReissueLinkInProgress),bo()]):[t,ko(new tg(3,!0))]}case 2:return[new rg(n.fields[0],t.CodeInvalid,t.CodeInputValue,t.ResendTimer,t.SignInInProgress,t.ReissueLinkInProgress),ko(new tg(3,!0))];case 3:{const e=n.fields[0];return[new rg(t.AttemptsRemaining,e,e?"":t.CodeInputValue,t.ResendTimer,!1,t.ReissueLinkInProgress),bo()]}case 4:return[new rg(t.AttemptsRemaining,t.CodeInvalid,n.fields[0],t.ResendTimer,t.SignInInProgress,t.ReissueLinkInProgress),bo()];case 5:return[new rg(t.AttemptsRemaining,t.CodeInvalid,t.CodeInputValue,t.ResendTimer,t.SignInInProgress,!0),bo()];default:{const e=So((e=>{Ao(e)}),(()=>no.Delay((()=>no.Bind(mo(1e3),(()=>no.Return()))))),void 0,(()=>new tg(0)));let n;const i=t.ResendTimer;return n=null!=i?i>0?(r=0|i,[r-1,e]):[void 0,bo()]:[20,e],[new rg(t.AttemptsRemaining,t.CodeInvalid,t.CodeInputValue,n[0],t.SignInInProgress,t.ReissueLinkInProgress),n[1]]}}}(r,e,n))),s=o[0],a=o[1];Ri((()=>(document.addEventListener("keypress",(e=>{og(e)})),document.addEventListener("paste",(e=>{og(e)})),sg)),new Array(0));const c=()=>{a(new tg(1,(e=>{a(new tg(2,e.AttemptsRemaining))})))},l=$r(fr((()=>wr(mr(function(e){const n=Ar(di([]),1);return d(Wr,n)}()),fr((()=>wr(mr(Si("Enter your security code")),fr((()=>{let e,r;return wr(mr(d("div",dn(Gt([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-7 sm:leading-8 space-y-3 sm:space-y-4"],(e=[(r=Gt([d("span",{children:["We’ve sent a security code to your mobile number ending in •••"]}),d("span",{className:"font-semibold",children:_t(ng,i)}),d("span",{children:["."]})]),d("p",{children:gi.Children.toArray(Array.from(r))})),d("p",{children:["Enter your code to sign in."]})],["children",gi.Children.toArray(Array.from(e))])])))),fr((()=>{let e;return wr(mr(d("div",dn(Gt([["className","mt-8 flex relative"],(e=$r(fr((()=>{let e;return wr(mr(d("input",dn(Gt([["className","absolute w-full h-full peer z-10 opacity-0"],["id","one-time-code-input"],["type","text"],["autoComplete","one-time-code"],["maxLength",6],["onClick",e=>{const n=e.target;n.selectionStart=0|s.CodeInputValue.length,n.selectionEnd=0|s.CodeInputValue.length,a(new tg(3,!1))}],["onChange",e=>{const n=_t(ng,e.target.value);a(new tg(4,n)),6===n.length&&c()}],(e=s.CodeInputValue,["ref",n=>{null==n||sn(n.value,e)||(n.value=e)}])])))),fr((()=>kr((e=>{const n=On((e=>e),Ln(e,s.CodeInputValue.split(""))),t=On((e=>e),Ln(e-1,s.CodeInputValue.split("")));return mr(d("div",{key:e,className:vt(" ",$r(fr((()=>wr(mr("flex justify-center items-center text-xl w-10 h-12 rounded-md ring-inset ring-1 transition ease-in"),fr((()=>wr(s.CodeInvalid?mr("ring-red-600"):mr("ring-gray-400"),fr((()=>wr(mr(2===e?"mr-4":5===e?"":"mr-2"),fr((()=>null!=n||null!=t||0===e?mr("peer-focus:ring-2 peer-focus:ring-primary-base"):hr()))))))))))))),children:En(n,"")}))}),Oo(0,1,5)))))}))),["children",gi.Children.toArray(Array.from(e))])])))),fr((()=>{let e;return wr(s.CodeInvalid?mr(d("p",dn(Gt([["className","w-[288px] text-red-600 mt-2 leading-5"],(e=$r(fr((()=>wr(mr("The code you entered is invalid"),fr((()=>{let e,n;return wr((e=s.AttemptsRemaining,null==e?mr(null):(n=0|e,mr(`, you have ${n} attempts remaining`))),fr((()=>wr(mr("."),fr((()=>null==s.AttemptsRemaining?mr(" Try again or click on the link below to resend the code."):mr(null)))))))})))))),["children",gi.Children.toArray(Array.from(e))])])))):hr(),fr((()=>wr(mr(Ei("sm:w-[288px] mt-6",c,s.SignInInProgress,[d("span",{children:["Continue"]})])),fr((()=>{let e;return mr(d("div",dn(Gt([["className","mt-8 sm:mt-14 text-sm text-gray-900 whitespace-pre-wrap leading-5 space-y-4"],(e=$r(fr((()=>{let e,r,i,o;return wr((e=s.ResendTimer,null!=e?(r=0|e,mr((i=`Message sent. Wait ${r} seconds before trying again.`,d("p",{children:[i]})))):mr((o=Gt([d("span",{children:["Didn’t get the code? "]}),d("span",{className:"text-primary-base underline underline-offset-3 cursor-pointer",onClick:e=>{t(),a(new tg(0))},children:"Resend message"}),d("span",{children:["."]})]),d("p",{children:gi.Children.toArray(Array.from(o))})))),fr((()=>{let e;return mr((e=Gt([d("span",{children:["Still having trouble? "]}),d("span",{className:"text-primary-base underline underline-offset-3 cursor-pointer",onClick:e=>{s.ReissueLinkInProgress||(a(new tg(5)),n())},children:"Sign in with email instead"}),d("span",{children:["."]})]),d("p",{children:gi.Children.toArray(Array.from(e))})))})))}))),["children",gi.Children.toArray(Array.from(e))])]))))}))))))})))})))})))))))));return d(m,{},...l)}function cg(e){const n=e.reissueLink,t=e.brandingOption,r=zi(!1),i=$r(fr((()=>wr(mr(function(e){const n=Ar(di([]),1);return d(ni,n)}()),fr((()=>wr(mr(Si("Access link timed-out")),fr((()=>{let e;return wr(mr(d("div",dn(Gt([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-7 sm:leading-8 space-y-3 sm:space-y-4"],(e=[d("p",{children:["Your 5-minute temporary access link has timed-out."]}),d("p",{children:["Get a new link to continue."]})],["children",gi.Children.toArray(Array.from(e))])])))),fr((()=>wr(mr(Ei("mt-8 mb-8 sm:mb-14",(()=>{r[1](!0),n()}),r[0],[d("span",{children:["Get a new link"]})])),fr((()=>mr(null==t?null:Ai(t))))))))})))))))));return d(m,{},...i)}function lg(e,n){const t=En(Tn((e=>e.CompanyName),e),"your employer"),r=$r(fr((()=>wr(mr($i([])),fr((()=>wr(mr(Si("You’re all done")),fr((()=>{let r,i;return wr(mr(d("div",dn(Gt([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-7 sm:leading-8 space-y-3 sm:space-y-4 mb-8 sm:mb-14"],(r=[(i=`Your ${n} is now complete and your pay information has now been submitted to ${t}.`,d("p",{children:[i]})),d("p",{children:["You can now close this window."]})],["children",gi.Children.toArray(Array.from(r))])])))),fr((()=>mr(null==e?null:Ai(e)))))})))))))));return d(m,{},...r)}function ug(){let e,n,t,r,i,o,s,a,c;return d("div",dn(Gt([["className","flex lg:min-w-[1024px] xl:min-w-[1280px] max-w-screen-xl justify-center"],(e=[d("div",dn(Gt([["className","flex flex-col justify-center items-center"],(n=[$i([]),Si("You’re all set!"),d("div",dn(Gt([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-7 sm:leading-8 space-y-3 sm:space-y-4 mb-8 sm:mb-14"],(t=[d("p",{children:["Access your exclusive benefits by downloading the Flare app."]}),d("div",dn(Gt([["className","hidden lg:flex justify-center lg:py-8"],(r=[d("img",{className:"h-40",src:"/workflows/app/app-invite/qr.png"})],["children",gi.Children.toArray(Array.from(r))])]))),d("div",dn(Gt([["className","flex items-center justify-center lg:hidden"],(i=[d("img",{className:"w-[280px]",src:"/workflows/app/app-invite/completed.png"})],["children",gi.Children.toArray(Array.from(i))])]))),d("p",dn(Gt([["className","font-semibold pt-5 lg:pt-0"],(o=[d("span",{className:"lg:hidden",children:"Download the Flare App"}),d("span",{className:"hidden lg:block",children:"Scan to download"})],["children",gi.Children.toArray(Array.from(o))])]))),d("p",{children:"Available on iOS and Android"})],["children",gi.Children.toArray(Array.from(t))])]))),d("div",dn(Gt([["className","flex space-x-6"],(s=[d("a",dn(Gt([["href","https://apps.apple.com/us/app/flare/id1587276031"],["target","_blank"],["rel","noreferrer"],(a=[d("img",{className:"h-10 cursor-pointer",src:"/workflows/app/app-invite/app-store.png"})],["children",gi.Children.toArray(Array.from(a))])]))),d("a",dn(Gt([["href","https://play.google.com/store/apps/details?id=com.flarehr.payandbenefits"],["target","_blank"],["rel","noreferrer"],(c=[d("img",{className:"h-10 cursor-pointer",src:"/workflows/app/app-invite/google-play.png"})],["children",gi.Children.toArray(Array.from(c))])])))],["children",gi.Children.toArray(Array.from(s))])])))],["children",gi.Children.toArray(Array.from(n))])]))),d("img",{className:"hidden lg:block w-[640px]",src:"/workflows/app/app-invite/completed.png"})],["children",gi.Children.toArray(Array.from(e))])])))}function fg(e){const n=e.startAuthCodeExchangeBackground,t=e.navigateAuthCodeExchangePage,r=e.magicLink,i=Uo(K$,((e,i)=>Q$(r,t,n,e,i))),o=i[0],s=i[1],a=$r(fr((()=>wr(Cr((e=>d("style",{children:[e]})),o.CssOverrides),fr((()=>{const e=o.Page;if(1===e.tag)return mr(function(e,n,t,r){const i=zi(!1),o=On((e=>d("span",{className:"font-semibold",children:`${e}`})),Tn((e=>e.CompanyName),n)),s=1===t.tag?`Hi, ${e}`:2===t.tag?`${e}, join your workplace benefits program`:`Welcome, ${e}`,a=$r(fr((()=>{let e,n;return wr((e=t,1===e.tag?mr(hi([])):2===e.tag?mr(d("div",dn(Gt([["className","sm:w-[700px]"],(n=[d("img",{src:"/workflows/app/app-invite/welcome.png"})],["children",gi.Children.toArray(Array.from(n))])])))):mr(hi([]))),fr((()=>wr(mr(Si(s)),fr((()=>{let e;return wr(mr(d("div",dn(Gt([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-7 sm:leading-8 space-y-3 sm:space-y-4 mb-8 sm:mb-14"],(e=$r(fr((()=>1===t.tag?wr(mr(En(o,d("span",{children:["Your employer"]}))),fr((()=>wr(mr(d("span",{children:[" has requested additional information from you."]})),fr((()=>mr(d("p",{children:["Sign in to complete your information request."]})))))))):2===t.tag?mr(d("p",{children:["Your employer has partnered with Flare Benefits to give you exclusive access to savings and perks from Australia’s most-loved brands, plus special offers to help you save on bigger expenses like household utilities, health insurance and more."]})):wr(mr(d("p",{children:["Congratulations on the new role!"]})),fr((()=>{let e;return mr((e=Gt([d("span",{children:["Sign in to complete your onboarding with "]}),En(o,d("span",{children:["your employer"]})),d("span",{children:["."]})]),d("p",{children:gi.Children.toArray(Array.from(e))})))})))))),["children",gi.Children.toArray(Array.from(e))])])))),fr((()=>{let e;return mr(Ei(void 0,(()=>{i[1](!0),r()}),i[0],[(e=1===t.tag?"Sign in":2===t.tag?"Continue":"Sign in",d("span",{children:[e]}))]))})))}))))))})));return d(m,{},...a)}(e.fields[0],o.Branding,o.JourneyType,(()=>{s(new V$(5,e.fields[1],new L$(0)))})));if(2===e.tag)return mr(function(e,n){let t,r,i;const o=[mi([]),Si("Check your inbox"),d("div",dn(Gt([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-7 sm:leading-8 space-y-3 sm:space-y-4"],(t=[(r=Gt([d("span",{children:["We’ve sent a temporary access link to "]}),d("span",{className:"font-semibold",children:(s=e,a="*",c="•",s.replace(new RegExp(tt(a),"g"),c))}),d("span",{children:["."]})]),d("p",{children:gi.Children.toArray(Array.from(r))})),d("p",{children:["Click the link to confirm your email address and sign in. The link is valid for 5 minutes."]})],["children",gi.Children.toArray(Array.from(t))])]))),d("div",dn(Gt([["className","text-sm text-gray-900 whitespace-pre-wrap mt-10 sm:mt-14 space-y-4 leading-5"],(i=$r(fr((()=>wr(mr(d("p",{children:["Can’t see the email? Check your spam folder."]})),fr((()=>mr(null==n?null:Ai(n)))))))),["children",gi.Children.toArray(Array.from(i))])])))];var s,a,c;return d(m,{},...o)}(e.fields[0],o.Branding));if(3===e.tag)return mr(d(ag,{maskedPhone:e.fields[0],validateOneTimeCode:e=>{s(new V$(4,e[0],e[1],new L$(0)))},reissueOneTimeCode:()=>{s(new V$(3,!0,new L$(0)))},reissueLink:()=>{s(new V$(2,!0,new L$(0)))}}));if(4===e.tag)return mr(d(cg,{brandingOption:o.Branding,reissueLink:()=>{s(new V$(2,!1,new L$(0)))}}));if(5!==e.tag)return 6===e.tag?1===e.fields[0].tag?mr(Vi("You don’t have access","It seems that you’re not authorised to access our application. If you believe this is an error, please contact your employer for assistance.",void 0)):0===e.fields[0].tag?mr(d(Gi,{reissueMagicLink:()=>{s(new V$(2,!0,new L$(0)))}})):5===e.fields[0].tag?mr(qi()):2===e.fields[0].tag?mr(Zi(o.Branding)):3===e.fields[0].tag?mr(Hi("Invite no longer active","It looks like your employer may have cancelled your invite, and you no longer have access.",o.Branding)):mr(Hi("Invite expired","Your invite has now expired and you no longer have access.",o.Branding)):mr(Oi);switch(o.JourneyType.tag){case 1:default:return mr(lg(o.Branding,function(e){switch(e.tag){case 1:return"information request";case 2:return"workflow";default:return"onboarding"}}(o.JourneyType)));case 2:return mr(ug())}}))))));return d(m,{},...a)}function dg(e){let n,t;const r=e.startAuthCodeExchangeBackground,i=e.navigateAuthCodeExchangePage,o=e.inviteCode;return Bi((()=>{Hd(0)})),d("div",dn(Gt([["className","min-h-full flex flex-col items-center justify-between w-full mx-auto text-center pt-8 sm:pt-20 pb-6 sm:pb-8 px-4 bg-white"],(n=[d("div",dn(Gt([["className","flex flex-col items-center justify-center sm:max-w-[640px]"],(t=$r(fr((()=>{const e=function(e){const n=Ct(e,["."],null,0);if(Bn(((e,n)=>e===n),n,null)||2!==n.length)return new to(1,"Invalid link");{const e=n[1];return new to(0,new j$(n[0],e))}}(o);return 0===e.tag?mr(d(fg,{magicLink:e.fields[0],navigateAuthCodeExchangePage:i,startAuthCodeExchangeBackground:r})):mr(Zi(void 0))}))),["children",gi.Children.toArray(Array.from(t))])]))),Yi],["children",gi.Children.toArray(Array.from(n))])])))}class hg extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Home","InviteValidation","InviteV2","AuthCodeExchange","AuthCodeExchangeWithCurrentAuth","NotFound","LoggedOut"]}}function mg(e){const n=ya(e);if(null!=n)return On((e=>e[1]),Yt((e=>"code"===e[0]),n))}function pg(e){let n,t,r,i,o,s,a,c,l;const u=function(e){let n,t,r;switch(Bt(e)?n=2:"workflows"===jt(e)?Bt(Wt(e))?n=2:"app"===jt(Wt(e))?(n=0,t=Wt(Wt(e))):"embed"===jt(Wt(e))?Bt(Wt(Wt(e)))?n=2:"v1.0"===jt(Wt(Wt(e)))?(n=1,r=Wt(Wt(Wt(e)))):n=2:n=2:n=2,n){case 0:return new so(1,t);case 1:return new so(0,r);case 2:return new so(2,void 0)}}(e);return 1===u.tag?[Bt(u.fields[0])?Bt(u.fields[0])?Bt(u.fields[0])?new hg(0):(s=ya(jt(u.fields[0])),null!=s?Bt(s)?new hg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new hg(3,q$(a))):new hg(0):new hg(0)):(i=ya(jt(u.fields[0])),null!=i?Bt(i)?Bt(u.fields[0])?new hg(0):(s=ya(jt(u.fields[0])),null!=s?Bt(s)?new hg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new hg(3,q$(a))):new hg(0):new hg(0)):"invite-code"===jt(i)[0]&&Bt(Wt(i))&&Bt(Wt(u.fields[0]))?(o=jt(i)[1],new hg(2,o)):Bt(u.fields[0])?new hg(0):(s=ya(jt(u.fields[0])),null!=s?Bt(s)?new hg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new hg(3,q$(a))):new hg(0):new hg(0)):Bt(u.fields[0])?new hg(0):(s=ya(jt(u.fields[0])),null!=s?Bt(s)?new hg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new hg(3,q$(a))):new hg(0):new hg(0))):(n=ya(jt(u.fields[0])),null!=n?Bt(n)?Bt(u.fields[0])?Bt(u.fields[0])?new hg(0):(s=ya(jt(u.fields[0])),null!=s?Bt(s)?new hg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new hg(3,q$(a))):new hg(0):new hg(0)):(i=ya(jt(u.fields[0])),null!=i?Bt(i)?Bt(u.fields[0])?new hg(0):(s=ya(jt(u.fields[0])),null!=s?Bt(s)?new hg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new hg(3,q$(a))):new hg(0):new hg(0)):"invite-code"===jt(i)[0]&&Bt(Wt(i))&&Bt(Wt(u.fields[0]))?(o=jt(i)[1],new hg(2,o)):Bt(u.fields[0])?new hg(0):(s=ya(jt(u.fields[0])),null!=s?Bt(s)?new hg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new hg(3,q$(a))):new hg(0):new hg(0)):Bt(u.fields[0])?new hg(0):(s=ya(jt(u.fields[0])),null!=s?Bt(s)?new hg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new hg(3,q$(a))):new hg(0):new hg(0))):"invite"===jt(n)[0]&&Bt(Wt(n))&&Bt(Wt(u.fields[0]))?(t=jt(n)[1],r=qs(t),1===r.tag?new hg(5):new hg(1,r.fields[0])):Bt(u.fields[0])?Bt(u.fields[0])?new hg(0):(s=ya(jt(u.fields[0])),null!=s?Bt(s)?new hg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new hg(3,q$(a))):new hg(0):new hg(0)):(i=ya(jt(u.fields[0])),null!=i?Bt(i)?Bt(u.fields[0])?new hg(0):(s=ya(jt(u.fields[0])),null!=s?Bt(s)?new hg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new hg(3,q$(a))):new hg(0):new hg(0)):"invite-code"===jt(i)[0]&&Bt(Wt(i))&&Bt(Wt(u.fields[0]))?(o=jt(i)[1],new hg(2,o)):Bt(u.fields[0])?new hg(0):(s=ya(jt(u.fields[0])),null!=s?Bt(s)?new hg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new hg(3,q$(a))):new hg(0):new hg(0)):Bt(u.fields[0])?new hg(0):(s=ya(jt(u.fields[0])),null!=s?Bt(s)?new hg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new hg(3,q$(a))):new hg(0):new hg(0))):Bt(u.fields[0])?Bt(u.fields[0])?new hg(0):(s=ya(jt(u.fields[0])),null!=s?Bt(s)?new hg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new hg(3,q$(a))):new hg(0):new hg(0)):(i=ya(jt(u.fields[0])),null!=i?Bt(i)?Bt(u.fields[0])?new hg(0):(s=ya(jt(u.fields[0])),null!=s?Bt(s)?new hg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new hg(3,q$(a))):new hg(0):new hg(0)):"invite-code"===jt(i)[0]&&Bt(Wt(i))&&Bt(Wt(u.fields[0]))?(o=jt(i)[1],new hg(2,o)):Bt(u.fields[0])?new hg(0):(s=ya(jt(u.fields[0])),null!=s?Bt(s)?new hg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new hg(3,q$(a))):new hg(0):new hg(0)):Bt(u.fields[0])?new hg(0):(s=ya(jt(u.fields[0])),null!=s?Bt(s)?new hg(0):"code"===jt(s)[0]&&Bt(Wt(s))&&Bt(Wt(u.fields[0]))?(a=jt(s)[1],new hg(3,q$(a))):new hg(0):new hg(0)))),new Aa(1)]:2===u.tag?[new hg(5),new Aa(2)]:[Bt(u.fields[0])||Bt(Wt(u.fields[0]))?new hg(0):(c=mg(jt(Wt(u.fields[0]))),null!=c&&Bt(Wt(Wt(u.fields[0])))?(l=c,new hg(3,q$(l))):new hg(0)),new Aa(0)]}class $g extends yn{constructor(e,n,t){super(),this.CurrentPage=e,this.Credentials=n,this.AppMode=t}}class gg extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["UrlChanged","NavigateAuthCodeExchangePage","NavigateAuthCodeExchangePageWithCurrentAuth","AuthMsg","StartAuthCodeExchangeBackground","DisplayLoggedOut"]}}function wg(){let e;return Bi((()=>{Hd(0)})),d("div",dn(Gt([["className",vt(" ",["w-full","sm:max-w-md","mt-5","mx-1","text-center","mx-auto"])],(e=[d("h4",{className:vt(" ",["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",gi.Children.toArray(Array.from(e))])])))}function vg(e){this.message=e}vg.prototype=new Error,vg.prototype.name="InvalidCharacterError";var yg="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var n=String(e).replace(/=+$/,"");if(n.length%4==1)throw new vg("'atob' failed: The string to be decoded is not correctly encoded.");for(var t,r,i=0,o=0,s="";r=n.charAt(o++);~r&&(t=i%4?64*t+r:r,i++%4)?s+=String.fromCharCode(255&t>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return s};function bg(e){this.message=e}bg.prototype=new Error,bg.prototype.name="InvalidTokenError";function Cg(e){return function(e,n){return function(e,n,t){e:for(;;){const r=e,i=n,o=t;if(Bt(o)){const e=r;return 1===e.tag?new to(1,e.fields[0]):new to(0,zt(e.fields[0]))}{let s;const a=i(jt(o));if(1===a.tag)s=new to(1,a.fields[0]);else{const e=r;s=1===e.tag?new to(1,e.fields[0]):new to(0,Dt(a.fields[0],e.fields[0]))}if(1===s.tag)return s;e=s,n=i,t=Wt(o);continue e}}}(new to(0,Pt()),e,n)}((e=>e),e)}class _g extends yn{constructor(e,n,t){super(),this.CompanyName=e,this.Logo=n,this.Support=t}}class xg extends yn{constructor(e,n){super(),this.Email=e,this.Phone=n}}function kg(e){let n;const t=e.Logo;if(null!=t){const e=function(e){try{const n=zs.create(e);return n.isAbsoluteUri?[!0,n]:[!1,void 0]}catch(e){return[!1,void 0]}}(r=t)[0]?new to(0,new Xs(0,r)):new to(1,"Invalid logo url.");n=1===e.tag?new to(1,e.fields[0]):new to(0,e.fields[0])}else n=new to(0,void 0);var r,i;if(1===n.tag)return new to(1,n.fields[0]);{let t;const r=e.CompanyName;if(null!=r){const e=wt(i=r)?new to(1,"Invalid company name."):new to(0,new Ks(0,i));t=1===e.tag?new to(1,e.fields[0]):new to(0,e.fields[0])}else t=new to(0,void 0);if(1===t.tag)return new to(1,t.fields[0]);{let r;const i=e.Support;if(null!=i){const e=function(e){let n;const t=e.Email;if(null!=t){const e=ta(t);n=1===e.tag?new to(1,e.fields[0]):new to(0,e.fields[0])}else n=new to(0,void 0);if(1===n.tag)return new to(1,n.fields[0]);{let t;const r=e.Phone;if(null!=r){const e=ia(r);t=1===e.tag?new to(1,e.fields[0]):new to(0,e.fields[0])}else t=new to(0,void 0);return 1===t.tag?new to(1,t.fields[0]):new to(0,new Qs(n.fields[0],t.fields[0]))}}(i);r=1===e.tag?new to(1,e.fields[0]):new to(0,e.fields[0])}else r=new to(0,void 0);return 1===r.tag?new to(1,r.fields[0]):new to(0,new Js(t.fields[0],n.fields[0],r.fields[0]))}}}class Ig extends yn{constructor(e,n,t,r){super(),this.Code=e,this.DateIssued=n,this.NumberOfAttempts=0|t,this.DateOfLastAttempt=r}}class Sg extends yn{constructor(e,n,t,r){super(),this.Code=e,this.DateIssued=n,this.SecondFactor=t,this.Branding=r}}class Ag extends yn{constructor(e,n,t){super(),this.Id=e,this.DisplayName=n,this.ComponentTagName=t}}function Eg(e){return new to(0,new sf(gf(e.Id),e.DisplayName,e.ComponentTagName))}class Og extends yn{constructor(e,n){super(),this.ActivatedDates=e,this.CompletedSteps=n}}class Tg extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Inactive","Active","Complete","Abandoned"]}}class Ng extends yn{constructor(e,n,t){super(),this.Id=e,this.Name=n,this.Steps=t}}class Mg extends yn{constructor(e,n){super(),this.Name=e,this.Value=n}}function Pg(e){return function(e,n){const t=wt(r=e)?new to(1,"Tag name is empty"):r.length<100?new to(0,new Vf(0,r)):new to(1,"Tag name is too long");var r,i;if(1===t.tag)return new to(1,t.fields[0]);{const e=wt(i=n)?new to(1,"Tag value is empty"):i.length<100?new to(0,new Hf(0,i)):new to(1,"Tag value is too long");return 1===e.tag?new to(1,e.fields[0]):new to(0,new zf(t.fields[0],e.fields[0]))}}(e.Name,e.Value)}class Dg extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["WhenEnabled","Always"]}}class Rg extends yn{constructor(e){super(),this.BenefitsOnboarding=e}}class Bg extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Default","InfoRequest","AppInvite","BenefitsExisting","BenefitsOnboarding"]}}class Lg extends yn{constructor(e){super(),this.Category=e}}function jg(){return Jo("Workflows.Business.Aggregates.ProcessInstanceList.Dto.JourneyTypeDetailsDto",[],Lg,(()=>[["Category",es(rs)]]))}function Wg(e){return new Yf(e.Category)}class Fg extends yn{constructor(e,n,t,r,i,o,s,a,c,l){super(),this.Id=0|e,this.DateCreated=n,this.Configuration=t,this.Status=r,this.Invite=i,this.Tags=o,this.Creator=s,this.StepsConfiguration=a,this.JourneyType=c,this.IsBenefitsStepEnabled=l}}function Ug(){return Jo("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceDto",[],Fg,(()=>[["Id",os],["DateCreated",Yo("System.DateTime")],["Configuration",Jo("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessConfigDto",[],Ng,(()=>[["Id",Yo("System.Guid")],["Name",rs],["Steps",ns(Jo("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessStepConfigDto",[],Ag,(()=>[["Id",rs],["DisplayName",rs],["ComponentTagName",rs]])))]]))],["Status",Ko("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceStatusDto",[],Tg,(()=>[[],[["Item",Jo("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ActiveProcessInstanceDto",[],Og,(()=>[["ActivatedDates",ns(Yo("System.DateTime"))],["CompletedSteps",ns(Qo(rs,Yo("System.DateTime")))]]))]],[["Item",Yo("System.DateTime")]],[["Item",Yo("System.DateTime")]]]))],["Invite",es(Jo("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.InviteDto",[],Sg,(()=>[["Code",rs],["DateIssued",Yo("System.DateTime")],["SecondFactor",es(Jo("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.SecondFactorDto",[],Ig,(()=>[["Code",rs],["DateIssued",Yo("System.DateTime")],["NumberOfAttempts",os],["DateOfLastAttempt",es(Yo("System.DateTime"))]])))],["Branding",es(Jo("Workflows.Business.Aggregates.CommonDto.InviteBrandingDto",[],_g,(()=>[["CompanyName",es(rs)],["Logo",es(rs)],["Support",es(Jo("Workflows.Business.Aggregates.CommonDto.SupportDto",[],xg,(()=>[["Email",es(rs)],["Phone",es(rs)]])))]])))]])))],["Tags",es(ns(Jo("Workflows.Business.Aggregates.ProcessInstanceList.Dto.TagDto",[],Mg,(()=>[["Name",rs],["Value",rs]]))))],["Creator",es(rs)],["StepsConfiguration",es(Jo("Workflows.Business.Aggregates.ProcessInstanceList.Dto.StepsConfigurationDto",[],Rg,(()=>[["BenefitsOnboarding",es(Xo(["Show",Ko("Workflows.Business.Aggregates.ProcessInstanceList.Dto.BenefitsOnboardingShowOptionsDto",[],Dg,(()=>[[],[]]))]))]])))],["JourneyType",es(Ko("Workflows.Business.Aggregates.ProcessInstanceList.Dto.JourneyTypeDto",[],Bg,(()=>[[["Item",jg()]],[["Item",jg()]],[["Item",jg()]],[["Item",jg()]],[["Item",jg()]]])))],["IsBenefitsStepEnabled",es(is)]]))}function zg(e){let n,t;const r=function(e){const n=Cg(qt(Eg,e.Steps));if(1===n.tag)return new to(1,n.fields[0]);{const t=function(e){const n=new vf(0,e);return vr(n,Bf.keys(),{Equals:sn,GetHashCode:tn})?new to(0,n):new to(1,dt(ut("Invalid Type %A%P()",[e])))}(e.Id);return 1===t.tag?new to(1,t.fields[0]):new to(0,new yf(t.fields[0],e.Name,n.fields[0]))}}(e.Configuration);if(1===r.tag)return new to(1,r.fields[0]);{const i=r.fields[0],o=function(e){switch(e.tag){case 1:{const n=function(e){const n=Cg(qt((e=>new to(0,[gf(e[0]),e[1]])),e.CompletedSteps));return 1===n.tag?new to(1,n.fields[0]):new to(0,new Lf(e.ActivatedDates,n.fields[0]))}(e.fields[0]);return 1===n.tag?new to(1,n.fields[0]):new to(0,new jf(1,n.fields[0]))}case 2:return new to(0,new jf(2,e.fields[0]));case 3:return new to(0,new jf(3,e.fields[0]));default:return new to(0,new jf(0))}}(e.Status);if(1===o.tag)return new to(1,o.fields[0]);{const r=o.fields[0];let s;if(1===r.tag){const e=r.fields[0],n=Cg(qt((e=>{const n=[e[0],e[1]],t=n[0];return Qt((e=>sn(e.Id,t)),i.Steps)?new to(0,[t,n[1]]):new to(1,"Step id is not configured for this Process Instance.")}),e.CompletedSteps));s=1===n.tag?new to(1,n.fields[0]):new to(0,new jf(1,new Lf(e.ActivatedDates,n.fields[0])))}else s=new to(0,r);if(1===s.tag)return new to(1,s.fields[0]);{let r;const o=e.Invite;if(null!=o){const e=function(e){const n=qs(e.Code);if(1===n.tag)return new to(1,n.fields[0]);{let t;const r=e.SecondFactor;if(null!=r){const e=function(e){const n=Cc(e.Code);return 1===n.tag?new to(1,n.fields[0]):new to(0,new _c(n.fields[0],e.DateIssued,e.NumberOfAttempts,e.DateOfLastAttempt))}(r);t=1===e.tag?new to(1,e.fields[0]):new to(0,e.fields[0])}else t=new to(0,void 0);if(1===t.tag)return new to(1,t.fields[0]);{let r;const i=e.Branding;if(null!=i){const e=kg(i);r=1===e.tag?new to(1,e.fields[0]):new to(0,e.fields[0])}else r=new to(0,void 0);return 1===r.tag?new to(1,r.fields[0]):new to(0,new xc(n.fields[0],e.DateIssued,t.fields[0],r.fields[0]))}}}(o);r=1===e.tag?new to(1,e.fields[0]):new to(0,e.fields[0])}else r=new to(0,void 0);if(1===r.tag)return new to(1,r.fields[0]);{let o;const a=e.Tags;if(null!=a){const e=Cg(qt(Pg,a));o=1===e.tag?new to(1,e.fields[0]):new to(0,e.fields[0])}else o=new to(0,void 0);return 1===o.tag?new to(1,o.fields[0]):new to(0,new Gf(Ff(e.Id),i,e.DateCreated,s.fields[0],r.fields[0],o.fields[0],(n=e.Creator,null==n?void 0:Hs(n)),(t=e.StepsConfiguration,null==t?void 0:function(e){let n,t;return new Zf((n=e.BenefitsOnboarding,null==n?void 0:(t=n,{Show:1===t.Show.tag?new Jf(1):new Jf(0)})))}(t)),function(e){if(null==e)return new qf(0,new Yf(void 0));if(1===e.tag){const n=e.fields[0];return new qf(1,Wg(n))}if(2===e.tag){const n=e.fields[0];return new qf(2,Wg(n))}if(3===e.tag){const n=e.fields[0];return new qf(3,Wg(n))}if(4===e.tag){const n=e.fields[0];return new qf(4,Wg(n))}{const n=e.fields[0];return new qf(0,Wg(n))}}(e.JourneyType),e.IsBenefitsStepEnabled))}}}}}class Vg extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["CompleteStep","Complete"]}}class Hg extends yn{constructor(e,n,t){super(),this.CssOverrides=e,this.ProcessInstance=n,this.IsBenefitsEnabled=t}}class Gg extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["CompleteStep","Complete"]}}const Zg=zg;class qg extends yn{constructor(e,n,t){super(),this.CssOverrides=e,this.ProcessInstanceDto=n,this.IsBenefitsEnabled=t}}class Yg extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["WorkflowInstanceStepActivated","BenefitsStepActivated","BenefitsStepCompleted"]}}class Jg extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["PersonalDetails","EmergencyContacts","Bank","Tax","Super","WorkplaceLinking","BenefitsOnboarding","WorkplacePolicies","DiscreteBenefits"]}}class Xg extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Hidden","Incomplete","Complete"]}}function Kg(e){return sn(e,af)?new to(0,new Jg(0)):sn(e,cf)?new to(0,new Jg(1)):sn(e,lf)?new to(0,new Jg(2)):sn(e,uf)?new to(0,new Jg(3)):sn(e,ff)?new to(0,new Jg(4)):sn(e,df)?new to(0,new Jg(5)):sn(e,pf)?new to(0,new Jg(7)):sn(e,$f)?new to(0,new Jg(8)):new to(1,"Invalid step")}function Qg(e){switch(e.tag){case 1:return cf;case 2:return lf;case 3:return uf;case 4:return ff;case 5:return df;case 6:return mf;case 7:return pf;case 8:return $f;default:return af}}function ew(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 df.DisplayName;case 6:return mf.DisplayName;case 7:return"Fair Work";case 8:return $f.DisplayName;default:return"Personal Details"}}function nw(e,n){const t=Cg(qt(Kg,e.Configuration.Steps));return 1===t.tag?new to(1,t.fields[0]):new to(0,(r=n,i=t.fields[0],0===r.tag?i:Zt(i,Rt(new Jg(6)))));var r,i}function tw(e,n){const t=Cg(qt(Kg,function(e){const n=e.Status;switch(n.tag){case 2:return e.Configuration.Steps;case 3:case 0:return Pt();default:{const t=qt((e=>e[0]),n.fields[0].CompletedSteps);return Xt((e=>Kt(e.Id,t,{Equals:sn,GetHashCode:tn})),e.Configuration.Steps)}}}(e)));return 1===t.tag?new to(1,t.fields[0]):new to(0,(r=n,i=t.fields[0],2===r.tag?Zt(i,Rt(new Jg(6))):i));var r,i}class rw extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Initialising","StepList","Step","CompletedAllSteps","Oops","AllDone"]}}class iw extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ActivateCallback","ShowView","StepCompletionEventCallback","CompleteStep","CompleteWorkflow","SendAnalyticsEvent","AppendTrailingSlashToUrl","CompleteBenefitsOnboardingStep"]}}class ow extends yn{constructor(e,n,t,r,i,o){super(),this.ProfileId=e,this.ProcessInstanceId=n,this.ProcessInstance=t,this.CurrentView=r,this.CssOverrides=i,this.BenefitsOnboarding=o}}function sw(e,n){return no.Delay((()=>{const t=gl((r=dt(lt("Bearer %s"))(e),new Ic(0,"Authorization",r)),n);var r;let i;const o=vl(t);return i=no.Bind(o,(e=>no.Return(new to(0,e)))),no.Bind(i,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{const e=n.fields[0];if(429===e.statusCode||e.statusCode>=500){const e=vl(t);return no.Bind(e,(e=>no.Return(new to(0,e))))}return no.Return(new to(0,e))}}))}))}function aw(e,n,t){return no.Delay((()=>{let r,i;const o=sw(t,(r=wl(new Sc(1,(i=Rt(function(e){return 1===e.tag?new Gg(1):new Gg(0,wf(e.fields[0]))}(e)),ju(0,Uu(ns(Ko("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.ProcessInstanceCommandDto",[],Gg,(()=>[[["Item",rs]],[]]))),new bl(1),void 0,void 0)(i)))),$l(new kc(1),pl(function(e){const n=0|Uf(e);return dt(lt("%s/workflows/backend/%i"))(xa)(n)}(n)))),gl(dl("application/json"),r)));return no.Bind(o,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{const e=n.fields[0];if(200===e.statusCode){let n;const t=du(mn(2,Tu(Ug(),new bl(1),void 0)),e.responseText);return n=1===t.tag?new to(1,t.fields[0]):Zg(t.fields[0]),no.Return(n)}return no.Return(new to(1,"Unexpected response from backend"))}}))}))}function cw(e,n,t,r){let i,o,s,a,c,l,u,f,d,h,m,p;switch(t.tag){case 1:{const e=t.fields[0];return[new ow(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,e,r.CssOverrides,r.BenefitsOnboarding),2===e.tag?(i=Qg(e.fields[0]),sn(i.Id,mf.Id)?ko(new iw(5,r.ProcessInstanceId,new Yg(1))):ko(new iw(5,r.ProcessInstanceId,new Yg(0,wf(i.Id))))):bo()]}case 5:return Ao(function(e,n,t){let r;const i=no.Delay((()=>{let r;return sw(e,(r=wl(new Sc(1,ju(0,Uu(ns(Ko("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Write.WorkflowAnalyticsEventDto",[],Yg,(()=>[[["Item",rs]],[],[]]))),new bl(1),void 0,void 0)(Rt(t)))),$l(new kc(1),pl(function(e){const n=0|Uf(e);return dt(lt("%s/workflows/backend/process-instances/%i/analytics-events"))(xa)(n)}(n)))),gl(dl("application/json"),r)))}));return r=no.Bind(i,(e=>{let n;const t=e;return n=1===t.tag?new to(1,t.fields[0]):new to(0,void t.fields[0]),no.Return(n)})),no.Bind(r,(e=>{let n;const t=e;return n=1===t.tag?void 0:t.fields[0],no.Return(n)}))}(e,t.fields[0],t.fields[1])),[r,bo()];case 2:{const e=r.ProcessInstance;let n,i;switch(2===e.tag&&0===e.fields[0].tag?(n=0,i=e.fields[0].fields[0]):n=1,n){case 0:return[r,(o=t.fields[0].target,s=!sn(r.BenefitsOnboarding,new Xg(0)),a=Xf(o.tagName,s,i),1===a.tag?bo():sn(a.fields[0].Id,hf)?ko(new iw(7)):ko(new iw(3,a.fields[0].Id,new Ds(0))))];case 1:return[r,bo()]}}case 7:{const e=r.ProcessInstance;let n,t;switch(2===e.tag&&0===e.fields[0].tag?sn(r.BenefitsOnboarding,new Xg(0))?n=1:(n=0,t=e.fields[0].fields[0]):n=1,n){case 0:return[new ow(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,r.CurrentView,r.CssOverrides,new Xg(2)),_o(Gt([ko(new iw(5,r.ProcessInstanceId,new Yg(2))),(u=[t,r.BenefitsOnboarding],l=nw(u[0],u[1]),c=1===l.tag?new to(1,l.fields[0]):new to(0,(f=l.fields[0],ko(new iw(1,new rw(3,f,f))))),1===c.tag?ko(new iw(1,new rw(4,c.fields[0]))):c.fields[0])]))];case 1:return[r,bo()]}}case 3:{const n=t.fields[0],i=t.fields[1];switch(i.tag){case 1:return[r,bo()];case 2:{const e=i.fields[0];let t,o;const s=e;if(1===s.tag)o=new to(1,s.fields[0]);else{const e=s.fields[0],n=Kf(e);let t;const i=[e,r.BenefitsOnboarding];if(t=tw(i[0],i[1]),1===t.tag)o=new to(1,t.fields[0]);else{const i=t.fields[0];let s;const a=[e,r.BenefitsOnboarding];if(s=nw(a[0],a[1]),1===s.tag)o=new to(1,s.fields[0]);else{const e=s.fields[0];if(1===Lt(e))o=new to(0,new iw(4,new Ds(0)));else{const t=[n,r.BenefitsOnboarding];if(null==t[0])if(1===t[1].tag){const n=new Jg(6);o=new to(0,new iw(1,new rw(2,n,n,i,e)))}else o=new to(0,new iw(1,new rw(3,i,e)));else{const n=Kg(t[0]);o=1===n.tag?new to(1,n.fields[0]):new to(0,(d=n.fields[0],new iw(1,new rw(2,d,d,i,e))))}}}}}t=1===o.tag?new iw(1,new rw(4,o.fields[0])):o.fields[0];const a=e;return 1===a.tag?a.fields[0]:function(e,n,t){const r=function(e,n){const t=Yt((n=>sn(n.Id,e)),n.Configuration.Steps),r=dt(ut("Invalid ProcessStep Id %A%P()",[e])),i=t;return null==i?new to(1,r):new to(0,i)}(e,n);1===r.tag||Ud(function(e,n,t,r){const i={type:"stepSubmitSuccess",sender:"flare"};return i.workflow=Fd(t),i.profileId=Gs(r),i.step={name:n,type:wf(e)},i}(e,r.fields[0].DisplayName,n,t))}(n,a.fields[0],r.ProfileId),[new ow(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),ko(t)]}case 3:return[new ow(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),ko(new iw(1,new rw(4,i.fields[0].message)))];default:return[r,Io((e=>{Ao(e)}),(e=>function(e,n,t){return aw(new Vg(0,n),e,t)}(r.ProcessInstanceId,n,e)),e,(e=>new iw(3,n,new Ds(2,e))),(e=>new iw(3,n,new Ds(3,e))))]}}case 4:{const i=t.fields[0];switch(i.tag){case 1:return[r,bo()];case 2:{const e=i.fields[0];if(1===e.tag)return[new ow(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),ko(new iw(1,new rw(4,e.fields[0])))];{const t=e.fields[0];return Vd(t,r.ProfileId),[new ow(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),(h=[n,(m=[t,r.BenefitsOnboarding],g=m[0],w=m[1],Lt(g.Configuration.Steps)+(0===w.tag?0:1))],1===h[0].tag?1===h[1]?bo():ko(new iw(1,new rw(5))):bo())]}}case 3:return[new ow(r.ProfileId,r.ProcessInstanceId,i,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),ko(new iw(1,new rw(4,i.fields[0].message)))];default:{const n=r.ProcessInstance;let t,i;switch(2===n.tag&&0===n.fields[0].tag&&2===n.fields[0].fields[0].Status.tag?(t=0,i=n.fields[0].fields[0]):t=1,t){case 0:return Vd(i,r.ProfileId),[r,bo()];case 1:return[r,Io((e=>{Ao(e)}),(e=>function(e,n){return aw(new Vg(1),e,n)}(r.ProcessInstanceId,e)),e,(e=>new iw(4,new Ds(2,e))),(e=>new iw(4,new Ds(3,e))))]}}}}case 6:return[r,(p=window.location.pathname+"/"+window.location.search+window.location.hash,xo((e=>{ga(Rt(p),1,2)})))];default:{const e=t.fields[0];let n;switch(e.tag){case 3:n=[r,ko(new iw(1,new rw(4,e.fields[0].message)))];break;case 0:case 1:n=[r,bo()];break;default:{let t,i;const o=e.fields[0];if(1===o.tag)i=new to(1,o.fields[0]);else{const e=o.fields[0],n=($=e.IsBenefitsEnabled,new Xg($?1:0));let t;const s=[e.ProcessInstance,n];if(t=tw(s[0],s[1]),1===t.tag)i=new to(1,t.fields[0]);else{const o=t.fields[0];let s;const a=[e.ProcessInstance,n];if(s=nw(a[0],a[1]),1===s.tag)i=new to(1,s.fields[0]);else{const t=s.fields[0],a=e=>{const n=[Ca.clientWidth<640,Lt(t)];return 1===n[1]?(document.title=ew(e),new rw(2,e,e,o,t)):new rw(n[0]?1:2,e,e,o,t)};let c;const l=[Kf(e.ProcessInstance),n];if(null==l[0])c=1===l[1].tag?new to(0,a(new Jg(6))):new to(0,new rw(3,o,t));else{const e=Kg(l[0]);c=1===e.tag?new to(1,e.fields[0]):new to(0,a(e.fields[0]))}i=1===c.tag?new to(1,c.fields[0]):new to(0,[new ow(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,r.CurrentView,e.CssOverrides,n),c.fields[0]])}}}t=1===i.tag?[r,new rw(4,i.fields[0])]:i.fields[0],n=[t[0],ko(new iw(1,t[1]))]}}const i=n[0];return[new ow(i.ProfileId,i.ProcessInstanceId,Rs((e=>{const n=e;return 1===n.tag?new to(1,n.fields[0]):new to(0,n.fields[0].ProcessInstance)}),e),i.CurrentView,i.CssOverrides,i.BenefitsOnboarding),n[1]]}}var $,g,w}var lw;function uw(){return uw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},uw.apply(this,arguments)}const fw=function(e){return d("svg",uw({width:17,height:14,xmlns:"http://www.w3.org/2000/svg"},e),lw||(lw=d("path",{d:"m2 8 4 4 9-10",strokeWidth:3,stroke:"#FFF",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"})))};var dw,hw,mw;function pw(){return pw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},pw.apply(this,arguments)}const $w=function(e){return d("svg",pw({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),dw||(dw=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"})),hw||(hw=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"})),mw||(mw=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 gw,ww;function vw(){return vw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},vw.apply(this,arguments)}const yw=function(e){return d("svg",vw({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),gw||(gw=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"}))),ww||(ww=d("defs",null,d("clipPath",{id:"icon-emergency-contacts_svg__a"},d("path",{fill:"#fff",d:"M0 0h36v36H0z"})))))};var bw,Cw,_w;function xw(){return xw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},xw.apply(this,arguments)}const kw=function(e){return d("svg",xw({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),bw||(bw=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"})),Cw||(Cw=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"})),_w||(_w=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 Iw,Sw;function Aw(){return Aw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Aw.apply(this,arguments)}const Ew=function(e){return d("svg",Aw({viewBox:"0 0 34 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Iw||(Iw=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"})),Sw||(Sw=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 Ow,Tw,Nw;function Mw(){return Mw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Mw.apply(this,arguments)}const Pw=function(e){return d("svg",Mw({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ow||(Ow=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"})),Tw||(Tw=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"})),Nw||(Nw=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 Dw,Rw;function Bw(){return Bw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Bw.apply(this,arguments)}const Lw=function(e){return d("svg",Bw({viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Dw||(Dw=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"}))),Rw||(Rw=d("defs",null,d("clipPath",{id:"icon-benefits-onboarding_svg__a"},d("path",{fill:"#fff",transform:"translate(.667 .5)",d:"M0 0h24v24H0z"})))))};var jw,Ww,Fw,Uw,zw,Vw,Hw;function Gw(){return Gw=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Gw.apply(this,arguments)}const Zw=function(e){return d("svg",Gw({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e),jw||(jw=d("path",{d:"M41.05 0h310.02c21.81 2.11 37.24 17.71 37.38 39.75q.11 19.22-.01 38.3a.26.25-33.3 0 0 .49.1q7.85-18.24 15.66-36.33 4.37-10.1 16.29-9.43a.75.73 12.7 0 0 .71-.44c2.76-6.27 5.51-14.07 9.06-18.94Q439.35 1.07 455.34 0h1.44c18.05 1.24 31.23 16.62 29.09 34.48-.8 6.71-4.67 14.42-7.67 21.09a1.01 1-70.6 0 0 .66 1.38q8.11 2.11 7.01 10.55-.06.5.41.7 8.39 3.53 16.73 7.21c5.53 2.44 6.45 6.58 4.09 12.1q-29.71 69.25-59.54 138.44-1.67 3.87-3.72 5.24c-4.44 2.98-11.56-.34-11.86-5.78q-.13-2.24 1.68-6.43 28.3-65.84 56.57-131.58a.58.57 23.3 0 0-.31-.76L480 82.5q-.57-.23-.82.33-73.05 169.3-145.96 338.76-1.88 4.37-2.97 5.4-22.77 21.45-45.61 42.83-5.3 4.95-8.64 6.14c-8.08 2.86-17.9-1.38-21.36-9.18q-1.41-3.15-1.47-9.29-.34-31.81-.11-63.23a7.4 7.34 57.2 0 1 .61-2.89q58.89-136.45 118.22-273.79 1.04-2.4 1.04-5.02.12-33.22.07-66.47-.02-10.51-1.56-14.9c-3.56-10.2-12.95-15.69-23.69-15.69H48.81q-9.55.01-13.83 1.47C23.74 20.81 19.06 30.52 19.05 42Q19 254.41 19 466.81c.01 12.68 2.82 23.72 15.87 28.13q4.67 1.57 16.93 1.57 145.45-.03 290.89 0 9.49.01 13.95-1.43 11.34-3.64 14.96-14.94 1.45-4.52 1.43-14.46-.07-50.37-.01-100.73c.01-11.76 15.46-11.97 15.47.83q.04 50.76-.01 101.52-.01 11.03-1.44 16.13c-4.6 16.42-19.1 27.42-36.11 28.57H41.19c-17.03-1.1-31.64-12.26-36.15-28.58q-1.53-5.56-1.53-19.11-.02-211.78.04-423.56C3.56 18.17 18.5 2.21 41.05 0Zm395.38 38.46 26.56 11.49a.68.68 0 0 0 .9-.35l5.35-12.37a15.64 15.08-66.6 0 0-7.63-20.35l-.13-.05a15.64 15.08-66.6 0 0-20.05 8.36l-5.35 12.37a.68.68 0 0 0 .35.9Zm31.6 31.214a.54.54 0 0 0-.281-.71L419.493 48.08a.54.54 0 0 0-.71.282L356.51 192.267a.54.54 0 0 0 .281.71l48.256 20.882a.54.54 0 0 0 .71-.282L468.03 69.673Zm-68.852 159.068a.47.47 0 0 0-.246-.617l-48.42-20.853a.47.47 0 0 0-.618.245l-78.572 182.44a.47.47 0 0 0 .246.618l48.42 20.853a.47.47 0 0 0 .618-.245l78.572-182.44ZM268.84 460.47a.5.5 0 0 0 .24.42l1.15.68a.5.5 0 0 0 .59-.07l39.08-36.7a.5.5 0 0 0-.15-.82l-40.54-17.53a.5.5 0 0 0-.7.47l.33 53.55Z"})),Ww||(Ww=d("path",{d:"M273.75 81.24V59.5q0-.75-.75-.75H117.11a.4.39 0 0 0-.4.39l.03 21.93q0 .71.71.71 41.6-.03 81.33-.03c1.97 0 6.09-.08 8 .66 6.18 2.41 6.73 11.55.78 14.19q-1.98.88-6.87.88-40.38.04-80.76.02c-14.59-.01-18.86-4.77-18.92-19.02q-.06-14.55 0-20.21c.11-10.44 6.57-15.02 16.12-15.02q77.68 0 155.37.01c11.34 0 16.69 4.56 16.73 16.07q.03 10.39.03 20.76c.01 13.14-5.3 17.37-18.07 17.4q-14.96.03-29.94 0c-9.3-.03-11.48-12.56-2.99-15.23q1.41-.45 6.24-.45 14.36.01 28.74-.06.51-.01.51-.51Z"})),Fw||(Fw=d("rect",{x:66.34,y:129.52,width:259.34,height:15.72,rx:7.8})),Uw||(Uw=d("rect",{x:66.48,y:178.5,width:259.2,height:15.74,rx:7.8})),zw||(zw=d("rect",{x:66.35,y:227.51,width:203.38,height:15.72,rx:7.78})),Vw||(Vw=d("rect",{x:66.34,y:276.52,width:112.62,height:15.48,rx:7.61})),Hw||(Hw=d("path",{d:"M62.69 442.31c-4.05-2.49-4.18-6.83-2.39-11.05q10.01-23.68 36-26c15.84-1.42 25.16 5.95 37.55 15.52 15.22 11.75 29.77 9.57 40.42-6.61q2.43-3.69 3.4-4.47c6.74-5.44 15.31 2.52 11.07 10.33-13.5 24.83-40.22 31.34-63.03 13.98-5.31-4.04-11.55-9.66-17.25-11.65-11.66-4.09-24.89-.23-31.63 10.48-3.23 5.14-5.29 14.92-14.14 9.47Z"})))};class qw extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Height","Width"]}}function Yw(e){const n=Ar(e,1);return d(fw,n)}class Jw extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["Active","Complete","Editing","ReadyToComplete","ToComplete"]}}class Xw extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["ToBeCompleted","CompletedAll"]}}function Kw(e){let n,t;if(1===e.tag?(n=0,t=e.fields[2]):(n=0,t=e.fields[3]),0===n)return t}function Qw(e,n){const t=n.state;return 1===t.tag?sn(t.fields[0],e)?new Jw(2):new Jw(1):function(e,n,t,r){let i;switch(i=Kt(e,r,{Equals:sn,GetHashCode:tn})?sn(n,e)?1:sn(t,e)?2:3:sn(n,e)?0:sn(t,e)?2:4,i){case 0:return new Jw(0);case 1:return new Jw(2);case 2:return new Jw(3);case 3:return new Jw(1);case 4:return new Jw(4)}}(e,t.fields[0],t.fields[1],t.fields[2])}function ev(e,n,t){let r;n.dispatch((r=n.state,1===r.tag?new iw(1,new rw(2,e,void 0,r.fields[1],r.fields[2])):new iw(1,new rw(2,e,r.fields[1],r.fields[2],r.fields[3]))))}function nv(e,n){switch(n.tag){case 1:return function(e){const n=Ar(e,1);return d(yw,n)}([new qw(0,e),new qw(1,e)]);case 2:return function(e){const n=Ar(e,1);return d(kw,n)}([new qw(0,e),new qw(1,e)]);case 3:return function(e){const n=Ar(e,1);return d(Ew,n)}([new qw(0,e),new qw(1,e)]);case 4:return function(e){const n=Ar(e,1);return d(Pw,n)}([new qw(0,e),new qw(1,e)]);case 5:return null;case 6:case 8:return function(e){const n=Ar(e,1);return d(Lw,n)}([new qw(0,e),new qw(1,e)]);case 7:return function(e){const n=Ar(e,1);return d(Zw,n)}([new qw(0,e),new qw(1,e)]);default:return function(e){const n=Ar(e,1);return d($w,n)}([new qw(0,e),new qw(1,e)])}}function tv(e){const n=$r(fr((()=>{const n=Kw(e.state);return wr(Cr((t=>function(e,n,t){return d("div",dn($r(fr((()=>wr(mr(["className",vt(" ",["grid","grid-cols-12","mb-3","items-center"])]),fr((()=>{let r,i,o,s,a,c;return wr(mr((r=[d("div",dn(Gt([["className",vt(" ",["col-span-2","sm:col-span-3"])],(i=$r(fr((()=>{let r;return wr(mr(d("div",dn(Gt([["className",vt(" ",$r(fr((()=>{switch(Qw(e,n).tag){case 4:default:return mr("fl-step-tick-to-complete");case 0:return mr("fl-step-tick-active");case 1:case 2:return mr("fl-step-tick-complete-or-editing")}}))))],(r=[Yw([["className",vt(" ",$r(fr((()=>wr(mr("-mt-2"),fr((()=>wr(mr("scale-75"),fr((()=>wr(mr("inline-block"),fr((()=>{switch(Qw(e,n).tag){case 4:case 0:default:return mr("invisible");case 1:case 2:return mr("visible")}})))))))))))))]])],["children",gi.Children.toArray(Array.from(r))])])))),fr((()=>t?hr():mr(d("div",{className:vt(" ",["fl-step-tick-progress-bar"])})))))}))),["children",gi.Children.toArray(Array.from(i))])]))),d("div",dn(Gt([["className",vt(" ",["col-span-10","sm:col-span-9"])],(o=[d("button",dn(Gt([["className",vt(" ",$r(fr((()=>wr(mr("whitespace-nowrap"),fr((()=>wr(mr("border"),fr((()=>wr(mr("inline-flex"),fr((()=>wr(mr("w-full"),fr((()=>wr(mr("rounded-md"),fr((()=>wr(mr("items-center"),fr((()=>{switch(Qw(e,n).tag){case 3:case 1:return mr("fl-step-btn-ready-or-complete");case 0:case 2:return mr("fl-step-btn-active-or-editing");default:return mr(dt(lt("%s %s"))("opacity-60")("fl-step-btn-to-complete"))}}))))))))))))))))))))))],(s=[d("span",dn(Gt([["className",vt(" ",["mx-3","inline-block"])],(a=[nv(36,e)],["children",gi.Children.toArray(Array.from(a))])]))),(c=ew(e),d("span",{children:[c]}))],["children",gi.Children.toArray(Array.from(s))])])))],["children",gi.Children.toArray(Array.from(o))])])))],["children",gi.Children.toArray(Array.from(r))])),fr((()=>sn(Qw(e,n),new Jw(4))?hr():mr(["onClick",t=>{ev(e,n)}]))))}))))))))}(t,e,sn(t,function(e){const n=function(e){e:for(;;){const n=e;if(Ot(n))return;{const t=Mt(n);if(Ot(t))return kn(Nt(n));e=t;continue e}}}(e);if(null==n)throw new Error(kt);return In(n)}(n)))),n),fr((()=>1===e.state.tag?mr(d("button",{className:vt(" ",["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:n=>{e.dispatch(new iw(4,new Ds(0)))}})):mr(null))))})));return d("div",{children:gi.Children.toArray(Array.from(n))})}function rv(e){return!(Lt(Kw(e.state))<=3)}function iv(e){return rv(e)?25:36}function ov(e,n){return rv(e)?wr(["text-xs"],n):n}function sv(e){let n;return d("div",dn(Gt([["className",vt(" ",["flex","flex-row","w-full","mt-1","mb-2"])],(n=$r(fr((()=>Cr((n=>function(e,n){let t;return d("div",dn(Gt([["className",vt(" ",["grow","mx-1"])],(t=[d("button",dn($r(fr((()=>wr(mr(["className",vt(" ",$r(fr((()=>wr(mr("whitespace-nowrap"),fr((()=>wr(mr("border"),fr((()=>wr(mr("inline-flex"),fr((()=>wr(mr("items-center"),fr((()=>wr(mr("justify-center"),fr((()=>wr(mr("w-full"),fr((()=>wr(mr("rounded-md"),fr((()=>{switch(Qw(e,n).tag){case 3:case 1:return mr("fl-step-btn-ready-or-complete");case 0:case 2:return mr("fl-step-btn-active-or-editing");default:return mr(dt(lt("%s %s"))("opacity-60")("fl-step-btn-to-complete"))}})))))))))))))))))))))))))]),fr((()=>{let t,r;return wr(mr((t=[d("span",dn(Gt([["className",vt(" ",["md:mr-2","inline-block"])],(r=[nv(iv(n),e)],["children",gi.Children.toArray(Array.from(r))])]))),d("span",{children:ew(e),className:vt(" ",ov(n,["hidden","md:inline-block"]))})],["children",gi.Children.toArray(Array.from(t))])),fr((()=>sn(Qw(e,n),new Jw(4))?hr():mr(["onClick",t=>{ev(e,n)}]))))}))))))))],["children",gi.Children.toArray(Array.from(t))])])))}(n,e)),Kw(e.state))))),["children",gi.Children.toArray(Array.from(n))])])))}function av(e){let n,t,r;const i=e.dispatch,o=e.allSteps,s=e.completedSteps,a=e.readyToCompleteStep,c=e.step;return d("div",dn(Gt([["className",vt(" ",["grid","grid-cols-12","mb-1"])],(n=[d("div",{className:vt(" ",["col-span-2","ml-1","px-4","cursor-pointer"]),children:gi.Children.toArray([a$]),onClick:e=>{i(new iw(1,function(e,n,t,r){return null==n?new rw(3,t,r):new rw(1,e,n,t,r)}(c,a,s,o)))}}),d("div",dn(Gt([["className",vt(" ",["col-span-8","text-center"])],(t=[(r=ew(c),d("b",{children:[r]}))],["children",gi.Children.toArray(Array.from(t))])]))),d("div",{className:vt(" ",["col-span-2"])})],["children",gi.Children.toArray(Array.from(n))])])))}class cv extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["backend-url","access-token"]}}class lv extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["app-base-url"]}}class uv extends vn{constructor(e,...n){super(),this.tag=0|e,this.fields=n}cases(){return["workflows-instance-id"]}}function fv(e){const n=e.children,t=e.effect,r=e.props,i=e.step;return Bi(t),d(1===i.tag?cf.ComponentTagName:2===i.tag?lf.ComponentTagName:3===i.tag?uf.ComponentTagName:4===i.tag?ff.ComponentTagName:5===i.tag?df.ComponentTagName:6===i.tag?mf.ComponentTagName:7===i.tag?pf.ComponentTagName:8===i.tag?$f.ComponentTagName:af.ComponentTagName,Ar(r,1),...n)}function dv(e){let n,t,r;return d("div",dn(Gt([["className",vt(" ",["text-center"])],(n=[d("h4",{className:vt(" ",["text-2xl","mb-2"]),children:"Well done!"}),d("p",dn(Gt([["className",vt(" ",["mb-2"])],(t=["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",gi.Children.toArray(Array.from(t))])]))),d("div",dn(Gt([["className",vt(" ",["w-full","sm:max-w-xs","mt-4","mx-1","mx-auto","text-left","p-3"])],(r=[d(tv,e)],["children",gi.Children.toArray(Array.from(r))])])))],["children",gi.Children.toArray(Array.from(n))])])))}function hv(e){let n;const t=e.accessToken,r=e.appMode,i=zo(function(e){const n=function(e,n){if("string"!=typeof e)throw new bg("Invalid token specified");var t=!0===(n=n||{}).header?0:1;try{return JSON.parse(function(e){var n=e.replace(/-/g,"+").replace(/_/g,"/");switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(yg(e).replace(/(.)/g,(function(e,n){var t=n.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0"+t),"%"+t})))}(n)}catch(e){return yg(n)}}(e.split(".")[t]))}catch(e){throw new bg("Invalid token specified: "+e.message)}}(e);return[new ow(Hs(n.sub),Ff(n.workflow.instanceId),new Ds(0),new rw(0),Pt(),new Xg(0)),bo()]}(t),((e,n)=>cw(t,r,e,n)),[]),o=i[0],s=i[1];ji(Ls((()=>function(e,n){return function(e,n){return no.Delay((()=>{const t=sw(n,$l(new kc(1),pl(function(e){const n=0|Uf(e);return dt(lt("%s/workflows/backend/process-instances/%i/activate"))(xa)(n)}(e))));return no.Bind(t,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{const e=n.fields[0];if(200===e.statusCode){let n;const t=du(mn(2,Tu(Jo("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.ProcessInstanceContextDto",[],qg,(()=>[["CssOverrides",ns(rs)],["ProcessInstanceDto",Ug()],["IsBenefitsEnabled",is]])),new bl(1),void 0)),e.responseText);return n=1===t.tag?new to(1,t.fields[0]):new to(0,function(e){let n;return new Hg(e.CssOverrides,(n=zg(e.ProcessInstanceDto),1===n.tag?(()=>{throw new Error(n.fields[0])})():n.fields[0]),e.IsBenefitsEnabled)}(t.fields[0])),no.Return(n)}return no.Return(new to(1,"Unexpected response from backend"))}}))}))}(e,n)}(o.ProcessInstanceId,t)),(e=>{s(new iw(0,e))})),[]),ji((()=>{(window.ResizeObserver?new window.ResizeObserver((()=>{zd()})):new jd((()=>{zd()}))).observe(document.body)}),[]),ji((()=>{const e=[o.ProcessInstance,o.CurrentView];let n;switch(n=2===e[0].tag?2!==e[1].tag||4!==e[1].fields[0].tag&&5!==e[1].fields[0].tag?1:0:2,n){case 0:case 2:break;case 1:ga(Rt(Ea(r)),2,2)}}),[o.CurrentView,o.ProcessInstance]),Bi((()=>{window.addEventListener("step-completion",(e=>{s(new iw(2,e))}))}));const a=o.ProcessInstance;let c,l;switch(1===a.tag?c=0:2===a.tag?1===a.fields[0].tag?c=2:(c=1,l=a.fields[0].fields[0]):c=3===a.tag?2:0,c){case 0:return d("div",{children:["Please wait..."]});case 1:{const e=Tn((e=>On(p$,e.Branding)),l.Invite);return d("div",dn(Gt([["className",vt(" ",["max-w-7xl","mx-auto","pb-2"])],(n=$r(fr((()=>wr(Cr((e=>d("style",{children:[e]})),o.CssOverrides),fr((()=>{let n,i,a,c,u,f;const h=o.CurrentView;switch(h.tag){case 1:{const e=h.fields[0],t=h.fields[1],r=h.fields[2],i=h.fields[3];return wr(mr(d("div",dn(Gt([["className",vt(" ",["w-full","sm:max-w-xs","mt-4","mx-1","mx-auto","px-4","sm:px-0"])],(n=[d(tv,{dispatch:s,state:null==t?new Xw(1,e,r,i):new Xw(0,e,t,r,i)})],["children",gi.Children.toArray(Array.from(n))])])))),fr((()=>(Hd(0),hr()))))}case 2:{const e=h.fields[0],n=h.fields[1],a=h.fields[2],c=h.fields[3];return mr((i=$r(fr((()=>{let i;return wr(Lt(c)>1?mr(d("div",dn(Gt([["className",vt(" ",["pt-2","relative"])],(i=[d(av,{step:e,readyToCompleteStep:n,completedSteps:a,allSteps:c,dispatch:s}),d(sv,{dispatch:s,state:null==n?new Xw(1,e,a,c):new Xw(0,e,n,a,c)})],["children",gi.Children.toArray(Array.from(i))])])))):hr(),fr((()=>{let n,i;return mr(d("div",dn(Gt([["className",vt(" ",["grid","grid-cols-12","px-1"])],(n=[d("div",dn(Gt([["className",vt(" ",["bg-white","col-span-12","rounded-md","border","p-3"])],(i=$r(fr((()=>4===e.tag?mr(d(fv,{step:new Jg(4),props:[new cv(1,t),new cv(0,dt(lt("%s/super-selection/backend/v1.0/"))(xa)),new lv(0,Ea(r))],effect:()=>{s(new iw(6)),Hd(2500)},children:[]})):mr(d(fv,{step:e,props:[new cv(1,t),new cv(0,xa),new uv(0,Je(Uf(o.ProcessInstanceId)))],effect:()=>{Hd(1500)},children:[]}))))),["children",gi.Children.toArray(Array.from(i))])])))],["children",gi.Children.toArray(Array.from(n))])]))))})))}))),d("div",{children:gi.Children.toArray(Array.from(i))})))}case 3:return wr(mr(d("div",dn(Gt([["className",vt(" ",["pt-5","px-4"])],(a=[d(dv,{dispatch:s,state:new Xw(1,void 0,h.fields[0],h.fields[1])})],["children",gi.Children.toArray(Array.from(a))])])))),fr((()=>(Hd(0),hr()))));case 4:return wr(mr(d("div",{className:vt(" ",["text-center","mt-5"]),children:"We had an issue. Please try again shortly."})),fr((()=>(Hd(0),hr()))));case 5:switch(l.JourneyType.tag){case 1:return mr(d("div",dn(Gt([["className",vt(" ",["mt-5","px-4"])],(c=[lg(e,"information request")],["children",gi.Children.toArray(Array.from(c))])]))));case 2:return mr(d("div",dn(Gt([["className",vt(" ",["mt-5","px-4"])],(u=[ug()],["children",gi.Children.toArray(Array.from(u))])]))));case 3:case 4:return mr(qi());default:return mr(d("div",dn(Gt([["className",vt(" ",["mt-5","px-4"])],(f=[lg(e,"onboarding")],["children",gi.Children.toArray(Array.from(f))])]))))}default:return mr(d("div",{children:["Please wait..."]}))}})))))),["children",gi.Children.toArray(Array.from(n))])])))}case 2:return qi()}}class mv extends yn{constructor(e,n,t){super(),this.model=e,this.render=n,this.equal=t}}class pv extends p{constructor(e){super(e)}shouldComponentUpdate(e,n){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}function $v(e,n){const t=encodeURIComponent(n.fields[0]),r=encodeURIComponent(Sa),i=encodeURIComponent((o=new Aa(0),`${window.location.protocol}//${window.location.host}${Ea(o)}`));var o;return no.Delay((()=>{let e,n,o;const s=vl((n=$l(new kc(1),pl(`${_a}/connect/token`)),e=gl(dl("application/x-www-form-urlencoded"),n),wl(new Sc(1,`grant_type=authorization_code&code=${t}&client_id=${r}&redirect_uri=${i}`),e)));return o=no.Bind(s,(e=>no.Return(new to(0,e)))),no.Bind(o,(e=>{const n=e;if(1===n.tag)return no.Return(new to(1,n.fields[0]));{const e=n.fields[0];if(200===e.statusCode){const n=du(mn(2,Tu(J$(),void 0,void 0)),e.responseText);return no.Return(n)}return no.Return(new to(1,"Unexpected result from backend"))}}))}))}function gv(e){return mo(e)}function wv(e,n){return no.Delay((()=>{let e;return no.Bind((r=[(e=$v(0,n),no.Bind(e,(e=>no.Return(e)))),no.Delay((()=>no.Bind(gv(2e3),(()=>no.Return()))))],t=()=>function(e){return ho((n=>e.then(n[0]).catch((e=>(e instanceof Ki?n[2]:n[1])(e)))))}(Promise.all(Array.from(r,(e=>{return n=e,new Promise(((e,r)=>$o(n,e,r,r,t||uo)));var n,t})))),eo((e=>t()(e)))),(e=>no.Return(e[0])));var t,r}))}function vv(){const e=Sn(window.sessionStorage.getItem("credentials"));if(null!=e){const n=e,t=du(mn(2,Tu(J$(),void 0,void 0)),n);return 1===t.tag?void 0:t.fields[0]}}function yv(e,n){return Co((e=>new gg(3,e)),ko(new X$(0,new L$(0),e,n)))}function bv(e){return yv(e,!1)}const Cv=d("div",dn(Gt([["className","flex flex-col justify-center items-center pt-10"],(()=>{const e=[qi()];return["children",gi.Children.toArray(Array.from(e))]})()])));var _v;!function(e){Bo(void 0,e)}(("workflows-app",_v=Do((function(){const e=pg(wa(window.location.pathname+window.location.search,2)),n=e[0],t=e[1],r=new $g(n,new B$(0),t);switch(n.tag){case 4:case 1:case 2:case 5:case 6:return[r,bo()];case 0:{const e=[t,vv()];let n;switch(n=0===e[0].tag||2===e[0].tag||null==e[1]?1:0,n){case 0:return[new $g(r.CurrentPage,new B$(2,new to(0,e[1])),r.AppMode),bo()];case 1:return[r,ko(new gg(5))]}}default:return[r,bv(n.fields[0])]}}),(function(e,n){switch(e.tag){case 1:{const t=e.fields[0];return[new $g(new hg(3,t),n.Credentials,n.AppMode),bv(t)]}case 2:return[new $g(new hg(4),n.Credentials,n.AppMode),Co((e=>new gg(3,e)),ko(new X$(1)))];case 3:{const t=function(e,n,t){let r;return 1===e.tag?1===n.tag?[n,So((e=>{Ao(e)}),gv,1e3,(()=>new X$(1)))]:2===n.tag?1===n.fields[0].tag?[n,bo()]:[n,So((e=>{Ao(e)}),gv,2e3,(()=>new X$(2)))]:[new B$(2,new to(1,"No current authenticated user")),bo()]:2===e.tag?[n,(r=window.location.pathname,xo((e=>{ga(Rt(r),1,2)})))]:1===e.fields[0].tag?1===e.fields[0].fields[0].tag?[new B$(2,new to(1,`SignIn failed: ${e.fields[0].fields[0].fields[0]}`)),bo()]:(window.gtag&&window.gtag("event","oidc_sign_in",{}),[new B$(2,new to(0,e.fields[0].fields[0].fields[0])),e.fields[2]?bo():ko(new X$(2))]):[new B$(1),Io((e=>{Ao(e)}),(e=>wv(e[0],e[1])),[t,e.fields[1]],(n=>{const t=[new L$(1,n),e.fields[1],e.fields[2]];return new X$(0,t[0],t[1],t[2])}),(n=>{const t=[new L$(1,new to(1,n.message)),e.fields[1],e.fields[2]];return new X$(0,t[0],t[1],t[2])}))]}(e.fields[0],n.Credentials,n.AppMode),r=t[0],i=[r,n.AppMode];let o,s;return 2===i[0].tag&&0===i[0].fields[0].tag&&1===i[1].tag?(o=0,s=i[0].fields[0].fields[0]):o=1,0===o&&function(e){let n;const t=["credentials",(n=new Y$(e.id_token,e.access_token,e.expires_in,void 0,e.scope,e.token_type),ju(0,Uu(J$(),void 0,void 0,void 0)(n)))];window.sessionStorage.setItem(t[0],t[1])}(s),[new $g(n.CurrentPage,r,n.AppMode),Co((e=>new gg(3,e)),t[1])]}case 4:return[n,(t=e.fields[0],yv(t,!0))];case 5:return[new $g(new hg(6),n.Credentials,n.AppMode),bo()];default:{const t=pg(e.fields[0])[0],r=new $g(t,n.Credentials,n.AppMode);return 3===t.tag?[r,bv(t.fields[0])]:[r,bo()]}}var t}),(function(e,n){let t;const r=d("div",dn(Gt([["className",vt(" ",$r(fr((()=>wr(mr("workflows-app"),fr((()=>wr(mr("font-inter"),fr((()=>function(e){switch(e.CurrentPage.tag){case 1:case 5:case 6:default:return Pt();case 3:case 4:case 2:return Gt(["bg-white","h-full"])}}(e)))))))))))],(t=$r(fr((()=>wr(mr(function(e){switch(e.tag){case 0:default:return null;case 1:return d("style",{children:["\n html {\n height: 100%;\n }\n body {\n height: 100%;\n }\n #workflows-app {\n height: 100%;\n }"]})}}(e.AppMode)),fr((()=>{const t=e.CurrentPage;switch(t.tag){case 3:case 4:{const n=e.Credentials;let t;switch(t=2===n.tag&&1===n.fields[0].tag?0:1,t){case 0:return mr(Cv);case 1:return mr(d(Ji,null))}}case 1:return mr(d(u$,{inviteCode:t.fields[0]}));case 2:return mr(d(dg,{inviteCode:t.fields[0],navigateAuthCodeExchangePage:e=>{n(null==e?new gg(2):new gg(1,e))},startAuthCodeExchangeBackground:e=>{n(new gg(4,e))}}));case 5:return mr(d("h1",{children:["Not found"]}));case 6:return mr(d(wg,null));default:{const n=e.Credentials;let t,r;switch(2===n.tag&&0===n.fields[0].tag?(t=0,r=n.fields[0].fields[0]):t=1,t){case 0:return mr(d(hv,{appMode:e.AppMode,accessToken:r.access_token}));case 1:return mr(Cv)}}}})))))),["children",gi.Children.toArray(Array.from(t))])])));return va({hashMode:2,onUrlChanged:e=>{n(new gg(0,e))},application:d(m,{},r)})})),function(e,n,t){return Ro(((r,i)=>{Ie(e((e=>n=>e===n),function(e){return $n(2,e.view)}(t),r,i),document.getElementById(n))}),t)}(((e,n,t,r)=>function(e,n,t,r){const i=new mv(t,(()=>n(t,r)),e);return d(pv,i)}(mn(2,e),mn(2,n),t,r)),"workflows-app",_v)))})()})();
|