@flarehr/workflows-app 0.1.3110 → 0.1.3113

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.
@@ -1,2 +1,818 @@
1
- /*! For license information please see workflows-app.js.LICENSE.txt */
2
- (()=>{var e={628:(e,t,n)=>{"use strict";var r=n(67);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,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 t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},826:(e,t,n)=>{e.exports=n(628)()},67:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e,t,r,i,o,s,a={},c=[],l=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function u(e,t){for(var n in t)e[n]=t[n];return e}function f(e){var t=e.parentNode;t&&t.removeChild(e)}function d(t,n,r){var i,o,s,a={};for(s in n)"key"==s?i=n[s]:"ref"==s?o=n[s]:a[s]=n[s];if(arguments.length>2&&(a.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(s in t.defaultProps)void 0===a[s]&&(a[s]=t.defaultProps[s]);return h(t,a,i,o,null)}function h(e,n,i,o,s){var a={type:e,props:n,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==s?++r:s};return null==s&&null!=t.vnode&&t.vnode(a),a}function m(e){return e.children}function p(e,t){this.props=e,this.context=t}function $(e,t){if(null==t)return e.__?$(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?$(e):null}function g(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return g(e)}}function w(e){(!e.__d&&(e.__d=!0)&&i.push(e)&&!y.__r++||o!==t.debounceRendering)&&((o=t.debounceRendering)||setTimeout)(y)}function y(){for(var e;y.__r=i.length;)e=i.sort((function(e,t){return e.__v.__b-t.__v.__b})),i=[],e.some((function(e){var t,n,r,i,o,s;e.__d&&(o=(i=(t=e).__v).__e,(s=t.__P)&&(n=[],(r=u({},i)).__v=i.__v+1,A(s,i,r,t.__n,void 0!==s.ownerSVGElement,null!=i.__h?[o]:null,n,null==o?$(i):o,i.__h),E(n,i),i.__e!=o&&g(i)))}))}function v(e,t,n,r,i,o,s,l,u,f){var d,p,g,w,y,v,C,_=r&&r.__k||c,k=_.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(w=n.__k[d]=null==(w=t[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.__=n,w.__b=n.__b+1,null===(g=_[d])||g&&w.key==g.key&&w.type===g.type)_[d]=void 0;else for(p=0;p<k;p++){if((g=_[p])&&w.key==g.key&&w.type===g.type){_[p]=void 0;break}g=null}A(e,w,g=g||a,i,o,s,l,u,f),y=w.__e,(p=w.ref)&&g.ref!=p&&(C||(C=[]),g.ref&&C.push(g.ref,null,w),C.push(p,w.__c||y,w)),null!=y?(null==v&&(v=y),"function"==typeof w.type&&w.__k===g.__k?w.__d=u=b(w,u,e):u=x(e,w,g,_,y,u),"function"==typeof n.type&&(n.__d=u)):u&&g.__e==u&&u.parentNode!=e&&(u=$(g))}for(n.__e=v,d=k;d--;)null!=_[d]&&("function"==typeof n.type&&null!=_[d].__e&&_[d].__e==n.__d&&(n.__d=$(r,d+1)),T(_[d],_[d]));if(C)for(d=0;d<C.length;d++)N(C[d],C[++d],C[++d])}function b(e,t,n){for(var r,i=e.__k,o=0;i&&o<i.length;o++)(r=i[o])&&(r.__=e,t="function"==typeof r.type?b(r,t,n):x(n,r,r,i,r.__e,t));return t}function C(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){C(e,t)})):t.push(e)),t}function x(e,t,n,r,i,o){var s,a,c;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(null==n||i!=o||null==i.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(i),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 _(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||l.test(t)?n:n+"px"}function k(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||_(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||_(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r||e.addEventListener(t,o?I:S,o):e.removeEventListener(t,o?I:S,o);else if("dangerouslySetInnerHTML"!==t){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function S(e){this.l[e.type+!1](t.event?t.event(e):e)}function I(e){this.l[e.type+!0](t.event?t.event(e):e)}function A(e,n,r,i,o,s,a,c,l){var f,d,h,$,g,w,y,b,C,x,_,k,S,I=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(l=r.__h,c=n.__e=r.__e,n.__h=null,s=[c]),(f=t.__b)&&f(n);try{e:if("function"==typeof I){if(b=n.props,C=(f=I.contextType)&&i[f.__c],x=f?C?C.props.value:f.__:i,r.__c?y=(d=n.__c=r.__c).__=d.__E:("prototype"in I&&I.prototype.render?n.__c=d=new I(b,x):(n.__c=d=new p(b,x),d.constructor=I,d.render=P),C&&C.sub(d),d.props=b,d.state||(d.state={}),d.context=x,d.__n=i,h=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=I.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=u({},d.__s)),u(d.__s,I.getDerivedStateFromProps(b,d.__s))),$=d.props,g=d.state,h)null==I.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==I.getDerivedStateFromProps&&b!==$&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(b,x),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(b,d.__s,x)||n.__v===r.__v){d.props=b,d.state=d.__s,n.__v!==r.__v&&(d.__d=!1),d.__v=n,n.__e=r.__e,n.__k=r.__k,n.__k.forEach((function(e){e&&(e.__=n)})),d.__h.length&&a.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(b,d.__s,x),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate($,g,w)}))}if(d.context=x,d.props=b,d.__v=n,d.__P=e,_=t.__r,k=0,"prototype"in I&&I.prototype.render)d.state=d.__s,d.__d=!1,_&&_(n),f=d.render(d.props,d.state,d.context);else do{d.__d=!1,_&&_(n),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)),S=null!=f&&f.type===m&&null==f.key?f.props.children:f,v(e,Array.isArray(S)?S:[S],n,r,i,o,s,a,c,l),d.base=n.__e,n.__h=null,d.__h.length&&a.push(d),y&&(d.__E=d.__=null),d.__e=!1}else null==s&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=O(r.__e,n,r,i,o,s,a,l);(f=t.diffed)&&f(n)}catch(e){n.__v=null,(l||null!=s)&&(n.__e=c,n.__h=!!l,s[s.indexOf(c)]=null),t.__e(e,n,r)}}function E(e,n){t.__c&&t.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){t.__e(e,n.__v)}}))}function O(t,n,r,i,o,s,c,l){var u,d,h,m=r.props,p=n.props,g=n.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)){t=u,s[w]=null;break}if(null==t){if(null===g)return document.createTextNode(p);t=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&&t.data===p||(t.data=p);else{if(s=s&&e.call(t.childNodes),d=(m=r.props||a).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!l){if(null!=s)for(m={},w=0;w<t.attributes.length;w++)m[t.attributes[w].name]=t.attributes[w].value;(h||d)&&(h&&(d&&h.__html==d.__html||h.__html===t.innerHTML)||(t.innerHTML=h&&h.__html||""))}if(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||k(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||k(e,o,t[o],n[o],r)}(t,p,m,o,l),h)n.__k=[];else if(w=n.props.children,v(t,Array.isArray(w)?w:[w],n,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!==t.value||"progress"===g&&!w||"option"===g&&w!==m.value)&&k(t,"value",w,m.value,!1),"checked"in p&&void 0!==(w=p.checked)&&w!==t.checked&&k(t,"checked",w,m.checked,!1))}return t}function N(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function T(e,n,r){var i,o;if(t.unmount&&t.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||N(i,null,n)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){t.__e(e,n)}i.base=i.__P=null}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&T(i[o],n,"function"!=typeof e.type);r||null==e.__e||f(e.__e),e.__e=e.__d=void 0}function P(e,t,n){return this.constructor(e,n)}function D(n,r,i){var o,s,c;t.__&&t.__(n,r),s=(o="function"==typeof i)?null:i&&i.__k||r.__k,c=[],A(r,n=(!o&&i||r).__k=d(m,null,[n]),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,n)}function M(e,t){D(e,t,M)}function B(t,n,r){var i,o,s,a=u({},t.props);for(s in n)"key"==s?i=n[s]:"ref"==s?o=n[s]:a[s]=n[s];return arguments.length>2&&(a.children=arguments.length>3?e.call(arguments,2):r),h(t.type,a,i||t.key,o||t.ref,null)}e=c.slice,t={__e:function(e,t,n,r){for(var i,o,s;t=t.__;)if((i=t.__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(t){e=t}throw e}},r=0,p.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=u({},this.state),"function"==typeof e&&(e=e(u({},n),this.props)),e&&u(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),w(this))},p.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),w(this))},p.prototype.render=m,i=[],y.__r=0,s=0;var L,R,j,W,U=0,z=[],F=[],G=t.__b,H=t.__r,V=t.diffed,Y=t.__c,q=t.unmount;function J(e,n){t.__h&&t.__h(R,e,U||n),U=0;var r=R.__H||(R.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:F}),r.__[e]}function Z(e){return U=1,X(se,e)}function X(e,t,n){var r=J(L++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):se(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=R,!R.u)){R.u=!0;var i=R.shouldComponentUpdate;R.shouldComponentUpdate=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var s=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(s=!0)}})),!!s&&(!i||i.call(this,e,t,n))}}return r.__N||r.__}function K(e,n){var r=J(L++,3);!t.__s&&oe(r.__H,n)&&(r.__=e,r.i=n,R.__H.__h.push(r))}function Q(e,n){var r=J(L++,4);!t.__s&&oe(r.__H,n)&&(r.__=e,r.i=n,R.__h.push(r))}function ee(e,t){var n=J(L++,7);return oe(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function te(){for(var e;e=z.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(re),e.__H.__h.forEach(ie),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}}t.__b=function(e){R=null,G&&G(e)},t.__r=function(e){H&&H(e),L=0;var t=(R=e.__c).__H;t&&(j===R?(t.__h=[],R.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=F,e.__N=e.i=void 0}))):(t.__h.forEach(re),t.__h.forEach(ie),t.__h=[])),j=R},t.diffed=function(e){V&&V(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==z.push(n)&&W===t.requestAnimationFrame||((W=t.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),ne&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ne&&(t=requestAnimationFrame(n))})(te)),n.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==F&&(e.__=e.__V),e.i=void 0,e.__V=F}))),j=R=null},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach(re),e.__h=e.__h.filter((function(e){return!e.__||ie(e)}))}catch(r){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(r,e.__v)}})),Y&&Y(e,n)},t.unmount=function(e){q&&q(e);var n,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{re(e)}catch(e){n=e}})),n&&t.__e(n,r.__v))};var ne="function"==typeof requestAnimationFrame;function re(e){var t=R,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),R=t}function ie(e){var t=R;e.__c=e.__(),R=t}function oe(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function se(e,t){return"function"==typeof t?t(e):t}function ae(e,t){for(var n in t)e[n]=t[n];return e}function ce(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function le(e){this.props=e}(le.prototype=new p).isPureReactComponent=!0,le.prototype.shouldComponentUpdate=function(e,t){return ce(this.props,e)||ce(this.state,t)};var ue=t.__b;t.__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,t){return null==e?null:C(C(e).map(t))},he={map:de,forEach:de,count:function(e){return e?C(e).length:0},only:function(e){var t=C(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:C},me=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);me(e,t,n,r)};var pe=t.unmount;function $e(){this.__u=0,this.t=null,this.__b=null}function ge(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function we(){this.u=null,this.o=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),pe&&pe(e)},($e.prototype=new p).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=ge(r.__v),o=!1,s=function(){o||(o=!0,n.__R=null,i?i(a):a())};n.__R=s;var a=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},$e.prototype.componentWillUnmount=function(){this.t=[]},$e.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=ae({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&d(m,null,e.fallback);return i&&(i.__h=null),[d(m,null,t.__a?null:e.children),i]};var ye=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function ve(e){return this.getChildContext=function(){return e.context},e.children}function be(e){var t=this,n=e.i;t.componentWillUnmount=function(){D(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),D(d(ve,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(we.prototype=new p).__a=function(e){var t=this,n=ge(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),ye(t,e,r)):i()};n?n(o):o()}},we.prototype.render=function(e){this.u=null,this.o=new Map;var t=C(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},we.prototype.componentDidUpdate=we.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){ye(e,n,t)}))};var Ce="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,xe=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,_e="undefined"!=typeof document,ke=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function Se(e,t,n){return null==t.__k&&(t.textContent=""),D(e,t),"function"==typeof n&&n(),e?e.__c:null}p.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(p.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Ie=t.event;function Ae(){}function Ee(){return this.cancelBubble}function Oe(){return this.defaultPrevented}t.event=function(e){return Ie&&(e=Ie(e)),e.persist=Ae,e.isPropagationStopped=Ee,e.isDefaultPrevented=Oe,e.nativeEvent=e};var Ne,Te={configurable:!0,get:function(){return this.class}},Pe=t.vnode;t.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var i=-1===t.indexOf("-");for(var o in r={},n){var s=n[o];_e&&"children"===o&&"noscript"===t||"value"===o&&"defaultValue"in n&&null==s||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===s?s="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!ke(n.type)?o="oninput":/^onfocus$/i.test(o)?o="onfocusin":/^onblur$/i.test(o)?o="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(o)?o=o.toLowerCase():i&&xe.test(o)?o=o.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===s&&(s=void 0),/^oninput$/i.test(o)&&(o=o.toLowerCase(),r[o]&&(o="oninputCapture")),r[o]=s)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=C(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=C(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(Te.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Te))}e.$$typeof=Ce,Pe&&Pe(e)};var De=t.__r;t.__r=function(e){De&&De(e),Ne=e.__c};var Me={ReactCurrentDispatcher:{current:{readContext:function(e){return Ne.__n[e.__c].props.value}}}};function Be(e){return!!e&&e.$$typeof===Ce}function Le(e){e()}const Re={useState:Z,useReducer:X,useEffect:K,useLayoutEffect:Q,useInsertionEffect:Q,useTransition:function(){return[!1,Le]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,t){var n=t(),r=Z({s:{__:n,h:t}}),i=r[0].s,o=r[1];return Q((function(){i.__=n,i.h=t,i.__!==t()&&o({s:i})}),[e,n,t]),K((function(){return i.__!==i.h()&&o({s:i}),e((function(){i.__!==i.h()&&o({s:i})}))}),[e]),n},startTransition:Le,useRef:function(e){return U=5,ee((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){U=6,Q((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))},useMemo:ee,useCallback:function(e,t){return U=8,ee((function(){return e}),t)},useContext:function(e){var t=R.context[e.__c],n=J(L++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(R)),t.props.value):e.__},useDebugValue:function(e,n){t.useDebugValue&&t.useDebugValue(n?n(e):e)},version:"17.0.2",Children:he,render:Se,hydrate:function(e,t,n){return M(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(D(null,e),!0)},createPortal:function(e,t){var n=d(be,{__v:e,i:t});return n.containerInfo=t,n},createElement:d,createContext:function(e,t){var n={__c:t="__cC"+s++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(w)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return d.bind(null,e)},cloneElement:function(e){return Be(e)?B.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:m,isValidElement:Be,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:p,PureComponent:le,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:ce(this.props,e)}function r(t){return this.shouldComponentUpdate=n,d(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(t){var n=ae({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=fe,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:m,Suspense:$e,SuspenseList:we,lazy:function(e){var t,n,r;function i(i){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return d(n,i)}return i.displayName="Lazy",i.__f=!0,i},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Me};function je(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function We(e){return"function"==typeof e.GetHashCode}function Ue(e){return null!=e&&"function"==typeof e.Dispose}function ze(e){Ue(e)&&e.Dispose()}function Fe(e,t){var n,r;return(null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===(null===(r=Object.getPrototypeOf(t))||void 0===r?void 0:r.constructor)}class Ge{constructor(e){this.iter=e}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this.iter.next();return this.current=e.value,!e.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function He(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new Ge(e[Symbol.iterator]())}function Ve(e){return{[Symbol.iterator](){return this},next(){const t=e["System.Collections.IEnumerator.MoveNext"]();return{done:!t,value:t?e["System.Collections.IEnumerator.get_Current"]():void 0}}}}class Ye{constructor(e){this.factory=e,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function qe(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function Je(e){const t=e;return"number"==typeof t.offset?t.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}function Ze(e,t){return(e=e<0&&null!=t&&10!==t?4294967295+e+1:e).toString(t)}class Xe{static id(e){return Xe.idMap.has(e)||Xe.idMap.set(e,++Xe.count),Xe.idMap.get(e)}}function Ke(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=33*n^e.charCodeAt(t++);return n}function Qe(e){return 2654435761*e|0}function et(e){return 0===e.length?0:e.reduce(((e,t)=>(e<<5)+e^t))}function tt(e){var t;if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Qe(e);case"string":return Ke(e);default:if(We(e))return e.GetHashCode();if(je(e))return function(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=tt(e[r]);return et(n)}(e);if(e instanceof Date)return function(e){return e.getTime()}(e);if((null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor)===Object){const t=Object.values(e).map((e=>tt(e)));return et(t)}return Qe(Xe.id(e))}}function nt(e){return null==e?0:We(e)?e.GetHashCode():Qe(Xe.id(e))}function rt(e,t,n){if(null==e)return null==t;if(null==t)return!1;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function it(e,t){return rt(e,t,ot)}function ot(e,t){var n;return e===t||(null==e?null==t:null!=t&&"object"==typeof e&&(function(e){return"function"==typeof e.Equals}(e)?e.Equals(t):je(e)?je(t)&&it(e,t):e instanceof Date?t instanceof Date&&0===st(e,t):(null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===Object&&function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let i=0;i<n.length;i++)if(n[i]!==r[i]||!ot(e[n[i]],t[r[i]]))return!1;return!0}(e,t)))}function st(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+Je(e),r=t.getTime()+Je(t)),n===r?0:n<r?-1:1}function at(e,t){return e===t?0:e<t?-1:1}function ct(e,t){return function(e,t,n){if(null==e)return null==t?0:1;if(null==t)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,i=0;r<e.length;r++)if(i=n(e[r],t[r]),0!==i)return i;return 0}(e,t,lt)}function lt(e,t){var n;return e===t?0:null==e?null==t?0:-1:null==t?1:"object"!=typeof e?e<t?-1:1:function(e){return"function"==typeof e.CompareTo}(e)?e.CompareTo(t):je(e)?je(t)?ct(e,t):-1:e instanceof Date?t instanceof Date?st(e,t):-1:(null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===Object?function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return n.length<r.length?-1:1;n.sort(),r.sort();for(let i=0,o=0;i<n.length;i++){const s=n[i];if(s!==r[i])return s<r[i]?-1:1;if(o=lt(e[s],t[s]),0!==o)return o}return 0}(e,t):-1}function ut(e,t,n){return e(t,n)>0?t:n}function ft(e){const t={};for(const n of e)t[n[0]]=n[1];return t}Xe.idMap=new WeakMap,Xe.count=0;const dt=Symbol("curried");function ht(e,t){if(null==t||t.length>1)return t;const n=(...n)=>{let r=t;for(let t=0;t<e;t++)r=r(n[t]);return r};return n[dt]=t,n}function mt(e,t,n){return r=>1===t?n(...e.concat([r])):mt(e.concat([r]),t-1,n)}function pt(e,t){return null==t||1===t.length?t:dt in t?t[dt]:mt([],e,t)}function $t(e,t,n){if(null!=t){if(dt in t){t=t[dt];for(let e=0;e<n.length;e++)t=t(n[e]);return t}return mt(n,e,t)}}function gt(e,t=0){var n,r;if(null!=e&&"object"==typeof e){if("function"==typeof e.toString)return e.toString();if(Symbol.iterator in e)return function(e){let t=0,n="[";for(const r of e){if(0===t)n+=gt(r);else{if(100===t){n+="; ...";break}n+="; "+gt(r)}t++}return n+"]"}(e);{const i=null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor;return i===Object&&t<10?"{ "+Object.entries(e).map((([e,n])=>e+" = "+gt(n,t+1))).join("\n ")+" }":null!==(r=null==i?void 0:i.name)&&void 0!==r?r:""}}return String(e)}class wt{get name(){return this.cases()[this.tag]}toJSON(){return 0===this.fields.length?this.name:[this.name].concat(this.fields)}toString(){return function(e,t){if(0===t.length)return e;{let n="",r=!0;return 1===t.length?(n=gt(t[0]),r=n.indexOf(" ")>=0):n=t.map((e=>gt(e))).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>tt(e)));return e.splice(0,0,Qe(this.tag)),et(e)}Equals(e){return this===e||!!Fe(this,e)&&this.tag===e.tag&&it(this.fields,e.fields)}CompareTo(e){return this===e?0:Fe(this,e)?this.tag===e.tag?ct(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class yt{toJSON(){return function(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}(this)}toString(){return e=this,"{ "+Object.entries(e).map((([e,t])=>e+" = "+gt(t))).join("\n ")+" }";var e}GetHashCode(){return function(e){const t=Object.values(e).map((e=>tt(e)));return et(t)}(this)}Equals(e){return function(e,t){if(e===t)return!0;if(Fe(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!ot(e[n[r]],t[n[r]]))return!1;return!0}return!1}(this,e)}CompareTo(e){return function(e,t){if(e===t)return 0;if(Fe(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=lt(e[n[r]],t[n[r]]);if(0!==i)return i}return 0}return-1}(this,e)}}class vt{constructor(e,t){"function"==typeof t?(this.getter=e,this.setter=t):(this.getter=()=>e,this.setter=t=>{e=t})}get contents(){return this.getter()}set contents(e){this.setter(e)}}class bt{constructor(e){this.message=e}}function Ct(e){return function(e){return e instanceof bt||e instanceof Error}(e)?e:new Error(String(e))}class xt{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return tt(this.value)}Equals(e){return null!=e&&ot(this.value,e instanceof xt?e.value:e)}CompareTo(e){return null==e?1:lt(this.value,e instanceof xt?e.value:e)}}function _t(e){return null==e||e instanceof xt?new xt(e):e}function kt(e){if(null==e)throw new Error("Option has no value");return e instanceof xt?e.value:e}function St(e){return null==e?void 0:e}function It(e){return null==e?[]:[kt(e)]}function At(e,t){return null!=e?kt(e):t}function Et(e,t){return null==e?t:e}function Ot(e,t){return null!=t?_t(e(kt(t))):void 0}function Nt(e,t){return null!=t?e(kt(t)):void 0}function Tt(){return e=lt,{Compare:(t,n)=>e(t,n)};var e}function Pt(e,t){return"function"==typeof e?new e(t):new Array(t)}function Dt(e,t,n,r){const i=0|t;return e.fill(r,i,i+n)}function Mt(e,t,n){const r=0|t.length,i=Pt(n,r);for(let n=0;n<=r-1;n++)i[n]=e(t[n]);return i}function Bt(e,t,n){return n.reduce(e,t)}function Lt(e,t,n){if(null==t)return null==n;if(null==n)return!1;{let r=0,i=!0;const o=0|t.length,s=0|n.length;if(o>s)return!1;if(o<s)return!1;for(;r<o&&i;)i=e(t[r],n[r]),r=r+1|0;return i}}function Rt(e,t){return e<0||e>=t.length?void 0:_t(t[e])}function jt(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+qe(~~(e/36e5),2)+":"+qe(n,2)}function Wt(e,t){const n=e.toISOString();return"first"===t?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function Ut(e,t,n){return t.replace(/(\w)\1*/g,(t=>{let r=Number.NaN;switch(t.substring(0,1)){case"y":const i=n?e.getUTCFullYear():e.getFullYear();r=t.length<4?i%100:i;break;case"M":r=(n?e.getUTCMonth():e.getMonth())+1;break;case"d":r=n?e.getUTCDate():e.getDate();break;case"H":r=n?e.getUTCHours():e.getHours();break;case"h":const o=n?e.getUTCHours():e.getHours();r=o>12?o%12:o;break;case"m":r=n?e.getUTCMinutes():e.getMinutes();break;case"s":r=n?e.getUTCSeconds():e.getSeconds();break;case"f":r=n?e.getUTCMilliseconds():e.getMilliseconds()}return Number.isNaN(r)?t:r<10&&t.length>1?"0"+r:""+r}))}function zt(e,t,n){return null!=e.offset?function(e,t){var n,r,i;const o=new Date(e.getTime()+(null!==(n=e.offset)&&void 0!==n?n:0));if("string"!=typeof t)return o.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+jt(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==t.length)return Ut(o,t,!0);switch(t){case"D":case"d":return Wt(o,"first");case"T":case"t":return Wt(o,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+jt(t)}(o,null!==(i=e.offset)&&void 0!==i?i:0);default:throw new Error("Unrecognized Date print format")}}(e,t):function(e,t){const n=1===e.kind;if("string"!=typeof t)return n?e.toUTCString():e.toLocaleString();if(1!==t.length)return Ut(e,t,n);switch(t){case"D":case"d":return n?Wt(e,"first"):e.toLocaleDateString();case"T":case"t":return n?Wt(e,"second"):e.toLocaleTimeString();case"O":case"o":return function(e,t){if(t)return e.toISOString();{const t=null==e.kind||2===e.kind;return 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)+(t?jt(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}function Ft(e,t){const n=new Date(e);return n.kind=0|(null==t?0:t),n}function Gt(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}null!=e&&""!==e.trim()||t(),10===e.length&&"-"===e[4]&&"-"===e[7]&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.getTime())){const i=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(e);if(null!=i){let e,t=0;if(null!=i[2]){const e=i[2].split(":");t=3600*parseInt(e[0],10)+60*parseInt(e[1]||"0",10)+parseFloat(e[2]||"0"),null!=i[3]&&"PM"===i[3].toUpperCase()&&(t+=720)}if(null!=i[4]){if(null!=i[1])e=new Date(i[1]+" UTC");else{const t=new Date;e=new Date(t.getUTCFullYear()+"/"+(t.getUTCMonth()+1)+"/"+t.getUTCDate())}if("Z"===i[4])r="Z";else{let e=60*parseInt(i[5],10)+parseInt(i[6]||"0",10);"-"===i[4][0]&&(e*=-1),r=e,t-=60*e}}else if(null!=i[1])e=new Date(i[1]);else{const t=new Date;e=new Date(t.getFullYear()+"/"+(t.getMonth()+1)+"/"+t.getDate())}n=new Date(e.getTime()+1e3*t),n=new Date(n.getTime()+6e4*(n.getTimezoneOffset()-e.getTimezoneOffset()))}else t();isNaN(n.getTime())&&t()}return[n,r]}function Ht(e,t){try{return t.contents=function(e,t=!1){const[n,r]=Gt(e),i=null!=r?t&&"Z"===r?1:2:0;return Ft(n.getTime(),i)}(e),!0}catch(e){return!1}}function Vt(){return function(e,t,n,r=0,i=0,o=0,s=0,a){const c=1===a?Date.UTC(e,t-1,n,r,i,o,s):new Date(e,t-1,n,r,i,o,s).getTime();if(isNaN(c))throw new Error("The parameters describe an unrepresentable Date.");const l=Ft(c,a);return e<=99&&l.setFullYear(e,t-1,n),l}(Yt(e=Ft(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 Yt(e){return 1===e.kind?e.getUTCFullYear():e.getFullYear()}const qt=Symbol("numeric");function Jt(e){return"number"==typeof e||(null==e?void 0:e[qt])}function Zt(e,t){return"number"==typeof e?e*t:e[qt]().multiply(t)}function Xt(e,t){return"number"==typeof e?e.toFixed(t):e[qt]().toFixed(t)}function Kt(e,t){return"number"==typeof e?e.toPrecision(t):e[qt]().toPrecision(t)}function Qt(e,t){return"number"==typeof e?e.toExponential(t):e[qt]().toExponential(t)}function en(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[qt]().toHex()}function tn(e,t=0){if(0!=(-284&t))throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let n="gu";return n+=1&t?"i":"",n+=2&t?"m":"",n+=16&t?"s":"",new RegExp(e,n)}function nn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function rn(e,t,n=0){if(null==t)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=n;const r=[];let i,o=-1;for(;null!=(i=e.exec(t));)i.index===o?e.lastIndex++:(o=i.index,r.push(i));return r}const on=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,sn=/(?:(^|[^%])%([0+\- ]*)(\d+)?(?:\.(\d+))?(\w))?%P\(\)/g,an=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function cn(e,t){return function(e,t){return"number"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}(e,t)<0}function ln(e,t,n){function r(e){return!0===e||1===e||3===e||5===e}return null==e?null==t?0:-1:null==t?1:4===(i=n)||5===i?(r(n)&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t?0:e<t?-1:1):(r(n)&&(e=e.toLocaleLowerCase(),t=t.toLocaleLowerCase()),e.localeCompare(t));var i}function un(e){return{input:e,cont:(t=e,e=>{on.lastIndex=0;const n=[],r=[];let i=0,o=on.exec(t);for(;o;){const e=o.index+(o[1]||"").length;n.push(t.substring(i,e).replace(/%%/g,"%")),r.push(o),i=on.lastIndex,on.lastIndex-=1,o=on.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(i).replace(/%%/g,"%")),$n(e,n,r))})};var t}function fn(e,t){let n=0,r=0,i="";sn.lastIndex=0;let o=sn.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=sn.lastIndex,i+=pn(t[n++],a,c,l,u),sn.lastIndex=r-1,o=sn.exec(e)}return i+=e.substring(r).replace(/%%/g,"%"),i}function dn(e,t){return"string"==typeof t?e(t):t.cont(e)}function hn(e){return dn((e=>e),e)}function mn(e){return dn((e=>{throw new Error(e)}),e)}function pn(e,t,n,r,i){let o="";if(t=t||"",i=i||"",Jt(e))switch("x"!==i.toLowerCase()&&(cn(e,0)?(e=Zt(e,-1),o="-"):t.indexOf(" ")>=0?o=" ":t.indexOf("+")>=0&&(o="+")),r=null==r?null:parseInt(r,10),i){case"f":case"F":e=Xt(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?Kt(e,r):Kt(e);break;case"e":case"E":e=null!=r?Qt(e,r):Qt(e);break;case"x":e=en(e);break;case"X":e=en(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?zt(e):gt(e);if(n="number"==typeof n?n:parseInt(n,10),isNaN(n))e=o+e;else{const r=t.indexOf("0")>=0,i=t.indexOf("-")>=0,s=i||!r?" ":"0";e="0"===s?o+(e=bn(e,n-o.length,s,i)):bn(o+e,n,s,i)}return e}function $n(e,t,n,r="",i=-1){return(...o)=>{let s=r;const a=t.slice(),c=n.slice();for(const e of o){const[,,t,n,r,o]=c[0];let l=n;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+=pn(e,t,l,r,o),a.splice(0,1),c.splice(0,1)}return 0===c.length?(s+=a[0],e(s)):$n(e,a,c,s,i)}}function gn(e,...t){return"object"==typeof e&&t.length>0&&(e=t[0],t.shift()),e.replace(an,((e,n,r,i,o,s)=>{if(n<0||n>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let a=t[n];if(Jt(a))switch(o=null==o?null:parseInt(o,10),i){case"f":case"F":a=Xt(a,o=null!=o?o:2);break;case"g":case"G":a=null!=o?Kt(a,o):Kt(a);break;case"e":case"E":a=null!=o?Qt(a,o):Qt(a);break;case"p":case"P":o=null!=o?o:2,a=Xt(Zt(a,100),o)+" %";break;case"d":case"D":a=null!=o?Cn(String(a),o,"0"):String(a);break;case"x":case"X":a=null!=o?Cn(en(a),o,"0"):en(a),"X"===i&&(a=a.toUpperCase());break;default:if(s){let e="";a=s.replace(/([0#,]+)(\.[0#]+)?/,((t,n,r)=>{cn(a,0)&&(a=Zt(a,-1),e="-"),r=null==r?"":r.substring(1),a=Xt(a,Math.max(r.length,0));let[i,o]=a.split(".");o||(o=""),i=Cn(i,n.replace(/,/g,"").replace(/^#+/,"").length,"0");const s=r.replace(/#+$/,"").length;if(s>o.length?o=function(e,t,n){return bn(e,t,"0",!0)}(o,s):s<o.length&&(o=o.substring(0,s)+o.substring(s).replace(/0+$/,"")),n.indexOf(",")>0){const e=i.length%3,t=Math.floor(i.length/3);let n=e>0?i.substr(0,e)+(t>0?",":""):"";for(let r=0;r<t;r++)n+=i.substr(e+3*r,3)+(r<t-1?",":"");i=n}return o.length>0?i+"."+o:i})),a=e+a}}else a=a instanceof Date?zt(a,s||i):gt(a);return r=parseInt((r||" ").substring(1),10),isNaN(r)||(a=bn(String(a),Math.abs(r)," ",r<0)),a}))}function wn(e){return"string"!=typeof e||0===e.length}function yn(e){return"string"!=typeof e||/^\s*$/.test(e)}function vn(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function bn(e,t,n,r){n=n||" ",t-=e.length;for(let i=0;i<t;i++)e=r?e+n:n+e;return e}function Cn(e,t,n){return bn(e,t,n)}function xn(e,t,n){return e.replace(new RegExp(nn(t),"g"),n)}function _n(e,t,n,r){if(r="number"==typeof r?r:0,(n="number"==typeof n?n:void 0)&&n<0)throw new Error("Count cannot be less than zero");if(0===n)return[];const i=1==(1&r),o=2==(2&r);t=(t=t||[]).filter((e=>e)).map(nn),t=t.length>0?t:["\\s"];const s=[],a=new RegExp(t.join("|"),"g");let c=!0,l=0;do{const t=a.exec(e);if(null===t){const t=o?e.substring(l).trim():e.substring(l);(!i||t.length>0)&&s.push(t),c=!1}else{const r=o?e.substring(l,t.index).trim():e.substring(l,t.index);(!i||r.length>0)&&(null!=n&&s.length+1===n?(s.push(o?e.substring(l).trim():e.substring(l)),c=!1):s.push(r)),l=a.lastIndex}}while(c);return s}function kn(e,t){return t.split("").filter((t=>e(t))).join("")}function Sn(e,t,n){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=n?e.substr(t,n):e.substr(t)}const In="Collection was empty.",An="An index satisfying the predicate was not found in the collection.";class En extends yt{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+vn("; ",this)+"]"}Equals(e){return this===e||((e,t)=>{e:for(;;){const n=e,r=t,i=[n.tail,r.tail];if(null!=i[0]){if(null!=i[1]){const o=i[0],s=i[1];if(ot(n.head,r.head)){e=o,t=s;continue e}return!1}return!1}return null==i[1]}})(this,e)}GetHashCode(){return 0|((e,t,n)=>{for(;;){const r=e,i=t,o=n,s=o.tail;if(null==s)return 0|i;{const a=s;if(r>18)return 0|i;e=r+1,t=(i<<1)+tt(o.head)+631*r,n=a}}})(0,0,this)}toJSON(e){return Array.from(this)}CompareTo(e){return 0|((e,t)=>{e:for(;;){const n=e,r=t,i=[n.tail,r.tail];if(null!=i[0]){if(null!=i[1]){const o=i[0],s=i[1],a=0|lt(n.head,r.head);if(0===a){e=o,t=s;continue e}return 0|a}return 1}return null!=i[1]?-1:0}})(this,e)}GetEnumerator(){return new On(this)}[Symbol.iterator](){return Ve(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return He(this)}}class On{constructor(e){this.xs=e,this.it=this.xs,this.current=null}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this,t=e.it.tail;if(null!=t){const n=t;return e.current=e.it.head,e.it=n,!0}return!1}"System.Collections.IEnumerator.Reset"(){const e=this;e.it=e.xs,e.current=null}Dispose(){}}function Nn(){return new En(null,void 0)}function Tn(e,t){return new En(e,t)}function Pn(e){return null==e.tail}function Dn(e){return 0|((e,t)=>{for(;;){const n=e,r=t.tail;if(null==r)return 0|n;e=n+1,t=r}})(0,e)}function Mn(e){if(null!=e.tail)return e.head;throw new Error(In+"\\nParameter name: list")}function Bn(e){const t=e.tail;if(null!=t)return t;throw new Error(In+"\\nParameter name: list")}function Ln(){return Nn()}function Rn(e,t){return Tn(e,t)}function jn(e){return Tn(e,Nn())}function Wn(e){return Pn(e)}function Un(e){return Dn(e)}function zn(e){return Mn(e)}function Fn(e){return Bn(e)}function Gn(e){const t=function(e){e:for(;;){const t=e;if(Pn(t))return;{const n=Bn(t);if(Pn(n))return _t(Mn(t));e=n;continue e}}}(e);if(null==t)throw new Error(In);return kt(t)}function Hn(e){const t=0|Dn(e),n=Dt(new Array(t),0,t,null);return((e,t)=>{for(;;){const r=e,i=t;if(Pn(i))break;n[r]=Mn(i),e=r+1,t=Bn(i)}})(0,e),n}function Vn(e,t,n){let r=t,i=n;for(;!Pn(i);)r=e(r,Mn(i)),i=Bn(i);return r}function Yn(e){return Vn(((e,t)=>Tn(t,e)),Nn(),e)}function qn(e,t){Vn(((t,n)=>{e(n)}),void 0,t)}function Jn(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=Tn(e[t],n);return n}function Zn(e){return Jn(e,Nn())}function Xn(e){const t=Nn();let n=t;const r=e=>{n=Vn(((e,t)=>{const n=new En(t,void 0);return e.tail=n,n}),n,e)};if(je(e))e.forEach(r);else if(e instanceof En)qn(r,e);else{const t=He(e);try{for(;t["System.Collections.IEnumerator.MoveNext"]();)r(t["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{ze(t)}}const i=n,o=Nn();return i.tail=o,Bn(t)}function Kn(e,t){return Vn(((e,t)=>Tn(t,e)),t,Yn(e))}function Qn(e,t){const n=Nn(),r=Vn(((t,n)=>{const r=new En(e(n),void 0);return t.tail=r,r}),n,t),i=Nn();return r.tail=i,Bn(n)}function er(e,t){return function(e,t){return(t=>{e:for(;;){const n=t;if(Pn(n))return;{const r=e(Mn(n));if(null==r){t=Bn(n);continue e}return r}}})(t)}((t=>e(t)?_t(t):void 0),t)}function tr(e,t){return((t,n)=>{for(;;){const r=t,i=n;if(Pn(i))return;if(e(Mn(i)))return r;t=r+1,n=Bn(i)}})(0,t)}function nr(e,t){const n=Nn(),r=Vn(((t,n)=>{if(e(n)){const e=new En(n,void 0);return t.tail=e,e}return t}),n,t),i=Nn();return r.tail=i,Bn(n)}function rr(e,t){return null!=tr(e,t)}const ir="Enumeration already finished.",or="Enumeration has not started. Call MoveNext.",sr="The input sequence has an insufficient number of elements.";function ar(){throw new Error(or)}function cr(){throw new Error(ir)}class lr{constructor(e){this.f=e}toString(){let e=0,t="seq [";const n=He(this);try{for(;e<4&&n["System.Collections.IEnumerator.MoveNext"]();)e>0&&(t+="; "),t+=gt(n["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(t+="; ..."),t+"]"}finally{ze(n)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Ve(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class ur{constructor(e,t,n){this.current=e,this.next=t,this.dispose=n}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current()}"System.Collections.IEnumerator.get_Current"(){return this.current()}"System.Collections.IEnumerator.MoveNext"(){return this.next()}"System.Collections.IEnumerator.Reset"(){!function(){throw new Error("Reset is not supported on this enumerator.")}()}Dispose(){this.dispose()}}function fr(e,t,n){return new ur(e,t,n)}function dr(e,t,n){let r,i=!1,o=_t(e());const s=()=>{if(null!=o){const e=kt(o);try{n(e)}finally{o=void 0}}},a=()=>{try{s()}finally{r=void 0}};return fr((()=>(i||ar(),null!=r?kt(r):cr())),(()=>{if(i||(i=!0),null!=o){const e=kt(o);let n;try{n=t(e)}catch(e){throw a(),e}return null!=n?(r=n,!0):(a(),!1)}return!1}),s)}function hr(e){return function(e){return new lr(e)}(e)}function mr(e){return t="source",null==e&&function(e){throw new Error(e)}(t),He(e);var t}function pr(e){return hr((()=>He(e())))}function $r(e){return hr((()=>function(e){let t,n,r,i=!1,o=!1;const s=()=>{if(o=!0,null!=n){const e=n;try{ze(e)}finally{n=void 0}}if(null!=t){const e=t;try{ze(e)}finally{t=void 0}}};return fr((()=>(i?o&&cr():ar(),null!=r?kt(r):cr())),(()=>{let a;if(i||(i=!0),o)return!1;{let i;for(;null==i;){const o=[t,n];if(null!=o[0])if(null!=o[1]){const e=o[1];if(e["System.Collections.IEnumerator.MoveNext"]())r=_t(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),i=!0;else try{ze(e)}finally{n=void 0}}else{const e=o[0];e["System.Collections.IEnumerator.MoveNext"]()?(a=e["System.Collections.Generic.IEnumerator`1.get_Current"](),n=He(a)):(s(),i=!1)}else t=He(e)}return kt(i)}}),(()=>{o||s()}))}(e)))}function gr(){return pr((()=>new Array(0)))}function wr(e){return pr((()=>function(e,t){const n=Pt(void 0,1);return n[0]=e,n}(e)))}function yr(e){return e instanceof En?Hn(e):Array.from(e)}function vr(e){return je(e)?Zn(e):e instanceof En?e:function(e){let t,n;if(je(e))return Zn(e);if(e instanceof En)return e;{const r=Nn();let i=r;const o=He(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const e=o["System.Collections.Generic.IEnumerator`1.get_Current"]();t=i,n=new En(e,void 0),t.tail=n,i=n}}finally{ze(o)}const s=i,a=Nn();return s.tail=a,Bn(r)}}(e)}function br(e,t,n){return hr((()=>{let r=-1;return dr(e,(e=>(r=r+1|0,t(r,e))),n)}))}function Cr(e,t){return $r([e,t])}function xr(e,t,n){const r=mr(t);try{let t=!1;for(;!t&&r["System.Collections.IEnumerator.MoveNext"]();)t=n.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return t}finally{ze(r)}}function _r(e,t,n){const r=mr(n);try{let n=t;for(;r["System.Collections.IEnumerator.MoveNext"]();)n=e(n,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return n}finally{ze(r)}}function kr(e,t){_r(((t,n)=>{e(n)}),void 0,t)}function Sr(e,t){return n=()=>mr(t),r=t=>t["System.Collections.IEnumerator.MoveNext"]()?_t(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,i=e=>{ze(e)},hr((()=>dr(n,r,i)));var n,r,i}function Ir(e){return pr((()=>function(e){return e.slice().reverse()}(yr(e))))}function Ar(e,t){return hr((()=>{const n=mr(t);try{for(let t=1;t<=e;t++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(sr+"\\nParameter name: source");return function(e,t){return fr((()=>t["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>t["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{ze(t)}finally{e()}}))}((()=>{}),n)}catch(e){throw ze(n),e}}))}function Er(e,t){return pr((()=>$r(Sr(e,t))))}Symbol.iterator;const Or={None:0,LowerFirst:1,SnakeCase:2,SnakeCaseAllCaps:3,KebabCase:4};function Nr(e,t){return e.replace(/[a-z]?[A-Z]/g,(e=>1===e.length?e.toLowerCase():e.charAt(0)+t+e.charAt(1).toLowerCase()))}function Tr(e,t=Or.None){const n={},r=t;function i(e){throw new Error("Cannot infer key and value of "+String(e))}function o(e,t,r){e=function(e,t){switch(t){case Or.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case Or.SnakeCase:return Nr(e,"_");case Or.SnakeCaseAllCaps:return Nr(e,"_").toUpperCase();case Or.KebabCase:return Nr(e,"-");case Or.None:default:return e}}(e,t),n[e]=r}for(let t of e){let e=Or.None;if(null==t&&i(t),t instanceof wt){const n=t.cases()[t.tag];t=0===t.fields.length?n:[n].concat(t.fields),e=r}if(Array.isArray(t))switch(t.length){case 0:i(t);break;case 1:o(t[0],e,!0);break;case 2:const n=t[1];o(t[0],e,n);break;default:o(t[0],e,t.slice(1))}else"string"==typeof t?o(t,e,!0):i(t)}return n}function Pr(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}var Dr,Mr,Br;function Lr(){return Lr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lr.apply(this,arguments)}const Rr=function(e){return d("svg",Lr({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:"currentColor",fillOpacity:"10%"})),Mr||(Mr=d("path",{d:"M9 24h21M23 17l7 7-7 7",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Br||(Br=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 jr,Wr,Ur,zr;function Fr(){return Fr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fr.apply(this,arguments)}const Gr=function(e){return d("svg",Fr({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),jr||(jr=d("rect",{width:48,height:47,rx:8,fill:"currentColor",fillOpacity:"10%"})),Wr||(Wr=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"})),Ur||(Ur=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"})),zr||(zr=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 Hr,Vr,Yr,qr,Jr;function Zr(){return Zr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zr.apply(this,arguments)}const Xr=function(e){return d("svg",Zr({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Hr||(Hr=d("rect",{width:48,height:47,rx:8,fill:"currentColor",fillOpacity:"10%"})),Vr||(Vr=d("path",{d:"M24 9v13",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Yr||(Yr=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"})),qr||(qr=d("path",{d:"m29 17-5 5-5-5",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Jr||(Jr=d("path",{d:"M39 28H29v3H19v-3H9",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};var Kr,Qr,ei,ti,ni,ri;function ii(){return ii=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ii.apply(this,arguments)}const oi=function(e){return d("svg",ii({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Kr||(Kr=d("rect",{width:48,height:47,rx:8,fill:"currentColor",fillOpacity:"10%"})),Qr||(Qr=d("path",{d:"M24 18v6h-6",stroke:"#212121",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),ei||(ei=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"})),ti||(ti=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"})),ni||(ni=d("path",{stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",d:"M32 29v3"})),ri||(ri=d("circle",{cx:32,cy:35,r:1,fill:"currentColor"})))};var si,ai,ci;function li(){return li=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},li.apply(this,arguments)}const ui=function(e){return d("svg",li({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),si||(si=d("rect",{width:48,height:47,rx:8,fill:"#FEE2E2"})),ai||(ai=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"}))),ci||(ci=d("defs",null,d("clipPath",{id:"error_svg__a"},d("path",{fill:"#fff",transform:"translate(8 8)",d:"M0 0h32v32H0z"})))))};var fi,di,hi;function mi(){return mi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mi.apply(this,arguments)}const pi=function(e){return d("svg",mi({width:48,height:47,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),fi||(fi=d("rect",{width:48,height:47,rx:8,fill:"currentColor",fillOpacity:"10%"})),di||(di=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"}))),hi||(hi=d("defs",null,d("clipPath",{id:"completed_svg__a"},d("path",{fill:"#fff",transform:"translate(8 8)",d:"M0 0h32v32H0z"})))))};function $i(e){return vr(pr((()=>Cr(wr(["className","text-primary-base"]),pr((()=>e))))))}function gi(e){const t=Tr($i(e),1);return d(Rr,t)}function wi(e){const t=Tr($i(e),1);return d(Xr,t)}function yi(e){const t=Tr($i(e),1);return d(ui,t)}function vi(e){const t=Tr($i(e),1);return d(pi,t)}const bi=Re;var Ci,xi;function _i(){return _i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_i.apply(this,arguments)}const ki=function(e){return d("svg",_i({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ci||(Ci=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})),xi||(xi=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 Si,Ii;function Ai(){return Ai=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ai.apply(this,arguments)}const Ei=function(e){return d("svg",Ai({xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none"},e),Si||(Si=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"}))),Ii||(Ii=d("defs",null,d("clipPath",{id:"spinner-large_svg__a"},d("path",{fill:"#fff",d:"M0 0h48v48H0z"})))))};function Oi(e){const t=Tr(e,1);return d(Ei,t)}function Ni(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 Ti(e){let t;const n=Nt((e=>e.Phone),e.Support),r=Nt((e=>e.Email),e.Support);return d("p",ft(Zn([["className","text-sm text-gray-900 whitespace-pre-wrap leading-5"],(t=vr(pr((()=>{let t;return Cr(wr((t=`Need help? Contact ${At(e.CompanyName,"your employer")}`,d("span",{children:[t]}))),pr((()=>{let e;return Cr((e=[n,r],null==e[0]&&null==e[1]?wr(d("span",{children:[" for assistance"]})):Cr(wr(d("span",{children:[" at "]})),pr((()=>{let e,t,i;return Cr((e=n,null==e?wr(null):(t=e,wr((i=`${t}`,d("span",{children:[i]}))))),pr((()=>{let e;return Cr((e=[n,r],wr(null!=e[0]&&null!=e[1]?d("span",{children:[" or "]}):null)),pr((()=>wr(null==r?null:d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",href:`mailto:${r}`,children:r})))))})))})))),pr((()=>wr(d("span",{children:["."]})))))})))}))),["children",bi.Children.toArray(Array.from(t))])])))}function Pi(e,t,n,r){let i;return d("button",ft(Zn([["className",`w-full sm:w-[240px] ${n?"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 ${At(e,"")}`],["type","button"],["onClick",e=>{t()}],["disabled",n],(i=vr(pr((()=>n?wr(function(e){const t=Tr([["className","animate-spin"]],1);return d(ki,t)}()):r))),["children",bi.Children.toArray(Array.from(i))])])))}const Di=Oi([["className","text-primary-base animate-spin"]]),Mi=e=>{K((()=>{const t=e();return()=>{t.Dispose()}}))},Bi=(e,t)=>{K((()=>{const t=e();return()=>{t.Dispose()}}),t)},Li=e=>{Q((()=>{const t=e();return()=>{t.Dispose()}}))};function Ri(e){return{Dispose(){e()}}}function ji(e){return bi.useState(e)}function Wi(e){Mi(e)}function Ui(e,t){Bi(e,t)}function zi(e){Fi(e,[])}function Fi(e,t){Bi((t=>(e(),Ri((()=>{})))),t)}function Gi(e){return bi.useRef(e)}function Hi(e,t){const n=At(t,[]);return bi.useMemo(e,n)}function Vi(e){const t=Gi(e),n=function(e,n){const r=At([],[]);return bi.useCallback((e=>t.current(e)),r)}();var r;return r=()=>{t.current=e},Li((e=>(r(),Ri((()=>{}))))),n}function Yi(e){return bi.useState(e)}function qi(e,t,n){const r=[yi([]),Ni(e),d("p",{className:"text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4 mb-8",children:t}),At(n,null)];return d(m,{},...r)}function Ji(e,t,n){return qi(e,t,Ot((e=>{let t;return d("div",ft(Zn([["className","mt-8"],(t=[Ti(e)],["children",bi.Children.toArray(Array.from(t))])])))}),n))}function Zi(e){let t;const n=e.reissueMagicLink,r=Yi(!1);return qi("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",ft(Zn([["className","mt-1 sm:mt-8 text-base leading-7 text-gray-900 whitespace-pre-wrap"],(t=[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),n())},children:"sign in with email instead"}),d("span",{children:["."]})],["children",bi.Children.toArray(Array.from(t))])]))))}function Xi(e){return Ji("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 Ki(){return qi("Something went wrong","We are unable to load our application at this time. Please wait a few minutes before trying again.",void 0)}const Qi="fade-in",eo=d("div",ft(Zn([["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,t,n;const r=[(e=Zn([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:bi.Children.toArray(Array.from(e))})),(t=`Copyright © ${n=Vt(),Yt(n)} Flare. ABN 46 607 120 892.`,d("p",{children:[t]}))];return["children",bi.Children.toArray(Array.from(r))]})()])));function to(){let e,t;return d("div",ft(Zn([["className",vn(" ",[Qi,"min-h-full flex flex-col justify-between w-full sm:w-[640px] mx-auto text-center"])],(e=[d("div",ft(Zn([["className","flex flex-col mt-10 mx-4 sm:mt-20 justify-center items-center"],(t=[Oi([["className","h-12 w-12 text-primary-base animate-spin"]]),d("h1",{className:"mt-4 font-bold text-2xl leading-7 sm:text-3xl text-gray-900",children:"Authenticating your account"}),d("p",{className:"mt-6 sm:mt-8 text-lg leading-7 text-gray-900",children:"This may take a few seconds, please don’t close this window."})],["children",bi.Children.toArray(Array.from(t))])]))),d("div",{className:"mb-6 sm:mb-8 px-4",children:bi.Children.toArray([eo])})],["children",bi.Children.toArray(Array.from(e))])])))}const no=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,ro=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,io=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function oo(e){function t(e){return e.replace(ro,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(no.test(n))return function(e,...t){if(0===t.length)return e.trim();const n="["+nn(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}(n,"{","}","(",")");if(ro.test(n))return t(n);if(io.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function so(e,t){try{return t.contents=oo(e),!0}catch(e){return!1}}class ao{constructor(e,t){const n=new vt(null);this.comparer=t,n.contents=this,this.hashMap=new Map([]),this["init@8-1"]=1;const r=He(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();po(n.contents,e[0],e[1])}}finally{ze(r)}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(e){return Array.from(this)}"System.Collections.IEnumerable.GetEnumerator"(){return He(this)}GetEnumerator(){return He($r(this.hashMap.values()))}[Symbol.iterator](){return Ve(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(e){po(this,e[0],e[1])}"System.Collections.Generic.ICollection`1.Clear"(){uo(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(e){const t=lo(this,e[0]);let n;switch(n=null!=t&&ot(t[1],e[1])?0:1,n){case 0:return!0;case 1:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){var n;n=(n,r)=>{e[t+n]=r},_r(((e,t)=>(n(e,t),e+1|0)),0,this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|fo(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(e){const t=lo(this,e[0]);return null!=t&&(ot(t[1],e[1])&&go(this,e[0]),!0)}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(e,t){po(this,e,t)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(e){return $o(this,e)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(e){return ho(this,e)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(e,t){mo(this,e,t)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const e=this;return yr(pr((()=>Sr((e=>e[0]),e))))}"System.Collections.Generic.IDictionary`2.Remove2B595"(e){return go(this,e)}"System.Collections.Generic.IDictionary`2.TryGetValue23A0B95A"(e,t){const n=lo(this,e);if(null!=n){const e=n;return t.contents=e[1],!0}return!1}"System.Collections.Generic.IDictionary`2.get_Values"(){const e=this;return yr(pr((()=>Sr((e=>e[1]),e))))}get size(){return 0|fo(this)}clear(){uo(this)}delete(e){return go(this,e)}entries(){return Sr((e=>[e[0],e[1]]),this)}get(e){return ho(this,e)}has(e){return $o(this,e)}keys(){return Sr((e=>e[0]),this)}set(e,t){return mo(this,e,t),this}values(){return Sr((e=>e[1]),this)}forEach(e,t){const n=this;kr((t=>{e(t[1],t[0],n)}),n)}}function co(e,t){const n=0|e.comparer.GetHashCode(t);let r,i=null;return r=[(o=e.hashMap,s=n,a=new vt((()=>i),(e=>{i=e})),!!o.has(s)&&(a.contents=o.get(s),!0)),i],r[0]?[!0,n,r[1].findIndex((n=>e.comparer.Equals(t,n[0])))]:[!1,n,-1];var o,s,a}function lo(e,t){const n=co(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return Pr(e.hashMap,n[1])[n[2]];case 1:return}}function uo(e){e.hashMap.clear()}function fo(e){let t=0,n=He(e.hashMap.values());try{for(;n["System.Collections.IEnumerator.MoveNext"]();)t=t+n["System.Collections.Generic.IEnumerator`1.get_Current"]().length|0}finally{ze(n)}return 0|t}function ho(e,t){const n=lo(e,t);if(null!=n)return n[1];throw new Error("The item was not found in collection")}function mo(e,t,n){const r=co(e,t);r[0]?r[2]>-1?Pr(e.hashMap,r[1])[r[2]]=[t,n]:Pr(e.hashMap,r[1]).push([t,n]):e.hashMap.set(r[1],[[t,n]])}function po(e,t,n){const r=co(e,t);if(r[0]){if(r[2]>-1){const e=gn("An item with the same key has already been added. Key: {0}",t);throw new Error(e)}Pr(e.hashMap,r[1]).push([t,n])}else e.hashMap.set(r[1],[[t,n]])}function $o(e,t){const n=co(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function go(e,t){const n=co(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return Pr(e.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}class wo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Ok","Error"]}}function yo(e,t){return 0===t.tag?new wo(0,e(t.fields[0])):new wo(1,t.fields[0])}function vo(e,t){return 0===t.tag?e(t.fields[0]):new wo(1,t.fields[0])}class bo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of2","Choice2Of2"]}}class Co extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of3","Choice2Of3","Choice3Of3"]}}function xo(e,t){return wn(t)?new wo(1,hn(un("%s cannot be null or empty"))(e)):new wo(0,t)}function _o(e){const t=function(e){let t;const n=function(e,t){const n=function(e,t,n=0){return e.lastIndex=n,e.exec(t)}(tn(".*?@(.*)"),t);return null!=n?Fn(vr(pr((()=>Sr((e=>e||""),n))))):void 0}(0,e);switch(t=null!=n?Wn(n)?1:Wn(Fn(n))?0:1:1,t){case 0:return e;case 1:return}}(e);return null!=t?new wo(0,t):new wo(1,"Email is not in the correct format")}const ko=e=>({tag:"ok",value:e}),So=e=>({tag:"error",error:e});class Io{constructor(e){this.uri=e}static isAbsoluteUri(e){try{return new URL(e),!0}catch(e){return!1}}static tryCreateWithKind(e,t){switch(t){case 1:return Io.isAbsoluteUri(e)?ko(new Io({original:e,value:new URL(e),kind:t})):So("Invalid URI: The format of the URI could not be determined.");case 2:return Io.isAbsoluteUri(e)?So("URI is not a relative path."):ko(new Io({original:e,value:e,kind:t}));case 0:return Io.isAbsoluteUri(e)?ko(new Io({original:e,value:new URL(e),kind:1})):ko(new Io({original:e,value:e,kind:2}));default:return t}}static tryCreateWithBase(e,t){return 1!==e.uri.kind?So("Base URI should have Absolute kind"):"string"==typeof t?ko(new Io({original:new URL(t,e.uri.value).toString(),value:new URL(t,e.uri.value),kind:1})):2===t.uri.kind?ko(new Io({original:new URL(t.uri.value,e.uri.value).toString(),value:new URL(t.uri.value,e.uri.value),kind:1})):ko(e)}static tryCreateImpl(e,t=1){return"string"==typeof e?"number"!=typeof t?So("Kind must be specified when the baseUri is a string."):Io.tryCreateWithKind(e,t):"number"==typeof t?So("Kind should not be specified when the baseUri is an absolute Uri."):Io.tryCreateWithBase(e,t)}static create(e,t=1){const n=Io.tryCreateImpl(e,t);switch(n.tag){case"ok":return n.value;case"error":throw new Error(n.error);default:return n}}static tryCreate(e,t=1,n){const r=Io.tryCreateImpl(e,t);switch(r.tag){case"ok":return n.contents=r.value,!0;case"error":return!1;default:return r}}toString(){switch(this.uri.kind){case 1:return decodeURIComponent(this.asUrl().toString());case 2:return this.uri.value;default:return this.uri}}asUrl(){switch(this.uri.kind){case 1:return this.uri.value;case 2:throw new Error("This operation is not supported for a relative URI.");default:return this.uri}}get isAbsoluteUri(){return 1===this.uri.kind}get absoluteUri(){return this.asUrl().href}get scheme(){const e=this.asUrl().protocol;return e.slice(0,e.length-1)}get host(){return this.asUrl().host}get absolutePath(){return this.asUrl().pathname}get query(){return this.asUrl().search}get pathAndQuery(){const e=this.asUrl();return e.pathname+e.search}get fragment(){return this.asUrl().hash}get originalString(){return this.uri.original}}class Ao extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProfileId"]}}function Eo(e){return new Ao(0,e)}function Oo(e){return e.fields[0]}class No extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["InviteCode"]}}function To(e){return function(e){return!yn(e)}(e)?new wo(0,new No(0,e)):new wo(1,"Invalid invite code format.")}class Po extends yt{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class Do extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Logo"]}}class Mo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompanyName"]}}class Bo extends yt{constructor(e,t){super(),this.Email=e,this.Phone=t}}class Lo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Email"]}}class Ro extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Phone"]}}const jo=e=>yo((e=>new Lo(0,e)),vo(_o,xo("Email",e)));function Wo(e){return e.fields[0]}const Uo=e=>yo((e=>new Ro(0,e)),xo("Phone",e));function zo(e){return e.fields[0]}function Fo(e){return yn(e)?new wo(1,"Invalid company name."):new wo(0,new Mo(0,e))}function Go(e){return e.fields[0]}function Ho(e){return function(e){try{const t=Io.create(e);return t.isAbsoluteUri?[!0,t]:[!1,void 0]}catch(e){return[!1,void 0]}}(e)[0]?new wo(0,new Do(0,e)):new wo(1,"Invalid logo url.")}function Vo(e){return e.fields[0]}class Yo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SecondFactorCode"]}}class qo extends yt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.NumberOfAttempts=0|n,this.DateOfLastAttempt=r}}class Jo extends yt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.SecondFactor=n,this.Branding=r}}class Zo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessStepId"]}}class Xo extends yt{constructor(e,t,n){super(),this.Id=e,this.DisplayName=t,this.ComponentTagName=n}}const Ko=new Xo(new Zo(0,"personal-details"),"Personal Details","apollo-personal-details-app"),Qo=new Xo(new Zo(0,"emergency-contacts"),"Emergency Contacts","apollo-emergency-contacts-app"),es=new Xo(new Zo(0,"bank"),"Bank","bank-component"),ts=new Xo(new Zo(0,"tax"),"Tax","tax-component"),ns=new Xo(new Zo(0,"super"),"Super","super-selection-app"),rs=new Xo(new Zo(0,"app-workplace-linking"),"App Workplace Linking","workplace-link"),is=new Zo(0,"benefits-onboarding"),os=new Xo(is,"Benefits","benefits-onboarding"),ss=new Xo(new Zo(0,"workplace-policy"),"Workplace-policy","apollo-workplace-policies-app"),as=new Xo(new Zo(0,"Benefits-Discrete"),"Benefits","benefits-onboarding");function cs(e){return new Zo(0,e)}function ls(e){return e.fields[0]}class us extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessConfigId"]}}class fs extends yt{constructor(e,t,n){super(),this.Id=e,this.Name=t,this.Steps=n}}const ds=new fs(new us(0,oo("00000000-0000-0000-0000-000000000000")),"onboarding-default",Zn([es,ts,ns])),hs=new fs(new us(0,oo("00000000-0000-0000-0000-000000000001")),"PEBTS",Zn([Ko,Qo,es,ts,ns])),ms=new fs(new us(0,oo("00000000-0000-0000-0000-000000000002")),"PS",Zn([Ko,ns])),ps=new fs(new us(0,oo("00000000-0000-0000-0000-000000000003")),"BS",Zn([es,ns])),$s=new fs(new us(0,oo("00000000-0000-0000-0000-000000000004")),"Super",jn(ns)),gs=new fs(new us(0,oo("00000000-0000-0000-0001-000000000000")),"App Workplace Linking",jn(rs)),ws=new fs(new us(0,oo("00000000-0000-0000-0000-000000000005")),"Tax",jn(ts)),ys=new fs(new us(0,oo("00000000-0000-0000-0000-000000000006")),"PBTS",Zn([Ko,es,ts,ns])),vs=new fs(new us(0,oo("00000000-0000-0000-0000-000000000007")),"PEBTSPo",Zn([Ko,Qo,es,ts,ns,ss])),bs=new fs(new us(0,oo("00000000-0000-0000-0000-000000000008")),"PEBSPo",Zn([Ko,Qo,es,ns,ss])),Cs=new fs(new us(0,oo("00000000-0000-0000-0000-000000000009")),"PESPo",Zn([Ko,Qo,ns,ss])),xs=new fs(new us(0,oo("00000000-0000-0000-0000-000000000010")),"PETSPo",Zn([Ko,Qo,ts,ns,ss])),_s=new fs(new us(0,oo("00000000-0000-0000-0002-000000000000")),"Bo",jn(as)),ks=new fs(new us(0,oo("00000000-0000-0000-0000-000000000011")),"PETS",Zn([Ko,Qo,ts,ns])),Ss=new fs(new us(0,oo("00000000-0000-0000-0000-000000000012")),"PEBS",Zn([Ko,Qo,es,ns])),Is=new fs(new us(0,oo("00000000-0000-0000-0000-000000000013")),"PES",Zn([Ko,Qo,ns])),As=new fs(new us(0,oo("00000000-0000-0000-0000-000000000014")),"PBTSPo",Zn([Ko,es,ts,ns,ss])),Es=new ao([[ds.Id,ds],[hs.Id,hs],[ms.Id,ms],[ps.Id,ps],[$s.Id,$s],[gs.Id,gs],[ws.Id,ws],[ys.Id,ys],[vs.Id,vs],[bs.Id,bs],[Cs.Id,Cs],[xs.Id,xs],[_s.Id,_s],[ks.Id,ks],[Ss.Id,Ss],[Is.Id,Is],[As.Id,As]],{Equals:ot,GetHashCode:nt});function Os(e){return e.fields[0]}class Ns extends yt{constructor(e,t){super(),this.ActivatedDates=e,this.CompletedSteps=t}}class Ts extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}function Ps(e){return 2===e.tag}class Ds extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessInstanceId"]}}function Ms(e){return new Ds(0,e)}function Bs(e){return e.fields[0]}class Ls extends yt{constructor(e,t){super(),this.Name=e,this.Value=t}}class Rs extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TagName"]}}class js extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TagValue"]}}class Ws extends yt{constructor(e,t,n,r,i,o,s,a,c,l,u){super(),this.Id=e,this.Configuration=t,this.DateCreated=n,this.Status=r,this.Invite=i,this.Tags=o,this.Creator=s,this.StepsConfiguration=a,this.JourneyType=c,this.IsBenefitsStepEnabled=l,this.PaySetupComplete=u}}class Us extends yt{constructor(e){super(),this.BenefitsOnboarding=e}}class zs extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Default","InfoRequest","AppInvite","BenefitsExisting","BenefitsOnboarding"]}}class Fs extends yt{constructor(e){super(),this.Category=e}}class Gs extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["WhenEnabled","Always"]}}function Hs(){return St(document.getElementById("external-loading-page-container"))}function Vs(){return null!=Hs()}var Ys,qs=[],Js="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"}(Ys||(Ys={}));var Zs,Xs=function(e){return Object.freeze(e)},Ks=function(e,t){this.inlineSize=e,this.blockSize=t,Xs(this)},Qs=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Xs(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),ea=function(e){return e instanceof SVGElement&&"getBBox"in e},ta=function(e){if(ea(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e,o=i.offsetWidth,s=i.offsetHeight;return!(o||s||e.getClientRects().length)},na=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},ra="undefined"!=typeof window?window:{},ia=new WeakMap,oa=/auto|scroll/,sa=/^tb|vertical/,aa=/msie|trident/i.test(ra.navigator&&ra.navigator.userAgent),ca=function(e){return parseFloat(e||"0")},la=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new Ks((n?t:e)||0,(n?e:t)||0)},ua=Xs({devicePixelContentBoxSize:la(),borderBoxSize:la(),contentBoxSize:la(),contentRect:new Qs(0,0,0,0)}),fa=function(e,t){if(void 0===t&&(t=!1),ia.has(e)&&!t)return ia.get(e);if(ta(e))return ia.set(e,ua),ua;var n=getComputedStyle(e),r=ea(e)&&e.ownerSVGElement&&e.getBBox(),i=!aa&&"border-box"===n.boxSizing,o=sa.test(n.writingMode||""),s=!r&&oa.test(n.overflowY||""),a=!r&&oa.test(n.overflowX||""),c=r?0:ca(n.paddingTop),l=r?0:ca(n.paddingRight),u=r?0:ca(n.paddingBottom),f=r?0:ca(n.paddingLeft),d=r?0:ca(n.borderTopWidth),h=r?0:ca(n.borderRightWidth),m=r?0:ca(n.borderBottomWidth),p=f+l,$=c+u,g=(r?0:ca(n.borderLeftWidth))+h,w=d+m,y=a?e.offsetHeight-w-e.clientHeight:0,v=s?e.offsetWidth-g-e.clientWidth:0,b=i?p+g:0,C=i?$+w:0,x=r?r.width:ca(n.width)-b-v,_=r?r.height:ca(n.height)-C-y,k=x+p+v+g,S=_+$+y+w,I=Xs({devicePixelContentBoxSize:la(Math.round(x*devicePixelRatio),Math.round(_*devicePixelRatio),o),borderBoxSize:la(k,S,o),contentBoxSize:la(x,_,o),contentRect:new Qs(f,c,x,_)});return ia.set(e,I),I},da=function(e,t,n){var r=fa(e,n),i=r.borderBoxSize,o=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(t){case Ys.DEVICE_PIXEL_CONTENT_BOX:return s;case Ys.BORDER_BOX:return i;default:return o}},ha=function(e){var t=fa(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=Xs([t.borderBoxSize]),this.contentBoxSize=Xs([t.contentBoxSize]),this.devicePixelContentBoxSize=Xs([t.devicePixelContentBoxSize])},ma=function(e){if(ta(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},pa=function(){var e=1/0,t=[];qs.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new ha(t.target),i=ma(t.target);r.push(n),t.lastReportedSize=da(t.target,t.observedBox),i<e&&(e=i)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++)(0,r[n])();return e},$a=function(e){qs.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(ma(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},ga=[],wa=0,ya={attributes:!0,characterData:!0,childList:!0,subtree:!0},va=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],ba=function(e){return void 0===e&&(e=0),Date.now()+e},Ca=!1,xa=function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!Ca){Ca=!0;var n,r=ba(e);n=function(){var n=!1;try{n=function(){var e,t=0;for($a(t);qs.some((function(e){return e.activeTargets.length>0}));)t=pa(),$a(t);return qs.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:Js}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=Js),window.dispatchEvent(e)),t>0}()}finally{if(Ca=!1,e=r-ba(),!wa)return;n?t.run(1e3):e>0?t.run(e):t.start()}},function(e){if(!Zs){var t=0,n=document.createTextNode("");new MutationObserver((function(){return ga.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),Zs=function(){n.textContent="".concat(t?t--:t++)}}ga.push(e),Zs()}((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,ya)};document.body?t():ra.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),va.forEach((function(t){return ra.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),va.forEach((function(t){return ra.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}(),_a=new xa,ka=function(e){!wa&&e>0&&_a.start(),!(wa+=e)&&_a.stop()},Sa=function(){function e(e,t){this.target=e,this.observedBox=t||Ys.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=da(this.target,this.observedBox,!0);return e=this.target,ea(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Ia=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},Aa=new WeakMap,Ea=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},Oa=function(){function e(){}return e.connect=function(e,t){var n=new Ia(e,t);Aa.set(e,n)},e.observe=function(e,t,n){var r=Aa.get(e),i=0===r.observationTargets.length;Ea(r.observationTargets,t)<0&&(i&&qs.push(r),r.observationTargets.push(new Sa(t,n&&n.box)),ka(1),_a.schedule())},e.unobserve=function(e,t){var n=Aa.get(e),r=Ea(n.observationTargets,t),i=1===n.observationTargets.length;r>=0&&(i&&qs.splice(qs.indexOf(n),1),n.observationTargets.splice(r,1),ka(-1))},e.disconnect=function(e){var t=this,n=Aa.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Na=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.");Oa.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!na(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Oa.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!na(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Oa.unobserve(this,e)},e.prototype.disconnect=function(){Oa.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class Ta{constructor(e=!1){this._id=0,this._cancelled=e,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,e]of this._listeners)e()}}addListener(e){const t=this._id;return this._listeners.set(this._id++,e),t}removeListener(e){return this._listeners.delete(e)}register(e,t){const n=this,r=this.addListener(null==t?e:()=>e(t));return{Dispose(){n.removeListener(r)}}}Dispose(){}}class Pa extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Pa.prototype)}}class Da{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>Da.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function Ma(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new Pa);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack((()=>{try{e(t)}catch(e){t.onError(Ct(e))}}));else try{e(t)}catch(e){t.onError(Ct(e))}}}const Ba=new class{Bind(e,t){return function(e,t){return Ma((n=>{e({onSuccess:e=>{try{t(e)(n)}catch(e){n.onError(Ct(e))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})}))}(e,t)}Combine(e,t){return this.Bind(e,(()=>t))}Delay(e){return Ma((t=>e()(t)))}For(e,t){const n=e[Symbol.iterator]();let r=n.next();return this.While((()=>!r.done),this.Delay((()=>{const e=t(r.value);return r=n.next(),e})))}Return(e){return function(e){return Ma((t=>t.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,t){return Ma((n=>{e({onSuccess:e=>{t(),n.onSuccess(e)},onError:e=>{t(),n.onError(e)},onCancel:e=>{t(),n.onCancel(e)},cancelToken:n.cancelToken,trampoline:n.trampoline})}))}TryWith(e,t){return Ma((n=>{e({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:e=>{try{t(e)(n)}catch(e){n.onError(Ct(e))}}})}))}Using(e,t){return this.TryFinally(t(e),(()=>e.Dispose()))}While(e,t){return e()?this.Bind(t,(()=>this.While(e,t))):this.Return(void 0)}Zero(){return Ma((e=>e.onSuccess(void 0)))}};function La(e){}const Ra=new Ta;function ja(e){return Ma((t=>{e({onSuccess:e=>t.onSuccess(function(e){return new bo(0,e)}(e)),onError:e=>t.onSuccess(function(e){return new bo(1,e)}(e)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})}))}function Wa(e){return Ma((t=>e([t.onSuccess,t.onError,t.onCancel])))}function Ua(e){return Ma((t=>{let n;const r=setTimeout((()=>{t.cancelToken.removeListener(n),t.onSuccess(void 0)}),e);n=t.cancelToken.addListener((()=>{clearTimeout(r),t.onCancel(new Pa)}))}))}function za(e,t){return function(e,t){return Fa(e,t)}(e,t)}function Fa(e,t,n,r,i){"function"!=typeof t&&(i=t,t=void 0);const o=new Da;e({onSuccess:t||La,onError:n||La,onCancel:r||La,cancelToken:i||Ra,trampoline:o})}class Ga extends yt{constructor(e,t,n){super(),this.instanceId=0|e,this.name=t,this.type=n}}function Ha(e){Vs()||window.parent.postMessage(e,"*")}function Va(){Ha(function(e,t){const n={type:"contentResized",sender:"flare"};return n.height=e,n.width=-1,n}(document.body.offsetHeight))}function Ya(e,t,n){const r=function(e,t){const n=er((t=>ot(t.Id,e)),t.Configuration.Steps),r=hn(fn("Invalid ProcessStep Id %A%P()",[e])),i=n;return null==i?new wo(1,r):new wo(0,i)}(e,t);1===r.tag||Ha(function(e,t,n,r){const i={type:"stepSubmitSuccess",sender:"flare"};return i.workflow=function(e){return new Ga(Bs(e.Id),e.Configuration.Name,Os(e.Configuration.Id))}(n),i.profileId=Oo(r),i.step={name:t,type:ls(e)},i}(e,r.fields[0].DisplayName,t,n))}function qa(e,t,n,r){Ha(function(e,t,n,r){const i={type:"workflowSubmitSuccess",sender:"flare"};return i.workflow=new Ga(Bs(e),t,Os(n)),i.profileId=Oo(r),i}(e,t,n,r))}function Ja(e){Vs()&&function(e,t){za(Ba.Delay((()=>Ba.Bind(Ua(e),(()=>(function(){let e,t;const n=Hs();kr((t=document.body,e=e=>t.removeChild(e),t=>{e(t)}),It(n))}(),Ha({type:"appReady",sender:"flare"}),Va(),Ba.Zero()))))))}(e)}function Za(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Za(Object(n),!0).forEach((function(t){ec(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Za(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ka(e){return Ka="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},Ka(e)}function Qa(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ec(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],s=!0,a=!1;try{for(n=n.call(e);!(s=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);s=!0);}catch(e){a=!0,i=e}finally{try{s||null==n.return||n.return()}finally{if(a)throw i}}return o}}(e,t)||rc(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nc(e){return function(e){if(Array.isArray(e))return ic(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||rc(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 rc(e,t){if(e){if("string"==typeof e)return ic(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ic(e,t):void 0}}function ic(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var oc=function(){},sc={},ac={},cc=null,lc={mark:oc,measure:oc};try{"undefined"!=typeof window&&(sc=window),"undefined"!=typeof document&&(ac=document),"undefined"!=typeof MutationObserver&&(cc=MutationObserver),"undefined"!=typeof performance&&(lc=performance)}catch(c){}var uc=(sc.navigator||{}).userAgent,fc=void 0===uc?"":uc,dc=sc,hc=ac,mc=cc,pc=lc,$c=(dc.document,!!hc.documentElement&&!!hc.head&&"function"==typeof hc.addEventListener&&"function"==typeof hc.createElement),gc=~fc.indexOf("MSIE")||~fc.indexOf("Trident/"),wc="___FONT_AWESOME___",yc="fa",vc="svg-inline--fa",bc="data-fa-i2svg",Cc="data-fa-pseudo-element",xc="data-fa-pseudo-element-pending",_c="data-prefix",kc="data-icon",Sc="fontawesome-i2svg",Ic="async",Ac=["HTML","HEAD","STYLE","SCRIPT"],Ec=function(){try{return!0}catch(e){return!1}}(),Oc={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"},Nc={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},Tc={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},Pc={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},Dc=/fa[srltdbk]?[\-\ ]/,Mc="fa-layers-text",Bc=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,Lc={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},Rc=[1,2,3,4,5,6,7,8,9,10],jc=Rc.concat([11,12,13,14,15,16,17,18,19,20]),Wc=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Uc={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},zc=[].concat(nc(Object.keys(Nc)),["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",Uc.GROUP,Uc.SWAP_OPACITY,Uc.PRIMARY,Uc.SECONDARY]).concat(Rc.map((function(e){return"".concat(e,"x")}))).concat(jc.map((function(e){return"w-".concat(e)}))),Fc=dc.FontAwesomeConfig||{};hc&&"function"==typeof hc.querySelector&&[["data-family-prefix","familyPrefix"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=tc(e,2),n=t[0],r=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=hc.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=i&&(Fc[r]=i)}));var Gc=Xa(Xa({},{familyPrefix:yc,styleDefault:"solid",replacementClass:vc,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0}),Fc);Gc.autoReplaceSvg||(Gc.observeMutations=!1);var Hc={};Object.keys(Gc).forEach((function(e){Object.defineProperty(Hc,e,{enumerable:!0,set:function(t){Gc[e]=t,Vc.forEach((function(e){return e(Hc)}))},get:function(){return Gc[e]}})})),dc.FontAwesomeConfig=Hc;var Vc=[],Yc=16,qc={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},Jc="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Zc(){for(var e=12,t="";e-- >0;)t+=Jc[62*Math.random()|0];return t}function Xc(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Kc(e){return e.classList?Xc(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function Qc(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function el(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function tl(e){return e.size!==qc.size||e.x!==qc.x||e.y!==qc.y||e.rotate!==qc.rotate||e.flipX||e.flipY}var nl=':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 rl(){var e=yc,t=vc,n=Hc.familyPrefix,r=Hc.replacementClass,i=nl;if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),a=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(s,"--".concat(n,"-")).replace(a,".".concat(r))}return i}var il=!1;function ol(){Hc.autoAddCss&&!il&&(function(e){if(e&&$c){var t=hc.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=hc.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i],s=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(r=o)}hc.head.insertBefore(t,r)}}(rl()),il=!0)}var sl={mixout:function(){return{dom:{css:rl,insertCss:ol}}},hooks:function(){return{beforeDOMElementCreation:function(){ol()},beforeI2svg:function(){ol()}}}},al=dc||{};al[wc]||(al[wc]={}),al[wc].styles||(al[wc].styles={}),al[wc].hooks||(al[wc].hooks={}),al[wc].shims||(al[wc].shims=[]);var cl=al[wc],ll=[],ul=!1;function fl(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,o=void 0===i?[]:i;return"string"==typeof e?Qc(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Qc(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(fl).join(""),"</").concat(t,">")}function dl(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}$c&&((ul=(hc.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(hc.readyState))||hc.addEventListener("DOMContentLoaded",(function e(){hc.removeEventListener("DOMContentLoaded",e),ul=1,ll.map((function(e){return e()}))})));var hl=function(e,t,n,r){var i,o,s,a=Object.keys(e),c=a.length,l=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,s=e[a[0]]):(i=0,s=n);i<c;i++)s=l(s,e[o=a[i]],o,e);return s};function ml(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e);return 1===t.length?t[0].toString(16):null}function pl(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function $l(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,i=pl(t);"function"!=typeof cl.hooks.addPack||r?cl.styles[e]=Xa(Xa({},cl.styles[e]||{}),i):cl.hooks.addPack(e,pl(t)),"fas"===e&&$l("fa",t)}var gl=cl.styles,wl=cl.shims,yl=Object.values(Tc),vl=null,bl={},Cl={},xl={},_l={},kl={},Sl=Object.keys(Oc);var Il,Al=function(){var e=function(e){return hl(gl,(function(t,n,r){return t[r]=hl(n,e,{}),t}),{})};bl=e((function(e,t,n){if(t[3]&&(e[t[3]]=n),t[2]){var r=t[2].filter((function(e){return"number"==typeof e}));r.forEach((function(t){e[t.toString(16)]=n}))}return e})),Cl=e((function(e,t,n){if(e[n]=n,t[2]){var r=t[2].filter((function(e){return"string"==typeof e}));r.forEach((function(t){e[t]=n}))}return e})),kl=e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in gl||Hc.autoFetchSvg,n=hl(wl,(function(e,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||t||(i="fas"),"string"==typeof r&&(e.names[r]={prefix:i,iconName:o}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:i,iconName:o}),e}),{names:{},unicodes:{}});xl=n.names,_l=n.unicodes,vl=Dl(Hc.styleDefault)};function El(e,t){return(bl[e]||{})[t]}function Ol(e,t){return(kl[e]||{})[t]}function Nl(e){return xl[e]||{prefix:null,iconName:null}}function Tl(){return vl}Il=function(e){vl=Dl(e.styleDefault)},Vc.push(Il),Al();var Pl=function(){return{prefix:null,iconName:null,rest:[]}};function Dl(e){var t=Oc[e],n=Nc[e]||Nc[t],r=e in cl.styles?e:null;return n||r||null}function Ml(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,n=void 0!==t&&t,r=null,i=e.reduce((function(e,t){var i=function(e,t){var n,r=t.split("-"),i=r[0],o=r.slice(1).join("-");return i!==e||""===o||(n=o,~zc.indexOf(n))?null:o}(Hc.familyPrefix,t);if(gl[t]?(t=yl.includes(t)?Pc[t]:t,r=t,e.prefix=t):Sl.indexOf(t)>-1?(r=t,e.prefix=Dl(t)):i?e.iconName=i:t!==Hc.replacementClass&&e.rest.push(t),!n&&e.prefix&&e.iconName){var o="fa"===r?Nl(e.iconName):{},s=Ol(e.prefix,e.iconName);o.prefix&&(r=null),e.iconName=o.iconName||s||e.iconName,e.prefix=o.prefix||e.prefix,"far"!==e.prefix||gl.far||!gl.fas||Hc.autoFetchSvg||(e.prefix="fas")}return e}),Pl());return"fa"!==i.prefix&&"fa"!==r||(i.prefix=Tl()||"fas"),i}var Bl=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(t){e.definitions[t]=Xa(Xa({},e.definitions[t]||{}),i[t]),$l(t,i[t]);var n=Tc[t];n&&$l(n,i[t]),Al()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],i=r.prefix,o=r.iconName,s=r.icon,a=s[2];e[i]||(e[i]={}),a.length>0&&a.forEach((function(t){"string"==typeof t&&(e[i][t]=s)})),e[i][o]=s})),e}}],n&&Qa(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Ll=[],Rl={},jl={},Wl=Object.keys(jl);function Ul(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return(Rl[e]||[]).forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function zl(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(Rl[e]||[]).forEach((function(e){e.apply(null,n)}))}function Fl(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return jl[e]?jl[e].apply(null,t):void 0}function Gl(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||Tl();if(t)return t=Ol(n,t)||t,dl(Hl.definitions,n,t)||dl(cl.styles,n,t)}var Hl=new Bl,Vl={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return $c?(zl("beforeI2svg",e),Fl("pseudoElements2svg",e),Fl("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.autoReplaceSvgRoot;!1===Hc.autoReplaceSvg&&(Hc.autoReplaceSvg=!0),Hc.observeMutations=!0,e=function(){ql({autoReplaceSvgRoot:n}),zl("watch",t)},$c&&(ul?setTimeout(e,0):ll.push(e))}},Yl={noAuto:function(){Hc.autoReplaceSvg=!1,Hc.observeMutations=!1,zl("noAuto")},config:Hc,dom:Vl,parse:{icon:function(e){if(null===e)return null;if("object"===Ka(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Ol(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=Dl(e[0]);return{prefix:n,iconName:Ol(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(Hc.familyPrefix,"-"))>-1||e.match(Dc))){var r=Ml(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||Tl(),iconName:Ol(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var i=Tl();return{prefix:i,iconName:Ol(i,e)||e}}}},library:Hl,findIconDefinition:Gl,toHtml:fl},ql=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?hc:e;(Object.keys(cl.styles).length>0||Hc.autoFetchSvg)&&$c&&Hc.autoReplaceSvg&&Yl.dom.i2svg({node:t})};function Jl(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return fl(e)}))}}),Object.defineProperty(e,"node",{get:function(){if($c){var t=hc.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Zl(e){var t=e.icons,n=t.main,r=t.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:n,p=m.width,$=m.height,g="fak"===i,w=[Hc.replacementClass,o?"".concat(Hc.familyPrefix,"-").concat(o):""].filter((function(e){return-1===f.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(f.classes).join(" "),y={children:[],attributes:Xa(Xa({},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($)})},v=g&&!~f.classes.indexOf("fa-fw")?{width:"".concat(p/$*16*.0625,"em")}:{};h&&(y.attributes[bc]=""),c&&(y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(u||Zc())},children:[c]}),delete y.attributes.title);var b=Xa(Xa({},y),{},{prefix:i,iconName:o,main:n,mask:r,maskId:l,transform:s,symbol:a,styles:Xa(Xa({},v),f.styles)}),C=r.found&&n.found?Fl("generateAbstractMask",b)||{children:[],attributes:{}}:Fl("generateAbstractIcon",b)||{children:[],attributes:{}},x=C.children,_=C.attributes;return b.children=x,b.attributes=_,a?function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,o=e.symbol,s=!0===o?"".concat(t,"-").concat(Hc.familyPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Xa(Xa({},i),{},{id:s}),children:r}]}]}(b):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,s=e.transform;if(tl(s)&&n.found&&!r.found){var a={x:n.width/n.height/2,y:.5};i.style=el(Xa(Xa({},o),{},{"transform-origin":"".concat(a.x+s.x/16,"em ").concat(a.y+s.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(b)}function Xl(e){var t=e.content,n=e.width,r=e.height,i=e.transform,o=e.title,s=e.extra,a=e.watchable,c=void 0!==a&&a,l=Xa(Xa(Xa({},s.attributes),o?{title:o}:{}),{},{class:s.classes.join(" ")});c&&(l[bc]="");var u=Xa({},s.styles);tl(i)&&(u.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,i=e.height,o=void 0===i?16:i,s=e.startCentered,a=void 0!==s&&s,c="";return c+=a&&gc?"translate(".concat(t.x/Yc-r/2,"em, ").concat(t.y/Yc-o/2,"em) "):a?"translate(calc(-50% + ".concat(t.x/Yc,"em), calc(-50% + ").concat(t.y/Yc,"em)) "):"translate(".concat(t.x/Yc,"em, ").concat(t.y/Yc,"em) "),(c+="scale(".concat(t.size/Yc*(t.flipX?-1:1),", ").concat(t.size/Yc*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:i,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);var f=el(u);f.length>0&&(l.style=f);var d=[];return d.push({tag:"span",attributes:l,children:[t]}),o&&d.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),d}var Kl=cl.styles;function Ql(e){var t=e[0],n=e[1],r=tc(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(Hc.familyPrefix,"-").concat(Uc.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Hc.familyPrefix,"-").concat(Uc.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Hc.familyPrefix,"-").concat(Uc.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var eu={found:!1,width:512,height:512};function tu(e,t){var n=t;return"fa"===t&&null!==Hc.styleDefault&&(t=Tl()),new Promise((function(r,i){if(Fl("missingIconAbstract"),"fa"===n){var o=Nl(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&Kl[t]&&Kl[t][e])return r(Ql(Kl[t][e]));!function(e,t){Ec||Hc.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(Xa(Xa({},eu),{},{icon:Hc.showMissingIcons&&e&&Fl("missingIconAbstract")||{}}))}))}var nu=function(){},ru=Hc.measurePerformance&&pc&&pc.mark&&pc.measure?pc:{mark:nu,measure:nu},iu='FA "6.1.2"',ou=function(e){ru.mark("".concat(iu," ").concat(e," ends")),ru.measure("".concat(iu," ").concat(e),"".concat(iu," ").concat(e," begins"),"".concat(iu," ").concat(e," ends"))},su={begin:function(e){return ru.mark("".concat(iu," ").concat(e," begins")),function(){return ou(e)}},end:ou},au=function(){};function cu(e){return"string"==typeof(e.getAttribute?e.getAttribute(bc):null)}function lu(e){return hc.createElementNS("http://www.w3.org/2000/svg",e)}function uu(e){return hc.createElement(e)}function fu(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?lu:uu:t;if("string"==typeof e)return hc.createTextNode(e);var r=n(e.tag);return Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])})),(e.children||[]).forEach((function(e){r.appendChild(fu(e,{ceFn:n}))})),r}var du={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(fu(e),t)})),null===t.getAttribute(bc)&&Hc.keepOriginalSource){var n=hc.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~Kc(t).indexOf(Hc.replacementClass))return du.replace(e);var r=new RegExp("".concat(Hc.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce((function(e,t){return t===Hc.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}var o=n.map((function(e){return fl(e)})).join("\n");t.setAttribute(bc,""),t.innerHTML=o}};function hu(e){e()}function mu(e,t){var n="function"==typeof t?t:au;if(0===e.length)n();else{var r=hu;Hc.mutateApproach===Ic&&(r=dc.requestAnimationFrame||hu),r((function(){var t=!0===Hc.autoReplaceSvg?du.replace:du[Hc.autoReplaceSvg]||du.replace,r=su.begin("mutate");e.map(t),r(),n()}))}}var pu=!1;function $u(){pu=!0}function gu(){pu=!1}var wu=null;function yu(e){if(mc&&Hc.observeMutations){var t=e.treeCallback,n=void 0===t?au:t,r=e.nodeCallback,i=void 0===r?au:r,o=e.pseudoElementsCallback,s=void 0===o?au:o,a=e.observeMutationsRoot,c=void 0===a?hc:a;wu=new mc((function(e){if(!pu){var t=Tl();Xc(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!cu(e.addedNodes[0])&&(Hc.searchPseudoElements&&s(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&Hc.searchPseudoElements&&s(e.target.parentNode),"attributes"===e.type&&cu(e.target)&&~Wc.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(_c):null,n=e.getAttribute?e.getAttribute(kc):null;return t&&n}(e.target)){var r=Ml(Kc(e.target)),o=r.prefix,a=r.iconName;e.target.setAttribute(_c,o||t),a&&e.target.setAttribute(kc,a)}else(c=e.target)&&c.classList&&c.classList.contains&&c.classList.contains(Hc.replacementClass)&&i(e.target);var c}))}})),$c&&wu.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function vu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=function(e){var t,n,r=e.getAttribute("data-prefix"),i=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",s=Ml(Kc(e));return s.prefix||(s.prefix=Tl()),r&&i&&(s.prefix=r,s.iconName=i),s.iconName&&s.prefix||(s.prefix&&o.length>0&&(s.iconName=(t=s.prefix,n=e.innerText,(Cl[t]||{})[n]||El(s.prefix,ml(e.innerText)))),!s.iconName&&Hc.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=e.firstChild.data)),s}(e),r=n.iconName,i=n.prefix,o=n.rest,s=function(e){var t=Xc(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return Hc.autoA11y&&(n?t["aria-labelledby"]="".concat(Hc.replacementClass,"-title-").concat(r||Zc()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),a=Ul("parseNodeAttributes",{},e),c=t.styleParser?function(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],i=n.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e}),{})),n}(e):[];return Xa({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:qc,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:c,attributes:s}},a)}var bu=cl.styles;function Cu(e){var t="nest"===Hc.autoReplaceSvg?vu(e,{styleParser:!1}):vu(e);return~t.extra.classes.indexOf(Mc)?Fl("generateLayersText",e,t):Fl("generateSvgReplacementMutation",e,t)}function xu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!$c)return Promise.resolve();var n=hc.documentElement.classList,r=function(e){return n.add("".concat(Sc,"-").concat(e))},i=function(e){return n.remove("".concat(Sc,"-").concat(e))},o=Hc.autoFetchSvg?Object.keys(Oc):Object.keys(bu);o.includes("fa")||o.push("fa");var s=[".".concat(Mc,":not([").concat(bc,"])")].concat(o.map((function(e){return".".concat(e,":not([").concat(bc,"])")}))).join(", ");if(0===s.length)return Promise.resolve();var a=[];try{a=Xc(e.querySelectorAll(s))}catch(e){}if(!(a.length>0))return Promise.resolve();r("pending"),i("complete");var c=su.begin("onTree"),l=a.reduce((function(e,t){try{var n=Cu(t);n&&e.push(n)}catch(e){Ec||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(l).then((function(n){mu(n,(function(){r("active"),r("complete"),i("pending"),"function"==typeof t&&t(),c(),e()}))})).catch((function(e){c(),n(e)}))}))}function _u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Cu(e).then((function(e){e&&mu([e],t)}))}var ku=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?qc:n,i=t.symbol,o=void 0!==i&&i,s=t.mask,a=void 0===s?null:s,c=t.maskId,l=void 0===c?null:c,u=t.title,f=void 0===u?null:u,d=t.titleId,h=void 0===d?null:d,m=t.classes,p=void 0===m?[]:m,$=t.attributes,g=void 0===$?{}:$,w=t.styles,y=void 0===w?{}:w;if(e){var v=e.prefix,b=e.iconName,C=e.icon;return Jl(Xa({type:"icon"},e),(function(){return zl("beforeDOMElementCreation",{iconDefinition:e,params:t}),Hc.autoA11y&&(f?g["aria-labelledby"]="".concat(Hc.replacementClass,"-title-").concat(h||Zc()):(g["aria-hidden"]="true",g.focusable="false")),Zl({icons:{main:Ql(C),mask:a?Ql(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:v,iconName:b,transform:Xa(Xa({},qc),r),symbol:o,title:f,maskId:l,titleId:h,extra:{attributes:g,styles:y,classes:p}})}))}},Su={mixout:function(){return{icon:(e=ku,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:Gl(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:Gl(i||{})),e(r,Xa(Xa({},n),{},{mask:i}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=xu,e.nodeCallback=_u,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?hc:t,r=e.callback;return xu(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,i=t.titleId,o=t.prefix,s=t.transform,a=t.symbol,c=t.mask,l=t.maskId,u=t.extra;return new Promise((function(t,f){Promise.all([tu(n,o),c.iconName?tu(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(c){var f=tc(c,2),d=f[0],h=f[1];t([e,Zl({icons:{main:d,mask:h},prefix:o,iconName:n,transform:s,symbol:a,maskId:l,title:r,titleId:i,extra:u,watchable:!0})])})).catch(f)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.transform,s=el(e.styles);return s.length>0&&(r.style=s),tl(o)&&(t=Fl("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),n.push(t||i.icon),{children:n,attributes:r}}}},Iu={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return Jl({type:"layer"},(function(){zl("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(Hc.familyPrefix,"-layers")].concat(nc(r)).join(" ")},children:n}]}))}}}},Au={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,i=t.classes,o=void 0===i?[]:i,s=t.attributes,a=void 0===s?{}:s,c=t.styles,l=void 0===c?{}:c;return Jl({type:"counter",content:e},(function(){return zl("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.title,r=e.extra,i=Xa(Xa(Xa({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),o=el(r.styles);o.length>0&&(i.style=o);var s=[];return s.push({tag:"span",attributes:i,children:[t]}),n&&s.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),s}({content:e.toString(),title:r,extra:{attributes:a,styles:l,classes:["".concat(Hc.familyPrefix,"-layers-counter")].concat(nc(o))}})}))}}}},Eu={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?qc:n,i=t.title,o=void 0===i?null:i,s=t.classes,a=void 0===s?[]:s,c=t.attributes,l=void 0===c?{}:c,u=t.styles,f=void 0===u?{}:u;return Jl({type:"text",content:e},(function(){return zl("beforeDOMElementCreation",{content:e,params:t}),Xl({content:e,transform:Xa(Xa({},qc),r),title:o,extra:{attributes:l,styles:f,classes:["".concat(Hc.familyPrefix,"-layers-text")].concat(nc(a))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,i=t.extra,o=null,s=null;if(gc){var a=parseInt(getComputedStyle(e).fontSize,10),c=e.getBoundingClientRect();o=c.width/a,s=c.height/a}return Hc.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,Xl({content:e.innerHTML,width:o,height:s,transform:r,title:n,extra:i,watchable:!0})])}}},Ou=new RegExp('"',"ug"),Nu=[1105920,1112319];function Tu(e,t){var n="".concat(xc).concat(t.replace(":","-"));return new Promise((function(r,i){if(null!==e.getAttribute(n))return r();var o,s,a,c=Xc(e.children).filter((function(e){return e.getAttribute(Cc)===t}))[0],l=dc.getComputedStyle(e,t),u=l.getPropertyValue("font-family").match(Bc),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])?Nc[u[2].toLowerCase()]:Lc[f],p=function(e){var t=e.replace(Ou,""),n=function(e,t){var n,r=e.length,i=e.charCodeAt(0);return i>=55296&&i<=56319&&r>1&&(n=e.charCodeAt(1))>=56320&&n<=57343?1024*(i-55296)+n-56320+65536:i}(t),r=n>=Nu[0]&&n<=Nu[1],i=2===t.length&&t[0]===t[1];return{value:ml(i?t[0]:t),isSecondary:r||i}}(h),$=p.value,g=p.isSecondary,w=u[0].startsWith("FontAwesome"),y=El(m,$),v=y;if(w){var b=(s=_l[o=$],a=El("fas",o),s||(a?{prefix:"fas",iconName:a}:null)||{prefix:null,iconName:null});b.iconName&&b.prefix&&(y=b.iconName,m=b.prefix)}if(!y||g||c&&c.getAttribute(_c)===m&&c.getAttribute(kc)===v)r();else{e.setAttribute(n,v),c&&e.removeChild(c);var C={iconName:null,title:null,titleId:null,prefix:null,transform:qc,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},x=C.extra;x.attributes[Cc]=t,tu(y,m).then((function(i){var o=Zl(Xa(Xa({},C),{},{icons:{main:i,mask:Pl()},prefix:m,iconName:v,extra:x,watchable:!0})),s=hc.createElement("svg");"::before"===t?e.insertBefore(s,e.firstChild):e.appendChild(s),s.outerHTML=o.map((function(e){return fl(e)})).join("\n"),e.removeAttribute(n),r()})).catch(i)}}else r()}))}function Pu(e){return Promise.all([Tu(e,"::before"),Tu(e,"::after")])}function Du(e){return!(e.parentNode===document.head||~Ac.indexOf(e.tagName.toUpperCase())||e.getAttribute(Cc)||e.parentNode&&"svg"===e.parentNode.tagName)}function Mu(e){if($c)return new Promise((function(t,n){var r=Xc(e.querySelectorAll("*")).filter(Du).map(Pu),i=su.begin("searchPseudoElements");$u(),Promise.all(r).then((function(){i(),gu(),t()})).catch((function(){i(),gu(),n()}))}))}var Bu=!1,Lu=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Ru={mixout:function(){return{parse:{transform:function(e){return Lu(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=Lu(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,i=e.iconWidth,o={transform:"translate(".concat(r/2," 256)")},s="translate(".concat(32*n.x,", ").concat(32*n.y,") "),a="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),c="rotate(".concat(n.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:Xa({},l.outer),children:[{tag:"g",attributes:Xa({},l.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:Xa(Xa({},t.icon.attributes),l.path)}]}]}}}},ju={x:0,y:0,width:"100%",height:"100%"};function Wu(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var Uu,zu={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?Ml(n.split(" ").map((function(e){return e.trim()}))):Pl();return r.prefix||(r.prefix=Tl()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.mask,s=e.maskId,a=e.transform,c=i.width,l=i.icon,u=o.width,f=o.icon,d=function(e){var t=e.transform,n=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(i," ").concat(o," ").concat(s)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:a,containerWidth:u,iconWidth:c}),h={tag:"rect",attributes:Xa(Xa({},ju),{},{fill:"white"})},m=l.children?{children:l.children.map(Wu)}:{},p={tag:"g",attributes:Xa({},d.inner),children:[Wu(Xa({tag:l.tag,attributes:Xa(Xa({},l.attributes),d.path)},m))]},$={tag:"g",attributes:Xa({},d.outer),children:[p]},g="mask-".concat(s||Zc()),w="clip-".concat(s||Zc()),y={tag:"mask",attributes:Xa(Xa({},ju),{},{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,$]},v={tag:"defs",children:[{tag:"clipPath",attributes:{id:w},children:(t=f,"g"===t.tag?t.children:[t])},y]};return n.push(v,{tag:"rect",attributes:Xa({fill:"currentColor","clip-path":"url(#".concat(w,")"),mask:"url(#".concat(g,")")},ju)}),{children:n,attributes:r}}}},Fu={provides:function(e){var t=!1;dc.matchMedia&&(t=dc.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:Xa(Xa({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var i=Xa(Xa({},r),{},{attributeName:"opacity"}),o={tag:"circle",attributes:Xa(Xa({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:Xa(Xa({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Xa(Xa({},i),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:Xa(Xa({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:Xa(Xa({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:Xa(Xa({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Xa(Xa({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},Gu=[sl,Su,Iu,Au,Eu,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=Mu,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?hc:t;Hc.searchPseudoElements&&Mu(n)}}},{mixout:function(){return{dom:{unwatch:function(){$u(),Bu=!0}}}},hooks:function(){return{bootstrap:function(){yu(Ul("mutationObserverCallbacks",{}))},noAuto:function(){wu&&wu.disconnect()},watch:function(e){var t=e.observeMutationsRoot;Bu?gu():yu(Ul("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},Ru,zu,Fu,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}];Uu={mixoutsTo:Yl}.mixoutsTo,Ll=Gu,Rl={},Object.keys(jl).forEach((function(e){-1===Wl.indexOf(e)&&delete jl[e]})),Ll.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(Uu[e]=t[e]),"object"===Ka(t[e])&&Object.keys(t[e]).forEach((function(n){Uu[e]||(Uu[e]={}),Uu[e][n]=t[e][n]}))})),e.hooks){var n=e.hooks();Object.keys(n).forEach((function(e){Rl[e]||(Rl[e]=[]),Rl[e].push(n[e])}))}e.provides&&e.provides(jl)}));var Hu=Yl.parse,Vu=Yl.icon,Yu=n(826),qu=n.n(Yu);function Ju(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Zu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ju(Object(n),!0).forEach((function(t){Ku(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ju(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xu(e){return Xu="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},Xu(e)}function Ku(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qu(e){return function(e){if(Array.isArray(e))return ef(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ef(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ef(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ef(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function tf(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var nf=["style"],rf=!1;try{rf=!0}catch(c){}function of(e){return e&&"object"===Xu(e)&&e.prefix&&e.iconName&&e.icon?e:Hu.icon?Hu.icon(e):null===e?null:e&&"object"===Xu(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 sf(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Ku({},e,t):{}}var af=Re.forwardRef((function(e,t){var n=e.icon,r=e.mask,i=e.symbol,o=e.className,s=e.title,a=e.titleId,c=e.maskId,l=of(n),u=sf("classes",[].concat(Qu(function(e){var t,n=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,y=e.pull,v=(Ku(t={"fa-beat":n,"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),Ku(t,"fa-rotate-".concat(w),null!=w&&0!==w),Ku(t,"fa-pull-".concat(y),null!=y),Ku(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(v).map((function(e){return v[e]?e:null})).filter((function(e){return e}))}(e)),Qu(o.split(" ")))),f=sf("transform","string"==typeof e.transform?Hu.transform(e.transform):e.transform),d=sf("mask",of(r)),h=Vu(l,Zu(Zu(Zu(Zu({},u),f),d),{},{symbol:i,title:s,titleId:a,maskId:c}));if(!h)return function(){var e;!rf&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",l),null;var m=h.abstract,p={ref:t};return Object.keys(e).forEach((function(t){af.defaultProps.hasOwnProperty(t)||(p[t]=e[t])})),cf(m[0],p)}));af.displayName="FontAwesomeIcon",af.propTypes={beat:qu().bool,border:qu().bool,beatFade:qu().bool,bounce:qu().bool,className:qu().string,fade:qu().bool,flash:qu().bool,mask:qu().oneOfType([qu().object,qu().array,qu().string]),maskId:qu().string,fixedWidth:qu().bool,inverse:qu().bool,flip:qu().oneOf([!0,!1,"horizontal","vertical","both"]),icon:qu().oneOfType([qu().object,qu().array,qu().string]),listItem:qu().bool,pull:qu().oneOf(["right","left"]),pulse:qu().bool,rotation:qu().oneOf([0,90,180,270]),shake:qu().bool,size:qu().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:qu().bool,spinPulse:qu().bool,spinReverse:qu().bool,symbol:qu().oneOfType([qu().bool,qu().string]),title:qu().string,titleId:qu().string,transform:qu().oneOfType([qu().string,qu().object]),swapOpacity:qu().bool},af.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 cf=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var i=(n.children||[]).map((function(n){return e(t,n)})),o=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=tf(t.slice(0,r)),o=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=o:e[i]=o,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[tf(t)]=r}return e}),{attrs:{}}),s=r.style,a=void 0===s?{}:s,c=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(r,nf);return o.attrs.style=Zu(Zu({},o.attrs.style),a),t.apply(void 0,[n.tag,Zu(Zu({},o.attrs),c)].concat(Qu(i)))}.bind(null,Re.createElement),lf={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"]},uf={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 ff(e,t){return d(af,e,...t)}ff({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"]}},[]),ff({icon:uf,size:"5x"},[]);const df=ff({icon:lf,size:"5x"},[]);function hf(){let e,t,n,r,i,o,s,a;return zi((()=>{Ja(0)})),d("div",ft(Zn([["className",vn(" ",["h-screen",Qi])],(e=[d("div",ft(Zn([["className","h-full flex justify-center items-center"],(t=[d("div",ft(Zn([["className","border rounded-lg shadow-md sm:max-w-md p-8 text-center"],(n=[d("div",ft(jn((r=[d("div",ft(Zn([["className",vn(" ",[Qi])],(i=[d("i",{className:"text-red-600",children:bi.Children.toArray([df])}),d("h4",{className:"text-2xl my-4 text-red-600",children:"This doesn't look right"}),d("p",{className:"mt-3 mb-5 text-gray-500",children:"Your invite has expired. Reach out to your employer to get another one."})],["children",bi.Children.toArray(Array.from(i))])]))),d("p",ft(Zn([["className","mt-16 text-gray-400 text-right text-x"],(o=[(s=`Flare HR Pty Ltd © 2015-${a=Vt(),Yt(a)}`,d("small",{children:[s]}))],["children",bi.Children.toArray(Array.from(o))])])))],["children",bi.Children.toArray(Array.from(r))]))))],["children",bi.Children.toArray(Array.from(n))])])))],["children",bi.Children.toArray(Array.from(t))])])))],["children",bi.Children.toArray(Array.from(e))])])))}const mf=class{constructor(){this.delegates=[]}Add(e){this._addHandler(e)}get Publish(){return this}Trigger(e,t){let n,r;void 0===t?(n=null,r=e):(n=e,r=t),this.delegates.forEach((e=>1===e.length?e(r):e(n,r)))}AddHandler(e){this._addHandler(e)}RemoveHandler(e){this._removeHandler(e)}Subscribe(e){const t="function"==typeof e?e:e.OnNext;return this._addHandler(t),{Dispose:()=>{this._removeHandler(t)}}}_addHandler(e){this.delegates.push(e)}_removeHandler(e){const t=this.delegates.indexOf(e);t>-1&&this.delegates.splice(t,1)}},pf=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 mf}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 $f{constructor(e,t,n){this.OnNext=e,this.OnError=t||(e=>{}),this.OnCompleted=n||(()=>{})}}function gf(e,t,n){qn((n=>{try{n(t)}catch(t){e(t)}}),n)}function wf(){return Ln()}function yf(e,t){return Qn((t=>n=>{t((t=>{n(e(t))}))}),t)}function vf(e){return Xn(e)}function bf(e){return jn(e)}function Cf(e){return jn((t=>{t(e)}))}function xf(e,t,n,r,i){return jn((o=>{e(Ba.Delay((()=>Ba.Bind(ja(t(n)),(e=>{const t=e;return o(1===t.tag?i(t.fields[0]):r(t.fields[0])),Ba.Zero()})))))}))}function _f(e,t,n,r){return jn((i=>{e(Ba.Delay((()=>Ba.Bind(ja(t(n)),(e=>{const t=e;return 0===t.tag?(i(r(t.fields[0])),Ba.Zero()):Ba.Zero()})))))}))}function kf(e){!function(e,t){let n,r=new pf(e);r.AutoReset=!1,n=r,function(e,t){t.Subscribe(new $f(e))}(t,n.Elapsed()),n.Enabled=!0,n.Start()}(0,(t=>{za(e)}))}function Sf(e,t,n,r,i){const o=function(e,t,n,r){const i=0|lt(e,n);if(0===i)throw new Error("The step of a range cannot be zero");const o=i>0;return n=>{const i=0|lt(n,t);return o&&i<=0||!o&&i>=0?[n,r(n,e)]:void 0}}(t,n,r,i);return pr((()=>{return t=o,n=e,hr((()=>function(e,t){let n,r=t;return fr((()=>{if(null!=n){const e=n[0];return n[1],e}return ar()}),(()=>{if(n=e(r),null!=n){n[0];const e=n[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}function If(e,t,n){return Sf(e,t,n,0,((e,t)=>e+t))}class Af extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class Ef{constructor(e){this.state=new Af(0,Dt(new Array(ut(at,e,10)),0,ut(at,e,10),null),0)}}function Of(e){const t=e.state;if(1===t.tag){const n=0|t.fields[1],r=0|t.fields[2],i=t.fields[0],o=(r+1)%i.length|0;return e.state=o===n?new Af(0,i,n):new Af(1,i,n,o),_t(i[r])}}class Nf extends yt{constructor(e,t,n,r,i,o,s){super(),this.init=e,this.update=t,this.subscribe=n,this.view=r,this.setState=i,this.onError=o,this.syncDispatch=s}}function Tf(e,t,n){return new Nf(e,t,(e=>wf()),n,ht(2,(e=>{const t=$t(1,n,[e]);return e=>{t(e)}})),(e=>{var t,n;t=e[0],n=e[1],console.error(_t(t),n)}),ht(2,(e=>e)))}function Pf(e,t){return new Nf(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}function Df(e,t){const n=t.init(e),r=n[0],i=new Ef(10);let o=!1,s=r;const a=$t(1,t.syncDispatch,[e=>{if(o)!function(e,t){const n=e.state;if(1===n.tag){const o=0|n.fields[1],s=0|n.fields[2],a=n.fields[0];a[o]=t;const c=(o+1)%a.length|0;e.state=c===s?new Af(1,(r=s,i=a,Array.from(pr((()=>Cr(Ar(r,i),pr((()=>{return Cr((e=r,t=i,br((()=>mr(t)),((t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return _t(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(sr+"\\nParameter name: source")}}),(e=>{ze(e)}))),pr((()=>Er((e=>wr(null)),If(0,1,i.length)))));var e,t}))))))),a.length,0):new Af(1,a,c,s)}else{const r=0|n.fields[1],i=n.fields[0];i[r]=t;const o=(r+1)%i.length|0;e.state=new Af(1,i,o,r)}var r,i}(i,e);else{o=!0;let n=_t(e);for(;null!=n;){const e=kt(n);try{const n=t.update(e,s),r=n[0];t.setState(r,a),gf((n=>{t.onError([hn(un("Error in command while handling: %A"))(e),n])}),a,n[1]),s=r}catch(n){t.onError([hn(un("Unable to process the message: %A"))(e),n])}n=Of(i)}o=!1}}]);t.setState(r,a),gf((e=>{t.onError(["Error intitializing:",e])}),a,vf(Zn([(()=>{try{return t.subscribe(r)}catch(e){return t.onError(["Unable to subscribe:",e]),wf()}})(),n[1]])))}class Mf{constructor(){this.hasDisposedOnce=!1,this.state=void 0,this.listener=void 0,this.dispatcher=void 0}}function Bf(){return new Mf}function Lf(e,t,n,r){Df(t,Pf(((e,t)=>{!function(e,t,n){e.state=_t(t),e.dispatcher=n;const r=e.listener;null!=r&&r(t)}(n,e,t)}),e()));const i=function(e){return e.state}(n);if(null!=i)return kt(i);throw new Error("Elmish program has not initialized")}function Rf(e,t){return function(e,t,n){const r=ji(Bf)[0],i=ji((()=>Lf(e,t,r))),o=i[1];return Ui((()=>(function(e){return e.hasDisposedOnce}(r)&&o(Lf(e,t,r)),Ri((()=>{!function(e){const t=e.state;if(null!=t){const e=kt(t);Ue(e)&&ze(e)}e.dispatcher=void 0,e.state=void 0,e.hasDisposedOnce=!0}(r)})))),At(n,[])),function(e,t){null==e.listener&&(e.listener=t)}(r,o),[i[0],e=>{!function(e,t){const n=e.dispatcher;null!=n&&n(t)}(r,e)}]}(e,void 0,t)}function jf(e,t,n){return Rf((()=>Tf(e,t,((e,t)=>{}))),n)}class Wf{constructor(e,t,n,r){this.declaringType=e,this.tag=t,this.name=n,this.fields=r}}class Uf{constructor(e,t,n,r,i,o,s){this.fullname=e,this.generics=t,this.construct=n,this.parent=r,this.fields=i,this.cases=o,this.enumCases=s}toString(){return id(this)}GetHashCode(){return Ff(this)}Equals(e){return Gf(this,e)}}function zf(e){return null!=e.generics?e.generics:[]}function Ff(e){return et([Ke(e.fullname),...zf(e).map(Ff)])}function Gf(e,t){return""===e.fullname?""===t.fullname&&rt(md(e),md(t),(([e,t],[n,r])=>e===n&&Gf(t,r))):e.fullname===t.fullname&&rt(zf(e),zf(t),Gf)}function Hf(e,t,n,r){return new Uf(e,t,n,r)}function Vf(e,t,n,r){return new Uf(e,t,n,void 0,r)}function Yf(...e){return new Uf("",void 0,void 0,void 0,(()=>e))}function qf(e,t,n,r){const i=new Uf(e,t,n,void 0,void 0,(()=>{const e=n.prototype.cases();return r().map(((t,n)=>new Wf(i,n,e[n],t)))}));return i}function Jf(...e){return new Uf("System.Tuple`"+e.length,e)}function Zf(e){return new Uf("Microsoft.FSharp.Core.FSharpOption`1",[e])}function Xf(e){return new Uf("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Kf=new Uf("System.Object"),Qf=(new Uf("Microsoft.FSharp.Core.Unit"),new Uf("System.Char"),new Uf("System.String")),ed=new Uf("System.Boolean"),td=(new Uf("System.SByte"),new Uf("System.Byte"),new Uf("System.Int16"),new Uf("System.UInt16"),new Uf("System.Int32")),nd=(new Uf("System.UInt32"),new Uf("System.Single"),new Uf("System.Double"));function rd(e){if(Array.isArray(e))return e[0];if(e instanceof Uf){const t=sd(e);if(null!=t)return rd(t)+"[]";{const t=e.fullname.lastIndexOf(".");return-1===t?e.fullname:e.fullname.substr(t+1)}}return e.name}function id(e){const t=sd(e);return null!=t?id(t)+"[]":null==e.generics||0===e.generics.length?e.fullname:e.fullname+"["+e.generics.map((e=>id(e))).join(",")+"]"}function od(e){return null!=sd(e)}function sd(e){var t;return"[]"===e.fullname&&1===(null===(t=e.generics)||void 0===t?void 0:t.length)?e.generics[0]:void 0}function ad(e){return null!=e.generics&&e.generics.length>0}function cd(e){return null!=e.enumCases&&e.enumCases.length>0}function ld(e){return null==e.generics?e:new Uf(e.fullname,e.generics.map((()=>Kf)))}function ud(e){var t;return null===(t=e.generics)||void 0===t?void 0:t[0]}function fd(e){if(cd(e)&&null!=e.enumCases)return e.enumCases.map((e=>e[1]));throw new Error(`${e.fullname} is not an enum type`)}function dd(e,t){const n=parseInt(t,10);return function(e,t){if(null!=e.enumCases){if("string"==typeof t){for(const n of e.enumCases)if(n[0]===t)return n;throw new Error(`'${t}' was not found in ${e.fullname}`)}for(const n of e.enumCases)if(n[1]===t)return n;return["",t]}throw new Error(`${e.fullname} is not an enum type`)}(e,isNaN(n)?t:n)[1]}function hd(e){if(null!=e.cases)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function md(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function pd(e){if(wd(e)&&null!=e.generics)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function $d(e){return e instanceof Uf?null!=e.cases:e instanceof wt}function gd(e){return e instanceof Uf?null!=e.fields:e instanceof yt}function wd(e){return e.fullname.startsWith("System.Tuple")}function yd(e){return null==e.fields?[]:e.fields}new Uf("System.Decimal");class vd extends yt{constructor(e,t){super(),this.Email=e,this.Phone=t}}function bd(e){return new vd(Ot(Wo,e.Email),Ot(zo,e.Phone))}class Cd extends yt{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}function xd(){return Vf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.InviteBrandingDto",[],Cd,(()=>[["CompanyName",Zf(Qf)],["Logo",Zf(Qf)],["Support",Zf(Vf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.SupportDto",[],vd,(()=>[["Email",Zf(Qf)],["Phone",Zf(Qf)]])))]]))}function _d(e){return new Cd(Ot(Go,e.CompanyName),Ot(Vo,e.Logo),Ot(bd,e.Support))}class kd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Default","InfoRequest","AppInvite"]}}function Sd(){return qf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.InviteJourneyTypeDto",[],kd,(()=>[[["Item",Ad()]],[["Item",Ad()]],[["Item",Ad()]]]))}class Id extends yt{constructor(e){super(),this.Category=e}}function Ad(){return Vf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.JourneyTypeDetailsDto",[],Id,(()=>[["Category",Zf(Qf)]]))}class Ed extends yt{constructor(e){super(),this.MagicCode=e}}class Od extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PassThrough","MagicCodeExpired","MagicCodeNotRecognised","InviteExpired","WorkflowCompleted","WorkflowAbandoned","ProfileStateInvalidForWorkflowCompletion","InviteNotFound"]}}function Nd(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 Td(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 Pd extends yt{constructor(e,t){super(),this.CssOverrides=e,this.Outcome=t}}class Dd extends yt{constructor(e,t){super(),this.MagicCode=e,this.IsChange=t}}class Md extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["MagicCodeIssued","MagicCodeNotRecognised","MagicCodeIssuingThrottled","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class Bd extends yt{constructor(e){super(),this.Outcome=e}}class Ld extends yt{constructor(e,t){super(),this.MagicCode=e,this.IsResend=t}}class Rd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["OneTimeCodeIssued","OneTimeCodeOptionNotAvailable","OneTimeCodeLocked","OneTimeCodeIssuingThrottled","MagicCodeNotRecognised","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class jd extends yt{constructor(e){super(),this.Outcome=e}}class Wd extends yt{constructor(e){super(),this.OneTimeCode=0|e}}class Ud extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["OneTimeCodeMatched","OneTimeCodeFailed","OneTimeCodeExpired","OneTimeCodeNotCurrentlyIssued","OneTimeCodeAlreadyUsed","OneTimeCodeLocked","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class zd extends yt{constructor(e){super(),this.Outcome=e}}class Fd extends yt{constructor(e,t){super(),this.MagicCode=e,this.IsPassThrough=t}}class Gd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Progressed","MagicCodeNotRecognised","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class Hd extends yt{constructor(e){super(),this.Outcome=e}}class Vd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class Yd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}class qd extends yt{constructor(e,t){super(),this.InviteToken=e,this.MagicCode=t}}class Jd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["OneTimeCodeLocked","NoAccess","UnrecognisedLink","WorkflowAbandoned","InviteExpired","SomethingWentWrong"]}}class Zd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Loading","Welcome","CheckYourInbox","CodeEntry","AccessLinkExpired","WorkflowCompleted","Error"]}}class Xd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CheckYourInbox","CodeEntry","Onboarding"]}}class Kd extends yt{constructor(e,t,n,r){super(),this.CssOverrides=e,this.Page=t,this.Branding=n,this.JourneyType=r}}class Qd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["NavigatePage","ValidateMagicLink","ReissueMagicLink","IssueOneTimeCode","ValidateOneTimeCode","ProgressFromWelcome","NavigateToAuthCodeExchange"]}}const eh=(()=>{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 th(e){return Ot((e=>e.passive&&!eh?{capture:e.capture,once:e.once,passive:!1}:e),e)}function nh(e){return Nt((e=>e.capture?{capture:!0}:void 0),e)}function rh(e,t){return 0===t.indexOf(e)?t:void 0}function ih(e,t){return function(e,t){const n=e.lastIndexOf(t);return n>=0&&n===e.length-t.length}(t,e)?t:void 0}function oh(e,t){return function(e){return 1===e?e=>{let t,n,r,i,o,s;return t=rh("/",e),null!=t?(n=t,"#"+n):(r=rh("#/",e),null!=r?(i=r,i):(o=rh("#",e),null!=o?(s=o,"#/"+Sn(s,1,s.length-1)):"#/"+e))}:e=>{let t,n;return t=rh("/",e),null!=t?(n=t,n):"/"+e}}(t)(vn("/",Qn((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function sh(e,t,n){1===t?history.pushState(void 0,"",oh(e,n)):history.replaceState(void 0,"",oh(e,n));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}function ah(e,t){return function(e,t){let n,r;const i=Nn();let o=i,s=t;for(;!Pn(s);){let t=e(Mn(s));for(;!Pn(t);)n=o,r=new En(Mn(t),void 0),n.tail=r,o=r,t=Bn(t);s=Bn(s)}const a=o,c=Nn();return a.tail=c,Bn(i)}((e=>{if(yn(e))return Ln();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+nn(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return Ln();if(null!=rh("?",t))return jn(t);{const e=t.split("?");if(Lt(((e,t)=>e===t),e,null)||1!==e.length){if(Lt(((e,t)=>e===t),e,null)||2!==e.length)return Ln();if(""===e[1]){const t=e[0];return jn(decodeURIComponent(t))}{const t=e[0],n=e[1];return Zn([decodeURIComponent(t),"?"+n])}}{const t=e[0];return jn(decodeURIComponent(t))}}}}),Zn(_n(null!=rh("#",e)?Sn(e,1,e.length-1):1!==t||null==ih("#",e)&&null==ih("#/",e)?e:"",["/"],null,0)))}const ch=function(e,t,n,r){const i=bi.memo(e,ht(2,At(pt(2,n),null)));return kr((t=>{e.displayName=t}),It(t)),e=>{const t=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(r,e);return bi.createElement(i,t)}}((e=>{const t=Vi((t=>{const n=At(e.onUrlChanged,(e=>{}));!function(e,t,n){t(ah(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(At(e.hashMode,1),n)}));if(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0){const e="hashchange",n=e=>{t(e)},r=void 0,i=Hi((()=>th(r)),[r]),o=Hi((()=>nh(r)),[r]),s=Hi((()=>e=>{n(e)}),[n]);Wi(Vi((()=>{if(null==i)window.addEventListener(e,s);else{const t=i;window.addEventListener(e,s,t)}return Ri((()=>{if(null==o)window.removeEventListener(e,s);else{const t=o;window.removeEventListener(e,s,t)}}))})))}else{const e="popstate",n=t,r=void 0,i=Hi((()=>th(r)),[r]),o=Hi((()=>nh(r)),[r]),s=Hi((()=>e=>{n(e)}),[n]);Wi(Vi((()=>{if(null==i)window.addEventListener(e,s);else{const t=i;window.addEventListener(e,s,t)}return Ri((()=>{if(null==o)window.removeEventListener(e,s);else{const t=o;window.removeEventListener(e,s,t)}}))})))}const n="CUSTOM_NAVIGATION_EVENT",r=t,i=void 0,o=Hi((()=>th(i)),[i]),s=Hi((()=>nh(i)),[i]),a=Hi((()=>e=>{r(e)}),[r]);Wi(Vi((()=>{if(null==o)window.addEventListener(n,a);else{const e=o;window.addEventListener(n,a,e)}return Ri((()=>{if(null==s)window.removeEventListener(n,a);else{const e=s;window.removeEventListener(n,a,e)}}))})));const c=e.application;return null==c?null:c}),void 0,void 0,void 0);function lh(e){try{const t=new URLSearchParams(e);return vr(pr((()=>Sr((e=>[e[0],e[1]]),t.entries()))))}catch(e){return}}class uh extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Autodev","Test","Prod","Sandbox"]}}const fh=document.getElementById("workflows-app"),dh=fh.getAttribute("data-identity-url"),hh=fh.getAttribute("data-backend-url"),mh=Zn(["workflows","app"]),ph=Zn(["workflows","embed","v1.0","app"]),$h="apollo-workflows-app";class gh extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Embedded","Standalone","Unknown"]}}function wh(e){switch(e.tag){case 0:default:return oh(ph,2);case 1:return oh(mh,2)}}!function(e){const t=Zn(_n(e,["."],null,0));let n;switch(n=Wn(t)?4:"autodev-partner"===zn(t)?0:"test-partner"===zn(t)?1:"partner"===zn(t)?2:"sandbox-partner"===zn(t)?3:4,n){case 0:return new wo(0,new uh(0));case 1:return new wo(0,new uh(1));case 2:return new wo(0,new uh(2));case 3:return new wo(0,new uh(3));case 4:new wo(1,"Invalid environment")}}(Io.create(hh).host);class yh extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class vh extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Header"]}}class bh extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Empty","Text","Binary","Form"]}}class Ch extends yt{constructor(e,t,n,r,i,o,s,a){super(),this.url=e,this.method=t,this.headers=n,this.withCredentials=r,this.overridenMimeType=i,this.overridenResponseType=o,this.timeout=s,this.content=a}}class xh extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class _h extends yt{constructor(e,t,n,r,i,o){super(),this.statusCode=0|e,this.responseText=t,this.responseType=n,this.responseUrl=r,this.responseHeaders=i,this.content=o}}class kh{constructor(e,t){this.k=e,this.v=t}}function Sh(e,t){return new kh(e,t)}function Ih(e){return e.k}function Ah(e){return e.v}class Eh extends kh{constructor(e,t,n,r,i){super(e,t),this.left=n,this.right=r,this.h=0|i}}function Oh(e,t,n,r,i){return new Eh(e,t,n,r,i)}function Nh(e){return e.left}function Th(e){return e.right}function Ph(e){return e.h}function Dh(e,t){e:for(;;){const n=e;if(null!=t){const r=t;if(r instanceof Eh){e=Dh(n+1,Nh(r)),t=Th(r);continue e}return n+1|0}return 0|n}}function Mh(e){return Dh(0,e)}function Bh(e,t,n,r){let i,o;i=null!=e?e instanceof Eh?Ph(e):1:0,o=null!=r?r instanceof Eh?Ph(r):1:0;const s=0|(i<o?o:i);return 0===s?Sh(t,n):Oh(t,n,e,r,s+1)}function Lh(e,t,n,r){let i,o,s,a,c,l;if(c=null!=e?e instanceof Eh?Ph(e):1:0,l=null!=r?r instanceof Eh?Ph(r):1:0,l>c+2){const s=kt(r);if(s instanceof Eh){if(i=Nh(s),(null!=i?(o=i,o instanceof Eh?Ph(o):1):0)>c+1){const r=kt(Nh(s));if(r instanceof Eh)return Bh(Bh(e,t,n,Nh(r)),Ih(r),Ah(r),Bh(Th(r),Ih(s),Ah(s),Th(s)));throw new Error("internal error: Map.rebalance")}return Bh(Bh(e,t,n,Nh(s)),Ih(s),Ah(s),Th(s))}throw new Error("internal error: Map.rebalance")}if(c>l+2){const i=kt(e);if(i instanceof Eh){if(s=Th(i),(null!=s?(a=s,a instanceof Eh?Ph(a):1):0)>l+1){const e=kt(Th(i));if(e instanceof Eh)return Bh(Bh(Nh(i),Ih(i),Ah(i),Nh(e)),Ih(e),Ah(e),Bh(Th(e),t,n,r));throw new Error("internal error: Map.rebalance")}return Bh(Nh(i),Ih(i),Ah(i),Bh(Th(i),t,n,r))}throw new Error("internal error: Map.rebalance")}return Bh(e,t,n,r)}function Rh(e,t,n,r){if(null!=r){const i=r,o=0|e.Compare(t,Ih(i));return i instanceof Eh?o<0?Lh(Rh(e,t,n,Nh(i)),Ih(i),Ah(i),Th(i)):0===o?Oh(t,n,Nh(i),Th(i),Ph(i)):Lh(Nh(i),Ih(i),Ah(i),Rh(e,t,n,Th(i))):o<0?Oh(t,n,void 0,r,2):0===o?Sh(t,n):Oh(t,n,r,void 0,2)}return Sh(t,n)}function jh(e,t,n){e:for(;;){const r=e,i=t;if(null!=n){const o=n,s=0|r.Compare(i,Ih(o));if(0===s)return _t(Ah(o));if(o instanceof Eh){e=r,t=i,n=s<0?Nh(o):Th(o);continue e}return}return}}function Wh(e,t){e:for(;;){const n=e;if(null!=t){const r=t;if(r instanceof Eh){Wh(n,Nh(r)),n(Ih(r),Ah(r)),e=n,t=Th(r);continue e}n(Ih(r),Ah(r))}break}}function Uh(e,t){Wh(e,t)}function zh(e,t){if(null!=t){const n=t;if(n instanceof Eh){const t=zh(e,Nh(n)),r=e(Ih(n),Ah(n)),i=zh(e,Th(n));return Oh(Ih(n),r,t,i,Ph(n))}return Sh(Ih(n),e(Ih(n),Ah(n)))}}function Fh(e,t){return zh(e,t)}function Gh(e,t){let n;for(let r=0;r<=t.length-1;r++){const i=t[r];n=Rh(e,i[0],i[1],n)}return n}class Hh extends yt{constructor(e,t){super(),this.stack=e,this.started=t}}function Vh(e){e:for(;;){const t=e;if(Wn(t))return Ln();{const n=Fn(t),r=zn(t);if(null!=r){const i=r;if(i instanceof Eh){e=Jn([Nh(i),Sh(Ih(i),Ah(i)),Th(i)],n);continue e}return t}e=n;continue e}}}function Yh(e){return new Hh(Vh(jn(e)),!1)}function qh(e){if(e.started){const t=e.stack;if(Wn(t))return function(){throw new Error("enumeration already finished")}();if(null!=zn(t)){const e=zn(t);if(e instanceof Eh)throw new Error("Please report error: Map iterator, unexpected stack for current");return[Ih(e),Ah(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function Jh(e){let t=Yh(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>qh(t),"System.Collections.IEnumerator.get_Current":()=>qh(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Wn(t))return!1;if(null!=zn(t)){if(zn(t)instanceof Eh)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=Vh(Fn(t)),!Wn(e.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!Wn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=Yh(e)},Dispose(){}}}class Zh{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){const t=(e,t)=>(e<<1)+t+631;let n=0;const r=He(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=0|t(n,tt(e[0])),n=0|t(n,tt(e[1]))}}finally{ze(r)}return 0|n}(this)}Equals(e){if(!(e instanceof Zh))return!1;{const t=He(this);try{const n=He(e);try{const e=()=>{const r=t["System.Collections.IEnumerator.MoveNext"]();if(r===n["System.Collections.IEnumerator.MoveNext"]()){if(r){const r=t["System.Collections.Generic.IEnumerator`1.get_Current"](),i=n["System.Collections.Generic.IEnumerator`1.get_Current"]();return!(!ot(r[0],i[0])||!ot(r[1],i[1]))&&e()}return!0}return!1};return e()}finally{ze(n)}}finally{ze(t)}}}toString(){return"map ["+vn("; ",Sr((e=>gn("({0}, {1})",e[0],e[1])),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(e){return Array.from(this)}GetEnumerator(){return Jh(this.tree)}[Symbol.iterator](){return Ve(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Jh(this.tree)}CompareTo(e){const t=this;if(e instanceof Zh)return 0|function(e,t,n){const r=mr(t);try{const t=mr(n);try{let n=0,i=r["System.Collections.IEnumerator.MoveNext"](),o=t["System.Collections.IEnumerator.MoveNext"]();for(;0===n&&i&&o;)n=0|e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),t["System.Collections.Generic.IEnumerator`1.get_Current"]()),0===n&&(i=r["System.Collections.IEnumerator.MoveNext"](),o=t["System.Collections.IEnumerator.MoveNext"]());return 0|(0!==n?n:i?1:o?-1:0)}finally{ze(t)}}finally{ze(r)}}(((e,n)=>{const r=0|t.comparer.Compare(e[0],n[0]);return 0|(0!==r?r:lt(e[1],n[1]))}),t,e);throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return tm(this,e[0])&&ot(Qh(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){!function(e,t,n){let r=n;Uh(((e,n)=>{t[r]=[e,n],r=r+1|0}),e)}(this.tree,e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|em(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|em(this)}get size(){return 0|em(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return Sr((e=>[e[0],e[1]]),this)}get(e){return Qh(this,e)}has(e){return tm(this,e)}keys(){return Sr((e=>e[0]),this)}set(e,t){throw new Error("Map cannot be mutated")}values(){return Sr((e=>e[1]),this)}forEach(e,t){const n=this;kr((t=>{e(t[1],t[0],n)}),n)}}function Xh(e,t){return new Zh(e,t)}function Kh(e){const t=Tt();return Xh(t,function(e,t){if(je(t))return Gh(e,t);if(t instanceof En)return function(e,t){return Vn(((t,n)=>Rh(e,n[0],n[1],t)),void 0,t)}(e,t);{const n=He(t);try{return function(e,t,n){for(;;){const r=e,i=t,o=n;if(!o["System.Collections.IEnumerator.MoveNext"]())return i;{const s=o["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=Rh(r,s[0],s[1],i),n=o}}}(e,void 0,n)}finally{ze(n)}}}(t,e))}function Qh(e,t){return function(e,t,n){const r=jh(e,t,n);if(null==r)throw new Error;return kt(r)}(e.comparer,t,e.tree)}function em(e){return Mh(e.tree)}function tm(e,t){return function(e,t,n){e:for(;;){const r=e,i=t;if(null!=n){const o=n,s=0|r.Compare(i,Ih(o));if(o instanceof Eh){if(s<0){e=r,t=i,n=Nh(o);continue e}if(0===s)return!0;e=r,t=i,n=Th(o);continue e}return 0===s}return!1}}(e.comparer,t,e.tree)}function nm(e,t,n){return function(e,t,n){return Xh(e.comparer,Rh(e.comparer,t,n,e.tree))}(n,e,t)}function rm(e,t){return function(e,t){return jh(e.comparer,t,e.tree)}(t,e)}function im(e,t){return function(e,t){return Xh(e.comparer,Fh(t,e.tree))}(t,e)}function om(){return Zh.empty}function sm(e){return new vh(0,"Content-Type",e)}Zh.empty=Xh(Tt(),void 0);const am=new Ch("",new yh(0),Ln(),!1,void 0,void 0,void 0,new bh(0));function cm(e,t){return wn(t)?[t]:_n(t,[e],null,0)}function lm(e){return new Ch(e,am.method,am.headers,am.withCredentials,am.overridenMimeType,am.overridenResponseType,am.timeout,am.content)}function um(e,t){return new Ch(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function fm(e,t){return new Ch(t.url,t.method,Kn(t.headers,jn(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function dm(e,t){return new Ch(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function hm(e){return Wa((t=>{const n=new XMLHttpRequest;n.open(function(e){switch(e.tag){case 1:return"POST";case 3:return"PATCH";case 2:return"PUT";case 4:return"DELETE";case 6:return"OPTIONS";case 5:return"HEAD";default:return"GET"}}(e.method),e.url),n.onreadystatechange=()=>{let e,r,i,o,s,a,c;4===n.readyState&&t[0]((r=n.responseType,e=""===r||"text"===r?n.responseText:"",i=0|n.status,o=n.responseType,a=n.responseType,s=""===a||"text"===a?new xh(0,n.responseText):new xh("arraybuffer"===a?2:"blob"===a?1:3,n.response),c=function(e){const t=Tt();return Xh(t,Gh(t,e))}(function(e,t,n){const r=[];for(let n=0;n<=t.length-1;n++){const i=e(t[n]);if(null!=i){const e=kt(i);r.push(e)}}return r}((e=>{const t=Zn(cm(":",e));return Wn(t)?void 0:[zn(t).toLocaleLowerCase(),vn(":",Fn(t)).trim()]}),cm("\r\n",n.getAllResponseHeaders()))),new _h(i,e,o,n.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"]();n.setRequestHeader(e.fields[0],e.fields[1])}}finally{ze(r)}n.withCredentials=e.withCredentials;const i=e.overridenMimeType;if(null==i);else{const e=i;n.overrideMimeType(e)}const o=e.overridenResponseType;null==o||(1===o.tag?n.responseType="blob":2===o.tag?n.responseType="arraybuffer":n.responseType="text");const s=e.timeout;if(null==s);else{const e=0|s;n.timeout=0|e}const a=e.content;switch(a.tag){case 1:case 3:case 2:n.send(_t(a.fields[0]));break;default:n.send()}}))}new _h(0,"","","",om(),new xh(0,""));var mm=null;try{mm=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 pm(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function $m(e){return!0===(e&&e.__isLong__)}pm.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},pm.prototype.Equals=function(e){return Fm(this,e)},pm.prototype.CompareTo=function(e){return Ym(this,e)},pm.prototype.toString=function(e){return jm(this,e)},pm.prototype.toJSON=function(){return jm(this)},pm.prototype[qt]=function(){const e=this;return{multiply:t=>Xm(e,t),toPrecision:t=>String(e)+(0).toPrecision(t).substr(1),toExponential:t=>String(e)+(0).toExponential(t).substr(1),toFixed:t=>String(e)+(0).toFixed(t).substr(1),toHex:()=>{return jm(e.unsigned?e:function(e,t,n){return n?function(e,t){return new pm(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)}(e,t):function(e,t){return new pm(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}(e,t)}((t=e,n?function(e){var t=e.high,n=e.low;return[255&n,n>>>8&255,n>>>16&255,n>>>24,255&t,t>>>8&255,t>>>16&255,t>>>24]}(t):function(e){var t=e.high,n=e.low;return[t>>>24,t>>>16&255,t>>>8&255,255&t,n>>>24,n>>>16&255,n>>>8&255,255&n]}(t)),!0),16);var t,n}}},pm.prototype.__isLong__,Object.defineProperty(pm.prototype,"__isLong__",{value:!0});var gm={},wm={};function ym(e,t){var n,r,i;return t?(i=0<=(e>>>=0)&&e<256)&&(r=wm[e])?r:(n=bm(e,(0|e)<0?-1:0,!0),i&&(wm[e]=n),n):(i=-128<=(e|=0)&&e<128)&&(r=gm[e])?r:(n=bm(e,e<0?-1:0,!1),i&&(gm[e]=n),n)}function vm(e,t){if(isNaN(e))return t?Om:Em;if(t){if(e<0)return Om;if(e>=Sm)return Mm}else{if(e<=-Im)return Bm;if(e+1>=Im)return Dm}return e<0?qm(vm(-e,t)):bm(e%km|0,e/km|0,t)}function bm(e,t,n){return new pm(e,t,n)}var Cm=Math.pow;function xm(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return Em;if("number"==typeof t?(n=t,t=!1):t=!!t,(n=n||10)<2||36<n)throw RangeError("radix");var r=e.indexOf("-");if(r>0)throw Error("interior hyphen");if(0===r)return qm(xm(e.substring(1),t,n));for(var i=vm(Cm(n,8)),o=Em,s=0;s<e.length;s+=8){var a=Math.min(8,e.length-s),c=parseInt(e.substring(s,s+a),n);o=Jm(a<8?Xm(o,vm(Cm(n,a))):o=Xm(o,i),vm(c))}return o.unsigned=t,o}function _m(e,t){return"number"==typeof e?vm(e,t):"string"==typeof e?xm(e,t):bm(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}var km=4294967296,Sm=km*km,Im=Sm/2,Am=ym(1<<24),Em=ym(0),Om=ym(0,!0),Nm=ym(1),Tm=ym(1,!0),Pm=ym(-1),Dm=bm(-1,2147483647,!1),Mm=bm(-1,-1,!0),Bm=bm(0,-2147483648,!1);function Lm(e){return e.unsigned?e.low>>>0:e.low}function Rm(e){return e.unsigned?(e.high>>>0)*km+(e.low>>>0):e.high*km+(e.low>>>0)}function jm(e,t){if((t=t||10)<2||36<t)throw RangeError("radix");if(Wm(e))return"0";if(Um(e)){if(Fm(e,Bm)){var n=vm(t),r=Km(e,n),i=Zm(Xm(r,n),e);return jm(r,t)+Lm(i).toString(t)}return"-"+jm(qm(e),t)}for(var o=vm(Cm(t,6),e.unsigned),s=e,a="";;){var c=Km(s,o),l=(Lm(Zm(s,Xm(c,o)))>>>0).toString(t);if(Wm(s=c))return l+a;for(;l.length<6;)l="0"+l;a=""+l+a}}function Wm(e){return 0===e.high&&0===e.low}function Um(e){return!e.unsigned&&e.high<0}function zm(e){return 1==(1&e.low)}function Fm(e,t){return $m(t)||(t=_m(t)),(e.unsigned===t.unsigned||e.high>>>31!=1||t.high>>>31!=1)&&e.high===t.high&&e.low===t.low}function Gm(e,t){return Ym(e,t)<0}function Hm(e,t){return Ym(e,t)>0}function Vm(e,t){return Ym(e,t)>=0}function Ym(e,t){if($m(t)||(t=_m(t)),Fm(e,t))return 0;var n=Um(e),r=Um(t);return n&&!r?-1:!n&&r?1:e.unsigned?t.high>>>0>e.high>>>0||t.high===e.high&&t.low>>>0>e.low>>>0?-1:1:Um(Zm(e,t))?-1:1}function qm(e){return!e.unsigned&&Fm(e,Bm)?Bm:Jm(function(e){return bm(~e.low,~e.high,e.unsigned)}(e),Nm)}function Jm(e,t){$m(t)||(t=_m(t));var n=e.high>>>16,r=65535&e.high,i=e.low>>>16,o=65535&e.low,s=t.high>>>16,a=65535&t.high,c=t.low>>>16,l=0,u=0,f=0,d=0;return f+=(d+=o+(65535&t.low))>>>16,u+=(f+=i+c)>>>16,l+=(u+=r+a)>>>16,l+=n+s,bm((f&=65535)<<16|(d&=65535),(l&=65535)<<16|(u&=65535),e.unsigned)}function Zm(e,t){return $m(t)||(t=_m(t)),Jm(e,qm(t))}function Xm(e,t){if(Wm(e))return e.unsigned?Om:Em;if($m(t)||(t=_m(t)),mm)return bm(mm.mul(e.low,e.high,t.low,t.high),mm.get_high(),e.unsigned);if(Wm(t))return e.unsigned?Om:Em;if(Fm(e,Bm))return zm(t)?Bm:Em;if(Fm(t,Bm))return zm(e)?Bm:Em;if(Um(e))return Um(t)?Xm(qm(e),qm(t)):qm(Xm(qm(e),t));if(Um(t))return qm(Xm(e,qm(t)));if(Gm(e,Am)&&Gm(t,Am))return vm(Rm(e)*Rm(t),e.unsigned);var n=e.high>>>16,r=65535&e.high,i=e.low>>>16,o=65535&e.low,s=t.high>>>16,a=65535&t.high,c=t.low>>>16,l=65535&t.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+=n*l+r*c+i*a+o*s,bm((d&=65535)<<16|(h&=65535),(u&=65535)<<16|(f&=65535),e.unsigned)}function Km(e,t){if($m(t)||(t=_m(t)),Wm(t))throw Error("division by zero");var n,r,i;if(mm)return e.unsigned||-2147483648!==e.high||-1!==t.low||-1!==t.high?bm((e.unsigned?mm.div_u:mm.div_s)(e.low,e.high,t.low,t.high),mm.get_high(),e.unsigned):e;if(Wm(e))return e.unsigned?Om:Em;if(e.unsigned){if(t.unsigned||(t=function(e){return e.unsigned?e:bm(e.low,e.high,!0)}(t)),Hm(t,e))return Om;if(Hm(t,function(e,t){if($m(t)&&(t=Lm(t)),0==(t&=63))return e;var n=e.high;return t<32?bm(e.low>>>t|n<<32-t,n>>>t,e.unsigned):bm(32===t?n:n>>>t-32,0,e.unsigned)}(e,1)))return Tm;i=Om}else{if(Fm(e,Bm))return Fm(t,Nm)||Fm(t,Pm)?Bm:Fm(t,Bm)?Nm:Fm(n=function(e,t){return $m(t)&&(t=Lm(t)),0==(t&=63)?e:t<32?bm(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):bm(0,e.low<<t-32,e.unsigned)}(Km(function(e,t){return $m(t)&&(t=Lm(t)),0==(t&=63)?e:t<32?bm(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):bm(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}(e,1),t),1),Em)?Um(t)?Nm:Pm:i=Jm(n,Km(r=Zm(e,Xm(t,n)),t));if(Fm(t,Bm))return e.unsigned?Om:Em;if(Um(e))return Um(t)?Km(qm(e),qm(t)):qm(Km(qm(e),t));if(Um(t))return qm(Km(e,qm(t)));i=Em}for(r=e;Vm(r,t);){n=Math.max(1,Math.floor(Rm(r)/Rm(t)));for(var o=Math.ceil(Math.log(n)/Math.LN2),s=o<=48?1:Cm(2,o-48),a=vm(n),c=Xm(a,t);Um(c)||Hm(c,r);)c=Xm(a=vm(n-=s,e.unsigned),t);Wm(a)&&(a=Nm),i=Jm(i,a),r=Zm(r,c)}return i}const Qm=Km,ep=Rm;function tp(e){return e<0?Math.ceil(e):Math.floor(e)}function np(e=0,t=0,n=0,r=0,i=0){switch(arguments.length){case 1:return ep(Qm(arguments[0],1e4));case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],i=0}return 864e5*e+36e5*t+6e4*n+1e3*r+i}function rp(e,t){try{return t.contents=function(e){const t=e.search("\\."),n=e.search("\\:");if(-1===t&&-1===n){const t=parseInt(e,0);if(isNaN(t))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return np(t,0,0,0,0)}if(n>0){const t=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(null!=t&&null!=t[4]&&null!=t[5]){let n=0,r=0,i=0;const o=null!=t[1]&&"-"===t[1]?-1:1,s=+t[4],a=+t[5];if(null!=t[3]&&(n=+t[3]),null!=t[7]&&(i=+t[7]),null!=t[8])switch(t[8].length){case 1:r=100*+t[8];break;case 2:r=10*+t[8];break;case 3:r=+t[8];break;case 4:r=+t[8]/10;break;case 5:r=+t[8]/100;break;case 6:r=+t[8]/1e3;break;case 7:r=+t[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return o*np(n,s,a,i,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}class ip extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class op extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class sp{constructor(){this.cache=new Map([])}}function ap(){return new sp}function cp(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function lp(e,t){switch(e.tag){case 2:return function(e,t,n,r,i=0){if("string"==typeof e){const n=e;e=tn(t,null!=r?r:0),t=n,r=void 0}if("function"==typeof n)return r=null==r?-1:r,t.substring(0,i)+t.substring(i).replace(e,(function(){let e=arguments[0];if(r){r--;const t=[],i=arguments.length,o="string"!=typeof arguments[i-1];let s=o?i-3:i-2;for(let e=0;e<s;e++)t.push(arguments[e]);t.index=arguments[s++],t.input=arguments[s++],o&&(t.groups=arguments[s]),e=n(t)}return e}));if(n=n.replace(/\$0/g,(e=>"$&")).replace(/\${([^}]+)}/g,"$<$1>"),null!=r){let o;const s=t.substring(i),a=rn(e,s),c=rn.length>r?(o=a[r-1],s.substring(0,o.index+o[0].length)):s;return t.substring(0,i)+c.replace(e,n)+t.substring(i+c.length)}return t.replace(e,n)}(cp(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return cp(t)}}function up(e){return e}ap(),ap();const fp=null;function dp(e){return Array.from(e)}function hp(e){return zt(e,"O")}function mp(e){return function(e,t="c",n){if(-1===["c","g","G"].indexOf(t))throw new Error("Custom formats are not supported");const r=Math.abs(function(e){return tp(e/864e5)}(e)),i=Math.abs(function(e){return tp(e%864e5/36e5)}(e)),o=Math.abs(function(e){return tp(e%36e5/6e4)}(e)),s=Math.abs(function(e){return tp(e%6e4/1e3)}(e)),a=Math.abs(function(e){return tp(e%1e3)}(e));return`${e<0?"-":""}${0!==r||"c"!==t&&"g"!==t?"c"===t?r+".":r+":":""}${"g"===t?i:qe(i,2)}:${qe(o,2)}:${qe(s,2)}${0!==a||"c"!==t&&"g"!==t?"g"===t?"."+qe(a,3):"."+function(e,t,n){let r=e.toString(10);for(;r.length<3;)r="0"+r;for(;r.length<7;)r+="0";return r}(a):""}`}(e)}function pp(){return null}function $p(e){return zt(e,"O")}function gp(e,t){return JSON.stringify(t,ht(2,void 0),_t(e))}function wp(e,t,n,r){const i=new vt(null);let o;const s=id(r);let a;if(o=""===s?e:nm(s,i,e),gd(r)){const e=Mt((e=>{const r=lp(t,rd(e)),i=yp(o,t,n,e[1]);return t=>o=>{const s=function(e,t){return e[t[0]]}(t,e);return(!n||n&&null!=s)&&(o[r]=i(s)),o}}),md(r));a=t=>_r(((e,n)=>n(t)(e)),{},e)}else{if(!$d(r)){let e;const t=id(r);throw e=hn(un("Cannot generate auto encoder for %s. Please pass an extra encoder.\n\nDocumentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders"))(t),new Error(e)}a=e=>{const i=function(e,t){const n=hd(t)[e.tag];if(null==n)throw new Error(`Cannot find case ${e.name} in union type`);return[n,e.fields]}(e,r),s=i[0],a=i[1],c=0|a.length;if(0===c)return rd(s);{const e=0|c,r=yd(s),i=Dt(new Array(e+1),0,e+1,null);i[0]=rd(s);for(let s=1;s<=e;s++){const e=yp(o,t,n,r[s-1][1]);i[s]=e(a[s-1])}return i}}}return i.contents=a,a}function yp(e,t,n,r){const i=id(r),o=rm(i,e);if(null==o){if(od(r)){const i=yp(e,t,n,sd(r));return e=>dp(Sr(i,e))}if(cd(r)){const e=id(ud(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=id(r);return mn(un("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(ad(r)){if(wd(r)){const i=Mt((r=>yp(e,t,n,r)),pd(r));return e=>{return dp((t=(e,t)=>i[e](t),n=e,br((()=>mr(n)),((e,n)=>n["System.Collections.IEnumerator.MoveNext"]()?_t(t(e,n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{ze(e)}))));var t,n}}{const i=id(ld(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===i){const i=new Ye((()=>{return i=yp(e,t,n,zf(r)[0]),e=>{return n=()=>fp,null!=(t=Ot(i,e))?kt(t):n();var t,n};var i}));return e=>null==e?fp: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=yp(e,t,n,zf(r)[0]);return e=>dp(Sr(i,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===i){const i=zf(r)[0],o=yp(e,t,n,zf(r)[1]);if("System.String"===id(i)||"System.Guid"===id(i))return e=>_r(((e,t)=>{const n=t;return e[n[0]]=o(n[1]),e}),{},e);{let r;const s=yp(e,t,n,i);return r=s,e=>dp(Sr((e=>{const t=e;return[r(t[0]),o(t[1])]}),e))}}return wp(e,t,n,r)}}return"System.Boolean"===i?e=>e:"Microsoft.FSharp.Core.Unit"===i?pp:"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?$p:"System.DateTimeOffset"===i?hp:"System.TimeSpan"===i?mp:"System.Guid"===i?up:"System.Object"===i?e=>e:wp(e,t,n,r)}{const e=o;return t=>e.contents(t)}}function vp(e,t,n,r){const i=At(t,new op(0)),o=At(r,!0);return yp(function(e){return null!=e?im(((e,t)=>new vt(t[0])),e.Coders):om()}(n),i,o,e)}var bp;function Cp(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function xp(e,t,n,r,i){const o=function(e,t,n){const r=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(null!=r){const[,,e,i]=r;n=n||function(e,t){if(t&bp.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}(e,t);const o=function(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}(n);if(!o.test(i))return function(e,t){const[,n,r,i]=e;return{sign:n||"",prefix:r||"",digits:i,radix:t}}(r,n)}return null}(e,t,i);if(null!=o){let e=Number.parseInt(o.sign+o.digits,o.radix);if(!Number.isNaN(e)){const[t,i]=Cp(!0,r);!n&&10!==o.radix&&e>=t&&e<=i&&(e=e<<32-r>>32-r);const[s,a]=Cp(n,r);if(e>=s&&e<=a)return e}}throw new Error("Input string was not in a correct format.")}function _p(e,t,n,r,i){try{return i.contents=xp(e,t,n,r),!0}catch(e){return!1}}function kp(e,t){!function(e){if(null!=e&&0!==e){if(e%6e4!=0)throw new Error("Offset must be specified in whole minutes.");if(Math.abs(e/36e5)>14)throw new Error("Offset must be within plus or minus 14 hours.")}}(t);const n=new Date(e);return n.offset=null!=t?t:-6e4*(new Date).getTimezoneOffset(),n}function Sp(e,t){try{return t.contents=function(e){const[t,n]=Gt(e),r=null==n?-6e4*t.getTimezoneOffset():"Z"===n?0:6e4*n;return kp(t.getTime(),r)}(e),!0}catch(e){return!1}}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(bp||(bp={}));class Ip{constructor(e){this.k=e}}function Ap(e){return new Ip(e)}function Ep(e){return e.k}class Op extends Ip{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=0|r}}function Np(e,t,n,r){return new Op(e,t,n,r)}function Tp(e){return e.left}function Pp(e){return e.right}function Dp(e){return e.h}function Mp(e,t){e:for(;;){const n=t;if(null!=e){const r=e;if(r instanceof Op){e=Tp(r),t=Mp(Pp(r),n+1);continue e}return n+1|0}return 0|n}}function Bp(e){return Mp(e,0)}function Lp(e,t,n){let r,i;r=null!=e?e instanceof Op?Dp(e):1:0,i=null!=n?n instanceof Op?Dp(n):1:0;const o=0|(r<i?i:r);return 0===o?Ap(t):Np(t,e,n,o+1)}function Rp(e,t,n){let r,i,o,s,a,c;if(a=null!=e?e instanceof Op?Dp(e):1:0,c=null!=n?n instanceof Op?Dp(n):1:0,c>a+2){const o=kt(n);if(o instanceof Op){if(r=Tp(o),(null!=r?(i=r,i instanceof Op?Dp(i):1):0)>a+1){const n=kt(Tp(o));if(n instanceof Op)return Lp(Lp(e,t,Tp(n)),Ep(n),Lp(Pp(n),Ep(o),Pp(o)));throw new Error("internal error: Set.rebalance")}return Lp(Lp(e,t,Tp(o)),Ep(o),Pp(o))}throw new Error("internal error: Set.rebalance")}if(a>c+2){const r=kt(e);if(r instanceof Op){if(o=Pp(r),(null!=o?(s=o,s instanceof Op?Dp(s):1):0)>c+1){const e=kt(Pp(r));if(e instanceof Op)return Lp(Lp(Tp(r),Ep(r),Tp(e)),Ep(e),Lp(Pp(e),t,n));throw new Error("internal error: Set.rebalance")}return Lp(Tp(r),Ep(r),Lp(Pp(r),t,n))}throw new Error("internal error: Set.rebalance")}return Lp(e,t,n)}function jp(e,t,n){if(null!=n){const r=n,i=0|e.Compare(t,Ep(r));if(r instanceof Op)return i<0?Rp(jp(e,t,Tp(r)),Ep(r),Pp(r)):0===i?n:Rp(Tp(r),Ep(r),jp(e,t,Pp(r)));{const i=0|e.Compare(t,Ep(r));return i<0?Np(t,void 0,n,2):0===i?n:Np(t,n,void 0,2)}}return Ap(t)}function Wp(e,t,n){e:for(;;){const r=e,i=t;if(null!=n){const o=n,s=0|r.Compare(i,Ep(o));if(o instanceof Op){if(s<0){e=r,t=i,n=Tp(o);continue e}if(0===s)return!0;e=r,t=i,n=Pp(o);continue e}return 0===s}return!1}}function Up(e,t){e:for(;;){const n=e;if(null!=t){const r=t;if(r instanceof Op){Up(n,Tp(r)),n(Ep(r)),e=n,t=Pp(r);continue e}n(Ep(r))}break}}class zp extends yt{constructor(e,t){super(),this.stack=e,this.started=t}}function Fp(e){e:for(;;){const t=e;if(Wn(t))return Ln();{const n=zn(t),r=Fn(t);if(null!=n){const i=n;if(i instanceof Op){e=Jn([Tp(i),Ap(Ep(i)),Pp(i)],r);continue e}return t}e=r;continue e}}}function Gp(e){return new zp(Fp(jn(e)),!1)}function Hp(e){if(e.started){const t=e.stack;if(Wn(t))return function(){throw new Error("Enumeration already started")}();if(null!=zn(t))return Ep(zn(t));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function Vp(e){let t=Gp(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Hp(t),"System.Collections.IEnumerator.get_Current":()=>Hp(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Wn(t))return!1;if(null!=zn(t)){if(zn(t)instanceof Op)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Fp(Fn(t)),!Wn(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!Wn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=Gp(e)},Dispose(){}}}function Yp(e,t,n){return null==t?null==n?0:-1:null==n?1:0|function(e,t,n){e:for(;;){const r=e,i=t,o=n,s=[i,o];if(Wn(s[0]))return Wn(s[1])?0:-1;if(Wn(s[1]))return 1;if(null!=zn(s[1]))if(null!=zn(s[0])){const a=zn(s[0]),c=zn(s[1]);if(a instanceof Op)if(null==Tp(a)){if(!(c instanceof Op)){const i=0|r.Compare(Ep(a),Ep(c));if(0!==i)return 0|i;e=r,t=Rn(Pp(a),Fn(s[0])),n=Rn(void 0,Fn(s[1]));continue e}if(null==Tp(c)){const i=0|r.Compare(Ep(a),Ep(c));if(0!==i)return 0|i;e=r,t=Rn(Pp(a),Fn(s[0])),n=Rn(Pp(c),Fn(s[1]));continue e}{const s=[i,o];let a,c,l,u,f;switch(Wn(s[0])?Wn(s[1])?a=2:null!=zn(s[1])?(a=1,u=Fn(s[1]),f=zn(s[1])):a=2:null!=zn(s[0])?(a=0,c=Fn(s[0]),l=zn(s[0])):Wn(s[1])?a=2:null!=zn(s[1])?(a=1,u=Fn(s[1]),f=zn(s[1])):a=2,a){case 0:if(l instanceof Op){e=r,t=Jn([Tp(l),Np(Ep(l),void 0,Pp(l),0)],c),n=o;continue e}e=r,t=Jn([void 0,Ap(Ep(l))],c),n=o;continue e;case 1:if(f instanceof Op){e=r,t=i,n=Jn([Tp(f),Np(Ep(f),void 0,Pp(f),0)],u);continue e}e=r,t=i,n=Jn([void 0,Ap(Ep(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(Wn(s[0])?Wn(s[1])?a=2:null!=zn(s[1])?(a=1,u=Fn(s[1]),f=zn(s[1])):a=2:null!=zn(s[0])?(a=0,c=Fn(s[0]),l=zn(s[0])):Wn(s[1])?a=2:null!=zn(s[1])?(a=1,u=Fn(s[1]),f=zn(s[1])):a=2,a){case 0:if(l instanceof Op){e=r,t=Jn([Tp(l),Np(Ep(l),void 0,Pp(l),0)],c),n=o;continue e}e=r,t=Jn([void 0,Ap(Ep(l))],c),n=o;continue e;case 1:if(f instanceof Op){e=r,t=i,n=Jn([Tp(f),Np(Ep(f),void 0,Pp(f),0)],u);continue e}e=r,t=i,n=Jn([void 0,Ap(Ep(f))],u);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(c instanceof Op)){const i=0|r.Compare(Ep(a),Ep(c));if(0!==i)return 0|i;e=r,t=Fn(s[0]),n=Fn(s[1]);continue e}if(null==Tp(c)){const i=0|r.Compare(Ep(a),Ep(c));if(0!==i)return 0|i;e=r,t=Rn(void 0,Fn(s[0])),n=Rn(Pp(c),Fn(s[1]));continue e}{const s=[i,o];let a,c,l,u,f;switch(Wn(s[0])?Wn(s[1])?a=2:null!=zn(s[1])?(a=1,u=Fn(s[1]),f=zn(s[1])):a=2:null!=zn(s[0])?(a=0,c=Fn(s[0]),l=zn(s[0])):Wn(s[1])?a=2:null!=zn(s[1])?(a=1,u=Fn(s[1]),f=zn(s[1])):a=2,a){case 0:if(l instanceof Op){e=r,t=Jn([Tp(l),Np(Ep(l),void 0,Pp(l),0)],c),n=o;continue e}e=r,t=Jn([void 0,Ap(Ep(l))],c),n=o;continue e;case 1:if(f instanceof Op){e=r,t=i,n=Jn([Tp(f),Np(Ep(f),void 0,Pp(f),0)],u);continue e}e=r,t=i,n=Jn([void 0,Ap(Ep(f))],u);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{zn(s[1]);const a=[i,o];let c,l,u,f,d;switch(Wn(a[0])?Wn(a[1])?c=2:null!=zn(a[1])?(c=1,f=Fn(a[1]),d=zn(a[1])):c=2:null!=zn(a[0])?(c=0,l=Fn(a[0]),u=zn(a[0])):Wn(a[1])?c=2:null!=zn(a[1])?(c=1,f=Fn(a[1]),d=zn(a[1])):c=2,c){case 0:if(u instanceof Op){e=r,t=Jn([Tp(u),Np(Ep(u),void 0,Pp(u),0)],l),n=o;continue e}e=r,t=Jn([void 0,Ap(Ep(u))],l),n=o;continue e;case 1:if(d instanceof Op){e=r,t=i,n=Jn([Tp(d),Np(Ep(d),void 0,Pp(d),0)],f);continue e}e=r,t=i,n=Jn([void 0,Ap(Ep(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==zn(s[0])){e=r,t=Fn(s[0]),n=Fn(s[1]);continue e}{zn(s[0]);const a=[i,o];let c,l,u,f,d;switch(Wn(a[0])?Wn(a[1])?c=2:null!=zn(a[1])?(c=1,f=Fn(a[1]),d=zn(a[1])):c=2:null!=zn(a[0])?(c=0,l=Fn(a[0]),u=zn(a[0])):Wn(a[1])?c=2:null!=zn(a[1])?(c=1,f=Fn(a[1]),d=zn(a[1])):c=2,c){case 0:if(u instanceof Op){e=r,t=Jn([Tp(u),Np(Ep(u),void 0,Pp(u),0)],l),n=o;continue e}e=r,t=Jn([void 0,Ap(Ep(u))],l),n=o;continue e;case 1:if(d instanceof Op){e=r,t=i,n=Jn([Tp(d),Np(Ep(d),void 0,Pp(d),0)],f);continue e}e=r,t=i,n=Jn([void 0,Ap(Ep(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,jn(t),jn(n))}function qp(e,t,n){let r=n;Up((e=>{t[r]=e,r=r+1|0}),e)}function Jp(e,t){if(je(t))return function(e,t){return Bt(((t,n)=>jp(e,n,t)),void 0,t)}(e,t);if(t instanceof En)return function(e,t){return Vn(((t,n)=>jp(e,n,t)),void 0,t)}(e,t);{const n=He(t);try{return function(e,t,n){for(;;){const r=e,i=t,o=n;if(!o["System.Collections.IEnumerator.MoveNext"]())return i;e=r,t=jp(r,o["System.Collections.Generic.IEnumerator`1.get_Current"](),i),n=o}}(e,void 0,n)}finally{ze(n)}}}class Zp{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){let t,n=0;const r=He(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();)n=0|(t=0|tt(r["System.Collections.Generic.IEnumerator`1.get_Current"]()),(n<<1)+t+631)}finally{ze(r)}return 0|Math.abs(n)}(this)}Equals(e){return e instanceof Zp&&0===Yp(Xp(this),Kp(this),Kp(e))}toString(){return"set ["+vn("; ",Sr((e=>gt(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(e){return Array.from(this)}CompareTo(e){return 0|Yp(Xp(this),Kp(this),Kp(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 Wp(Xp(this),e,Kp(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){qp(Kp(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|Qp(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|Qp(this)}GetEnumerator(){return Vp(Kp(this))}[Symbol.iterator](){return Ve(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Vp(Kp(this))}get size(){return 0|Qp(this)}add(e){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(e){throw new Error("Set cannot be mutated")}has(e){return function(e,t){return Wp(Xp(e),t,Kp(e))}(this,e)}keys(){return Sr((e=>e),this)}values(){return Sr((e=>e),this)}entries(){return Sr((e=>[e,e]),this)}forEach(e,t){const n=this;kr((t=>{e(t,t,n)}),n)}}function Xp(e){return e.comparer}function Kp(e){return e.tree}function Qp(e){return Bp(Kp(e))}function e$(e,t,n){try{return"Expecting "+e+" but instead got:"+(n?"\n":" ")+JSON.stringify(t,null,4)}catch(t){return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(n?"\n":" ")}}function t$(e,t,n){const r=t(e,n);if(1===r.tag){const e=r.fields[0];return new wo(1,function(e,t){const n=2===t.tag?e$(t.fields[0],t.fields[1],!0):1===t.tag?e$(t.fields[0],t.fields[1],!1)+"\nReason: "+t.fields[2]:3===t.tag?e$(t.fields[0],t.fields[1],!0):4===t.tag?e$(t.fields[0],t.fields[1],!0)+"\nNode `"+t.fields[2]+"` is unkown.":5===t.tag?"Expecting "+t.fields[0]+".\n"+JSON.stringify(t.fields[1],null,4):7===t.tag?"The following errors were found:\n\n"+vn("\n\n",t.fields[0]):6===t.tag?"The following `failure` occurred with the decoder: "+t.fields[0]:e$(t.fields[0],t.fields[1],!1);return 7===t.tag?n:"Error at: `"+e+"`\n"+n}(e[0],e[1]))}return new wo(0,r.fields[0])}function n$(e,t){try{return t$("$",e,JSON.parse(t))}catch(e){if(e instanceof SyntaxError)return new wo(1,"Given an invalid JSON: "+e.message);throw e}}function r$(e,t){return"string"==typeof t?new wo(0,t):new wo(1,[e,new ip(0,"a string",t)])}const i$=e=>t=>{const n="a sbyte",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-128<=e&&e<=127?new wo(0,(e+128&255)-128):new wo(1,[r,new ip(1,n,e,"Value was either too large or too small for "+n)]):new wo(1,[r,new ip(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[_p(i,511,!1,8,new vt((()=>t),(e=>{t=0|e}))),t],e[0]?new wo(0,e[1]):new wo(1,[r,new ip(0,n,i)])}return new wo(1,[r,new ip(0,n,i)])},o$=e=>t=>{const n="a byte",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=255?new wo(0,255&e):new wo(1,[r,new ip(1,n,e,"Value was either too large or too small for "+n)]):new wo(1,[r,new ip(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[_p(i,511,!0,8,new vt((()=>t),(e=>{t=e}))),t],e[0]?new wo(0,e[1]):new wo(1,[r,new ip(0,n,i)])}return new wo(1,[r,new ip(0,n,i)])},s$=e=>t=>{const n="an int16",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-32768<=e&&e<=32767?new wo(0,(e+32768&65535)-32768):new wo(1,[r,new ip(1,n,e,"Value was either too large or too small for "+n)]):new wo(1,[r,new ip(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[_p(i,511,!1,16,new vt((()=>t),(e=>{t=0|e}))),t],e[0]?new wo(0,e[1]):new wo(1,[r,new ip(0,n,i)])}return new wo(1,[r,new ip(0,n,i)])},a$=e=>t=>{const n="an uint16",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=65535?new wo(0,65535&e):new wo(1,[r,new ip(1,n,e,"Value was either too large or too small for "+n)]):new wo(1,[r,new ip(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[_p(i,511,!0,16,new vt((()=>t),(e=>{t=e}))),t],e[0]?new wo(0,e[1]):new wo(1,[r,new ip(0,n,i)])}return new wo(1,[r,new ip(0,n,i)])},c$=e=>t=>{const n="an int",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?-2147483648<=e&&e<=2147483647?new wo(0,~~e):new wo(1,[r,new ip(1,n,e,"Value was either too large or too small for "+n)]):new wo(1,[r,new ip(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[_p(i,511,!1,32,new vt((()=>t),(e=>{t=0|e}))),t],e[0]?new wo(0,e[1]):new wo(1,[r,new ip(0,n,i)])}return new wo(1,[r,new ip(0,n,i)])},l$=e=>t=>{const n="an uint32",r=e,i=t;if("number"==typeof i){const e=i;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=4294967295?new wo(0,e>>>0):new wo(1,[r,new ip(1,n,e,"Value was either too large or too small for "+n)]):new wo(1,[r,new ip(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[_p(i,511,!0,32,new vt((()=>t),(e=>{t=e}))),t],e[0]?new wo(0,e[1]):new wo(1,[r,new ip(0,n,i)])}return new wo(1,[r,new ip(0,n,i)])};function u$(e,t,n,r){let i;const o=n+".["+Ze(e)+"]";if(Array.isArray(r)){const n=r;return e<n.length?t(o,n[e]):new wo(1,[o,new ip(5,"a longer array. Need index `"+Ze(e)+"` but there are only `"+(i=n.length,Ze(i)+"` entries"),r)])}return new wo(1,[o,new ip(0,"an array",r)])}function f$(e,t,n){if(Array.isArray(n)){let r=-1;return yo(Yn,Bt(((n,i)=>{if(r=r+1|0,0===n.tag){const o=e(t+".["+Ze(r)+"]",i);return 0===o.tag?new wo(0,Rn(o.fields[0],n.fields[0])):new wo(1,o.fields[0])}return n}),new wo(0,Ln()),n))}return new wo(1,[t,new ip(0,"a list",n)])}function d$(e,t,n){if(Array.isArray(n)){let r=-1;const i=n;return Bt(((n,i)=>{if(r=r+1|0,0===n.tag){const o=n.fields[0],s=e(t+".["+Ze(r)+"]",i);return 0===s.tag?(o[r]=s.fields[0],new wo(0,o)):new wo(1,s.fields[0])}return n}),new wo(0,Dt(new Array(i.length),0,i.length,null)),i)}return new wo(1,[t,new ip(0,"an array",n)])}function h$(e,t,n,r){const i=t(n,r);return 0===i.tag?e(i.fields[0],n,r):new wo(1,i.fields[0])}function m$(e,t){let n;const r=e;return n=e=>t=>u$(0,r,e,t),e=>r=>h$(ht(3,(e=>{let n;const r=t;return n=e=>t=>u$(1,r,e,t),t=>r=>h$(((t,n,r)=>new wo(0,[e,t])),ht(2,n),t,r)})),ht(2,n),e,r)}function p$(e){return Kh(e)}function $$(e){return function(e,t){return new Zp(e,t)}(t={Compare:lt},Jp(t,e));var t}function g$(e,t,n,r){let i;const o=t.length+e|0;if(o!==r.length)return new wo(1,[n,new ip(6,(i=0|r.length,hn(un("Expected array of length %i but got %i"))(o)(i)))]);{let i=new wo(0,Ln());for(let o=e;o<=r.length-1;o++)if(0===i.tag){const s=i.fields[0],a=hn(un("%s[%i]"))(n)(o),c=t[o-e],l=r[o];i=yo((e=>Rn(e,s)),c(a)(l))}return yo(Yn,i)}}function w$(e,t,n,r,i,o){const s=function(e,t){return t.find((e=>rd(e)===r))}(0,hd(n));if(null!=s){const n=s,r=Mt((n=>v$(e,t,!1,n[1])),yd(n));return yo((e=>function(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);return null!=e.declaringType.construct?new e.declaringType.construct(e.tag,...t):{}}(n,Hn(e))),0===r.length&&o.length<=1?new wo(0,Ln()):g$(1,r,i,o))}return new wo(1,[i,new ip(6,"Cannot find case "+r+" in "+id(n))])}function y$(e,t,n,r){const i=new vt(null);let o;const s=id(r);let a;if(o=""===s?e:nm(s,i,e),gd(r)){const e=Mt((e=>[lp(t,rd(e)),v$(o,t,!1,e[1])]),md(r));a=t=>n=>yo((e=>function(e,t){const n=md(e);if(n.length!==t.length)throw new Error(`Expected an array of length ${n.length} but got ${t.length}`);return null!=e.construct?new e.construct(...t):n.reduce(((e,[n,r],i)=>(e[n]=t[i],e)),{})}(r,Hn(e))),function(e,t,n){return null===n||Object.getPrototypeOf(n||!1)!==Object.prototype?new wo(1,[t,new ip(0,"an object",n)]):function(e,t,n){return t.reduceRight(((t,n)=>e(n,t)),n)}(ht(2,(e=>{const r=e[0];return i=>0===i.tag?yo((e=>Rn(e,i.fields[0])),e[1](t+"."+r)(n[r])):i})),e,new wo(0,Ln()))}(e,t,n))}else if($d(r))a=e=>n=>{if("string"==typeof n)return w$(o,t,r,n,e,[]);if(Array.isArray(n)){const i=n;return vo((n=>w$(o,t,r,n,e,i)),r$(e+"[0]",i[0]))}return new wo(1,[e,new ip(0,"a string or array",n)])};else{if(!n){let e;const t=id(r);throw e=hn(un("Cannot generate auto decoder for %s. Please pass an extra decoder.\n\nDocumentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders"))(t),new Error(e)}a=e=>t=>new wo(1,[e,new ip(2,"an extra coder for "+id(r),t)])}return i.contents=a,a}function v$(e,t,n,r){let i,o,s,a;const c=id(r),l=rm(c,e);if(null==l){if(od(r)){const n=v$(e,t,!1,sd(r));return e=>t=>d$(ht(2,n),e,t)}if(cd(r)){const e=id(ud(r));if("System.SByte"===e)return e=>t=>{const n=r,i=e,o=t,s=i$(i)(o);if(1===s.tag)return new wo(1,s.fields[0]);{const e=s.fields[0];return xr(e,fd(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new wo(0,dd(n,e.toString())):new wo(1,[i,new ip(1,id(n),o,"Unkown value provided for the enum")])}};if("System.Byte"===e)return e=>t=>{const n=r,i=e,o=t,s=o$(i)(o);if(1===s.tag)return new wo(1,s.fields[0]);{const e=s.fields[0];return xr(e,fd(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new wo(0,dd(n,e.toString())):new wo(1,[i,new ip(1,id(n),o,"Unkown value provided for the enum")])}};if("System.Int16"===e)return e=>t=>{const n=r,i=e,o=t,s=s$(i)(o);if(1===s.tag)return new wo(1,s.fields[0]);{const e=s.fields[0];return xr(e,fd(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new wo(0,dd(n,e.toString(a))):new wo(1,[i,new ip(1,id(n),o,"Unkown value provided for the enum")])}var a};if("System.UInt16"===e)return e=>t=>{const n=r,i=e,o=t,s=a$(i)(o);if(1===s.tag)return new wo(1,s.fields[0]);{const e=s.fields[0];return xr(e,fd(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new wo(0,dd(n,e.toString())):new wo(1,[i,new ip(1,id(n),o,"Unkown value provided for the enum")])}};if("System.Int32"===e)return e=>t=>{const n=r,i=e,o=t,s=c$(i)(o);if(1===s.tag)return new wo(1,s.fields[0]);{const e=s.fields[0];return xr(e,fd(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new wo(0,dd(n,Ze(e))):new wo(1,[i,new ip(1,id(n),o,"Unkown value provided for the enum")])}};if("System.UInt32"===e)return e=>t=>{const n=r,i=e,o=t,s=l$(i)(o);if(1===s.tag)return new wo(1,s.fields[0]);{const e=s.fields[0];return xr(e,fd(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new wo(0,dd(n,e.toString())):new wo(1,[i,new ip(1,id(n),o,"Unkown value provided for the enum")])}};{const e=id(r),t=mn(un("Cannot generate auto decoder for %s.\nThoth.Json.Net only support the following enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can't use one of these types, please pass an extra decoder.\n "))(e);return e=>t(e)}}if(ad(r)){if(wd(r)){const n=Mt((n=>v$(e,t,!1,n)),pd(r));return e=>t=>Array.isArray(t)?yo((e=>Hn(e)),g$(0,n,e,t)):new wo(1,[e,new ip(0,"an array",t)])}{const c=id(ld(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===c)return i=v$(e,t,!0,zf(r)[0]),e=>t=>{return n=ht(2,i),r=e,null==(o=t)?new wo(0,void 0):yo(_t,n(r,o));var n,r,o};if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===c)return o=v$(e,t,!1,zf(r)[0]),e=>t=>f$(ht(2,o),e,t);if("System.Collections.Generic.IEnumerable`1[System.Object]"===c)return s=v$(e,t,!1,zf(r)[0]),e=>t=>function(e,t,n){if(Array.isArray(n)){let r=-1;return yo(Ir,Bt(((n,i)=>{if(r=r+1|0,0===n.tag){const o=e(t+".["+Ze(r)+"]",i);return 0===o.tag?new wo(0,Cr([o.fields[0]],n.fields[0])):new wo(1,o.fields[0])}return n}),new wo(0,[]),n))}return new wo(1,[t,new ip(0,"a seq",n)])}(ht(2,s),e,t);if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===c){const n=v$(e,t,!1,zf(r)[0]),i=v$(e,t,!1,zf(r)[1]);let o;const s=Zn([e=>t=>function(e,t,n,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new wo(1,[n,new ip(0,"an object",r)]):_r(((i,o)=>{if(0===i.tag){const s=e(n,o);if(0===s.tag){const e=t(n+"."+o,r[o]);return 0===e.tag?new wo(0,Rn([s.fields[0],e.fields[0]],i.fields[0])):new wo(1,e.fields[0])}return new wo(1,s.fields[0])}return i}),new wo(0,Ln()),Object.keys(r))}(ht(2,n),ht(2,i),e,t),(a=m$(ht(2,n),ht(2,i)),e=>t=>f$(ht(2,a),e,t))]);return o=e=>t=>{return n=e,r=t,((e,t)=>{e:for(;;){const i=e,o=t;if(Wn(i))return new wo(1,[n,new ip(7,o)]);{const s=t$(n,ht(2,zn(i)),r);if(1===s.tag){e=Fn(i),t=Kn(o,jn(s.fields[0]));continue e}return new wo(0,s.fields[0])}}})(s,Ln());var n,r},e=>t=>function(e,t,n,r){const i=t(n,r);return 1===i.tag?new wo(1,i.fields[0]):new wo(0,e(i.fields[0]))}(p$,ht(2,o),e,t)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===c){const n=v$(e,t,!1,zf(r)[0]);return e=>t=>{const r=d$(ht(2,n),e,t);return 0===r.tag?new wo(0,$$(r.fields[0])):new wo(1,r.fields[0])}}return y$(e,t,n,r)}}return"System.Boolean"===c?e=>t=>{return n=e,"boolean"==typeof(r=t)?new wo(0,r):new wo(1,[n,new ip(0,"a boolean",r)]);var n,r}:"Microsoft.FSharp.Core.Unit"===c?e=>t=>{return n=e,null==(r=t)?new wo(0,void 0):new wo(1,[n,new ip(0,"null",r)]);var n,r}:"System.String"===c?e=>t=>r$(e,t):"System.Char"===c?e=>t=>function(e,t){if("string"==typeof t){const n=t;return 1===n.length?new wo(0,n[0]):new wo(1,[e,new ip(0,"a single character string",t)])}return new wo(1,[e,new ip(0,"a char",t)])}(e,t):"System.SByte"===c?i$:"System.Byte"===c?o$:"System.Int16"===c?s$:"System.UInt16"===c?a$:"System.Int32"===c?c$:"System.UInt32"===c?l$:"System.Double"===c?e=>t=>{return n=e,"number"==typeof(r=t)?new wo(0,r):new wo(1,[n,new ip(0,"a float",r)]);var n,r}:"System.Single"===c?e=>t=>{return n=e,"number"==typeof(r=t)?new wo(0,r):new wo(1,[n,new ip(0,"a float32",r)]);var n,r}:"System.DateTime"===c?e=>t=>function(e,t){if("string"==typeof t){let r,i=Ft(-621355968e5,0);return r=[Ht(t,new vt((()=>i),(e=>{i=e}))),i],r[0]?new wo(0,1===(n=r[1]).kind?n:Ft(n.getTime(),1)):new wo(1,[e,new ip(0,"a datetime",t)])}var n;return new wo(1,[e,new ip(0,"a datetime",t)])}(e,t):"System.DateTimeOffset"===c?e=>t=>function(e,t){if("string"==typeof t){let n,r=kp(-621355968e5,0);return n=[Sp(t,new vt((()=>r),(e=>{r=e}))),r],n[0]?new wo(0,n[1]):new wo(1,[e,new ip(0,"a datetimeoffset",t)])}return new wo(1,[e,new ip(0,"a datetime",t)])}(e,t):"System.TimeSpan"===c?e=>t=>function(e,t){if("string"==typeof t){let n,r=0;return n=[rp(t,new vt((()=>r),(e=>{r=e}))),r],n[0]?new wo(0,n[1]):new wo(1,[e,new ip(0,"a timespan",t)])}return new wo(1,[e,new ip(0,"a timespan",t)])}(e,t):"System.Guid"===c?e=>t=>function(e,t){if("string"==typeof t){let n,r="00000000-0000-0000-0000-000000000000";return n=[so(t,new vt((()=>r),(e=>{r=e}))),r],n[0]?new wo(0,n[1]):new wo(1,[e,new ip(0,"a guid",t)])}return new wo(1,[e,new ip(0,"a guid",t)])}(e,t):"System.Object"===c?e=>e=>new wo(0,e):y$(e,t,n,r)}{const e=l;return t=>n=>e.contents(t)(n)}}function b$(e,t,n){const r=At(t,new op(0));return v$(function(e){return null!=e?im(((e,t)=>new vt(t[1])),e.Coders):om()}(n),r,!1,e)}class C${constructor(e){this.magicLink=e,this.backendUrl=`${hh}/workflows/public-backend/invites/${this.magicLink.InviteToken}`}}function x$(e,t){return Ba.Delay((()=>{let e;const n=hm(t);return e=Ba.Bind(n,(e=>Ba.Return(new wo(0,e)))),Ba.Bind(e,(e=>{const n=e;if(1===n.tag)return Ba.Return(new wo(1,n.fields[0]));{const e=n.fields[0];if(429===e.statusCode||e.statusCode>=500){let e;const n=Ua(2e3);return e=Ba.Bind(n,(()=>Ba.Return(new wo(0,x$0027_1)))),Ba.Bind(e,(e=>{const n=e;if(1===n.tag)return Ba.Return(new wo(1,n.fields[0]));{const e=hm(t);return Ba.Bind(e,(e=>Ba.Return(new wo(0,e))))}}))}return Ba.Return(new wo(0,e))}}))}))}class _$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["AuthCode"]}}function k$(e){return new _$(0,e)}class S$ extends yt{constructor(e,t,n,r,i,o){super(),this.id_token=e,this.access_token=t,this.expires_in=n,this.refresh_token=r,this.scope=i,this.token_type=o}}function I$(){return Vf("Workflows.UI.Auth.Types.Credentials",[],S$,(()=>[["id_token",Qf],["access_token",Qf],["expires_in",nd],["refresh_token",Zf(Qf)],["scope",Qf],["token_type",Qf]]))}class A$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SignIn","SignInWithCurrentAuth","NavigateToOnboarding"]}}function E$(){return[new Kd(Ln(),new Zd(0),void 0,new kd(0,new Id(void 0))),Cf(new Qd(1,new Yd(0)))]}function O$(e,t,n,r,i){let o,s,a,c;const l=function(e){return new C$(e)}(e);if(1===r.tag){if(1===r.fields[0].tag){if(1===r.fields[0].fields[0].tag)return[i,Cf(new Qd(0,new Zd(6,new Jd(5))))];{let e;const t=r.fields[0].fields[0].fields[0].Outcome;switch(t.tag){case 1:{const n=t.fields[0],r=[n.IsInitialMagicLinkUsed,n.OneTimeCodeOptionAvailable];e=r[0]?r[1]?new Qd(0,new Zd(1,n.FirstName,new Xd(1))):new Qd(0,new Zd(1,n.FirstName,new Xd(0))):r[1]?new Qd(3,!1,new Yd(0)):new Qd(0,new Zd(4));break}case 4:e=new Qd(0,new Zd(5));break;case 2:case 7:e=new Qd(0,new Zd(6,new Jd(2)));break;case 3:e=new Qd(0,new Zd(6,new Jd(4)));break;case 5:e=new Qd(0,new Zd(6,new Jd(3)));break;case 6:e=new Qd(0,new Zd(6,new Jd(1)));break;default:{const r=t.fields[0];r.IsInitialMagicLinkUsed?(n(k$(r.AuthCode)),e=new Qd(0,new Zd(1,r.FirstName,new Xd(2)))):e=new Qd(6,r.AuthCode)}}return[new Kd(r.fields[0].fields[0].fields[0].CssOverrides,i.Page,Nd(r.fields[0].fields[0].fields[0].Outcome),At(Td(r.fields[0].fields[0].fields[0].Outcome),i.JourneyType)),Cf(e)]}}return[i,xf((e=>{kf(e)}),(()=>function(e){return Ba.Delay((()=>{let t,n;const r=x$(0,(t=um(new yh(1),lm(`${e.backendUrl}/magic-link/validate`)),dm(new bh(1,(n=new Ed(e.magicLink.MagicCode),gp(0,vp(Vf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeRequestDto",[],Ed,(()=>[["MagicCode",Qf]])),new op(1),void 0,void 0)(n)))),t)));return Ba.Bind(r,(e=>{const t=e;if(1===t.tag)return Ba.Return(new wo(1,t.fields[0]));{let e;const n=t.fields[0];return e=200===n.statusCode?n$(ht(2,b$(Vf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeResponseDto",[],Pd,(()=>[["CssOverrides",Xf(Qf)],["Outcome",qf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeOutcomeDto",[],Od,(()=>[[["Item",Yf(["AuthCode",Qf],["Branding",Zf(xd())],["FirstName",Qf],["IsInitialMagicLinkUsed",ed],["JourneyType",Sd()])]],[["Item",Yf(["Branding",Zf(xd())],["FirstName",Qf],["IsInitialMagicLinkUsed",ed],["JourneyType",Sd()],["OneTimeCodeOptionAvailable",ed])]],[["Item",Yf(["Branding",Zf(xd())],["JourneyType",Sd()])]],[["Item",Yf(["Branding",Zf(xd())],["JourneyType",Sd()])]],[["Item",Yf(["Branding",Zf(xd())],["JourneyType",Sd()])]],[["Item",Yf(["Branding",Zf(xd())],["JourneyType",Sd()])]],[["Item",Yf(["Branding",Zf(xd())],["JourneyType",Sd()])]],[]]))]])),new op(1),void 0)),n.responseText):new wo(1,"Unexpected response from backend"),Ba.Return(e)}}))}))}(l)),void 0,(e=>new Qd(1,new Yd(1,e))),(e=>new Qd(1,new Yd(1,new wo(1,e.message)))))]}return 2===r.tag?1===r.fields[1].tag?1===r.fields[1].fields[0].tag?[i,Cf(new Qd(0,new Zd(6,new Jd(5))))]:[i,Cf(new Qd(0,(o=r.fields[1].fields[0].fields[0].Outcome,2===o.tag?new Zd(2,o.fields[0].MaskedEmail):1===o.tag||5===o.tag?new Zd(6,new Jd(2)):3===o.tag?new Zd(6,new Jd(4)):4===o.tag?new Zd(6,new Jd(1)):6===o.tag?new Zd(5):7===o.tag?new Zd(6,new Jd(3)):new Zd(2,o.fields[0].MaskedEmail))))]:[i,xf((e=>{kf(e)}),(e=>function(e,t){return Ba.Delay((()=>{let n,r;const i=x$(0,(n=um(new yh(1),lm(`${e.backendUrl}/magic-link/reissue`)),dm(new bh(1,(r=new Dd(e.magicLink.MagicCode,t),gp(0,vp(Vf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeRequestDto",[],Dd,(()=>[["MagicCode",Qf],["IsChange",ed]])),new op(1),void 0,void 0)(r)))),n)));return Ba.Bind(i,(e=>{const t=e;if(1===t.tag)return Ba.Return(new wo(1,t.fields[0]));{let e;const n=t.fields[0];return e=200===n.statusCode?n$(ht(2,b$(Vf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeResponseDto",[],Bd,(()=>[["Outcome",qf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeOutcomeDto",[],Md,(()=>[[["Item",Yf(["MaskedEmail",Qf])]],[],[["Item",Yf(["MaskedEmail",Qf])]],[],[],[],[],[]]))]])),new op(1),void 0)),n.responseText):new wo(1,"Unexpected response from backend"),Ba.Return(e)}}))}))}(l,e)),r.fields[0],(e=>new Qd(2,r.fields[0],new Yd(1,e))),(e=>new Qd(2,r.fields[0],new Yd(1,new wo(1,e.message)))))]:3===r.tag?1===r.fields[1].tag?1===r.fields[1].fields[0].tag?[i,Cf(new Qd(0,new Zd(6,new Jd(5))))]:[i,Cf(new Qd(0,(s=r.fields[1].fields[0].fields[0].Outcome,1===s.tag?new Zd(4):2===s.tag?new Zd(6,new Jd(0)):3===s.tag?r.fields[0]?i.Page:new Zd(3,s.fields[0].MaskedPhone):4===s.tag||7===s.tag?new Zd(6,new Jd(2)):5===s.tag?new Zd(6,new Jd(4)):6===s.tag?new Zd(6,new Jd(1)):8===s.tag?new Zd(5):9===s.tag?new Zd(6,new Jd(3)):r.fields[0]?i.Page:new Zd(3,s.fields[0].MaskedPhone))))]:[i,xf((e=>{kf(e)}),(e=>function(e,t){return Ba.Delay((()=>{let n,r;const i=x$(0,(n=um(new yh(1),lm(`${e.backendUrl}/one-time-code/issue`)),dm(new bh(1,(r=new Ld(e.magicLink.MagicCode,t),gp(0,vp(Vf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeRequestDto",[],Ld,(()=>[["MagicCode",Qf],["IsResend",ed]])),new op(1),void 0,void 0)(r)))),n)));return Ba.Bind(i,(e=>{const t=e;if(1===t.tag)return Ba.Return(new wo(1,t.fields[0]));{let e;const n=t.fields[0];return e=200===n.statusCode?n$(ht(2,b$(Vf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeResponseDto",[],jd,(()=>[["Outcome",qf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeOutcomeDto",[],Rd,(()=>[[["Item",Yf(["MaskedPhone",Qf])]],[],[],[["Item",Yf(["MaskedPhone",Qf])]],[],[],[],[],[],[]]))]])),new op(1),void 0)),n.responseText):new wo(1,"Unexpected response from backend"),Ba.Return(e)}}))}))}(l,e)),r.fields[0],(e=>new Qd(3,r.fields[0],new Yd(1,e))),(e=>new Qd(3,r.fields[0],new Yd(1,new wo(1,e.message)))))]:4===r.tag?1===r.fields[2].tag?1===r.fields[2].fields[0].tag?[i,Cf(new Qd(0,new Zd(6,new Jd(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}),wf()):Cf(new Qd(0,new Zd(6,new Jd(0)))):5===a.tag?Cf(new Qd(0,new Zd(6,new Jd(0)))):2===a.tag||3===a.tag||4===a.tag?(r.fields[1]({AttemptsRemaining:void 0}),wf()):6===a.tag?Cf(new Qd(0,new Zd(6,new Jd(4)))):7===a.tag?Cf(new Qd(0,new Zd(6,new Jd(1)))):8===a.tag?Cf(new Qd(0,new Zd(6,new Jd(2)))):9===a.tag?Cf(new Qd(0,new Zd(5))):10===a.tag?Cf(new Qd(0,new Zd(6,new Jd(0)))):Cf(new Qd(6,a.fields[0].AuthCode)))]:[i,xf((e=>{kf(e)}),(e=>function(e,t){return Ba.Delay((()=>{let n,r;const i=x$(0,(n=um(new yh(1),lm(`${e.backendUrl}/one-time-code/validate`)),dm(new bh(1,(r=new Wd(t),gp(0,vp(Vf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeRequestDto",[],Wd,(()=>[["OneTimeCode",td]])),new op(1),void 0,void 0)(r)))),n)));return Ba.Bind(i,(e=>{const t=e;if(1===t.tag)return Ba.Return(new wo(1,t.fields[0]));{let e;const n=t.fields[0];return e=200===n.statusCode?n$(ht(2,b$(Vf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeResponseDto",[],zd,(()=>[["Outcome",qf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeOutcomeDto",[],Ud,(()=>[[["Item",Yf(["AuthCode",Qf])]],[["Item",Yf(["RemainingAttempts",td])]],[],[],[],[],[],[],[],[],[]]))]])),new op(1),void 0)),n.responseText):new wo(1,"Unexpected response from backend"),Ba.Return(e)}}))}))}(l,e)),r.fields[0],(e=>new Qd(4,r.fields[0],r.fields[1],new Yd(1,e))),(e=>new Qd(4,r.fields[0],r.fields[1],new Yd(1,new wo(1,e.message)))))]:5===r.tag?1===r.fields[1].tag?1===r.fields[1].fields[0].tag?[i,Cf(new Qd(0,new Zd(6,new Jd(5))))]:[i,Cf((c=r.fields[1].fields[0].fields[0].Outcome,1===c.tag||4===c.tag?new Qd(0,new Zd(6,new Jd(2))):2===c.tag?new Qd(0,new Zd(6,new Jd(4))):3===c.tag?new Qd(0,new Zd(6,new Jd(1))):5===c.tag?new Qd(0,new Zd(5)):6===c.tag?new Qd(0,new Zd(6,new Jd(0))):1===r.fields[0].tag?new Qd(3,!1,new Yd(0)):2===r.fields[0].tag?new Qd(6,void 0):new Qd(2,!1,new Yd(0))))]:[i,xf((e=>{kf(e)}),(e=>function(e,t){return Ba.Delay((()=>{let n,r;const i=x$(0,(n=um(new yh(1),lm(`${e.backendUrl}/progress`)),dm(new bh(1,(r=new Fd(e.magicLink.MagicCode,t),gp(0,vp(Vf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressRequestDto",[],Fd,(()=>[["MagicCode",Qf],["IsPassThrough",ed]])),new op(1),void 0,void 0)(r)))),n)));return Ba.Bind(i,(e=>{const t=e;if(1===t.tag)return Ba.Return(new wo(1,t.fields[0]));{let e;const n=t.fields[0];return e=200===n.statusCode?n$(ht(2,b$(Vf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressResponseDto",[],Hd,(()=>[["Outcome",qf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressOutcomeDto",[],Gd,(()=>[[],[],[],[],[],[],[]]))]])),new op(1),void 0)),n.responseText):new wo(1,"Unexpected response from backend"),Ba.Return(e)}}))}))}(l,e)),1!==r.fields[0].tag&&2===r.fields[0].tag,(e=>new Qd(5,r.fields[0],new Yd(1,e))),(e=>new Qd(5,r.fields[0],new Yd(1,new wo(1,e.message)))))]:6===r.tag?(t(Ot(k$,r.fields[0])),[i,wf()]):[new Kd(i.CssOverrides,r.fields[0],i.Branding,i.JourneyType),wf()]}const N$=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 t;return(null!==(t=e.codePointAt(0))&&void 0!==t?t:0)-35})),t=[..."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 t;return(null!==(t=e.codePointAt(0))&&void 0!==t?t:0)-35})),n=new Uint32Array(e),r=new Uint8Array(t);for(let e=1;e<n.length;++e)n[e]+=n[e-1];return e=>{let t=n.length,i=0;for(;t-i>1;){const r=Math.floor((t+i)/2),o=n[r];if(e<o)t=r;else{if(e===o){t=i=r;break}o<e&&(i=r)}}return r[i]}}();const T$=e=>function(e,t){const n=1<<function(e,t){const n=function(e,t){if(t>=0&&t<e.length)return e.charCodeAt(t);throw new Error("Index out of range.")}(e,t);return N$(n)}(e,0);return 0!=(256&n)}(e);class P$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ResendTimerTick","SignIn","IncorrectOneTimeCodeCallback","SetCodeInvalid","SetCodeInputValue","SetReissueLinkInProgress"]}}class D$ extends yt{constructor(e,t,n,r,i,o){super(),this.AttemptsRemaining=e,this.CodeInvalid=t,this.CodeInputValue=n,this.ResendTimer=r,this.SignInInProgress=i,this.ReissueLinkInProgress=o}}function M$(){return[new D$(void 0,!1,"",void 0,!1,!1),wf()]}function B$(e){"one-time-code-input"===e.target.id||"Enter"!==e.key&&document.getElementById("one-time-code-input").focus()}const L$={Dispose(){document.removeEventListener("keypress",(e=>{B$(e)})),document.removeEventListener("paste",(e=>{B$(e)}))}};function R$(e){const t=e.reissueLink,n=e.reissueOneTimeCode,r=e.validateOneTimeCode,i=e.maskedPhone,o=jf(M$,((e,t)=>function(e,t,n){let r;switch(t.tag){case 1:{const r=kn(T$,n.CodeInputValue);return 6===r.length?(e([xp(r,511,!1,32),t.fields[0]]),[new D$(n.AttemptsRemaining,n.CodeInvalid,n.CodeInputValue,n.ResendTimer,!0,n.ReissueLinkInProgress),wf()]):[n,Cf(new P$(3,!0))]}case 2:return[new D$(t.fields[0],n.CodeInvalid,n.CodeInputValue,n.ResendTimer,n.SignInInProgress,n.ReissueLinkInProgress),Cf(new P$(3,!0))];case 3:{const e=t.fields[0];return[new D$(n.AttemptsRemaining,e,e?"":n.CodeInputValue,n.ResendTimer,!1,n.ReissueLinkInProgress),wf()]}case 4:return[new D$(n.AttemptsRemaining,n.CodeInvalid,t.fields[0],n.ResendTimer,n.SignInInProgress,n.ReissueLinkInProgress),wf()];case 5:return[new D$(n.AttemptsRemaining,n.CodeInvalid,n.CodeInputValue,n.ResendTimer,n.SignInInProgress,!0),wf()];default:{const e=_f((e=>{kf(e)}),(()=>Ba.Delay((()=>Ba.Bind(Ua(1e3),(()=>Ba.Return()))))),void 0,(()=>new P$(0)));let t;const i=n.ResendTimer;return t=null!=i?i>0?(r=0|i,[r-1,e]):[void 0,wf()]:[20,e],[new D$(n.AttemptsRemaining,n.CodeInvalid,n.CodeInputValue,t[0],n.SignInInProgress,n.ReissueLinkInProgress),t[1]]}}}(r,e,t))),s=o[0],a=o[1];Ui((()=>(document.addEventListener("keypress",(e=>{B$(e)})),document.addEventListener("paste",(e=>{B$(e)})),L$)),new Array(0));const c=()=>{a(new P$(1,(e=>{a(new P$(2,e.AttemptsRemaining))})))},l=vr(pr((()=>Cr(wr(function(e){const t=Tr($i([]),1);return d(Gr,t)}()),pr((()=>Cr(wr(Ni("Enter your security code")),pr((()=>{let e,r;return Cr(wr(d("div",ft(Zn([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4"],(e=[(r=Zn([d("span",{children:["We’ve sent a security code to your mobile number ending in •••"]}),d("span",{className:"font-semibold",children:kn(T$,i)}),d("span",{children:["."]})]),d("p",{children:bi.Children.toArray(Array.from(r))})),d("p",{children:["Enter your code to sign in."]})],["children",bi.Children.toArray(Array.from(e))])])))),pr((()=>{let e;return Cr(wr(d("div",ft(Zn([["className","mt-8 flex relative"],(e=vr(pr((()=>{let e;return Cr(wr(d("input",ft(Zn([["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 t=e.target;t.selectionStart=0|s.CodeInputValue.length,t.selectionEnd=0|s.CodeInputValue.length,a(new P$(3,!1))}],["onChange",e=>{const t=kn(T$,e.target.value);a(new P$(4,t)),6===t.length&&c()}],(e=s.CodeInputValue,["ref",t=>{null==t||ot(t.value,e)||(t.value=e)}])])))),pr((()=>Er((e=>{const t=Ot((e=>e),Rt(e,s.CodeInputValue.split(""))),n=Ot((e=>e),Rt(e-1,s.CodeInputValue.split("")));return wr(d("div",{key:e,className:vn(" ",vr(pr((()=>Cr(wr("flex justify-center items-center text-xl w-10 h-12 rounded-md ring-inset ring-1 transition ease-in"),pr((()=>Cr(s.CodeInvalid?wr("ring-red-600"):wr("ring-gray-400"),pr((()=>Cr(wr(2===e?"mr-4":5===e?"":"mr-2"),pr((()=>null!=t||null!=n||0===e?wr("peer-focus:ring-2 peer-focus:ring-primary-base"):gr()))))))))))))),children:At(t,"")}))}),If(0,1,5)))))}))),["children",bi.Children.toArray(Array.from(e))])])))),pr((()=>{let e;return Cr(s.CodeInvalid?wr(d("p",ft(Zn([["className","w-[288px] text-red-600 mt-2 leading-5"],(e=vr(pr((()=>Cr(wr("The code you entered is invalid"),pr((()=>{let e,t;return Cr((e=s.AttemptsRemaining,null==e?wr(null):(t=0|e,wr(`, you have ${t} attempts remaining`))),pr((()=>Cr(wr("."),pr((()=>null==s.AttemptsRemaining?wr(" Try again or click on the link below to resend the code."):wr(null)))))))})))))),["children",bi.Children.toArray(Array.from(e))])])))):gr(),pr((()=>Cr(wr(Pi("sm:w-[288px] mt-6",c,s.SignInInProgress,[d("span",{children:["Continue"]})])),pr((()=>{let e;return wr(d("div",ft(Zn([["className","mt-8 sm:mt-14 text-sm text-gray-900 whitespace-pre-wrap leading-5 space-y-4"],(e=vr(pr((()=>{let e,r,i,o;return Cr((e=s.ResendTimer,null!=e?(r=0|e,wr((i=`Message sent. Wait ${r} seconds before trying again.`,d("p",{children:[i]})))):wr((o=Zn([d("span",{children:["Didn’t get the code? "]}),d("span",{className:"text-primary-base underline underline-offset-3 cursor-pointer",onClick:e=>{n(),a(new P$(0))},children:"Resend message"}),d("span",{children:["."]})]),d("p",{children:bi.Children.toArray(Array.from(o))})))),pr((()=>{let e;return wr((e=Zn([d("span",{children:["Still having trouble? "]}),d("span",{className:"text-primary-base underline underline-offset-3 cursor-pointer",onClick:e=>{s.ReissueLinkInProgress||(a(new P$(5)),t())},children:"Sign in with email instead"}),d("span",{children:["."]})]),d("p",{children:bi.Children.toArray(Array.from(e))})))})))}))),["children",bi.Children.toArray(Array.from(e))])]))))}))))))})))})))})))))))));return d(m,{},...l)}function j$(e){const t=e.reissueLink,n=e.brandingOption,r=Yi(!1),i=vr(pr((()=>Cr(wr(function(e){const t=Tr($i([]),1);return d(oi,t)}()),pr((()=>Cr(wr(Ni("Access link timed-out")),pr((()=>{let e;return Cr(wr(d("div",ft(Zn([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 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",bi.Children.toArray(Array.from(e))])])))),pr((()=>Cr(wr(Pi("mt-8 mb-8 sm:mb-14",(()=>{r[1](!0),t()}),r[0],[d("span",{children:["Get a new link"]})])),pr((()=>wr(null==n?null:Ti(n))))))))})))))))));return d(m,{},...i)}function W$(e,t){const n=At(Nt((e=>e.CompanyName),e),"your employer"),r=vr(pr((()=>Cr(wr(vi([])),pr((()=>Cr(wr(Ni("You’re all done")),pr((()=>{let r,i;return Cr(wr(d("div",ft(Zn([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4 mb-8 sm:mb-14"],(r=[(i=`Your ${t} is now complete and your pay information has now been submitted to ${n}.`,d("p",{children:[i]})),d("p",{children:["You can now close this window."]})],["children",bi.Children.toArray(Array.from(r))])])))),pr((()=>wr(null==e?null:Ti(e)))))})))))))));return d(m,{},...r)}function U$(){let e,t,n,r,i,o,s,a,c;return d("div",ft(Zn([["className","flex lg:min-w-[1024px] xl:min-w-[1280px] max-w-screen-xl justify-center"],(e=[d("div",ft(Zn([["className","flex flex-col justify-center items-center"],(t=[vi([]),Ni("You’re all set!"),d("div",ft(Zn([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4 mb-8 sm:mb-14"],(n=[d("p",{children:["Access your exclusive benefits by downloading the Flare app."]}),d("div",ft(Zn([["className","hidden lg:flex justify-center lg:py-8"],(r=[d("img",{className:"h-40",src:"/workflows/app/app-invite/qr.png"})],["children",bi.Children.toArray(Array.from(r))])]))),d("div",ft(Zn([["className","flex items-center justify-center lg:hidden"],(i=[d("img",{className:"w-[280px]",src:"/workflows/app/app-invite/completed.png"})],["children",bi.Children.toArray(Array.from(i))])]))),d("p",ft(Zn([["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",bi.Children.toArray(Array.from(o))])]))),d("p",{children:"Available on iOS and Android"})],["children",bi.Children.toArray(Array.from(n))])]))),d("div",ft(Zn([["className","flex space-x-6"],(s=[d("a",ft(Zn([["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",bi.Children.toArray(Array.from(a))])]))),d("a",ft(Zn([["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",bi.Children.toArray(Array.from(c))])])))],["children",bi.Children.toArray(Array.from(s))])])))],["children",bi.Children.toArray(Array.from(t))])]))),d("img",{className:"hidden lg:block w-[640px]",src:"/workflows/app/app-invite/completed.png"})],["children",bi.Children.toArray(Array.from(e))])])))}function z$(e){const t=e.startAuthCodeExchangeBackground,n=e.navigateAuthCodeExchangePage,r=e.magicLink,i=jf(E$,((e,i)=>O$(r,n,t,e,i))),o=i[0],s=i[1],a=vr(pr((()=>Cr(Sr((e=>d("style",{children:[e]})),o.CssOverrides),pr((()=>{const e=o.Page;if(1===e.tag)return wr(function(e,t,n,r){const i=Yi(!1),o=Ot((e=>d("span",{className:"font-semibold",children:`${e}`})),Nt((e=>e.CompanyName),t)),s=1===n.tag?`Hi, ${e}`:2===n.tag?`${e}, join your workplace benefits program`:`Welcome, ${e}`,a=vr(pr((()=>{let e,t;return Cr((e=n,1===e.tag?wr(gi([])):2===e.tag?wr(d("div",ft(Zn([["className","sm:w-[700px]"],(t=[d("img",{src:"/workflows/app/app-invite/welcome.png"})],["children",bi.Children.toArray(Array.from(t))])])))):wr(gi([]))),pr((()=>Cr(wr(Ni(s)),pr((()=>{let e;return Cr(wr(d("div",ft(Zn([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4 mb-8 sm:mb-14"],(e=vr(pr((()=>1===n.tag?Cr(wr(At(o,d("span",{children:["Your employer"]}))),pr((()=>Cr(wr(d("span",{children:[" has requested additional information from you."]})),pr((()=>wr(d("p",{children:["Sign in to complete your information request."]})))))))):2===n.tag?wr(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."]})):Cr(wr(d("p",{children:["Congratulations on the new role!"]})),pr((()=>{let e;return wr((e=Zn([d("span",{children:["Sign in to complete your onboarding with "]}),At(o,d("span",{children:["your employer"]})),d("span",{children:["."]})]),d("p",{children:bi.Children.toArray(Array.from(e))})))})))))),["children",bi.Children.toArray(Array.from(e))])])))),pr((()=>{let e;return wr(Pi(void 0,(()=>{i[1](!0),r()}),i[0],[(e=1===n.tag?"Sign in":2===n.tag?"Continue":"Sign in",d("span",{children:[e]}))]))})))}))))))})));return d(m,{},...a)}(e.fields[0],o.Branding,o.JourneyType,(()=>{s(new Qd(5,e.fields[1],new Yd(0)))})));if(2===e.tag)return wr(function(e,t){let n,r,i;const o=[wi([]),Ni("Check your inbox"),d("div",ft(Zn([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4"],(n=[(r=Zn([d("span",{children:["We’ve sent a temporary access link to "]}),d("span",{className:"font-semibold",children:xn(e,"*","•")}),d("span",{children:["."]})]),d("p",{children:bi.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",bi.Children.toArray(Array.from(n))])]))),d("div",ft(Zn([["className","text-sm text-gray-900 whitespace-pre-wrap mt-10 sm:mt-14 space-y-4 leading-5"],(i=vr(pr((()=>Cr(wr(d("p",{children:["Can’t see the email? Check your spam folder."]})),pr((()=>wr(null==t?null:Ti(t)))))))),["children",bi.Children.toArray(Array.from(i))])])))];return d(m,{},...o)}(e.fields[0],o.Branding));if(3===e.tag)return wr(d(R$,{maskedPhone:e.fields[0],validateOneTimeCode:e=>{s(new Qd(4,e[0],e[1],new Yd(0)))},reissueOneTimeCode:()=>{s(new Qd(3,!0,new Yd(0)))},reissueLink:()=>{s(new Qd(2,!0,new Yd(0)))}}));if(4===e.tag)return wr(d(j$,{brandingOption:o.Branding,reissueLink:()=>{s(new Qd(2,!1,new Yd(0)))}}));if(5!==e.tag)return 6===e.tag?1===e.fields[0].tag?wr(qi("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?wr(d(Zi,{reissueMagicLink:()=>{s(new Qd(2,!0,new Yd(0)))}})):5===e.fields[0].tag?wr(Ki()):2===e.fields[0].tag?wr(Xi(o.Branding)):3===e.fields[0].tag?wr(Ji("Invite no longer active","It looks like your employer may have cancelled your invite, and you no longer have access.",o.Branding)):wr(Ji("Invite expired","Your invite has now expired and you no longer have access.",o.Branding)):wr(Di);switch(o.JourneyType.tag){case 1:default:return wr(W$(o.Branding,function(e){switch(e.tag){case 1:return"information request";case 2:return"workflow";default:return"onboarding"}}(o.JourneyType)));case 2:return wr(U$())}}))))));return d(m,{},...a)}function F$(e){let t,n;const r=e.startAuthCodeExchangeBackground,i=e.navigateAuthCodeExchangePage,o=e.inviteCode;return zi((()=>{Ja(0)})),d("div",ft(Zn([["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"],(t=[d("div",ft(Zn([["className","flex flex-col items-center justify-center sm:max-w-[640px]"],(n=vr(pr((()=>{const e=function(e){const t=_n(e,["."],null,0);if(Lt(((e,t)=>e===t),t,null)||2!==t.length)return new wo(1,"Invalid link");{const e=t[1];return new wo(0,new qd(t[0],e))}}(o);return 0===e.tag?wr(d(z$,{magicLink:e.fields[0],navigateAuthCodeExchangePage:i,startAuthCodeExchangeBackground:r})):wr(Xi(void 0))}))),["children",bi.Children.toArray(Array.from(n))])]))),eo],["children",bi.Children.toArray(Array.from(t))])])))}class G$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","LegacyInvite","InviteV2","AuthCodeExchange","AuthCodeExchangeWithCurrentAuth","NotFound","LoggedOut"]}}function H$(e){const t=lh(e);if(null!=t)return Ot((e=>e[1]),er((e=>"code"===e[0]),t))}function V$(e){let t,n,r,i,o,s,a;const c=function(e){let t,n,r;switch(Wn(e)?t=2:"workflows"===zn(e)?Wn(Fn(e))?t=2:"app"===zn(Fn(e))?(t=0,n=Fn(Fn(e))):"embed"===zn(Fn(e))?Wn(Fn(Fn(e)))?t=2:"v1.0"===zn(Fn(Fn(e)))?(t=1,r=Fn(Fn(Fn(e)))):t=2:t=2:t=2,t){case 0:return new Co(1,n);case 1:return new Co(0,r);case 2:return new Co(2,void 0)}}(e);return 1===c.tag?[Wn(c.fields[0])?Wn(c.fields[0])?new G$(0):(i=lh(zn(c.fields[0])),null!=i?Wn(i)?new G$(0):"invite-code"===zn(i)[0]&&Wn(Fn(i))&&Wn(Fn(c.fields[0]))?(o=zn(i)[1],new G$(2,o)):new G$(0):new G$(0)):(t=lh(zn(c.fields[0])),null!=t?Wn(t)?Wn(c.fields[0])?new G$(0):(i=lh(zn(c.fields[0])),null!=i?Wn(i)?new G$(0):"invite-code"===zn(i)[0]&&Wn(Fn(i))&&Wn(Fn(c.fields[0]))?(o=zn(i)[1],new G$(2,o)):new G$(0):new G$(0)):"invite"===zn(t)[0]&&Wn(Fn(t))&&Wn(Fn(c.fields[0]))?(n=zn(t)[1],r=To(n),1===r.tag?new G$(5):new G$(1)):Wn(c.fields[0])?new G$(0):(i=lh(zn(c.fields[0])),null!=i?Wn(i)?new G$(0):"invite-code"===zn(i)[0]&&Wn(Fn(i))&&Wn(Fn(c.fields[0]))?(o=zn(i)[1],new G$(2,o)):new G$(0):new G$(0)):Wn(c.fields[0])?new G$(0):(i=lh(zn(c.fields[0])),null!=i?Wn(i)?new G$(0):"invite-code"===zn(i)[0]&&Wn(Fn(i))&&Wn(Fn(c.fields[0]))?(o=zn(i)[1],new G$(2,o)):new G$(0):new G$(0))),new gh(1)]:2===c.tag?[new G$(5),new gh(2)]:[Wn(c.fields[0])||Wn(Fn(c.fields[0]))?new G$(0):(s=H$(zn(Fn(c.fields[0]))),null!=s&&Wn(Fn(Fn(c.fields[0])))?(a=s,new G$(3,k$(a))):new G$(0)),new gh(0)]}class Y$ extends yt{constructor(e,t,n){super(),this.CurrentPage=e,this.Credentials=t,this.AppMode=n}}class q$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","NavigateAuthCodeExchangePage","NavigateAuthCodeExchangePageWithCurrentAuth","AuthMsg","StartAuthCodeExchangeBackground","DisplayLoggedOut"]}}function J$(){let e;return zi((()=>{Ja(0)})),d("div",ft(Zn([["className","w-full sm:max-w-md mt-5 mx-1 text-center mx-auto"],(e=[d("h4",{className:"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",bi.Children.toArray(Array.from(e))])])))}function Z$(e){this.message=e}Z$.prototype=new Error,Z$.prototype.name="InvalidCharacterError";var X$="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new Z$("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,o=0,s="";r=t.charAt(o++);~r&&(n=i%4?64*n+r:r,i++%4)?s+=String.fromCharCode(255&n>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return s};function K$(e){this.message=e}K$.prototype=new Error,K$.prototype.name="InvalidTokenError";class Q$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function eg(e,t){switch(t.tag){case 1:return new Q$(1);case 3:return new Q$(3,t.fields[0]);case 2:try{return new Q$(2,e(t.fields[0]))}catch(e){return new Q$(3,e)}default:return new Q$(0)}}function tg(e){return function(e,t){return function(e,t,n){e:for(;;){const r=e,i=t,o=n;if(Wn(o)){const e=r;return 1===e.tag?new wo(1,e.fields[0]):new wo(0,Yn(e.fields[0]))}{let s;const a=i(zn(o));if(1===a.tag)s=new wo(1,a.fields[0]);else{const e=r;s=1===e.tag?new wo(1,e.fields[0]):new wo(0,Rn(a.fields[0],e.fields[0]))}if(1===s.tag)return s;e=s,t=i,n=Fn(o);continue e}}}(new wo(0,Ln()),e,t)}((e=>e),e)}class ng extends yt{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class rg extends yt{constructor(e,t){super(),this.Email=e,this.Phone=t}}class ig extends yt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.NumberOfAttempts=0|n,this.DateOfLastAttempt=r}}class og extends yt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.SecondFactor=n,this.Branding=r}}class sg extends yt{constructor(e,t,n){super(),this.Id=e,this.DisplayName=t,this.ComponentTagName=n}}function ag(e){return new wo(0,new Xo(cs(e.Id),e.DisplayName,e.ComponentTagName))}class cg extends yt{constructor(e,t){super(),this.ActivatedDates=e,this.CompletedSteps=t}}class lg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}class ug extends yt{constructor(e,t,n){super(),this.Id=e,this.Name=t,this.Steps=n}}class fg extends yt{constructor(e,t){super(),this.Name=e,this.Value=t}}function dg(e){return function(e,t){const n=yn(r=e)?new wo(1,"Tag name is empty"):r.length<100?new wo(0,new Rs(0,r)):new wo(1,"Tag name is too long");var r,i;if(1===n.tag)return new wo(1,n.fields[0]);{const e=yn(i=t)?new wo(1,"Tag value is empty"):i.length<100?new wo(0,new js(0,i)):new wo(1,"Tag value is too long");return 1===e.tag?new wo(1,e.fields[0]):new wo(0,new Ls(n.fields[0],e.fields[0]))}}(e.Name,e.Value)}class hg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["WhenEnabled","Always"]}}class mg extends yt{constructor(e){super(),this.BenefitsOnboarding=e}}class pg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Default","InfoRequest","AppInvite","BenefitsExisting","BenefitsOnboarding"]}}class $g extends yt{constructor(e){super(),this.Category=e}}function gg(){return Vf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.JourneyTypeDetailsDto",[],$g,(()=>[["Category",Zf(Qf)]]))}function wg(e){return new Fs(e.Category)}class yg extends yt{constructor(e,t,n,r,i,o,s,a,c,l,u){super(),this.Id=0|e,this.DateCreated=t,this.Configuration=n,this.Status=r,this.Invite=i,this.Tags=o,this.Creator=s,this.StepsConfiguration=a,this.JourneyType=c,this.IsBenefitsStepEnabled=l,this.PaySetupComplete=u}}function vg(){return Vf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceDto",[],yg,(()=>[["Id",td],["DateCreated",Hf("System.DateTime")],["Configuration",Vf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessConfigDto",[],ug,(()=>[["Id",Hf("System.Guid")],["Name",Qf],["Steps",Xf(Vf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessStepConfigDto",[],sg,(()=>[["Id",Qf],["DisplayName",Qf],["ComponentTagName",Qf]])))]]))],["Status",qf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceStatusDto",[],lg,(()=>[[],[["Item",Vf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ActiveProcessInstanceDto",[],cg,(()=>[["ActivatedDates",Xf(Hf("System.DateTime"))],["CompletedSteps",Xf(Jf(Qf,Hf("System.DateTime")))]]))]],[["Item",Hf("System.DateTime")]],[["Item",Hf("System.DateTime")]]]))],["Invite",Zf(Vf("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.InviteDto",[],og,(()=>[["Code",Qf],["DateIssued",Hf("System.DateTime")],["SecondFactor",Zf(Vf("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.SecondFactorDto",[],ig,(()=>[["Code",Qf],["DateIssued",Hf("System.DateTime")],["NumberOfAttempts",td],["DateOfLastAttempt",Zf(Hf("System.DateTime"))]])))],["Branding",Zf(Vf("Workflows.Business.Aggregates.CommonDto.InviteBrandingDto",[],ng,(()=>[["CompanyName",Zf(Qf)],["Logo",Zf(Qf)],["Support",Zf(Vf("Workflows.Business.Aggregates.CommonDto.SupportDto",[],rg,(()=>[["Email",Zf(Qf)],["Phone",Zf(Qf)]])))]])))]])))],["Tags",Zf(Xf(Vf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.TagDto",[],fg,(()=>[["Name",Qf],["Value",Qf]]))))],["Creator",Zf(Qf)],["StepsConfiguration",Zf(Vf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.StepsConfigurationDto",[],mg,(()=>[["BenefitsOnboarding",Zf(Yf(["Show",qf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.BenefitsOnboardingShowOptionsDto",[],hg,(()=>[[],[]]))]))]])))],["JourneyType",Zf(qf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.JourneyTypeDto",[],pg,(()=>[[["Item",gg()]],[["Item",gg()]],[["Item",gg()]],[["Item",gg()]],[["Item",gg()]]])))],["IsBenefitsStepEnabled",Zf(ed)],["PaySetupComplete",Zf(ed)]]))}function bg(e){let t,n;const r=function(e){const t=tg(Qn(ag,e.Steps));if(1===t.tag)return new wo(1,t.fields[0]);{const n=function(e){const t=new us(0,e);return xr(t,Es.keys(),{Equals:ot,GetHashCode:nt})?new wo(0,t):new wo(1,hn(fn("Invalid Type %A%P()",[e])))}(e.Id);return 1===n.tag?new wo(1,n.fields[0]):new wo(0,new fs(n.fields[0],e.Name,t.fields[0]))}}(e.Configuration);if(1===r.tag)return new wo(1,r.fields[0]);{const i=r.fields[0],o=function(e){switch(e.tag){case 1:{const t=function(e){const t=tg(Qn((e=>new wo(0,[cs(e[0]),e[1]])),e.CompletedSteps));return 1===t.tag?new wo(1,t.fields[0]):new wo(0,new Ns(e.ActivatedDates,t.fields[0]))}(e.fields[0]);return 1===t.tag?new wo(1,t.fields[0]):new wo(0,new Ts(1,t.fields[0]))}case 2:return new wo(0,new Ts(2,e.fields[0]));case 3:return new wo(0,new Ts(3,e.fields[0]));default:return new wo(0,new Ts(0))}}(e.Status);if(1===o.tag)return new wo(1,o.fields[0]);{const r=o.fields[0];let s;if(1===r.tag){const e=r.fields[0],t=tg(Qn((e=>{const t=[e[0],e[1]],n=t[0];return rr((e=>ot(e.Id,n)),i.Steps)?new wo(0,[n,t[1]]):new wo(1,"Step id is not configured for this Process Instance.")}),e.CompletedSteps));s=1===t.tag?new wo(1,t.fields[0]):new wo(0,new Ts(1,new Ns(e.ActivatedDates,t.fields[0])))}else s=new wo(0,r);if(1===s.tag)return new wo(1,s.fields[0]);{let r;const o=e.Invite;if(null!=o){const e=function(e){const t=To(e.Code);if(1===t.tag)return new wo(1,t.fields[0]);{let n;const r=e.SecondFactor;let i;n=null==r?void 0:function(e){return new qo((t=e.Code,new Yo(0,t)),e.DateIssued,e.NumberOfAttempts,e.DateOfLastAttempt);var t}(r);const o=e.Branding;if(null!=o){const e=function(e){let t;const n=e.Logo;if(null!=n){const e=Ho(n);t=1===e.tag?new wo(1,e.fields[0]):new wo(0,e.fields[0])}else t=new wo(0,void 0);if(1===t.tag)return new wo(1,t.fields[0]);{let n;const r=e.CompanyName;if(null!=r){const e=Fo(r);n=1===e.tag?new wo(1,e.fields[0]):new wo(0,e.fields[0])}else n=new wo(0,void 0);if(1===n.tag)return new wo(1,n.fields[0]);{let r;const i=e.Support;if(null!=i){const e=function(e){let t;const n=e.Email;if(null!=n){const e=jo(n);t=1===e.tag?new wo(1,e.fields[0]):new wo(0,e.fields[0])}else t=new wo(0,void 0);if(1===t.tag)return new wo(1,t.fields[0]);{let n;const r=e.Phone;if(null!=r){const e=Uo(r);n=1===e.tag?new wo(1,e.fields[0]):new wo(0,e.fields[0])}else n=new wo(0,void 0);return 1===n.tag?new wo(1,n.fields[0]):new wo(0,new Bo(t.fields[0],n.fields[0]))}}(i);r=1===e.tag?new wo(1,e.fields[0]):new wo(0,e.fields[0])}else r=new wo(0,void 0);return 1===r.tag?new wo(1,r.fields[0]):new wo(0,new Po(n.fields[0],t.fields[0],r.fields[0]))}}}(o);i=1===e.tag?new wo(1,e.fields[0]):new wo(0,e.fields[0])}else i=new wo(0,void 0);return 1===i.tag?new wo(1,i.fields[0]):new wo(0,new Jo(t.fields[0],e.DateIssued,n,i.fields[0]))}}(o);r=1===e.tag?new wo(1,e.fields[0]):new wo(0,e.fields[0])}else r=new wo(0,void 0);if(1===r.tag)return new wo(1,r.fields[0]);{let o;const a=e.Tags;if(null!=a){const e=tg(Qn(dg,a));o=1===e.tag?new wo(1,e.fields[0]):new wo(0,e.fields[0])}else o=new wo(0,void 0);return 1===o.tag?new wo(1,o.fields[0]):new wo(0,new Ws(Ms(e.Id),i,e.DateCreated,s.fields[0],r.fields[0],o.fields[0],(t=e.Creator,null==t?void 0:Eo(t)),(n=e.StepsConfiguration,null==n?void 0:function(e){let t,n;return new Us((t=e.BenefitsOnboarding,null==t?void 0:(n=t,{Show:1===n.Show.tag?new Gs(1):new Gs(0)})))}(n)),function(e){if(null==e)return new zs(0,new Fs(void 0));if(1===e.tag){const t=e.fields[0];return new zs(1,wg(t))}if(2===e.tag){const t=e.fields[0];return new zs(2,wg(t))}if(3===e.tag){const t=e.fields[0];return new zs(3,wg(t))}if(4===e.tag){const t=e.fields[0];return new zs(4,wg(t))}{const t=e.fields[0];return new zs(0,wg(t))}}(e.JourneyType),e.IsBenefitsStepEnabled,e.PaySetupComplete))}}}}}class Cg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompleteStep","CompleteStepV2","Complete","ViewPaySetupPage","CompletePaySetup","ResumePaySetup"]}}class xg extends yt{constructor(e,t,n,r){super(),this.CssOverrides=e,this.ProcessInstance=t,this.IsBenefitsEnabled=n,this.Branding=r}}class _g extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompleteStep","CompleteStepV2","Complete","ViewPaySetupPage","CompletePaySetup","ResumePaySetup"]}}const kg=bg;class Sg extends yt{constructor(e,t,n,r){super(),this.CssOverrides=e,this.ProcessInstanceDto=t,this.IsBenefitsEnabled=n,this.Branding=r}}class Ig extends yt{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class Ag extends yt{constructor(e,t){super(),this.Email=e,this.Phone=t}}class Eg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["WorkflowInstanceStepActivated","BenefitsStepActivated","BenefitsStepCompleted"]}}class Og extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PersonalDetails","EmergencyContacts","Bank","Tax","Super","WorkplaceLinking","BenefitsOnboarding","WorkplacePolicies","DiscreteBenefits"]}}class Ng extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Hidden","Incomplete","Complete"]}}function Tg(e){return new Ng(e?1:0)}class Pg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Completed","Disabled","Active","Locked","CompletedAndDisabled"]}}function Dg(e){return ot(e,Ko)?new wo(0,new Og(0)):ot(e,Qo)?new wo(0,new Og(1)):ot(e,es)?new wo(0,new Og(2)):ot(e,ts)?new wo(0,new Og(3)):ot(e,ns)?new wo(0,new Og(4)):ot(e,rs)?new wo(0,new Og(5)):ot(e,ss)?new wo(0,new Og(7)):ot(e,as)?new wo(0,new Og(8)):new wo(1,"Invalid step")}function Mg(e){switch(e.tag){case 1:return Qo;case 2:return es;case 3:return ts;case 4:return ns;case 5:return rs;case 6:return os;case 7:return ss;case 8:return as;default:return Ko}}function Bg(e){switch(e.tag){case 1:return"Emergency contacts";case 2:return"Bank details";case 3:return"Tax declaration";case 4:return"Super nomination";case 5:return rs.DisplayName;case 6:return"Workplace benefits";case 7:return"Fair Work";case 8:return as.DisplayName;default:return"Employee profile"}}function Lg(e){switch(e.tag){case 1:return"Contacts";case 2:return"Bank";case 3:return"Tax";case 4:return"Super";case 5:return rs.DisplayName;case 6:return"Benefits";case 7:return"Fair Work";case 8:return as.DisplayName;default:return"Profile"}}function Rg(e){switch(e.tag){case 1:return Qo;case 2:return es;case 3:return ts;case 4:return ns;case 5:return rs;case 6:return os;case 7:return ss;case 8:return as;default:return Ko}}class jg extends yt{constructor(e,t){super(),this.Id=e,this.Status=t}}function Wg(e){return Bg(e.Id)}function Ug(e){return 1===e.Id.tag?e:void 0}function zg(e,t){const n=At(e.PaySetupComplete,!1);let r;const i=tg(Qn(Dg,e.Configuration.Steps));if(r=1===i.tag?new wo(1,i.fields[0]):new wo(0,function(e,t){return 0===e.tag?t:Kn(t,jn(new Og(6)))}(t,i.fields[0])),1===r.tag)return new wo(1,r.fields[0]);{const t=tg(Qn(Dg,function(e){const t=e.Status;switch(t.tag){case 2:return e.Configuration.Steps;case 3:case 0:return Ln();default:{const n=Qn((e=>e[0]),t.fields[0].CompletedSteps);return nr((e=>{return t=e.Id,r={Equals:ot,GetHashCode:nt},null!=tr((e=>r.Equals(t,e)),n);var t,r}),e.Configuration.Steps)}}}(e)));return 1===t.tag?new wo(1,t.fields[0]):new wo(0,(o=Qn((e=>n&&function(e){switch(e.tag){case 1:case 2:case 3:case 4:case 7:default:return!0;case 5:case 6:case 8:return!1}}(e.Id)&&ot(e.Status,new Pg(0))?new jg(e.Id,new Pg(4)):e),Qn((e=>rr((t=>ot(t,e.Id)),t.fields[0])?new jg(e.Id,new Pg(0)):e),Qn((e=>ot(e.Id,new Og(6))&&!n?new jg(e.Id,new Pg(3)):e),Qn((e=>new jg(e,new Pg(1))),r.fields[0])))),((e,t)=>{for(;;){const n=e,r=t;if(Wn(n))return r;if(ot(zn(n).Status,new Pg(2)))return Xn([r,jn(zn(n)),Fn(n)]);if(ot(zn(n).Status,new Pg(1)))return Xn([r,jn(new jg(zn(n).Id,new Pg(2))),Fn(n)]);e=Fn(n),t=Kn(r,jn(zn(n)))}})(o,Ln())))}var o}class Fg extends yt{constructor(e,t,n,r,i,o,s,a,c,l,u){super(),this.AppMode=e,this.JourneyType=t,this.Branding=n,this.IsBenefitsStepEnabled=r,this.IsPaySetupCompatible=i,this.IsPaySetupComplete=o,this.Status=s,this.ProcessInstanceId=a,this.InstanceName=c,this.ProcessConfigId=l,this.Steps=u}}function Gg(e){switch(e.Status.tag){case 3:case 0:return!1;case 1:return At(e.PaySetupComplete,!1);default:return!0}}function Hg(e,t){let n;const r=[t,Tg(e.IsBenefitsStepEnabled)];return n=zg(r[0],r[1]),1===n.tag?new wo(1,n.fields[0]):new wo(0,new Fg(e.AppMode,e.JourneyType,e.Branding,e.IsBenefitsStepEnabled,e.IsPaySetupCompatible,Gg(t),t.Status,e.ProcessInstanceId,e.InstanceName,e.ProcessConfigId,n.fields[0]))}class Vg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Initialising","StepList","Step","PaySetupCompleteConfirmation","Oops","AllDone"]}}class Yg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ActivateCallback","ChangeCurrentView","CloseStepListView","StepCompletionEventCallback","CompleteStep","ConfirmPaySetupComplete","ResumePaySetup","CompletePaySetup","PaySetupCompleted","CompleteWorkflow","ShowAllDoneAndNotifyComplete","SendAnalyticsEvent","AppendTrailingSlashToUrl","CompleteBenefitsOnboardingStep","CommandSuccess","CommandFailure"]}}class qg extends yt{constructor(e,t,n,r,i,o){super(),this.ProfileId=e,this.ProcessInstanceId=t,this.WorkflowDetail=n,this.CurrentView=r,this.CssOverrides=i,this.BenefitsOnboarding=o}}function Jg(e){switch(e.tag){case 1:return"Information request";case 2:return"Workflow";case 3:case 4:return"Benefits Onboarding";default:return"Onboarding"}}function Zg(e){return e<640?_t(void 0):void 0}function Xg(e){return((e,t)=>{e:for(;;){const r=e,i=t;let o,s,a,c;if(Wn(r))o=0;else{const e=0===(n=zn(r)).Id.tag?n:void 0;if(null!=e)if(Wn(Fn(r)))o=2;else{const t=Ug(zn(Fn(r)));null!=t?(o=1,s=t,a=e,c=Fn(Fn(r))):o=2}else o=2}switch(o){case 0:return i;case 1:e=c,t=Kn(i,jn(ot(s.Status,new Pg(2))?new jg(a.Id,new Pg(2)):a));continue e;case 2:if(Wn(r))throw new Error("Match failure");e=Fn(r),t=Kn(i,jn(zn(r)));continue e}break}var n})(e,Ln())}function Kg(e){let t;return d("div",ft(Zn([["className","absolute inset-0 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"],(t=[d("div",{className:"mt-5 px-4 flex flex-col items-center justify-center sm:max-w-[640px]",children:bi.Children.toArray([e])}),eo],["children",bi.Children.toArray(Array.from(t))])])))}function Qg(e,t,n){return At(Et(Et(function(e){return Ps(e.Status)?new Yg(10,e):void 0}(t),function(e,t){let n;const r=2===e.tag?e.fields[0]:void 0;let i;if(null==r)i=void 0;else{const e=r;i=Nt((e=>function(e,t){return((t,n)=>{for(;;){const r=t,i=n;if(Pn(i))return;if(r===e)return _t(Mn(i));t=r+1,n=Bn(i)}})(0,t)}(e+1,t.Steps)),tr((t=>ot(e,t)),t.Steps))}const o=Ot((e=>new Yg(1,new Vg(2,e))),er((e=>ot(e.Status,new Pg(2))),t.Steps)),s=[r,i];let a,c,l,u,f;switch(null!=s[0]&&null!=s[1]?(n=s[1],ot(s[0].Status,new Pg(2))&&(ot(n.Status,new Pg(1))||ot(n.Status,new Pg(3)))?(a=0,c=s[1],l=s[0]):(a=1,u=s[0],f=s[1])):a=2,a){case 0:return new Yg(1,new Vg(2,l));case 1:return ot(f.Status,new Pg(3))?void 0:new Yg(1,new Vg(2,f));case 2:return o}}(e,t)),function(e,t){const n=[e.IsPaySetupCompatible&&!e.IsPaySetupComplete&&1!==Un(e.Steps),t];let r;switch(r=!n[0]||1!==n[1].tag&&0!==n[1].tag?1:0,r){case 0:return new Yg(5,{Branding:e.Branding,InjectedBenefits:e.IsBenefitsStepEnabled});case 1:return}}(t,n)),new Yg(9,new Q$(0)))}function ew(e,t){return Ba.Delay((()=>{const n=fm((r=hn(un("Bearer %s"))(e),new vh(0,"Authorization",r)),t);var r;let i;const o=hm(n);return i=Ba.Bind(o,(e=>Ba.Return(new wo(0,e)))),Ba.Bind(i,(e=>{const t=e;if(1===t.tag)return Ba.Return(new wo(1,t.fields[0]));{const e=t.fields[0];if(429===e.statusCode||e.statusCode>=500){const e=hm(n);return Ba.Bind(e,(e=>Ba.Return(new wo(0,e))))}return Ba.Return(new wo(0,e))}}))}))}function tw(e,t,n){return Ba.Delay((()=>{let r,i;const o=ew(n,(r=dm(new bh(1,(i=jn(function(e){switch(e.tag){case 1:return new _g(1,ls(e.fields[0]));case 2:return new _g(2);case 3:return new _g(3,e.fields[0]);case 4:return new _g(4,e.fields[0]);case 5:return new _g(5,e.fields[0]);default:return new _g(0,ls(e.fields[0]))}}(e)),gp(0,vp(Xf(qf("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.ProcessInstanceCommandDto",[],_g,(()=>[[["Item",Qf]],[["Item",Qf]],[],[["Item",ed]],[["Item",ed]],[["Item",ed]]]))),new op(1),void 0,void 0)(i)))),um(new yh(1),lm(function(e){const t=0|Bs(e);return hn(un("%s/workflows/backend/%i"))(hh)(t)}(t)))),fm(sm("application/json"),r)));return Ba.Bind(o,(e=>{const t=e;if(1===t.tag)return Ba.Return(new wo(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){let t;const n=n$(ht(2,b$(vg(),new op(1),void 0)),e.responseText);return t=1===n.tag?new wo(1,n.fields[0]):kg(n.fields[0]),Ba.Return(t)}return Ba.Return(new wo(1,"Unexpected response from backend"))}}))}))}function nw(e,t){return Ba.Delay((()=>{const n=ew(t,um(new yh(1),lm(function(e){const t=0|Bs(e);return hn(un("%s/workflows/backend/process-instances/%i/activate"))(hh)(t)}(e))));return Ba.Bind(n,(e=>{const t=e;if(1===t.tag)return Ba.Return(new wo(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){let t;const n=n$(ht(2,b$(Vf("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.ProcessInstanceContextDto",[],Sg,(()=>[["CssOverrides",Xf(Qf)],["ProcessInstanceDto",vg()],["IsBenefitsEnabled",ed],["Branding",Zf(Vf("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.Branding",[],Ig,(()=>[["CompanyName",Zf(Qf)],["Logo",Zf(Qf)],["Support",Zf(Vf("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.Support",[],Ag,(()=>[["Email",Zf(Qf)],["Phone",Zf(Qf)]])))]])))]])),new op(1),void 0)),e.responseText);return t=1===n.tag?new wo(1,n.fields[0]):new wo(0,function(e){let t,n;return new xg(e.CssOverrides,(t=bg(e.ProcessInstanceDto),1===t.tag?(()=>{throw new Error(t.fields[0])})():t.fields[0]),e.IsBenefitsEnabled,(n=e.Branding,null==n?void 0:function(e){let t,n,r,i,o,s,a,c,l,u,f,d,h,m,p,$,g,w;return new Po((r=e.CompanyName,n=null==r?void 0:Fo(r),t=null!=n?(i=n,1===i.tag?new wo(1,i.fields[0]):new wo(0,i.fields[0])):new wo(0,void 0),1===t.tag?void 0:t.fields[0]),(a=e.Logo,s=null==a?void 0:Ho(a),o=null!=s?(c=s,1===c.tag?new wo(1,c.fields[0]):new wo(0,c.fields[0])):new wo(0,void 0),1===o.tag?void 0:o.fields[0]),(l=e.Support,null==l?void 0:(u=l,new Bo((h=u.Email,d=null==h?void 0:jo(h),f=null!=d?(m=d,1===m.tag?new wo(1,m.fields[0]):new wo(0,m.fields[0])):new wo(0,void 0),1===f.tag?void 0:f.fields[0]),(g=u.Phone,$=null==g?void 0:Uo(g),p=null!=$?(w=$,1===w.tag?new wo(1,w.fields[0]):new wo(0,w.fields[0])):new wo(0,void 0),1===p.tag?void 0:p.fields[0])))))}(n)))}(n.fields[0])),Ba.Return(t)}return Ba.Return(new wo(1,"Unexpected response from backend"))}}))}))}function rw(e,t,n){return tw(new Cg(4,n),e,t)}function iw(e,t,n,r,i){let o,s,a,c,l,u,f,d,h,m,p;switch(r.tag){case 1:{const e=r.fields[0];return[new qg(i.ProfileId,i.ProcessInstanceId,i.WorkflowDetail,e,i.CssOverrides,i.BenefitsOnboarding),2===e.tag?(o=Mg(e.fields[0].Id),ot(o.Id,os.Id)?Cf(new Yg(11,i.ProcessInstanceId,new Eg(1))):Cf(new Yg(11,i.ProcessInstanceId,new Eg(0,ls(o.Id))))):wf()]}case 2:{const e=i.WorkflowDetail;let t,n;switch(2===e.tag&&0===e.fields[0].tag?(t=0,n=e.fields[0].fields[0]):t=1,t){case 0:return[i,Cf(Qg(i.CurrentView,n,i.BenefitsOnboarding))];case 1:return[i,wf()]}}case 11:return kf(function(e,t,n){let r;const i=Ba.Delay((()=>{let r;return ew(e,(r=dm(new bh(1,gp(0,vp(Xf(qf("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Write.WorkflowAnalyticsEventDto",[],Eg,(()=>[[["Item",Qf]],[],[]]))),new op(1),void 0,void 0)(jn(n)))),um(new yh(1),lm(function(e){const t=0|Bs(e);return hn(un("%s/workflows/backend/process-instances/%i/analytics-events"))(hh)(t)}(t)))),fm(sm("application/json"),r)))}));return r=Ba.Bind(i,(e=>{let t;const n=e;return t=1===n.tag?new wo(1,n.fields[0]):new wo(0,void n.fields[0]),Ba.Return(t)})),Ba.Bind(r,(e=>{let t;const n=e;return t=1===n.tag?void 0:n.fields[0],Ba.Return(t)}))}(t,r.fields[0],r.fields[1])),[i,wf()];case 3:{const e=i.WorkflowDetail;let t,n;switch(2===e.tag&&0===e.fields[0].tag?(t=0,n=e.fields[0].fields[0]):t=1,t){case 0:return[i,(s=r.fields[0].target,a=er((e=>0===function(...e){switch(e.length){case 2:return ln(e[0],e[1],!1);case 3:return ln(e[0],e[1],e[2]);case 4:return ln(e[0],e[1],!0===e[2]);case 5:return ln(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),!1);case 6:return ln(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),e[5]);case 7:return ln(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")}}(Rg(e.Id).ComponentTagName,s.tagName,5)),n.Steps),null==a?wf():ot(a.Id,new Og(6))?(c=a,Cf(new Yg(13))):(l=a,Cf(new Yg(4,($=l,Rg($.Id).Id),new Q$(0)))))];case 1:return[i,wf()]}}case 13:{const e=i.WorkflowDetail;let t;switch(t=2===e.tag&&0===e.fields[0].tag?ot(i.BenefitsOnboarding,new Ng(0))?1:0:1,t){case 0:return[new qg(i.ProfileId,i.ProcessInstanceId,i.WorkflowDetail,i.CurrentView,i.CssOverrides,new Ng(2)),vf(Zn([Cf(new Yg(11,i.ProcessInstanceId,new Eg(2))),Cf(new Yg(9,new Q$(0))),Cf(new Yg(1,new Vg(5)))]))];case 1:return[i,wf()]}}case 4:{const e=r.fields[0],n=r.fields[1];switch(n.tag){case 1:return[i,wf()];case 2:{const t=n.fields[0],r=t;let o;1===r.tag?r.fields[0]:Ya(e,r.fields[0],i.ProfileId);const s=i.WorkflowDetail;let a,c;switch(2===s.tag&&0===s.fields[0].tag?(a=0,c=s.fields[0].fields[0]):a=1,a){case 0:o=new Q$(2,(u=t,1===u.tag?new wo(1,u.fields[0]):Hg(c,u.fields[0])));break;case 1:o=i.WorkflowDetail}return[new qg(i.ProfileId,i.ProcessInstanceId,o,i.CurrentView,i.CssOverrides,i.BenefitsOnboarding),Cf(2===o.tag?1===o.fields[0].tag?new Yg(1,new Vg(4,o.fields[0].fields[0])):Qg(i.CurrentView,o.fields[0].fields[0],i.BenefitsOnboarding):3===o.tag?new Yg(1,new Vg(4,o.fields[0].message)):new Yg(1,new Vg(4,"Process Instance not resolved")))]}case 3:{const e=n.fields[0];return[new qg(i.ProfileId,i.ProcessInstanceId,new Q$(3,e),i.CurrentView,i.CssOverrides,i.BenefitsOnboarding),Cf(new Yg(1,new Vg(4,e.message)))]}default:return[i,xf((e=>{kf(e)}),(t=>function(e,t,n){return tw(new Cg(1,t),e,n)}(i.ProcessInstanceId,e,t)),t,(t=>new Yg(4,e,new Q$(2,t))),(t=>new Yg(4,e,new Q$(3,t))))]}}case 5:return[new qg(i.ProfileId,i.ProcessInstanceId,i.WorkflowDetail,new Vg(3),i.CssOverrides,i.BenefitsOnboarding),xf((e=>{kf(e)}),(e=>function(e,t,n){return tw(new Cg(3,n),e,t)}(i.ProcessInstanceId,t,e)),r.fields[0].InjectedBenefits,(e=>new Yg(14)),(e=>new Yg(15,e)))];case 6:return[i,vf(Zn([xf((e=>{kf(e)}),(e=>function(e,t,n){return tw(new Cg(5,n),e,t)}(i.ProcessInstanceId,t,e)),r.fields[0].InjectedBenefits,(e=>new Yg(14)),(e=>new Yg(15,e))),(f=i.WorkflowDetail,2===f.tag&&0===f.fields[0].tag?Cf(new Yg(1,new Vg(2,Gn(nr((e=>!!ot(e.Status,new Pg(0))||ot(e.Status,new Pg(4))),f.fields[0].fields[0].Steps))))):Cf(new Yg(1,new Vg(4,"Process Instance not resolved"))))]))];case 7:return[i,xf((e=>{kf(e)}),$t(1,e,[i.ProcessInstanceId,t]),r.fields[0].InjectedBenefits,(e=>new Yg(8,e)),(e=>new Yg(15,e)))];case 8:{let e;const t=i.WorkflowDetail;let n,o;switch(2===t.tag&&0===t.fields[0].tag?(n=0,o=t.fields[0].fields[0]):n=1,n){case 0:e=new Q$(2,(d=r.fields[0],1===d.tag?new wo(1,d.fields[0]):Hg(o,d.fields[0])));break;case 1:e=i.WorkflowDetail}return[new qg(i.ProfileId,i.ProcessInstanceId,e,i.CurrentView,i.CssOverrides,i.BenefitsOnboarding),Cf(2===e.tag?1===e.fields[0].tag?new Yg(1,new Vg(4,e.fields[0].fields[0])):Qg(i.CurrentView,e.fields[0].fields[0],i.BenefitsOnboarding):3===e.tag?new Yg(1,new Vg(4,e.fields[0].message)):new Yg(1,new Vg(4,"Process Instance not resolved")))]}case 9:{const e=r.fields[0];if(1===e.tag)return[i,wf()];if(2===e.tag)return 1===e.fields[0].tag?[new qg(i.ProfileId,i.ProcessInstanceId,new Q$(2,new wo(1,e.fields[0].fields[0])),i.CurrentView,i.CssOverrides,i.BenefitsOnboarding),Cf(new Yg(1,new Vg(4,e.fields[0].fields[0])))]:(qa(e.fields[0].fields[0].Id,e.fields[0].fields[0].Configuration.Name,e.fields[0].fields[0].Configuration.Id,i.ProfileId),[new qg(i.ProfileId,i.ProcessInstanceId,eg((t=>{const n=t;return 1===n.tag?new wo(1,n.fields[0]):Hg(n.fields[0],e.fields[0].fields[0])}),i.WorkflowDetail),i.CurrentView,i.CssOverrides,i.BenefitsOnboarding),Cf(new Yg(1,new Vg(5)))]);if(3===e.tag)return[new qg(i.ProfileId,i.ProcessInstanceId,new Q$(3,e.fields[0]),i.CurrentView,i.CssOverrides,i.BenefitsOnboarding),Cf(new Yg(1,new Vg(4,e.fields[0].message)))];{const e=i.WorkflowDetail;let n,r;switch(2===e.tag&&0===e.fields[0].tag&&Ps(e.fields[0].fields[0].Status)?(n=0,r=e.fields[0].fields[0]):n=1,n){case 0:return qa(r.ProcessInstanceId,r.InstanceName,r.ProcessConfigId,i.ProfileId),[i,wf()];case 1:return[i,xf((e=>{kf(e)}),(e=>function(e,t){return tw(new Cg(2),e,t)}(i.ProcessInstanceId,e)),t,(e=>new Yg(9,new Q$(2,e))),(e=>new Yg(9,new Q$(3,e))))]}}}case 10:{const e=r.fields[0];return qa(e.ProcessInstanceId,e.InstanceName,e.ProcessConfigId,i.ProfileId),[i,Cf(new Yg(1,new Vg(5)))]}case 12:return[i,(h=window.location.pathname+"/"+window.location.search+window.location.hash,bf((e=>{sh(jn(h),1,2)})))];case 14:case 15:return[i,wf()];default:{const e=r.fields[0];let t;switch(e.tag){case 3:t=[i,Cf(new Yg(1,new Vg(4,e.fields[0].message)))];break;case 0:case 1:t=[i,wf()];break;default:{let r,o;const s=e.fields[0];if(1===s.tag)o=new wo(1,s.fields[0]);else{const e=s.fields[0],t=Tg(e.IsBenefitsEnabled);let r;const a=[e.ProcessInstance,t];if(r=zg(a[0],a[1]),1===r.tag)o=new wo(1,r.fields[0]);else{const s=r.fields[0],a=function(e,t){let n;const r=[t.ProcessInstance,Tg(t.IsBenefitsEnabled)];return n=zg(r[0],r[1]),1===n.tag?new wo(1,n.fields[0]):new wo(0,new Fg(e,t.ProcessInstance.JourneyType,t.Branding,t.IsBenefitsEnabled,!ot(i=t.ProcessInstance.Configuration,_s)&&!ot(i,gs),Gg(t.ProcessInstance),t.ProcessInstance.Status,t.ProcessInstance.Id,t.ProcessInstance.Configuration.Name,t.ProcessInstance.Configuration.Id,n.fields[0]));var i}(n,e);if(1===a.tag)o=new wo(1,a.fields[0]);else{const n=a.fields[0],r=Ps(e.ProcessInstance.Status);let c;const l=er((e=>ot(e.Status,new Pg(2))),s);c=null==l?n.IsPaySetupComplete?new wo(0,r?new Vg(5):new Vg(4,"Something went wrong")):new wo(0,new Vg(3)):new wo(0,(m=l,p=[fh.clientWidth,Un(s)],1===p[1]?(document.title=Wg(m),new Vg(2,m)):null!=Zg(p[0])?new Vg(1):new Vg(2,m))),o=1===c.tag?new wo(1,c.fields[0]):new wo(0,[new qg(i.ProfileId,i.ProcessInstanceId,new Q$(2,new wo(0,n)),i.CurrentView,e.CssOverrides,t),c.fields[0]])}}}r=1===o.tag?[i,new Vg(4,o.fields[0])]:o.fields[0],t=[r[0],Cf(new Yg(1,r[1]))]}}return[t[0],t[1]]}}var $}const ow=d("div",ft(Zn([["className","text-primary-base"],(()=>{let e,t;const n=[d("svg",ft(Zn([["fill","none"],["height",32],["viewBox","0 0 32 32"],["width",32],["xmlns","http://www.w3.org/2000/svg"],(e=jn(d("g",ft(jn((t=Zn([d("rect",{width:32,height:32,fill:"white"}),d("circle",{cx:16,cy:16,r:16,fill:"currentColor"}),d("path",{d:"M20.3018 11.7811L13.9959 18.0829L11.6982 15.7867C11.5092 15.6043 11.2561 15.5033 10.9933 15.5056C10.7306 15.5079 10.4793 15.6132 10.2935 15.7989C10.1077 15.9845 10.0023 16.2357 10 16.4983C9.99775 16.7608 10.0988 17.0138 10.2813 17.2026L13.2874 20.2068C13.4754 20.3945 13.7302 20.5 13.9959 20.5C14.2616 20.5 14.5164 20.3945 14.7043 20.2068L21.7187 13.1971C21.9012 13.0082 22.0022 12.7553 22 12.4927C21.9977 12.2301 21.8923 11.979 21.7065 11.7933C21.5207 11.6076 21.2694 11.5023 21.0067 11.5C20.7439 11.4978 20.4908 11.5987 20.3018 11.7811Z",fill:"white"})]),["children",bi.Children.toArray(Array.from(t))]))))),["children",bi.Children.toArray(Array.from(e))])])))];return["children",bi.Children.toArray(Array.from(n))]})()]))),sw=d("div",ft(Zn([["className","text-primary-base"],(()=>{let e,t;const n=[d("svg",ft(Zn([["fill","none"],["height",32],["viewBox","0 0 32 32"],["width",32],["xmlns","http://www.w3.org/2000/svg"],(e=jn(d("g",ft(jn((t=Zn([d("rect",{width:32,height:32,fill:"white"}),d("circle",{cx:16,cy:16,r:15,stroke:"currentColor",strokeWidth:2}),d("path",{d:"M16.616 12.6769L11.146 18.1459C11.0908 18.2022 11.0497 18.2707 11.026 18.3459L10.026 21.3459C10.0018 21.4208 9.99555 21.5004 10.0079 21.5781C10.0202 21.6559 10.0507 21.7296 10.0969 21.7934C10.1431 21.8571 10.2036 21.909 10.2737 21.9449C10.3438 21.9808 10.4213 21.9997 10.5 21.9999C10.5538 22.0002 10.6072 21.9914 10.658 21.9739L13.658 20.9739C13.7332 20.9503 13.8017 20.9091 13.858 20.8539L19.327 15.3839L16.616 12.6769Z",fill:"currentColor"}),d("path",{d:"M21.8545 12.146L19.8545 10.146C19.808 10.0994 19.7529 10.0625 19.6921 10.0373C19.6314 10.0121 19.5663 9.99908 19.5005 9.99908C19.4347 9.99908 19.3696 10.0121 19.3089 10.0373C19.2481 10.0625 19.1929 10.0994 19.1465 10.146L17.6775 11.616L20.3845 14.323L21.8545 12.854C21.9011 12.8075 21.938 12.7524 21.9632 12.6916C21.9884 12.6309 22.0014 12.5657 22.0014 12.5C22.0014 12.4342 21.9884 12.3691 21.9632 12.3083C21.938 12.2476 21.9011 12.1924 21.8545 12.146Z",fill:"currentColor"})]),["children",bi.Children.toArray(Array.from(t))]))))),["children",bi.Children.toArray(Array.from(e))])])))];return["children",bi.Children.toArray(Array.from(n))]})()]))),aw=d("svg",ft(Zn([["fill","none"],["height",32],["viewBox","0 0 32 32"],["width",32],["xmlns","http://www.w3.org/2000/svg"],(()=>{let e;const t=jn(d("g",ft(jn((e=Zn([d("rect",{width:32,height:32,fill:"white"}),d("circle",{cx:16,cy:16,r:15,stroke:"#D1D5DB",strokeWidth:2}),d("path",{d:"M15 13C15 12.7348 15.1054 12.4804 15.2929 12.2929C15.4804 12.1054 15.7348 12 16 12C16.2652 12 16.5196 12.1054 16.7071 12.2929C16.8946 12.4804 17 12.7348 17 13V15H19V13C19 12.2044 18.6839 11.4413 18.1213 10.8787C17.5587 10.3161 16.7956 10 16 10C15.2044 10 14.4413 10.3161 13.8787 10.8787C13.3161 11.4413 13 12.2044 13 13V15H15V13Z",fill:"#9CA3AF"}),d("path",{d:"M19.6 16H12.4C11.9029 16 11.5 16.3731 11.5 16.8333V20.1667C11.5 20.6269 11.9029 21 12.4 21H19.6C20.0971 21 20.5 20.6269 20.5 20.1667V16.8333C20.5 16.3731 20.0971 16 19.6 16Z",fill:"#9CA3AF"})]),["children",bi.Children.toArray(Array.from(e))])))));return["children",bi.Children.toArray(Array.from(t))]})()]))),cw=d("svg",ft(Zn([["fill","none"],["height",32],["viewBox","0 0 32 32"],["width",32],["xmlns","http://www.w3.org/2000/svg"],(()=>{let e;const t=jn(d("g",ft(jn((e=Zn([d("rect",{width:32,height:32,fill:"white"}),d("circle",{cx:16,cy:16,r:15,stroke:"#D1D5DB",strokeWidth:2})]),["children",bi.Children.toArray(Array.from(e))])))));return["children",bi.Children.toArray(Array.from(t))]})()]))),lw=d("svg",ft(Zn([["fill","none"],["height",32],["viewBox","0 0 32 32"],["width",32],["xmlns","http://www.w3.org/2000/svg"],(()=>{let e;const t=jn(d("g",ft(jn((e=Zn([d("rect",{width:32,height:32,fill:"white"}),d("circle",{cx:16,cx:16,cy:16,r:15,stroke:"#D1D5DB",strokeWidth:2}),d("path",{d:"M20.3018 11.7811L13.9959 18.0829L11.6982 15.7867C11.5092 15.6043 11.2561 15.5033 10.9933 15.5056C10.7306 15.5079 10.4793 15.6132 10.2935 15.7989C10.1077 15.9845 10.0023 16.2357 10 16.4983C9.99775 16.7608 10.0988 17.0138 10.2813 17.2026L13.2874 20.2068C13.4754 20.3945 13.7302 20.5 13.9959 20.5C14.2616 20.5 14.5164 20.3945 14.7043 20.2068L21.7187 13.1971C21.9012 13.0082 22.0022 12.7553 22 12.4927C21.9977 12.2301 21.8923 11.979 21.7065 11.7933C21.5207 11.6076 21.2694 11.5023 21.0067 11.5C20.7439 11.4978 20.4908 11.5987 20.3018 11.7811Z",fill:"#D1D5DB"})]),["children",bi.Children.toArray(Array.from(e))])))));return["children",bi.Children.toArray(Array.from(t))]})()])));function uw(e,t){let n;return d("div",ft(Zn([["className","w-full h-6 rounded justify-start items-center inline-flex"],(n=[d("div",{className:vn(" ",[e,"text-lg font-medium leading-normal"]),children:t})],["children",bi.Children.toArray(Array.from(n))])])))}function fw(e){switch(e.Status.tag){case 0:return function(e){return uw("text-gray-900",e)}(Wg(e));case 1:case 3:case 4:return function(e){return uw("text-gray-500",e)}(Wg(e));default:return function(e){return uw("text-primary-base",e)}(Wg(e))}}function dw(e){let t;return d("div",ft(Zn([["className","w-8 h-6 flex-col justify-center items-center inline-flex"],(t=[d("div",{className:vn(" ",[e,"w-0.5 h-6 relative"])})],["children",bi.Children.toArray(Array.from(t))])])))}const hw=dw("bg-gray-300"),mw=dw("bg-primary-base");function pw(e){const t=[ot(e.Id,new Og(6)),e.Status];let n;switch(n=t[0]?2:0===t[1].tag?0:2===t[1].tag?1:2,n){case 0:case 1:return mw;case 2:return hw}}function $w(e,t){let n,r,i;const o=!!ot(t.Status,new Pg(0))||ot(t.Status,new Pg(2));return d("button",ft(Zn([["className",vn(" ",["group h-8 justify-start items-center space-x-4 inline-flex focus:outline-none"])],["type","button"],["disabled",!o],["onClick",n=>{e(new Yg(1,new Vg(2,t)))}],(n=[d("div",ft(Zn([["className","w-8 h-8 relative"],(r=vr(pr((()=>{const e=t.Status;return 0===e.tag?wr(ow):1===e.tag?wr(cw):3===e.tag?ot(t.Id,new Og(6))?wr(aw):wr(cw):4===e.tag?wr(lw):wr(sw)}))),["children",bi.Children.toArray(Array.from(r))])]))),d("div",ft(Zn([["className",vn(" ",vr(pr((()=>Cr(wr("rounded justify-start items-center flex"),pr((()=>o?wr("group-focus:outline-none group-focus:ring-2 group-focus:ring-offset-4 group-focus:ring-primary-focus"):gr())))))))],(i=[fw(t)],["children",bi.Children.toArray(Array.from(i))])])))],["children",bi.Children.toArray(Array.from(n))])])))}function gw(e){let t,n,r=!1,i=0;const o=He(e.Steps);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const e=o["System.Collections.Generic.IEnumerator`1.get_Current"]();switch(e.Id.tag){case 0:case 1:r=!!ot(e.Status,new Pg(0))||ot(e.Status,new Pg(4));break;default:(ot(e.Status,new Pg(0))||ot(e.Status,new Pg(4)))&&(i=i+1|0)}}}finally{ze(o)}n=i+(r?1:0);const s=0|Un(Xg(e.Steps)),a=e=>d("div",{className:"text-gray-500 text-sm font-medium leading-tight",children:e});return d("div",ft(Zn([["className","h-20 w-full px-6 py-4 bg-white border-b border-gray-300 flex-col justify-start items-start inline-flex cursor-default"],(t=vr(pr((()=>{let t,r;return Cr((t=e.Branding,ot(e.AppMode,new gh(0))?wr(null):null!=t&&null!=t.CompanyName?(r=t.CompanyName,wr(a(Go(r)))):wr(a(Jg(e.JourneyType)))),pr((()=>wr(d("div",{className:"text-center text-gray-900 text-base font-semibold leading-normal",children:`${n}/${s} sections complete`})))))}))),["children",bi.Children.toArray(Array.from(t))])])))}function ww(e,t){return((t,n)=>{for(;;){const r=t,i=n;if(Wn(r))return i;if(Wn(Fn(r)))return Kn(i,jn($w(e,zn(r))));t=Rn(zn(Fn(r)),Fn(Fn(r))),n=Kn(i,Zn([$w(e,zn(r)),pw(zn(Fn(r)))]))}})(Xg(t.Steps),Ln())}function yw(e){let t,n,r;const i=e.dispatch,o=e.detail,s=Gi(void 0),a=Yi(!1);return Wi((()=>{const e=window.ResizeObserver?new window.ResizeObserver((()=>{null!=Zg(document.body.offsetWidth)||!1===a[0]&&(a[1](!0),i(new Yg(2)))})):new Na((()=>{null!=Zg(document.body.offsetWidth)||!1===a[0]&&(a[1](!0),i(new Yg(2)))}));return kr((t=>{e.observe(t)}),It(s.current)),{Dispose(){e.disconnect()}}})),d("div",ft(Zn([["ref",s],["className","absolute top-0 bottom-0 left-0 right-0"],(t=[d("div",ft(Zn([["className","w-full h-full bg-white flex-col justify-start items-start inline-flex"],(n=[gw(o),d("div",ft(Zn([["className","p-6 bg-white flex-col justify-start items-start inline-flex"],(r=ww(i,o),["children",bi.Children.toArray(Array.from(r))])])))],["children",bi.Children.toArray(Array.from(n))])])))],["children",bi.Children.toArray(Array.from(t))])])))}class vw extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["backend-url","access-token"]}}class bw extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["app-base-url"]}}class Cw extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["workflows-instance-id"]}}function xw(e){const t=e.children,n=e.effect,r=e.props,i=e.step;return zi(n),d(1===i.tag?Qo.ComponentTagName:2===i.tag?es.ComponentTagName:3===i.tag?ts.ComponentTagName:4===i.tag?ns.ComponentTagName:5===i.tag?rs.ComponentTagName:6===i.tag?os.ComponentTagName:7===i.tag?ss.ComponentTagName:8===i.tag?as.ComponentTagName:Ko.ComponentTagName,Tr(r,1),...t)}class _w extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Mobile","MobileLandscape","Tablet","Desktop","WideScreen"]}}const kw=new class extends yt{constructor(e,t,n,r){super(),this.MobileLandscape=0|e,this.Tablet=0|t,this.Desktop=0|n,this.WideScreen=0|r}}(576,768,1024,1216);function Sw(e){const t=ji((()=>window.matchMedia(e).matches));return Ui((()=>{const n=window.matchMedia(e),r=()=>{t[1](n.matches)};return r(),n.addListener(r),Ri((()=>{n.removeListener(r)}))}),[e]),t[0]}const Iw=d("svg",ft(Zn([["fill","none"],["height",16],["viewBox","0 0 16 16"],["width",16],["xmlns","http://www.w3.org/2000/svg"],(()=>{let e;const t=jn(d("g",ft(jn((e=Zn([d("rect",{width:16,height:16,fill:"white"}),d("path",{d:"M15 6.99992H3.41403L6.70703 3.70692C6.88919 3.51832 6.98998 3.26571 6.9877 3.00352C6.98543 2.74132 6.88026 2.49051 6.69485 2.3051C6.50944 2.11969 6.25863 2.01452 5.99643 2.01224C5.73423 2.00997 5.48163 2.11076 5.29303 2.29292L0.293031 7.29292C0.10556 7.48045 0.000244141 7.73475 0.000244141 7.99992C0.000244141 8.26508 0.10556 8.51939 0.293031 8.70692L5.29303 13.7069C5.38528 13.8024 5.49562 13.8786 5.61763 13.931C5.73963 13.9834 5.87085 14.011 6.00363 14.0122C6.13641 14.0133 6.26809 13.988 6.39098 13.9377C6.51388 13.8875 6.62553 13.8132 6.71943 13.7193C6.81332 13.6254 6.88757 13.5138 6.93785 13.3909C6.98813 13.268 7.01343 13.1363 7.01228 13.0035C7.01113 12.8707 6.98354 12.7395 6.93113 12.6175C6.87872 12.4955 6.80254 12.3852 6.70703 12.2929L3.41403 8.99992H15C15.2652 8.99992 15.5196 8.89456 15.7071 8.70703C15.8947 8.51949 16 8.26514 16 7.99992C16 7.7347 15.8947 7.48035 15.7071 7.29281C15.5196 7.10528 15.2652 6.99992 15 6.99992Z",fill:"#212121"})]),["children",bi.Children.toArray(Array.from(e))])))));return["children",bi.Children.toArray(Array.from(t))]})()])));function Aw(e,t,n){let r,i,o,s,a;const c=function(e,t){const r=tr((e=>ot(e.Id,n.Id)),t);if(null==r)throw new Error(An);return 0|r}(0,t)/Un(t)*100;let l;a=hn(un("%.0f%%"))(c);const u=function(e,t){const n=function(e,t){return function(e,t){return(n=>{for(;;){const r=n;if(r<0)return;if(e(t[r]))return r;n=r-1}})(t.length-1)}(e,Hn(t))}(e,t);if(null==n)throw new Error(An);return 0|n}((e=>!!ot(e.Status,new Pg(2))||ot(e.Status,new Pg(0))),t)/Un(t)*100;l=hn(un("%.0f%%"))(u);const f=ot(n.Id,new Og(1))?Bg(new Og(0)):Wg(n);return d("div",ft(Zn([["className","h-20 w-full px-6 py-4 bg-white border-b border-gray-300 flex-col justify-start items-start space-y-3 inline-flex sticky left-0 right-0 top-0 z-50"],(r=[d("div",ft(Zn([["className","self-stretch justify-start items-center space-x-3 inline-flex"],(i=[d("button",{type:"button",className:"w-4 h-4 rounded-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-base",onClick:t=>{e(new Yg(1,new Vg(1)))},children:bi.Children.toArray([Iw])}),d("div",{className:"text-center text-gray-900 text-base font-semibold leading-normal",children:f})],["children",bi.Children.toArray(Array.from(i))])]))),d("div",ft(Zn([["className","w-full h-2 relative rounded-sm"],(o=[d("div",{className:"w-full h-0.5 left-0 top-[3px] absolute bg-gray-300 rounded-sm"}),d("div",ft(Zn([["className","w-full left-0 top-0 absolute"],(s=[d("div",{className:"h-0.5 left-0 top-[3px] absolute bg-primary-base rounded-sm",style:{width:l}}),d("div",{className:"w-2 h-2 top-0 absolute bg-primary-base rounded-full",style:{left:a}})],["children",bi.Children.toArray(Array.from(s))])])))],["children",bi.Children.toArray(Array.from(o))])])))],["children",bi.Children.toArray(Array.from(r))])])))}const Ew=d("div",ft(Zn([["className","relative h-4 w-2 z-50"],(()=>{const e=[d("div",{className:"absolute left-0 top-1 h-2 w-2 rounded-full bg-primary-base"})];return["children",bi.Children.toArray(Array.from(e))]})()]))),Ow=d("div",{className:"relative h-0.5 w-2 bg-gray-300"}),Nw=d("div",{className:"relative h-0.5 w-2 bg-primary-base"}),Tw=d("div",ft(Zn([["className","w-4 h-4 relative"],(()=>{let e;const t=[d("svg",ft(Zn([["fill","none"],["height",16],["viewBox","0 0 16 16"],["width",16],["xmlns","http://www.w3.org/2000/svg"],(e=Zn([d("path",{d:"M7 5C7 4.73478 7.10536 4.48043 7.29289 4.29289C7.48043 4.10536 7.73478 4 8 4C8.26522 4 8.51957 4.10536 8.70711 4.29289C8.89464 4.48043 9 4.73478 9 5V7H11V5C11 4.20435 10.6839 3.44129 10.1213 2.87868C9.55871 2.31607 8.79565 2 8 2C7.20435 2 6.44129 2.31607 5.87868 2.87868C5.31607 3.44129 5 4.20435 5 5V7H7V5Z",fill:"#9CA3AF"}),d("path",{d:"M11.6 8H4.4C3.90294 8 3.5 8.3731 3.5 8.83333V12.1667C3.5 12.6269 3.90294 13 4.4 13H11.6C12.0971 13 12.5 12.6269 12.5 12.1667V8.83333C12.5 8.3731 12.0971 8 11.6 8Z",fill:"#9CA3AF"})]),["children",bi.Children.toArray(Array.from(e))])])))];return["children",bi.Children.toArray(Array.from(t))]})()])));function Pw(e,t,n){let r;switch(r=e?0:0===n.tag||4===n.tag?2:3===n.tag?t?3:4:1===n.tag?4:1,r){case 0:return Ew;case 1:case 2:return Nw;case 3:return Tw;case 4:return Ow}}const Dw=d("div",{className:"relative h-0.5 w-full"}),Mw=d("div",{className:"relative h-0.5 w-full bg-gray-300"}),Bw=d("div",{className:"relative h-0.5 w-full bg-primary-base"});function Lw(e){let t;switch(t=null==e?1:0===e.tag||4===e.tag||2===e.tag?0:2,t){case 0:return Bw;case 1:return Dw;case 2:return Mw}}function Rw(e){let t,n;return d("div",ft(Zn([["className","inline-flex h-11 w-10 flex-col items-center justify-start"],(t=[d("div",ft(Zn([["className","inline-flex h-4 items-center justify-center self-stretch"],(n=[d("div",{className:vn(" ",[e,"relative h-0.5 w-10"])})],["children",bi.Children.toArray(Array.from(n))])])))],["children",bi.Children.toArray(Array.from(t))])])))}const jw=Rw("bg-gray-300"),Ww=Rw("bg-primary-base");function Uw(e){switch(e.tag){case 0:case 4:case 2:return Ww;default:return jw}}function zw(e,t,n,r){let i,o;const s=!e&&(!!ot(n.Status,new Pg(0))||ot(n.Status,new Pg(2))),a=e?"text-primary-base":ot(n.Status,new Pg(2))||ot(n.Status,new Pg(0))?"text-gray-900 group-hover:text-primary-base":"text-gray-500",c=d("div",{className:"absolute inset-0 group-hover:bg-primary-base group-hover:opacity-10 rounded"});let l;const u=xn(Lg(n.Id).toLocaleLowerCase()," ","-");return l=hn(un("step-%s"))(u),d("div",ft(Zn([["className",vn(" ",["h-11 flex-col justify-start items-center inline-flex"])],(i=[d("div",{className:"h-4 inline-flex items-center justify-center self-stretch",children:bi.Children.toArray(Array.from(r))}),d("button",ft(Zn([["type","button"],["disabled",!s],["data-testid",l],["className",vn(" ",["relative group h-7 px-2 py-1 justify-center items-center gap-2 inline-flex rounded","focus:outline-none focus:ring-1 focus:ring-offset-1 focus:ring-primary-focus"])],["onClick",$t(1,t,[n])],(o=vr(pr((()=>Cr(wr(s?c:null),pr((()=>{return wr(d("div",{className:vn(" ",[a,"text-sm font-medium leading-tight whitespace-nowrap"]),children:(e=n,Lg(e.Id))}));var e})))))),["children",bi.Children.toArray(Array.from(o))])])))],["children",bi.Children.toArray(Array.from(i))])])))}function Fw(e,t,n){const r=ot(n.Id,new Og(1))?new Og(0):n.Id,i=(t,n)=>{e(new Yg(1,new Vg(2,t)))};return Yn(((e,t,n)=>{e:for(;;){const o=e,s=t,a=n;if(Wn(o))return a;if(Wn(Fn(o))){const e=Lw(s),t=ot(zn(o).Id,r);return Kn(a,jn(zw(t,i,zn(o),Zn([Dw,Pw(t,ot(zn(o).Id,new Og(6)),zn(o).Status),e]))))}{const c=Lw(s),l=ot(zn(o).Id,r),u=Pw(l,ot(zn(o).Id,new Og(6)),zn(o).Status);e=Fn(o),t=zn(o).Status,n=Kn(a,Zn([zw(l,i,zn(o),Zn([Lw(zn(o).Status),u,c])),Uw(zn(o).Status)]));continue e}}})(Yn(Xg(t)),void 0,Ln()))}function Gw(e){let t;const n=e.body,r=e.currentStep,i=e.detail,o=e.dispatch,s=function(e){const t=function(e){return["(max-width: "+e.MobileLandscape+"px)","(max-width: "+e.Tablet+"px)","(max-width: "+e.Desktop+"px)","(max-width: "+e.WideScreen+"px)"]}(At(void 0,kw)),n=[Sw(t[0]),Sw(t[1]),Sw(t[2]),Sw(t[3])];return new _w(n[0]?0:n[1]?1:n[2]?2:n[3]?3:4)}();return d("div",ft(Zn([["className","w-full flex-col justify-start items-center inline-flex bg-white"],(t=vr(pr((()=>Cr(1===Un(i.Steps)?wr(null):0===s.tag?wr(Aw(o,i.Steps,r)):wr(function(e,t,n){let r,i;const o=d("div",{className:"hidden lg:inline text-gray-500 text-sm font-medium leading-tight",children:Jg(t.JourneyType)}),s=Ot(Go,Nt((e=>e.CompanyName),t.Branding)),a=d("div",ft(Zn([["className","grow shrink basis-0 flex-col justify-start items-start inline-flex"],(r=[o,At(Ot((e=>d("div",{className:"hidden lg:inline text-center text-gray-900 text-base font-semibold leading-normal",children:e})),s),null)],["children",bi.Children.toArray(Array.from(r))])]))),c=d("div",{className:"grow shrink basis-0"});return d("div",ft(Zn([["className","w-full h-20 px-8 py-4 bg-white border-b border-gray-300 justify-between items-center inline-flex sticky left-0 right-0 top-0 z-50"],(i=vr(pr((()=>Cr(ot(t.AppMode,new gh(0))?wr(c):wr(a),pr((()=>{let r;return Cr(wr(d("div",ft(Zn([["className","bg-white justify-center items-start flex"],(r=Fw(e,t.Steps,n),["children",bi.Children.toArray(Array.from(r))])])))),pr((()=>wr(d("div",{className:"grow shrink basis-0"})))))})))))),["children",bi.Children.toArray(Array.from(i))])])))}(o,i,r)),pr((()=>wr(d("div",{className:"p-4 max-w-7xl mx-auto w-full",children:n})))))))),["children",bi.Children.toArray(Array.from(t))])])))}var Hw,Vw;function Yw(){return Yw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yw.apply(this,arguments)}const qw=function(e){return d("svg",Yw({width:32,height:32,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Hw||(Hw=d("path",{d:"M16 16v14M11 21l5-5 5 5",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Vw||(Vw=d("path",{d:"M11 29H4a3 3 0 0 1-3-3V2h11l3 5h16v19a3 3 0 0 1-3 3h-7",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};var Jw;function Zw(){return Zw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zw.apply(this,arguments)}const Xw=function(e){return d("svg",Zw({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Jw||(Jw=d("path",{d:"M19.7 4.3c-.4-.4-1-.4-1.4 0L12 10.6 5.7 4.3c-.4-.4-1-.4-1.4 0-.4.4-.4 1 0 1.4l6.3 6.3-6.3 6.3c-.4.4-.4 1 0 1.4.2.2.4.3.7.3.3 0 .5-.1.7-.3l6.3-6.3 6.3 6.3c.2.2.5.3.7.3.2 0 .5-.1.7-.3.4-.4.4-1 0-1.4L13.4 12l6.3-6.3c.4-.4.4-1 0-1.4Z",fill:"#9CA3AF"})))};function Kw(e){const t=Tr(e,1);return d(qw,t)}function Qw(e){const t=Tr(e,1);return d(Xw,t)}function ey(e,t){let n;return d("button",ft(Zn([["type","button"],["data-testid","submit-btn"],["className",vn(" ",["self-stretch md:self-auto md:w-60 px-4 py-2 bg-primary-base hover:bg-primary-hover rounded-md shadow","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-focus cursor-pointer","justify-center items-center inline-flex"])],["onClick",t],(n=[d("div",{className:"text-white text-base font-semibold leading-normal",children:e})],["children",bi.Children.toArray(Array.from(n))])])))}function ty(e,t){let n;return d("button",ft(Zn([["type","button"],["className",vn(" ",["relative group self-stretch md:self-auto md:w-60 px-4 py-2 rounded-md shadow justify-center items-center inline-flex","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-focus cursor-pointer"])],["onClick",t],(n=[d("div",{className:"text-primary-dark text-base font-semibold leading-normal z-[1]",children:e}),d("div",{className:"absolute w-full h-full rounded-md z-[0] bg-primary-base opacity-10 group-hover:opacity-20"})],["children",bi.Children.toArray(Array.from(n))])])))}function ny(e,t,n,r,i){let o,s,a,c,l,u,f,h,m,p,$,g;return w=d("div",ft(Zn([["className","w-full h-full md:pb-8 bg-white flex-col justify-start items-start md:items-center inline-flex"],(o=[d("div",ft(Zn([["className","w-full md:self-stretch p-4 bg-white border-gray-200 flex-col justify-start items-end space-x-4 space-y-4 flex"],(s=[d("button",ft(Zn([["type","button"],["className","w-6 h-6 relative rounded-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-base"],["onClick",e=>{i(new Yg(6,{InjectedBenefits:r}))}],(a=[Qw([])],["children",bi.Children.toArray(Array.from(a))])])))],["children",bi.Children.toArray(Array.from(s))])]))),d("div",ft(Zn([["className","w-full md:w-[560px] grow shrink basis-0 px-4 md:px-0 pb-8 md:pb-0 bg-white flex-col justify-between md:justify-start items-center md:space-y-14 flex"],(c=[d("div",ft(Zn([["className","self-stretch h-64 md:h-56 flex-col justify-start items-center space-y-8 flex"],(l=[d("div",ft(Zn([["className","self-stretch h-64 flex-col justify-start items-center space-y-6 flex"],(u=[d("div",ft(Zn([["className","self-stretch h-24 flex-col justify-start items-center space-y-4 flex"],(f=[d("div",ft(Zn([["className","w-12 h-12 relative rounded-lg"],(h=[d("div",{className:"w-12 h-12 relative bg-primary-base opacity-10 rounded-lg"}),d("div",ft(Zn([["className","w-8 h-8 left-2 top-2 absolute"],(m=[d("div",ft(Zn([["className","w-7 h-7 left-px top-0.5 absolute"],(p=[Kw([["className","text-primary-base"]])],["children",bi.Children.toArray(Array.from(p))])])))],["children",bi.Children.toArray(Array.from(m))])])))],["children",bi.Children.toArray(Array.from(h))])]))),d("div",{className:"self-stretch text-center text-gray-900 text-2xl md:text-3xl font-bold leading-7 md:leading-9",children:e})],["children",bi.Children.toArray(Array.from(f))])]))),d("div",ft(Zn([["className","self-stretch h-40 md:h-24 flex-col justify-start items-center space-y-3 md:space-y-4 flex"],($=[d("div",{className:"self-stretch text-center text-gray-900 text-base md:text-lg font-normal leading-normal md:leading-7",children:t}),d("div",{className:"self-stretch text-center text-gray-900 text-base md:text-lg font-normal leading-normal md:leading-7",children:n})],["children",bi.Children.toArray(Array.from($))])])))],["children",bi.Children.toArray(Array.from(u))])])))],["children",bi.Children.toArray(Array.from(l))])]))),d("div",ft(Zn([["className","self-stretch h-24 flex-col justify-start items-center space-y-4 flex cursor-pointer"],(g=[ey(r?"Submit and continue":"Submit",(e=>{i(new Yg(7,{InjectedBenefits:r}))})),ty("Keep editing",(e=>{i(new Yg(6,{InjectedBenefits:r}))}))],["children",bi.Children.toArray(Array.from(g))])])))],["children",bi.Children.toArray(Array.from(c))])])))],["children",bi.Children.toArray(Array.from(o))])]))),d("div",{className:"absolute top-0 bottom-0 left-0 right-0",children:bi.Children.toArray([w])});var w}function ry(e){let t,n,r,i;const o=e.dispatch,s=e.wd,a=[s.AppMode,s.IsBenefitsStepEnabled];return 1===a[0].tag?a[1]?ny("Before you continue",(t=Nt((e=>e.CompanyName),s.Branding),null==t?"Submit to finalise your pay information to your employer and continue to access your workplace benefits":(n=t,`Submit to finalise your pay information to ${Go(n)} and continue to access your workplace benefits`)),"Once you submit, you’ll be unable to view or edit your details",!0,o):ny("Submit your details",(r=Nt((e=>e.CompanyName),s.Branding),null==r?"Submit to finalise your pay information to your employer":(i=r,`Submit to finalise your pay information to ${Go(i)}`)),"Once you submit, you’ll be unable to view or edit your details.",!1,o):a[1]?ny("Before you continue","Submit to finalise your pay information to your employer and continue to access your workplace benefits","",!0,o):ny("Submit your details","Submit to finalise your pay information to your employer","",!1,o)}function iy(e,t){let n;return d("div",ft(Zn([["className",vn(" ",["animate-pulse w-full relative",e,t])],(n=[d("div",{className:vn(" ",["w-full left-0 top-0 absolute bg-gray-200 rounded",e])})],["children",bi.Children.toArray(Array.from(n))])])))}const oy=iy("h-9","max-w-96"),sy=iy("h-6","max-w-96"),ay=iy("h-80","max-w-96"),cy=iy("h-10","max-w-48"),ly=(()=>{let e,t;const n=[d("div",ft(Zn([["className","w-full h-full px-8 py-20 bg-white rounded border border-zinc-200 flex-col justify-start items-center gap-10 inline-flex"],(e=[d("div",ft(Zn([["className","max-w-96 w-full flex-col justify-start items-center gap-6 flex"],(t=[oy,d("div",{className:"self-stretch h-14 flex-col justify-start items-center gap-2 flex",children:bi.Children.toArray([sy,sy])})],["children",bi.Children.toArray(Array.from(t))])]))),ay,cy],["children",bi.Children.toArray(Array.from(e))])])))];return d(m,{},...n)})();function uy(e){let t;const n=e.accessToken,r=e.appMode,i=function(e,t,n){return Rf((()=>Tf((()=>e),t,((e,t)=>{}))),[])}(function(e){const t=function(e,t){if("string"!=typeof e)throw new K$("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(X$(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(e){return X$(t)}}(e.split(".")[n]))}catch(e){throw new K$("Invalid token specified: "+e.message)}}(e);return[new qg(Eo(t.sub),Ms(t.workflow.instanceId),new Q$(0),new Vg(0),Ln(),new Ng(0)),wf()]}(n),((e,t)=>function(e,t,n,r){return iw(rw,e,t,n,r)}(n,r,e,t))),o=i[0],s=i[1];Fi(function(e,t){const n=Gi(new Ta(!1));return Ui((()=>Ri((()=>{n.current.cancel()}))),[]),Vi((r=>{var i;null!=(i=n.current)&&i.isCancelled||za(Ba.Delay((()=>Ba.TryWith(Ba.Delay((()=>(t(new Q$(1)),Ba.Bind(e(r),(e=>(t(new Q$(2,e)),Ba.Zero())))))),(e=>(t(new Q$(3,e)),Ba.Zero()))))),n.current)}))}((()=>function(e,t){return nw(e,t)}(o.ProcessInstanceId,n)),(e=>{s(new Yg(0,e))})),[]),Fi((()=>{(window.ResizeObserver?new window.ResizeObserver((()=>{Va()})):new Na((()=>{Va()}))).observe(document.body)}),[]),Fi((()=>{const e=[o.WorkflowDetail,o.CurrentView];let t;switch(t=2===e[0].tag?2===e[1].tag?ot(e[1].fields[0].Id,new Og(4))?0:ot(e[1].fields[0].Id,new Og(5))?1:2:2:3,t){case 0:case 1:case 3:break;case 2:sh(jn(wh(r)),2,2)}}),[o.CurrentView,o.WorkflowDetail]),zi((()=>{window.addEventListener("step-completion",(e=>{s(new Yg(3,e))}))}));const a=o.WorkflowDetail;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:return d("div",ft(Zn([["className","w-full min-h-[600px] mx-auto bg-white"],(t=vr(pr((()=>Cr(Sr((e=>d("style",{children:[e]})),o.CssOverrides),pr((()=>{const e=o.CurrentView;switch(e.tag){case 1:return Cr(wr(d(yw,{detail:l,dispatch:s})),pr((()=>(Ja(0),gr()))));case 2:{const t=e.fields[0];let i;const a=t.Id;return i=4===a.tag?d(xw,{step:new Og(4),props:[new vw(1,n),new vw(0,`${hh}/super-selection/backend/v1.0/`),new bw(0,wh(r))],effect:()=>{s(new Yg(12)),Ja(2500)},children:[]}):d(xw,{step:a,props:[new vw(1,n),new vw(0,hh),new Cw(0,Ze(Bs(o.ProcessInstanceId)))],effect:()=>{Ja(1500)},children:[]}),wr(d(Gw,{dispatch:s,detail:l,currentStep:t,body:i}))}case 3:return Cr(wr(d(ry,{wd:l,dispatch:s})),pr((()=>(Ja(0),gr()))));case 4:return Cr(wr(d("div",{className:"text-center mt-5",children:"We had an issue. Please try again shortly."})),pr((()=>(Ja(0),gr()))));case 5:{const e=Ot(_d,l.Branding),t=[l.AppMode,l.JourneyType];let n;switch(n=0===t[0].tag?0:1===t[1].tag?2:2===t[1].tag?3:3===t[1].tag||4===t[1].tag?4:1,n){case 0:return wr(ly);case 1:return wr(Kg(W$(e,"onboarding")));case 2:return wr(Kg(W$(e,"information request")));case 3:return wr(Kg(U$()));case 4:return wr(Kg(Ki()))}}default:return wr(d("div",{children:["Please wait..."]}))}})))))),["children",bi.Children.toArray(Array.from(t))])])));case 2:return Kg(Ki())}}class fy extends yt{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class dy extends p{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}function hy(e,t){const n=encodeURIComponent(t.fields[0]),r=encodeURIComponent($h),i=encodeURIComponent((o=new gh(0),`${window.location.protocol}//${window.location.host}${wh(o)}`));var o;return Ba.Delay((()=>{let e,t,o;const s=hm((t=um(new yh(1),lm(`${dh}/connect/token`)),e=fm(sm("application/x-www-form-urlencoded"),t),dm(new bh(1,`grant_type=authorization_code&code=${n}&client_id=${r}&redirect_uri=${i}`),e)));return o=Ba.Bind(s,(e=>Ba.Return(new wo(0,e)))),Ba.Bind(o,(e=>{const t=e;if(1===t.tag)return Ba.Return(new wo(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){const t=n$(ht(2,b$(I$(),void 0,void 0)),e.responseText);return Ba.Return(t)}return Ba.Return(new wo(1,"Unexpected result from backend"))}}))}))}function my(e){return Ua(e)}function py(e,t){return Ba.Delay((()=>{let e;return Ba.Bind((r=[(e=hy(0,t),Ba.Bind(e,(e=>Ba.Return(e)))),Ba.Delay((()=>Ba.Bind(my(2e3),(()=>Ba.Return()))))],n=()=>function(e){return Wa((t=>e.then(t[0]).catch((e=>(e instanceof Pa?t[2]:t[1])(e)))))}(Promise.all(Array.from(r,(e=>{return t=e,new Promise(((e,r)=>Fa(t,e,r,r,n||Ra)));var t,n})))),Ma((e=>n()(e)))),(e=>Ba.Return(e[0])));var n,r}))}function $y(){const e=St(window.sessionStorage.getItem("credentials"));if(null!=e){const t=e,n=n$(ht(2,b$(I$(),void 0,void 0)),t);return 1===n.tag?void 0:n.fields[0]}}function gy(e,t){return yf((e=>new q$(3,e)),Cf(new A$(0,new Yd(0),e,t)))}function wy(e){return gy(e,!1)}const yy=d("div",ft(Zn([["className","flex flex-col justify-center items-center pt-10"],(()=>{const e=[Ki()];return["children",bi.Children.toArray(Array.from(e))]})()])));var vy;!function(e){Df(void 0,e)}(("workflows-app",vy=Tf((function(){const e=V$(ah(window.location.pathname+window.location.search,2)),t=e[0],n=e[1],r=new Y$(t,new Vd(0),n);switch(t.tag){case 4:case 1:case 2:case 5:case 6:return[r,wf()];case 0:{const e=[n,$y()];let t;switch(t=0===e[0].tag||2===e[0].tag||null==e[1]?1:0,t){case 0:return[new Y$(r.CurrentPage,new Vd(2,new wo(0,e[1])),r.AppMode),wf()];case 1:return[r,Cf(new q$(5))]}}default:return[r,wy(t.fields[0])]}}),(function(e,t){switch(e.tag){case 1:{const n=e.fields[0];return[new Y$(new G$(3,n),t.Credentials,t.AppMode),wy(n)]}case 2:return[new Y$(new G$(4),t.Credentials,t.AppMode),yf((e=>new q$(3,e)),Cf(new A$(1)))];case 3:{const n=function(e,t,n){let r;return 1===e.tag?1===t.tag?[t,_f((e=>{kf(e)}),my,1e3,(()=>new A$(1)))]:2===t.tag?1===t.fields[0].tag?[t,wf()]:[t,_f((e=>{kf(e)}),my,2e3,(()=>new A$(2)))]:[new Vd(2,new wo(1,"No current authenticated user")),wf()]:2===e.tag?[t,(r=window.location.pathname,bf((e=>{sh(jn(r),1,2)})))]:1===e.fields[0].tag?1===e.fields[0].fields[0].tag?[new Vd(2,new wo(1,`SignIn failed: ${e.fields[0].fields[0].fields[0]}`)),wf()]:(window.gtag&&window.gtag("event","oidc_sign_in",{}),[new Vd(2,new wo(0,e.fields[0].fields[0].fields[0])),e.fields[2]?wf():Cf(new A$(2))]):[new Vd(1),xf((e=>{kf(e)}),(e=>py(e[0],e[1])),[n,e.fields[1]],(t=>{const n=[new Yd(1,t),e.fields[1],e.fields[2]];return new A$(0,n[0],n[1],n[2])}),(t=>{const n=[new Yd(1,new wo(1,t.message)),e.fields[1],e.fields[2]];return new A$(0,n[0],n[1],n[2])}))]}(e.fields[0],t.Credentials,t.AppMode),r=n[0],i=[r,t.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 t;const n=["credentials",(t=new S$(e.id_token,e.access_token,e.expires_in,void 0,e.scope,e.token_type),gp(0,vp(I$(),void 0,void 0,void 0)(t)))];window.sessionStorage.setItem(n[0],n[1])}(s),[new Y$(t.CurrentPage,r,t.AppMode),yf((e=>new q$(3,e)),n[1])]}case 4:return[t,(n=e.fields[0],gy(n,!0))];case 5:return[new Y$(new G$(6),t.Credentials,t.AppMode),wf()];default:{const n=V$(e.fields[0])[0],r=new Y$(n,t.Credentials,t.AppMode);return 3===n.tag?[r,wy(n.fields[0])]:[r,wf()]}}var n}),(function(e,t){let n;const r=d("div",ft(Zn([["className",vn(" ",vr(pr((()=>Cr(wr("workflows-app"),pr((()=>Cr(wr("font-inter"),pr((()=>function(e){switch(e.CurrentPage.tag){case 1:case 5:case 6:default:return Ln();case 3:case 4:case 2:return jn("bg-white h-full")}}(e)))))))))))],(n=vr(pr((()=>Cr(wr(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)),pr((()=>{const n=e.CurrentPage;switch(n.tag){case 3:case 4:{const t=e.Credentials;let n;switch(n=2===t.tag&&1===t.fields[0].tag?0:1,n){case 0:return wr(yy);case 1:return wr(d(to,null))}}case 1:return wr(d(hf,null));case 2:return wr(d(F$,{inviteCode:n.fields[0],navigateAuthCodeExchangePage:e=>{t(null==e?new q$(2):new q$(1,e))},startAuthCodeExchangeBackground:e=>{t(new q$(4,e))}}));case 5:return wr(d("h1",{children:["Not found"]}));case 6:return wr(d(J$,null));default:{const t=e.Credentials;let n,r;switch(2===t.tag&&0===t.fields[0].tag?(n=0,r=t.fields[0].fields[0]):n=1,n){case 0:return wr(d(uy,{appMode:e.AppMode,accessToken:r.access_token}));case 1:return wr(yy)}}}})))))),["children",bi.Children.toArray(Array.from(n))])])));return ch({hashMode:2,onUrlChanged:e=>{t(new q$(0,e))},application:d(m,{},r)})})),function(e,t,n){return Pf(((r,i)=>{Se(e((e=>t=>e===t),function(e){return pt(2,e.view)}(n),r,i),document.getElementById(t))}),n)}(((e,t,n,r)=>function(e,t,n,r){const i=new fy(n,(()=>t(n,r)),e);return d(dy,i)}(ht(2,e),ht(2,t),n,r)),"workflows-app",vy)))})()})();
1
+ (function(){"use strict";var Or,J,El,yn,Tl,Pl,Zi,Xi,Ki,Qi,Ml,Dr={},Ol=[],jh=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Is=Array.isArray;function Vt(e,t){for(var n in t)e[n]=t[n];return e}function Dl(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function d(e,t,n){var r,s,i,o={};for(i in t)i=="key"?r=t[i]:i=="ref"?s=t[i]:o[i]=t[i];if(arguments.length>2&&(o.children=arguments.length>3?Or.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)o[i]===void 0&&(o[i]=e.defaultProps[i]);return Nr(e,o,r,s,null)}function Nr(e,t,n,r,s){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:s??++El,__i:-1,__u:0};return s==null&&J.vnode!=null&&J.vnode(i),i}function Nl(){return{current:null}}function Me(e){return e.children}function lt(e,t){this.props=e,this.context=t}function Jn(e,t){if(t==null)return e.__?Jn(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?Jn(e):null}function Rl(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Rl(e)}}function eo(e){(!e.__d&&(e.__d=!0)&&yn.push(e)&&!As.__r++||Tl!==J.debounceRendering)&&((Tl=J.debounceRendering)||Pl)(As)}function As(){var e,t,n,r,s,i,o,a;for(yn.sort(Zi);e=yn.shift();)e.__d&&(t=yn.length,r=void 0,i=(s=(n=e).__v).__e,o=[],a=[],n.__P&&((r=Vt({},s)).__v=s.__v+1,J.vnode&&J.vnode(r),to(n.__P,r,s,n.__n,n.__P.namespaceURI,32&s.__u?[i]:null,o,i??Jn(s),!!(32&s.__u),a),r.__v=s.__v,r.__.__k[r.__i]=r,Wl(o,r,a),r.__e!=i&&Rl(r)),yn.length>t&&yn.sort(Zi));As.__r=0}function Ll(e,t,n,r,s,i,o,a,l,u,f){var c,p,m,$,g,w=r&&r.__k||Ol,v=t.length;for(n.__d=l,Uh(n,t,w),l=n.__d,c=0;c<v;c++)(m=n.__k[c])!=null&&(p=m.__i===-1?Dr:w[m.__i]||Dr,m.__i=c,to(e,m,p,s,i,o,a,l,u,f),$=m.__e,m.ref&&p.ref!=m.ref&&(p.ref&&no(p.ref,null,m),f.push(m.ref,m.__c||$,m)),g==null&&$!=null&&(g=$),65536&m.__u||p.__k===m.__k?l=Bl(m,l,e):typeof m.type=="function"&&m.__d!==void 0?l=m.__d:$&&(l=$.nextSibling),m.__d=void 0,m.__u&=-196609);n.__d=l,n.__e=g}function Uh(e,t,n){var r,s,i,o,a,l=t.length,u=n.length,f=u,c=0;for(e.__k=[],r=0;r<l;r++)(s=t[r])!=null&&typeof s!="boolean"&&typeof s!="function"?(o=r+c,(s=e.__k[r]=typeof s=="string"||typeof s=="number"||typeof s=="bigint"||s.constructor==String?Nr(null,s,null,null,null):Is(s)?Nr(Me,{children:s},null,null,null):s.constructor===void 0&&s.__b>0?Nr(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):s).__=e,s.__b=e.__b+1,i=null,(a=s.__i=zh(s,n,o,f))!==-1&&(f--,(i=n[a])&&(i.__u|=131072)),i==null||i.__v===null?(a==-1&&c--,typeof s.type!="function"&&(s.__u|=65536)):a!==o&&(a==o-1?c--:a==o+1?c++:(a>o?c--:c++,s.__u|=65536))):s=e.__k[r]=null;if(f)for(r=0;r<u;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=Jn(i)),jl(i,i))}function Bl(e,t,n){var r,s;if(typeof e.type=="function"){for(r=e.__k,s=0;r&&s<r.length;s++)r[s]&&(r[s].__=e,t=Bl(r[s],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=Jn(e)),n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function Ft(e,t){return t=t||[],e==null||typeof e=="boolean"||(Is(e)?e.some(function(n){Ft(n,t)}):t.push(e)),t}function zh(e,t,n,r){var s=e.key,i=e.type,o=n-1,a=n+1,l=t[n];if(l===null||l&&s==l.key&&i===l.type&&!(131072&l.__u))return n;if(r>(l!=null&&!(131072&l.__u)?1:0))for(;o>=0||a<t.length;){if(o>=0){if((l=t[o])&&!(131072&l.__u)&&s==l.key&&i===l.type)return o;o--}if(a<t.length){if((l=t[a])&&!(131072&l.__u)&&s==l.key&&i===l.type)return a;a++}}return-1}function Vl(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||jh.test(t)?n:n+"px"}function Es(e,t,n,r,s){var i;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Vl(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Vl(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=Xi,e.addEventListener(t,i?Qi:Ki,i)):e.removeEventListener(t,i?Qi:Ki,i);else{if(s=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function Fl(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=Xi++;else if(t.t<n.u)return;return n(J.event?J.event(t):t)}}}function to(e,t,n,r,s,i,o,a,l,u){var f,c,p,m,$,g,w,v,S,N,Q,Z,Ae,at,x,R,B=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[a=t.__e=n.__e]),(f=J.__b)&&f(t);e:if(typeof B=="function")try{if(v=t.props,S="prototype"in B&&B.prototype.render,N=(f=B.contextType)&&r[f.__c],Q=f?N?N.props.value:f.__:r,n.__c?w=(c=t.__c=n.__c).__=c.__E:(S?t.__c=c=new B(v,Q):(t.__c=c=new lt(v,Q),c.constructor=B,c.render=Gh),N&&N.sub(c),c.props=v,c.state||(c.state={}),c.context=Q,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),S&&c.__s==null&&(c.__s=c.state),S&&B.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Vt({},c.__s)),Vt(c.__s,B.getDerivedStateFromProps(v,c.__s))),m=c.props,$=c.state,c.__v=t,p)S&&B.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),S&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(S&&B.getDerivedStateFromProps==null&&v!==m&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(v,Q),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(v,c.__s,Q)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=v,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(ee){ee&&(ee.__=t)}),Z=0;Z<c._sb.length;Z++)c.__h.push(c._sb[Z]);c._sb=[],c.__h.length&&o.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(v,c.__s,Q),S&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(m,$,g)})}if(c.context=Q,c.props=v,c.__P=e,c.__e=!1,Ae=J.__r,at=0,S){for(c.state=c.__s,c.__d=!1,Ae&&Ae(t),f=c.render(c.props,c.state,c.context),x=0;x<c._sb.length;x++)c.__h.push(c._sb[x]);c._sb=[]}else do c.__d=!1,Ae&&Ae(t),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++at<25);c.state=c.__s,c.getChildContext!=null&&(r=Vt(Vt({},r),c.getChildContext())),S&&!p&&c.getSnapshotBeforeUpdate!=null&&(g=c.getSnapshotBeforeUpdate(m,$)),Ll(e,Is(R=f!=null&&f.type===Me&&f.key==null?f.props.children:f)?R:[R],t,n,r,s,i,o,a,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&o.push(c),w&&(c.__E=c.__=null)}catch(ee){if(t.__v=null,l||i!=null){for(t.__u|=l?160:32;a&&a.nodeType===8&&a.nextSibling;)a=a.nextSibling;i[i.indexOf(a)]=null,t.__e=a}else t.__e=n.__e,t.__k=n.__k;J.__e(ee,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Hh(n.__e,t,n,r,s,i,o,l,u);(f=J.diffed)&&f(t)}function Wl(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)no(n[r],n[++r],n[++r]);J.__c&&J.__c(t,e),e.some(function(s){try{e=s.__h,s.__h=[],e.some(function(i){i.call(s)})}catch(i){J.__e(i,s.__v)}})}function Hh(e,t,n,r,s,i,o,a,l){var u,f,c,p,m,$,g,w=n.props,v=t.props,S=t.type;if(S==="svg"?s="http://www.w3.org/2000/svg":S==="math"?s="http://www.w3.org/1998/Math/MathML":s||(s="http://www.w3.org/1999/xhtml"),i!=null){for(u=0;u<i.length;u++)if((m=i[u])&&"setAttribute"in m==!!S&&(S?m.localName===S:m.nodeType===3)){e=m,i[u]=null;break}}if(e==null){if(S===null)return document.createTextNode(v);e=document.createElementNS(s,S,v.is&&v),a&&(J.__m&&J.__m(t,i),a=!1),i=null}if(S===null)w===v||a&&e.data===v||(e.data=v);else{if(i=i&&Or.call(e.childNodes),w=n.props||Dr,!a&&i!=null)for(w={},u=0;u<e.attributes.length;u++)w[(m=e.attributes[u]).name]=m.value;for(u in w)if(m=w[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=m;else if(!(u in v)){if(u=="value"&&"defaultValue"in v||u=="checked"&&"defaultChecked"in v)continue;Es(e,u,null,m,s)}}for(u in v)m=v[u],u=="children"?p=m:u=="dangerouslySetInnerHTML"?f=m:u=="value"?$=m:u=="checked"?g=m:a&&typeof m!="function"||w[u]===m||Es(e,u,m,w[u],s);if(f)a||c&&(f.__html===c.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(c&&(e.innerHTML=""),Ll(e,Is(p)?p:[p],t,n,r,S==="foreignObject"?"http://www.w3.org/1999/xhtml":s,i,o,i?i[0]:n.__k&&Jn(n,0),a,l),i!=null)for(u=i.length;u--;)Dl(i[u]);a||(u="value",S==="progress"&&$==null?e.removeAttribute("value"):$!==void 0&&($!==e[u]||S==="progress"&&!$||S==="option"&&$!==w[u])&&Es(e,u,$,w[u],s),u="checked",g!==void 0&&g!==e[u]&&Es(e,u,g,w[u],s))}return e}function no(e,t,n){try{if(typeof e=="function"){var r=typeof e.__u=="function";r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(s){J.__e(s,n)}}function jl(e,t,n){var r,s;if(J.unmount&&J.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||no(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){J.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(s=0;s<r.length;s++)r[s]&&jl(r[s],t,n||typeof e.type!="function");n||Dl(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Gh(e,t,n){return this.constructor(e,n)}function Rr(e,t,n){var r,s,i,o;J.__&&J.__(e,t),s=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],o=[],to(t,e=(!r&&n||t).__k=d(Me,null,[e]),s||Dr,Dr,t.namespaceURI,!r&&n?[n]:s?null:t.firstChild?Or.call(t.childNodes):null,i,!r&&n?n:s?s.__e:t.firstChild,r,o),Wl(i,e,o)}function Ul(e,t){Rr(e,t,Ul)}function qh(e,t,n){var r,s,i,o,a=Vt({},e.props);for(i in e.type&&e.type.defaultProps&&(o=e.type.defaultProps),t)i=="key"?r=t[i]:i=="ref"?s=t[i]:a[i]=t[i]===void 0&&o!==void 0?o[i]:t[i];return arguments.length>2&&(a.children=arguments.length>3?Or.call(arguments,2):n),Nr(e.type,a,r||e.key,s||e.ref,null)}function zl(e,t){var n={__c:t="__cC"+Ml++,__:e,Consumer:function(r,s){return r.children(s)},Provider:function(r){var s,i;return this.getChildContext||(s=[],(i={})[t]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){s=null},this.shouldComponentUpdate=function(o){this.props.value!==o.value&&s.some(function(a){a.__e=!0,eo(a)})},this.sub=function(o){s.push(o);var a=o.componentWillUnmount;o.componentWillUnmount=function(){s&&s.splice(s.indexOf(o),1),a&&a.call(o)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}Or=Ol.slice,J={__e:function(e,t,n,r){for(var s,i,o;t=t.__;)if((s=t.__c)&&!s.__)try{if((i=s.constructor)&&i.getDerivedStateFromError!=null&&(s.setState(i.getDerivedStateFromError(e)),o=s.__d),s.componentDidCatch!=null&&(s.componentDidCatch(e,r||{}),o=s.__d),o)return s.__E=s}catch(a){e=a}throw e}},El=0,lt.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Vt({},this.state),typeof e=="function"&&(e=e(Vt({},n),this.props)),e&&Vt(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),eo(this))},lt.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),eo(this))},lt.prototype.render=Me,yn=[],Pl=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Zi=function(e,t){return e.__v.__b-t.__v.__b},As.__r=0,Xi=0,Ki=Fl(!1),Qi=Fl(!0),Ml=0;var Wt,me,ro,Hl,Zn=0,Gl=[],be=J,ql=be.__b,Yl=be.__r,Jl=be.diffed,Zl=be.__c,Xl=be.unmount,Kl=be.__;function _n(e,t){be.__h&&be.__h(me,e,Zn||t),Zn=0;var n=me.__H||(me.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Xn(e){return Zn=1,Ts(eu,e)}function Ts(e,t,n){var r=_n(Wt++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):eu(void 0,t),function(a){var l=r.__N?r.__N[0]:r.__[0],u=r.t(l,a);l!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=me,!me.u)){var s=function(a,l,u){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(p){return!!p.__c});if(f.every(function(p){return!p.__N}))return!i||i.call(this,a,l,u);var c=!1;return f.forEach(function(p){if(p.__N){var m=p.__[0];p.__=p.__N,p.__N=void 0,m!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===a)&&(!i||i.call(this,a,l,u))};me.u=!0;var i=me.shouldComponentUpdate,o=me.componentWillUpdate;me.componentWillUpdate=function(a,l,u){if(this.__e){var f=i;i=void 0,s(a,l,u),i=f}o&&o.call(this,a,l,u)},me.shouldComponentUpdate=s}return r.__N||r.__}function vn(e,t){var n=_n(Wt++,3);!be.__s&&fo(n.__H,t)&&(n.__=e,n.i=t,me.__H.__h.push(n))}function bn(e,t){var n=_n(Wt++,4);!be.__s&&fo(n.__H,t)&&(n.__=e,n.i=t,me.__h.push(n))}function so(e){return Zn=5,Lr(function(){return{current:e}},[])}function io(e,t,n){Zn=6,bn(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function Lr(e,t){var n=_n(Wt++,7);return fo(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function oo(e,t){return Zn=8,Lr(function(){return e},t)}function ao(e){var t=me.context[e.__c],n=_n(Wt++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(me)),t.props.value):e.__}function lo(e,t){be.useDebugValue&&be.useDebugValue(t?t(e):e)}function Yh(e){var t=_n(Wt++,10),n=Xn();return t.__=e,me.componentDidCatch||(me.componentDidCatch=function(r,s){t.__&&t.__(r,s),n[1](r)}),[n[0],function(){n[1](void 0)}]}function uo(){var e=_n(Wt++,11);if(!e.__){for(var t=me.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Jh(){for(var e;e=Gl.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Ps),e.__H.__h.forEach(co),e.__H.__h=[]}catch(t){e.__H.__h=[],be.__e(t,e.__v)}}be.__b=function(e){me=null,ql&&ql(e)},be.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Kl&&Kl(e,t)},be.__r=function(e){Yl&&Yl(e),Wt=0;var t=(me=e.__c).__H;t&&(ro===me?(t.__h=[],me.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(Ps),t.__h.forEach(co),t.__h=[],Wt=0)),ro=me},be.diffed=function(e){Jl&&Jl(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Gl.push(t)!==1&&Hl===be.requestAnimationFrame||((Hl=be.requestAnimationFrame)||Zh)(Jh)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),ro=me=null},be.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Ps),n.__h=n.__h.filter(function(r){return!r.__||co(r)})}catch(r){t.some(function(s){s.__h&&(s.__h=[])}),t=[],be.__e(r,n.__v)}}),Zl&&Zl(e,t)},be.unmount=function(e){Xl&&Xl(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Ps(r)}catch(s){t=s}}),n.__H=void 0,t&&be.__e(t,n.__v))};var Ql=typeof requestAnimationFrame=="function";function Zh(e){var t,n=function(){clearTimeout(r),Ql&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Ql&&(t=requestAnimationFrame(n))}function Ps(e){var t=me,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),me=t}function co(e){var t=me;e.__c=e.__(),me=t}function fo(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function eu(e,t){return typeof t=="function"?t(e):t}function ho(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function Ms(e,t){this.props=e,this.context=t}function tu(e,t){function n(s){var i=this.props.ref,o=i==s.ref;return!o&&i&&(i.call?i(null):i.current=null),t?!t(this.props,s)||!o:ho(this.props,s)}function r(s){return this.shouldComponentUpdate=n,d(e,s)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Ms.prototype=new lt).isPureReactComponent=!0,Ms.prototype.shouldComponentUpdate=function(e,t){return ho(this.props,e)||ho(this.state,t)};var nu=J.__b;J.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),nu&&nu(e)};var Xh=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ru(e){function t(n){if(!("ref"in n))return e(n,null);var r=n.ref;delete n.ref;var s=e(n,r);return n.ref=r,s}return t.$$typeof=Xh,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var su=function(e,t){return e==null?null:Ft(Ft(e).map(t))},iu={map:su,forEach:su,count:function(e){return e?Ft(e).length:0},only:function(e){var t=Ft(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Ft},Kh=J.__e;J.__e=function(e,t,n,r){if(e.then){for(var s,i=t;i=i.__;)if((s=i.__c)&&s.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),s.__c(e,t)}Kh(e,t,n,r)};var ou=J.unmount;function au(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=function(r,s){for(var i in s)r[i]=s[i];return r}({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return au(r,t,n)})),e}function lu(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return lu(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Br(){this.__u=0,this.t=null,this.__b=null}function uu(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function cu(e){var t,n,r;function s(i){if(t||(t=e()).then(function(o){n=o.default||o},function(o){r=o}),r)throw r;if(!n)throw t;return d(n,i)}return s.displayName="Lazy",s.__f=!0,s}function Kn(){this.u=null,this.o=null}J.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),ou&&ou(e)},(Br.prototype=new lt).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var s=uu(r.__v),i=!1,o=function(){i||(i=!0,n.__R=null,s?s(a):a())};n.__R=o;var a=function(){if(!--r.__u){if(r.state.__a){var l=r.state.__a;r.__v.__k[0]=lu(l,l.__c.__P,l.__c.__O)}var u;for(r.setState({__a:r.__b=null});u=r.t.pop();)u.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(o,o)},Br.prototype.componentWillUnmount=function(){this.t=[]},Br.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=au(this.__b,n,r.__O=r.__P)}this.__b=null}var s=t.__a&&d(Me,null,e.fallback);return s&&(s.__u&=-33),[d(Me,null,t.__a?null:e.children),s]};var fu=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Qh(e){return this.getChildContext=function(){return e.context},e.children}function em(e){var t=this,n=e.i;t.componentWillUnmount=function(){Rr(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,s){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),Rr(d(Qh,{context:t.context},e.__v),t.l)}function du(e,t){var n=d(em,{__v:e,i:t});return n.containerInfo=t,n}(Kn.prototype=new lt).__a=function(e){var t=this,n=uu(t.__v),r=t.o.get(e);return r[0]++,function(s){var i=function(){t.props.revealOrder?(r.push(s),fu(t,e,r)):s()};n?n(i):i()}},Kn.prototype.render=function(e){this.u=null,this.o=new Map;var t=Ft(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Kn.prototype.componentDidUpdate=Kn.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){fu(e,n,t)})};var hu=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,tm=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,nm=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,rm=/[A-Z0-9]/g,sm=typeof document<"u",im=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Os(e,t,n){return t.__k==null&&(t.textContent=""),Rr(e,t),typeof n=="function"&&n(),e?e.__c:null}function mu(e,t,n){return Ul(e,t),typeof n=="function"&&n(),e?e.__c:null}lt.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(lt.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var pu=J.event;function om(){}function am(){return this.cancelBubble}function lm(){return this.defaultPrevented}J.event=function(e){return pu&&(e=pu(e)),e.persist=om,e.isPropagationStopped=am,e.isDefaultPrevented=lm,e.nativeEvent=e};var mo,um={enumerable:!1,configurable:!0,get:function(){return this.class}},$u=J.vnode;J.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,s={},i=r.indexOf("-")===-1;for(var o in n){var a=n[o];if(!(o==="value"&&"defaultValue"in n&&a==null||sm&&o==="children"&&r==="noscript"||o==="class"||o==="className")){var l=o.toLowerCase();o==="defaultValue"&&"value"in n&&n.value==null?o="value":o==="download"&&a===!0?a="":l==="translate"&&a==="no"?a=!1:l[0]==="o"&&l[1]==="n"?l==="ondoubleclick"?o="ondblclick":l!=="onchange"||r!=="input"&&r!=="textarea"||im(n.type)?l==="onfocus"?o="onfocusin":l==="onblur"?o="onfocusout":nm.test(o)&&(o=l):l=o="oninput":i&&tm.test(o)?o=o.replace(rm,"-$&").toLowerCase():a===null&&(a=void 0),l==="oninput"&&s[o=l]&&(o="oninputCapture"),s[o]=a}}r=="select"&&s.multiple&&Array.isArray(s.value)&&(s.value=Ft(n.children).forEach(function(u){u.props.selected=s.value.indexOf(u.props.value)!=-1})),r=="select"&&s.defaultValue!=null&&(s.value=Ft(n.children).forEach(function(u){u.props.selected=s.multiple?s.defaultValue.indexOf(u.props.value)!=-1:s.defaultValue==u.props.value})),n.class&&!n.className?(s.class=n.class,Object.defineProperty(s,"className",um)):(n.className&&!n.class||n.class&&n.className)&&(s.class=s.className=n.className),t.props=s}(e),e.$$typeof=hu,$u&&$u(e)};var gu=J.__r;J.__r=function(e){gu&&gu(e),mo=e.__c};var wu=J.diffed;J.diffed=function(e){wu&&wu(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),mo=null};var yu={ReactCurrentDispatcher:{current:{readContext:function(e){return mo.__n[e.__c].props.value},useCallback:oo,useContext:ao,useDebugValue:lo,useDeferredValue:go,useEffect:vn,useId:uo,useImperativeHandle:io,useInsertionEffect:yo,useLayoutEffect:bn,useMemo:Lr,useReducer:Ts,useRef:so,useState:Xn,useSyncExternalStore:_o,useTransition:wo}}},_u="18.3.1";function vu(e){return d.bind(null,e)}function Vr(e){return!!e&&e.$$typeof===hu}function bu(e){return Vr(e)&&e.type===Me}function Cu(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Su(e){return Vr(e)?qh.apply(null,arguments):e}function po(e){return!!e.__k&&(Rr(null,e),!0)}function ku(e){return e&&(e.base||e.nodeType===1&&e)||null}var xu=function(e,t){return e(t)},Iu=function(e,t){return e(t)},Au=Me;function $o(e){e()}function go(e){return e}function wo(){return[!1,$o]}var yo=bn,Eu=Vr;function _o(e,t){var n=t(),r=Xn({h:{__:n,v:t}}),s=r[0].h,i=r[1];return bn(function(){s.__=n,s.v=t,vo(s)&&i({h:s})},[e,n,t]),vn(function(){return vo(s)&&i({h:s}),e(function(){vo(s)&&i({h:s})})},[e]),n}function vo(e){var t,n,r=e.v,s=e.__;try{var i=r();return!((t=s)===(n=i)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var Ds={useState:Xn,useId:uo,useReducer:Ts,useEffect:vn,useLayoutEffect:bn,useInsertionEffect:yo,useTransition:wo,useDeferredValue:go,useSyncExternalStore:_o,startTransition:$o,useRef:so,useImperativeHandle:io,useMemo:Lr,useCallback:oo,useContext:ao,useDebugValue:lo,version:"18.3.1",Children:iu,render:Os,hydrate:mu,unmountComponentAtNode:po,createPortal:du,createElement:d,createContext:zl,createFactory:vu,cloneElement:Su,createRef:Nl,Fragment:Me,isValidElement:Vr,isElement:Eu,isFragment:bu,isMemo:Cu,findDOMNode:ku,Component:lt,PureComponent:Ms,memo:tu,forwardRef:ru,flushSync:Iu,unstable_batchedUpdates:xu,StrictMode:Au,Suspense:Br,SuspenseList:Kn,lazy:cu,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:yu};const cm=Object.freeze(Object.defineProperty({__proto__:null,Children:iu,Component:lt,Fragment:Me,PureComponent:Ms,StrictMode:Au,Suspense:Br,SuspenseList:Kn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:yu,cloneElement:Su,createContext:zl,createElement:d,createFactory:vu,createPortal:du,createRef:Nl,default:Ds,findDOMNode:ku,flushSync:Iu,forwardRef:ru,hydrate:mu,isElement:Eu,isFragment:bu,isMemo:Cu,isValidElement:Vr,lazy:cu,memo:tu,render:Os,startTransition:$o,unmountComponentAtNode:po,unstable_batchedUpdates:xu,useCallback:oo,useContext:ao,useDebugValue:lo,useDeferredValue:go,useEffect:vn,useErrorBoundary:Yh,useId:uo,useImperativeHandle:io,useInsertionEffect:yo,useLayoutEffect:bn,useMemo:Lr,useReducer:Ts,useRef:so,useState:Xn,useSyncExternalStore:_o,useTransition:wo,version:_u},Symbol.toStringTag,{value:"Module"}));function mt(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function fm(e){return e!=null&&typeof e.GetEnumerator=="function"}function dm(e){return e!=null&&typeof e.CompareTo=="function"}function hm(e){return e!=null&&typeof e.Equals=="function"}function Tu(e){return e!=null&&typeof e.GetHashCode=="function"}function bo(e){return e!=null&&typeof e.Dispose=="function"}function ue(e){bo(e)&&e.Dispose()}function ne(){return null}function Ns(e,t){var n,r;return((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===((r=Object.getPrototypeOf(t))==null?void 0:r.constructor)}class mm{constructor(t){this.iter=t,this.current=ne()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this.iter.next();return this.current=t.value,!t.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function $e(e){return fm(e)?e.GetEnumerator():new mm(e[Symbol.iterator]())}function Fr(e){return{next(){const t=e["System.Collections.IEnumerator.MoveNext"](),n=t?e["System.Collections.Generic.IEnumerator`1.get_Current"]():void 0;return{done:!t,value:n}}}}class pm{constructor(t){this.factory=t,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function ce(e,t){return e.toString(10).padStart(t,"0")}function $m(e,t,n){return e.toString(10).padStart(t,"0").padEnd(n,"0")}function Pu(e){const t=e;return typeof t.offset=="number"?t.offset:e.kind===1?0:e.getTimezoneOffset()*-6e4}function gm(e,t){return e=e<0&&t!=null&&t!==10?65535+e+1:e,e.toString(t)}function rn(e,t){return e=e<0&&t!=null&&t!==10?4294967295+e+1:e,e.toString(t)}class jt{static id(t){return jt.idMap.has(t)||jt.idMap.set(t,++jt.count),jt.idMap.get(t)}}jt.idMap=new WeakMap,jt.count=0;function Rs(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=n*33^e.charCodeAt(t++);return n}function pt(e){return e*2654435761|0}function Mu(e){return Rs(e.toString(32))}function Wr(e){let t=0;const n=e.length;for(let r=0;r<n;r++){const s=e[r];t=(t<<5)+t^s}return t}function wm(e){if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return pt(e);case"bigint":return Mu(e);case"string":return Rs(e);default:return pt(jt.id(e))}}function ym(e){return Tu(e)?e.GetHashCode():wm(e)}function _m(e){return e.getTime()}function vm(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=Ut(e[r]);return Wr(n)}function Ut(e){var t;if(e==null)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return pt(e);case"bigint":return Mu(e);case"string":return Rs(e);default:{if(Tu(e))return e.GetHashCode();if(mt(e))return vm(e);if(e instanceof Date)return _m(e);if(((t=Object.getPrototypeOf(e))==null?void 0:t.constructor)===Object){const n=Object.values(e).map(r=>Ut(r));return Wr(n)}else return pt(jt.id(e))}}}function Co(e){return ym(e)}function So(e,t,n){if(e==null)return t==null;if(t==null||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function Ou(e,t){return So(e,t,O)}function bm(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let s=0;s<n.length;s++)if(n[s]!==r[s]||!O(e[n[s]],t[r[s]]))return!1;return!0}function O(e,t){var n;return e===t?!0:e==null?t==null:t==null?!1:hm(e)?e.Equals(t):mt(e)?mt(t)&&Ou(e,t):typeof e!="object"?!1:e instanceof Date?t instanceof Date&&Du(e,t)===0:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object&&bm(e,t)}function Du(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+Pu(e),r=t.getTime()+Pu(t)),n===r?0:n<r?-1:1}function Ls(e,t){return e===t?0:e<t?-1:1}function Cm(e,t,n){if(e==null)return t==null?0:1;if(t==null)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,s=0;r<e.length;r++)if(s=n(e[r],t[r]),s!==0)return s;return 0}function Nu(e,t){return Cm(e,t,ut)}function Sm(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return n.length<r.length?-1:1;n.sort(),r.sort();for(let s=0,i=0;s<n.length;s++){const o=n[s];if(o!==r[s])return o<r[s]?-1:1;if(i=ut(e[o],t[o]),i!==0)return i}return 0}function ut(e,t){var n;return e===t?0:e==null?t==null?0:-1:t==null?1:dm(e)?e.CompareTo(t):mt(e)?mt(t)?Nu(e,t):-1:typeof e!="object"?e<t?-1:1:e instanceof Date?t instanceof Date?Du(e,t):-1:((n=Object.getPrototypeOf(e))==null?void 0:n.constructor)===Object?Sm(e,t):-1}function C(e){const t={};for(const n of e)t[n[0]]=n[1];return t}function km(e){mt(e)?e.splice(0):e.clear()}const Bs=new WeakMap;function re(e){if(e==null)return null;const t=(n,r)=>e(n)(r);return Bs.set(t,e),t}function Et(e){return Bs.get(e)??(t=>n=>e(t,n))}function ko(e){if(e==null)return null;const t=(n,r,s)=>e(n)(r)(s);return Bs.set(t,e),t}function Vs(e){return Bs.get(e)??(t=>n=>r=>e(t,n,r))}function xm(e){let t=0,n="[";for(const r of e){if(t===0)n+=Tt(r);else if(t===100){n+="; ...";break}else n+="; "+Tt(r);t++}return n+"]"}function Tt(e,t=0){var n;if(e!=null&&typeof e=="object"){if(typeof e.toString=="function")return e.toString();if(Symbol.iterator in e)return xm(e);{const r=(n=Object.getPrototypeOf(e))==null?void 0:n.constructor;return r===Object&&t<10?"{ "+Object.entries(e).map(([s,i])=>s+" = "+Tt(i,t+1)).join(`
2
+ `)+" }":(r==null?void 0:r.name)??""}}return String(e)}function Im(e,t){if(t.length===0)return e;{let n,r=!0;return t.length===1?(n=Tt(t[0]),r=n.indexOf(" ")>=0):n=t.map(s=>Tt(s)).join(", "),e+(r?" (":" ")+n+(r?")":"")}}class L{get name(){return this.cases()[this.tag]}toJSON(){return this.fields.length===0?this.name:[this.name].concat(this.fields)}toString(){return Im(this.name,this.fields)}GetHashCode(){const t=this.fields.map(n=>Ut(n));return t.splice(0,0,pt(this.tag)),Wr(t)}Equals(t){return this===t?!0:Ns(this,t)&&this.tag===t.tag?Ou(this.fields,t.fields):!1}CompareTo(t){return this===t?0:Ns(this,t)?this.tag===t.tag?Nu(this.fields,t.fields):this.tag<t.tag?-1:1:-1}}function Am(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}function Em(e){return"{ "+Object.entries(e).map(([t,n])=>t+" = "+Tt(n)).join(`
3
+ `)+" }"}function Tm(e){const t=Object.values(e).map(n=>Ut(n));return Wr(t)}function Pm(e,t){if(e===t)return!0;if(Ns(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!O(e[n[r]],t[n[r]]))return!1;return!0}else return!1}function Mm(e,t){if(e===t)return 0;if(Ns(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const s=ut(e[n[r]],t[n[r]]);if(s!==0)return s}return 0}else return-1}class F{toJSON(){return Am(this)}toString(){return Em(this)}GetHashCode(){return Tm(this)}Equals(t){return Pm(this,t)}CompareTo(t){return Mm(this,t)}}class Xe{get contents(){return this.getter()}set contents(t){this.setter(t)}constructor(t,n){typeof n=="function"?(this.getter=t,this.setter=n):(this.getter=()=>t,this.setter=r=>{t=r})}}class Om{constructor(t){this.message=t}}function Dm(e){return e instanceof Om||e instanceof Error}function Nm(e){return e instanceof Promise}function Fs(e){return Dm(e)||Nm(e)?e:new Error(String(e))}const Qn=Symbol("numeric");function Ru(e){return typeof e=="number"||typeof e=="bigint"||(e==null?void 0:e[Qn])}function Rm(e,t){return typeof e=="number"||typeof e=="bigint"?e<t?-1:e>t?1:0:e.CompareTo(t)}function xo(e,t){return typeof e=="number"?e*t:typeof e=="bigint"?e*BigInt(t):e[Qn]().multiply(t)}function Ws(e,t){return typeof e=="number"?e.toFixed(t):typeof e=="bigint"?e:e[Qn]().toFixed(t)}function js(e,t){return typeof e=="number"?e.toPrecision(t):typeof e=="bigint"?e:e[Qn]().toPrecision(t)}function Us(e,t){return typeof e=="number"?e.toExponential(t):typeof e=="bigint"?e:e[Qn]().toExponential(t)}function zs(e){return typeof e=="number"?(Number(e)>>>0).toString(16):typeof e=="bigint"?BigInt.asUintN(64,e).toString(16):e[Qn]().toHex()}class Lm{constructor(t,n,r,s){this.declaringType=t,this.tag=n,this.name=r,this.fields=s}}class Fe{constructor(t,n,r,s,i,o,a){this.fullname=t,this.generics=n,this.construct=r,this.parent=s,this.fields=i,this.cases=o,this.enumCases=a}toString(){return ye(this)}GetHashCode(){return Lu(this)}Equals(t){return Io(this,t)}}function tt(e){return e.generics!=null?e.generics:[]}function Lu(e){const t=Rs(e.fullname),n=tt(e).map(Lu);return Wr([t,...n])}function Io(e,t){return e.fullname===""?t.fullname===""&&So(Ur(e),Ur(t),([n,r],[s,i])=>n===s&&Io(r,i)):e.fullname===t.fullname&&So(tt(e),tt(t),Io)}function zt(e,t,n,r){return new Fe(e,t,n,r)}function fe(e,t,n,r){return new Fe(e,t,n,void 0,r)}function Ke(...e){return new Fe("",void 0,void 0,void 0,()=>e)}function $t(e,t,n,r){const s=new Fe(e,t,n,void 0,void 0,()=>{const i=n.prototype.cases();return r().map((o,a)=>new Lm(s,a,i[a],o))});return s}function Bm(...e){return new Fe("System.Tuple`"+e.length,e)}function X(e){return new Fe("Microsoft.FSharp.Core.FSharpOption`1",[e])}function sn(e){return new Fe("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Vm=new Fe("System.Object"),G=new Fe("System.String"),ct=new Fe("System.Boolean"),Hs=new Fe("System.Int32"),Fm=new Fe("System.Double");function er(e){if(Array.isArray(e))return e[0];if(e instanceof Fe){const t=jr(e);if(t!=null)return er(t)+"[]";{const n=e.fullname.lastIndexOf(".");return n===-1?e.fullname:e.fullname.substr(n+1)}}else return e.name}function ye(e){const t=jr(e);return t!=null?ye(t)+"[]":e.generics==null||e.generics.length===0?e.fullname:e.fullname+"["+e.generics.map(n=>ye(n)).join(",")+"]"}function Bu(e){return jr(e)!=null}function jr(e){var t;return e.fullname==="[]"&&((t=e.generics)==null?void 0:t.length)===1?e.generics[0]:void 0}function Vu(e){return e.generics!=null&&e.generics.length>0}function Ao(e){return e.enumCases!=null&&e.enumCases.length>0}function Fu(e){return e.generics==null?e:new Fe(e.fullname,e.generics.map(()=>Vm))}function Wu(e){var t;return(t=e.generics)==null?void 0:t[0]}function tr(e){if(Ao(e)&&e.enumCases!=null)return e.enumCases.map(t=>t[1]);throw new Error(`${e.fullname} is not an enum type`)}function Wm(e,t){if(e.enumCases!=null)if(typeof t=="string"){for(const n of e.enumCases)if(n[0]===t)return n;throw new Error(`'${t}' was not found in ${e.fullname}`)}else{for(const n of e.enumCases)if(n[1]===t)return n;return["",t]}else throw new Error(`${e.fullname} is not an enum type`)}function nr(e,t){const n=parseInt(t,10);return Wm(e,isNaN(n)?t:n)[1]}function ju(e){if(e.cases!=null)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function Ur(e){if(e.fields!=null)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function Uu(e){if(Eo(e)&&e.generics!=null)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function zu(e){return e instanceof Fe?e.cases!=null:e instanceof L}function Hu(e){return e instanceof Fe?e.fields!=null:e instanceof F}function Eo(e){return e.fullname.startsWith("System.Tuple")}function jm(e,t){const r=ju(t)[e.tag];if(r==null)throw new Error(`Cannot find case ${e.name} in union type`);return[r,e.fields]}function Gu(e){return e.fields==null?[]:e.fields}function Um(e,t){return e[t[0]]}function Y3(e){return e}function zm(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);const r=e.declaringType.construct;return r==null?{}:(e.declaringType.cases?e.declaringType.cases().length==1:!1)?new r(...t):new r(e.tag,t)}function Hm(e,t){const n=Ur(e);if(n.length!==t.length)throw new Error(`Expected an array of length ${n.length} but got ${t.length}`);return e.construct!=null?new e.construct(...t):n.reduce((r,[s,i],o)=>(r[s]=t[o],r),{})}function Gm(e,t){return e}class Cn{constructor(t){this.value=t}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return Ut(this.value)}Equals(t){return t==null?!1:O(this.value,t instanceof Cn?t.value:t)}CompareTo(t){return t==null?1:ut(this.value,t instanceof Cn?t.value:t)}}function I(e){if(e==null)throw new Error("Option has no value");return e instanceof Cn?e.value:e}function Gs(e){return e instanceof Cn?e.value:e}function Ee(e){return e==null||e instanceof Cn?new Cn(e):e}function qu(e){return e??void 0}function qs(e){return e==null?[]:[I(e)]}function Te(e,t){return e!=null?I(e):t}function qm(e,t){return e!=null?I(e):t()}function Yu(e,t){return e??t}function Be(e,t){return t!=null?Ee(e(I(t))):void 0}function on(e,t){return t!=null?e(I(t)):void 0}const Ym=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Jm=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Zm=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Xm=["January","February","March","April","May","June","July","August","September","October","November","December"];function nt(e,t,n){let r=0,s=t;for(;s<e.length&&e[s]===n;)s++,r++;return r}function Ju(e,t){return t>=e.length-1?-1:e.charCodeAt(t+1)}function Km(e,t){let n=t;const r=e[t];let s="",i=!1;for(;t<e.length;){t++;const o=e[t];if(o===r){i=!0;break}else if(o==="\\")if(t<e.length)t++,s+=e[t];else throw new Error("Invalid string format");else s+=o}if(!i)throw new Error(`Invalid string format could not find matching quote for ${r}`);return[s,t-n+1]}function To(e,t,n){let r=0,s=0,i="";const o=n?Sn(e.getTime(),1):e;for(;r<t.length;){const a=t[r];switch(a){case"d":switch(s=nt(t,r,"d"),r+=s,s){case 1:i+=Po(o);break;case 2:i+=ce(Po(o),2);break;case 3:i+=Ym[tc(o)];break;case 4:i+=Jm[tc(o)];break}break;case"f":if(s=nt(t,r,"f"),r+=s,s<=3){const w=10**(3-s);i+=ce(Math.floor(Xs(o)/w),s)}else s<=7&&(i+=(""+Xs(o)).padEnd(s,"0"));break;case"F":if(s=nt(t,r,"F"),r+=s,s<=3){const w=10**(3-s),v=Math.floor(Xs(o)/w);v!=0&&(i+=ce(v,s))}else if(s<=7){const w=Xs(o);w!=0&&(i+=ce(w,3))}break;case"g":s=nt(t,r,"g"),r+=s,s<=2&&(i+="A.D.");break;case"h":switch(s=nt(t,r,"h"),r+=s,s){case 1:i+=Zs(o)%12;break;case 2:i+=ce(Zs(o)%12,2);break}break;case"H":switch(s=nt(t,r,"H"),r+=s,s){case 1:i+=Zs(o);break;case 2:i+=ce(Zs(o),2);break}break;case"K":switch(s=nt(t,r,"K"),r+=s,s){case 1:switch(Zu(o)){case 1:i+="Z";break;case 2:i+=rr(o.getTimezoneOffset()*-6e4);break}break}break;case"m":switch(s=nt(t,r,"m"),r+=s,s){case 1:i+=Qu(o);break;case 2:i+=ce(Qu(o),2);break}break;case"M":switch(s=nt(t,r,"M"),r+=s,s){case 1:i+=zr(o);break;case 2:i+=ce(zr(o),2);break;case 3:i+=Zm[zr(o)-1];break;case 4:i+=Xm[zr(o)-1];break}break;case"s":switch(s=nt(t,r,"s"),r+=s,s){case 1:i+=ec(o);break;case 2:i+=ce(ec(o),2);break}break;case"t":switch(s=nt(t,r,"t"),r+=s,s){case 1:i+=o.getHours()<12?"A":"P";break;case 2:i+=o.getHours()<12?"AM":"PM";break}break;case"y":switch(s=nt(t,r,"y"),r+=s,s){case 1:i+=o.getFullYear()%100;break;case 2:i+=ce(o.getFullYear()%100,2);break;case 3:i+=ce(o.getFullYear(),3);break;case 4:i+=ce(o.getFullYear(),4);break;case 5:i+=ce(o.getFullYear(),5);break}break;case"z":s=nt(t,r,"z"),r+=s;let l="";switch(Zu(o)){case 1:l="+00:00";break;case 2:l=rr(o.getTimezoneOffset()*-6e4);break;case 0:l=rr(u1(o).getTimezoneOffset()*-6e4);break}const u=l[0]==="-"?"-":"+",f=parseInt(l.substring(1,3),10),c=parseInt(l.substring(4,6),10);switch(s){case 1:i+=`${u}${f}`;break;case 2:i+=`${u}${ce(f,2)}`;break;default:i+=`${u}${ce(f,2)}:${ce(c,2)}`;break}break;case":":i+=":",r++;break;case"/":i+="/",r++;break;case"'":case'"':const[p,m]=Km(t,r);i+=p,r+=m;break;case"%":const $=Ju(t,r);if($>=0&&$!==37)r+=2,i+=To(o,String.fromCharCode($),n);else throw new Error("Invalid format string");break;case"\\":const g=Ju(t,r);if(g>=0)r+=2,i+=String.fromCharCode(g);else throw new Error("Invalid format string");break;default:r++,i+=a;break}}return i}function Zu(e){return e.kind||0}function rr(e){const t=e<0;e=Math.abs(e);const n=~~(e/36e5),r=e%36e5/6e4;return(t?"-":"+")+ce(n,2)+":"+ce(r,2)}function Ys(e,t){const n=e.toISOString();return t==="first"?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function Qm(e,t){if(t)return e.toISOString();{const n=e.kind==null?!0:e.kind===2;return ce(e.getFullYear(),4)+"-"+ce(e.getMonth()+1,2)+"-"+ce(e.getDate(),2)+"T"+ce(e.getHours(),2)+":"+ce(e.getMinutes(),2)+":"+ce(e.getSeconds(),2)+"."+ce(e.getMilliseconds(),3)+(n?rr(e.getTimezoneOffset()*-6e4):"")}}function e1(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+rr(t)}function t1(e,t){const n=new Date(e.getTime()+(e.offset??0));if(typeof t!="string")return n.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+rr(e.offset??0);if(t.length===1)switch(t){case"D":case"d":return Ys(n,"first");case"T":case"t":return Ys(n,"second");case"O":case"o":return e1(n,e.offset??0);default:throw new Error("Unrecognized Date print format")}else return To(n,t,!0)}function n1(e,t){const n=e.kind===1;if(typeof t!="string")return n?e.toUTCString():e.toLocaleString();if(t.length===1)switch(t){case"D":case"d":return n?Ys(e,"first"):e.toLocaleDateString();case"T":case"t":return n?Ys(e,"second"):e.toLocaleTimeString();case"O":case"o":return Qm(e,n);default:throw new Error("Unrecognized Date print format")}else return To(e,t,n)}function Js(e,t,n){return e.offset!=null?t1(e,t):n1(e,t)}function Sn(e,t){const n=new Date(e);return n.kind=(t??0)|0,n}function r1(){return Sn(-621355968e5,1)}function Xu(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}(e==null||e.trim()==="")&&t(),e.length===10&&e[4]==="-"&&e[7]==="-"&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.getTime())){const s=/^\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(s!=null){let i,o=0;if(s[2]!=null){const a=s[2].split(":"),l=parseInt(a[0],10);o=l*3600+parseInt(a[1]||"0",10)*60+parseFloat(a[2]||"0"),s[3]!=null&&s[3].toUpperCase()==="PM"&&l<12&&(o+=720)}if(s[4]!=null){if(s[1]!=null)i=new Date(s[1]+" UTC");else{const a=new Date;i=new Date(a.getUTCFullYear()+"/"+(a.getUTCMonth()+1)+"/"+a.getUTCDate())}if(s[4]==="Z")r="Z";else{let a=parseInt(s[5],10)*60+parseInt(s[6]||"0",10);s[4][0]==="-"&&(a*=-1),r=a,o-=a*60}}else if(s[1]!=null)i=new Date(s[1]);else{const a=new Date;i=new Date(a.getFullYear()+"/"+(a.getMonth()+1)+"/"+a.getDate())}n=new Date(i.getTime()+o*1e3),n=new Date(n.getTime()+(n.getTimezoneOffset()-i.getTimezoneOffset())*6e4)}else t();isNaN(n.getTime())&&t()}return[n,r]}function s1(e,t=!1){const[n,r]=Xu(e),s=r!=null?t&&r==="Z"?1:2:0;return Sn(n.getTime(),s)}function i1(e,t){try{return t.contents=s1(e),!0}catch{return!1}}function o1(e,t,n,r=0,s=0,i=0,o=0,a){const l=a===1?new Date(Date.UTC(e,t-1,n,r,s,i,o)):new Date(e,t-1,n,r,s,i,o);e<=99&&(a===1?l.setUTCFullYear(e,t-1,n):l.setFullYear(e,t-1,n));const u=l.getTime();if(isNaN(u))throw new Error("The parameters describe an unrepresentable Date.");return Sn(u,a)}function a1(){return Sn(Date.now(),2)}function Ku(){return c1(a1())}function l1(e){return e.kind===1?e:Sn(e.getTime(),1)}function u1(e){return e.kind===2?e:Sn(e.getTime(),2)}function c1(e){return o1(Mo(e),zr(e),Po(e),0,0,0,0,e.kind)}function Po(e){return e.kind===1?e.getUTCDate():e.getDate()}function Zs(e){return e.kind===1?e.getUTCHours():e.getHours()}function Xs(e){return e.kind===1?e.getUTCMilliseconds():e.getMilliseconds()}function Qu(e){return e.kind===1?e.getUTCMinutes():e.getMinutes()}function zr(e){return(e.kind===1?e.getUTCMonth():e.getMonth())+1}function ec(e){return e.kind===1?e.getUTCSeconds():e.getSeconds()}function Mo(e){return e.kind===1?e.getUTCFullYear():e.getFullYear()}function tc(e){return e.kind===1?e.getUTCDay():e.getDay()}function nc(e,t=0){if(t&-284)throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let n="gu";return n+=t&1?"i":"",n+=t&2?"m":"",n+=t&16?"s":"",new RegExp(e,n)}function Ks(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function f1(e,t,n=0){return e.lastIndex=n,e.exec(t)}function rc(e,t,n=0){if(t==null)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=n;const r=[];let s,i=-1;for(;(s=e.exec(t))!=null;)s.index===i?e.lastIndex++:(i=s.index,r.push(s));return r}function d1(e,t,n,r,s=0){function i(){let o=arguments[0];if(r){r--;const a=[],l=arguments.length,u=typeof arguments[l-1]!="string";let f=u?l-3:l-2;for(let c=0;c<f;c++)a.push(arguments[c]);a.index=arguments[f++],a.input=arguments[f++],u&&(a.groups=arguments[f]),o=n(a)}return o}if(typeof e=="string"){const o=e;e=nc(t,r??0),t=o,r=void 0}if(typeof n=="function")return r=r??-1,t.substring(0,s)+t.substring(s).replace(e,i);if(n=n.replace(/\$0/g,o=>"$&").replace(/\${([^}]+)}/g,"$<$1>"),r!=null){let o;const a=t.substring(s),l=rc(e,a),u=rc.length>r?(o=l[r-1],a.substring(0,o.index+o[0].length)):a;return t.substring(0,s)+u.replace(e,n)+t.substring(s+u.length)}else return t.replace(e,n)}const Hr=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,Gr=/(?:(^|[^%])%([0+\- ]*)(\d+)?(?:\.(\d+))?(\w))?%P\(\)/g,h1=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function sc(e,t){return Rm(e,t)<0}function sr(e,t,n){function r(i){return i===!0||i===1||i===3||i===5}function s(i){return i===4||i===5}return e==null?t==null?0:-1:t==null?1:s(n)?(r(n)&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t?0:e<t?-1:1):(r(n)&&(e=e.toLocaleLowerCase(),t=t.toLocaleLowerCase()),e.localeCompare(t))}function m1(...e){switch(e.length){case 2:return sr(e[0],e[1],!1);case 3:return sr(e[0],e[1],e[2]);case 4:return sr(e[0],e[1],e[2]===!0);case 5:return sr(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),!1);case 6:return sr(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),e[5]);case 7:return sr(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),e[5]===!0);default:throw new Error("String.compare: Unsupported number of parameters")}}function We(e){return{input:e,cont:p1(e)}}function ic(e,t){let n=0,r=0,s="";Gr.lastIndex=0;let i=Gr.exec(e);for(;i;){const o=i.index+(i[1]||"").length;s+=e.substring(r,o).replace(/%%/g,"%");const[,,a,l,u,f]=i;r=Gr.lastIndex,s+=lc(t[n++],a,l,u,f),Gr.lastIndex=r-1,i=Gr.exec(e)}return s+=e.substring(r).replace(/%%/g,"%"),s}function oc(e,t){return typeof t=="string"?e(t):t.cont(e)}function je(e){return oc(t=>t,e)}function ac(e){return oc(t=>{throw new Error(t)},e)}function lc(e,t,n,r,s){let i="";if(t=t||"",s=s||"",Ru(e))switch(s.toLowerCase()!=="x"&&(sc(e,0)?(e=xo(e,-1),i="-"):t.indexOf(" ")>=0?i=" ":t.indexOf("+")>=0&&(i="+")),r=r==null?null:parseInt(r,10),s){case"f":case"F":r=r??6,e=Ws(e,r);break;case"g":case"G":e=r!=null?js(e,r):js(e);break;case"e":case"E":e=r!=null?Us(e,r):Us(e);break;case"x":e=zs(e);break;case"X":e=zs(e).toUpperCase();break;default:e=String(e);break}else e instanceof Date?e=Js(e):e=Tt(e);if(n=typeof n=="number"?n:parseInt(n,10),isNaN(n))e=i+e;else{const o=t.indexOf("0")>=0,a=t.indexOf("-")>=0,l=a||!o?" ":"0";l==="0"?(e=Yr(e,n-i.length,l,a),e=i+e):e=Yr(i+e,n,l,a)}return e}function uc(e,t,n,r="",s=-1){return(...i)=>{let o=r;const a=t.slice(),l=n.slice();for(const u of i){const[,,f,c,p,m]=l[0];let $=c;if(s>=0)$=s,s=-1;else if($==="*"){if(u<0)throw new Error("Non-negative number required");s=u;continue}o+=a[0],o+=lc(u,f,$,p,m),a.splice(0,1),l.splice(0,1)}return l.length===0?(o+=a[0],e(o)):uc(e,a,l,o,s)}}function p1(e){return t=>{Hr.lastIndex=0;const n=[],r=[];let s=0,i=Hr.exec(e);for(;i;){const o=i.index+(i[1]||"").length;n.push(e.substring(s,o).replace(/%%/g,"%")),r.push(i),s=Hr.lastIndex,Hr.lastIndex-=1,i=Hr.exec(e)}return n.length===0?t(e.replace(/%%/g,"%")):(n.push(e.substring(s).replace(/%%/g,"%")),uc(t,n,r))}}function cc(e,...t){let n;return typeof e=="object"?(n=String(t[0]),t.shift()):n=e,n.replace(h1,(r,s,i,o,a,l)=>{if(s<0||s>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let u=t[s];if(Ru(u))switch(a=a==null?null:parseInt(a,10),o){case"f":case"F":a=a??2,u=Ws(u,a);break;case"g":case"G":u=a!=null?js(u,a):js(u);break;case"e":case"E":u=a!=null?Us(u,a):Us(u);break;case"p":case"P":a=a??2,u=Ws(xo(u,100),a)+" %";break;case"d":case"D":u=a!=null?Oo(String(u),a,"0"):String(u);break;case"x":case"X":u=a!=null?Oo(zs(u),a,"0"):zs(u),o==="X"&&(u=u.toUpperCase());break;default:if(l){let f="";u=l.replace(/([0#,]+)(\.[0#]+)?/,(c,p,m)=>{sc(u,0)&&(u=xo(u,-1),f="-"),m=m==null?"":m.substring(1),u=Ws(u,Math.max(m.length,0));let[$,g]=u.split(".");g||(g="");const w=p.replace(/,/g,"").replace(/^#+/,"").length;$=Oo($,w,"0");const v=m.replace(/#+$/,"").length;if(v>g.length?g=g1(g,v,"0"):v<g.length&&(g=g.substring(0,v)+g.substring(v).replace(/0+$/,"")),p.indexOf(",")>0){const S=$.length%3,N=Math.floor($.length/3);let Q=S>0?$.substr(0,S)+(N>0?",":""):"";for(let Z=0;Z<N;Z++)Q+=$.substr(S+Z*3,3)+(Z<N-1?",":"");$=Q}return g.length>0?$+"."+g:$}),u=f+u}}else u instanceof Date?u=Js(u,l||o):u=Tt(u);return i=parseInt((i||" ").substring(1),10),isNaN(i)||(u=Yr(String(u),Math.abs(i)," ",i<0)),u})}function $1(e,t){const n=e.lastIndexOf(t);return n>=0&&n===e.length-t.length}function fc(e){return typeof e!="string"||e.length===0}function qr(e){return typeof e!="string"||/^\s*$/.test(e)}function ve(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function Yr(e,t,n,r){n=n||" ",t=t-e.length;for(let s=0;s<t;s++)e=r?e+n:n+e;return e}function Oo(e,t,n){return Yr(e,t,n)}function g1(e,t,n){return Yr(e,t,n,!0)}function dc(e,t,n){return e.replace(new RegExp(Ks(t),"g"),n)}function Qs(e,t,n,r){if(n=typeof n=="number"?n:void 0,r=typeof r=="number"?r:0,n&&n<0)throw new Error("Count cannot be less than zero");if(n===0)return[];const s=(r&1)===1,i=(r&2)===2;t=t||[],t=t.filter(f=>f).map(Ks),t=t.length>0?t:["\\s"];const o=[],a=new RegExp(t.join("|"),"g");let l=!0,u=0;do{const f=a.exec(e);if(f===null){const c=i?e.substring(u).trim():e.substring(u);(!s||c.length>0)&&o.push(c),l=!1}else{const c=i?e.substring(u,f.index).trim():e.substring(u,f.index);(!s||c.length>0)&&(n!=null&&o.length+1===n?(o.push(i?e.substring(u).trim():e.substring(u)),l=!1):o.push(c)),u=a.lastIndex}}while(l);return o}function w1(e,...t){if(t.length===0)return e.trim();const n="["+Ks(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}function y1(e,...t){return t.length===0?e.trimEnd():e.replace(new RegExp("["+Ks(t.join(""))+"]+$"),"")}function Do(e,t){return t.split("").filter(n=>e(n)).join("")}function _1(e,t,n){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return n!=null?e.substr(t,n):e.substr(t)}function v1(e){throw new Error(e)}function hc(e,t){return new Array(t)}function mc(e,t){return e>t?e:t}const No="Collection was empty.",b1="An index satisfying the predicate was not found in the collection.";function ei(e,t,n,r){const s=t|0;return e.fill(r,s,s+n)}function ir(e,t,n){const r=t.length|0,s=hc(n,r);for(let i=0;i<=r-1;i++)gt(s,i,e(se(i,t)));return s}function C1(e,t){const n=hc(t,1);return gt(n,0,e),n}function S1(e){return e.slice().reverse()}function k1(e,t){return t.find(e)}function x1(e,t){return(r=>{e:for(;;){const s=r;if(s<0)return;if(e(se(s,t)))return s;r=s-1;continue e}})(t.length-1)}function I1(e,t,n){const r=[];for(let s=0;s<=t.length-1;s++){const i=e(se(s,t));if(i!=null){const o=I(i);r.push(o)}}return O(n,ne())?r:ir(s=>s,r,n)}function ti(e,t,n){const r=e;return n.reduce(r,t)}function Ro(e,t,n){return t==null}function se(e,t){if(e<0||e>=t.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");return t[e]}function gt(e,t,n){if(t<0||t>=e.length)throw new Error("Index was outside the bounds of the array.\\nParameter name: index");e[t]=n}function pc(e,t){if(!(e<0||e>=t.length))return Ee(t[e])}function $c(e,t,n){return t.reduceRight((r,s)=>e(s,r),n)}class Ue extends F{constructor(t,n){super(),this.head=t,this.tail=n}toString(){return"["+ve("; ",this)+"]"}Equals(t){const n=this;return n===t?!0:((s,i)=>{e:for(;;){const o=s,a=i,l=o.tail,u=a.tail;if(l!=null)if(u!=null){const f=I(l),c=I(u);if(O(o.head,a.head)){s=f,i=c;continue e}else return!1}else return!1;else return u==null}})(n,t)}GetHashCode(){return((r,s,i)=>{e:for(;;){const o=r,a=s,l=i,u=l.tail;if(u!=null){const f=I(u);if(o>18)return a|0;r=o+1,s=(a<<1)+Ut(l.head)+631*o,i=f;continue e}else return a|0}})(0,0,this)|0}toJSON(){const t=this;return Array.from(t)}CompareTo(t){return((s,i)=>{e:for(;;){const o=s,a=i,l=o.tail,u=a.tail;if(l!=null)if(u!=null){const f=I(l),c=I(u),p=ut(o.head,a.head)|0;if(p===0){s=f,i=c;continue e}else return p|0}else return 1;else return u!=null?-1:0}})(this,t)|0}GetEnumerator(){return E1(this)}[Symbol.iterator](){return Fr($e(this))}"System.Collections.IEnumerable.GetEnumerator"(){return $e(this)}}class A1{constructor(t){this.xs=t,this.it=this.xs,this.current=ne()}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const t=this,n=t.it.tail;if(n!=null){const r=I(n);return t.current=t.it.head,t.it=r,!0}else return!1}"System.Collections.IEnumerator.Reset"(){const t=this;t.it=t.xs,t.current=ne()}Dispose(){}}function E1(e){return new A1(e)}function Pe(){return new Ue(ne(),void 0)}function Jr(e,t){return new Ue(e,t)}function Pt(e){return e.tail==null}function gc(e){return((n,r)=>{e:for(;;){const s=n,o=r.tail;if(o!=null){n=s+1,r=I(o);continue e}else return s|0}})(0,e)|0}function an(e){if(e.tail!=null)return e.head;throw new Error(No+"\\nParameter name: list")}function Ve(e){const t=e.tail;if(t!=null)return I(t);throw new Error(No+"\\nParameter name: list")}function wc(){throw new Error(b1)}function de(){return Pe()}function Qe(e,t){return Jr(e,t)}function E(e){return Jr(e,Pe())}function M(e){return Pt(e)}function or(e){return gc(e)}function k(e){return an(e)}function P(e){return Ve(e)}function T1(e){e:for(;;){const t=e;if(Pt(t))return;{const n=Ve(t);if(Pt(n))return Ee(an(t));e=n;continue e}}}function P1(e){const t=T1(e);if(t==null)throw new Error(No);return I(t)}function ar(e){const t=gc(e)|0,n=ei(new Array(t),0,t,null);return((s,i)=>{e:for(;;){const o=s,a=i;if(!Pt(a)){gt(n,o,an(a)),s=o+1,i=Ve(a);continue e}break}})(0,e),n}function Mt(e,t,n){let r=t,s=n;for(;!Pt(s);)r=e(r,k(s)),s=Ve(s);return r}function lr(e){return Mt((t,n)=>Jr(n,t),Pe(),e)}function M1(e,t,n){return $c(e,ar(t),n)}function Zr(e,t){Mt((n,r)=>{e(r)},void 0,t)}function Ce(e,t){let n=t;for(let r=e.length-1;r>=0;r--)n=Jr(se(r,e),n);return n}function y(e){return Ce(e,Pe())}function O1(e){let t,n;if(mt(e))return y(e);if(e instanceof Ue)return e;{const r=Pe();let s=r;const i=$e(e);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const l=i["System.Collections.Generic.IEnumerator`1.get_Current"]();s=(t=s,n=new Ue(l,void 0),t.tail=n,n)}}finally{ue(i)}const o=s,a=Pe();return o.tail=a,Ve(r)}}function Lo(e){const t=Pe();let n=t;const r=o=>{n=Mt((a,l)=>{const u=new Ue(l,void 0);return a.tail=u,u},n,o)};if(mt(e))e.forEach(r);else if(e instanceof Ue)Zr(r,e);else{const o=$e(e);try{for(;o["System.Collections.IEnumerator.MoveNext"]();)r(o["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{ue(o)}}const s=n,i=Pe();return s.tail=i,Ve(t)}function wt(e,t){return Mt((n,r)=>Jr(r,n),t,lr(e))}function D1(e,t){let n,r;const s=Pe();let i=s,o=t;for(;!Pt(o);){let u=e(an(o));for(;!Pt(u);)i=(n=i,r=new Ue(an(u),void 0),n.tail=r,r),u=Ve(u);o=Ve(o)}const a=i,l=Pe();return a.tail=l,Ve(s)}function et(e,t){const n=Pe(),r=Mt((i,o)=>{const a=new Ue(e(o),void 0);return i.tail=a,a},n,t),s=Pe();return r.tail=s,Ve(n)}function N1(e,t){return(r=>{e:for(;;){const s=r;if(Pt(s))return;{const i=e(an(s));if(i==null){r=Ve(s);continue e}else return i}}})(t)}function Xr(e,t){return N1(n=>e(n)?Ee(n):void 0,t)}function ni(e,t){return((r,s)=>{e:for(;;){const i=r,o=s;if(Pt(o))return;if(e(an(o)))return i;r=i+1,s=Ve(o);continue e}})(0,t)}function R1(e,t){const n=ni(e,t);return n==null?(wc(),-1):I(n)|0}function L1(e,t){return x1(e,ar(t))}function B1(e,t){const n=L1(e,t);return n==null?(wc(),-1):I(n)|0}function V1(e,t){return((r,s)=>{e:for(;;){const i=r,o=s;if(Pt(o))return;if(i===e)return Ee(an(o));r=i+1,s=Ve(o);continue e}})(0,t)}function Bo(e,t){const n=Pe(),r=Mt((i,o)=>{if(e(o)){const a=new Ue(o,void 0);return i.tail=a,a}else return i},n,t),s=Pe();return r.tail=s,Ve(n)}function F1(e,t){const n=Pe(),r=Pe(),s=n,i=Mt((l,u)=>{let f,c;const p=l[0],m=l[1];return e(u)?[(f=new Ue(u,void 0),p.tail=f,f),m]:[p,(c=new Ue(u,void 0),m.tail=c,c)]},[s,r],t),o=Pe();i[0].tail=o;const a=Pe();return i[1].tail=a,[Ve(s),Ve(r)]}function W1(e,t){const n=Pe(),r=Mt((i,o)=>{const a=e(o);if(a==null)return i;{const l=new Ue(I(a),void 0);return i.tail=l,l}},n,t),s=Pe();return r.tail=s,Ve(n)}function j1(e,t,n){return ni(r=>n.Equals(e,r),t)!=null}function yc(e,t){return ni(e,t)!=null}const U1="Enumeration already finished.",z1="Enumeration has not started. Call MoveNext.",_c="The input sequence has an insufficient number of elements.",H1="Reset is not supported on this enumerator.";function G1(){throw new Error(H1)}function Vo(){throw new Error(z1)}function Fo(){throw new Error(U1)}class q1{constructor(t){this.f=t}toString(){const t=this;let n=0,r="seq [";const s=$e(t);try{for(;n<4&&s["System.Collections.IEnumerator.MoveNext"]();)n>0&&(r=r+"; "),r=r+Tt(s["System.Collections.Generic.IEnumerator`1.get_Current"]()),n=n+1|0;return n===4&&(r=r+"; ..."),r+"]"}finally{ue(s)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Fr($e(this))}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}function Y1(e){return new q1(e)}class J1{constructor(t,n,r){this.current=t,this.next=n,this.dispose=r}"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"(){G1()}Dispose(){this.dispose()}}function ri(e,t,n){return new J1(e,t,n)}function Z1(e){let t,n,r=!1,s=!1,i;const o=()=>{if(s=!0,n!=null){const a=I(n);try{ue(a)}finally{n=void 0}}if(t!=null){const a=I(t);try{ue(a)}finally{t=void 0}}};return ri(()=>(r?s&&Fo():Vo(),i!=null?I(i):Fo()),()=>{let a;if(r||(r=!0),s)return!1;{let l;for(;l==null;){const u=t,f=n;if(u!=null)if(f!=null){const c=I(f);if(c["System.Collections.IEnumerator.MoveNext"]())i=Ee(c["System.Collections.Generic.IEnumerator`1.get_Current"]()),l=!0;else try{ue(c)}finally{n=void 0}}else{const c=I(u);c["System.Collections.IEnumerator.MoveNext"]()?n=(a=c["System.Collections.Generic.IEnumerator`1.get_Current"](),$e(a)):(o(),l=!1)}else t=$e(e)}return I(l)}},()=>{s||o()})}function X1(e,t){return ri(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{ue(t)}finally{}})}function vc(e,t,n){let r=!1,s,i=Ee(e());const o=()=>{if(i!=null){const l=I(i);try{n(l)}finally{i=void 0}}},a=()=>{try{o()}finally{s=void 0}};return ri(()=>(r||Vo(),s!=null?I(s):Fo()),()=>{if(r||(r=!0),i!=null){const l=I(i);let u;try{u=t(l)}catch(f){throw a(),f}return u!=null?(s=u,!0):(a(),!1)}else return!1},o)}function K1(e,t){let n,r=t;return ri(()=>{if(n!=null){const s=I(n)[0];return I(n)[1],s}else return Vo()},()=>(n=e(r),n!=null?(I(n)[0],r=I(n)[1],!0):!1),()=>{})}function Q1(e,t){t==null&&v1(e)}function ur(e){return Y1(e)}function ln(e){return Q1("source",e),$e(e)}function T(e){return ur(()=>$e(e()))}function Wo(e){return ur(()=>Z1(e))}function ep(e,t){return ur(()=>K1(e,t))}function cr(){return T(()=>new Array(0))}function _(e){return T(()=>C1(e))}function J3(e){return e}function jo(e){return e instanceof Ue?ar(e):Array.from(e)}function ge(e){return mt(e)?y(e):e instanceof Ue?e:O1(e)}function tp(e,t,n){return ur(()=>vc(e,t,n))}function bc(e,t,n){return ur(()=>{let r=-1;return vc(e,s=>(r=r+1|0,t(r,s)),n)})}function W(e,t){return Wo([e,t])}function np(e,t,n){const r=ln(t);try{const s=ln(n);try{let i=0,o=r["System.Collections.IEnumerator.MoveNext"](),a=s["System.Collections.IEnumerator.MoveNext"]();for(;i===0&&o&&a;)i=e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),s["System.Collections.Generic.IEnumerator`1.get_Current"]())|0,i===0&&(o=r["System.Collections.IEnumerator.MoveNext"](),a=s["System.Collections.IEnumerator.MoveNext"]());return(i!==0?i:o?1:a?-1:0)|0}finally{ue(s)}}finally{ue(r)}}function kn(e,t,n){const r=ln(t);try{let s=!1;for(;!s&&r["System.Collections.IEnumerator.MoveNext"]();)s=n.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return s}finally{ue(r)}}function Kr(e,t,n){const r=ln(n);try{let s=t;for(;r["System.Collections.IEnumerator.MoveNext"]();)s=e(s,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return s}finally{ue(r)}}function xn(e,t){Kr((n,r)=>{e(r)},void 0,t)}function rp(e,t){Kr((n,r)=>(e(n,r),n+1|0),0,t)}function Ie(e,t){return tp(()=>ln(t),n=>n["System.Collections.IEnumerator.MoveNext"]()?Ee(e(n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{ue(n)})}function sp(e,t){return bc(()=>ln(t),(n,r)=>r["System.Collections.IEnumerator.MoveNext"]()?Ee(e(n,r["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,n=>{ue(n)})}function ip(e){return T(()=>S1(jo(e)))}function op(e,t){return ur(()=>{const n=ln(t);try{for(let r=1;r<=e;r++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(_c+"\\nParameter name: source");return X1(()=>{},n)}catch(r){throw ue(n),r}})}function ap(e,t){return bc(()=>ln(t),(n,r)=>{if(n<e){if(r["System.Collections.IEnumerator.MoveNext"]())return Ee(r["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(_c+"\\nParameter name: source")}else return},n=>{ue(n)})}function Cc(e,t){return T(()=>Wo(Ie(e,t)))}const In={None:0,LowerFirst:1,SnakeCase:2,SnakeCaseAllCaps:3,KebabCase:4};function Uo(e,t){return e.replace(/[a-z]?[A-Z]/g,n=>n.length===1?n.toLowerCase():n.charAt(0)+t+n.charAt(1).toLowerCase())}function lp(e,t){switch(t){case In.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case In.SnakeCase:return Uo(e,"_");case In.SnakeCaseAllCaps:return Uo(e,"_").toUpperCase();case In.KebabCase:return Uo(e,"-");case In.None:default:return e}}function yt(e,t=In.None){const n={},r=t;function s(o){throw new Error("Cannot infer key and value of "+String(o))}function i(o,a,l){o=lp(o,a),n[o]=l}for(let o of e){let a=In.None;if(o==null&&s(o),o instanceof L){const l=o.cases()[o.tag];o=o.fields.length===0?l:[l].concat(o.fields),a=r}if(Array.isArray(o))switch(o.length){case 0:s(o);break;case 1:i(o[0],a,!0);break;case 2:const l=o[1];i(o[0],a,l);break;default:i(o[0],a,o.slice(1))}else typeof o=="string"?i(o,a,!0):s(o)}return n}function up(e,t,n){return e.has(t)?(n.contents=e.get(t),!0):!1}function Qr(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}const cp=e=>d("svg",{width:48,height:47,viewBox:"0 0 48 47",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d("rect",{width:48,height:47,rx:8,fill:"currentColor",fillOpacity:"10%"}),d("path",{d:"M9 24H30",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M23 17L30 24L23 31",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M23 9H35C35.7956 9 36.5587 9.31607 37.1213 9.87868C37.6839 10.4413 38 11.2044 38 12V36C38 36.7956 37.6839 37.5587 37.1213 38.1213C36.5587 38.6839 35.7956 39 35 39H23",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),fp=e=>d("svg",{width:48,height:47,viewBox:"0 0 48 47",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d("rect",{width:48,height:47,rx:8,fill:"currentColor",fillOpacity:"10%"}),d("path",{d:"M18 18.782V15C18.0047 13.4102 18.6384 11.8868 19.7626 10.7626C20.8868 9.63841 22.4102 9.00475 24 9C25.5898 9.00475 27.1132 9.63841 28.2374 10.7626C29.3616 11.8868 29.9953 13.4102 30 15V18.783",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M24 39C30.0751 39 35 34.0751 35 28C35 21.9249 30.0751 17 24 17C17.9249 17 13 21.9249 13 28C13 34.0751 17.9249 39 24 39Z",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M24 30V33",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M24 30C25.6569 30 27 28.6569 27 27C27 25.3431 25.6569 24 24 24C22.3431 24 21 25.3431 21 27C21 28.6569 22.3431 30 24 30Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),dp=e=>d("svg",{width:48,height:47,viewBox:"0 0 48 47",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d("rect",{width:48,height:47,rx:8,fill:"currentColor",fillOpacity:"10%"}),d("path",{d:"M24 9V22",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M32 19H32.235C32.7699 19.0001 33.2951 19.1432 33.7561 19.4145C34.2171 19.6858 34.5972 20.0754 34.857 20.543L39 28V35C39 35.7956 38.6839 36.5587 38.1213 37.1213C37.5587 37.6839 36.7956 38 36 38H12C11.2044 38 10.4413 37.6839 9.87868 37.1213C9.31607 36.5587 9 35.7956 9 35V28L13.143 20.543C13.4028 20.0754 13.7829 19.6858 14.2439 19.4145C14.7049 19.1432 15.2301 19.0001 15.765 19H16",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M29 17L24 22L19 17",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M39 28H29V31H19V28H9",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),hp=e=>d("svg",{width:48,height:47,viewBox:"0 0 48 47",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d("rect",{width:48,height:47,rx:8,fill:"currentColor",fillOpacity:"10%"}),d("path",{d:"M24 18V24H18",stroke:"#212121",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M32 39C35.866 39 39 35.866 39 32C39 28.134 35.866 25 32 25C28.134 25 25 28.134 25 32C25 35.866 28.134 39 32 39Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M21.9816 35.8395C21.8897 36.3783 21.3771 36.7444 20.8469 36.6118C18.8631 36.1159 17.0195 35.1576 15.4695 33.8097C13.6699 32.2448 12.3355 30.215 11.6122 27.9425C10.889 25.67 10.8048 23.2424 11.3689 20.9252C11.9329 18.6081 13.1235 16.4907 14.8103 14.8049C16.4971 13.1191 18.6151 11.9298 20.9326 11.3671C23.2501 10.8044 25.6777 10.89 27.9498 11.6145C30.2218 12.3391 32.2508 13.6747 33.8147 15.4752C35.1617 17.026 36.1189 18.8702 36.6137 20.8543C36.7459 21.3846 36.3795 21.8969 35.8407 21.9885C35.3018 22.08 34.7952 21.7157 34.6557 21.1873C34.2264 19.5608 33.4291 18.0497 32.3203 16.7731C30.9946 15.2468 29.2745 14.1146 27.3484 13.5003C25.4222 12.8861 23.3643 12.8135 21.3996 13.2905C19.435 13.7675 17.6395 14.7758 16.2095 16.2049C14.7795 17.6341 13.7702 19.429 13.292 21.3934C12.8139 23.3577 12.8852 25.4158 13.4984 27.3422C14.1115 29.2687 15.2427 30.9895 16.7683 32.3161C18.0442 33.4256 19.5549 34.2238 21.181 34.654C21.7094 34.7938 22.0734 35.3007 21.9816 35.8395Z",fill:"#111827"}),d("line",{x1:32,y1:29,x2:32,y2:32,stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"}),d("circle",{cx:32,cy:35,r:1,fill:"currentColor"})),mp=e=>d("svg",{width:48,height:47,viewBox:"0 0 48 47",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d("rect",{width:48,height:47,rx:8,fill:"#FEE2E2"}),d("g",{clipPath:"url(#clip0_153_10600)"},d("path",{d:"M24 15V27",stroke:"#DC2626",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M24 34C24.8284 34 25.5 33.3284 25.5 32.5C25.5 31.6716 24.8284 31 24 31C23.1716 31 22.5 31.6716 22.5 32.5C22.5 33.3284 23.1716 34 24 34Z",fill:"#DC2626"}),d("path",{d:"M30.213 9H17.787L9 17.787V30.213L17.787 39H30.213L39 30.213V17.787L30.213 9Z",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),d("defs",null,d("clipPath",{id:"clip0_153_10600"},d("rect",{width:32,height:32,fill:"white",transform:"translate(8 8)"})))),pp=e=>d("svg",{width:48,height:47,viewBox:"0 0 48 47",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d("rect",{width:48,height:47,rx:8,fill:"currentColor",fillOpacity:"10%"}),d("g",{clipPath:"url(#clip0_261_2289)"},d("path",{d:"M17 25L21 29L31 19",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M24 39C32.2843 39 39 32.2843 39 24C39 15.7157 32.2843 9 24 9C15.7157 9 9 15.7157 9 24C9 32.2843 15.7157 39 24 39Z",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),d("defs",null,d("clipPath",{id:"clip0_261_2289"},d("rect",{width:32,height:32,fill:"white",transform:"translate(8 8)"}))));function fr(e){return ge(T(()=>W(_(["className","text-primary-base"]),T(()=>e))))}function Sc(e){const t=yt(fr(e),1);return d(cp,t)}function $p(e){const t=yt(fr(e),1);return d(fp,t)}function gp(e){const t=yt(fr(e),1);return d(dp,t)}function wp(e){const t=yt(fr(e),1);return d(hp,t)}function yp(e){const t=yt(fr(e),1);return d(mp,t)}function kc(e){const t=yt(fr(e),1);return d(pp,t)}var zo;(function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"})(zo||(zo={}));function _p(e,t){const[,n,r,s]=e;return{sign:n||"",prefix:r||"",digits:s,radix:t}}function xc(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function vp(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.")}}function bp(e,t){if(t&zo.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}}function Cp(e,t,n){const s=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(s!=null){const[,,i,o]=s;if(n=n||bp(i,t),!vp(n).test(o))return _p(s,n)}return null}function Ho(e,t,n,r,s){const i=Cp(e,t,s);if(i!=null){let o=Number.parseInt(i.sign+i.digits,i.radix);if(!Number.isNaN(o)){const[a,l]=xc(!0,r);!n&&i.radix!==10&&o>=a&&o<=l&&(o=o<<32-r>>32-r);const[u,f]=xc(n,r);if(o>=u&&o<=f)return o}}throw new Error(`The input string ${e} was not in a correct format.`)}function dr(e,t,n,r,s){try{return s.contents=Ho(e,t,n,r),!0}catch{return!1}}const b=Ds,Sp=e=>d("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d("path",{d:"M21.6004 11.9999C21.6004 17.3018 17.3023 21.5999 12.0004 21.5999C6.69846 21.5999 2.40039 17.3018 2.40039 11.9999C2.40039 6.69797 6.69846 2.3999 12.0004 2.3999C17.3023 2.3999 21.6004 6.69797 21.6004 11.9999ZM4.7973 11.9999C4.7973 15.9781 8.02224 19.203 12.0004 19.203C15.9785 19.203 19.2035 15.9781 19.2035 11.9999C19.2035 8.02175 15.9785 4.79681 12.0004 4.79681C8.02224 4.79681 4.7973 8.02175 4.7973 11.9999Z",fill:"white",fillOpacity:.3}),d("path",{d:"M12.0004 3.5999C12.0004 2.93716 12.5397 2.39218 13.1973 2.47481C14.0467 2.58154 14.8799 2.80166 15.6742 3.13066C16.8389 3.6131 17.8972 4.32024 18.7886 5.21168C19.6801 6.10312 20.3872 7.16142 20.8696 8.32614C21.1986 9.12042 21.4188 9.95357 21.5255 10.803C21.6081 11.4606 21.0631 11.9999 20.4004 11.9999V11.9999C19.7377 11.9999 19.2106 11.459 19.1006 10.8054C19.0107 10.2712 18.8606 9.74748 18.6523 9.24458C18.2905 8.37104 17.7601 7.57732 17.0916 6.90873C16.423 6.24015 15.6293 5.7098 14.7557 5.34797C14.2528 5.13966 13.7291 4.98955 13.1949 4.89967C12.5413 4.78973 12.0004 4.26264 12.0004 3.5999V3.5999Z",fill:"white"})),kp=e=>d("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,viewBox:"0 0 48 48",fill:"none",...e},d("g",{clipPath:"url(#clip0_389_3293)"},d("path",{d:"M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24ZM2.99705 24C2.99705 35.5996 12.4004 45.0029 24 45.0029C35.5996 45.0029 45.0029 35.5996 45.0029 24C45.0029 12.4004 35.5996 2.99705 24 2.99705C12.4004 2.99705 2.99705 12.4004 2.99705 24Z",fill:"currentColor",fillOpacity:.3}),d("path",{d:"M24 1.5C24 0.671573 24.6722 -0.00488373 25.499 0.0468592C28.138 0.212012 30.7352 0.812387 33.1844 1.82689C36.0962 3.033 38.742 4.80083 40.9706 7.02944C43.1992 9.25805 44.967 11.9038 46.1731 14.8156C47.1876 17.2648 47.788 19.862 47.9531 22.501C48.0049 23.3278 47.3284 24 46.5 24C45.6716 24 45.0056 23.3276 44.9465 22.5013C44.7858 20.2565 44.2652 18.0488 43.4015 15.9637C42.3461 13.4158 40.7993 11.1008 38.8492 9.15076C36.8992 7.20073 34.5842 5.65388 32.0364 4.59853C29.9512 3.73482 27.7435 3.21416 25.4987 3.05355C24.6724 2.99443 24 2.32843 24 1.5Z",fill:"currentColor"})),d("defs",null,d("clipPath",{id:"clip0_389_3293"},d("rect",{width:48,height:48,fill:"white"}))));function xp(e){const t=yt(e,1);return d(Sp,t)}function Ic(e){const t=yt(e,1);return d(kp,t)}function An(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 si(e){let t;const n=on(s=>s.Phone,e.Support),r=on(s=>s.Email,e.Support);return d("p",C(y([["className","text-sm text-gray-900 whitespace-pre-wrap leading-5"],(t=ge(T(()=>W(_(d("span",{children:[`Need help? Contact ${Te(e.CompanyName,"your employer")}`]})),T(()=>W(n==null?r==null?_(d("span",{children:[" for assistance"]})):W(_(d("span",{children:[" at "]})),T(()=>{let s;return W((s=n,s==null?_(ne()):_(d("span",{children:[`${s}`]}))),T(()=>W(n!=null&&r!=null?_(d("span",{children:[" or "]})):_(ne()),T(()=>{const i=r;if(i==null)return _(ne());{const o=i;return _(d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",href:`mailto:${o}`,children:o}))}}))))})):W(_(d("span",{children:[" at "]})),T(()=>{let s;return W((s=n,s==null?_(ne()):_(d("span",{children:[`${s}`]}))),T(()=>W(n!=null&&r!=null?_(d("span",{children:[" or "]})):_(ne()),T(()=>{const i=r;if(i==null)return _(ne());{const o=i;return _(d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",href:`mailto:${o}`,children:o}))}}))))})),T(()=>_(d("span",{children:["."]})))))))),["children",b.Children.toArray(Array.from(t))])])))}function Go(e,t,n,r){let s;return d("button",C(y([["className",`w-full sm:w-[240px] ${n?"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 ${Te(e,"")}`],["type","button"],["onClick",i=>{t()}],["disabled",n],(s=ge(T(()=>n?_(xp([["className","animate-spin"]])):r)),["children",b.Children.toArray(Array.from(s))])])))}const Ip=Ic([["className","text-primary-base animate-spin"]]),Ap=e=>{vn(()=>{const t=e();return()=>{t.Dispose()}})},Ep=(e,t)=>{vn(()=>{const n=e();return()=>{n.Dispose()}},t)},Tp=e=>{bn(()=>{const t=e();return()=>{t.Dispose()}})},Pp=Ap,Ac=Ep,Mp=Tp;function Op(e,t,n,r){const s=b.memo(e,re(Te(Be(Et,n),ne())));return xn(i=>{e.displayName=i},qs(t)),i=>{const o=Dp(r,i);return b.createElement(s,o)}}function Dp(e,t){if(e==null)return t;{const n=e;return t.key=n(t),t}}function es(e){return{Dispose(){e()}}}function Np(e){return b.useState(e)}function Rp(e){Pp(e)}function qo(e,t){Ac(e,t)}function Lp(e){Mp(t=>(e(),es(()=>{})))}function hr(e){const t=b.useRef(!1);ii(()=>{t.current||(t.current=!0,e())},[])}function Ec(e){const t=b.useRef(void 0),n=b.useRef(!1),r=b.useRef(!1);n.current&&(r.current=!0),qo(()=>{let s;return n.current?s=void 0:(n.current=!0,t.current=Ee(e()),s=r.current?t.current:void 0),{Dispose(){xn(i=>{ue(i)},qs(s))}}},[])}function ii(e,t){Ac(n=>(e(),es(()=>{})),t)}function Bp(e,t){const n=Te(t,[]);return b.useCallback(e,n)}function Yo(e){return b.useRef(e)}function Vp(e,t,n){return Op(e,void 0,Gs(n),Gs(t))}function Tc(e){const t=Yo(e),n=Bp(r=>t.current(r),[]);return Lp(()=>{t.current=e}),n}function oi(e){return b.useState(e)}function ai(e,t,n){const r=[yp([]),An(e),d("p",{className:"text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4 mb-8",children:t}),Te(n,ne())];return d(Me,{},...r)}function Jo(e,t,n){return ai(e,t,Be(r=>{let s;return d("div",C(y([["className","mt-8"],(s=[si(r)],["children",b.Children.toArray(Array.from(s))])])))},n))}function Fp(e){let t;const n=e.reissueMagicLink,r=oi(!1);return ai("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",C(y([["className","mt-1 sm:mt-8 text-base leading-7 text-gray-900 whitespace-pre-wrap"],(t=[d("span",{children:["Please wait 30 minutes before trying again, or "]}),d("a",{className:"text-primary-base underline underline-offset-3 cursor-pointer",onClick:i=>{r[0]||(r[1](!0),n())},children:"sign in with email instead"}),d("span",{children:["."]})],["children",b.Children.toArray(Array.from(t))])]))))}function Wp(){return ai("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)}function Pc(e){return Jo("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 jp(e){return Jo("Invite no longer active","It looks like your employer may have cancelled your invite, and you no longer have access.",e)}function Up(e){return Jo("Invite expired","Your invite has now expired and you no longer have access.",e)}function li(){return ai("Something went wrong","We are unable to load our application at this time. Please wait a few minutes before trying again.",void 0)}const zp="workflows-app",Zo="fade-in",Xo=d("div",C(y([["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,t;const n=[(e=y([(t="Flare provides workplace solutions to Australian businesses and their employees. All information collected is treated in accordance with our ",d("span",{children:[t]})),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:b.Children.toArray(Array.from(e))})),d("p",{children:[`Copyright © ${Mo(Ku())} Flare. ABN 46 607 120 892.`]})];return["children",b.Children.toArray(Array.from(n))]})()])));function Hp(){let e,t;return d("div",C(y([["className",ve(" ",[Zo,"min-h-full flex flex-col justify-between w-full sm:w-[640px] mx-auto text-center"])],(e=[d("div",C(y([["className","flex flex-col mt-10 mx-4 sm:mt-20 justify-center items-center"],(t=[Ic([["className","h-12 w-12 text-primary-base animate-spin"]]),d("h1",{className:"mt-4 font-bold text-2xl leading-7 sm:text-3xl text-gray-900",children:"Authenticating your account"}),d("p",{className:"mt-6 sm:mt-8 text-lg leading-7 text-gray-900",children:"This may take a few seconds, please don’t close this window."})],["children",b.Children.toArray(Array.from(t))])]))),d("div",{className:"mb-6 sm:mb-8 px-4",children:b.Children.toArray([Xo])})],["children",b.Children.toArray(Array.from(e))])])))}const Gp=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,Mc=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,qp=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function De(e){function t(r){return r.replace(Mc,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(Gp.test(n))return w1(n,"{","}","(",")");if(Mc.test(n))return t(n);if(qp.test(n))return t(n.replace(/[\{\},]|0x/g,""));throw new Error("Guid should contain 32 digits with 4 dashes: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")}function Yp(e,t){try{return t.contents=De(e),!0}catch{return!1}}class Jp{constructor(t,n){const r=new Xe(ne());this.comparer=n,r.contents=this,this.hashMap=new Map([]),this["init@9"]=1;const s=$e(t);try{for(;s["System.Collections.IEnumerator.MoveNext"]();){const i=s["System.Collections.Generic.IEnumerator`1.get_Current"]();Ko(r.contents,i[0],i[1])}}finally{ue(s)}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(){const t=this;return Array.from(t)}"System.Collections.IEnumerable.GetEnumerator"(){return $e(this)}GetEnumerator(){return $e(Wo(this.hashMap.values()))}[Symbol.iterator](){return Fr($e(this))}"System.Collections.Generic.ICollection`1.Add2B595"(t){Ko(this,t[0],t[1])}"System.Collections.Generic.ICollection`1.Clear"(){Oc(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const r=ui(this,t[0]);let s;switch(r!=null&&O(I(r)[1],t[1])?(s=0,I(r)):s=1,s){case 0:return!0;default:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){rp((s,i)=>{gt(t,n+s,i)},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return Dc(this)|0}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(t){const n=this,r=ui(n,t[0]);return r!=null?(O(I(r)[1],t[1])&&Qo(n,t[0]),!0):!1}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(t,n){Ko(this,t,n)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(t){return Lc(this,t)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(t){return Nc(this,t)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(t,n){Rc(this,t,n)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const t=this;return jo(T(()=>Ie(n=>n[0],t)))}"System.Collections.Generic.IDictionary`2.Remove2B595"(t){return Qo(this,t)}"System.Collections.Generic.IDictionary`2.TryGetValue6DC89625"(t,n){const s=ui(this,t);if(s!=null){const i=I(s);return n.contents=i[1],!0}else return!1}"System.Collections.Generic.IDictionary`2.get_Values"(){const t=this;return jo(T(()=>Ie(n=>n[1],t)))}get size(){return Dc(this)|0}clear(){Oc(this)}delete(t){return Qo(this,t)}entries(){return Ie(n=>[n[0],n[1]],this)}get(t){return Nc(this,t)}has(t){return Lc(this,t)}keys(){return Ie(n=>n[0],this)}set(t,n){const r=this;return Rc(r,t,n),r}values(){return Ie(n=>n[1],this)}forEach(t,n){const r=this;xn(s=>{t(s[1],s[0],r)},r)}}function ts(e,t){const n=e.comparer.GetHashCode(t)|0;let r,s=ne();return r=[up(e.hashMap,n,new Xe(()=>s,i=>{s=i})),s],r[0]?[!0,n,r[1].findIndex(i=>e.comparer.Equals(t,i[0]))]:[!1,n,-1]}function ui(e,t){const n=ts(e,t);let r;switch(n[0]&&n[2]>-1?r=0:r=1,r){case 0:return Qr(e.hashMap,n[1])[n[2]];default:return}}function Oc(e){e.hashMap.clear()}function Dc(e){let t=0,n=$e(e.hashMap.values());try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=t+r.length|0}}finally{ue(n)}return t|0}function Nc(e,t){const n=ui(e,t);if(n!=null)return I(n)[1];throw new Error("The item was not found in collection")}function Rc(e,t,n){const r=ts(e,t);r[0]?r[2]>-1?Qr(e.hashMap,r[1])[r[2]]=[t,n]:Qr(e.hashMap,r[1]).push([t,n]):e.hashMap.set(r[1],[[t,n]])}function Ko(e,t,n){const r=ts(e,t);if(r[0]){if(r[2]>-1)throw new Error(cc("An item with the same key has already been added. Key: {0}",t));Qr(e.hashMap,r[1]).push([t,n])}else e.hashMap.set(r[1],[[t,n]])}function Lc(e,t){const n=ts(e,t);let r;switch(n[0]&&n[2]>-1?r=0:r=1,r){case 0:return!0;default:return!1}}function Qo(e,t){const n=ts(e,t);let r;switch(n[0]&&n[2]>-1?r=0:r=1,r){case 0:return Qr(e.hashMap,n[1]).splice(n[2],1),!0;default:return!1}}function Zp(e){return new h(0,[e])}function Bc(e){return new h(1,[e])}class h extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Ok","Error"]}}function _t(e,t){return t.tag===0?Zp(e(t.fields[0])):Bc(t.fields[0])}function Vc(e,t){return t.tag===0?e(t.fields[0]):Bc(t.fields[0])}const Xp="#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ƒ£ē︳𐀡%𐀡",Kp="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@";function Qp(){const t=[...Xp].map(i=>(i.codePointAt(0)??0)-35),n=[...Kp].map(i=>(i.codePointAt(0)??0)-35),r=new Uint32Array(t),s=new Uint8Array(n);for(let i=1;i<r.length;++i)r[i]+=r[i-1];return i=>{let o=r.length,a=0;for(;o-a>1;){const l=Math.floor((o+a)/2),u=r[l];if(i<u)o=l;else if(i===u){o=a=l;break}else u<i&&(a=l)}return s[a]}}const e$=256,t$=Qp();function n$(e,t){if(t<e.length)return e.charCodeAt(t);throw new Error("Index out of range.")}const ea=e=>s$(e,0);function r$(e,t){const n=n$(e,t);return t$(n)}function s$(e,t){return(1<<r$(e,t)&e$)!==0}function i$(e,t){const n=f1(nc(e),t);if(n!=null)return P(ge(T(()=>Ie(r=>r||"",n))))}function o$(e){let t;const n=i$(".*?@(.*)",e);switch(n!=null?M(n)?t=1:M(P(n))?t=0:t=1:t=1,t){case 0:return e;default:return}}function Fc(e,t){return fc(t)?new h(1,[je(We("%s cannot be null or empty"))(e)]):new h(0,[t])}function a$(e){const t=o$(e);if(t!=null){const n=t;return new h(0,[n])}else return new h(1,["Email is not in the correct format"])}const En=e=>({tag:"ok",value:e}),ns=e=>({tag:"error",error:e});class ze{constructor(t){this.uri=t}static isAbsoluteUri(t){try{return new URL(t),!0}catch{return!1}}static tryCreateWithKind(t,n){switch(n){case 1:return ze.isAbsoluteUri(t)?En(new ze({original:t,value:new URL(t),kind:n})):ns("Invalid URI: The format of the URI could not be determined.");case 2:return ze.isAbsoluteUri(t)?ns("URI is not a relative path."):En(new ze({original:t,value:t,kind:n}));case 0:return ze.isAbsoluteUri(t)?En(new ze({original:t,value:new URL(t),kind:1})):En(new ze({original:t,value:t,kind:2}));default:return n}}static tryCreateWithBase(t,n){return t.uri.kind!==1?ns("Base URI should have Absolute kind"):typeof n=="string"?En(new ze({original:new URL(n,t.uri.value).toString(),value:new URL(n,t.uri.value),kind:1})):n.uri.kind===2?En(new ze({original:new URL(n.uri.value,t.uri.value).toString(),value:new URL(n.uri.value,t.uri.value),kind:1})):En(t)}static tryCreateImpl(t,n=1){return typeof t=="string"?typeof n!="number"?ns("Kind must be specified when the baseUri is a string."):ze.tryCreateWithKind(t,n):typeof n=="number"?ns("Kind should not be specified when the baseUri is an absolute Uri."):ze.tryCreateWithBase(t,n)}static create(t,n=1){const r=ze.tryCreateImpl(t,n);switch(r.tag){case"ok":return r.value;case"error":throw new Error(r.error);default:return r}}static tryCreate(t,n=1,r){const s=ze.tryCreateImpl(t,n);switch(s.tag){case"ok":return r.contents=s.value,!0;case"error":return!1;default:return s}}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 this.uri.kind===1}get absoluteUri(){return this.asUrl().href}get scheme(){const t=this.asUrl().protocol;return t.slice(0,t.length-1)}get host(){return this.asUrl().host}get absolutePath(){return this.asUrl().pathname}get query(){return this.asUrl().search}get pathAndQuery(){const t=this.asUrl();return t.pathname+t.search}get fragment(){return this.asUrl().hash}get originalString(){return this.uri.original}}class l$ extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["ProfileId"]}}function Wc(e){return new l$(e)}function jc(e){return e.fields[0]}class u$ extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["InviteCode"]}}function c$(e){return!qr(e)}function Uc(e){return c$(e)?new h(0,[new u$(e)]):new h(1,["Invalid invite code format."])}class zc extends F{constructor(t,n,r){super(),this.CompanyName=t,this.Logo=n,this.Support=r}}class f$ extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["Logo"]}}class d$ extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["CompanyName"]}}class Hc extends F{constructor(t,n){super(),this.Email=t,this.Phone=n}}class h$ extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["Email"]}}class m$ extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["Phone"]}}const Gc=e=>_t(t=>new h$(t),Vc(a$,Fc("Email",e)));function p$(e){return e.fields[0]}const qc=e=>_t(t=>new m$(t),Fc("Phone",e));function $$(e){return e.fields[0]}function Yc(e){return qr(e)?new h(1,["Invalid company name."]):new h(0,[new d$(e)])}function rs(e){return e.fields[0]}function g$(e){try{const t=ze.create(e);return t.isAbsoluteUri?[!0,t]:[!1,void 0]}catch{return[!1,void 0]}}function Jc(e){return g$(e)[0]?new h(0,[new f$(e)]):new h(1,["Invalid logo url."])}function w$(e){return e.fields[0]}class y$ extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["SecondFactorCode"]}}function _$(e){return new y$(e)}class v$ extends F{constructor(t,n,r,s){super(),this.Code=t,this.DateIssued=n,this.NumberOfAttempts=r|0,this.DateOfLastAttempt=s}}class b$ extends F{constructor(t,n,r,s){super(),this.Code=t,this.DateIssued=n,this.SecondFactor=r,this.Branding=s}}class Ot extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["ProcessStepId"]}}class Dt extends F{constructor(t,n,r){super(),this.Id=t,this.DisplayName=n,this.ComponentTagName=r}}const Ge=new Dt(new Ot("personal-details"),"Personal Details","apollo-personal-details-app"),ft=new Dt(new Ot("emergency-contacts"),"Emergency Contacts","apollo-emergency-contacts-app"),dt=new Dt(new Ot("bank"),"Bank","bank-component"),ht=new Dt(new Ot("tax"),"Tax","tax-component"),Ne=new Dt(new Ot("super"),"Super","super-selection-app"),Tn=new Dt(new Ot("app-workplace-linking"),"App Workplace Linking","workplace-link"),C$=new Ot("benefits-onboarding"),ci=new Dt(C$,"Benefits","benefits-onboarding"),Ht=new Dt(new Ot("workplace-policy"),"Workplace-policy","apollo-workplace-policies-app"),Pn=new Dt(new Ot("Benefits-Discrete"),"Benefits","benefits-onboarding");function Zc(e){return new Ot(e)}function fi(e){return e.fields[0]}class Re extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["ProcessConfigId"]}}class Le extends F{constructor(t,n,r){super(),this.Id=t,this.Name=n,this.Steps=r}}const Xc=new Le(new Re(De("00000000-0000-0000-0000-000000000000")),"onboarding-default",y([dt,ht,Ne])),Kc=new Le(new Re(De("00000000-0000-0000-0000-000000000001")),"PEBTS",y([Ge,ft,dt,ht,Ne])),Qc=new Le(new Re(De("00000000-0000-0000-0000-000000000002")),"PS",y([Ge,Ne])),ef=new Le(new Re(De("00000000-0000-0000-0000-000000000003")),"BS",y([dt,Ne])),tf=new Le(new Re(De("00000000-0000-0000-0000-000000000004")),"Super",E(Ne)),ta=new Le(new Re(De("00000000-0000-0000-0001-000000000000")),"App Workplace Linking",E(Tn)),nf=new Le(new Re(De("00000000-0000-0000-0000-000000000005")),"Tax",E(ht)),rf=new Le(new Re(De("00000000-0000-0000-0000-000000000006")),"PBTS",y([Ge,dt,ht,Ne])),sf=new Le(new Re(De("00000000-0000-0000-0000-000000000007")),"PEBTSPo",y([Ge,ft,dt,ht,Ne,Ht])),of=new Le(new Re(De("00000000-0000-0000-0000-000000000008")),"PEBSPo",y([Ge,ft,dt,Ne,Ht])),af=new Le(new Re(De("00000000-0000-0000-0000-000000000009")),"PESPo",y([Ge,ft,Ne,Ht])),lf=new Le(new Re(De("00000000-0000-0000-0000-000000000010")),"PETSPo",y([Ge,ft,ht,Ne,Ht])),na=new Le(new Re(De("00000000-0000-0000-0002-000000000000")),"Bo",E(Pn)),uf=new Le(new Re(De("00000000-0000-0000-0000-000000000011")),"PETS",y([Ge,ft,ht,Ne])),cf=new Le(new Re(De("00000000-0000-0000-0000-000000000012")),"PEBS",y([Ge,ft,dt,Ne])),ff=new Le(new Re(De("00000000-0000-0000-0000-000000000013")),"PES",y([Ge,ft,Ne])),df=new Le(new Re(De("00000000-0000-0000-0000-000000000014")),"PBTSPo",y([Ge,dt,ht,Ne,Ht])),S$=new Jp([[Xc.Id,Xc],[Kc.Id,Kc],[Qc.Id,Qc],[ef.Id,ef],[tf.Id,tf],[ta.Id,ta],[nf.Id,nf],[rf.Id,rf],[sf.Id,sf],[of.Id,of],[af.Id,af],[lf.Id,lf],[na.Id,na],[uf.Id,uf],[cf.Id,cf],[ff.Id,ff],[df.Id,df]],{Equals:O,GetHashCode:Co});function k$(e){return O(e,na)?!1:!O(e,ta)}function x$(e){const t=new Re(e);return kn(t,S$.keys(),{Equals:O,GetHashCode:Co})?new h(0,[t]):new h(1,[je(ic("Invalid Type %A%P()",[e]))])}function hf(e){return e.fields[0]}class mf extends F{constructor(t,n){super(),this.ActivatedDates=t,this.CompletedSteps=n}}class ss extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Inactive","Active","Complete","Abandoned"]}}function ra(e){return e.tag===2}class I$ extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["ProcessInstanceId"]}}function pf(e){return new I$(e)}function mr(e){return e.fields[0]}class A$ extends F{constructor(t,n){super(),this.Name=t,this.Value=n}}class E$ extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["TagName"]}}class T$ extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["TagValue"]}}function P$(e){return qr(e)?new h(1,["Tag name is empty"]):e.length<100?new h(0,[new E$(e)]):new h(1,["Tag name is too long"])}function M$(e){return qr(e)?new h(1,["Tag value is empty"]):e.length<100?new h(0,[new T$(e)]):new h(1,["Tag value is too long"])}function O$(e,t){const n=P$(e);if(n.tag===1)return new h(1,[n.fields[0]]);{const r=M$(t);return r.tag===1?new h(1,[r.fields[0]]):new h(0,[new A$(n.fields[0],r.fields[0])])}}class D$ extends F{constructor(t,n,r,s,i,o,a,l,u,f,c){super(),this.Id=t,this.Configuration=n,this.DateCreated=r,this.Status=s,this.Invite=i,this.Tags=o,this.Creator=a,this.StepsConfiguration=l,this.JourneyType=u,this.IsBenefitsStepEnabled=f,this.PaySetupComplete=c}}class N$ extends F{constructor(t){super(),this.BenefitsOnboarding=t}}class pr extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Default","InfoRequest","AppInvite","BenefitsExisting","BenefitsOnboarding"]}}class $f extends F{constructor(t){super(),this.Category=t}}class gf extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["WhenEnabled","Always"]}}function R$(e,t){const n=Xr(i=>O(i.Id,e),t.Configuration.Steps),r=je(ic("Invalid ProcessStep Id %A%P()",[e])),s=n;return s==null?new h(1,[r]):new h(0,[s])}function L$(e){const t=e.Status;switch(t.tag){case 2:return e.Configuration.Steps;case 3:case 0:return de();default:{const n=et(r=>r[0],t.fields[0].CompletedSteps);return Bo(r=>j1(r.Id,n,{Equals:O,GetHashCode:Co}),e.Configuration.Steps)}}}function wf(){return qu(document.getElementById("external-loading-page-container"))}function yf(){return wf()!=null}function B$(){let e,t;const n=wf();xn((e=(t=document.body,r=>t.removeChild(r)),r=>{e(r)}),qs(n))}var Mn=[],V$=function(){return Mn.some(function(e){return e.activeTargets.length>0})},F$=function(){return Mn.some(function(e){return e.skippedTargets.length>0})},_f="ResizeObserver loop completed with undelivered notifications.",W$=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:_f}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=_f),window.dispatchEvent(e)},is;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(is||(is={}));var On=function(e){return Object.freeze(e)},j$=function(){function e(t,n){this.inlineSize=t,this.blockSize=n,On(this)}return e}(),vf=function(){function e(t,n,r,s){return this.x=t,this.y=n,this.width=r,this.height=s,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,On(this)}return e.prototype.toJSON=function(){var t=this,n=t.x,r=t.y,s=t.top,i=t.right,o=t.bottom,a=t.left,l=t.width,u=t.height;return{x:n,y:r,top:s,right:i,bottom:o,left:a,width:l,height:u}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),sa=function(e){return e instanceof SVGElement&&"getBBox"in e},bf=function(e){if(sa(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var s=e,i=s.offsetWidth,o=s.offsetHeight;return!(i||o||e.getClientRects().length)},Cf=function(e){var t;if(e instanceof Element)return!0;var n=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},U$=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},os=typeof window<"u"?window:{},di=new WeakMap,Sf=/auto|scroll/,z$=/^tb|vertical/,H$=/msie|trident/i.test(os.navigator&&os.navigator.userAgent),Nt=function(e){return parseFloat(e||"0")},$r=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new j$((n?t:e)||0,(n?e:t)||0)},kf=On({devicePixelContentBoxSize:$r(),borderBoxSize:$r(),contentBoxSize:$r(),contentRect:new vf(0,0,0,0)}),xf=function(e,t){if(t===void 0&&(t=!1),di.has(e)&&!t)return di.get(e);if(bf(e))return di.set(e,kf),kf;var n=getComputedStyle(e),r=sa(e)&&e.ownerSVGElement&&e.getBBox(),s=!H$&&n.boxSizing==="border-box",i=z$.test(n.writingMode||""),o=!r&&Sf.test(n.overflowY||""),a=!r&&Sf.test(n.overflowX||""),l=r?0:Nt(n.paddingTop),u=r?0:Nt(n.paddingRight),f=r?0:Nt(n.paddingBottom),c=r?0:Nt(n.paddingLeft),p=r?0:Nt(n.borderTopWidth),m=r?0:Nt(n.borderRightWidth),$=r?0:Nt(n.borderBottomWidth),g=r?0:Nt(n.borderLeftWidth),w=c+u,v=l+f,S=g+m,N=p+$,Q=a?e.offsetHeight-N-e.clientHeight:0,Z=o?e.offsetWidth-S-e.clientWidth:0,Ae=s?w+S:0,at=s?v+N:0,x=r?r.width:Nt(n.width)-Ae-Z,R=r?r.height:Nt(n.height)-at-Q,B=x+w+Z+S,ee=R+v+Q+N,he=On({devicePixelContentBoxSize:$r(Math.round(x*devicePixelRatio),Math.round(R*devicePixelRatio),i),borderBoxSize:$r(B,ee,i),contentBoxSize:$r(x,R,i),contentRect:new vf(c,l,x,R)});return di.set(e,he),he},If=function(e,t,n){var r=xf(e,n),s=r.borderBoxSize,i=r.contentBoxSize,o=r.devicePixelContentBoxSize;switch(t){case is.DEVICE_PIXEL_CONTENT_BOX:return o;case is.BORDER_BOX:return s;default:return i}},G$=function(){function e(t){var n=xf(t);this.target=t,this.contentRect=n.contentRect,this.borderBoxSize=On([n.borderBoxSize]),this.contentBoxSize=On([n.contentBoxSize]),this.devicePixelContentBoxSize=On([n.devicePixelContentBoxSize])}return e}(),Af=function(e){if(bf(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},q$=function(){var e=1/0,t=[];Mn.forEach(function(o){if(o.activeTargets.length!==0){var a=[];o.activeTargets.forEach(function(u){var f=new G$(u.target),c=Af(u.target);a.push(f),u.lastReportedSize=If(u.target,u.observedBox),c<e&&(e=c)}),t.push(function(){o.callback.call(o.observer,a,o.observer)}),o.activeTargets.splice(0,o.activeTargets.length)}});for(var n=0,r=t;n<r.length;n++){var s=r[n];s()}return e},Ef=function(e){Mn.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(s){s.isActive()&&(Af(s.target)>e?n.activeTargets.push(s):n.skippedTargets.push(s))})})},Y$=function(){var e=0;for(Ef(e);V$();)e=q$(),Ef(e);return F$()&&W$(),e>0},ia,Tf=[],J$=function(){return Tf.splice(0).forEach(function(e){return e()})},Z$=function(e){if(!ia){var t=0,n=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return J$()}).observe(n,r),ia=function(){n.textContent="".concat(t?t--:t++)}}Tf.push(e),ia()},X$=function(e){Z$(function(){requestAnimationFrame(e)})},hi=0,K$=function(){return!!hi},Q$=250,eg={attributes:!0,characterData:!0,childList:!0,subtree:!0},Pf=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Mf=function(e){return e===void 0&&(e=0),Date.now()+e},oa=!1,tg=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var n=this;if(t===void 0&&(t=Q$),!oa){oa=!0;var r=Mf(t);X$(function(){var s=!1;try{s=Y$()}finally{if(oa=!1,t=r-Mf(),!K$())return;s?n.run(1e3):t>0?n.run(t):n.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,n=function(){return t.observer&&t.observer.observe(document.body,eg)};document.body?n():os.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Pf.forEach(function(n){return os.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Pf.forEach(function(n){return os.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),aa=new tg,Of=function(e){!hi&&e>0&&aa.start(),hi+=e,!hi&&aa.stop()},ng=function(e){return!sa(e)&&!U$(e)&&getComputedStyle(e).display==="inline"},rg=function(){function e(t,n){this.target=t,this.observedBox=n||is.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=If(this.target,this.observedBox,!0);return ng(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),sg=function(){function e(t,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=n}return e}(),mi=new WeakMap,Df=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},pi=function(){function e(){}return e.connect=function(t,n){var r=new sg(t,n);mi.set(t,r)},e.observe=function(t,n,r){var s=mi.get(t),i=s.observationTargets.length===0;Df(s.observationTargets,n)<0&&(i&&Mn.push(s),s.observationTargets.push(new rg(n,r&&r.box)),Of(1),aa.schedule())},e.unobserve=function(t,n){var r=mi.get(t),s=Df(r.observationTargets,n),i=r.observationTargets.length===1;s>=0&&(i&&Mn.splice(Mn.indexOf(r),1),r.observationTargets.splice(s,1),Of(-1))},e.disconnect=function(t){var n=this,r=mi.get(t);r.observationTargets.slice().forEach(function(s){return n.unobserve(t,s.target)}),r.activeTargets.splice(0,r.activeTargets.length)},e}(),Nf=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");pi.connect(this,t)}return e.prototype.observe=function(t,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Cf(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");pi.observe(this,t,n)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Cf(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");pi.unobserve(this,t)},e.prototype.disconnect=function(){pi.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class Rf{constructor(t=!1){this._id=0,this._cancelled=t,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,t]of this._listeners)t()}}addListener(t){const n=this._id;return this._listeners.set(this._id++,t),n}removeListener(t){return this._listeners.delete(t)}register(t,n){const r=this,s=this.addListener(n==null?t:()=>t(n));return{Dispose(){r.removeListener(s)}}}Dispose(){}}class as extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,as.prototype)}}class la{static get maxTrampolineCallCount(){return 2e3}constructor(){this.callCount=0}incrementAndCheck(){return this.callCount++>la.maxTrampolineCallCount}hijack(t){this.callCount=0,setTimeout(t,0)}}function Rt(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new as);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(n){t.onError(Fs(n))}});else try{e(t)}catch(n){t.onError(Fs(n))}}}function ig(e,t){return Rt(n=>{e({onSuccess:r=>{try{t(r)(n)}catch(s){n.onError(Fs(s))}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})})}function og(e){return Rt(t=>t.onSuccess(e))}class ag{Bind(t,n){return ig(t,n)}Combine(t,n){return this.Bind(t,()=>n)}Delay(t){return Rt(n=>t()(n))}For(t,n){const r=t[Symbol.iterator]();let s=r.next();return this.While(()=>!s.done,this.Delay(()=>{const i=n(s.value);return s=r.next(),i}))}Return(t){return og(t)}ReturnFrom(t){return t}TryFinally(t,n){return Rt(r=>{t({onSuccess:s=>{n(),r.onSuccess(s)},onError:s=>{n(),r.onError(s)},onCancel:s=>{n(),r.onCancel(s)},cancelToken:r.cancelToken,trampoline:r.trampoline})})}TryWith(t,n){return Rt(r=>{t({onSuccess:r.onSuccess,onCancel:r.onCancel,cancelToken:r.cancelToken,trampoline:r.trampoline,onError:s=>{try{n(s)(r)}catch(i){r.onError(Fs(i))}}})})}Using(t,n){return this.TryFinally(n(t),()=>t.Dispose())}While(t,n){return t()?this.Bind(n,()=>this.While(t,n)):this.Return(void 0)}Zero(){return Rt(t=>t.onSuccess(void 0))}}const A=new ag;function lg(e){return new Lf(0,[e])}function ug(e){return new Lf(1,[e])}class Lf extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Choice1Of2","Choice2Of2"]}}class ua extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Choice1Of3","Choice2Of3","Choice3Of3"]}}function cg(e){return lg(e)}function fg(e){return ug(e)}function ca(e){}function dg(e){return Rt(t=>e()(t))}function hg(e){return new Rf(!1)}function mg(e){e.cancel()}function pg(e){return e!=null&&e.isCancelled}function $g(e){return Ff(t=>e.then(t[0]).catch(n=>(n instanceof as?t[2]:t[1])(n)))}const Bf=new Rf;function Vf(e){return Rt(t=>{e({onSuccess:n=>t.onSuccess(cg(n)),onError:n=>t.onSuccess(fg(n)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function Ff(e){return Rt(t=>e([t.onSuccess,t.onError,t.onCancel]))}function gg(e){return dg(()=>$g(Promise.all(Array.from(e,t=>yg(t)))))}function $i(e){return Rt(t=>{let n;const r=setTimeout(()=>{t.cancelToken.removeListener(n),t.onSuccess(void 0)},e);n=t.cancelToken.addListener(()=>{clearTimeout(r),t.onCancel(new as)})})}function wg(e,t){return Wf(e,t)}function fa(e,t){return wg(e,t)}function Wf(e,t,n,r,s){typeof t!="function"&&(s=t,t=void 0);const i=new la;e({onSuccess:t||ca,onError:n||ca,onCancel:r||ca,cancelToken:s||Bf,trampoline:i})}function yg(e,t){return new Promise((n,r)=>Wf(e,n,r,r,Bf))}class jf extends F{constructor(t,n,r){super(),this.instanceId=t|0,this.name=n,this.type=r}}function _g(e){return new jf(mr(e.Id),e.Configuration.Name,hf(e.Configuration.Id))}function vg(e,t){const n={};return n.type="contentResized",n.sender="flare",n.height=e,n.width=t,n}function bg(e,t,n,r){const s={};return s.type="workflowSubmitSuccess",s.sender="flare",s.workflow=new jf(mr(e),t,hf(n)),s.profileId=jc(r),s}function Cg(e,t,n,r){const s={};return s.type="stepSubmitSuccess",s.sender="flare",s.workflow=_g(n),s.profileId=jc(r),s.step={name:t,type:fi(e)},s}function Sg(){const e={};return e.type="appReady",e.sender="flare",e}function gi(e){yf()||window.parent.postMessage(e,"*")}function kg(e,t){fa(A.Delay(()=>A.Bind($i(e),()=>(t(),A.Zero()))))}function da(){gi(vg(document.body.offsetHeight,-1))}function xg(){(window.ResizeObserver?new window.ResizeObserver(()=>{da()}):new Nf(()=>{da()})).observe(document.body)}function Ig(e,t,n){const r=R$(e,t);r.tag===1||gi(Cg(e,r.fields[0].DisplayName,t,n))}function ha(e,t,n,r){gi(bg(e,t,n,r))}function un(e){yf()&&kg(e,()=>{B$(),gi(Sg()),da()})}/*!
4
+ * Font Awesome Free 6.1.2 by @fontawesome - https://fontawesome.com
5
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
6
+ * Copyright 2022 Fonticons, Inc.
7
+ */function Uf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Uf(Object(n),!0).forEach(function(r){Pg(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function wi(e){"@babel/helpers - typeof";return wi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wi(e)}function Ag(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eg(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tg(e,t,n){return t&&Eg(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Pg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ma(e,t){return Og(e)||Ng(e,t)||zf(e,t)||Lg()}function yi(e){return Mg(e)||Dg(e)||zf(e)||Rg()}function Mg(e){if(Array.isArray(e))return pa(e)}function Og(e){if(Array.isArray(e))return e}function Dg(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ng(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],s=!0,i=!1,o,a;try{for(n=n.call(e);!(s=(o=n.next()).done)&&(r.push(o.value),!(t&&r.length===t));s=!0);}catch(l){i=!0,a=l}finally{try{!s&&n.return!=null&&n.return()}finally{if(i)throw a}}return r}}function zf(e,t){if(e){if(typeof e=="string")return pa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pa(e,t)}}function pa(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Rg(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
8
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Lg(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
9
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Hf=function(){},$a={},Gf={},qf=null,Yf={mark:Hf,measure:Hf};try{typeof window<"u"&&($a=window),typeof document<"u"&&(Gf=document),typeof MutationObserver<"u"&&(qf=MutationObserver),typeof performance<"u"&&(Yf=performance)}catch{}var Bg=$a.navigator||{},Jf=Bg.userAgent,Zf=Jf===void 0?"":Jf,cn=$a,_e=Gf,Xf=qf,_i=Yf;cn.document;var Gt=!!_e.documentElement&&!!_e.head&&typeof _e.addEventListener=="function"&&typeof _e.createElement=="function",Kf=~Zf.indexOf("MSIE")||~Zf.indexOf("Trident/"),qt="___FONT_AWESOME___",ga=16,Qf="fa",ed="svg-inline--fa",Dn="data-fa-i2svg",wa="data-fa-pseudo-element",Vg="data-fa-pseudo-element-pending",ya="data-prefix",_a="data-icon",td="fontawesome-i2svg",Fg="async",Wg=["HTML","HEAD","STYLE","SCRIPT"],nd=function(){try{return!0}catch{return!1}}(),va={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"},vi={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},rd={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},jg={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},Ug=/fa[srltdbk]?[\-\ ]/,sd="fa-layers-text",zg=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,Hg={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},id=[1,2,3,4,5,6,7,8,9,10],Gg=id.concat([11,12,13,14,15,16,17,18,19,20]),qg=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Nn={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Yg=[].concat(yi(Object.keys(vi)),["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",Nn.GROUP,Nn.SWAP_OPACITY,Nn.PRIMARY,Nn.SECONDARY]).concat(id.map(function(e){return"".concat(e,"x")})).concat(Gg.map(function(e){return"w-".concat(e)})),od=cn.FontAwesomeConfig||{};function Jg(e){var t=_e.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function Zg(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(_e&&typeof _e.querySelector=="function"){var Xg=[["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"]];Xg.forEach(function(e){var t=ma(e,2),n=t[0],r=t[1],s=Zg(Jg(n));s!=null&&(od[r]=s)})}var Kg={familyPrefix:Qf,styleDefault:"solid",replacementClass:ed,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},ls=D(D({},Kg),od);ls.autoReplaceSvg||(ls.observeMutations=!1);var j={};Object.keys(ls).forEach(function(e){Object.defineProperty(j,e,{enumerable:!0,set:function(n){ls[e]=n,bi.forEach(function(r){return r(j)})},get:function(){return ls[e]}})}),cn.FontAwesomeConfig=j;var bi=[];function Qg(e){return bi.push(e),function(){bi.splice(bi.indexOf(e),1)}}var fn=ga,Lt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function ew(e){if(!(!e||!Gt)){var t=_e.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=_e.head.childNodes,r=null,s=n.length-1;s>-1;s--){var i=n[s],o=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=i)}return _e.head.insertBefore(t,r),e}}var tw="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function us(){for(var e=12,t="";e-- >0;)t+=tw[Math.random()*62|0];return t}function gr(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function ba(e){return e.classList?gr(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function ad(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function nw(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(ad(e[n]),'" ')},"").trim()}function Ci(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function Ca(e){return e.size!==Lt.size||e.x!==Lt.x||e.y!==Lt.y||e.rotate!==Lt.rotate||e.flipX||e.flipY}function rw(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,s={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(t.x*32,", ").concat(t.y*32,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(i," ").concat(o," ").concat(a)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:s,inner:l,path:u}}function sw(e){var t=e.transform,n=e.width,r=n===void 0?ga:n,s=e.height,i=s===void 0?ga:s,o=e.startCentered,a=o===void 0?!1:o,l="";return a&&Kf?l+="translate(".concat(t.x/fn-r/2,"em, ").concat(t.y/fn-i/2,"em) "):a?l+="translate(calc(-50% + ".concat(t.x/fn,"em), calc(-50% + ").concat(t.y/fn,"em)) "):l+="translate(".concat(t.x/fn,"em, ").concat(t.y/fn,"em) "),l+="scale(".concat(t.size/fn*(t.flipX?-1:1),", ").concat(t.size/fn*(t.flipY?-1:1),") "),l+="rotate(".concat(t.rotate,"deg) "),l}var iw=`:root, :host {
10
+ --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
11
+ --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
12
+ --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
13
+ --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";
14
+ --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
15
+ --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
16
+ }
17
+
18
+ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
19
+ overflow: visible;
20
+ box-sizing: content-box;
21
+ }
22
+
23
+ .svg-inline--fa {
24
+ display: var(--fa-display, inline-block);
25
+ height: 1em;
26
+ overflow: visible;
27
+ vertical-align: -0.125em;
28
+ }
29
+ .svg-inline--fa.fa-2xs {
30
+ vertical-align: 0.1em;
31
+ }
32
+ .svg-inline--fa.fa-xs {
33
+ vertical-align: 0em;
34
+ }
35
+ .svg-inline--fa.fa-sm {
36
+ vertical-align: -0.0714285705em;
37
+ }
38
+ .svg-inline--fa.fa-lg {
39
+ vertical-align: -0.2em;
40
+ }
41
+ .svg-inline--fa.fa-xl {
42
+ vertical-align: -0.25em;
43
+ }
44
+ .svg-inline--fa.fa-2xl {
45
+ vertical-align: -0.3125em;
46
+ }
47
+ .svg-inline--fa.fa-pull-left {
48
+ margin-right: var(--fa-pull-margin, 0.3em);
49
+ width: auto;
50
+ }
51
+ .svg-inline--fa.fa-pull-right {
52
+ margin-left: var(--fa-pull-margin, 0.3em);
53
+ width: auto;
54
+ }
55
+ .svg-inline--fa.fa-li {
56
+ width: var(--fa-li-width, 2em);
57
+ top: 0.25em;
58
+ }
59
+ .svg-inline--fa.fa-fw {
60
+ width: var(--fa-fw-width, 1.25em);
61
+ }
62
+
63
+ .fa-layers svg.svg-inline--fa {
64
+ bottom: 0;
65
+ left: 0;
66
+ margin: auto;
67
+ position: absolute;
68
+ right: 0;
69
+ top: 0;
70
+ }
71
+
72
+ .fa-layers-counter, .fa-layers-text {
73
+ display: inline-block;
74
+ position: absolute;
75
+ text-align: center;
76
+ }
77
+
78
+ .fa-layers {
79
+ display: inline-block;
80
+ height: 1em;
81
+ position: relative;
82
+ text-align: center;
83
+ vertical-align: -0.125em;
84
+ width: 1em;
85
+ }
86
+ .fa-layers svg.svg-inline--fa {
87
+ -webkit-transform-origin: center center;
88
+ transform-origin: center center;
89
+ }
90
+
91
+ .fa-layers-text {
92
+ left: 50%;
93
+ top: 50%;
94
+ -webkit-transform: translate(-50%, -50%);
95
+ transform: translate(-50%, -50%);
96
+ -webkit-transform-origin: center center;
97
+ transform-origin: center center;
98
+ }
99
+
100
+ .fa-layers-counter {
101
+ background-color: var(--fa-counter-background-color, #ff253a);
102
+ border-radius: var(--fa-counter-border-radius, 1em);
103
+ box-sizing: border-box;
104
+ color: var(--fa-inverse, #fff);
105
+ line-height: var(--fa-counter-line-height, 1);
106
+ max-width: var(--fa-counter-max-width, 5em);
107
+ min-width: var(--fa-counter-min-width, 1.5em);
108
+ overflow: hidden;
109
+ padding: var(--fa-counter-padding, 0.25em 0.5em);
110
+ right: var(--fa-right, 0);
111
+ text-overflow: ellipsis;
112
+ top: var(--fa-top, 0);
113
+ -webkit-transform: scale(var(--fa-counter-scale, 0.25));
114
+ transform: scale(var(--fa-counter-scale, 0.25));
115
+ -webkit-transform-origin: top right;
116
+ transform-origin: top right;
117
+ }
118
+
119
+ .fa-layers-bottom-right {
120
+ bottom: var(--fa-bottom, 0);
121
+ right: var(--fa-right, 0);
122
+ top: auto;
123
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
124
+ transform: scale(var(--fa-layers-scale, 0.25));
125
+ -webkit-transform-origin: bottom right;
126
+ transform-origin: bottom right;
127
+ }
128
+
129
+ .fa-layers-bottom-left {
130
+ bottom: var(--fa-bottom, 0);
131
+ left: var(--fa-left, 0);
132
+ right: auto;
133
+ top: auto;
134
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
135
+ transform: scale(var(--fa-layers-scale, 0.25));
136
+ -webkit-transform-origin: bottom left;
137
+ transform-origin: bottom left;
138
+ }
139
+
140
+ .fa-layers-top-right {
141
+ top: var(--fa-top, 0);
142
+ right: var(--fa-right, 0);
143
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
144
+ transform: scale(var(--fa-layers-scale, 0.25));
145
+ -webkit-transform-origin: top right;
146
+ transform-origin: top right;
147
+ }
148
+
149
+ .fa-layers-top-left {
150
+ left: var(--fa-left, 0);
151
+ right: auto;
152
+ top: var(--fa-top, 0);
153
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
154
+ transform: scale(var(--fa-layers-scale, 0.25));
155
+ -webkit-transform-origin: top left;
156
+ transform-origin: top left;
157
+ }
158
+
159
+ .fa-1x {
160
+ font-size: 1em;
161
+ }
162
+
163
+ .fa-2x {
164
+ font-size: 2em;
165
+ }
166
+
167
+ .fa-3x {
168
+ font-size: 3em;
169
+ }
170
+
171
+ .fa-4x {
172
+ font-size: 4em;
173
+ }
174
+
175
+ .fa-5x {
176
+ font-size: 5em;
177
+ }
178
+
179
+ .fa-6x {
180
+ font-size: 6em;
181
+ }
182
+
183
+ .fa-7x {
184
+ font-size: 7em;
185
+ }
186
+
187
+ .fa-8x {
188
+ font-size: 8em;
189
+ }
190
+
191
+ .fa-9x {
192
+ font-size: 9em;
193
+ }
194
+
195
+ .fa-10x {
196
+ font-size: 10em;
197
+ }
198
+
199
+ .fa-2xs {
200
+ font-size: 0.625em;
201
+ line-height: 0.1em;
202
+ vertical-align: 0.225em;
203
+ }
204
+
205
+ .fa-xs {
206
+ font-size: 0.75em;
207
+ line-height: 0.0833333337em;
208
+ vertical-align: 0.125em;
209
+ }
210
+
211
+ .fa-sm {
212
+ font-size: 0.875em;
213
+ line-height: 0.0714285718em;
214
+ vertical-align: 0.0535714295em;
215
+ }
216
+
217
+ .fa-lg {
218
+ font-size: 1.25em;
219
+ line-height: 0.05em;
220
+ vertical-align: -0.075em;
221
+ }
222
+
223
+ .fa-xl {
224
+ font-size: 1.5em;
225
+ line-height: 0.0416666682em;
226
+ vertical-align: -0.125em;
227
+ }
228
+
229
+ .fa-2xl {
230
+ font-size: 2em;
231
+ line-height: 0.03125em;
232
+ vertical-align: -0.1875em;
233
+ }
234
+
235
+ .fa-fw {
236
+ text-align: center;
237
+ width: 1.25em;
238
+ }
239
+
240
+ .fa-ul {
241
+ list-style-type: none;
242
+ margin-left: var(--fa-li-margin, 2.5em);
243
+ padding-left: 0;
244
+ }
245
+ .fa-ul > li {
246
+ position: relative;
247
+ }
248
+
249
+ .fa-li {
250
+ left: calc(var(--fa-li-width, 2em) * -1);
251
+ position: absolute;
252
+ text-align: center;
253
+ width: var(--fa-li-width, 2em);
254
+ line-height: inherit;
255
+ }
256
+
257
+ .fa-border {
258
+ border-color: var(--fa-border-color, #eee);
259
+ border-radius: var(--fa-border-radius, 0.1em);
260
+ border-style: var(--fa-border-style, solid);
261
+ border-width: var(--fa-border-width, 0.08em);
262
+ padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
263
+ }
264
+
265
+ .fa-pull-left {
266
+ float: left;
267
+ margin-right: var(--fa-pull-margin, 0.3em);
268
+ }
269
+
270
+ .fa-pull-right {
271
+ float: right;
272
+ margin-left: var(--fa-pull-margin, 0.3em);
273
+ }
274
+
275
+ .fa-beat {
276
+ -webkit-animation-name: fa-beat;
277
+ animation-name: fa-beat;
278
+ -webkit-animation-delay: var(--fa-animation-delay, 0);
279
+ animation-delay: var(--fa-animation-delay, 0);
280
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
281
+ animation-direction: var(--fa-animation-direction, normal);
282
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
283
+ animation-duration: var(--fa-animation-duration, 1s);
284
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
285
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
286
+ -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
287
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
288
+ }
289
+
290
+ .fa-bounce {
291
+ -webkit-animation-name: fa-bounce;
292
+ animation-name: fa-bounce;
293
+ -webkit-animation-delay: var(--fa-animation-delay, 0);
294
+ animation-delay: var(--fa-animation-delay, 0);
295
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
296
+ animation-direction: var(--fa-animation-direction, normal);
297
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
298
+ animation-duration: var(--fa-animation-duration, 1s);
299
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
300
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
301
+ -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
302
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
303
+ }
304
+
305
+ .fa-fade {
306
+ -webkit-animation-name: fa-fade;
307
+ animation-name: fa-fade;
308
+ -webkit-animation-delay: var(--fa-animation-delay, 0);
309
+ animation-delay: var(--fa-animation-delay, 0);
310
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
311
+ animation-direction: var(--fa-animation-direction, normal);
312
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
313
+ animation-duration: var(--fa-animation-duration, 1s);
314
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
315
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
316
+ -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
317
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
318
+ }
319
+
320
+ .fa-beat-fade {
321
+ -webkit-animation-name: fa-beat-fade;
322
+ animation-name: fa-beat-fade;
323
+ -webkit-animation-delay: var(--fa-animation-delay, 0);
324
+ animation-delay: var(--fa-animation-delay, 0);
325
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
326
+ animation-direction: var(--fa-animation-direction, normal);
327
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
328
+ animation-duration: var(--fa-animation-duration, 1s);
329
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
330
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
331
+ -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
332
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
333
+ }
334
+
335
+ .fa-flip {
336
+ -webkit-animation-name: fa-flip;
337
+ animation-name: fa-flip;
338
+ -webkit-animation-delay: var(--fa-animation-delay, 0);
339
+ animation-delay: var(--fa-animation-delay, 0);
340
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
341
+ animation-direction: var(--fa-animation-direction, normal);
342
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
343
+ animation-duration: var(--fa-animation-duration, 1s);
344
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
345
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
346
+ -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
347
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
348
+ }
349
+
350
+ .fa-shake {
351
+ -webkit-animation-name: fa-shake;
352
+ animation-name: fa-shake;
353
+ -webkit-animation-delay: var(--fa-animation-delay, 0);
354
+ animation-delay: var(--fa-animation-delay, 0);
355
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
356
+ animation-direction: var(--fa-animation-direction, normal);
357
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
358
+ animation-duration: var(--fa-animation-duration, 1s);
359
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
360
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
361
+ -webkit-animation-timing-function: var(--fa-animation-timing, linear);
362
+ animation-timing-function: var(--fa-animation-timing, linear);
363
+ }
364
+
365
+ .fa-spin {
366
+ -webkit-animation-name: fa-spin;
367
+ animation-name: fa-spin;
368
+ -webkit-animation-delay: var(--fa-animation-delay, 0);
369
+ animation-delay: var(--fa-animation-delay, 0);
370
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
371
+ animation-direction: var(--fa-animation-direction, normal);
372
+ -webkit-animation-duration: var(--fa-animation-duration, 2s);
373
+ animation-duration: var(--fa-animation-duration, 2s);
374
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
375
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
376
+ -webkit-animation-timing-function: var(--fa-animation-timing, linear);
377
+ animation-timing-function: var(--fa-animation-timing, linear);
378
+ }
379
+
380
+ .fa-spin-reverse {
381
+ --fa-animation-direction: reverse;
382
+ }
383
+
384
+ .fa-pulse,
385
+ .fa-spin-pulse {
386
+ -webkit-animation-name: fa-spin;
387
+ animation-name: fa-spin;
388
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
389
+ animation-direction: var(--fa-animation-direction, normal);
390
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
391
+ animation-duration: var(--fa-animation-duration, 1s);
392
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
393
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
394
+ -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
395
+ animation-timing-function: var(--fa-animation-timing, steps(8));
396
+ }
397
+
398
+ @media (prefers-reduced-motion: reduce) {
399
+ .fa-beat,
400
+ .fa-bounce,
401
+ .fa-fade,
402
+ .fa-beat-fade,
403
+ .fa-flip,
404
+ .fa-pulse,
405
+ .fa-shake,
406
+ .fa-spin,
407
+ .fa-spin-pulse {
408
+ -webkit-animation-delay: -1ms;
409
+ animation-delay: -1ms;
410
+ -webkit-animation-duration: 1ms;
411
+ animation-duration: 1ms;
412
+ -webkit-animation-iteration-count: 1;
413
+ animation-iteration-count: 1;
414
+ transition-delay: 0s;
415
+ transition-duration: 0s;
416
+ }
417
+ }
418
+ @-webkit-keyframes fa-beat {
419
+ 0%, 90% {
420
+ -webkit-transform: scale(1);
421
+ transform: scale(1);
422
+ }
423
+ 45% {
424
+ -webkit-transform: scale(var(--fa-beat-scale, 1.25));
425
+ transform: scale(var(--fa-beat-scale, 1.25));
426
+ }
427
+ }
428
+ @keyframes fa-beat {
429
+ 0%, 90% {
430
+ -webkit-transform: scale(1);
431
+ transform: scale(1);
432
+ }
433
+ 45% {
434
+ -webkit-transform: scale(var(--fa-beat-scale, 1.25));
435
+ transform: scale(var(--fa-beat-scale, 1.25));
436
+ }
437
+ }
438
+ @-webkit-keyframes fa-bounce {
439
+ 0% {
440
+ -webkit-transform: scale(1, 1) translateY(0);
441
+ transform: scale(1, 1) translateY(0);
442
+ }
443
+ 10% {
444
+ -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
445
+ transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
446
+ }
447
+ 30% {
448
+ -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));
449
+ 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));
450
+ }
451
+ 50% {
452
+ -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
453
+ transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
454
+ }
455
+ 57% {
456
+ -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
457
+ transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
458
+ }
459
+ 64% {
460
+ -webkit-transform: scale(1, 1) translateY(0);
461
+ transform: scale(1, 1) translateY(0);
462
+ }
463
+ 100% {
464
+ -webkit-transform: scale(1, 1) translateY(0);
465
+ transform: scale(1, 1) translateY(0);
466
+ }
467
+ }
468
+ @keyframes fa-bounce {
469
+ 0% {
470
+ -webkit-transform: scale(1, 1) translateY(0);
471
+ transform: scale(1, 1) translateY(0);
472
+ }
473
+ 10% {
474
+ -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
475
+ transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
476
+ }
477
+ 30% {
478
+ -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));
479
+ 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));
480
+ }
481
+ 50% {
482
+ -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
483
+ transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
484
+ }
485
+ 57% {
486
+ -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
487
+ transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
488
+ }
489
+ 64% {
490
+ -webkit-transform: scale(1, 1) translateY(0);
491
+ transform: scale(1, 1) translateY(0);
492
+ }
493
+ 100% {
494
+ -webkit-transform: scale(1, 1) translateY(0);
495
+ transform: scale(1, 1) translateY(0);
496
+ }
497
+ }
498
+ @-webkit-keyframes fa-fade {
499
+ 50% {
500
+ opacity: var(--fa-fade-opacity, 0.4);
501
+ }
502
+ }
503
+ @keyframes fa-fade {
504
+ 50% {
505
+ opacity: var(--fa-fade-opacity, 0.4);
506
+ }
507
+ }
508
+ @-webkit-keyframes fa-beat-fade {
509
+ 0%, 100% {
510
+ opacity: var(--fa-beat-fade-opacity, 0.4);
511
+ -webkit-transform: scale(1);
512
+ transform: scale(1);
513
+ }
514
+ 50% {
515
+ opacity: 1;
516
+ -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
517
+ transform: scale(var(--fa-beat-fade-scale, 1.125));
518
+ }
519
+ }
520
+ @keyframes fa-beat-fade {
521
+ 0%, 100% {
522
+ opacity: var(--fa-beat-fade-opacity, 0.4);
523
+ -webkit-transform: scale(1);
524
+ transform: scale(1);
525
+ }
526
+ 50% {
527
+ opacity: 1;
528
+ -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
529
+ transform: scale(var(--fa-beat-fade-scale, 1.125));
530
+ }
531
+ }
532
+ @-webkit-keyframes fa-flip {
533
+ 50% {
534
+ -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
535
+ transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
536
+ }
537
+ }
538
+ @keyframes fa-flip {
539
+ 50% {
540
+ -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
541
+ transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
542
+ }
543
+ }
544
+ @-webkit-keyframes fa-shake {
545
+ 0% {
546
+ -webkit-transform: rotate(-15deg);
547
+ transform: rotate(-15deg);
548
+ }
549
+ 4% {
550
+ -webkit-transform: rotate(15deg);
551
+ transform: rotate(15deg);
552
+ }
553
+ 8%, 24% {
554
+ -webkit-transform: rotate(-18deg);
555
+ transform: rotate(-18deg);
556
+ }
557
+ 12%, 28% {
558
+ -webkit-transform: rotate(18deg);
559
+ transform: rotate(18deg);
560
+ }
561
+ 16% {
562
+ -webkit-transform: rotate(-22deg);
563
+ transform: rotate(-22deg);
564
+ }
565
+ 20% {
566
+ -webkit-transform: rotate(22deg);
567
+ transform: rotate(22deg);
568
+ }
569
+ 32% {
570
+ -webkit-transform: rotate(-12deg);
571
+ transform: rotate(-12deg);
572
+ }
573
+ 36% {
574
+ -webkit-transform: rotate(12deg);
575
+ transform: rotate(12deg);
576
+ }
577
+ 40%, 100% {
578
+ -webkit-transform: rotate(0deg);
579
+ transform: rotate(0deg);
580
+ }
581
+ }
582
+ @keyframes fa-shake {
583
+ 0% {
584
+ -webkit-transform: rotate(-15deg);
585
+ transform: rotate(-15deg);
586
+ }
587
+ 4% {
588
+ -webkit-transform: rotate(15deg);
589
+ transform: rotate(15deg);
590
+ }
591
+ 8%, 24% {
592
+ -webkit-transform: rotate(-18deg);
593
+ transform: rotate(-18deg);
594
+ }
595
+ 12%, 28% {
596
+ -webkit-transform: rotate(18deg);
597
+ transform: rotate(18deg);
598
+ }
599
+ 16% {
600
+ -webkit-transform: rotate(-22deg);
601
+ transform: rotate(-22deg);
602
+ }
603
+ 20% {
604
+ -webkit-transform: rotate(22deg);
605
+ transform: rotate(22deg);
606
+ }
607
+ 32% {
608
+ -webkit-transform: rotate(-12deg);
609
+ transform: rotate(-12deg);
610
+ }
611
+ 36% {
612
+ -webkit-transform: rotate(12deg);
613
+ transform: rotate(12deg);
614
+ }
615
+ 40%, 100% {
616
+ -webkit-transform: rotate(0deg);
617
+ transform: rotate(0deg);
618
+ }
619
+ }
620
+ @-webkit-keyframes fa-spin {
621
+ 0% {
622
+ -webkit-transform: rotate(0deg);
623
+ transform: rotate(0deg);
624
+ }
625
+ 100% {
626
+ -webkit-transform: rotate(360deg);
627
+ transform: rotate(360deg);
628
+ }
629
+ }
630
+ @keyframes fa-spin {
631
+ 0% {
632
+ -webkit-transform: rotate(0deg);
633
+ transform: rotate(0deg);
634
+ }
635
+ 100% {
636
+ -webkit-transform: rotate(360deg);
637
+ transform: rotate(360deg);
638
+ }
639
+ }
640
+ .fa-rotate-90 {
641
+ -webkit-transform: rotate(90deg);
642
+ transform: rotate(90deg);
643
+ }
644
+
645
+ .fa-rotate-180 {
646
+ -webkit-transform: rotate(180deg);
647
+ transform: rotate(180deg);
648
+ }
649
+
650
+ .fa-rotate-270 {
651
+ -webkit-transform: rotate(270deg);
652
+ transform: rotate(270deg);
653
+ }
654
+
655
+ .fa-flip-horizontal {
656
+ -webkit-transform: scale(-1, 1);
657
+ transform: scale(-1, 1);
658
+ }
659
+
660
+ .fa-flip-vertical {
661
+ -webkit-transform: scale(1, -1);
662
+ transform: scale(1, -1);
663
+ }
664
+
665
+ .fa-flip-both,
666
+ .fa-flip-horizontal.fa-flip-vertical {
667
+ -webkit-transform: scale(-1, -1);
668
+ transform: scale(-1, -1);
669
+ }
670
+
671
+ .fa-rotate-by {
672
+ -webkit-transform: rotate(var(--fa-rotate-angle, none));
673
+ transform: rotate(var(--fa-rotate-angle, none));
674
+ }
675
+
676
+ .fa-stack {
677
+ display: inline-block;
678
+ vertical-align: middle;
679
+ height: 2em;
680
+ position: relative;
681
+ width: 2.5em;
682
+ }
683
+
684
+ .fa-stack-1x,
685
+ .fa-stack-2x {
686
+ bottom: 0;
687
+ left: 0;
688
+ margin: auto;
689
+ position: absolute;
690
+ right: 0;
691
+ top: 0;
692
+ z-index: var(--fa-stack-z-index, auto);
693
+ }
694
+
695
+ .svg-inline--fa.fa-stack-1x {
696
+ height: 1em;
697
+ width: 1.25em;
698
+ }
699
+ .svg-inline--fa.fa-stack-2x {
700
+ height: 2em;
701
+ width: 2.5em;
702
+ }
703
+
704
+ .fa-inverse {
705
+ color: var(--fa-inverse, #fff);
706
+ }
707
+
708
+ .sr-only,
709
+ .fa-sr-only {
710
+ position: absolute;
711
+ width: 1px;
712
+ height: 1px;
713
+ padding: 0;
714
+ margin: -1px;
715
+ overflow: hidden;
716
+ clip: rect(0, 0, 0, 0);
717
+ white-space: nowrap;
718
+ border-width: 0;
719
+ }
720
+
721
+ .sr-only-focusable:not(:focus),
722
+ .fa-sr-only-focusable:not(:focus) {
723
+ position: absolute;
724
+ width: 1px;
725
+ height: 1px;
726
+ padding: 0;
727
+ margin: -1px;
728
+ overflow: hidden;
729
+ clip: rect(0, 0, 0, 0);
730
+ white-space: nowrap;
731
+ border-width: 0;
732
+ }
733
+
734
+ .svg-inline--fa .fa-primary {
735
+ fill: var(--fa-primary-color, currentColor);
736
+ opacity: var(--fa-primary-opacity, 1);
737
+ }
738
+
739
+ .svg-inline--fa .fa-secondary {
740
+ fill: var(--fa-secondary-color, currentColor);
741
+ opacity: var(--fa-secondary-opacity, 0.4);
742
+ }
743
+
744
+ .svg-inline--fa.fa-swap-opacity .fa-primary {
745
+ opacity: var(--fa-secondary-opacity, 0.4);
746
+ }
747
+
748
+ .svg-inline--fa.fa-swap-opacity .fa-secondary {
749
+ opacity: var(--fa-primary-opacity, 1);
750
+ }
751
+
752
+ .svg-inline--fa mask .fa-primary,
753
+ .svg-inline--fa mask .fa-secondary {
754
+ fill: black;
755
+ }
756
+
757
+ .fad.fa-inverse,
758
+ .fa-duotone.fa-inverse {
759
+ color: var(--fa-inverse, #fff);
760
+ }`;function ld(){var e=Qf,t=ed,n=j.familyPrefix,r=j.replacementClass,s=iw;if(n!==e||r!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),a=new RegExp("\\.".concat(t),"g");s=s.replace(i,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(a,".".concat(r))}return s}var ud=!1;function Sa(){j.autoAddCss&&!ud&&(ew(ld()),ud=!0)}var ow={mixout:function(){return{dom:{css:ld,insertCss:Sa}}},hooks:function(){return{beforeDOMElementCreation:function(){Sa()},beforeI2svg:function(){Sa()}}}},Yt=cn||{};Yt[qt]||(Yt[qt]={}),Yt[qt].styles||(Yt[qt].styles={}),Yt[qt].hooks||(Yt[qt].hooks={}),Yt[qt].shims||(Yt[qt].shims=[]);var vt=Yt[qt],cd=[],aw=function e(){_e.removeEventListener("DOMContentLoaded",e),Si=1,cd.map(function(t){return t()})},Si=!1;Gt&&(Si=(_e.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(_e.readyState),Si||_e.addEventListener("DOMContentLoaded",aw));function lw(e){Gt&&(Si?setTimeout(e,0):cd.push(e))}function cs(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,s=e.children,i=s===void 0?[]:s;return typeof e=="string"?ad(e):"<".concat(t," ").concat(nw(r),">").concat(i.map(cs).join(""),"</").concat(t,">")}function fd(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var ka=function(t,n,r,s){var i=Object.keys(t),o=i.length,a=n,l,u,f;for(r===void 0?(l=1,f=t[i[0]]):(l=0,f=r);l<o;l++)u=i[l],f=a(f,t[u],u,t);return f};function uw(e){for(var t=[],n=0,r=e.length;n<r;){var s=e.charCodeAt(n++);if(s>=55296&&s<=56319&&n<r){var i=e.charCodeAt(n++);(i&64512)==56320?t.push(((s&1023)<<10)+(i&1023)+65536):(t.push(s),n--)}else t.push(s)}return t}function xa(e){var t=uw(e);return t.length===1?t[0].toString(16):null}function cw(e,t){var n=e.length,r=e.charCodeAt(t),s;return r>=55296&&r<=56319&&n>t+1&&(s=e.charCodeAt(t+1),s>=56320&&s<=57343)?(r-55296)*1024+s-56320+65536:r}function dd(e){return Object.keys(e).reduce(function(t,n){var r=e[n],s=!!r.icon;return s?t[r.iconName]=r.icon:t[n]=r,t},{})}function Ia(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,s=r===void 0?!1:r,i=dd(t);typeof vt.hooks.addPack=="function"&&!s?vt.hooks.addPack(e,dd(t)):vt.styles[e]=D(D({},vt.styles[e]||{}),i),e==="fas"&&Ia("fa",t)}var fs=vt.styles,fw=vt.shims,dw=Object.values(rd),Aa=null,hd={},md={},pd={},$d={},gd={},hw=Object.keys(va);function mw(e){return~Yg.indexOf(e)}function pw(e,t){var n=t.split("-"),r=n[0],s=n.slice(1).join("-");return r===e&&s!==""&&!mw(s)?s:null}var wd=function(){var t=function(i){return ka(fs,function(o,a,l){return o[l]=ka(a,i,{}),o},{})};hd=t(function(s,i,o){if(i[3]&&(s[i[3]]=o),i[2]){var a=i[2].filter(function(l){return typeof l=="number"});a.forEach(function(l){s[l.toString(16)]=o})}return s}),md=t(function(s,i,o){if(s[o]=o,i[2]){var a=i[2].filter(function(l){return typeof l=="string"});a.forEach(function(l){s[l]=o})}return s}),gd=t(function(s,i,o){var a=i[2];return s[o]=o,a.forEach(function(l){s[l]=o}),s});var n="far"in fs||j.autoFetchSvg,r=ka(fw,function(s,i){var o=i[0],a=i[1],l=i[2];return a==="far"&&!n&&(a="fas"),typeof o=="string"&&(s.names[o]={prefix:a,iconName:l}),typeof o=="number"&&(s.unicodes[o.toString(16)]={prefix:a,iconName:l}),s},{names:{},unicodes:{}});pd=r.names,$d=r.unicodes,Aa=ki(j.styleDefault)};Qg(function(e){Aa=ki(e.styleDefault)}),wd();function Ea(e,t){return(hd[e]||{})[t]}function $w(e,t){return(md[e]||{})[t]}function wr(e,t){return(gd[e]||{})[t]}function yd(e){return pd[e]||{prefix:null,iconName:null}}function gw(e){var t=$d[e],n=Ea("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function dn(){return Aa}var Ta=function(){return{prefix:null,iconName:null,rest:[]}};function ki(e){var t=va[e],n=vi[e]||vi[t],r=e in vt.styles?e:null;return n||r||null}function xi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.skipLookups,r=n===void 0?!1:n,s=null,i=e.reduce(function(o,a){var l=pw(j.familyPrefix,a);if(fs[a]?(a=dw.includes(a)?jg[a]:a,s=a,o.prefix=a):hw.indexOf(a)>-1?(s=a,o.prefix=ki(a)):l?o.iconName=l:a!==j.replacementClass&&o.rest.push(a),!r&&o.prefix&&o.iconName){var u=s==="fa"?yd(o.iconName):{},f=wr(o.prefix,o.iconName);u.prefix&&(s=null),o.iconName=u.iconName||f||o.iconName,o.prefix=u.prefix||o.prefix,o.prefix==="far"&&!fs.far&&fs.fas&&!j.autoFetchSvg&&(o.prefix="fas")}return o},Ta());return(i.prefix==="fa"||s==="fa")&&(i.prefix=dn()||"fas"),i}var ww=function(){function e(){Ag(this,e),this.definitions={}}return Tg(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,s=new Array(r),i=0;i<r;i++)s[i]=arguments[i];var o=s.reduce(this._pullDefinitions,{});Object.keys(o).forEach(function(a){n.definitions[a]=D(D({},n.definitions[a]||{}),o[a]),Ia(a,o[a]);var l=rd[a];l&&Ia(l,o[a]),wd()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,r){var s=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(s).map(function(i){var o=s[i],a=o.prefix,l=o.iconName,u=o.icon,f=u[2];n[a]||(n[a]={}),f.length>0&&f.forEach(function(c){typeof c=="string"&&(n[a][c]=u)}),n[a][l]=u}),n}}]),e}(),_d=[],yr={},_r={},yw=Object.keys(_r);function _w(e,t){var n=t.mixoutsTo;return _d=e,yr={},Object.keys(_r).forEach(function(r){yw.indexOf(r)===-1&&delete _r[r]}),_d.forEach(function(r){var s=r.mixout?r.mixout():{};if(Object.keys(s).forEach(function(o){typeof s[o]=="function"&&(n[o]=s[o]),wi(s[o])==="object"&&Object.keys(s[o]).forEach(function(a){n[o]||(n[o]={}),n[o][a]=s[o][a]})}),r.hooks){var i=r.hooks();Object.keys(i).forEach(function(o){yr[o]||(yr[o]=[]),yr[o].push(i[o])})}r.provides&&r.provides(_r)}),n}function Pa(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),s=2;s<n;s++)r[s-2]=arguments[s];var i=yr[e]||[];return i.forEach(function(o){t=o.apply(null,[t].concat(r))}),t}function Rn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var s=yr[e]||[];s.forEach(function(i){i.apply(null,n)})}function Jt(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return _r[e]?_r[e].apply(null,t):void 0}function Ma(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||dn();if(t)return t=wr(n,t)||t,fd(vd.definitions,n,t)||fd(vt.styles,n,t)}var vd=new ww,vw=function(){j.autoReplaceSvg=!1,j.observeMutations=!1,Rn("noAuto")},bw={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Gt?(Rn("beforeI2svg",t),Jt("pseudoElements2svg",t),Jt("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;j.autoReplaceSvg===!1&&(j.autoReplaceSvg=!0),j.observeMutations=!0,lw(function(){Sw({autoReplaceSvgRoot:n}),Rn("watch",t)})}},Cw={icon:function(t){if(t===null)return null;if(wi(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:wr(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=ki(t[0]);return{prefix:r,iconName:wr(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(j.familyPrefix,"-"))>-1||t.match(Ug))){var s=xi(t.split(" "),{skipLookups:!0});return{prefix:s.prefix||dn(),iconName:wr(s.prefix,s.iconName)||s.iconName}}if(typeof t=="string"){var i=dn();return{prefix:i,iconName:wr(i,t)||t}}}},rt={noAuto:vw,config:j,dom:bw,parse:Cw,library:vd,findIconDefinition:Ma,toHtml:cs},Sw=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?_e:n;(Object.keys(vt.styles).length>0||j.autoFetchSvg)&&Gt&&j.autoReplaceSvg&&rt.dom.i2svg({node:r})};function Ii(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return cs(r)})}}),Object.defineProperty(e,"node",{get:function(){if(Gt){var r=_e.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function kw(e){var t=e.children,n=e.main,r=e.mask,s=e.attributes,i=e.styles,o=e.transform;if(Ca(o)&&n.found&&!r.found){var a=n.width,l=n.height,u={x:a/l/2,y:.5};s.style=Ci(D(D({},i),{},{"transform-origin":"".concat(u.x+o.x/16,"em ").concat(u.y+o.y/16,"em")}))}return[{tag:"svg",attributes:s,children:t}]}function xw(e){var t=e.prefix,n=e.iconName,r=e.children,s=e.attributes,i=e.symbol,o=i===!0?"".concat(t,"-").concat(j.familyPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:D(D({},s),{},{id:o}),children:r}]}]}function Oa(e){var t=e.icons,n=t.main,r=t.mask,s=e.prefix,i=e.iconName,o=e.transform,a=e.symbol,l=e.title,u=e.maskId,f=e.titleId,c=e.extra,p=e.watchable,m=p===void 0?!1:p,$=r.found?r:n,g=$.width,w=$.height,v=s==="fak",S=[j.replacementClass,i?"".concat(j.familyPrefix,"-").concat(i):""].filter(function(R){return c.classes.indexOf(R)===-1}).filter(function(R){return R!==""||!!R}).concat(c.classes).join(" "),N={children:[],attributes:D(D({},c.attributes),{},{"data-prefix":s,"data-icon":i,class:S,role:c.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(w)})},Q=v&&!~c.classes.indexOf("fa-fw")?{width:"".concat(g/w*16*.0625,"em")}:{};m&&(N.attributes[Dn]=""),l&&(N.children.push({tag:"title",attributes:{id:N.attributes["aria-labelledby"]||"title-".concat(f||us())},children:[l]}),delete N.attributes.title);var Z=D(D({},N),{},{prefix:s,iconName:i,main:n,mask:r,maskId:u,transform:o,symbol:a,styles:D(D({},Q),c.styles)}),Ae=r.found&&n.found?Jt("generateAbstractMask",Z)||{children:[],attributes:{}}:Jt("generateAbstractIcon",Z)||{children:[],attributes:{}},at=Ae.children,x=Ae.attributes;return Z.children=at,Z.attributes=x,a?xw(Z):kw(Z)}function bd(e){var t=e.content,n=e.width,r=e.height,s=e.transform,i=e.title,o=e.extra,a=e.watchable,l=a===void 0?!1:a,u=D(D(D({},o.attributes),i?{title:i}:{}),{},{class:o.classes.join(" ")});l&&(u[Dn]="");var f=D({},o.styles);Ca(s)&&(f.transform=sw({transform:s,startCentered:!0,width:n,height:r}),f["-webkit-transform"]=f.transform);var c=Ci(f);c.length>0&&(u.style=c);var p=[];return p.push({tag:"span",attributes:u,children:[t]}),i&&p.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),p}function Iw(e){var t=e.content,n=e.title,r=e.extra,s=D(D(D({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),i=Ci(r.styles);i.length>0&&(s.style=i);var o=[];return o.push({tag:"span",attributes:s,children:[t]}),n&&o.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),o}var Da=vt.styles;function Na(e){var t=e[0],n=e[1],r=e.slice(4),s=ma(r,1),i=s[0],o=null;return Array.isArray(i)?o={tag:"g",attributes:{class:"".concat(j.familyPrefix,"-").concat(Nn.GROUP)},children:[{tag:"path",attributes:{class:"".concat(j.familyPrefix,"-").concat(Nn.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(j.familyPrefix,"-").concat(Nn.PRIMARY),fill:"currentColor",d:i[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:n,icon:o}}var Aw={found:!1,width:512,height:512};function Ew(e,t){!nd&&!j.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Ra(e,t){var n=t;return t==="fa"&&j.styleDefault!==null&&(t=dn()),new Promise(function(r,s){if(Jt("missingIconAbstract"),n==="fa"){var i=yd(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&Da[t]&&Da[t][e]){var o=Da[t][e];return r(Na(o))}Ew(e,t),r(D(D({},Aw),{},{icon:j.showMissingIcons&&e?Jt("missingIconAbstract")||{}:{}}))})}var Cd=function(){},La=j.measurePerformance&&_i&&_i.mark&&_i.measure?_i:{mark:Cd,measure:Cd},ds='FA "6.1.2"',Tw=function(t){return La.mark("".concat(ds," ").concat(t," begins")),function(){return Sd(t)}},Sd=function(t){La.mark("".concat(ds," ").concat(t," ends")),La.measure("".concat(ds," ").concat(t),"".concat(ds," ").concat(t," begins"),"".concat(ds," ").concat(t," ends"))},Ba={begin:Tw,end:Sd},Ai=function(){};function kd(e){var t=e.getAttribute?e.getAttribute(Dn):null;return typeof t=="string"}function Pw(e){var t=e.getAttribute?e.getAttribute(ya):null,n=e.getAttribute?e.getAttribute(_a):null;return t&&n}function Mw(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(j.replacementClass)}function Ow(){if(j.autoReplaceSvg===!0)return Ei.replace;var e=Ei[j.autoReplaceSvg];return e||Ei.replace}function Dw(e){return _e.createElementNS("http://www.w3.org/2000/svg",e)}function Nw(e){return _e.createElement(e)}function xd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?Dw:Nw:n;if(typeof e=="string")return _e.createTextNode(e);var s=r(e.tag);Object.keys(e.attributes||[]).forEach(function(o){s.setAttribute(o,e.attributes[o])});var i=e.children||[];return i.forEach(function(o){s.appendChild(xd(o,{ceFn:r}))}),s}function Rw(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Ei={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(s){n.parentNode.insertBefore(xd(s),n)}),n.getAttribute(Dn)===null&&j.keepOriginalSource){var r=_e.createComment(Rw(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~ba(n).indexOf(j.replacementClass))return Ei.replace(t);var s=new RegExp("".concat(j.familyPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var i=r[0].attributes.class.split(" ").reduce(function(a,l){return l===j.replacementClass||l.match(s)?a.toSvg.push(l):a.toNode.push(l),a},{toNode:[],toSvg:[]});r[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",i.toNode.join(" "))}var o=r.map(function(a){return cs(a)}).join(`
761
+ `);n.setAttribute(Dn,""),n.innerHTML=o}};function Id(e){e()}function Ad(e,t){var n=typeof t=="function"?t:Ai;if(e.length===0)n();else{var r=Id;j.mutateApproach===Fg&&(r=cn.requestAnimationFrame||Id),r(function(){var s=Ow(),i=Ba.begin("mutate");e.map(s),i(),n()})}}var Va=!1;function Ed(){Va=!0}function Fa(){Va=!1}var Ti=null;function Td(e){if(Xf&&j.observeMutations){var t=e.treeCallback,n=t===void 0?Ai:t,r=e.nodeCallback,s=r===void 0?Ai:r,i=e.pseudoElementsCallback,o=i===void 0?Ai:i,a=e.observeMutationsRoot,l=a===void 0?_e:a;Ti=new Xf(function(u){if(!Va){var f=dn();gr(u).forEach(function(c){if(c.type==="childList"&&c.addedNodes.length>0&&!kd(c.addedNodes[0])&&(j.searchPseudoElements&&o(c.target),n(c.target)),c.type==="attributes"&&c.target.parentNode&&j.searchPseudoElements&&o(c.target.parentNode),c.type==="attributes"&&kd(c.target)&&~qg.indexOf(c.attributeName))if(c.attributeName==="class"&&Pw(c.target)){var p=xi(ba(c.target)),m=p.prefix,$=p.iconName;c.target.setAttribute(ya,m||f),$&&c.target.setAttribute(_a,$)}else Mw(c.target)&&s(c.target)})}}),Gt&&Ti.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Lw(){Ti&&Ti.disconnect()}function Bw(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,s){var i=s.split(":"),o=i[0],a=i.slice(1);return o&&a.length>0&&(r[o]=a.join(":").trim()),r},{})),n}function Vw(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",s=xi(ba(e));return s.prefix||(s.prefix=dn()),t&&n&&(s.prefix=t,s.iconName=n),s.iconName&&s.prefix||(s.prefix&&r.length>0&&(s.iconName=$w(s.prefix,e.innerText)||Ea(s.prefix,xa(e.innerText))),!s.iconName&&j.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(s.iconName=e.firstChild.data)),s}function Fw(e){var t=gr(e.attributes).reduce(function(s,i){return s.name!=="class"&&s.name!=="style"&&(s[i.name]=i.value),s},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return j.autoA11y&&(n?t["aria-labelledby"]="".concat(j.replacementClass,"-title-").concat(r||us()):(t["aria-hidden"]="true",t.focusable="false")),t}function Ww(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Lt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Pd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=Vw(e),r=n.iconName,s=n.prefix,i=n.rest,o=Fw(e),a=Pa("parseNodeAttributes",{},e),l=t.styleParser?Bw(e):[];return D({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:s,transform:Lt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:l,attributes:o}},a)}var jw=vt.styles;function Md(e){var t=j.autoReplaceSvg==="nest"?Pd(e,{styleParser:!1}):Pd(e);return~t.extra.classes.indexOf(sd)?Jt("generateLayersText",e,t):Jt("generateSvgReplacementMutation",e,t)}function Od(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Gt)return Promise.resolve();var n=_e.documentElement.classList,r=function(c){return n.add("".concat(td,"-").concat(c))},s=function(c){return n.remove("".concat(td,"-").concat(c))},i=j.autoFetchSvg?Object.keys(va):Object.keys(jw);i.includes("fa")||i.push("fa");var o=[".".concat(sd,":not([").concat(Dn,"])")].concat(i.map(function(f){return".".concat(f,":not([").concat(Dn,"])")})).join(", ");if(o.length===0)return Promise.resolve();var a=[];try{a=gr(e.querySelectorAll(o))}catch{}if(a.length>0)r("pending"),s("complete");else return Promise.resolve();var l=Ba.begin("onTree"),u=a.reduce(function(f,c){try{var p=Md(c);p&&f.push(p)}catch(m){nd||m.name==="MissingIcon"&&console.error(m)}return f},[]);return new Promise(function(f,c){Promise.all(u).then(function(p){Ad(p,function(){r("active"),r("complete"),s("pending"),typeof t=="function"&&t(),l(),f()})}).catch(function(p){l(),c(p)})})}function Uw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Md(e).then(function(n){n&&Ad([n],t)})}function zw(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:Ma(t||{}),s=n.mask;return s&&(s=(s||{}).icon?s:Ma(s||{})),e(r,D(D({},n),{},{mask:s}))}}var Hw=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,s=r===void 0?Lt:r,i=n.symbol,o=i===void 0?!1:i,a=n.mask,l=a===void 0?null:a,u=n.maskId,f=u===void 0?null:u,c=n.title,p=c===void 0?null:c,m=n.titleId,$=m===void 0?null:m,g=n.classes,w=g===void 0?[]:g,v=n.attributes,S=v===void 0?{}:v,N=n.styles,Q=N===void 0?{}:N;if(t){var Z=t.prefix,Ae=t.iconName,at=t.icon;return Ii(D({type:"icon"},t),function(){return Rn("beforeDOMElementCreation",{iconDefinition:t,params:n}),j.autoA11y&&(p?S["aria-labelledby"]="".concat(j.replacementClass,"-title-").concat($||us()):(S["aria-hidden"]="true",S.focusable="false")),Oa({icons:{main:Na(at),mask:l?Na(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Z,iconName:Ae,transform:D(D({},Lt),s),symbol:o,title:p,maskId:f,titleId:$,extra:{attributes:S,styles:Q,classes:w}})})}},Gw={mixout:function(){return{icon:zw(Hw)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=Od,n.nodeCallback=Uw,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,s=r===void 0?_e:r,i=n.callback,o=i===void 0?function(){}:i;return Od(s,o)},t.generateSvgReplacementMutation=function(n,r){var s=r.iconName,i=r.title,o=r.titleId,a=r.prefix,l=r.transform,u=r.symbol,f=r.mask,c=r.maskId,p=r.extra;return new Promise(function(m,$){Promise.all([Ra(s,a),f.iconName?Ra(f.iconName,f.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(g){var w=ma(g,2),v=w[0],S=w[1];m([n,Oa({icons:{main:v,mask:S},prefix:a,iconName:s,transform:l,symbol:u,maskId:c,title:i,titleId:o,extra:p,watchable:!0})])}).catch($)})},t.generateAbstractIcon=function(n){var r=n.children,s=n.attributes,i=n.main,o=n.transform,a=n.styles,l=Ci(a);l.length>0&&(s.style=l);var u;return Ca(o)&&(u=Jt("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),r.push(u||i.icon),{children:r,attributes:s}}}},qw={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=r.classes,i=s===void 0?[]:s;return Ii({type:"layer"},function(){Rn("beforeDOMElementCreation",{assembler:n,params:r});var o=[];return n(function(a){Array.isArray(a)?a.map(function(l){o=o.concat(l.abstract)}):o=o.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(j.familyPrefix,"-layers")].concat(yi(i)).join(" ")},children:o}]})}}}},Yw={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=r.title,i=s===void 0?null:s,o=r.classes,a=o===void 0?[]:o,l=r.attributes,u=l===void 0?{}:l,f=r.styles,c=f===void 0?{}:f;return Ii({type:"counter",content:n},function(){return Rn("beforeDOMElementCreation",{content:n,params:r}),Iw({content:n.toString(),title:i,extra:{attributes:u,styles:c,classes:["".concat(j.familyPrefix,"-layers-counter")].concat(yi(a))}})})}}}},Jw={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=r.transform,i=s===void 0?Lt:s,o=r.title,a=o===void 0?null:o,l=r.classes,u=l===void 0?[]:l,f=r.attributes,c=f===void 0?{}:f,p=r.styles,m=p===void 0?{}:p;return Ii({type:"text",content:n},function(){return Rn("beforeDOMElementCreation",{content:n,params:r}),bd({content:n,transform:D(D({},Lt),i),title:a,extra:{attributes:c,styles:m,classes:["".concat(j.familyPrefix,"-layers-text")].concat(yi(u))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var s=r.title,i=r.transform,o=r.extra,a=null,l=null;if(Kf){var u=parseInt(getComputedStyle(n).fontSize,10),f=n.getBoundingClientRect();a=f.width/u,l=f.height/u}return j.autoA11y&&!s&&(o.attributes["aria-hidden"]="true"),Promise.resolve([n,bd({content:n.innerHTML,width:a,height:l,transform:i,title:s,extra:o,watchable:!0})])}}},Zw=new RegExp('"',"ug"),Dd=[1105920,1112319];function Xw(e){var t=e.replace(Zw,""),n=cw(t,0),r=n>=Dd[0]&&n<=Dd[1],s=t.length===2?t[0]===t[1]:!1;return{value:xa(s?t[0]:t),isSecondary:r||s}}function Nd(e,t){var n="".concat(Vg).concat(t.replace(":","-"));return new Promise(function(r,s){if(e.getAttribute(n)!==null)return r();var i=gr(e.children),o=i.filter(function(Ae){return Ae.getAttribute(wa)===t})[0],a=cn.getComputedStyle(e,t),l=a.getPropertyValue("font-family").match(zg),u=a.getPropertyValue("font-weight"),f=a.getPropertyValue("content");if(o&&!l)return e.removeChild(o),r();if(l&&f!=="none"&&f!==""){var c=a.getPropertyValue("content"),p=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?vi[l[2].toLowerCase()]:Hg[u],m=Xw(c),$=m.value,g=m.isSecondary,w=l[0].startsWith("FontAwesome"),v=Ea(p,$),S=v;if(w){var N=gw($);N.iconName&&N.prefix&&(v=N.iconName,p=N.prefix)}if(v&&!g&&(!o||o.getAttribute(ya)!==p||o.getAttribute(_a)!==S)){e.setAttribute(n,S),o&&e.removeChild(o);var Q=Ww(),Z=Q.extra;Z.attributes[wa]=t,Ra(v,p).then(function(Ae){var at=Oa(D(D({},Q),{},{icons:{main:Ae,mask:Ta()},prefix:p,iconName:S,extra:Z,watchable:!0})),x=_e.createElement("svg");t==="::before"?e.insertBefore(x,e.firstChild):e.appendChild(x),x.outerHTML=at.map(function(R){return cs(R)}).join(`
762
+ `),e.removeAttribute(n),r()}).catch(s)}else r()}else r()})}function Kw(e){return Promise.all([Nd(e,"::before"),Nd(e,"::after")])}function Qw(e){return e.parentNode!==document.head&&!~Wg.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(wa)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Rd(e){if(Gt)return new Promise(function(t,n){var r=gr(e.querySelectorAll("*")).filter(Qw).map(Kw),s=Ba.begin("searchPseudoElements");Ed(),Promise.all(r).then(function(){s(),Fa(),t()}).catch(function(){s(),Fa(),n()})})}var ey={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=Rd,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,s=r===void 0?_e:r;j.searchPseudoElements&&Rd(s)}}},Ld=!1,ty={mixout:function(){return{dom:{unwatch:function(){Ed(),Ld=!0}}}},hooks:function(){return{bootstrap:function(){Td(Pa("mutationObserverCallbacks",{}))},noAuto:function(){Lw()},watch:function(n){var r=n.observeMutationsRoot;Ld?Fa():Td(Pa("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},Bd=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,s){var i=s.toLowerCase().split("-"),o=i[0],a=i.slice(1).join("-");if(o&&a==="h")return r.flipX=!0,r;if(o&&a==="v")return r.flipY=!0,r;if(a=parseFloat(a),isNaN(a))return r;switch(o){case"grow":r.size=r.size+a;break;case"shrink":r.size=r.size-a;break;case"left":r.x=r.x-a;break;case"right":r.x=r.x+a;break;case"up":r.y=r.y-a;break;case"down":r.y=r.y+a;break;case"rotate":r.rotate=r.rotate+a;break}return r},n)},ny={mixout:function(){return{parse:{transform:function(n){return Bd(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var s=r.getAttribute("data-fa-transform");return s&&(n.transform=Bd(s)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,s=n.transform,i=n.containerWidth,o=n.iconWidth,a={transform:"translate(".concat(i/2," 256)")},l="translate(".concat(s.x*32,", ").concat(s.y*32,") "),u="scale(".concat(s.size/16*(s.flipX?-1:1),", ").concat(s.size/16*(s.flipY?-1:1),") "),f="rotate(".concat(s.rotate," 0 0)"),c={transform:"".concat(l," ").concat(u," ").concat(f)},p={transform:"translate(".concat(o/2*-1," -256)")},m={outer:a,inner:c,path:p};return{tag:"g",attributes:D({},m.outer),children:[{tag:"g",attributes:D({},m.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:D(D({},r.icon.attributes),m.path)}]}]}}}},Wa={x:0,y:0,width:"100%",height:"100%"};function Vd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function ry(e){return e.tag==="g"?e.children:[e]}var sy={hooks:function(){return{parseNodeAttributes:function(n,r){var s=r.getAttribute("data-fa-mask"),i=s?xi(s.split(" ").map(function(o){return o.trim()})):Ta();return i.prefix||(i.prefix=dn()),n.mask=i,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,s=n.attributes,i=n.main,o=n.mask,a=n.maskId,l=n.transform,u=i.width,f=i.icon,c=o.width,p=o.icon,m=rw({transform:l,containerWidth:c,iconWidth:u}),$={tag:"rect",attributes:D(D({},Wa),{},{fill:"white"})},g=f.children?{children:f.children.map(Vd)}:{},w={tag:"g",attributes:D({},m.inner),children:[Vd(D({tag:f.tag,attributes:D(D({},f.attributes),m.path)},g))]},v={tag:"g",attributes:D({},m.outer),children:[w]},S="mask-".concat(a||us()),N="clip-".concat(a||us()),Q={tag:"mask",attributes:D(D({},Wa),{},{id:S,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[$,v]},Z={tag:"defs",children:[{tag:"clipPath",attributes:{id:N},children:ry(p)},Q]};return r.push(Z,{tag:"rect",attributes:D({fill:"currentColor","clip-path":"url(#".concat(N,")"),mask:"url(#".concat(S,")")},Wa)}),{children:r,attributes:s}}}},iy={provides:function(t){var n=!1;cn.matchMedia&&(n=cn.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],s={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:D(D({},s),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=D(D({},i),{},{attributeName:"opacity"}),a={tag:"circle",attributes:D(D({},s),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||a.children.push({tag:"animate",attributes:D(D({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:D(D({},o),{},{values:"1;0;1;1;0;1;"})}),r.push(a),r.push({tag:"path",attributes:D(D({},s),{},{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:D(D({},o),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:D(D({},s),{},{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:D(D({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},oy={hooks:function(){return{parseNodeAttributes:function(n,r){var s=r.getAttribute("data-fa-symbol"),i=s===null?!1:s===""?!0:s;return n.symbol=i,n}}}},ay=[ow,Gw,qw,Yw,Jw,ey,ty,ny,sy,iy,oy];_w(ay,{mixoutsTo:rt}),rt.noAuto,rt.config,rt.library,rt.dom;var ja=rt.parse;rt.findIconDefinition,rt.toHtml;var ly=rt.icon;rt.layer,rt.text,rt.counter;function uy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function cy(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var Fd={exports:{}},fy="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",dy=fy,hy=dy;function Wd(){}function jd(){}jd.resetWarningCache=Wd;var my=function(){function e(r,s,i,o,a,l){if(l!==hy){var u=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 u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:jd,resetWarningCache:Wd};return n.PropTypes=n,n};Fd.exports=my();var py=Fd.exports;const K=uy(py);function Ud(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function hn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ud(Object(n),!0).forEach(function(r){vr(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ud(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Pi(e){"@babel/helpers - typeof";return Pi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pi(e)}function vr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $y(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,i;for(i=0;i<r.length;i++)s=r[i],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function gy(e,t){if(e==null)return{};var n=$y(e,t),r,s;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(s=0;s<i.length;s++)r=i[s],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ua(e){return wy(e)||yy(e)||_y(e)||vy()}function wy(e){if(Array.isArray(e))return za(e)}function yy(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _y(e,t){if(e){if(typeof e=="string")return za(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return za(e,t)}}function za(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vy(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
763
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function by(e){var t,n=e.beat,r=e.fade,s=e.beatFade,i=e.bounce,o=e.shake,a=e.flash,l=e.spin,u=e.spinPulse,f=e.spinReverse,c=e.pulse,p=e.fixedWidth,m=e.inverse,$=e.border,g=e.listItem,w=e.flip,v=e.size,S=e.rotation,N=e.pull,Q=(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":s,"fa-bounce":i,"fa-shake":o,"fa-flash":a,"fa-spin":l,"fa-spin-reverse":f,"fa-spin-pulse":u,"fa-pulse":c,"fa-fw":p,"fa-inverse":m,"fa-border":$,"fa-li":g,"fa-flip":w===!0,"fa-flip-horizontal":w==="horizontal"||w==="both","fa-flip-vertical":w==="vertical"||w==="both"},vr(t,"fa-".concat(v),typeof v<"u"&&v!==null),vr(t,"fa-rotate-".concat(S),typeof S<"u"&&S!==null&&S!==0),vr(t,"fa-pull-".concat(N),typeof N<"u"&&N!==null),vr(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(Q).map(function(Z){return Q[Z]?Z:null}).filter(function(Z){return Z})}function Cy(e){return e=e-0,e===e}function zd(e){return Cy(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var Sy=["style"];function ky(e){return e.charAt(0).toUpperCase()+e.slice(1)}function xy(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),s=zd(n.slice(0,r)),i=n.slice(r+1).trim();return s.startsWith("webkit")?t[ky(s)]=i:t[s]=i,t},{})}function Hd(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var r=(t.children||[]).map(function(l){return Hd(e,l)}),s=Object.keys(t.attributes||{}).reduce(function(l,u){var f=t.attributes[u];switch(u){case"class":l.attrs.className=f,delete t.attributes.class;break;case"style":l.attrs.style=xy(f);break;default:u.indexOf("aria-")===0||u.indexOf("data-")===0?l.attrs[u.toLowerCase()]=f:l.attrs[zd(u)]=f}return l},{attrs:{}}),i=n.style,o=i===void 0?{}:i,a=gy(n,Sy);return s.attrs.style=hn(hn({},s.attrs.style),o),e.apply(void 0,[t.tag,hn(hn({},s.attrs),a)].concat(Ua(r)))}var Gd=!1;try{Gd=!0}catch{}function Iy(){if(!Gd&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function qd(e){if(e&&Pi(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(ja.icon)return ja.icon(e);if(e===null)return null;if(e&&Pi(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function Ha(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?vr({},e,t):{}}var hs=Ds.forwardRef(function(e,t){var n=e.icon,r=e.mask,s=e.symbol,i=e.className,o=e.title,a=e.titleId,l=e.maskId,u=qd(n),f=Ha("classes",[].concat(Ua(by(e)),Ua(i.split(" ")))),c=Ha("transform",typeof e.transform=="string"?ja.transform(e.transform):e.transform),p=Ha("mask",qd(r)),m=ly(u,hn(hn(hn(hn({},f),c),p),{},{symbol:s,title:o,titleId:a,maskId:l}));if(!m)return Iy("Could not find icon",u),null;var $=m.abstract,g={ref:t};return Object.keys(e).forEach(function(w){hs.defaultProps.hasOwnProperty(w)||(g[w]=e[w])}),Ay($[0],g)});hs.displayName="FontAwesomeIcon",hs.propTypes={beat:K.bool,border:K.bool,beatFade:K.bool,bounce:K.bool,className:K.string,fade:K.bool,flash:K.bool,mask:K.oneOfType([K.object,K.array,K.string]),maskId:K.string,fixedWidth:K.bool,inverse:K.bool,flip:K.oneOf([!0,!1,"horizontal","vertical","both"]),icon:K.oneOfType([K.object,K.array,K.string]),listItem:K.bool,pull:K.oneOf(["right","left"]),pulse:K.bool,rotation:K.oneOf([0,90,180,270]),shake:K.bool,size:K.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:K.bool,spinPulse:K.bool,spinReverse:K.bool,symbol:K.oneOfType([K.bool,K.string]),title:K.string,titleId:K.string,transform:K.oneOfType([K.string,K.object]),swapOpacity:K.bool},hs.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 Ay=Hd.bind(null,Ds.createElement);/*!
764
+ * Font Awesome Free 6.1.2 by @fontawesome - https://fontawesome.com
765
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
766
+ * Copyright 2022 Fonticons, Inc.
767
+ */var Ey={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"]},Ty={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"]},Py=Ty,My={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"]},Oy=My;function Ga(e,t){return d(hs,e,...t)}Ga({icon:Ey},[]),Ga({icon:Oy,size:"5x"},[]);const Dy=Ga({icon:Py,size:"5x"},[]);function Ny(){let e,t,n,r,s,i;return hr(()=>{un(0)}),d("div",C(y([["className",ve(" ",["h-screen",Zo])],(e=[d("div",C(y([["className","h-full flex justify-center items-center"],(t=[d("div",C(y([["className","border rounded-lg shadow-md sm:max-w-md p-8 text-center"],(n=[d("div",C(E((r=[d("div",C(y([["className",ve(" ",[Zo])],(s=[d("i",{className:"text-red-600",children:b.Children.toArray([Dy])}),d("h4",{className:"text-2xl my-4 text-red-600",children:"This doesn't look right"}),d("p",{className:"mt-3 mb-5 text-gray-500",children:"Your invite has expired. Reach out to your employer to get another one."})],["children",b.Children.toArray(Array.from(s))])]))),d("p",C(y([["className","mt-16 text-gray-400 text-right text-x"],(i=[d("small",{children:[`Flare HR Pty Ltd © 2015-${Mo(Ku())}`]})],["children",b.Children.toArray(Array.from(i))])])))],["children",b.Children.toArray(Array.from(r))]))))],["children",b.Children.toArray(Array.from(n))])])))],["children",b.Children.toArray(Array.from(t))])])))],["children",b.Children.toArray(Array.from(e))])])))}class Yd{constructor(t){this.k=t}}function st(e){return new Yd(e)}function Y(e){return e.k}class ae extends Yd{constructor(t,n,r,s){super(t),this.left=n,this.right=r,this.h=s|0}}function it(e,t,n,r){return new ae(e,t,n,r)}function we(e){return e.left}function pe(e){return e.right}function br(e){return e.h}function Z3(){}function Jd(e,t){e:for(;;){const n=e,r=t;if(n!=null){const s=I(n);if(s instanceof ae){const i=s;e=we(i),t=Jd(pe(i),r+1);continue e}else return r+1|0}else return r|0}}function Ry(e){return Jd(e,0)}function bt(e,t,n){let r,s,i;const o=e;if(o!=null){const f=I(o);i=f instanceof ae?(r=f,br(r)):1}else i=0;let a;const l=n;if(l!=null){const f=I(l);a=f instanceof ae?(s=f,br(s)):1}else a=0;const u=(i<a?a:i)|0;return u===0?st(t):it(t,e,n,u+1)}function Zd(e,t,n){let r,s,i,o,a,l,u,f,c;const p=e;if(p!=null){const g=I(p);c=g instanceof ae?(r=g,br(r)):1}else c=0;let m;const $=n;if($!=null){const g=I($);m=g instanceof ae?(s=g,br(s)):1}else m=0;if(m>c+2){const g=I(n);if(g instanceof ae){const w=g;if(i=we(w),(i!=null?(o=I(i),o instanceof ae?(a=o,br(a)):1):0)>c+1){const v=I(we(w));if(v instanceof ae){const S=v;return bt(bt(e,t,we(S)),Y(S),bt(pe(S),Y(w),pe(w)))}else throw new Error("internal error: Set.rebalance")}else return bt(bt(e,t,we(w)),Y(w),pe(w))}else throw new Error("internal error: Set.rebalance")}else if(c>m+2){const g=I(e);if(g instanceof ae){const w=g;if(l=pe(w),(l!=null?(u=I(l),u instanceof ae?(f=u,br(f)):1):0)>m+1){const v=I(pe(w));if(v instanceof ae){const S=v;return bt(bt(we(w),Y(w),we(S)),Y(S),bt(pe(S),t,n))}else throw new Error("internal error: Set.rebalance")}else return bt(we(w),Y(w),bt(pe(w),t,n))}else throw new Error("internal error: Set.rebalance")}else return bt(e,t,n)}function Cr(e,t,n){if(n!=null){const r=I(n),s=e.Compare(t,Y(r))|0;if(r instanceof ae){const i=r;return s<0?Zd(Cr(e,t,we(i)),Y(i),pe(i)):s===0?n:Zd(we(i),Y(i),Cr(e,t,pe(i)))}else{const i=e.Compare(t,Y(r))|0;return i<0?it(t,void 0,n,2):i===0?n:it(t,n,void 0,2)}}else return st(t)}function Xd(e,t,n){e:for(;;){const r=e,s=t,i=n;if(i!=null){const o=I(i),a=r.Compare(s,Y(o))|0;if(o instanceof ae){const l=o;if(a<0){e=r,t=s,n=we(l);continue e}else{if(a===0)return!0;e=r,t=s,n=pe(l);continue e}}else return a===0}else return!1}}function Kd(e,t){e:for(;;){const n=e,r=t;if(r!=null){const s=I(r);if(s instanceof ae){const i=s;Kd(n,we(i)),n(Y(i)),e=n,t=pe(i);continue e}else n(Y(s))}break}}class Ly extends F{constructor(t,n){super(),this.stack=t,this.started=n}}function Qd(e){e:for(;;){const t=e;if(M(t))return de();{const n=k(t),r=P(t);if(n!=null){const s=I(n);if(s instanceof ae){const i=s;e=Ce([we(i),st(Y(i)),pe(i)],r);continue e}else return t}else{e=r;continue e}}}}function e0(e){return new Ly(Qd(E(e)),!1)}function By(){throw new Error("Enumeration not started")}function Vy(){throw new Error("Enumeration already started")}function t0(e){if(e.started){const t=e.stack;if(M(t))return Vy();if(k(t)!=null){const n=I(k(t));return Y(n)}else throw new Error("Please report error: Set iterator, unexpected stack for current")}else return By()}function Fy(e){if(e.started){const t=e.stack;if(M(t))return!1;if(k(t)!=null){if(I(k(t))instanceof ae)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Qd(P(t)),!M(e.stack)}else throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}else return e.started=!0,!M(e.stack)}function n0(e){let t=e0(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return t0(t)},"System.Collections.IEnumerator.get_Current"(){return t0(t)},"System.Collections.IEnumerator.MoveNext"(){return Fy(t)},"System.Collections.IEnumerator.Reset"(){t=e0(e)},Dispose(){}}}function Wy(e,t,n){e:for(;;){const r=e,s=t,i=n;if(M(s))return M(i)?0:-1;if(M(i))return 1;if(k(i)!=null)if(k(s)!=null){const o=I(k(s)),a=I(k(i));if(o instanceof ae){const l=o;if(we(l)==null)if(a instanceof ae){const u=a;if(we(u)==null){const f=r.Compare(Y(l),Y(u))|0;if(f!==0)return f|0;e=r,t=Qe(pe(l),P(s)),n=Qe(pe(u),P(i));continue e}else{let f,c,p,m,$;switch(M(s)?M(i)?f=2:k(i)!=null?(f=1,m=P(i),$=I(k(i))):f=2:k(s)!=null?(f=0,c=P(s),p=I(k(s))):M(i)?f=2:k(i)!=null?(f=1,m=P(i),$=I(k(i))):f=2,f){case 0:if(p instanceof ae){const g=p;e=r,t=Ce([we(g),it(Y(g),void 0,pe(g),0)],c),n=i;continue e}else{e=r,t=Ce([void 0,st(Y(p))],c),n=i;continue e}case 1:if($ instanceof ae){const g=$;e=r,t=s,n=Ce([we(g),it(Y(g),void 0,pe(g),0)],m);continue e}else{e=r,t=s,n=Ce([void 0,st(Y($))],m);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const u=r.Compare(Y(l),Y(a))|0;if(u!==0)return u|0;e=r,t=Qe(pe(l),P(s)),n=Qe(void 0,P(i));continue e}else{let u,f,c,p,m;switch(M(s)?M(i)?u=2:k(i)!=null?(u=1,p=P(i),m=I(k(i))):u=2:k(s)!=null?(u=0,f=P(s),c=I(k(s))):M(i)?u=2:k(i)!=null?(u=1,p=P(i),m=I(k(i))):u=2,u){case 0:if(c instanceof ae){const $=c;e=r,t=Ce([we($),it(Y($),void 0,pe($),0)],f),n=i;continue e}else{e=r,t=Ce([void 0,st(Y(c))],f),n=i;continue e}case 1:if(m instanceof ae){const $=m;e=r,t=s,n=Ce([we($),it(Y($),void 0,pe($),0)],p);continue e}else{e=r,t=s,n=Ce([void 0,st(Y(m))],p);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else if(a instanceof ae){const l=a;if(we(l)==null){const u=r.Compare(Y(o),Y(l))|0;if(u!==0)return u|0;e=r,t=Qe(void 0,P(s)),n=Qe(pe(l),P(i));continue e}else{let u,f,c,p,m;switch(M(s)?M(i)?u=2:k(i)!=null?(u=1,p=P(i),m=I(k(i))):u=2:k(s)!=null?(u=0,f=P(s),c=I(k(s))):M(i)?u=2:k(i)!=null?(u=1,p=P(i),m=I(k(i))):u=2,u){case 0:if(c instanceof ae){const $=c;e=r,t=Ce([we($),it(Y($),void 0,pe($),0)],f),n=i;continue e}else{e=r,t=Ce([void 0,st(Y(c))],f),n=i;continue e}case 1:if(m instanceof ae){const $=m;e=r,t=s,n=Ce([we($),it(Y($),void 0,pe($),0)],p);continue e}else{e=r,t=s,n=Ce([void 0,st(Y(m))],p);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const l=r.Compare(Y(o),Y(a))|0;if(l!==0)return l|0;e=r,t=P(s),n=P(i);continue e}}else{I(k(i));let o,a,l,u,f;switch(M(s)?M(i)?o=2:k(i)!=null?(o=1,u=P(i),f=I(k(i))):o=2:k(s)!=null?(o=0,a=P(s),l=I(k(s))):M(i)?o=2:k(i)!=null?(o=1,u=P(i),f=I(k(i))):o=2,o){case 0:if(l instanceof ae){const c=l;e=r,t=Ce([we(c),it(Y(c),void 0,pe(c),0)],a),n=i;continue e}else{e=r,t=Ce([void 0,st(Y(l))],a),n=i;continue e}case 1:if(f instanceof ae){const c=f;e=r,t=s,n=Ce([we(c),it(Y(c),void 0,pe(c),0)],u);continue e}else{e=r,t=s,n=Ce([void 0,st(Y(f))],u);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else if(k(s)!=null){I(k(s));let o,a,l,u,f;switch(M(s)?M(i)?o=2:k(i)!=null?(o=1,u=P(i),f=I(k(i))):o=2:k(s)!=null?(o=0,a=P(s),l=I(k(s))):M(i)?o=2:k(i)!=null?(o=1,u=P(i),f=I(k(i))):o=2,o){case 0:if(l instanceof ae){const c=l;e=r,t=Ce([we(c),it(Y(c),void 0,pe(c),0)],a),n=i;continue e}else{e=r,t=Ce([void 0,st(Y(l))],a),n=i;continue e}case 1:if(f instanceof ae){const c=f;e=r,t=s,n=Ce([we(c),it(Y(c),void 0,pe(c),0)],u);continue e}else{e=r,t=s,n=Ce([void 0,st(Y(f))],u);continue e}default:throw new Error("unexpected state in SetTree.compareStacks")}}else{e=r,t=P(s),n=P(i);continue e}}}function r0(e,t,n){return t==null?n==null?0:-1:n==null?1:Wy(e,E(t),E(n))|0}function jy(e,t,n){let r=n;Kd(s=>{gt(t,r,s),r=r+1|0},e)}function Uy(e,t,n){e:for(;;){const r=e,s=t,i=n;if(i["System.Collections.IEnumerator.MoveNext"]()){e=r,t=Cr(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),s),n=i;continue e}else return s}}function zy(e,t){return ti((n,r)=>Cr(e,r,n),void 0,t)}function Hy(e,t){return Mt((n,r)=>Cr(e,r,n),void 0,t)}function s0(e,t){if(mt(t))return zy(e,t);if(t instanceof Ue)return Hy(e,t);{const n=$e(t);try{return Uy(e,void 0,n)}finally{ue(n)}}}class qa{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return Yy(this)|0}Equals(t){let n;const r=this;return t instanceof qa&&(n=t,r0(Sr(r),Ct(r),Ct(n))===0)}toString(){return"set ["+ve("; ",Ie(n=>Tt(n),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(){const t=this;return Array.from(t)}CompareTo(t){const n=this;return r0(Sr(n),Ct(n),Ct(t))|0}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return Xd(Sr(n),t,Ct(n))}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){jy(Ct(this),t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return Ya(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return Ya(this)|0}GetEnumerator(){return n0(Ct(this))}[Symbol.iterator](){return Fr($e(this))}"System.Collections.IEnumerable.GetEnumerator"(){return n0(Ct(this))}get size(){return Ya(this)|0}add(t){throw new Error("Set cannot be mutated")}clear(){throw new Error("Set cannot be mutated")}delete(t){throw new Error("Set cannot be mutated")}has(t){return i0(this,t)}keys(){return Ie(n=>n,this)}values(){return Ie(n=>n,this)}entries(){return Ie(n=>[n,n],this)}forEach(t,n){const r=this;xn(s=>{t(s,s,r)},r)}}function Mi(e,t){return new qa(e,t)}function Sr(e){return e.comparer}function Ct(e){return e.tree}function Gy(e){return Mi(e,void 0)}function qy(e,t){return Mi(Sr(e),Cr(Sr(e),t,Ct(e)))}function Ya(e){return Ry(Ct(e))}function i0(e,t){return Xd(Sr(e),t,Ct(e))}function Yy(e){let t=0;const n=$e(e);try{for(;n["System.Collections.IEnumerator.MoveNext"]();){const r=n["System.Collections.Generic.IEnumerator`1.get_Current"]();t=(t<<1)+Ut(r)+631|0}}finally{ue(n)}return Math.abs(t)|0}function Ja(e,t){return i0(t,e)}function Jy(e,t){return qy(t,e)}function Zy(e){return Gy(e)}function Xy(e,t){return Mi(t,s0(t,e))}function Ky(e,t){return Mi(t,s0(t,e))}function Qy(){return de()}function Za(e){return ve("/",e)}function e_(e,t){const n=new Error("Duplicate SubId");return e(["Duplicate SubId: "+Za(t),n])}function o0(e,t,n){try{ue(n)}catch(r){e(["Error stopping subscription: "+Za(t),r])}}function t_(e,t,n,r){try{return[n,r(t)]}catch(s){e(["Error starting subscription: "+Za(n),s]);return}}function n_(e,t){Zr(n=>{o0(e,n[0],n[1])},t)}function a0(e,t,n,r,s,i){return Zr(o=>{e_(e,o)},n),Zr(o=>{o0(e,o[0],o[1])},r),wt(s,W1(o=>t_(e,t,o[0],o[1]),i))}function r_(){return[de(),Zy({Compare:ut}),de()]}function s_(e,t,n,r,s){return Ja(e,r)?[Qe(e,n),r,s]:[n,Jy(e,r),Qe([e,t],s)]}function i_(e){return M1((t,n)=>s_(t[0],t[1],n[0],n[1],n[2]),e,r_())}const o_=de();function l0(e,t){const n=Xy(et(o=>o[0],e),{Compare:ut}),r=i_(t),s=r[1],i=r[0];if(n.Equals(s))return[i,de(),e,de()];{const o=F1(a=>Ja(a[0],s),e);return[i,o[1],o[0],Bo(a=>!Ja(a[0],n),r[2])]}}class a_{constructor(t,n,r){this.OnNext=t,this.OnError=n||(s=>{}),this.OnCompleted=r||(()=>{})}}function l_(e,t){t.Subscribe(new a_(e))}class u_{constructor(){this.delegates=[]}_add(t){this.delegates.push(t)}_remove(t){const n=this.delegates.indexOf(t);n>-1&&this.delegates.splice(n,1)}get Publish(){return f_(t=>{this._add(t)},t=>{this._remove(t)})}Trigger(t,n){let r=null;const s=n===void 0?t:(r=t,n);this.delegates.forEach(i=>{i(r,s)})}}class c_ extends u_{}function f_(e,t){return{AddHandler(n){e(n)},RemoveHandler(n){t(n)},Subscribe(n){const r=(s,i)=>n.OnNext(i);return e(r),{Dispose(){t(r)}}}}}class d_{constructor(t){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=t&&t>0?t:100,this.AutoReset=!0,this._elapsed=new c_}Elapsed(){return this._elapsed.Publish}get Enabled(){return this._enabled}set Enabled(t){!this._isDisposed&&this._enabled!==t&&(this._enabled=t,this._enabled?this.AutoReset?this._intervalId=setInterval(()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)},this.Interval):this._timeoutId=setTimeout(()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)},this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}}function h_(e,t){console.error(Ee(e),t)}function m_(e,t){let n,r=new d_(e);r.AutoReset=!1,n=r,l_(t,n.Elapsed()),n.Enabled=!0,n.Start()}function u0(e,t,n){Zr(r=>{try{r(t)}catch(s){e(s)}},n)}function te(){return de()}function Xa(e,t){return et(n=>r=>{n(s=>{r(e(s))})},t)}function c0(e){return Lo(e)}function f0(e){return E(e)}function St(e,t,n,r,s){return E(i=>{e(A.Delay(()=>A.Bind(Vf(t(n)),o=>{const a=o;return i(a.tag===1?s(a.fields[0]):r(a.fields[0])),A.Zero()})))})}function Ka(e,t,n,r){return E(s=>{e(A.Delay(()=>A.Bind(Vf(t(n)),i=>{const o=i;return o.tag===0&&s(r(o.fields[0])),A.Zero()})))})}function qe(e){m_(1,t=>{fa(e)})}function p_(e,t,n,r){const s=ut(e,n)|0;if(s===0)throw new Error("The step of a range cannot be zero");const i=s>0;return o=>{const a=ut(o,t)|0;return i&&a<=0||!i&&a>=0?[o,r(o,e)]:void 0}}function $_(e,t,n,r,s){const i=p_(t,n,r,s);return T(()=>ep(i,e))}function d0(e,t,n){return $_(e,t,n,0,(r,s)=>r+s)}class kr extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Writable","ReadWritable"]}}class g_{constructor(t){this.state=new kr(0,[ei(new Array(mc(t,10)),0,mc(t,10),null),0])}}function w_(e){return new g_(e)}function h0(e){const t=e.state;if(t.tag===1){const n=t.fields[1]|0,r=t.fields[2]|0,s=t.fields[0],i=(r+1)%s.length|0;return i===n?e.state=new kr(0,[s,n]):e.state=new kr(1,[s,n,i]),Ee(se(r,s))}else return}function y_(e,t){const n=e.state;if(n.tag===1){const r=n.fields[1]|0,s=n.fields[2]|0,i=n.fields[0];gt(i,r,t);const o=(r+1)%i.length|0;o===s?e.state=new kr(1,[__(e,s,i),i.length,0]):e.state=new kr(1,[i,o,s])}else{const r=n.fields[1]|0,s=n.fields[0];gt(s,r,t);const i=(r+1)%s.length|0;e.state=new kr(1,[s,i,r])}}function __(e,t,n){return Array.from(T(()=>W(op(t,n),T(()=>W(ap(t,n),T(()=>Cc(r=>_(ne()),d0(0,1,n.length))))))))}class Qa extends F{constructor(t,n,r,s,i,o,a){super(),this.init=t,this.update=n,this.subscribe=r,this.view=s,this.setState=i,this.onError=o,this.termination=a}}function Oi(e,t,n){return new Qa(e,t,r=>Qy(),n,re(r=>{const s=Et(n)(r);return i=>{s(i)}}),r=>{h_(r[0],r[1])},[r=>!1,r=>{}])}function m0(e,t){return new Qa(t.init,t.update,t.subscribe,t.view,e,t.onError,t.termination)}function p0(e){return Et(e.view)}function v_(e){return e.init}function b_(e,t,n,r,s,i,o){const a=Et(e)(o.init),l=Vs(t)(Et(o.update)),u=Vs(n)(Et(o.view)),f=Vs(r)(Et(o.setState));return new Qa(a,re(l),Et(s)(o.subscribe),re(u),re(f),o.onError,i(o.termination))}function C_(e,t,n){let r;const s=n.init(t),i=s[0],o=n.subscribe(i),a=n.termination,l=w_(10);let u=!1,f=i,c=o_,p=!1;const m=w=>{p||(y_(l,w),u||(u=!0,g(),u=!1))},$=Et(e)(m),g=()=>{let w,v=h0(l);for(;!p&&v!=null;){const S=I(v);if(a[0](S))n_(n.onError,c),a[1](f),p=!0;else{const N=n.update(S,f),Q=N[0],Z=n.subscribe(Q);n.setState(Q,$),u0(Ae=>{n.onError([je(We("Error handling the message: %A"))(S),Ae])},$,N[1]),f=Q,c=(w=l0(c,Z),a0(n.onError,$,w[0],w[1],w[2],w[3])),v=h0(l)}}};u=!0,n.setState(i,$),u0(w=>{n.onError([je(We("Error intitializing:")),w])},$,s[1]),c=(r=l0(c,o),a0(n.onError,$,r[0],r[1],r[2],r[3])),g(),u=!1}function $0(e,t){C_(re(n=>n),e,t)}function S_(e){$0(void 0,e)}var g0={exports:{}},w0={};const k_=cy(cm);/**
768
+ * @license React
769
+ * use-sync-external-store-shim.production.min.js
770
+ *
771
+ * Copyright (c) Facebook, Inc. and its affiliates.
772
+ *
773
+ * This source code is licensed under the MIT license found in the
774
+ * LICENSE file in the root directory of this source tree.
775
+ */var xr=k_;function x_(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var I_=typeof Object.is=="function"?Object.is:x_,A_=xr.useState,E_=xr.useEffect,T_=xr.useLayoutEffect,P_=xr.useDebugValue;function M_(e,t){var n=t(),r=A_({inst:{value:n,getSnapshot:t}}),s=r[0].inst,i=r[1];return T_(function(){s.value=n,s.getSnapshot=t,el(s)&&i({inst:s})},[e,n,t]),E_(function(){return el(s)&&i({inst:s}),e(function(){el(s)&&i({inst:s})})},[e]),P_(n),n}function el(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!I_(e,n)}catch{return!0}}function O_(e,t){return t()}var D_=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?O_:M_;w0.useSyncExternalStore=xr.useSyncExternalStore!==void 0?xr.useSyncExternalStore:D_,g0.exports=w0;var N_=g0.exports;class R_{constructor(t,n,r){this.arg=n,this.dependencies=r;const s=t(),i=[];this.finalDispatch=void 0;let o;const a=v_(s)(this.arg);let l=a[0],u=a[1];o=[[l,f=>{const c=this.finalDispatch;c==null?i.push(f):c(f)},!1,i],u],this.state=o[0],this.cmd=o[1],this.subscribe=f=>{let c=!1;const p=bo(this.state[0]);return $0(this.arg,m0((m,$)=>{const g=this.state;this.finalDispatch=$,this.state=[m,g[1],!0,i],m!==g[0]&&f()},b_((m,$)=>{const g=this.cmd;return this.cmd=te(),[this.state[0],g]},(m,$,g)=>m($)(this.state[0]),ko(m=>m),ko(m=>m),re(m=>m),m=>[$=>m[0]($)?!0:p&&c,$=>{const g=$;bo(g)?ue(g):m[1]($)}],s))),()=>{c=!0}}}}function y0(e,t,n){return new R_(e,t,n)}function L_(e){return e.state}function B_(e){return e.subscribe}function V_(e,t,n){return O(e.arg,t)?!O(e.dependencies,n):!0}function tl(e,t,n){const r=Xn(()=>y0(e,t,n)),s=r[0];V_(s,t,n)&&r[1](y0(e,t,n));const i=N_.useSyncExternalStore(B_(s),()=>L_(s)),o=i[2],a=i[3],l=i[1];return vn(()=>{if(o&&a.length>0){let u=$e(a);try{for(;u["System.Collections.IEnumerator.MoveNext"]();){const f=u["System.Collections.Generic.IEnumerator`1.get_Current"]();setTimeout(()=>{l(f)})}}finally{ue(u)}km(a)}},[o,a]),[i[0],l]}let _0=class extends F{constructor(t,n){super(),this.Email=t,this.Phone=n}};function F_(){return fe("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.SupportDto",[],_0,()=>[["Email",X(G)],["Phone",X(G)]])}function W_(e){return new _0(Be(p$,e.Email),Be($$,e.Phone))}let v0=class extends F{constructor(t,n,r){super(),this.CompanyName=t,this.Logo=n,this.Support=r}};function Ln(){return fe("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.InviteBrandingDto",[],v0,()=>[["CompanyName",X(G)],["Logo",X(G)],["Support",X(F_())]])}function j_(e){return new v0(Be(rs,e.CompanyName),Be(w$,e.Logo),Be(W_,e.Support))}class b0 extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Default","InfoRequest","AppInvite"]}}function Bn(){return $t("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.InviteJourneyTypeDto",[],b0,()=>[[["Item",nl()]],[["Item",nl()]],[["Item",nl()]]])}let C0=class extends F{constructor(t){super(),this.Category=t}};function nl(){return fe("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.JourneyTypeDetailsDto",[],C0,()=>[["Category",X(G)]])}class S0 extends F{constructor(t){super(),this.MagicCode=t}}function U_(){return fe("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeRequestDto",[],S0,()=>[["MagicCode",G]])}class z_ extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["PassThrough","MagicCodeExpired","MagicCodeNotRecognised","InviteExpired","WorkflowCompleted","WorkflowAbandoned","ProfileStateInvalidForWorkflowCompletion","InviteNotFound"]}}function H_(){return $t("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeOutcomeDto",[],z_,()=>[[["Item",Ke(["AuthCode",G],["Branding",X(Ln())],["FirstName",G],["IsInitialMagicLinkUsed",ct],["JourneyType",Bn()])]],[["Item",Ke(["Branding",X(Ln())],["FirstName",G],["IsInitialMagicLinkUsed",ct],["JourneyType",Bn()],["OneTimeCodeOptionAvailable",ct])]],[["Item",Ke(["Branding",X(Ln())],["JourneyType",Bn()])]],[["Item",Ke(["Branding",X(Ln())],["JourneyType",Bn()])]],[["Item",Ke(["Branding",X(Ln())],["JourneyType",Bn()])]],[["Item",Ke(["Branding",X(Ln())],["JourneyType",Bn()])]],[["Item",Ke(["Branding",X(Ln())],["JourneyType",Bn()])]],[]])}function G_(e){switch(e.tag){case 1:return e.fields[0].Branding;case 2:return e.fields[0].Branding;case 3:return e.fields[0].Branding;case 4:return e.fields[0].Branding;case 5:return e.fields[0].Branding;case 6:return e.fields[0].Branding;case 7:return;default:return e.fields[0].Branding}}function q_(e){switch(e.tag){case 1:return e.fields[0].JourneyType;case 2:return e.fields[0].JourneyType;case 3:return e.fields[0].JourneyType;case 4:return e.fields[0].JourneyType;case 5:return e.fields[0].JourneyType;case 6:return e.fields[0].JourneyType;case 7:return;default:return e.fields[0].JourneyType}}class Y_ extends F{constructor(t,n){super(),this.CssOverrides=t,this.Outcome=n}}function J_(){return fe("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeResponseDto",[],Y_,()=>[["CssOverrides",sn(G)],["Outcome",H_()]])}class k0 extends F{constructor(t,n){super(),this.MagicCode=t,this.IsChange=n}}function Z_(){return fe("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeRequestDto",[],k0,()=>[["MagicCode",G],["IsChange",ct]])}class X_ extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["MagicCodeIssued","MagicCodeNotRecognised","MagicCodeIssuingThrottled","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}function K_(){return $t("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeOutcomeDto",[],X_,()=>[[["Item",Ke(["MaskedEmail",G])]],[],[["Item",Ke(["MaskedEmail",G])]],[],[],[],[],[]])}class Q_ extends F{constructor(t){super(),this.Outcome=t}}function e2(){return fe("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeResponseDto",[],Q_,()=>[["Outcome",K_()]])}class x0 extends F{constructor(t,n){super(),this.MagicCode=t,this.IsResend=n}}function t2(){return fe("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeRequestDto",[],x0,()=>[["MagicCode",G],["IsResend",ct]])}class n2 extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["OneTimeCodeIssued","OneTimeCodeOptionNotAvailable","OneTimeCodeLocked","OneTimeCodeIssuingThrottled","MagicCodeNotRecognised","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}function r2(){return $t("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeOutcomeDto",[],n2,()=>[[["Item",Ke(["MaskedPhone",G])]],[],[],[["Item",Ke(["MaskedPhone",G])]],[],[],[],[],[],[]])}class s2 extends F{constructor(t){super(),this.Outcome=t}}function i2(){return fe("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeResponseDto",[],s2,()=>[["Outcome",r2()]])}class I0 extends F{constructor(t){super(),this.OneTimeCode=t|0}}function o2(){return fe("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeRequestDto",[],I0,()=>[["OneTimeCode",Hs]])}class a2 extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["OneTimeCodeMatched","OneTimeCodeFailed","OneTimeCodeExpired","OneTimeCodeNotCurrentlyIssued","OneTimeCodeAlreadyUsed","OneTimeCodeLocked","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}function l2(){return $t("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeOutcomeDto",[],a2,()=>[[["Item",Ke(["AuthCode",G])]],[["Item",Ke(["RemainingAttempts",Hs])]],[],[],[],[],[],[],[],[],[]])}class u2 extends F{constructor(t){super(),this.Outcome=t}}function c2(){return fe("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeResponseDto",[],u2,()=>[["Outcome",l2()]])}class A0 extends F{constructor(t,n){super(),this.MagicCode=t,this.IsPassThrough=n}}function f2(){return fe("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressRequestDto",[],A0,()=>[["MagicCode",G],["IsPassThrough",ct]])}class d2 extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Progressed","MagicCodeNotRecognised","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}function h2(){return $t("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressOutcomeDto",[],d2,()=>[[],[],[],[],[],[],[]])}class m2 extends F{constructor(t){super(),this.Outcome=t}}function p2(){return fe("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressResponseDto",[],m2,()=>[["Outcome",h2()]])}let Ir=class extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved"]}};class Se extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Started","Finished"]}}class $2 extends F{constructor(t,n){super(),this.InviteToken=t,this.MagicCode=n}}function g2(e){const t=Qs(e,["."],void 0,0);if(!Ro((n,r)=>n===r,t)&&t.length===2){const n=se(1,t);return new h(0,[new $2(se(0,t),n)])}else return new h(1,["Invalid link"])}class ie extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["OneTimeCodeLocked","NoAccess","UnrecognisedLink","WorkflowAbandoned","InviteExpired","SomethingWentWrong"]}}let q=class extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Loading","Welcome","CheckYourInbox","CodeEntry","AccessLinkExpired","WorkflowCompleted","Error"]}};class rl extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["CheckYourInbox","CodeEntry","Onboarding"]}}let sl=class extends F{constructor(t,n,r,s){super(),this.CssOverrides=t,this.Page=n,this.Branding=r,this.JourneyType=s}},z=class extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["NavigatePage","ValidateMagicLink","ReissueMagicLink","IssueOneTimeCode","ValidateOneTimeCode","ProgressFromWelcome","NavigateToAuthCodeExchange"]}};function il(e,t){if(t.indexOf(e)===0)return t}function E0(e,t){if($1(t,e))return t}function w2(e){return t=>{let n,r;return n=il("/",t),n!=null?(r=n,r):"/"+t}}function Di(e,t){return w2()(ve("/",et(n=>n.indexOf("?")>=0||n.indexOf("#")===0||n.indexOf("/")===0?n:encodeURIComponent(n),e)))}function ol(e,t,n){t===1?history.pushState(void 0,"",Di(e)):history.replaceState(void 0,"",Di(e));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}function T0(e,t){return D1(n=>{if(qr(n))return de();{const r=y1(n,"#");if(r==="?")return de();if(il("?",r)!=null)return E(r);{const s=r.split("?");if(!Ro((i,o)=>i===o,s)&&s.length===1){const i=se(0,s);return E(decodeURIComponent(i))}else if(!Ro((i,o)=>i===o,s)&&s.length===2)if(se(1,s)===""){const i=se(0,s);return E(decodeURIComponent(i))}else{const i=se(0,s),o=se(1,s);return y([decodeURIComponent(i),"?"+o])}else return de()}}},y(Qs(il("#",e)!=null?_1(e,1,e.length-1):t===1&&(E0("#",e)!=null||E0("#/",e)!=null)?"":e,["/"],void 0,0)))}function y2(e,t,n){return t(T0(e===2?window.location.pathname+window.location.search:window.location.hash,e))}const _2=Vp(e=>{const t=Tc(r=>{const s=Te(e.onUrlChanged,i=>{});y2(Te(e.hashMode,1),s)});Ec(()=>(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.addEventListener("hashchange",t):window.addEventListener("popstate",t),window.addEventListener("CUSTOM_NAVIGATION_EVENT",t),es(()=>{window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0?window.removeEventListener("hashchange",t):window.removeEventListener("popstate",t),window.removeEventListener("CUSTOM_NAVIGATION_EVENT",t)}))),hr(()=>{const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)});const n=e.application;return n??ne()});function mn(e){try{const t=new URLSearchParams(e);return ge(T(()=>Ie(n=>[se(0,n),se(1,n)],t.entries())))}catch{return}}class Ni extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Autodev","Test","Prod","Sandbox"]}}function v2(e){const t=y(Qs(e,["."],void 0,0));let n;if(M(t))n=4;else switch(k(t)){case"autodev-partner":{n=0;break}case"test-partner":{n=1;break}case"partner":{n=2;break}case"sandbox-partner":{n=3;break}default:n=4}switch(n){case 0:return new h(0,[new Ni(0,[])]);case 1:return new h(0,[new Ni(1,[])]);case 2:return new h(0,[new Ni(2,[])]);case 3:return new h(0,[new Ni(3,[])]);default:return new h(1,["Invalid environment"])}}const al=document.getElementById("workflows-app"),b2=al.getAttribute("data-identity-url"),Vn=al.getAttribute("data-backend-url"),C2=y(["workflows","app"]),S2=y(["workflows","embed","v1.0","app"]),k2="apollo-workflows-app";class Ar extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Embedded","Standalone","Unknown"]}}function ll(e){switch(e.tag){case 1:return Di(C2);default:return Di(S2)}}function x2(e){return`${window.location.protocol}//${window.location.host}${ll(e)}`}v2(ze.create(Vn).host);class Bt extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class P0 extends L{constructor(t,n){super(),this.tag=0,this.fields=[t,n]}cases(){return["Header"]}}class Zt extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Empty","Text","Binary","Form"]}}class ms extends F{constructor(t,n,r,s,i,o,a,l){super(),this.url=t,this.method=n,this.headers=r,this.withCredentials=s,this.overridenMimeType=i,this.overridenResponseType=o,this.timeout=a,this.content=l}}class Er extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class M0 extends F{constructor(t,n,r,s,i,o){super(),this.statusCode=t|0,this.responseText=n,this.responseType=r,this.responseUrl=s,this.responseHeaders=i,this.content=o}}class O0{constructor(t,n){this.k=t,this.v=n}}function Ri(e,t){return new O0(e,t)}function Ye(e){return e.k}function ot(e){return e.v}class Oe extends O0{constructor(t,n,r,s,i){super(t,n),this.left=r,this.right=s,this.h=i|0}}function Li(e,t,n,r,s){return new Oe(e,t,n,r,s)}function Je(e){return e.left}function Ze(e){return e.right}function Fn(e){return e.h}function X3(){}function D0(e,t){e:for(;;){const n=e,r=t;if(r!=null){const s=I(r);if(s instanceof Oe){const i=s;e=D0(n+1,Je(i)),t=Ze(i);continue e}else return n+1|0}else return n|0}}function I2(e){return D0(0,e)}function kt(e,t,n,r){let s,i,o;const a=e;if(a!=null){const c=I(a);o=c instanceof Oe?(s=c,Fn(s)):1}else o=0;let l;const u=r;if(u!=null){const c=I(u);l=c instanceof Oe?(i=c,Fn(i)):1}else l=0;const f=(o<l?l:o)|0;return f===0?Ri(t,n):Li(t,n,e,r,f+1)}function N0(e,t,n,r){let s,i,o,a,l,u,f,c,p;const m=e;if(m!=null){const w=I(m);p=w instanceof Oe?(s=w,Fn(s)):1}else p=0;let $;const g=r;if(g!=null){const w=I(g);$=w instanceof Oe?(i=w,Fn(i)):1}else $=0;if($>p+2){const w=I(r);if(w instanceof Oe){const v=w;if(o=Je(v),(o!=null?(a=I(o),a instanceof Oe?(l=a,Fn(l)):1):0)>p+1){const S=I(Je(v));if(S instanceof Oe){const N=S;return kt(kt(e,t,n,Je(N)),Ye(N),ot(N),kt(Ze(N),Ye(v),ot(v),Ze(v)))}else throw new Error("internal error: Map.rebalance")}else return kt(kt(e,t,n,Je(v)),Ye(v),ot(v),Ze(v))}else throw new Error("internal error: Map.rebalance")}else if(p>$+2){const w=I(e);if(w instanceof Oe){const v=w;if(u=Ze(v),(u!=null?(f=I(u),f instanceof Oe?(c=f,Fn(c)):1):0)>$+1){const S=I(Ze(v));if(S instanceof Oe){const N=S;return kt(kt(Je(v),Ye(v),ot(v),Je(N)),Ye(N),ot(N),kt(Ze(N),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return kt(Je(v),Ye(v),ot(v),kt(Ze(v),t,n,r))}else throw new Error("internal error: Map.rebalance")}else return kt(e,t,n,r)}function Tr(e,t,n,r){if(r!=null){const s=I(r),i=e.Compare(t,Ye(s))|0;if(s instanceof Oe){const o=s;return i<0?N0(Tr(e,t,n,Je(o)),Ye(o),ot(o),Ze(o)):i===0?Li(t,n,Je(o),Ze(o),Fn(o)):N0(Je(o),Ye(o),ot(o),Tr(e,t,n,Ze(o)))}else return i<0?Li(t,n,void 0,r,2):i===0?Ri(t,n):Li(t,n,r,void 0,2)}else return Ri(t,n)}function R0(e,t,n){e:for(;;){const r=e,s=t,i=n;if(i!=null){const o=I(i),a=r.Compare(s,Ye(o))|0;if(a===0)return Ee(ot(o));if(o instanceof Oe){const l=o;e=r,t=s,n=a<0?Je(l):Ze(l);continue e}else return}else return}}function A2(e,t,n){const r=R0(e,t,n);if(r==null)throw new Error;return I(r)}function E2(e,t,n){e:for(;;){const r=e,s=t,i=n;if(i!=null){const o=I(i),a=r.Compare(s,Ye(o))|0;if(o instanceof Oe){const l=o;if(a<0){e=r,t=s,n=Je(l);continue e}else{if(a===0)return!0;e=r,t=s,n=Ze(l);continue e}}else return a===0}else return!1}}function L0(e,t){e:for(;;){const n=e,r=t;if(r!=null){const s=I(r);if(s instanceof Oe){const i=s;L0(n,Je(i)),n(Ye(i),ot(i)),e=n,t=Ze(i);continue e}else n(Ye(s),ot(s))}break}}function T2(e,t){L0(e,t)}function P2(e,t,n){let r=n;T2((s,i)=>{gt(t,r,[s,i]),r=r+1|0},e)}function M2(e,t){return Mt((n,r)=>Tr(e,r[0],r[1],n),void 0,t)}function O2(e,t,n){e:for(;;){const r=e,s=t,i=n;if(i["System.Collections.IEnumerator.MoveNext"]()){const o=i["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=Tr(r,o[0],o[1],s),n=i;continue e}else return s}}function D2(e,t){let n=void 0;for(let r=0;r<=t.length-1;r++){const s=se(r,t);n=Tr(e,s[0],s[1],n)}return n}function B0(e,t){if(mt(t))return D2(e,t);if(t instanceof Ue)return M2(e,t);{const n=$e(t);try{return O2(e,void 0,n)}finally{ue(n)}}}class N2 extends F{constructor(t,n){super(),this.stack=t,this.started=n}}function V0(e){e:for(;;){const t=e;if(M(t))return de();{const n=P(t),r=k(t);if(r!=null){const s=I(r);if(s instanceof Oe){const i=s;e=Ce([Je(i),Ri(Ye(i),ot(i)),Ze(i)],n);continue e}else return t}else{e=n;continue e}}}}function F0(e){return new N2(V0(E(e)),!1)}function R2(){throw new Error("enumeration not started")}function L2(){throw new Error("enumeration already finished")}function W0(e){if(e.started){const t=e.stack;if(M(t))return L2();if(k(t)!=null){const n=I(k(t));if(n instanceof Oe)throw new Error("Please report error: Map iterator, unexpected stack for current");return[Ye(n),ot(n)]}else throw new Error("Please report error: Map iterator, unexpected stack for current")}else return R2()}function B2(e){if(e.started){const t=e.stack;if(M(t))return!1;if(k(t)!=null){if(I(k(t))instanceof Oe)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=V0(P(t)),!M(e.stack)}else throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}else return e.started=!0,!M(e.stack)}function j0(e){let t=F0(e);return{"System.Collections.Generic.IEnumerator`1.get_Current"(){return W0(t)},"System.Collections.IEnumerator.get_Current"(){return W0(t)},"System.Collections.IEnumerator.MoveNext"(){return B2(t)},"System.Collections.IEnumerator.Reset"(){t=F0(e)},Dispose(){}}}class Bi{constructor(t,n){this.comparer=t,this.tree=n}GetHashCode(){return j2(this)|0}Equals(t){const n=this;if(t instanceof Bi){const r=t,s=$e(n);try{const i=$e(r);try{const o=()=>{const a=s["System.Collections.IEnumerator.MoveNext"]();if(a===i["System.Collections.IEnumerator.MoveNext"]())if(a){const l=s["System.Collections.Generic.IEnumerator`1.get_Current"](),u=i["System.Collections.Generic.IEnumerator`1.get_Current"]();return O(l[0],u[0])&&O(l[1],u[1])?o():!1}else return!0;else return!1};return o()}finally{ue(i)}}finally{ue(s)}}else return!1}toString(){return"map ["+ve("; ",Ie(n=>cc("({0}, {1})",n[0],n[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(){const t=this;return Array.from(t)}GetEnumerator(){return j0(this.tree)}[Symbol.iterator](){return Fr($e(this))}"System.Collections.IEnumerable.GetEnumerator"(){return j0(this.tree)}CompareTo(t){const n=this;if(t instanceof Bi)return np((s,i)=>{const o=n.comparer.Compare(s[0],i[0])|0;return(o!==0?o:ut(s[1],i[1]))|0},n,t)|0;throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(t){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(t){const n=this;return z0(n,t[0])&&O(U0(n,t[0]),t[1])}"System.Collections.Generic.ICollection`1.CopyToZ3B4C077E"(t,n){P2(this.tree,t,n)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return ul(this)|0}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return ul(this)|0}get size(){return ul(this)|0}clear(){throw new Error("Map cannot be mutated")}delete(t){throw new Error("Map cannot be mutated")}entries(){return Ie(n=>[n[0],n[1]],this)}get(t){return U0(this,t)}has(t){return z0(this,t)}keys(){return Ie(n=>n[0],this)}set(t,n){throw new Error("Map cannot be mutated")}values(){return Ie(n=>n[1],this)}forEach(t,n){const r=this;xn(s=>{t(s[1],s[0],r)},r)}}function Vi(e,t){return new Bi(e,t)}function V2(e){return Vi(e,void 0)}function F2(e,t,n){return Vi(e.comparer,Tr(e.comparer,t,n,e.tree))}function U0(e,t){return A2(e.comparer,t,e.tree)}function ul(e){return I2(e.tree)}function z0(e,t){return E2(e.comparer,t,e.tree)}function W2(e,t){return R0(e.comparer,t,e.tree)}function j2(e){const t=(s,i)=>(s<<1)+i+631;let n=0;const r=$e(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const s=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=t(n,Ut(s[0]))|0,n=t(n,Ut(s[1]))|0}}finally{ue(r)}return n|0}function H0(e,t,n){return F2(n,e,t)}function G0(e,t){return W2(t,e)}function U2(e,t){return Vi(t,B0(t,e))}function z2(e,t){return Vi(t,B0(t,e))}function cl(e){return V2(e)}function fl(e){return new P0("Content-Type",e)}function H2(e){return new P0("Authorization",e)}const Wn=new ms("",new Bt(0,[]),de(),!1,void 0,void 0,void 0,new Zt(0,[]));new M0(0,"","","",cl({Compare:Ls}),new Er(0,[""]));function q0(e,t){return fc(t)?new Array(0):Qs(t,[e],void 0,0)}function G2(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"}}function Xt(e){return new ms(e,Wn.method,Wn.headers,Wn.withCredentials,Wn.overridenMimeType,Wn.overridenResponseType,Wn.timeout,Wn.content)}function Kt(e,t){return new ms(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Fi(e,t){return new ms(t.url,t.method,wt(t.headers,E(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function pn(e,t){return new ms(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function ps(e){return Ff(t=>{const n=new XMLHttpRequest;n.open(G2(e.method),e.url),n.onreadystatechange=()=>{let l,u,f,c,p,m,$;n.readyState===4&&t[0]((l=(u=n.responseType,u===""||u==="text"?n.responseText:""),f=n.status|0,c=n.responseType,p=(m=n.responseType,m===""?new Er(0,[n.responseText]):m==="text"?new Er(0,[n.responseText]):m==="arraybuffer"?new Er(2,[n.response]):m==="blob"?new Er(1,[n.response]):new Er(3,[n.response])),$=z2(I1(g=>{const w=y(q0(":",g));if(!M(w))return[k(w).toLocaleLowerCase(),ve(":",P(w)).trim()]},q0(`\r
776
+ `,n.getAllResponseHeaders())),{Compare:Ls}),new M0(f,l,c,n.responseURL,$,p)))};const r=$e(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const l=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n.setRequestHeader(l.fields[0],l.fields[1])}}finally{ue(r)}n.withCredentials=e.withCredentials;const s=e.overridenMimeType;if(s!=null){const l=s;n.overrideMimeType(l)}const i=e.overridenResponseType;if(i!=null)switch(i.tag){case 1:{n.responseType="blob";break}case 2:{n.responseType="arraybuffer";break}default:n.responseType="text"}const o=e.timeout;if(o!=null){const l=o|0;n.timeout=l|0}const a=e.content;switch(a.tag){case 1:{n.send(Ee(a.fields[0]));break}case 3:{n.send(Ee(a.fields[0]));break}case 2:{n.send(Ee(a.fields[0]));break}default:n.send()}})}function $s(e){return e<0?Math.ceil(e):Math.floor(e)}function Y0(e=0,t=0,n=0,r=0,s=0){switch(arguments.length){case 1:return q2(arguments[0]);case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],s=0;break}return e*864e5+t*36e5+n*6e4+r*1e3+s}function q2(e){return Number(BigInt(e)/10000n)}function Y2(e){return $s(e/864e5)}function J2(e){return $s(e%864e5/36e5)}function Z2(e){return $s(e%36e5/6e4)}function X2(e){return $s(e%6e4/1e3)}function K2(e){return $s(e%1e3)}function Q2(e,t="c",n){if(["c","g","G"].indexOf(t)===-1)throw new Error("Custom formats are not supported");const r=Math.abs(Y2(e)),s=Math.abs(J2(e)),i=Math.abs(Z2(e)),o=Math.abs(X2(e)),a=Math.abs(K2(e));return`${e<0?"-":""}${r===0&&(t==="c"||t==="g")?"":t==="c"?r+".":r+":"}${t==="g"?s:ce(s,2)}:${ce(i,2)}:${ce(o,2)}${a===0&&(t==="c"||t==="g")?"":t==="g"?"."+ce(a,3):"."+$m(a,3,7)}`}function ev(e){const t=e.search("\\."),n=e.search("\\:");if(t===-1&&n===-1){const r=parseInt(e,0);if(isNaN(r))throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`);return Y0(r,0,0,0,0)}if(n>0){const r=/^(-?)((\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(r!=null&&r[4]!=null&&r[5]!=null){let s=0,i=0,o=0;const a=r[1]!=null&&r[1]==="-"?-1:1,l=+r[4],u=+r[5];if(r[3]!=null&&(s=+r[3]),r[7]!=null&&(o=+r[7]),r[8]!=null)switch(r[8].length){case 1:i=+r[8]*100;break;case 2:i=+r[8]*10;break;case 3:i=+r[8];break;case 4:i=+r[8]/10;break;case 5:i=+r[8]/100;break;case 6:i=+r[8]/1e3;break;case 7:i=+r[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return a*Y0(s,l,u,o,i)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}function tv(e,t){try{return t.contents=ev(e),!0}catch{return!1}}class V extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class He extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["PascalCase","CamelCase","SnakeCase"]}}function J0(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function Z0(e,t){switch(e.tag){case 2:return d1(J0(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return J0(t)}}function nv(e){return e}const X0=ne();function Wi(e){return Array.from(e)}function rv(e){return Js(e,"O")}function sv(e){return Q2(e)}function iv(){return ne()}function ov(e){return Js(e,"O")}function $n(e,t){return JSON.stringify(t,void 0,Ee(e))}function av(e){return t=>qm(Be(e,t),()=>X0)}function K0(e,t,n,r){let s;const i=new Xe(ne());let o;const a=ye(r);o=a===""?e:H0(a,i,e);let l;if(Hu(r)){const u=ir(f=>{const c=Z0(t,er(f)),p=Qt(o,t,n,f[1]);return m=>$=>{const g=Um(m,f);return(!n||n&&g!=null)&&($[c]=p(g)),$}},Ur(r));l=f=>Kr((c,p)=>p(f)(c),{},u)}else if(zu(r))l=u=>{const f=jm(u,r),c=f[0],p=f[1],m=p.length|0;if(m===0)return er(c);{const $=m|0,g=Gu(c),w=ei(new Array($+1),0,$+1,null);gt(w,0,er(c));for(let v=1;v<=$;v++){const S=Qt(o,t,n,se(v-1,g)[1]);gt(w,v,S(se(v-1,p)))}return w}};else throw new Error((s=ye(r),je(We(`Cannot generate auto encoder for %s. Please pass an extra encoder.
777
+
778
+ Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders`))(s)));return i.contents=l,l}function Qt(e,t,n,r){const s=ye(r),i=G0(s,e);if(i==null)if(Bu(r)){const o=Qt(e,t,n,jr(r));return a=>Wi(Ie(o,a))}else if(Ao(r))switch(ye(Wu(r))){case"System.SByte":return a=>a;case"System.Byte":return a=>a;case"System.Int16":return a=>a;case"System.UInt16":return a=>a;case"System.Int32":return a=>a;case"System.UInt32":return a=>a;default:{const a=ye(r);return ac(We(`Cannot generate auto encoder for %s.
779
+ Thoth.Json.Net only support the following enum types:
780
+ - sbyte
781
+ - byte
782
+ - int16
783
+ - uint16
784
+ - int
785
+ - uint32
786
+
787
+ If you can't use one of these types, please pass an extra encoder.
788
+
789
+ Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders
790
+ `))(a)}}else if(Vu(r))if(Eo(r)){const o=ir(a=>Qt(e,t,n,a),Uu(r));return a=>Wi(sp((l,u)=>se(l,o)(u),a))}else{const o=ye(Fu(r));if(o==="Microsoft.FSharp.Core.FSharpOption`1[System.Object]"){const a=new pm(()=>av(Qt(e,t,n,se(0,tt(r)))));return l=>l==null?X0:a.Value(l)}else if(o==="Microsoft.FSharp.Collections.FSharpList`1[System.Object]"||o==="Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"||o==="System.Collections.Generic.IEnumerable`1[System.Object]"){const a=Qt(e,t,n,se(0,tt(r)));return l=>Wi(Ie(a,l))}else if(o==="Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"){const a=se(0,tt(r)),l=Qt(e,t,n,se(1,tt(r)));if(ye(a)==="System.String"||ye(a)==="System.Guid")return u=>Kr((f,c)=>{const p=c;return f[p[0]]=l(p[1]),f},{},u);{let u;return u=Qt(e,t,n,a),c=>Wi(Ie(p=>{const m=p;return[u(m[0]),l(m[1])]},c))}}else return K0(e,t,n,r)}else switch(s){case"System.Boolean":return o=>o;case"Microsoft.FSharp.Core.Unit":return iv;case"System.String":return o=>o;case"System.Char":return o=>o;case"System.SByte":return o=>o;case"System.Byte":return o=>o;case"System.Int16":return o=>o;case"System.UInt16":return o=>o;case"System.Int32":return o=>o;case"System.UInt32":return o=>o;case"System.Double":return o=>o;case"System.Single":return o=>o;case"System.DateTime":return ov;case"System.DateTimeOffset":return rv;case"System.TimeSpan":return sv;case"System.Guid":return nv;case"System.Object":return o=>o;default:return K0(e,t,n,r)}else{const o=i;return a=>o.contents(a)}}function lv(e){return cl({Compare:Ls})}function gn(e,t,n,r){const s=Te(t,new He(0,[])),i=Te(r,!0);return Qt(lv(),s,i,e)}function Q0(e,t){uv(t);const n=new Date(e);return n.offset=t??new Date().getTimezoneOffset()*-6e4,n}function uv(e){if(e!=null&&e!==0){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.")}}function cv(){return Q0(-621355968e5,0)}function fv(e){const[t,n]=Xu(e),r=n==null?t.getTimezoneOffset()*-6e4:n==="Z"?0:n*6e4;return Q0(t.getTime(),r)}function dv(e,t){try{return t.contents=fv(e),!0}catch{return!1}}function gs(e,t,n){try{return"Expecting "+e+" but instead got:"+(n?`
791
+ `:" ")+(JSON.stringify(t,null,4)+"")}catch{return"Expecting "+e+" but decoder failed. Couldn't report given value due to circular structure."+(n?`
792
+ `:" ")}}function hv(e,t){const n=t.tag===2?gs(t.fields[0],t.fields[1],!0):t.tag===1?gs(t.fields[0],t.fields[1],!1)+`
793
+ Reason: `+t.fields[2]:t.tag===3?gs(t.fields[0],t.fields[1],!0):t.tag===4?gs(t.fields[0],t.fields[1],!0)+("\nNode `"+t.fields[2]+"` is unkown."):t.tag===5?"Expecting "+t.fields[0]+`.
794
+ `+(JSON.stringify(t.fields[1],null,4)+""):t.tag===7?`The following errors were found:
795
+
796
+ `+ve(`
797
+
798
+ `,t.fields[0]):t.tag===6?"The following `failure` occurred with the decoder: "+t.fields[0]:gs(t.fields[0],t.fields[1],!1);return t.tag===7?n:"Error at: `"+e+"`\n"+n}function eh(e,t,n){const r=t(e,n);if(r.tag===1){const s=r.fields[0];return new h(1,[hv(s[0],s[1])])}else return new h(0,[r.fields[0]])}function en(e,t){try{return eh("$",e,JSON.parse(t))}catch(n){if(n instanceof SyntaxError)return new h(1,["Given an invalid JSON: "+n.message]);throw n}}function th(e,t){return typeof t=="string"?new h(0,[t]):new h(1,[[e,new V(0,["a string",t])]])}function mv(e,t){if(typeof t=="string"){const n=t;return n.length===1?new h(0,[n[0]]):new h(1,[[e,new V(0,["a single character string",t])]])}else return new h(1,[[e,new V(0,["a char",t])]])}function pv(e,t){if(typeof t=="string"){let n,r="00000000-0000-0000-0000-000000000000";return n=[Yp(t,new Xe(()=>r,s=>{r=s})),r],n[0]?new h(0,[n[1]]):new h(1,[[e,new V(0,["a guid",t])]])}else return new h(1,[[e,new V(0,["a guid",t])]])}function $v(e,t){return t==null?new h(0,[void 0]):new h(1,[[e,new V(0,["null",t])]])}const nh=e=>t=>{const n=e,r=t;if(typeof r=="number"){const s=r;return isFinite(s)&&Math.floor(s)===s?-128<=s&&s<=127?new h(0,[(s+128&255)-128]):new h(1,[[n,new V(1,["a sbyte",s,"Value was either too large or too small for a sbyte"])]]):new h(1,[[n,new V(1,["a sbyte",s,"Value is not an integral value"])]])}else if(typeof r=="string"){let s,i=0;return s=[dr(r,511,!1,8,new Xe(()=>i,o=>{i=o|0})),i],s[0]?new h(0,[s[1]]):new h(1,[[n,new V(0,["a sbyte",r])]])}else return new h(1,[[n,new V(0,["a sbyte",r])]])},rh=e=>t=>{const n=e,r=t;if(typeof r=="number"){const s=r;return isFinite(s)&&Math.floor(s)===s?0<=s&&s<=255?new h(0,[s&255]):new h(1,[[n,new V(1,["a byte",s,"Value was either too large or too small for a byte"])]]):new h(1,[[n,new V(1,["a byte",s,"Value is not an integral value"])]])}else if(typeof r=="string"){let s,i=0;return s=[dr(r,511,!0,8,new Xe(()=>i,o=>{i=o})),i],s[0]?new h(0,[s[1]]):new h(1,[[n,new V(0,["a byte",r])]])}else return new h(1,[[n,new V(0,["a byte",r])]])},sh=e=>t=>{const n=e,r=t;if(typeof r=="number"){const s=r;return isFinite(s)&&Math.floor(s)===s?-32768<=s&&s<=32767?new h(0,[(s+32768&65535)-32768]):new h(1,[[n,new V(1,["an int16",s,"Value was either too large or too small for an int16"])]]):new h(1,[[n,new V(1,["an int16",s,"Value is not an integral value"])]])}else if(typeof r=="string"){let s,i=0;return s=[dr(r,511,!1,16,new Xe(()=>i,o=>{i=o|0})),i],s[0]?new h(0,[s[1]]):new h(1,[[n,new V(0,["an int16",r])]])}else return new h(1,[[n,new V(0,["an int16",r])]])},ih=e=>t=>{const n=e,r=t;if(typeof r=="number"){const s=r;return isFinite(s)&&Math.floor(s)===s?0<=s&&s<=65535?new h(0,[s&65535]):new h(1,[[n,new V(1,["an uint16",s,"Value was either too large or too small for an uint16"])]]):new h(1,[[n,new V(1,["an uint16",s,"Value is not an integral value"])]])}else if(typeof r=="string"){let s,i=0;return s=[dr(r,511,!0,16,new Xe(()=>i,o=>{i=o})),i],s[0]?new h(0,[s[1]]):new h(1,[[n,new V(0,["an uint16",r])]])}else return new h(1,[[n,new V(0,["an uint16",r])]])},oh=e=>t=>{const n=e,r=t;if(typeof r=="number"){const s=r;return isFinite(s)&&Math.floor(s)===s?-2147483648<=s&&s<=2147483647?new h(0,[~~s]):new h(1,[[n,new V(1,["an int",s,"Value was either too large or too small for an int"])]]):new h(1,[[n,new V(1,["an int",s,"Value is not an integral value"])]])}else if(typeof r=="string"){let s,i=0;return s=[dr(r,511,!1,32,new Xe(()=>i,o=>{i=o|0})),i],s[0]?new h(0,[s[1]]):new h(1,[[n,new V(0,["an int",r])]])}else return new h(1,[[n,new V(0,["an int",r])]])},ah=e=>t=>{const n=e,r=t;if(typeof r=="number"){const s=r;return isFinite(s)&&Math.floor(s)===s?0<=s&&s<=4294967295?new h(0,[s>>>0]):new h(1,[[n,new V(1,["an uint32",s,"Value was either too large or too small for an uint32"])]]):new h(1,[[n,new V(1,["an uint32",s,"Value is not an integral value"])]])}else if(typeof r=="string"){let s,i=0;return s=[dr(r,511,!0,32,new Xe(()=>i,o=>{i=o})),i],s[0]?new h(0,[s[1]]):new h(1,[[n,new V(0,["an uint32",r])]])}else return new h(1,[[n,new V(0,["an uint32",r])]])};function gv(e,t){return typeof t=="boolean"?new h(0,[t]):new h(1,[[e,new V(0,["a boolean",t])]])}function wv(e,t){return typeof t=="number"?new h(0,[t]):new h(1,[[e,new V(0,["a float",t])]])}function yv(e,t){return typeof t=="number"?new h(0,[t]):new h(1,[[e,new V(0,["a float32",t])]])}function _v(e,t){if(typeof t=="string"){let n,r=r1();return n=[i1(t,new Xe(()=>r,s=>{r=s})),r],n[0]?new h(0,[l1(n[1])]):new h(1,[[e,new V(0,["a datetime",t])]])}else return new h(1,[[e,new V(0,["a datetime",t])]])}function vv(e,t){if(typeof t=="string"){let n,r=cv();return n=[dv(t,new Xe(()=>r,s=>{r=s})),r],n[0]?new h(0,[n[1]]):new h(1,[[e,new V(0,["a datetimeoffset",t])]])}else return new h(1,[[e,new V(0,["a datetime",t])]])}function bv(e,t){if(typeof t=="string"){let n,r=0;return n=[tv(t,new Xe(()=>r,s=>{r=s})),r],n[0]?new h(0,[n[1]]):new h(1,[[e,new V(0,["a timespan",t])]])}else return new h(1,[[e,new V(0,["a timespan",t])]])}function lh(e,t,n,r){let s;const i=n+".["+rn(e)+"]";if(Array.isArray(r)){const o=r;return e<o.length?t(i,se(e,o)):new h(1,[[i,new V(5,["a longer array. Need index `"+rn(e)+"` but there are only `"+(s=o.length,rn(s))+"` entries",r])]])}else return new h(1,[[i,new V(0,["an array",r])]])}function Cv(e,t,n){return n==null?new h(0,[void 0]):_t(Ee,e(t,n))}function uh(e,t,n){if(Array.isArray(n)){let r=-1;return _t(lr,ti((s,i)=>{if(r=r+1|0,s.tag===0){const o=e(t+".["+rn(r)+"]",i);return o.tag===0?new h(0,[Qe(o.fields[0],s.fields[0])]):new h(1,[o.fields[0]])}else return s},new h(0,[de()]),n))}else return new h(1,[[t,new V(0,["a list",n])]])}function Sv(e,t,n){if(Array.isArray(n)){let r=-1;return _t(ip,ti((s,i)=>{if(r=r+1|0,s.tag===0){const o=e(t+".["+rn(r)+"]",i);return o.tag===0?new h(0,[W([o.fields[0]],s.fields[0])]):new h(1,[o.fields[0]])}else return s},new h(0,[[]]),n))}else return new h(1,[[t,new V(0,["a seq",n])]])}function ch(e,t,n){if(Array.isArray(n)){let r=-1;const s=n;return ti((i,o)=>{if(r=r+1|0,i.tag===0){const a=i.fields[0],l=e(t+".["+rn(r)+"]",o);return l.tag===0?(gt(a,r,l.fields[0]),new h(0,[a])):new h(1,[l.fields[0]])}else return i},new h(0,[ei(new Array(s.length),0,s.length,null)]),s)}else return new h(1,[[t,new V(0,["an array",n])]])}function kv(e,t,n){return((s,i)=>{e:for(;;){const o=s,a=i;if(M(o))return new h(1,[[t,new V(7,[a])]]);{const l=eh(t,re(k(o)),n);if(l.tag===1){s=P(o),i=wt(a,E(l.fields[0]));continue e}else return new h(0,[l.fields[0]])}}})(e,de())}function xv(e,t,n){return new h(0,[e])}function fh(e,t,n,r){const s=t(n,r);return s.tag===0?e(s.fields[0],n,r):new h(1,[s.fields[0]])}function Iv(e,t,n,r){const s=t(n,r);return s.tag===1?new h(1,[s.fields[0]]):new h(0,[e(s.fields[0])])}function Av(e,t){let n;const r=e;return n=s=>i=>lh(0,r,s,i),s=>i=>fh(ko(o=>{let a;const l=t;return a=u=>f=>lh(1,l,u,f),u=>f=>fh((c,p,m)=>xv([o,c]),re(a),u,f)}),re(n),s,i)}function Ev(e){return U2(e,{Compare:ut})}function Tv(e){return Ky(e,{Compare:ut})}function Pv(e,t,n){return n!==null&&Object.getPrototypeOf(n||!1)===Object.prototype?$c((r,s)=>{const i=r[0];return s.tag===0?_t(o=>Qe(o,s.fields[0]),r[1](t+"."+i)(n[i])):s},e,new h(0,[de()])):new h(1,[[t,new V(0,["an object",n])]])}function Mv(e,t,n,r){return r!==null&&Object.getPrototypeOf(r||!1)===Object.prototype?Kr((s,i)=>{if(s.tag===0){const o=e(n,i);if(o.tag===0){const a=t(n+"."+i,r[i]);return a.tag===0?new h(0,[Qe([o.fields[0],a.fields[0]],s.fields[0])]):new h(1,[a.fields[0]])}else return new h(1,[o.fields[0]])}else return s},new h(0,[de()]),Object.keys(r)):new h(1,[[n,new V(0,["an object",r])]])}function dh(e,t,n,r){let s;const i=t.length+e|0;if(i!==r.length)return new h(1,[[n,new V(6,[(s=r.length|0,je(We("Expected array of length %i but got %i"))(i)(s))])]]);{let o=new h(0,[de()]);for(let a=e;a<=r.length-1;a++)if(o.tag===0){const l=o.fields[0],u=je(We("%s[%i]"))(n)(a),f=se(a-e,t),c=se(a,r);o=_t(p=>Qe(p,l),f(u)(c))}return _t(lr,o)}}function hh(e,t,n,r,s,i){const o=k1(a=>er(a)===r,ju(n));if(o!=null){const a=o,l=ir(u=>xt(e,t,!1,u[1]),Gu(a));return _t(u=>zm(a,ar(u)),l.length===0&&i.length<=1?new h(0,[de()]):dh(1,l,s,i))}else return new h(1,[[s,new V(6,["Cannot find case "+r+" in "+ye(n)])]])}function mh(e,t,n,r){let s;const i=new Xe(ne());let o;const a=ye(r);o=a===""?e:H0(a,i,e);let l;if(Hu(r)){const u=ir(f=>[Z0(t,er(f)),xt(o,t,!1,f[1])],Ur(r));l=f=>c=>_t(p=>Hm(r,ar(p)),Pv(u,f,c))}else if(zu(r))l=u=>f=>{if(typeof f=="string")return hh(o,t,r,f,u,[]);if(Array.isArray(f)){const c=f;return Vc(p=>hh(o,t,r,p,u,c),th(u+"[0]",se(0,c)))}else return new h(1,[[u,new V(0,["a string or array",f])]])};else if(n)l=u=>f=>new h(1,[[u,new V(2,["an extra coder for "+ye(r),f])]]);else throw new Error((s=ye(r),je(We(`Cannot generate auto decoder for %s. Please pass an extra decoder.
799
+
800
+ Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation/auto/extra-coders.html#ready-to-use-extra-coders`))(s)));return i.contents=l,l}function xt(e,t,n,r){let s,i,o,a;const l=ye(r),u=G0(l,e);if(u==null)if(Bu(r)){const f=xt(e,t,!1,jr(r));return c=>p=>ch(re(f),c,p)}else if(Ao(r))switch(ye(Wu(r))){case"System.SByte":return c=>p=>{const m=r,$=c,g=p,w=nh($)(g);if(w.tag===1)return new h(1,[w.fields[0]]);{const v=w.fields[0]|0;return kn(v,tr(m),{Equals:(S,N)=>S===N,GetHashCode:pt})?new h(0,[nr(m,v.toString())]):new h(1,[[$,new V(1,[ye(m),g,"Unkown value provided for the enum"])]])}};case"System.Byte":return c=>p=>{const m=r,$=c,g=p,w=rh($)(g);if(w.tag===1)return new h(1,[w.fields[0]]);{const v=w.fields[0];return kn(v,tr(m),{Equals:(S,N)=>S===N,GetHashCode:pt})?new h(0,[nr(m,v.toString())]):new h(1,[[$,new V(1,[ye(m),g,"Unkown value provided for the enum"])]])}};case"System.Int16":return c=>p=>{const m=r,$=c,g=p,w=sh($)(g);if(w.tag===1)return new h(1,[w.fields[0]]);{const v=w.fields[0]|0;return kn(v,tr(m),{Equals:(S,N)=>S===N,GetHashCode:pt})?new h(0,[nr(m,gm(v))]):new h(1,[[$,new V(1,[ye(m),g,"Unkown value provided for the enum"])]])}};case"System.UInt16":return c=>p=>{const m=r,$=c,g=p,w=ih($)(g);if(w.tag===1)return new h(1,[w.fields[0]]);{const v=w.fields[0];return kn(v,tr(m),{Equals:(S,N)=>S===N,GetHashCode:pt})?new h(0,[nr(m,v.toString())]):new h(1,[[$,new V(1,[ye(m),g,"Unkown value provided for the enum"])]])}};case"System.Int32":return c=>p=>{const m=r,$=c,g=p,w=oh($)(g);if(w.tag===1)return new h(1,[w.fields[0]]);{const v=w.fields[0]|0;return kn(v,tr(m),{Equals:(S,N)=>S===N,GetHashCode:pt})?new h(0,[nr(m,rn(v))]):new h(1,[[$,new V(1,[ye(m),g,"Unkown value provided for the enum"])]])}};case"System.UInt32":return c=>p=>{const m=r,$=c,g=p,w=ah($)(g);if(w.tag===1)return new h(1,[w.fields[0]]);{const v=w.fields[0];return kn(v,tr(m),{Equals:(S,N)=>S===N,GetHashCode:pt})?new h(0,[nr(m,v.toString())]):new h(1,[[$,new V(1,[ye(m),g,"Unkown value provided for the enum"])]])}};default:{const c=ye(r),p=ac(We(`Cannot generate auto decoder for %s.
801
+ Thoth.Json.Net only support the following enum types:
802
+ - sbyte
803
+ - byte
804
+ - int16
805
+ - uint16
806
+ - int
807
+ - uint32
808
+ If you can't use one of these types, please pass an extra decoder.
809
+ `))(c);return m=>p(m)}}else if(Vu(r))if(Eo(r)){const f=ir(c=>xt(e,t,!1,c),Uu(r));return c=>p=>Array.isArray(p)?_t(m=>Gm(ar(m)),dh(0,f,c,p)):new h(1,[[c,new V(0,["an array",p])]])}else switch(ye(Fu(r))){case"Microsoft.FSharp.Core.FSharpOption`1[System.Object]":return s=xt(e,t,!0,se(0,tt(r))),c=>p=>Cv(re(s),c,p);case"Microsoft.FSharp.Collections.FSharpList`1[System.Object]":return i=xt(e,t,!1,se(0,tt(r))),c=>p=>uh(re(i),c,p);case"System.Collections.Generic.IEnumerable`1[System.Object]":return o=xt(e,t,!1,se(0,tt(r))),c=>p=>Sv(re(o),c,p);case"Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]":{const c=xt(e,t,!1,se(0,tt(r))),p=xt(e,t,!1,se(1,tt(r)));let m;const $=y([g=>w=>Mv(re(c),re(p),g,w),(a=Av(re(c),re(p)),g=>w=>uh(re(a),g,w))]);return m=g=>w=>kv($,g,w),g=>w=>Iv(Ev,re(m),g,w)}case"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]":{const c=xt(e,t,!1,se(0,tt(r)));return p=>m=>{const $=ch(re(c),p,m);return $.tag===0?new h(0,[Tv($.fields[0])]):new h(1,[$.fields[0]])}}default:return mh(e,t,n,r)}else switch(l){case"System.Boolean":return f=>c=>gv(f,c);case"Microsoft.FSharp.Core.Unit":return f=>c=>$v(f,c);case"System.String":return f=>c=>th(f,c);case"System.Char":return f=>c=>mv(f,c);case"System.SByte":return nh;case"System.Byte":return rh;case"System.Int16":return sh;case"System.UInt16":return ih;case"System.Int32":return oh;case"System.UInt32":return ah;case"System.Double":return f=>c=>wv(f,c);case"System.Single":return f=>c=>yv(f,c);case"System.DateTime":return f=>c=>_v(f,c);case"System.DateTimeOffset":return f=>c=>vv(f,c);case"System.TimeSpan":return f=>c=>bv(f,c);case"System.Guid":return f=>c=>pv(f,c);case"System.Object":return f=>c=>new h(0,[c]);default:return mh(e,t,n,r)}else{const f=u;return c=>p=>f.contents(c)(p)}}function Ov(e){return cl({Compare:Ls})}function tn(e,t,n){const r=Te(t,new He(0,[]));return xt(Ov(),r,!1,e)}class Dv{constructor(t){this.magicLink=t,this.backendUrl=`${Vn}/workflows/public-backend/invites/${this.magicLink.InviteToken}`}}function Nv(e){return new Dv(e)}function Rv(e){return A.Delay(()=>{let t,n;const r=ws(e,(t=Kt(new Bt(1,[]),Xt(`${e.backendUrl}/magic-link/validate`)),pn(new Zt(1,[(n=new S0(e.magicLink.MagicCode),$n(0,gn(U_(),new He(1,[]),void 0,void 0)(n)))]),t)));return A.Bind(r,s=>{const i=s;if(i.tag===1)return A.Return(new h(1,[i.fields[0]]));{let o;const a=i.fields[0];return o=a.statusCode===200?en(re(tn(J_(),new He(1,[]))),a.responseText):new h(1,["Unexpected response from backend"]),A.Return(o)}})})}function Lv(e,t){return A.Delay(()=>{let n,r;const s=ws(e,(n=Kt(new Bt(1,[]),Xt(`${e.backendUrl}/magic-link/reissue`)),pn(new Zt(1,[(r=new k0(e.magicLink.MagicCode,t),$n(0,gn(Z_(),new He(1,[]),void 0,void 0)(r)))]),n)));return A.Bind(s,i=>{const o=i;if(o.tag===1)return A.Return(new h(1,[o.fields[0]]));{let a;const l=o.fields[0];return a=l.statusCode===200?en(re(tn(e2(),new He(1,[]))),l.responseText):new h(1,["Unexpected response from backend"]),A.Return(a)}})})}function Bv(e,t){return A.Delay(()=>{let n,r;const s=ws(e,(n=Kt(new Bt(1,[]),Xt(`${e.backendUrl}/one-time-code/issue`)),pn(new Zt(1,[(r=new x0(e.magicLink.MagicCode,t),$n(0,gn(t2(),new He(1,[]),void 0,void 0)(r)))]),n)));return A.Bind(s,i=>{const o=i;if(o.tag===1)return A.Return(new h(1,[o.fields[0]]));{let a;const l=o.fields[0];return a=l.statusCode===200?en(re(tn(i2(),new He(1,[]))),l.responseText):new h(1,["Unexpected response from backend"]),A.Return(a)}})})}function Vv(e,t){return A.Delay(()=>{let n,r;const s=ws(e,(n=Kt(new Bt(1,[]),Xt(`${e.backendUrl}/one-time-code/validate`)),pn(new Zt(1,[(r=new I0(t),$n(0,gn(o2(),new He(1,[]),void 0,void 0)(r)))]),n)));return A.Bind(s,i=>{const o=i;if(o.tag===1)return A.Return(new h(1,[o.fields[0]]));{let a;const l=o.fields[0];return a=l.statusCode===200?en(re(tn(c2(),new He(1,[]))),l.responseText):new h(1,["Unexpected response from backend"]),A.Return(a)}})})}function Fv(e,t){return A.Delay(()=>{let n,r;const s=ws(e,(n=Kt(new Bt(1,[]),Xt(`${e.backendUrl}/progress`)),pn(new Zt(1,[(r=new A0(e.magicLink.MagicCode,t),$n(0,gn(f2(),new He(1,[]),void 0,void 0)(r)))]),n)));return A.Bind(s,i=>{const o=i;if(o.tag===1)return A.Return(new h(1,[o.fields[0]]));{let a;const l=o.fields[0];return a=l.statusCode===200?en(re(tn(p2(),new He(1,[]))),l.responseText):new h(1,["Unexpected response from backend"]),A.Return(a)}})})}function ws(e,t){return A.Delay(()=>{let n;const r=ps(t);return n=A.Bind(r,s=>A.Return(new h(0,[s]))),A.Bind(n,s=>{const i=s;if(i.tag===1)return A.Return(new h(1,[i.fields[0]]));{const o=i.fields[0];if(o.statusCode===429||o.statusCode>=500){let a;const l=$i(2e3);return a=A.Bind(l,u=>A.Return(new h(0,[u]))),A.Bind(a,u=>{const f=u;if(f.tag===1)return A.Return(new h(1,[f.fields[0]]));{const c=ps(t);return A.Bind(c,p=>A.Return(new h(0,[p])))}})}else return A.Return(new h(0,[o]))}})})}class Wv extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["AuthCode"]}}function dl(e){return new Wv(e)}function jv(e){return e.fields[0]}class ph extends F{constructor(t,n,r,s,i,o){super(),this.id_token=t,this.access_token=n,this.expires_in=r,this.refresh_token=s,this.scope=i,this.token_type=o}}function hl(){return fe("Workflows.UI.Auth.Types.Credentials",[],ph,()=>[["id_token",G],["access_token",G],["expires_in",Fm],["refresh_token",X(G)],["scope",G],["token_type",G]])}let jn=class extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["SignIn","SignInWithCurrentAuth","NavigateToOnboarding"]}};function Uv(){return[new sl(de(),new q(0,[]),void 0,new b0(0,[new C0(void 0)])),E(e=>{e(new z(1,[new Se(0,[])]))})]}function zv(e,t,n,r,s){let i,o,a,l,u,f,c;const p=Nv(e);switch(r.tag){case 1:if(r.fields[0].tag===1){if(r.fields[0].fields[0].tag===1)return[s,E(m=>{m(new z(0,[new q(6,[new ie(5,[])])]))})];{let m;const $=r.fields[0].fields[0].fields[0].Outcome;switch($.tag){case 1:{const g=$.fields[0],w=g.OneTimeCodeOptionAvailable;m=g.IsInitialMagicLinkUsed?w?new z(0,[new q(1,[g.FirstName,new rl(1,[])])]):new z(0,[new q(1,[g.FirstName,new rl(0,[])])]):w?new z(3,[!1,new Se(0,[])]):new z(0,[new q(4,[])]);break}case 4:{m=new z(0,[new q(5,[])]);break}case 2:case 7:{m=new z(0,[new q(6,[new ie(2,[])])]);break}case 3:{m=new z(0,[new q(6,[new ie(4,[])])]);break}case 5:{m=new z(0,[new q(6,[new ie(3,[])])]);break}case 6:{m=new z(0,[new q(6,[new ie(1,[])])]);break}default:{const g=$.fields[0];g.IsInitialMagicLinkUsed?(n(dl(g.AuthCode)),m=new z(0,[new q(1,[g.FirstName,new rl(2,[])])])):m=new z(6,[g.AuthCode])}}return[new sl(r.fields[0].fields[0].fields[0].CssOverrides,s.Page,G_(r.fields[0].fields[0].fields[0].Outcome),Te(q_(r.fields[0].fields[0].fields[0].Outcome),s.JourneyType)),E(g=>{g(m)})]}}else return[s,St(m=>{qe(m)},()=>Rv(p),void 0,m=>new z(1,[new Se(1,[m])]),m=>new z(1,[new Se(1,[new h(1,[m.message])])]))];case 2:return r.fields[1].tag===1?r.fields[1].fields[0].tag===1?[s,E(m=>{m(new z(0,[new q(6,[new ie(5,[])])]))})]:[s,(i=new z(0,[(o=r.fields[1].fields[0].fields[0].Outcome,o.tag===2?new q(2,[o.fields[0].MaskedEmail]):o.tag===1?new q(6,[new ie(2,[])]):o.tag===5?new q(6,[new ie(2,[])]):o.tag===3?new q(6,[new ie(4,[])]):o.tag===4?new q(6,[new ie(1,[])]):o.tag===6?new q(5,[]):o.tag===7?new q(6,[new ie(3,[])]):new q(2,[o.fields[0].MaskedEmail]))]),E(m=>{m(i)}))]:[s,St(m=>{qe(m)},m=>Lv(p,m),r.fields[0],m=>new z(2,[r.fields[0],new Se(1,[m])]),m=>new z(2,[r.fields[0],new Se(1,[new h(1,[m.message])])]))];case 3:return r.fields[1].tag===1?r.fields[1].fields[0].tag===1?[s,E(m=>{m(new z(0,[new q(6,[new ie(5,[])])]))})]:[s,(a=new z(0,[(l=r.fields[1].fields[0].fields[0].Outcome,l.tag===1?new q(4,[]):l.tag===2?new q(6,[new ie(0,[])]):l.tag===3?r.fields[0]?s.Page:new q(3,[l.fields[0].MaskedPhone]):l.tag===4?new q(6,[new ie(2,[])]):l.tag===7?new q(6,[new ie(2,[])]):l.tag===5?new q(6,[new ie(4,[])]):l.tag===6?new q(6,[new ie(1,[])]):l.tag===8?new q(5,[]):l.tag===9?new q(6,[new ie(3,[])]):r.fields[0]?s.Page:new q(3,[l.fields[0].MaskedPhone]))]),E(m=>{m(a)}))]:[s,St(m=>{qe(m)},m=>Bv(p,m),r.fields[0],m=>new z(3,[r.fields[0],new Se(1,[m])]),m=>new z(3,[r.fields[0],new Se(1,[new h(1,[m.message])])]))];case 4:return r.fields[2].tag===1?r.fields[2].fields[0].tag===1?[s,E(m=>{m(new z(0,[new q(6,[new ie(5,[])])]))})]:[s,(u=r.fields[2].fields[0].fields[0].Outcome,u.tag===1?u.fields[0].RemainingAttempts>0?(r.fields[1]({AttemptsRemaining:u.fields[0].RemainingAttempts}),te()):E(m=>{m(new z(0,[new q(6,[new ie(0,[])])]))}):u.tag===5?E(m=>{m(new z(0,[new q(6,[new ie(0,[])])]))}):u.tag===2?(r.fields[1]({}),te()):u.tag===3?(r.fields[1]({}),te()):u.tag===4?(r.fields[1]({}),te()):u.tag===6?E(m=>{m(new z(0,[new q(6,[new ie(4,[])])]))}):u.tag===7?E(m=>{m(new z(0,[new q(6,[new ie(1,[])])]))}):u.tag===8?E(m=>{m(new z(0,[new q(6,[new ie(2,[])])]))}):u.tag===9?E(m=>{m(new z(0,[new q(5,[])]))}):u.tag===10?E(m=>{m(new z(0,[new q(6,[new ie(0,[])])]))}):E(m=>{m(new z(6,[u.fields[0].AuthCode]))}))]:[s,St(m=>{qe(m)},m=>Vv(p,m),r.fields[0],m=>new z(4,[r.fields[0],r.fields[1],new Se(1,[m])]),m=>new z(4,[r.fields[0],r.fields[1],new Se(1,[new h(1,[m.message])])]))];case 5:return r.fields[1].tag===1?r.fields[1].fields[0].tag===1?[s,E(m=>{m(new z(0,[new q(6,[new ie(5,[])])]))})]:[s,(f=(c=r.fields[1].fields[0].fields[0].Outcome,c.tag===1?new z(0,[new q(6,[new ie(2,[])])]):c.tag===4?new z(0,[new q(6,[new ie(2,[])])]):c.tag===2?new z(0,[new q(6,[new ie(4,[])])]):c.tag===3?new z(0,[new q(6,[new ie(1,[])])]):c.tag===5?new z(0,[new q(5,[])]):c.tag===6?new z(0,[new q(6,[new ie(0,[])])]):r.fields[0].tag===1?new z(3,[!1,new Se(0,[])]):r.fields[0].tag===2?new z(6,[void 0]):new z(2,[!1,new Se(0,[])])),E(m=>{m(f)}))]:[s,St(m=>{qe(m)},m=>Fv(p,m),r.fields[0].tag===1?!1:r.fields[0].tag===2,m=>new z(5,[r.fields[0],new Se(1,[m])]),m=>new z(5,[r.fields[0],new Se(1,[new h(1,[m.message])])]))];case 6:return t(Be(dl,r.fields[0])),[s,te()];default:return[new sl(s.CssOverrides,r.fields[0],s.Branding,s.JourneyType),te()]}}function Hv(e,t,n,r){const s=oi(!1),i=Be(l=>d("span",{className:"font-semibold",children:`${l}`}),on(l=>l.CompanyName,t)),o=n.tag===1?`Hi, ${e}`:n.tag===2?`${e}, join your workplace benefits program`:`Welcome, ${e}`,a=ge(T(()=>{let l,u;return W((l=n,l.tag===1?_(Sc([])):l.tag===2?_(d("div",C(y([["className","sm:w-[700px]"],(u=[d("img",{src:"/workflows/app/app-invite/welcome.png"})],["children",b.Children.toArray(Array.from(u))])])))):_(Sc([]))),T(()=>W(_(An(o)),T(()=>{let f;return W(_(d("div",C(y([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4 mb-8 sm:mb-14"],(f=ge(T(()=>{let c;return n.tag===1?W(_(Te(i,d("span",{children:["Your employer"]}))),T(()=>W(_(d("span",{children:[" has requested additional information from you."]})),T(()=>_(d("p",{children:["Sign in to complete your information request."]})))))):n.tag===2?_((c="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.",d("p",{children:[c]}))):W(_(d("p",{children:["Congratulations on the new role!"]})),T(()=>{let p;return _((p=y([d("span",{children:["Sign in to complete your onboarding with "]}),Te(i,d("span",{children:["your employer"]})),d("span",{children:["."]})]),d("p",{children:b.Children.toArray(Array.from(p))})))}))})),["children",b.Children.toArray(Array.from(f))])])))),T(()=>_(Go(void 0,()=>{s[1](!0),r()},s[0],[d("span",{children:[n.tag===1?"Sign in":n.tag===2?"Continue":"Sign in"]})]))))}))))}));return d(Me,{},...a)}function Gv(e,t){let n,r,s,i;const o=[gp([]),An("Check your inbox"),d("div",C(y([(n="text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4",["className",n]),(r=[(s=y([d("span",{children:["We’ve sent a temporary access link to "]}),d("span",{className:"font-semibold",children:dc(e,"*","•")}),d("span",{children:["."]})]),d("p",{children:b.Children.toArray(Array.from(s))})),d("p",{children:["Click the link to confirm your email address and sign in. The link is valid for 5 minutes."]})],["children",b.Children.toArray(Array.from(r))])]))),d("div",C(y([["className","text-sm text-gray-900 whitespace-pre-wrap mt-10 sm:mt-14 space-y-4 leading-5"],(i=ge(T(()=>W(_(d("p",{children:["Can’t see the email? Check your spam folder."]})),T(()=>{const a=t;return a==null?_(ne()):_(si(a))})))),["children",b.Children.toArray(Array.from(i))])])))];return d(Me,{},...o)}let nn=class extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["ResendTimerTick","SignIn","IncorrectOneTimeCodeCallback","SetCodeInvalid","SetCodeInputValue","SetReissueLinkInProgress"]}},Un=class extends F{constructor(t,n,r,s,i,o){super(),this.AttemptsRemaining=t,this.CodeInvalid=n,this.CodeInputValue=r,this.ResendTimer=s,this.SignInInProgress=i,this.ReissueLinkInProgress=o}};function qv(){return[new Un(void 0,!1,"",void 0,!1,!1),te()]}function Yv(e,t,n){let r;switch(t.tag){case 1:{const s=Do(ea,n.CodeInputValue);return s.length===6?(e([Ho(s,511,!1,32),t.fields[0]]),[new Un(n.AttemptsRemaining,n.CodeInvalid,n.CodeInputValue,n.ResendTimer,!0,n.ReissueLinkInProgress),te()]):[n,E(i=>{i(new nn(3,[!0]))})]}case 2:return[new Un(t.fields[0],n.CodeInvalid,n.CodeInputValue,n.ResendTimer,n.SignInInProgress,n.ReissueLinkInProgress),E(s=>{s(new nn(3,[!0]))})];case 3:{const s=t.fields[0];return[new Un(n.AttemptsRemaining,s,s?"":n.CodeInputValue,n.ResendTimer,!1,n.ReissueLinkInProgress),te()]}case 4:return[new Un(n.AttemptsRemaining,n.CodeInvalid,t.fields[0],n.ResendTimer,n.SignInInProgress,n.ReissueLinkInProgress),te()];case 5:return[new Un(n.AttemptsRemaining,n.CodeInvalid,n.CodeInputValue,n.ResendTimer,n.SignInInProgress,!0),te()];default:{const s=Ka(a=>{qe(a)},()=>A.Delay(()=>A.Bind($i(1e3),()=>A.Return(void 0))),void 0,()=>new nn(0,[]));let i;const o=n.ResendTimer;return i=o!=null?o>0?(r=o|0,[r-1,s]):[void 0,te()]:[20,s],[new Un(n.AttemptsRemaining,n.CodeInvalid,n.CodeInputValue,i[0],n.SignInInProgress,n.ReissueLinkInProgress),i[1]]}}}function ji(e){e.target.id==="one-time-code-input"||e.key!=="Enter"&&document.getElementById("one-time-code-input").focus()}function Jv(){document.addEventListener("keypress",e=>{ji(e)}),document.addEventListener("paste",e=>{ji(e)})}const Zv={Dispose(){document.removeEventListener("keypress",e=>{ji(e)}),document.removeEventListener("paste",e=>{ji(e)})}};function Xv(e){const t=e.reissueLink,n=e.reissueOneTimeCode,r=e.validateOneTimeCode,s=e.maskedPhone,i=tl(()=>Oi(qv,(f,c)=>Yv(r,f,c),(f,c)=>{}),void 0,void 0),o=i[0],a=i[1];qo(()=>(Jv(),Zv),new Array(0));const l=()=>{a(new nn(1,[f=>{a(new nn(2,[f.AttemptsRemaining]))}]))},u=ge(T(()=>W(_($p([])),T(()=>W(_(An("Enter your security code")),T(()=>{let f,c,p;return W(_(d("div",C(y([(f="text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4",["className",f]),(c=[(p=y([d("span",{children:["We’ve sent a security code to your mobile number ending in •••"]}),d("span",{className:"font-semibold",children:Do(ea,s)}),d("span",{children:["."]})]),d("p",{children:b.Children.toArray(Array.from(p))})),d("p",{children:["Enter your code to sign in."]})],["children",b.Children.toArray(Array.from(c))])])))),T(()=>{let m;return W(_(d("div",C(y([["className","mt-8 flex relative"],(m=ge(T(()=>{let $;return W(_(d("input",C(y([["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",g=>{const w=g.target;w.selectionStart=o.CodeInputValue.length|0,w.selectionEnd=o.CodeInputValue.length|0,a(new nn(3,[!1]))}],["onChange",g=>{const w=Do(ea,g.target.value);a(new nn(4,[w])),w.length===6&&l()}],($=o.CodeInputValue,["ref",g=>{g!=null&&!O(g.value,$)&&(g.value=$)}])])))),T(()=>Cc(g=>{const w=Be(S=>S,pc(g,o.CodeInputValue.split(""))),v=Be(S=>S,pc(g-1,o.CodeInputValue.split("")));return _(d("div",{key:g,className:ve(" ",ge(T(()=>W(_("flex justify-center items-center text-xl w-10 h-12 rounded-md ring-inset ring-1 transition ease-in"),T(()=>W(o.CodeInvalid?_("ring-red-600"):_("ring-gray-400"),T(()=>W(_(g===2?"mr-4":g===5?"":"mr-2"),T(()=>w!=null||v!=null||g===0?_("peer-focus:ring-2 peer-focus:ring-primary-base"):cr()))))))))),children:Te(w,"")}))},d0(0,1,5))))})),["children",b.Children.toArray(Array.from(m))])])))),T(()=>{let $;return W(o.CodeInvalid?_(d("p",C(y([["className","w-[288px] text-red-600 mt-2 leading-5"],($=ge(T(()=>W(_("The code you entered is invalid"),T(()=>{let g;return W((g=o.AttemptsRemaining,g==null?_(ne()):_(`, you have ${g} attempts remaining`)),T(()=>W(_("."),T(()=>o.AttemptsRemaining==null?_(" Try again or click on the link below to resend the code."):_(ne())))))})))),["children",b.Children.toArray(Array.from($))])])))):cr(),T(()=>W(_(Go("sm:w-[288px] mt-6",l,o.SignInInProgress,[d("span",{children:["Continue"]})])),T(()=>{let g;return _(d("div",C(y([["className","mt-8 sm:mt-14 text-sm text-gray-900 whitespace-pre-wrap leading-5 space-y-4"],(g=ge(T(()=>{let w,v;return W((w=o.ResendTimer,w!=null?_(d("p",{children:[`Message sent. Wait ${w} seconds before trying again.`]})):_((v=y([d("span",{children:["Didn’t get the code? "]}),d("span",{className:"text-primary-base underline underline-offset-3 cursor-pointer",onClick:S=>{n(),a(new nn(0,[]))},children:"Resend message"}),d("span",{children:["."]})]),d("p",{children:b.Children.toArray(Array.from(v))})))),T(()=>{let S;return _((S=y([d("span",{children:["Still having trouble? "]}),d("span",{className:"text-primary-base underline underline-offset-3 cursor-pointer",onClick:N=>{o.ReissueLinkInProgress||(a(new nn(5,[])),t())},children:"Sign in with email instead"}),d("span",{children:["."]})]),d("p",{children:b.Children.toArray(Array.from(S))})))}))})),["children",b.Children.toArray(Array.from(g))])]))))}))))}))}))}))))));return d(Me,{},...u)}function Kv(e){const t=e.reissueLink,n=e.brandingOption,r=oi(!1),s=ge(T(()=>W(_(wp([])),T(()=>W(_(An("Access link timed-out")),T(()=>{let i,o;return W(_(d("div",C(y([(i="text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4",["className",i]),(o=[d("p",{children:["Your 5-minute temporary access link has timed-out."]}),d("p",{children:["Get a new link to continue."]})],["children",b.Children.toArray(Array.from(o))])])))),T(()=>W(_(Go("mt-8 mb-8 sm:mb-14",()=>{r[1](!0),t()},r[0],[d("span",{children:["Get a new link"]})])),T(()=>{const a=n;return a==null?_(ne()):_(si(a))}))))}))))));return d(Me,{},...s)}function ml(e,t){const n=Te(on(s=>s.CompanyName,e),"your employer"),r=ge(T(()=>W(_(kc([])),T(()=>W(_(An("You’re all done")),T(()=>{let s;return W(_(d("div",C(y([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4 mb-8 sm:mb-14"],(s=[d("p",{children:[`Your ${t} is now complete and your pay information has now been submitted to ${n}.`]}),d("p",{children:["You can now close this window."]})],["children",b.Children.toArray(Array.from(s))])])))),T(()=>{const i=e;return i==null?_(ne()):_(si(i))}))}))))));return d(Me,{},...r)}function $h(){let e,t,n,r,s,i,o,a,l;return d("div",C(y([["className","flex lg:min-w-[1024px] xl:min-w-[1280px] max-w-screen-xl justify-center"],(e=[d("div",C(y([["className","flex flex-col justify-center items-center"],(t=[kc([]),An("You’re all set!"),d("div",C(y([["className","text-base sm:text-lg text-gray-900 whitespace-pre-wrap leading-6 sm:leading-8 space-y-3 sm:space-y-4 mb-8 sm:mb-14"],(n=[d("p",{children:["Access your exclusive benefits by downloading the Flare app."]}),d("div",C(y([["className","hidden lg:flex justify-center lg:py-8"],(r=[d("img",{className:"h-40",src:"/workflows/app/app-invite/qr.png"})],["children",b.Children.toArray(Array.from(r))])]))),d("div",C(y([["className","flex items-center justify-center lg:hidden"],(s=[d("img",{className:"w-[280px]",src:"/workflows/app/app-invite/completed.png"})],["children",b.Children.toArray(Array.from(s))])]))),d("p",C(y([["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",b.Children.toArray(Array.from(i))])]))),d("p",{children:"Available on iOS and Android"})],["children",b.Children.toArray(Array.from(n))])]))),d("div",C(y([["className","flex space-x-6"],(o=[d("a",C(y([["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",b.Children.toArray(Array.from(a))])]))),d("a",C(y([["href","https://play.google.com/store/apps/details?id=com.flarehr.payandbenefits"],["target","_blank"],["rel","noreferrer"],(l=[d("img",{className:"h-10 cursor-pointer",src:"/workflows/app/app-invite/google-play.png"})],["children",b.Children.toArray(Array.from(l))])])))],["children",b.Children.toArray(Array.from(o))])])))],["children",b.Children.toArray(Array.from(t))])]))),d("img",{className:"hidden lg:block w-[640px]",src:"/workflows/app/app-invite/completed.png"})],["children",b.Children.toArray(Array.from(e))])])))}function Qv(e){switch(e.tag){case 1:return"information request";case 2:return"workflow";default:return"onboarding"}}function eb(e){const t=e.startAuthCodeExchangeBackground,n=e.navigateAuthCodeExchangePage,r=e.magicLink,s=tl(()=>Oi(Uv,(l,u)=>zv(r,n,t,l,u),(l,u)=>{}),void 0,void 0),i=s[0],o=s[1],a=ge(T(()=>W(Ie(l=>d("style",{children:[l]}),i.CssOverrides),T(()=>{const l=i.Page;switch(l.tag){case 1:return _(Hv(l.fields[0],i.Branding,i.JourneyType,()=>{o(new z(5,[l.fields[1],new Se(0,[])]))}));case 2:return _(Gv(l.fields[0],i.Branding));case 3:return _(d(Xv,{maskedPhone:l.fields[0],validateOneTimeCode:u=>{o(new z(4,[u[0],u[1],new Se(0,[])]))},reissueOneTimeCode:()=>{o(new z(3,[!0,new Se(0,[])]))},reissueLink:()=>{o(new z(2,[!0,new Se(0,[])]))}}));case 4:return _(d(Kv,{brandingOption:Gs(i.Branding),reissueLink:()=>{o(new z(2,[!1,new Se(0,[])]))}}));case 5:switch(i.JourneyType.tag){case 2:return _($h());default:return _(ml(i.Branding,Qv(i.JourneyType)))}case 6:return l.fields[0].tag===1?_(Wp()):l.fields[0].tag===0?_(d(Fp,{reissueMagicLink:()=>{o(new z(2,[!0,new Se(0,[])]))}})):l.fields[0].tag===5?_(li()):l.fields[0].tag===2?_(Pc(i.Branding)):l.fields[0].tag===3?_(jp(i.Branding)):_(Up(i.Branding));default:return _(Ip)}}))));return d(Me,{},...a)}function tb(e){let t,n,r;const s=e.startAuthCodeExchangeBackground,i=e.navigateAuthCodeExchangePage,o=e.inviteCode;return hr(()=>{un(0)}),d("div",C(y([(t="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",["className",t]),(n=[d("div",C(y([["className","flex flex-col items-center justify-center sm:max-w-[640px]"],(r=ge(T(()=>{const a=g2(o);return a.tag===0?_(d(eb,{magicLink:a.fields[0],navigateAuthCodeExchangePage:i,startAuthCodeExchangeBackground:s})):_(Pc(void 0))})),["children",b.Children.toArray(Array.from(r))])]))),Xo],["children",b.Children.toArray(Array.from(n))])])))}class U extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Home","LegacyInvite","InviteV2","AuthCodeExchange","AuthCodeExchangeWithCurrentAuth","NotFound","LoggedOut"]}}function nb(e){let t,n,r;if(M(e))t=2;else if(k(e)==="workflows")if(M(P(e)))t=2;else switch(k(P(e))){case"app":{t=0,n=P(P(e));break}case"embed":{M(P(P(e)))?t=2:k(P(P(e)))==="v1.0"?(t=1,r=P(P(P(e)))):t=2;break}default:t=2}else t=2;switch(t){case 0:return new ua(1,[n]);case 1:return new ua(0,[r]);default:return new ua(2,[void 0])}}function rb(e){const t=mn(e);if(t!=null)return Be(r=>r[1],Xr(r=>r[0]==="code",t))}function gh(e){let t,n,r,s,i,o,a;const l=nb(e);switch(l.tag){case 1:return[M(l.fields[0])?M(l.fields[0])?new U(0,[]):(s=mn(k(l.fields[0])),s!=null?M(s)?new U(0,[]):k(s)[0]==="invite-code"?M(P(s))?M(P(l.fields[0]))?(i=k(s)[1],new U(2,[i])):new U(0,[]):new U(0,[]):new U(0,[]):new U(0,[])):(t=mn(k(l.fields[0])),t!=null?M(t)?M(l.fields[0])?new U(0,[]):(s=mn(k(l.fields[0])),s!=null?M(s)?new U(0,[]):k(s)[0]==="invite-code"?M(P(s))?M(P(l.fields[0]))?(i=k(s)[1],new U(2,[i])):new U(0,[]):new U(0,[]):new U(0,[]):new U(0,[])):k(t)[0]==="invite"?M(P(t))?M(P(l.fields[0]))?(n=k(t)[1],r=Uc(n),r.tag===1?new U(5,[]):new U(1,[])):M(l.fields[0])?new U(0,[]):(s=mn(k(l.fields[0])),s!=null?M(s)?new U(0,[]):k(s)[0]==="invite-code"?M(P(s))?M(P(l.fields[0]))?(i=k(s)[1],new U(2,[i])):new U(0,[]):new U(0,[]):new U(0,[]):new U(0,[])):M(l.fields[0])?new U(0,[]):(s=mn(k(l.fields[0])),s!=null?M(s)?new U(0,[]):k(s)[0]==="invite-code"?M(P(s))?M(P(l.fields[0]))?(i=k(s)[1],new U(2,[i])):new U(0,[]):new U(0,[]):new U(0,[]):new U(0,[])):M(l.fields[0])?new U(0,[]):(s=mn(k(l.fields[0])),s!=null?M(s)?new U(0,[]):k(s)[0]==="invite-code"?M(P(s))?M(P(l.fields[0]))?(i=k(s)[1],new U(2,[i])):new U(0,[]):new U(0,[]):new U(0,[]):new U(0,[])):M(l.fields[0])?new U(0,[]):(s=mn(k(l.fields[0])),s!=null?M(s)?new U(0,[]):k(s)[0]==="invite-code"?M(P(s))?M(P(l.fields[0]))?(i=k(s)[1],new U(2,[i])):new U(0,[]):new U(0,[]):new U(0,[]):new U(0,[]))),new Ar(1,[])];case 2:return[new U(5,[]),new Ar(2,[])];default:return[M(l.fields[0])?new U(0,[]):M(P(l.fields[0]))?new U(0,[]):(o=rb(k(P(l.fields[0]))),o!=null?M(P(P(l.fields[0])))?(a=o,new U(3,[dl(a)])):new U(0,[]):new U(0,[])),new Ar(0,[])]}}let zn=class extends F{constructor(t,n,r){super(),this.CurrentPage=t,this.Credentials=n,this.AppMode=r}},wn=class extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["UrlChanged","NavigateAuthCodeExchangePage","NavigateAuthCodeExchangePageWithCurrentAuth","AuthMsg","StartAuthCodeExchangeBackground","DisplayLoggedOut"]}};function sb(){let e;return hr(()=>{un(0)}),d("div",C(y([["className","w-full sm:max-w-md mt-5 mx-1 text-center mx-auto"],(e=[d("h4",{className:"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",b.Children.toArray(Array.from(e))])])))}class ys extends Error{}ys.prototype.name="InvalidTokenError";function ib(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let r=n.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}function ob(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return ib(t)}catch{return atob(t)}}function ab(e,t){if(typeof e!="string")throw new ys("Invalid token specified: must be a string");t||(t={});const n=t.header===!0?0:1,r=e.split(".")[n];if(typeof r!="string")throw new ys(`Invalid token specified: missing part #${n+1}`);let s;try{s=ob(r)}catch(i){throw new ys(`Invalid token specified: invalid base64 for part #${n+1} (${i.message})`)}try{return JSON.parse(s)}catch(i){throw new ys(`Invalid token specified: invalid json for part #${n+1} (${i.message})`)}}class ke extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function lb(e,t){switch(t.tag){case 1:return new ke(1,[]);case 3:return new ke(3,[t.fields[0]]);case 2:try{return new ke(2,[e(t.fields[0])])}catch(n){return new ke(3,[n])}default:return new ke(0,[])}}function ub(e,t){const n=Yo(hg());return Ec(()=>es(()=>{mg(n.current)})),Tc(r=>{pg(n.current)||fa(A.Delay(()=>A.TryWith(A.Delay(()=>(t(new ke(1,[])),A.Bind(e(r),s=>(t(new ke(2,[s])),A.Zero())))),s=>(t(new ke(3,[s])),A.Zero()))),n.current)})}function cb(e,t,n){e:for(;;){const r=e,s=t,i=n;if(M(i)){const o=r;return o.tag===1?new h(1,[o.fields[0]]):new h(0,[lr(o.fields[0])])}else{let o;const a=s(k(i));if(a.tag===1)o=new h(1,[a.fields[0]]);else{const l=r;o=l.tag===1?new h(1,[l.fields[0]]):new h(0,[Qe(a.fields[0],l.fields[0])])}if(o.tag===1)return o;e=o,t=s,n=P(i);continue e}}}function fb(e,t){return cb(new h(0,[de()]),e,t)}function Pr(e){return fb(t=>t,e)}class db extends F{constructor(t,n,r){super(),this.CompanyName=t,this.Logo=n,this.Support=r}}function hb(){return fe("Workflows.Business.Aggregates.CommonDto.InviteBrandingDto",[],db,()=>[["CompanyName",X(G)],["Logo",X(G)],["Support",X(pb())]])}class mb extends F{constructor(t,n){super(),this.Email=t,this.Phone=n}}function pb(){return fe("Workflows.Business.Aggregates.CommonDto.SupportDto",[],mb,()=>[["Email",X(G)],["Phone",X(G)]])}function $b(e){let t;const n=e.Email;if(n!=null){const r=Gc(n);t=r.tag===1?new h(1,[r.fields[0]]):new h(0,[r.fields[0]])}else t=new h(0,[void 0]);if(t.tag===1)return new h(1,[t.fields[0]]);{let r;const s=e.Phone;if(s!=null){const i=qc(s);r=i.tag===1?new h(1,[i.fields[0]]):new h(0,[i.fields[0]])}else r=new h(0,[void 0]);return r.tag===1?new h(1,[r.fields[0]]):new h(0,[new Hc(t.fields[0],r.fields[0])])}}function gb(e){let t;const n=e.Logo;if(n!=null){const r=Jc(n);t=r.tag===1?new h(1,[r.fields[0]]):new h(0,[r.fields[0]])}else t=new h(0,[void 0]);if(t.tag===1)return new h(1,[t.fields[0]]);{let r;const s=e.CompanyName;if(s!=null){const i=Yc(s);r=i.tag===1?new h(1,[i.fields[0]]):new h(0,[i.fields[0]])}else r=new h(0,[void 0]);if(r.tag===1)return new h(1,[r.fields[0]]);{let i;const o=e.Support;if(o!=null){const a=$b(o);i=a.tag===1?new h(1,[a.fields[0]]):new h(0,[a.fields[0]])}else i=new h(0,[void 0]);return i.tag===1?new h(1,[i.fields[0]]):new h(0,[new zc(r.fields[0],t.fields[0],i.fields[0])])}}}class wb extends F{constructor(t,n,r,s){super(),this.Code=t,this.DateIssued=n,this.NumberOfAttempts=r|0,this.DateOfLastAttempt=s}}function yb(){return fe("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.SecondFactorDto",[],wb,()=>[["Code",G],["DateIssued",zt("System.DateTime")],["NumberOfAttempts",Hs],["DateOfLastAttempt",X(zt("System.DateTime"))]])}function _b(e){return new v$(_$(e.Code),e.DateIssued,e.NumberOfAttempts,e.DateOfLastAttempt)}class vb extends F{constructor(t,n,r,s){super(),this.Code=t,this.DateIssued=n,this.SecondFactor=r,this.Branding=s}}function bb(){return fe("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.InviteDto",[],vb,()=>[["Code",G],["DateIssued",zt("System.DateTime")],["SecondFactor",X(yb())],["Branding",X(hb())]])}function Cb(e){const t=Uc(e.Code);if(t.tag===1)return new h(1,[t.fields[0]]);{let n;const r=e.SecondFactor;n=r==null?void 0:_b(r);let s;const i=e.Branding;if(i!=null){const o=gb(i);s=o.tag===1?new h(1,[o.fields[0]]):new h(0,[o.fields[0]])}else s=new h(0,[void 0]);return s.tag===1?new h(1,[s.fields[0]]):new h(0,[new b$(t.fields[0],e.DateIssued,n,s.fields[0])])}}class Sb extends F{constructor(t,n,r){super(),this.Id=t,this.DisplayName=n,this.ComponentTagName=r}}function kb(){return fe("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessStepConfigDto",[],Sb,()=>[["Id",G],["DisplayName",G],["ComponentTagName",G]])}function xb(e){return new h(0,[new Dt(Zc(e.Id),e.DisplayName,e.ComponentTagName)])}function Ib(e){return Pr(et(xb,e))}class Ab extends F{constructor(t,n){super(),this.ActivatedDates=t,this.CompletedSteps=n}}function Eb(){return fe("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ActiveProcessInstanceDto",[],Ab,()=>[["ActivatedDates",sn(zt("System.DateTime"))],["CompletedSteps",sn(Bm(G,zt("System.DateTime")))]])}function Tb(e){const t=Pr(et(n=>new h(0,[[Zc(n[0]),n[1]]]),e.CompletedSteps));return t.tag===1?new h(1,[t.fields[0]]):new h(0,[new mf(e.ActivatedDates,t.fields[0])])}class Pb extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Inactive","Active","Complete","Abandoned"]}}function Mb(){return $t("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceStatusDto",[],Pb,()=>[[],[["Item",Eb()]],[["Item",zt("System.DateTime")]],[["Item",zt("System.DateTime")]]])}function Ob(e){switch(e.tag){case 1:{const t=Tb(e.fields[0]);return t.tag===1?new h(1,[t.fields[0]]):new h(0,[new ss(1,[t.fields[0]])])}case 2:return new h(0,[new ss(2,[e.fields[0]])]);case 3:return new h(0,[new ss(3,[e.fields[0]])]);default:return new h(0,[new ss(0,[])])}}class Db extends F{constructor(t,n,r){super(),this.Id=t,this.Name=n,this.Steps=r}}function Nb(){return fe("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessConfigDto",[],Db,()=>[["Id",zt("System.Guid")],["Name",G],["Steps",sn(kb())]])}function Rb(e){const t=Ib(e.Steps);if(t.tag===1)return new h(1,[t.fields[0]]);{const n=x$(e.Id);return n.tag===1?new h(1,[n.fields[0]]):new h(0,[new Le(n.fields[0],e.Name,t.fields[0])])}}class Lb extends F{constructor(t,n){super(),this.Name=t,this.Value=n}}function Bb(){return fe("Workflows.Business.Aggregates.ProcessInstanceList.Dto.TagDto",[],Lb,()=>[["Name",G],["Value",G]])}function Vb(e){return O$(e.Name,e.Value)}class Fb extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["WhenEnabled","Always"]}}function Wb(){return $t("Workflows.Business.Aggregates.ProcessInstanceList.Dto.BenefitsOnboardingShowOptionsDto",[],Fb,()=>[[],[]])}class jb extends F{constructor(t){super(),this.BenefitsOnboarding=t}}function Ub(){return fe("Workflows.Business.Aggregates.ProcessInstanceList.Dto.StepsConfigurationDto",[],jb,()=>[["BenefitsOnboarding",X(Ke(["Show",Wb()]))]])}function zb(e){let t,n;return new N$((t=e.BenefitsOnboarding,t==null?void 0:(n=t,{Show:n.Show.tag===1?new gf(1,[]):new gf(0,[])})))}class Hb extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Default","InfoRequest","AppInvite","BenefitsExisting","BenefitsOnboarding"]}}function Gb(){return $t("Workflows.Business.Aggregates.ProcessInstanceList.Dto.JourneyTypeDto",[],Hb,()=>[[["Item",_s()]],[["Item",_s()]],[["Item",_s()]],[["Item",_s()]],[["Item",_s()]]])}class qb extends F{constructor(t){super(),this.Category=t}}function _s(){return fe("Workflows.Business.Aggregates.ProcessInstanceList.Dto.JourneyTypeDetailsDto",[],qb,()=>[["Category",X(G)]])}function vs(e){return new $f(e.Category)}function Yb(e){if(e==null)return new pr(0,[new $f(void 0)]);switch(e.tag){case 1:{const t=e.fields[0];return new pr(1,[vs(t)])}case 2:{const t=e.fields[0];return new pr(2,[vs(t)])}case 3:{const t=e.fields[0];return new pr(3,[vs(t)])}case 4:{const t=e.fields[0];return new pr(4,[vs(t)])}default:{const t=e.fields[0];return new pr(0,[vs(t)])}}}class Jb extends F{constructor(t,n,r,s,i,o,a,l,u,f,c){super(),this.Id=t|0,this.DateCreated=n,this.Configuration=r,this.Status=s,this.Invite=i,this.Tags=o,this.Creator=a,this.StepsConfiguration=l,this.JourneyType=u,this.IsBenefitsStepEnabled=f,this.PaySetupComplete=c}}function wh(){return fe("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceDto",[],Jb,()=>[["Id",Hs],["DateCreated",zt("System.DateTime")],["Configuration",Nb()],["Status",Mb()],["Invite",X(bb())],["Tags",X(sn(Bb()))],["Creator",X(G)],["StepsConfiguration",X(Ub())],["JourneyType",X(Gb())],["IsBenefitsStepEnabled",X(ct)],["PaySetupComplete",X(ct)]])}function yh(e){let t,n;const r=Rb(e.Configuration);if(r.tag===1)return new h(1,[r.fields[0]]);{const s=r.fields[0],i=Ob(e.Status);if(i.tag===1)return new h(1,[i.fields[0]]);{const o=i.fields[0];let a;if(o.tag===1){const l=o.fields[0],u=Pr(et(f=>{const c=[f[0],f[1]],p=c[0];return yc(m=>O(m.Id,p),s.Steps)?new h(0,[[p,c[1]]]):new h(1,["Step id is not configured for this Process Instance."])},l.CompletedSteps));a=u.tag===1?new h(1,[u.fields[0]]):new h(0,[new ss(1,[new mf(l.ActivatedDates,u.fields[0])])])}else a=new h(0,[o]);if(a.tag===1)return new h(1,[a.fields[0]]);{let l;const u=e.Invite;if(u!=null){const f=Cb(u);l=f.tag===1?new h(1,[f.fields[0]]):new h(0,[f.fields[0]])}else l=new h(0,[void 0]);if(l.tag===1)return new h(1,[l.fields[0]]);{let f;const c=e.Tags;if(c!=null){const p=Pr(et(Vb,c));f=p.tag===1?new h(1,[p.fields[0]]):new h(0,[p.fields[0]])}else f=new h(0,[void 0]);return f.tag===1?new h(1,[f.fields[0]]):new h(0,[new D$(pf(e.Id),s,e.DateCreated,a.fields[0],l.fields[0],f.fields[0],(t=e.Creator,t==null?void 0:Wc(t)),(n=e.StepsConfiguration,n==null?void 0:zb(n)),Yb(e.JourneyType),e.IsBenefitsStepEnabled,e.PaySetupComplete)])}}}}}class bs extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["CompleteStep","CompleteStepV2","Complete","ViewPaySetupPage","CompletePaySetup","ResumePaySetup"]}}class Zb extends F{constructor(t,n,r,s){super(),this.CssOverrides=t,this.ProcessInstance=n,this.IsBenefitsEnabled=r,this.Branding=s}}class Hn extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["CompleteStep","CompleteStepV2","Complete","ViewPaySetupPage","CompletePaySetup","ResumePaySetup"]}}function Xb(){return $t("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.ProcessInstanceCommandDto",[],Hn,()=>[[["Item",G]],[["Item",G]],[],[["Item",ct]],[["Item",ct]],[["Item",ct]]])}function Kb(e){switch(e.tag){case 1:return new Hn(1,[fi(e.fields[0])]);case 2:return new Hn(2,[]);case 3:return new Hn(3,[e.fields[0]]);case 4:return new Hn(4,[e.fields[0]]);case 5:return new Hn(5,[e.fields[0]]);default:return new Hn(0,[fi(e.fields[0])])}}const Qb=yh;class eC extends F{constructor(t,n,r,s){super(),this.CssOverrides=t,this.ProcessInstanceDto=n,this.IsBenefitsEnabled=r,this.Branding=s}}function tC(){return fe("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.ProcessInstanceContextDto",[],eC,()=>[["CssOverrides",sn(G)],["ProcessInstanceDto",wh()],["IsBenefitsEnabled",ct],["Branding",X(rC())]])}class nC extends F{constructor(t,n,r){super(),this.CompanyName=t,this.Logo=n,this.Support=r}}function rC(){return fe("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.Branding",[],nC,()=>[["CompanyName",X(G)],["Logo",X(G)],["Support",X(iC())]])}class sC extends F{constructor(t,n){super(),this.Email=t,this.Phone=n}}function iC(){return fe("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.Support",[],sC,()=>[["Email",X(G)],["Phone",X(G)]])}function oC(e){let t,n,r,s,i,o,a,l,u,f,c,p,m,$,g,w,v,S;return new zc((t=(n=(r=e.CompanyName,r==null?void 0:Yc(r)),n!=null?(s=n,s.tag===1?new h(1,[s.fields[0]]):new h(0,[s.fields[0]])):new h(0,[void 0])),t.tag===1?void 0:t.fields[0]),(i=(o=(a=e.Logo,a==null?void 0:Jc(a)),o!=null?(l=o,l.tag===1?new h(1,[l.fields[0]]):new h(0,[l.fields[0]])):new h(0,[void 0])),i.tag===1?void 0:i.fields[0]),(u=e.Support,u==null?void 0:(f=u,new Hc((c=(p=(m=f.Email,m==null?void 0:Gc(m)),p!=null?($=p,$.tag===1?new h(1,[$.fields[0]]):new h(0,[$.fields[0]])):new h(0,[void 0])),c.tag===1?void 0:c.fields[0]),(g=(w=(v=f.Phone,v==null?void 0:qc(v)),w!=null?(S=w,S.tag===1?new h(1,[S.fields[0]]):new h(0,[S.fields[0]])):new h(0,[void 0])),g.tag===1?void 0:g.fields[0])))))}function aC(e){let t,n;return new Zb(e.CssOverrides,(t=yh(e.ProcessInstanceDto),t.tag===1?(()=>{throw new Error(t.fields[0])})():t.fields[0]),e.IsBenefitsEnabled,(n=e.Branding,n==null?void 0:oC(n)))}class Ui extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["WorkflowInstanceStepActivated","BenefitsStepActivated","BenefitsStepCompleted"]}}function lC(){return $t("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Write.WorkflowAnalyticsEventDto",[],Ui,()=>[[["Item",G]],[],[]])}class xe extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["PersonalDetails","EmergencyContacts","Bank","Tax","Super","WorkplaceLinking","BenefitsOnboarding","WorkplacePolicies","DiscreteBenefits"]}}class Cs extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Hidden","Incomplete","Complete"]}}function pl(e){return e?new Cs(1,[]):new Cs(0,[])}class le extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Completed","Disabled","Active","Locked","CompletedAndDisabled"]}}function _h(e){return O(e,Ge)?new h(0,[new xe(0,[])]):O(e,ft)?new h(0,[new xe(1,[])]):O(e,dt)?new h(0,[new xe(2,[])]):O(e,ht)?new h(0,[new xe(3,[])]):O(e,Ne)?new h(0,[new xe(4,[])]):O(e,Tn)?new h(0,[new xe(5,[])]):O(e,Ht)?new h(0,[new xe(7,[])]):O(e,Pn)?new h(0,[new xe(8,[])]):new h(1,["Invalid step"])}function uC(e){switch(e.tag){case 1:return ft;case 2:return dt;case 3:return ht;case 4:return Ne;case 5:return Tn;case 6:return ci;case 7:return Ht;case 8:return Pn;default:return Ge}}function vh(e){switch(e.tag){case 1:return"Emergency contacts";case 2:return"Bank details";case 3:return"Tax declaration";case 4:return"Super nomination";case 5:return Tn.DisplayName;case 6:return"Workplace benefits";case 7:return"Fair Work";case 8:return Pn.DisplayName;default:return"Employee profile"}}function bh(e){switch(e.tag){case 1:return"Contacts";case 2:return"Bank";case 3:return"Tax";case 4:return"Super";case 5:return Tn.DisplayName;case 6:return"Benefits";case 7:return"Fair Work";case 8:return Pn.DisplayName;default:return"Profile"}}function Ch(e){switch(e.tag){case 1:return ft;case 2:return dt;case 3:return ht;case 4:return Ne;case 5:return Tn;case 6:return ci;case 7:return Ht;case 8:return Pn;default:return Ge}}function cC(e){switch(e.tag){case 5:case 6:case 8:return!1;default:return!0}}function fC(e,t){return e.tag===0?t:wt(t,E(new xe(6,[])))}class Mr extends F{constructor(t,n){super(),this.Id=t,this.Status=n}}function Gn(e){return vh(e.Id)}function dC(e){return bh(e.Id)}function hC(e){return Ch(e.Id).ComponentTagName}function mC(e){return Ch(e.Id).Id}function pC(e){return cC(e.Id)}function $C(e){if(e.Id.tag===0)return e}function gC(e){if(e.Id.tag===1)return e}function wC(e){return Xr(t=>O(t.Status,new le(2,[])),e)}function yC(e){return((n,r)=>{e:for(;;){const s=n,i=r;if(M(s))return i;if(O(k(s).Status,new le(2,[])))return Lo([i,E(k(s)),P(s)]);if(O(k(s).Status,new le(1,[])))return Lo([i,E(new Mr(k(s).Id,new le(2,[]))),P(s)]);n=P(s),r=wt(i,E(k(s)));continue e}})(e,de())}function $l(e,t){const n=Te(e.PaySetupComplete,!1);let r;const s=Pr(et(_h,e.Configuration.Steps));if(r=s.tag===1?new h(1,[s.fields[0]]):new h(0,[fC(t,s.fields[0])]),r.tag===1)return new h(1,[r.fields[0]]);{const i=Pr(et(_h,L$(e)));return i.tag===1?new h(1,[i.fields[0]]):new h(0,[yC(et(o=>n&&pC(o)&&O(o.Status,new le(0,[]))?new Mr(o.Id,new le(4,[])):o,et(o=>yc(a=>O(a,o.Id),i.fields[0])?new Mr(o.Id,new le(0,[])):o,et(o=>O(o.Id,new xe(6,[]))&&!n?new Mr(o.Id,new le(3,[])):o,et(o=>new Mr(o,new le(1,[])),r.fields[0])))))])}}class Sh extends F{constructor(t,n,r,s,i,o,a,l,u,f,c){super(),this.AppMode=t,this.JourneyType=n,this.Branding=r,this.IsBenefitsStepEnabled=s,this.IsPaySetupCompatible=i,this.IsPaySetupComplete=o,this.Status=a,this.ProcessInstanceId=l,this.InstanceName=u,this.ProcessConfigId=f,this.Steps=c}}function kh(e){switch(e.Status.tag){case 3:return!1;case 0:return!1;case 1:return Te(e.PaySetupComplete,!1);default:return!0}}function _C(e,t){let n;const r=[t.ProcessInstance,pl(t.IsBenefitsEnabled)];return n=$l(r[0],r[1]),n.tag===1?new h(1,[n.fields[0]]):new h(0,[new Sh(e,t.ProcessInstance.JourneyType,t.Branding,t.IsBenefitsEnabled,k$(t.ProcessInstance.Configuration),kh(t.ProcessInstance),t.ProcessInstance.Status,t.ProcessInstance.Id,t.ProcessInstance.Configuration.Name,t.ProcessInstance.Configuration.Id,n.fields[0])])}function gl(e,t){let n;const r=[t,pl(e.IsBenefitsStepEnabled)];return n=$l(r[0],r[1]),n.tag===1?new h(1,[n.fields[0]]):new h(0,[new Sh(e.AppMode,e.JourneyType,e.Branding,e.IsBenefitsStepEnabled,e.IsPaySetupCompatible,kh(t),t.Status,e.ProcessInstanceId,e.InstanceName,e.ProcessConfigId,n.fields[0])])}let oe=class extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Initialising","StepList","Step","PaySetupCompleteConfirmation","Oops","AllDone"]}};class H extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["ActivateCallback","ChangeCurrentView","CloseStepListView","StepCompletionEventCallback","CompleteStep","ConfirmPaySetupComplete","ResumePaySetup","CompletePaySetup","PaySetupCompleted","CompleteWorkflow","ShowAllDoneAndNotifyComplete","SendAnalyticsEvent","AppendTrailingSlashToUrl","CompleteBenefitsOnboardingStep","CommandSuccess","CommandFailure"]}}class It extends F{constructor(t,n,r,s,i,o){super(),this.ProfileId=t,this.ProcessInstanceId=n,this.WorkflowDetail=r,this.CurrentView=s,this.CssOverrides=i,this.BenefitsOnboarding=o}}function wl(e){switch(e.tag){case 1:return"Information request";case 2:return"Workflow";case 3:return"Benefits Onboarding";case 4:return"Benefits Onboarding";default:return"Onboarding"}}function yl(e){if(e<640)return Ee(void 0)}function _l(e){return((n,r)=>{e:for(;;){const s=n,i=r;let o,a,l,u;if(M(s))o=0;else{const f=$C(k(s));if(f!=null)if(M(P(s)))o=2;else{const c=gC(k(P(s)));c!=null?(o=1,a=c,l=f,u=P(P(s))):o=2}else o=2}switch(o){case 0:return i;case 1:{n=u,r=wt(i,E(O(a.Status,new le(2,[]))?new Mr(l.Id,new le(2,[])):l));continue e}default:if(M(s))throw new Error("Match failure");n=P(s),r=wt(i,E(k(s)));continue e}}})(e,de())}function Ss(e){let t,n;return d("div",C(y([(t="absolute inset-0 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",["className",t]),(n=[d("div",{className:"mt-5 px-4 flex flex-col items-center justify-center sm:max-w-[640px]",children:b.Children.toArray([e])}),Xo],["children",b.Children.toArray(Array.from(n))])])))}function vC(e,t){let n;const r=e.tag===2?e.fields[0]:void 0;let s;if(r==null)s=void 0;else{const u=r;s=on(f=>V1(f+1,t.Steps),ni(f=>O(u,f),t.Steps))}const i=Be(u=>new H(1,[new oe(2,[u])]),Xr(u=>O(u.Status,new le(2,[])),t.Steps));let o,a,l;switch(r!=null&&s!=null?(n=s,O(r.Status,new le(2,[]))&&(O(n.Status,new le(1,[]))?!0:O(n.Status,new le(3,[])))?(o=0,a=r):(o=1,l=s)):o=2,o){case 0:return new H(1,[new oe(2,[a])]);case 1:return O(l.Status,new le(3,[]))?void 0:new H(1,[new oe(2,[l])]);default:return i}}function bC(e,t){const n=e.IsPaySetupCompatible&&!e.IsPaySetupComplete&&or(e.Steps)!==1;let r;if(n)switch(t.tag){case 1:case 0:{r=0;break}default:r=1}else r=1;switch(r){case 0:return new H(5,[{Branding:Gs(e.Branding),InjectedBenefits:e.IsBenefitsStepEnabled}]);default:return}}function CC(e){if(ra(e.Status))return new H(10,[e])}function vl(e,t,n){return Te(Yu(Yu(CC(t),vC(e,t)),bC(t,n)),new H(9,[new ke(0,[])]))}function SC(e){const t=mr(e)|0;return je(We("%s/workflows/backend/%i"))(Vn)(t)}function kC(e){const t=mr(e)|0;return je(We("%s/workflows/backend/process-instances/%i/activate"))(Vn)(t)}function xC(e){const t=mr(e)|0;return je(We("%s/workflows/backend/process-instances/%i/analytics-events"))(Vn)(t)}function bl(e,t){return A.Delay(()=>{const n=Fi(H2(je(We("Bearer %s"))(e)),t);let r;const s=ps(n);return r=A.Bind(s,i=>A.Return(new h(0,[i]))),A.Bind(r,i=>{const o=i;if(o.tag===1)return A.Return(new h(1,[o.fields[0]]));{const a=o.fields[0];if(a.statusCode===429||a.statusCode>=500){const l=ps(n);return A.Bind(l,u=>A.Return(new h(0,[u])))}else return A.Return(new h(0,[a]))}})})}function ks(e,t,n){return A.Delay(()=>{let r,s;const i=bl(n,(r=pn(new Zt(1,[(s=E(Kb(e)),$n(0,gn(sn(Xb()),new He(1,[]),void 0,void 0)(s)))]),Kt(new Bt(1,[]),Xt(SC(t)))),Fi(fl("application/json"),r)));return A.Bind(i,o=>{const a=o;if(a.tag===1)return A.Return(new h(1,[a.fields[0]]));{const l=a.fields[0];if(l.statusCode===200){let u;const f=en(re(tn(wh(),new He(1,[]))),l.responseText);return u=f.tag===1?new h(1,[f.fields[0]]):Qb(f.fields[0]),A.Return(u)}else return A.Return(new h(1,["Unexpected response from backend"]))}})})}function IC(e,t){return A.Delay(()=>{const n=bl(t,Kt(new Bt(1,[]),Xt(kC(e))));return A.Bind(n,r=>{const s=r;if(s.tag===1)return A.Return(new h(1,[s.fields[0]]));{const i=s.fields[0];if(i.statusCode===200){let o;const a=en(re(tn(tC(),new He(1,[]))),i.responseText);return o=a.tag===1?new h(1,[a.fields[0]]):new h(0,[aC(a.fields[0])]),A.Return(o)}else return A.Return(new h(1,["Unexpected response from backend"]))}})})}function AC(e,t,n){let r;const s=A.Delay(()=>{let i;return bl(e,(i=pn(new Zt(1,[$n(0,gn(sn(lC()),new He(1,[]),void 0,void 0)(E(n)))]),Kt(new Bt(1,[]),Xt(xC(t)))),Fi(fl("application/json"),i)))});return r=A.Bind(s,i=>{let o;const a=i;return o=a.tag===1?new h(1,[a.fields[0]]):new h(0,[void a.fields[0]]),A.Return(o)}),A.Bind(r,i=>{const o=i;return o.tag===1||o.fields[0],A.Return()})}function EC(e,t){return IC(e,t)}function TC(e,t,n){return ks(new bs(1,[t]),e,n)}function PC(e,t,n){return ks(new bs(3,[n]),e,t)}function MC(e,t,n){return ks(new bs(4,[n]),e,t)}function OC(e,t,n){return ks(new bs(5,[n]),e,t)}function DC(e,t){return ks(new bs(2,[]),e,t)}function NC(e){const t=ab(e);return[new It(Wc(t.sub),pf(t.workflow.instanceId),new ke(0,[]),new oe(0,[]),de(),new Cs(0,[])),te()]}function RC(e,t,n,r,s){let i,o,a,l,u,f,c,p,m,$,g,w,v,S,N,Q,Z,Ae,at;switch(r.tag){case 1:{const x=r.fields[0];return[new It(s.ProfileId,s.ProcessInstanceId,s.WorkflowDetail,x,s.CssOverrides,s.BenefitsOnboarding),x.tag===2?(i=uC(x.fields[0].Id),O(i.Id,ci.Id)?E(R=>{R(new H(11,[s.ProcessInstanceId,new Ui(1,[])]))}):(o=new H(11,[s.ProcessInstanceId,new Ui(0,[fi(i.Id)])]),E(R=>{R(o)}))):te()]}case 2:{const x=s.WorkflowDetail;let R,B;switch(x.tag===2&&x.fields[0].tag===0?(R=0,B=x.fields[0].fields[0]):R=1,R){case 0:{const ee=vl(s.CurrentView,B,s.BenefitsOnboarding);return[s,E(he=>{he(ee)})]}default:return[s,te()]}}case 11:return qe(AC(t,r.fields[0],r.fields[1])),[s,te()];case 3:{const x=s.WorkflowDetail;let R,B;switch(x.tag===2&&x.fields[0].tag===0?(R=0,B=x.fields[0].fields[0]):R=1,R){case 0:return[s,(a=r.fields[0].target,l=Xr(ee=>m1(hC(ee),a.tagName,5)===0,B.Steps),l==null?te():O(l.Id,new xe(6,[]))?E(ee=>{ee(new H(13,[]))}):(u=l,f=new H(4,[mC(u),new ke(0,[])]),E(ee=>{ee(f)})))];default:return[s,te()]}}case 13:{const x=s.WorkflowDetail;let R;switch(x.tag===2&&x.fields[0].tag===0?O(s.BenefitsOnboarding,new Cs(0,[]))?R=1:R=0:R=1,R){case 0:return[new It(s.ProfileId,s.ProcessInstanceId,s.WorkflowDetail,s.CurrentView,s.CssOverrides,new Cs(2,[])),c0(y([E(B=>{B(new H(11,[s.ProcessInstanceId,new Ui(2,[])]))}),E(B=>{B(new H(9,[new ke(0,[])]))}),E(B=>{B(new H(1,[new oe(5,[])]))})]))];default:return[s,te()]}}case 4:{const x=r.fields[0],R=r.fields[1];switch(R.tag){case 1:return[s,te()];case 2:{const B=R.fields[0],ee=B;ee.tag===1?ee.fields[0]:Ig(x,ee.fields[0],s.ProfileId);let he;const At=s.WorkflowDetail;let qn,Yn;switch(At.tag===2&&At.fields[0].tag===0?(qn=0,Yn=At.fields[0].fields[0]):qn=1,qn){case 0:{he=new ke(2,[(c=B,c.tag===1?new h(1,[c.fields[0]]):gl(Yn,c.fields[0]))]);break}default:he=s.WorkflowDetail}return[new It(s.ProfileId,s.ProcessInstanceId,he,s.CurrentView,s.CssOverrides,s.BenefitsOnboarding),(p=he.tag===2?he.fields[0].tag===1?new H(1,[new oe(4,[he.fields[0].fields[0]])]):vl(s.CurrentView,he.fields[0].fields[0],s.BenefitsOnboarding):he.tag===3?new H(1,[new oe(4,[he.fields[0].message])]):new H(1,[new oe(4,["Process Instance not resolved"])]),E(Yi=>{Yi(p)}))]}case 3:{const B=R.fields[0];return[new It(s.ProfileId,s.ProcessInstanceId,new ke(3,[B]),s.CurrentView,s.CssOverrides,s.BenefitsOnboarding),(m=new H(1,[new oe(4,[B.message])]),E(ee=>{ee(m)}))]}default:return[s,St(B=>{qe(B)},B=>TC(s.ProcessInstanceId,x,B),t,B=>new H(4,[x,new ke(2,[B])]),B=>new H(4,[x,new ke(3,[B])]))]}}case 5:return[new It(s.ProfileId,s.ProcessInstanceId,s.WorkflowDetail,new oe(3,[]),s.CssOverrides,s.BenefitsOnboarding),St(x=>{qe(x)},x=>PC(s.ProcessInstanceId,t,x),r.fields[0].InjectedBenefits,x=>new H(14,[]),x=>new H(15,[x]))];case 6:return[s,c0(y([St(x=>{qe(x)},x=>OC(s.ProcessInstanceId,t,x),r.fields[0].InjectedBenefits,x=>new H(14,[]),x=>new H(15,[x])),($=s.WorkflowDetail,$.tag===2?$.fields[0].tag===0?(g=new H(1,[new oe(2,[P1(Bo(x=>O(x.Status,new le(0,[]))?!0:O(x.Status,new le(4,[])),$.fields[0].fields[0].Steps))])]),E(x=>{x(g)})):E(x=>{x(new H(1,[new oe(4,["Process Instance not resolved"])]))}):E(x=>{x(new H(1,[new oe(4,["Process Instance not resolved"])]))}))]))];case 7:return[s,St(x=>{qe(x)},Vs(e)(s.ProcessInstanceId)(t),r.fields[0].InjectedBenefits,x=>new H(8,[x]),x=>new H(15,[x]))];case 8:{let x;const R=s.WorkflowDetail;let B,ee;switch(R.tag===2&&R.fields[0].tag===0?(B=0,ee=R.fields[0].fields[0]):B=1,B){case 0:{x=new ke(2,[(w=r.fields[0],w.tag===1?new h(1,[w.fields[0]]):gl(ee,w.fields[0]))]);break}default:x=s.WorkflowDetail}return[new It(s.ProfileId,s.ProcessInstanceId,x,s.CurrentView,s.CssOverrides,s.BenefitsOnboarding),(v=x.tag===2?x.fields[0].tag===1?new H(1,[new oe(4,[x.fields[0].fields[0]])]):vl(s.CurrentView,x.fields[0].fields[0],s.BenefitsOnboarding):x.tag===3?new H(1,[new oe(4,[x.fields[0].message])]):new H(1,[new oe(4,["Process Instance not resolved"])]),E(he=>{he(v)}))]}case 9:{const x=r.fields[0];switch(x.tag){case 1:return[s,te()];case 2:return x.fields[0].tag===1?[new It(s.ProfileId,s.ProcessInstanceId,new ke(2,[new h(1,[x.fields[0].fields[0]])]),s.CurrentView,s.CssOverrides,s.BenefitsOnboarding),E(R=>{R(new H(1,[new oe(4,[x.fields[0].fields[0]])]))})]:(ha(x.fields[0].fields[0].Id,x.fields[0].fields[0].Configuration.Name,x.fields[0].fields[0].Configuration.Id,s.ProfileId),[new It(s.ProfileId,s.ProcessInstanceId,lb(R=>{const B=R;return B.tag===1?new h(1,[B.fields[0]]):gl(B.fields[0],x.fields[0].fields[0])},s.WorkflowDetail),s.CurrentView,s.CssOverrides,s.BenefitsOnboarding),E(R=>{R(new H(1,[new oe(5,[])]))})]);case 3:return[new It(s.ProfileId,s.ProcessInstanceId,new ke(3,[x.fields[0]]),s.CurrentView,s.CssOverrides,s.BenefitsOnboarding),(S=new H(1,[new oe(4,[x.fields[0].message])]),E(R=>{R(S)}))];default:{const R=s.WorkflowDetail;let B,ee;switch(R.tag===2&&R.fields[0].tag===0&&ra(R.fields[0].fields[0].Status)?(B=0,ee=R.fields[0].fields[0]):B=1,B){case 0:return ha(ee.ProcessInstanceId,ee.InstanceName,ee.ProcessConfigId,s.ProfileId),[s,te()];default:return[s,St(he=>{qe(he)},he=>DC(s.ProcessInstanceId,he),t,he=>new H(9,[new ke(2,[he])]),he=>new H(9,[new ke(3,[he])]))]}}}}case 10:{const x=r.fields[0];return ha(x.ProcessInstanceId,x.InstanceName,x.ProcessConfigId,s.ProfileId),[s,E(R=>{R(new H(1,[new oe(5,[])]))})]}case 12:return[s,(N=window.location.pathname+"/"+window.location.search+window.location.hash,f0(x=>{ol(E(N),1)}))];case 14:return[s,te()];case 15:return[s,te()];default:{const x=r.fields[0];let R;switch(x.tag){case 3:{R=[s,(Q=new H(1,[new oe(4,[x.fields[0].message])]),E(B=>{B(Q)}))];break}case 0:case 1:{R=[s,te()];break}default:{let B,ee;const he=x.fields[0];if(he.tag===1)ee=new h(1,[he.fields[0]]);else{const At=he.fields[0],qn=pl(At.IsBenefitsEnabled);let Yn;const Yi=[At.ProcessInstance,qn];if(Yn=$l(Yi[0],Yi[1]),Yn.tag===1)ee=new h(1,[Yn.fields[0]]);else{const Vh=Yn.fields[0],Al=_C(n,At);if(Al.tag===1)ee=new h(1,[Al.fields[0]]);else{const Fh=Al.fields[0],q3=ra(At.ProcessInstance.Status);let Ji;const Wh=wC(Vh);Ji=Wh==null?Fh.IsPaySetupComplete?q3?new h(0,[new oe(5,[])]):new h(0,[new oe(4,["Something went wrong"])]):new h(0,[new oe(3,[])]):new h(0,[(Z=Wh,Ae=al.clientWidth,at=or(Vh)|0,at===1?(document.title=Gn(Z),new oe(2,[Z])):yl(Ae)!=null?new oe(1,[]):new oe(2,[Z]))]),ee=Ji.tag===1?new h(1,[Ji.fields[0]]):new h(0,[[new It(s.ProfileId,s.ProcessInstanceId,new ke(2,[new h(0,[Fh])]),s.CurrentView,At.CssOverrides,qn),Ji.fields[0]]])}}}B=ee.tag===1?[s,new oe(4,[ee.fields[0]])]:ee.fields[0],R=[B[0],E(At=>{At(new H(1,[B[1]]))})]}}return[R[0],R[1]]}}}function LC(e,t,n,r){return RC(MC,e,t,n,r)}const BC=d("div",C(y([["className","text-primary-base"],(()=>{let e,t,n;const r=[d("svg",C(y([["fill","none"],["height",32],["viewBox","0 0 32 32"],["width",32],["xmlns","http://www.w3.org/2000/svg"],(e=E(d("g",C(E((t=y([d("rect",{width:32,height:32,fill:"white"}),d("circle",{cx:16,cy:16,r:16,fill:"currentColor"}),d("path",C(y([(n="M20.3018 11.7811L13.9959 18.0829L11.6982 15.7867C11.5092 15.6043 11.2561 15.5033 10.9933 15.5056C10.7306 15.5079 10.4793 15.6132 10.2935 15.7989C10.1077 15.9845 10.0023 16.2357 10 16.4983C9.99775 16.7608 10.0988 17.0138 10.2813 17.2026L13.2874 20.2068C13.4754 20.3945 13.7302 20.5 13.9959 20.5C14.2616 20.5 14.5164 20.3945 14.7043 20.2068L21.7187 13.1971C21.9012 13.0082 22.0022 12.7553 22 12.4927C21.9977 12.2301 21.8923 11.979 21.7065 11.7933C21.5207 11.6076 21.2694 11.5023 21.0067 11.5C20.7439 11.4978 20.4908 11.5987 20.3018 11.7811Z",["d",n]),["fill","white"]])))]),["children",b.Children.toArray(Array.from(t))]))))),["children",b.Children.toArray(Array.from(e))])])))];return["children",b.Children.toArray(Array.from(r))]})()]))),VC=d("div",C(y([["className","text-primary-base"],(()=>{let e,t,n,r;const s=[d("svg",C(y([["fill","none"],["height",32],["viewBox","0 0 32 32"],["width",32],["xmlns","http://www.w3.org/2000/svg"],(e=E(d("g",C(E((t=y([d("rect",{width:32,height:32,fill:"white"}),d("circle",{cx:16,cy:16,r:15,stroke:"currentColor",strokeWidth:2}),d("path",C(y([(n="M16.616 12.6769L11.146 18.1459C11.0908 18.2022 11.0497 18.2707 11.026 18.3459L10.026 21.3459C10.0018 21.4208 9.99555 21.5004 10.0079 21.5781C10.0202 21.6559 10.0507 21.7296 10.0969 21.7934C10.1431 21.8571 10.2036 21.909 10.2737 21.9449C10.3438 21.9808 10.4213 21.9997 10.5 21.9999C10.5538 22.0002 10.6072 21.9914 10.658 21.9739L13.658 20.9739C13.7332 20.9503 13.8017 20.9091 13.858 20.8539L19.327 15.3839L16.616 12.6769Z",["d",n]),["fill","currentColor"]]))),d("path",C(y([(r="M21.8545 12.146L19.8545 10.146C19.808 10.0994 19.7529 10.0625 19.6921 10.0373C19.6314 10.0121 19.5663 9.99908 19.5005 9.99908C19.4347 9.99908 19.3696 10.0121 19.3089 10.0373C19.2481 10.0625 19.1929 10.0994 19.1465 10.146L17.6775 11.616L20.3845 14.323L21.8545 12.854C21.9011 12.8075 21.938 12.7524 21.9632 12.6916C21.9884 12.6309 22.0014 12.5657 22.0014 12.5C22.0014 12.4342 21.9884 12.3691 21.9632 12.3083C21.938 12.2476 21.9011 12.1924 21.8545 12.146Z",["d",r]),["fill","currentColor"]])))]),["children",b.Children.toArray(Array.from(t))]))))),["children",b.Children.toArray(Array.from(e))])])))];return["children",b.Children.toArray(Array.from(s))]})()]))),FC=d("svg",C(y([["fill","none"],["height",32],["viewBox","0 0 32 32"],["width",32],["xmlns","http://www.w3.org/2000/svg"],(()=>{let e,t,n;const r=E(d("g",C(E((e=y([d("rect",{width:32,height:32,fill:"white"}),d("circle",{cx:16,cy:16,r:15,stroke:"#D1D5DB",strokeWidth:2}),d("path",C(y([(t="M15 13C15 12.7348 15.1054 12.4804 15.2929 12.2929C15.4804 12.1054 15.7348 12 16 12C16.2652 12 16.5196 12.1054 16.7071 12.2929C16.8946 12.4804 17 12.7348 17 13V15H19V13C19 12.2044 18.6839 11.4413 18.1213 10.8787C17.5587 10.3161 16.7956 10 16 10C15.2044 10 14.4413 10.3161 13.8787 10.8787C13.3161 11.4413 13 12.2044 13 13V15H15V13Z",["d",t]),["fill","#9CA3AF"]]))),d("path",C(y([(n="M19.6 16H12.4C11.9029 16 11.5 16.3731 11.5 16.8333V20.1667C11.5 20.6269 11.9029 21 12.4 21H19.6C20.0971 21 20.5 20.6269 20.5 20.1667V16.8333C20.5 16.3731 20.0971 16 19.6 16Z",["d",n]),["fill","#9CA3AF"]])))]),["children",b.Children.toArray(Array.from(e))])))));return["children",b.Children.toArray(Array.from(r))]})()]))),xh=d("svg",C(y([["fill","none"],["height",32],["viewBox","0 0 32 32"],["width",32],["xmlns","http://www.w3.org/2000/svg"],(()=>{let e;const t=E(d("g",C(E((e=y([d("rect",{width:32,height:32,fill:"white"}),d("circle",{cx:16,cy:16,r:15,stroke:"#D1D5DB",strokeWidth:2})]),["children",b.Children.toArray(Array.from(e))])))));return["children",b.Children.toArray(Array.from(t))]})()]))),WC=d("svg",C(y([["fill","none"],["height",32],["viewBox","0 0 32 32"],["width",32],["xmlns","http://www.w3.org/2000/svg"],(()=>{let e,t;const n=E(d("g",C(E((e=y([d("rect",{width:32,height:32,fill:"white"}),d("circle",{cx:16,cx:16,cy:16,r:15,stroke:"#D1D5DB",strokeWidth:2}),d("path",C(y([(t="M20.3018 11.7811L13.9959 18.0829L11.6982 15.7867C11.5092 15.6043 11.2561 15.5033 10.9933 15.5056C10.7306 15.5079 10.4793 15.6132 10.2935 15.7989C10.1077 15.9845 10.0023 16.2357 10 16.4983C9.99775 16.7608 10.0988 17.0138 10.2813 17.2026L13.2874 20.2068C13.4754 20.3945 13.7302 20.5 13.9959 20.5C14.2616 20.5 14.5164 20.3945 14.7043 20.2068L21.7187 13.1971C21.9012 13.0082 22.0022 12.7553 22 12.4927C21.9977 12.2301 21.8923 11.979 21.7065 11.7933C21.5207 11.6076 21.2694 11.5023 21.0067 11.5C20.7439 11.4978 20.4908 11.5987 20.3018 11.7811Z",["d",t]),["fill","#D1D5DB"]])))]),["children",b.Children.toArray(Array.from(e))])))));return["children",b.Children.toArray(Array.from(n))]})()])));function Cl(e,t){let n;return d("div",C(y([["className","w-full h-6 rounded justify-start items-center inline-flex"],(n=[d("div",{className:ve(" ",[e,"text-lg font-medium leading-normal"]),children:t})],["children",b.Children.toArray(Array.from(n))])])))}function jC(e){return Cl("text-gray-900",e)}function Sl(e){return Cl("text-gray-500",e)}function UC(e){return Cl("text-primary-base",e)}function zC(e){switch(e.Status.tag){case 0:return jC(Gn(e));case 1:return Sl(Gn(e));case 3:return Sl(Gn(e));case 4:return Sl(Gn(e));default:return UC(Gn(e))}}function Ih(e){let t;return d("div",C(y([["className","w-8 h-6 flex-col justify-center items-center inline-flex"],(t=[d("div",{className:ve(" ",[e,"w-0.5 h-6 relative"])})],["children",b.Children.toArray(Array.from(t))])])))}const HC=Ih("bg-gray-300"),Ah=Ih("bg-primary-base");function GC(e){const t=O(e.Id,new xe(6,[])),n=e.Status;let r;if(t)r=2;else switch(n.tag){case 0:{r=0;break}case 2:{r=1;break}default:r=2}switch(r){case 0:return Ah;case 1:return Ah;default:return HC}}function Eh(e,t){let n,r,s;const i=O(t.Status,new le(0,[]))?!0:O(t.Status,new le(2,[]));return d("button",C(y([["className",ve(" ",["group h-8 justify-start items-center space-x-4 inline-flex focus:outline-none"])],["type","button"],["disabled",!i],["onClick",o=>{e(new H(1,[new oe(2,[t])]))}],(n=[d("div",C(y([["className","w-8 h-8 relative"],(r=ge(T(()=>{const o=t.Status;return o.tag===0?_(BC):o.tag===1?_(xh):o.tag===3?O(t.Id,new xe(6,[]))?_(FC):_(xh):o.tag===4?_(WC):_(VC)})),["children",b.Children.toArray(Array.from(r))])]))),d("div",C(y([["className",ve(" ",ge(T(()=>W(_("rounded justify-start items-center flex"),T(()=>i?_("group-focus:outline-none group-focus:ring-2 group-focus:ring-offset-4 group-focus:ring-primary-focus"):cr())))))],(s=[zC(t)],["children",b.Children.toArray(Array.from(s))])])))],["children",b.Children.toArray(Array.from(n))])])))}function qC(e){let t,n,r,s=!1,i=0;const o=$e(e.Steps);try{for(;o["System.Collections.IEnumerator.MoveNext"]();){const u=o["System.Collections.Generic.IEnumerator`1.get_Current"]();switch(u.Id.tag){case 0:case 1:{s=O(u.Status,new le(0,[]))?!0:O(u.Status,new le(4,[]));break}default:(O(u.Status,new le(0,[]))||O(u.Status,new le(4,[])))&&(i=i+1|0)}}}finally{ue(o)}r=i+(s?1:0);const a=or(_l(e.Steps))|0,l=u=>d("div",{className:"text-gray-500 text-sm font-medium leading-tight",children:u});return d("div",C(y([(t="h-20 w-full px-6 py-4 bg-white border-b border-gray-300 flex-col justify-start items-start inline-flex cursor-default",["className",t]),(n=ge(T(()=>{let u,f;return W((u=e.Branding,O(e.AppMode,new Ar(0,[]))?_(ne()):u!=null&&u.CompanyName!=null?(f=u.CompanyName,_(l(rs(f)))):_(l(wl(e.JourneyType)))),T(()=>_(d("div",{className:"text-center text-gray-900 text-base font-semibold leading-normal",children:`${r}/${a} sections complete`}))))})),["children",b.Children.toArray(Array.from(n))])])))}function YC(e,t){return((r,s)=>{e:for(;;){const i=r,o=s;if(M(i))return o;if(M(P(i)))return wt(o,E(Eh(e,k(i))));r=Qe(k(P(i)),P(P(i))),s=wt(o,y([Eh(e,k(i)),GC(k(P(i)))]));continue e}})(_l(t.Steps),de())}function JC(e){let t,n,r;const s=e.dispatch,i=e.detail,o=Yo(void 0),a=oi(!1);return Rp(()=>{const l=window.ResizeObserver?new window.ResizeObserver(()=>{const u=document.body.offsetWidth;yl(u)!=null||a[0]===!1&&(a[1](!0),s(new H(2,[])))}):new Nf(()=>{const u=document.body.offsetWidth;yl(u)!=null||a[0]===!1&&(a[1](!0),s(new H(2,[])))});return xn(u=>{l.observe(u)},qs(o.current)),{Dispose(){l.disconnect()}}}),d("div",C(y([["ref",o],["className","absolute top-0 bottom-0 left-0 right-0"],(t=[d("div",C(y([["className","w-full h-full bg-white flex-col justify-start items-start inline-flex"],(n=[qC(i),d("div",C(y([["className","p-6 bg-white flex-col justify-start items-start inline-flex"],(r=YC(s,i),["children",b.Children.toArray(Array.from(r))])])))],["children",b.Children.toArray(Array.from(n))])])))],["children",b.Children.toArray(Array.from(t))])])))}class zi extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["backend-url","access-token"]}}class ZC extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["app-base-url"]}}class XC extends L{constructor(t){super(),this.tag=0,this.fields=[t]}cases(){return["workflows-instance-id"]}}function Th(e){const t=e.children,n=e.effect,r=e.props,s=e.step;hr(n);const i=s.tag===1?ft.ComponentTagName:s.tag===2?dt.ComponentTagName:s.tag===3?ht.ComponentTagName:s.tag===4?Ne.ComponentTagName:s.tag===5?Tn.ComponentTagName:s.tag===6?ci.ComponentTagName:s.tag===7?Ht.ComponentTagName:s.tag===8?Pn.ComponentTagName:Ge.ComponentTagName;return d(i,yt(r,1),...t)}class xs extends L{constructor(t,n){super(),this.tag=t,this.fields=n}cases(){return["Mobile","MobileLandscape","Tablet","Desktop","WideScreen"]}}class KC extends F{constructor(t,n,r,s){super(),this.MobileLandscape=t|0,this.Tablet=n|0,this.Desktop=r|0,this.WideScreen=s|0}}const QC=new KC(576,768,1024,1216);function e3(e){return["(max-width: "+e.MobileLandscape+"px)","(max-width: "+e.Tablet+"px)","(max-width: "+e.Desktop+"px)","(max-width: "+e.WideScreen+"px)"]}function Hi(e){const t=Np(()=>window.matchMedia(e).matches);return qo(()=>{const n=window.matchMedia(e),r=()=>{t[1](n.matches)};return r(),n.addListener(r),es(()=>{n.removeListener(r)})},[e]),t[0]}function t3(e){const t=e3(Te(e,QC)),n=Hi(t[0]),r=Hi(t[1]),s=Hi(t[2]),i=Hi(t[3]);return n?new xs(0,[]):r?new xs(1,[]):s?new xs(2,[]):i?new xs(3,[]):new xs(4,[])}const n3=d("svg",C(y([["fill","none"],["height",16],["viewBox","0 0 16 16"],["width",16],["xmlns","http://www.w3.org/2000/svg"],(()=>{let e,t;const n=E(d("g",C(E((e=y([d("rect",{width:16,height:16,fill:"white"}),d("path",C(y([(t="M15 6.99992H3.41403L6.70703 3.70692C6.88919 3.51832 6.98998 3.26571 6.9877 3.00352C6.98543 2.74132 6.88026 2.49051 6.69485 2.3051C6.50944 2.11969 6.25863 2.01452 5.99643 2.01224C5.73423 2.00997 5.48163 2.11076 5.29303 2.29292L0.293031 7.29292C0.10556 7.48045 0.000244141 7.73475 0.000244141 7.99992C0.000244141 8.26508 0.10556 8.51939 0.293031 8.70692L5.29303 13.7069C5.38528 13.8024 5.49562 13.8786 5.61763 13.931C5.73963 13.9834 5.87085 14.011 6.00363 14.0122C6.13641 14.0133 6.26809 13.988 6.39098 13.9377C6.51388 13.8875 6.62553 13.8132 6.71943 13.7193C6.81332 13.6254 6.88757 13.5138 6.93785 13.3909C6.98813 13.268 7.01343 13.1363 7.01228 13.0035C7.01113 12.8707 6.98354 12.7395 6.93113 12.6175C6.87872 12.4955 6.80254 12.3852 6.70703 12.2929L3.41403 8.99992H15C15.2652 8.99992 15.5196 8.89456 15.7071 8.70703C15.8947 8.51949 16 8.26514 16 7.99992C16 7.7347 15.8947 7.48035 15.7071 7.29281C15.5196 7.10528 15.2652 6.99992 15 6.99992Z",["d",t]),["fill","#212121"]])))]),["children",b.Children.toArray(Array.from(e))])))));return["children",b.Children.toArray(Array.from(n))]})()])));function r3(e,t,n){let r,s,i,o,a,l;const u=R1(m=>O(m.Id,n.Id),t)/or(t)*100;l=je(We("%.0f%%"))(u);let f;const c=B1(m=>O(m.Status,new le(2,[]))?!0:O(m.Status,new le(0,[])),t)/or(t)*100;f=je(We("%.0f%%"))(c);const p=O(n.Id,new xe(1,[]))?vh(new xe(0,[])):Gn(n);return d("div",C(y([(r="h-20 w-full px-6 py-4 bg-white border-b border-gray-300 flex-col justify-start items-start space-y-3 inline-flex sticky left-0 right-0 top-0 z-50",["className",r]),(s=[d("div",C(y([["className","self-stretch justify-start items-center space-x-3 inline-flex"],(i=[d("button",{type:"button",className:"w-4 h-4 rounded-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-base",onClick:m=>{e(new H(1,[new oe(1,[])]))},children:b.Children.toArray([n3])}),d("div",{className:"text-center text-gray-900 text-base font-semibold leading-normal",children:p})],["children",b.Children.toArray(Array.from(i))])]))),d("div",C(y([["className","w-full h-2 relative rounded-sm"],(o=[d("div",{className:"w-full h-0.5 left-0 top-[3px] absolute bg-gray-300 rounded-sm"}),d("div",C(y([["className","w-full left-0 top-0 absolute"],(a=[d("div",{className:"h-0.5 left-0 top-[3px] absolute bg-primary-base rounded-sm",style:{width:f}}),d("div",{className:"w-2 h-2 top-0 absolute bg-primary-base rounded-full",style:{left:l}})],["children",b.Children.toArray(Array.from(a))])])))],["children",b.Children.toArray(Array.from(o))])])))],["children",b.Children.toArray(Array.from(s))])])))}const s3=d("div",C(y([["className","relative h-4 w-2 z-50"],(()=>{const e=[d("div",{className:"absolute left-0 top-1 h-2 w-2 rounded-full bg-primary-base"})];return["children",b.Children.toArray(Array.from(e))]})()]))),i3=d("div",{className:"relative h-0.5 w-2 bg-gray-300"}),Ph=d("div",{className:"relative h-0.5 w-2 bg-primary-base"}),o3=d("div",C(y([["className","w-4 h-4 relative"],(()=>{let e,t,n;const r=[d("svg",C(y([["fill","none"],["height",16],["viewBox","0 0 16 16"],["width",16],["xmlns","http://www.w3.org/2000/svg"],(e=y([d("path",C(y([(t="M7 5C7 4.73478 7.10536 4.48043 7.29289 4.29289C7.48043 4.10536 7.73478 4 8 4C8.26522 4 8.51957 4.10536 8.70711 4.29289C8.89464 4.48043 9 4.73478 9 5V7H11V5C11 4.20435 10.6839 3.44129 10.1213 2.87868C9.55871 2.31607 8.79565 2 8 2C7.20435 2 6.44129 2.31607 5.87868 2.87868C5.31607 3.44129 5 4.20435 5 5V7H7V5Z",["d",t]),["fill","#9CA3AF"]]))),d("path",C(y([(n="M11.6 8H4.4C3.90294 8 3.5 8.3731 3.5 8.83333V12.1667C3.5 12.6269 3.90294 13 4.4 13H11.6C12.0971 13 12.5 12.6269 12.5 12.1667V8.83333C12.5 8.3731 12.0971 8 11.6 8Z",["d",n]),["fill","#9CA3AF"]])))]),["children",b.Children.toArray(Array.from(e))])])))];return["children",b.Children.toArray(Array.from(r))]})()])));function Mh(e,t,n){let r;if(e)r=0;else switch(n.tag){case 0:case 4:{r=2;break}case 1:{r=4;break}case 3:{t?r=3:r=4;break}default:r=1}switch(r){case 0:return s3;case 1:return Ph;case 2:return Ph;case 3:return o3;default:return i3}}const Oh=d("div",{className:"relative h-0.5 w-full"}),a3=d("div",{className:"relative h-0.5 w-full bg-gray-300"}),l3=d("div",{className:"relative h-0.5 w-full bg-primary-base"});function kl(e){let t;if(e==null)t=1;else switch(e.tag){case 0:case 4:case 2:{t=0;break}default:t=2}switch(t){case 0:return l3;case 1:return Oh;default:return a3}}function Dh(e){let t,n;return d("div",C(y([["className","inline-flex h-11 w-10 flex-col items-center justify-start"],(t=[d("div",C(y([["className","inline-flex h-4 items-center justify-center self-stretch"],(n=[d("div",{className:ve(" ",[e,"relative h-0.5 w-10"])})],["children",b.Children.toArray(Array.from(n))])])))],["children",b.Children.toArray(Array.from(t))])])))}const u3=Dh("bg-gray-300"),c3=Dh("bg-primary-base");function f3(e){switch(e.tag){case 0:case 4:case 2:return c3;default:return u3}}function Nh(e,t,n,r){let s,i;const o=!e&&(O(n.Status,new le(0,[]))?!0:O(n.Status,new le(2,[]))),a=e?"text-primary-base":O(n.Status,new le(2,[]))||O(n.Status,new le(0,[]))?"text-gray-900 group-hover:text-primary-base":"text-gray-500",l=d("div",{className:"absolute inset-0 group-hover:bg-primary-base group-hover:opacity-10 rounded"});let u;const f=dc(bh(n.Id).toLocaleLowerCase()," ","-");return u=je(We("step-%s"))(f),d("div",C(y([["className",ve(" ",["h-11 flex-col justify-start items-center inline-flex"])],(s=[d("div",{className:"h-4 inline-flex items-center justify-center self-stretch",children:b.Children.toArray(Array.from(r))}),d("button",C(y([["type","button"],["disabled",!o],["data-testid",u],["className",ve(" ",["relative group h-7 px-2 py-1 justify-center items-center gap-2 inline-flex rounded","focus:outline-none focus:ring-1 focus:ring-offset-1 focus:ring-primary-focus"])],["onClick",Et(t)(n)],(i=ge(T(()=>W(_(o?l:ne()),T(()=>_(d("div",{className:ve(" ",[a,"text-sm font-medium leading-tight whitespace-nowrap"]),children:dC(n)})))))),["children",b.Children.toArray(Array.from(i))])])))],["children",b.Children.toArray(Array.from(s))])])))}function d3(e,t,n){const r=O(n.Id,new xe(1,[]))?new xe(0,[]):n.Id,s=(o,a)=>{e(new H(1,[new oe(2,[o])]))};return lr(((o,a,l)=>{e:for(;;){const u=o,f=a,c=l;if(M(u))return c;if(M(P(u))){const p=kl(f),m=O(k(u).Id,r);return wt(c,E(Nh(m,s,k(u),y([Oh,Mh(m,O(k(u).Id,new xe(6,[])),k(u).Status),p]))))}else{const p=kl(f),m=O(k(u).Id,r),$=Mh(m,O(k(u).Id,new xe(6,[])),k(u).Status);o=P(u),a=k(u).Status,l=wt(c,y([Nh(m,s,k(u),y([kl(k(u).Status),$,p])),f3(k(u).Status)]));continue e}}})(lr(_l(t)),void 0,de()))}function h3(e,t,n){let r,s,i;const o=d("div",C(y([["className","grow shrink basis-0 flex-col justify-start items-start inline-flex"],(r=[d("div",{className:"hidden lg:inline text-gray-500 text-sm font-medium leading-tight",children:wl(t.JourneyType)}),Te(Be(l=>d("div",{className:"hidden lg:inline text-center text-gray-900 text-base font-semibold leading-normal",children:l}),Be(rs,on(l=>l.CompanyName,t.Branding))),ne())],["children",b.Children.toArray(Array.from(r))])]))),a=d("div",{className:"grow shrink basis-0"});return d("div",C(y([(s="w-full h-20 px-8 py-4 bg-white border-b border-gray-300 justify-between items-center inline-flex sticky left-0 right-0 top-0 z-50",["className",s]),(i=ge(T(()=>W(O(t.AppMode,new Ar(0,[]))?_(a):_(o),T(()=>{let l;return W(_(d("div",C(y([["className","bg-white justify-center items-start flex"],(l=d3(e,t.Steps,n),["children",b.Children.toArray(Array.from(l))])])))),T(()=>_(d("div",{className:"grow shrink basis-0"}))))})))),["children",b.Children.toArray(Array.from(i))])])))}function m3(e){let t;const n=e.body,r=e.currentStep,s=e.detail,i=e.dispatch;return d("div",C(y([["className","w-full flex-col justify-start items-center inline-flex bg-white"],(t=ge(T(()=>W(or(s.Steps)===1?_(ne()):t3().tag===0?_(r3(i,s.Steps,r)):_(h3(i,s,r)),T(()=>_(d("div",{className:"p-4 max-w-7xl mx-auto w-full",children:n})))))),["children",b.Children.toArray(Array.from(t))])])))}const p3=e=>d("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d("path",{d:"M16 16V30",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M11 21L16 16L21 21",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M11 29H4C3.20435 29 2.44129 28.6839 1.87868 28.1213C1.31607 27.5587 1 26.7956 1 26V2H12L15 7H31V26C31 26.7956 30.6839 27.5587 30.1213 28.1213C29.5587 28.6839 28.7956 29 28 29H21",stroke:"#111827",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),$3=e=>d("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d("path",{d:"M19.7 4.3C19.3 3.9 18.7 3.9 18.3 4.3L12 10.6L5.7 4.3C5.3 3.9 4.7 3.9 4.3 4.3C3.9 4.7 3.9 5.3 4.3 5.7L10.6 12L4.3 18.3C3.9 18.7 3.9 19.3 4.3 19.7C4.5 19.9 4.7 20 5 20C5.3 20 5.5 19.9 5.7 19.7L12 13.4L18.3 19.7C18.5 19.9 18.8 20 19 20C19.2 20 19.5 19.9 19.7 19.7C20.1 19.3 20.1 18.7 19.7 18.3L13.4 12L19.7 5.7C20.1 5.3 20.1 4.7 19.7 4.3Z",fill:"#9CA3AF"}));function g3(e){const t=yt(e,1);return d(p3,t)}function w3(e){const t=yt(e,1);return d($3,t)}function y3(e){return d("div",{className:"absolute top-0 bottom-0 left-0 right-0",children:b.Children.toArray([e])})}function _3(e,t){let n;return d("button",C(y([["type","button"],["data-testid","submit-btn"],["className",ve(" ",["self-stretch md:self-auto md:w-60 px-4 py-2 bg-primary-base hover:bg-primary-hover rounded-md shadow","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-focus cursor-pointer","justify-center items-center inline-flex"])],["onClick",t],(n=[d("div",{className:"text-white text-base font-semibold leading-normal",children:e})],["children",b.Children.toArray(Array.from(n))])])))}function v3(e,t){let n;return d("button",C(y([["type","button"],["className",ve(" ",["relative group self-stretch md:self-auto md:w-60 px-4 py-2 rounded-md shadow justify-center items-center inline-flex","focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-focus cursor-pointer"])],["onClick",t],(n=[d("div",{className:"text-primary-dark text-base font-semibold leading-normal z-[1]",children:e}),d("div",{className:"absolute w-full h-full rounded-md z-[0] bg-primary-base opacity-10 group-hover:opacity-20"})],["children",b.Children.toArray(Array.from(n))])])))}function Gi(e,t,n,r,s){let i,o,a,l,u,f,c,p,m,$,g,w,v,S,N;return y3(d("div",C(y([["className","w-full h-full md:pb-8 bg-white flex-col justify-start items-start md:items-center inline-flex"],(i=[d("div",C(y([(o="w-full md:self-stretch p-4 bg-white border-gray-200 flex-col justify-start items-end space-x-4 space-y-4 flex",["className",o]),(a=[d("button",C(y([["type","button"],(l="w-6 h-6 relative rounded-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-base",["className",l]),["onClick",Q=>{s(new H(6,[{InjectedBenefits:r}]))}],(u=[w3([])],["children",b.Children.toArray(Array.from(u))])])))],["children",b.Children.toArray(Array.from(a))])]))),d("div",C(y([(f="w-full md:w-[560px] grow shrink basis-0 px-4 md:px-0 pb-8 md:pb-0 bg-white flex-col justify-between md:justify-start items-center md:space-y-14 flex",["className",f]),(c=[d("div",C(y([["className","self-stretch h-64 md:h-56 flex-col justify-start items-center space-y-8 flex"],(p=[d("div",C(y([["className","self-stretch h-64 flex-col justify-start items-center space-y-6 flex"],(m=[d("div",C(y([["className","self-stretch h-24 flex-col justify-start items-center space-y-4 flex"],($=[d("div",C(y([["className","w-12 h-12 relative rounded-lg"],(g=[d("div",{className:"w-12 h-12 relative bg-primary-base opacity-10 rounded-lg"}),d("div",C(y([["className","w-8 h-8 left-2 top-2 absolute"],(w=[d("div",C(y([["className","w-7 h-7 left-px top-0.5 absolute"],(v=[g3([["className","text-primary-base"]])],["children",b.Children.toArray(Array.from(v))])])))],["children",b.Children.toArray(Array.from(w))])])))],["children",b.Children.toArray(Array.from(g))])]))),d("div",{className:"self-stretch text-center text-gray-900 text-2xl md:text-3xl font-bold leading-7 md:leading-9",children:e})],["children",b.Children.toArray(Array.from($))])]))),d("div",C(y([["className","self-stretch h-40 md:h-24 flex-col justify-start items-center space-y-3 md:space-y-4 flex"],(S=[d("div",{className:"self-stretch text-center text-gray-900 text-base md:text-lg font-normal leading-normal md:leading-7",children:t}),d("div",{className:"self-stretch text-center text-gray-900 text-base md:text-lg font-normal leading-normal md:leading-7",children:n})],["children",b.Children.toArray(Array.from(S))])])))],["children",b.Children.toArray(Array.from(m))])])))],["children",b.Children.toArray(Array.from(p))])]))),d("div",C(y([["className","self-stretch h-24 flex-col justify-start items-center space-y-4 flex cursor-pointer"],(N=[_3(r?"Submit and continue":"Submit",Q=>{s(new H(7,[{InjectedBenefits:r}]))}),v3("Keep editing",Q=>{s(new H(6,[{InjectedBenefits:r}]))})],["children",b.Children.toArray(Array.from(N))])])))],["children",b.Children.toArray(Array.from(c))])])))],["children",b.Children.toArray(Array.from(i))])]))))}function b3(e){let t,n;const r=e.dispatch,s=e.wd,i=s.IsBenefitsStepEnabled;return s.AppMode.tag===1?i?Gi("Before you continue",(t=on(o=>o.CompanyName,s.Branding),t==null?"Submit to finalise your pay information to your employer and continue to access your workplace benefits":`Submit to finalise your pay information to ${rs(t)} and continue to access your workplace benefits`),"Once you submit, you’ll be unable to view or edit your details",!0,r):Gi("Submit your details",(n=on(o=>o.CompanyName,s.Branding),n==null?"Submit to finalise your pay information to your employer":`Submit to finalise your pay information to ${rs(n)}`),"Once you submit, you’ll be unable to view or edit your details.",!1,r):i?Gi("Before you continue","Submit to finalise your pay information to your employer and continue to access your workplace benefits","",!0,r):Gi("Submit your details","Submit to finalise your pay information to your employer","",!1,r)}function qi(e,t){let n;return d("div",C(y([["className",ve(" ",["animate-pulse w-full relative",e,t])],(n=[d("div",{className:ve(" ",["w-full left-0 top-0 absolute bg-gray-200 rounded",e])})],["children",b.Children.toArray(Array.from(n))])])))}const C3=qi("h-9","max-w-96"),Rh=qi("h-6","max-w-96"),S3=qi("h-80","max-w-96"),k3=qi("h-10","max-w-48"),x3=(()=>{let e,t,n;const r=[d("div",C(y([(e="w-full h-full px-8 py-20 bg-white rounded border border-zinc-200 flex-col justify-start items-center gap-10 inline-flex",["className",e]),(t=[d("div",C(y([["className","max-w-96 w-full flex-col justify-start items-center gap-6 flex"],(n=[C3,d("div",{className:"self-stretch h-14 flex-col justify-start items-center gap-2 flex",children:b.Children.toArray([Rh,Rh])})],["children",b.Children.toArray(Array.from(n))])]))),S3,k3],["children",b.Children.toArray(Array.from(t))])])))];return d(Me,{},...r)})();function I3(e){let t;const n=e.accessToken,r=e.appMode;let s;const i=NC(n);s=tl(()=>Oi(()=>i,(c,p)=>LC(n,r,c,p),(c,p)=>{}),void 0,[]);const o=s[0],a=s[1];ii(ub(()=>EC(o.ProcessInstanceId,n),c=>{a(new H(0,[c]))}),[]),ii(()=>{xg()},[]),ii(()=>{const c=o.CurrentView;let p;switch(o.WorkflowDetail.tag===2?c.tag===2?O(c.fields[0].Id,new xe(4,[]))?(p=0,c.fields[0]):O(c.fields[0].Id,new xe(5,[]))?(p=1,c.fields[0]):p=2:p=2:p=3,p){case 0:break;case 1:break;case 2:{ol(E(ll(r)),2);break}}},[o.CurrentView,o.WorkflowDetail]),hr(()=>{window.addEventListener("step-completion",c=>{a(new H(3,[c]))})});const l=o.WorkflowDetail;let u,f;switch(l.tag){case 2:{l.fields[0].tag===1?u=2:(u=1,f=l.fields[0].fields[0]);break}case 3:{u=2;break}default:u=0}switch(u){case 0:return d("div",{children:["Please wait..."]});case 1:{const c=f.JourneyType;return d("div",C(y([["className","w-full min-h-[600px] mx-auto bg-white"],(t=ge(T(()=>W(Ie(p=>d("style",{children:[p]}),o.CssOverrides),T(()=>{const p=o.CurrentView;switch(p.tag){case 1:return W(_(d(JC,{detail:f,dispatch:a})),T(()=>(un(0),cr())));case 2:{const m=p.fields[0];let $;const g=m.Id;return $=g.tag===4?d(Th,{step:new xe(4,[]),props:[new zi(1,[n]),new zi(0,[`${Vn}/super-selection/backend/v1.0/`]),new ZC(ll(r))],effect:()=>{a(new H(12,[])),un(2500)},children:[]}):d(Th,{step:g,props:[new zi(1,[n]),new zi(0,[Vn]),new XC(rn(mr(o.ProcessInstanceId)))],effect:()=>{un(1500)},children:[]}),_(d(m3,{dispatch:a,detail:f,currentStep:m,body:$}))}case 3:return W(_(d(b3,{wd:f,dispatch:a})),T(()=>(un(0),cr())));case 4:return W(_(d("div",{className:"text-center mt-5",children:"We had an issue. Please try again shortly."})),T(()=>(un(0),cr())));case 5:{const m=Be(j_,f.Branding);let $;if(f.AppMode.tag===0)$=0;else switch(c.tag){case 1:{$=2;break}case 2:{$=3;break}case 3:case 4:{$=4;break}default:$=1}switch($){case 0:return _(x3);case 1:return _(Ss(ml(m,"onboarding")));case 2:return _(Ss(ml(m,"information request")));case 3:return _(Ss($h()));default:return _(Ss(li()))}}default:return _(d("div",{children:["Please wait..."]}))}})))),["children",b.Children.toArray(Array.from(t))])])))}default:return Ss(li())}}function A3(e){return{render:function(t){Os(t,e)},unmount:function(){po(e)}}}class E3 extends F{constructor(t,n,r){super(),this.model=t,this.render=n,this.equal=r}}class T3 extends lt{constructor(t){super(t)}shouldComponentUpdate(t,n){const r=this;return!r.props.equal(r.props.model,t.model)}render(){return this.props.render()}}function P3(e,t,n,r){const s=new E3(n,()=>t(n,r),e);return d(T3,s)}const M3=(()=>{try{return Ho(_u.slice(void 0,2),511,!1,32)>=18}catch{return!1}})();function O3(e,t,n){let r;return m0(re(M3?(r=A3(document.getElementById(t)),s=>i=>{r.render(e(o=>a=>o===a,p0(n),s,i))}):s=>i=>{Os(e(o=>a=>o===a,p0(n),s,i),document.getElementById(t))}),n)}function D3(e,t){return O3((n,r,s,i)=>P3(re(n),re(r),s,i),e,t)}function N3(e,t){const n=encodeURIComponent(jv(t)),r=encodeURIComponent(k2),s=encodeURIComponent(x2(new Ar(0,[])));return A.Delay(()=>{let i,o;const a=ps(pn(new Zt(1,[`grant_type=authorization_code&code=${n}&client_id=${r}&redirect_uri=${s}`]),(i=Kt(new Bt(1,[]),Xt(`${b2}/connect/token`)),Fi(fl("application/x-www-form-urlencoded"),i))));return o=A.Bind(a,l=>A.Return(new h(0,[l]))),A.Bind(o,l=>{const u=l;if(u.tag===1)return A.Return(new h(1,[u.fields[0]]));{const f=u.fields[0];if(f.statusCode===200){const c=en(re(tn(hl(),void 0)),f.responseText);return A.Return(c)}else return A.Return(new h(1,["Unexpected result from backend"]))}})})}function R3(){return new Ir(0,[])}function xl(e){return $i(e)}function L3(e,t){return A.Delay(()=>{let n;return A.Bind(gg([(n=N3(e,t),A.Bind(n,r=>A.Return(r))),A.Delay(()=>A.Bind(xl(2e3),()=>A.Return(void 0)))]),r=>A.Return(se(0,r)))})}function B3(e,t,n){let r;switch(e.tag){case 1:switch(t.tag){case 1:return[t,Ka(s=>{qe(s)},xl,1e3,()=>new jn(1,[]))];case 2:return t.fields[0].tag===1?[t,te()]:[t,Ka(s=>{qe(s)},xl,2e3,()=>new jn(2,[]))];default:return[new Ir(2,[new h(1,["No current authenticated user"])]),te()]}case 2:return[t,(r=window.location.pathname,f0(s=>{ol(E(r),1)}))];default:if(e.fields[0].tag===1)return e.fields[0].fields[0].tag===1?[new Ir(2,[new h(1,[`SignIn failed: ${e.fields[0].fields[0].fields[0]}`])]),te()]:(window.gtag&&window.gtag("event","oidc_sign_in",{}),[new Ir(2,[new h(0,[e.fields[0].fields[0].fields[0]])]),e.fields[2]?te():E(s=>{s(new jn(2,[]))})]);switch(t.tag){case 1:return[t,te()];default:return[new Ir(1,[]),St(s=>{qe(s)},s=>L3(s[0],s[1]),[n,e.fields[1]],s=>{const i=[new Se(1,[s]),e.fields[1],e.fields[2]];return new jn(0,[i[0],i[1],i[2]])},s=>{const i=[new Se(1,[new h(1,[s.message])]),e.fields[1],e.fields[2]];return new jn(0,[i[0],i[1],i[2]])})]}}}function V3(){const e=qu(window.sessionStorage.getItem("credentials"));if(e!=null){const t=e,n=en(re(tn(hl(),void 0)),t);return n.tag===1?void 0:n.fields[0]}}function F3(e){let t;const n=["credentials",(t=new ph(e.id_token,e.access_token,e.expires_in,void 0,e.scope,e.token_type),$n(0,gn(hl(),void 0,void 0,void 0)(t)))];window.sessionStorage.setItem(n[0],n[1])}function Lh(e,t){return Xa(n=>new wn(3,[n]),E(n=>{n(new jn(0,[new Se(0,[]),e,t]))}))}function Il(e){return Lh(e,!1)}function W3(e){return Lh(e,!0)}function j3(){const e=gh(T0(window.location.pathname+window.location.search,2)),t=e[0],n=e[1],r=new zn(t,R3(),n);switch(t.tag){case 4:case 1:case 2:case 5:case 6:return[r,te()];case 0:{const s=V3();let i;switch(n.tag){case 0:case 2:{i=1;break}default:s==null?i=1:i=0}switch(i){case 0:return[new zn(r.CurrentPage,new Ir(2,[new h(0,[s])]),r.AppMode),te()];default:return[r,E(o=>{o(new wn(5,[]))})]}}default:return[r,Il(t.fields[0])]}}function U3(e,t){switch(e.tag){case 1:{const n=e.fields[0];return[new zn(new U(3,[n]),t.Credentials,t.AppMode),Il(n)]}case 2:return[new zn(new U(4,[]),t.Credentials,t.AppMode),Xa(n=>new wn(3,[n]),E(n=>{n(new jn(1,[]))}))];case 3:{const n=B3(e.fields[0],t.Credentials,t.AppMode),r=n[0];let s,i;switch(r.tag===2&&r.fields[0].tag===0&&t.AppMode.tag===1?(s=0,i=r.fields[0].fields[0]):s=1,s){case 0:{F3(i);break}}return[new zn(t.CurrentPage,r,t.AppMode),Xa(o=>new wn(3,[o]),n[1])]}case 4:return[t,W3(e.fields[0])];case 5:return[new zn(new U(6,[]),t.Credentials,t.AppMode),te()];default:{const n=gh(e.fields[0])[0],r=new zn(n,t.Credentials,t.AppMode);return n.tag===3?[r,Il(n.fields[0])]:[r,te()]}}}const Bh=d("div",C(y([["className","flex flex-col justify-center items-center pt-10"],(()=>{const e=[li()];return["children",b.Children.toArray(Array.from(e))]})()])));function z3(e){switch(e.CurrentPage.tag){case 3:case 4:case 2:return E("bg-white h-full");default:return de()}}function H3(e){switch(e.tag){case 1:return d("style",{children:[`
810
+ html {
811
+ height: 100%;
812
+ }
813
+ body {
814
+ height: 100%;
815
+ }
816
+ #workflows-app {
817
+ height: 100%;
818
+ }`]});default:return ne()}}function G3(e,t){let n;const r=d("div",C(y([["className",ve(" ",ge(T(()=>W(_(zp),T(()=>W(_("font-inter"),T(()=>z3(e))))))))],(n=ge(T(()=>W(_(H3(e.AppMode)),T(()=>{const s=e.CurrentPage;switch(s.tag){case 3:case 4:{const i=e.Credentials;let o;switch(i.tag===2&&i.fields[0].tag===1?o=0:o=1,o){case 0:return _(Bh);default:return _(d(Hp,null))}}case 1:return _(d(Ny,null));case 2:return _(d(tb,{inviteCode:s.fields[0],navigateAuthCodeExchangePage:i=>{i==null?t(new wn(2,[])):t(new wn(1,[i]))},startAuthCodeExchangeBackground:i=>{t(new wn(4,[i]))}}));case 5:return _(d("h1",{children:["Not found"]}));case 6:return _(d(sb,null));default:{const i=e.Credentials;let o,a;switch(i.tag===2&&i.fields[0].tag===0?(o=0,a=i.fields[0].fields[0]):o=1,o){case 0:return _(d(I3,{appMode:e.AppMode,accessToken:a.access_token}));default:return _(Bh)}}}})))),["children",b.Children.toArray(Array.from(n))])])));return _2({hashMode:2,onUrlChanged:s=>{t(new wn(0,[s]))},application:d(Me,{},r)})}S_(D3("workflows-app",Oi(j3,U3,G3)))})();