@flarehr/workflows-app 0.1.3012 → 0.1.3013

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,2 @@
1
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)};function Li(e){return{Dispose(){e()}}}function Ri(e){return bi.useState(e)}function ji(e){Mi(e)}function Wi(e,t){Bi(e,t)}function Ui(e){zi(e,[])}function zi(e,t){Bi((t=>(e(),Li((()=>{})))),t)}function Fi(e){return bi.useRef(e)}function Gi(e,t){const n=At(t,[]);return bi.useMemo(e,n)}function Hi(e){const t=Fi(e),n=function(e,n){const r=At([],[]);return bi.useCallback((e=>t.current(e)),r)}();var r,i;return r=()=>{t.current=e},i=e=>(r(),Li((()=>{}))),Q((()=>{const e=i();return()=>{e.Dispose()}})),n}function Vi(e){return bi.useState(e)}function Yi(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 qi(e,t,n){return Yi(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 Ji(e){let t;const n=e.reissueMagicLink,r=Vi(!1);return Yi("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 Zi(e){return qi("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 Xi(){return Yi("Something went wrong","We are unable to load our application at this time. Please wait a few minutes before trying again.",void 0)}const Ki=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 Qi(){let e,t;return d("div",ft(Zn([["className",vn(" ",["fade-in","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([Ki])})],["children",bi.Children.toArray(Array.from(e))])])))}const eo=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,to=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,no=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function ro(e){function t(e){return e.replace(to,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(eo.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(to.test(n))return t(n);if(no.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 io(e,t){try{return t.contents=ro(e),!0}catch(e){return!1}}class oo{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"]();ho(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){ho(this,e[0],e[1])}"System.Collections.Generic.ICollection`1.Clear"(){co(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(e){const t=ao(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|lo(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(e){const t=ao(this,e[0]);return null!=t&&(ot(t[1],e[1])&&po(this,e[0]),!0)}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(e,t){ho(this,e,t)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(e){return mo(this,e)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(e){return uo(this,e)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(e,t){fo(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 po(this,e)}"System.Collections.Generic.IDictionary`2.TryGetValue23A0B95A"(e,t){const n=ao(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|lo(this)}clear(){co(this)}delete(e){return po(this,e)}entries(){return Sr((e=>[e[0],e[1]]),this)}get(e){return uo(this,e)}has(e){return mo(this,e)}keys(){return Sr((e=>e[0]),this)}set(e,t){return fo(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 so(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 ao(e,t){const n=so(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 co(e){e.hashMap.clear()}function lo(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 uo(e,t){const n=ao(e,t);if(null!=n)return n[1];throw new Error("The item was not found in collection")}function fo(e,t,n){const r=so(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 ho(e,t,n){const r=so(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 mo(e,t){const n=so(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function po(e,t){const n=so(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 $o extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Ok","Error"]}}function go(e,t){return 0===t.tag?new $o(0,e(t.fields[0])):new $o(1,t.fields[0])}function wo(e,t){return 0===t.tag?e(t.fields[0]):new $o(1,t.fields[0])}class yo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of2","Choice2Of2"]}}class vo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of3","Choice2Of3","Choice3Of3"]}}function bo(e,t){return wn(t)?new $o(1,hn(un("%s cannot be null or empty"))(e)):new $o(0,t)}function Co(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 $o(0,t):new $o(1,"Email is not in the correct format")}const xo=e=>({tag:"ok",value:e}),_o=e=>({tag:"error",error:e});class ko{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 ko.isAbsoluteUri(e)?xo(new ko({original:e,value:new URL(e),kind:t})):_o("Invalid URI: The format of the URI could not be determined.");case 2:return ko.isAbsoluteUri(e)?_o("URI is not a relative path."):xo(new ko({original:e,value:e,kind:t}));case 0:return ko.isAbsoluteUri(e)?xo(new ko({original:e,value:new URL(e),kind:1})):xo(new ko({original:e,value:e,kind:2}));default:return t}}static tryCreateWithBase(e,t){return 1!==e.uri.kind?_o("Base URI should have Absolute kind"):"string"==typeof t?xo(new ko({original:new URL(t,e.uri.value).toString(),value:new URL(t,e.uri.value),kind:1})):2===t.uri.kind?xo(new ko({original:new URL(t.uri.value,e.uri.value).toString(),value:new URL(t.uri.value,e.uri.value),kind:1})):xo(e)}static tryCreateImpl(e,t=1){return"string"==typeof e?"number"!=typeof t?_o("Kind must be specified when the baseUri is a string."):ko.tryCreateWithKind(e,t):"number"==typeof t?_o("Kind should not be specified when the baseUri is an absolute Uri."):ko.tryCreateWithBase(e,t)}static create(e,t=1){const n=ko.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=ko.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 So extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProfileId"]}}function Io(e){return new So(0,e)}function Ao(e){return e.fields[0]}class Eo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["InviteCode"]}}function Oo(e){return function(e){return!yn(e)}(e)?new $o(0,new Eo(0,e)):new $o(1,"Invalid invite code format.")}class No extends yt{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class To extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Logo"]}}class Po extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompanyName"]}}class Do extends yt{constructor(e,t){super(),this.Email=e,this.Phone=t}}class Mo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Email"]}}class Bo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Phone"]}}const Lo=e=>go((e=>new Mo(0,e)),wo(Co,bo("Email",e)));function Ro(e){return e.fields[0]}const jo=e=>go((e=>new Bo(0,e)),bo("Phone",e));function Wo(e){return e.fields[0]}function Uo(e){return yn(e)?new $o(1,"Invalid company name."):new $o(0,new Po(0,e))}function zo(e){return e.fields[0]}function Fo(e){return function(e){try{const t=ko.create(e);return t.isAbsoluteUri?[!0,t]:[!1,void 0]}catch(e){return[!1,void 0]}}(e)[0]?new $o(0,new To(0,e)):new $o(1,"Invalid logo url.")}function Go(e){return e.fields[0]}class Ho extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SecondFactorCode"]}}class Vo extends yt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.NumberOfAttempts=0|n,this.DateOfLastAttempt=r}}class Yo extends yt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.SecondFactor=n,this.Branding=r}}class qo extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessStepId"]}}class Jo extends yt{constructor(e,t,n){super(),this.Id=e,this.DisplayName=t,this.ComponentTagName=n}}const Zo=new Jo(new qo(0,"personal-details"),"Personal Details","apollo-personal-details-app"),Xo=new Jo(new qo(0,"emergency-contacts"),"Emergency Contacts","apollo-emergency-contacts-app"),Ko=new Jo(new qo(0,"bank"),"Bank","bank-component"),Qo=new Jo(new qo(0,"tax"),"Tax","tax-component"),es=new Jo(new qo(0,"super"),"Super","super-selection-app"),ts=new Jo(new qo(0,"app-workplace-linking"),"App Workplace Linking","workplace-link"),ns=new qo(0,"benefits-onboarding"),rs=new Jo(ns,"Benefits","benefits-onboarding"),is=new Jo(new qo(0,"workplace-policy"),"Workplace-policy","apollo-workplace-policies-app"),os=new Jo(new qo(0,"Benefits-Discrete"),"Benefits","benefits-onboarding");function ss(e){return new qo(0,e)}function as(e){return e.fields[0]}class cs extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessConfigId"]}}class ls extends yt{constructor(e,t,n){super(),this.Id=e,this.Name=t,this.Steps=n}}const us=new ls(new cs(0,ro("00000000-0000-0000-0000-000000000000")),"onboarding-default",Zn([Ko,Qo,es])),fs=new ls(new cs(0,ro("00000000-0000-0000-0000-000000000001")),"PEBTS",Zn([Zo,Xo,Ko,Qo,es])),ds=new ls(new cs(0,ro("00000000-0000-0000-0000-000000000002")),"PS",Zn([Zo,es])),hs=new ls(new cs(0,ro("00000000-0000-0000-0000-000000000003")),"BS",Zn([Ko,es])),ms=new ls(new cs(0,ro("00000000-0000-0000-0000-000000000004")),"Super",jn(es)),ps=new ls(new cs(0,ro("00000000-0000-0000-0001-000000000000")),"App Workplace Linking",jn(ts)),$s=new ls(new cs(0,ro("00000000-0000-0000-0000-000000000005")),"Tax",jn(Qo)),gs=new ls(new cs(0,ro("00000000-0000-0000-0000-000000000006")),"PBTS",Zn([Zo,Ko,Qo,es])),ws=new ls(new cs(0,ro("00000000-0000-0000-0000-000000000007")),"PEBTSPo",Zn([Zo,Xo,Ko,Qo,es,is])),ys=new ls(new cs(0,ro("00000000-0000-0000-0000-000000000008")),"PEBSPo",Zn([Zo,Xo,Ko,es,is])),vs=new ls(new cs(0,ro("00000000-0000-0000-0000-000000000009")),"PESPo",Zn([Zo,Xo,es,is])),bs=new ls(new cs(0,ro("00000000-0000-0000-0000-000000000010")),"PETSPo",Zn([Zo,Xo,Qo,es,is])),Cs=new ls(new cs(0,ro("00000000-0000-0000-0002-000000000000")),"Bo",jn(os)),xs=new ls(new cs(0,ro("00000000-0000-0000-0000-000000000011")),"PETS",Zn([Zo,Xo,Qo,es])),_s=new ls(new cs(0,ro("00000000-0000-0000-0000-000000000012")),"PEBS",Zn([Zo,Xo,Ko,es])),ks=new ls(new cs(0,ro("00000000-0000-0000-0000-000000000013")),"PES",Zn([Zo,Xo,es])),Ss=new ls(new cs(0,ro("00000000-0000-0000-0000-000000000014")),"PBTSPo",Zn([Zo,Ko,Qo,es,is])),Is=new oo([[us.Id,us],[fs.Id,fs],[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]],{Equals:ot,GetHashCode:nt});function As(e){return e.fields[0]}class Es extends yt{constructor(e,t){super(),this.ActivatedDates=e,this.CompletedSteps=t}}class Os extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}function Ns(e){return 2===e.tag}class Ts extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessInstanceId"]}}function Ps(e){return new Ts(0,e)}function Ds(e){return e.fields[0]}class Ms extends yt{constructor(e,t){super(),this.Name=e,this.Value=t}}class Bs extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TagName"]}}class Ls extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TagValue"]}}class Rs 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 js extends yt{constructor(e){super(),this.BenefitsOnboarding=e}}class Ws extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Default","InfoRequest","AppInvite","BenefitsExisting","BenefitsOnboarding"]}}class Us extends yt{constructor(e){super(),this.Category=e}}class zs extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["WhenEnabled","Always"]}}function Fs(){return St(document.getElementById("external-loading-page-container"))}function Gs(){return null!=Fs()}var Hs,Vs=[],Ys="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"}(Hs||(Hs={}));var qs,Js=function(e){return Object.freeze(e)},Zs=function(e,t){this.inlineSize=e,this.blockSize=t,Js(this)},Xs=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,Js(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}(),Ks=function(e){return e instanceof SVGElement&&"getBBox"in e},Qs=function(e){if(Ks(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)},ea=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)},ta="undefined"!=typeof window?window:{},na=new WeakMap,ra=/auto|scroll/,ia=/^tb|vertical/,oa=/msie|trident/i.test(ta.navigator&&ta.navigator.userAgent),sa=function(e){return parseFloat(e||"0")},aa=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new Zs((n?t:e)||0,(n?e:t)||0)},ca=Js({devicePixelContentBoxSize:aa(),borderBoxSize:aa(),contentBoxSize:aa(),contentRect:new Xs(0,0,0,0)}),la=function(e,t){if(void 0===t&&(t=!1),na.has(e)&&!t)return na.get(e);if(Qs(e))return na.set(e,ca),ca;var n=getComputedStyle(e),r=Ks(e)&&e.ownerSVGElement&&e.getBBox(),i=!oa&&"border-box"===n.boxSizing,o=ia.test(n.writingMode||""),s=!r&&ra.test(n.overflowY||""),a=!r&&ra.test(n.overflowX||""),c=r?0:sa(n.paddingTop),l=r?0:sa(n.paddingRight),u=r?0:sa(n.paddingBottom),f=r?0:sa(n.paddingLeft),d=r?0:sa(n.borderTopWidth),h=r?0:sa(n.borderRightWidth),m=r?0:sa(n.borderBottomWidth),p=f+l,$=c+u,g=(r?0:sa(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:sa(n.width)-b-v,_=r?r.height:sa(n.height)-C-y,k=x+p+v+g,S=_+$+y+w,I=Js({devicePixelContentBoxSize:aa(Math.round(x*devicePixelRatio),Math.round(_*devicePixelRatio),o),borderBoxSize:aa(k,S,o),contentBoxSize:aa(x,_,o),contentRect:new Xs(f,c,x,_)});return na.set(e,I),I},ua=function(e,t,n){var r=la(e,n),i=r.borderBoxSize,o=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(t){case Hs.DEVICE_PIXEL_CONTENT_BOX:return s;case Hs.BORDER_BOX:return i;default:return o}},fa=function(e){var t=la(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=Js([t.borderBoxSize]),this.contentBoxSize=Js([t.contentBoxSize]),this.devicePixelContentBoxSize=Js([t.devicePixelContentBoxSize])},da=function(e){if(Qs(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},ha=function(){var e=1/0,t=[];Vs.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new fa(t.target),i=da(t.target);r.push(n),t.lastReportedSize=ua(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},ma=function(e){Vs.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(da(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},pa=[],$a=0,ga={attributes:!0,characterData:!0,childList:!0,subtree:!0},wa=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],ya=function(e){return void 0===e&&(e=0),Date.now()+e},va=!1,ba=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),!va){va=!0;var n,r=ya(e);n=function(){var n=!1;try{n=function(){var e,t=0;for(ma(t);Vs.some((function(e){return e.activeTargets.length>0}));)t=ha(),ma(t);return Vs.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:Ys}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=Ys),window.dispatchEvent(e)),t>0}()}finally{if(va=!1,e=r-ya(),!$a)return;n?t.run(1e3):e>0?t.run(e):t.start()}},function(e){if(!qs){var t=0,n=document.createTextNode("");new MutationObserver((function(){return pa.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),qs=function(){n.textContent="".concat(t?t--:t++)}}pa.push(e),qs()}((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,ga)};document.body?t():ta.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),wa.forEach((function(t){return ta.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),wa.forEach((function(t){return ta.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}(),Ca=new ba,xa=function(e){!$a&&e>0&&Ca.start(),!($a+=e)&&Ca.stop()},_a=function(){function e(e,t){this.target=e,this.observedBox=t||Hs.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=ua(this.target,this.observedBox,!0);return e=this.target,Ks(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}(),ka=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},Sa=new WeakMap,Ia=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},Aa=function(){function e(){}return e.connect=function(e,t){var n=new ka(e,t);Sa.set(e,n)},e.observe=function(e,t,n){var r=Sa.get(e),i=0===r.observationTargets.length;Ia(r.observationTargets,t)<0&&(i&&Vs.push(r),r.observationTargets.push(new _a(t,n&&n.box)),xa(1),Ca.schedule())},e.unobserve=function(e,t){var n=Sa.get(e),r=Ia(n.observationTargets,t),i=1===n.observationTargets.length;r>=0&&(i&&Vs.splice(Vs.indexOf(n),1),n.observationTargets.splice(r,1),xa(-1))},e.disconnect=function(e){var t=this,n=Sa.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Ea=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.");Aa.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(!ea(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Aa.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(!ea(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Aa.unobserve(this,e)},e.prototype.disconnect=function(){Aa.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class Oa extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Oa.prototype)}}class Na{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>Na.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function Ta(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new Oa);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 Pa=new class{Bind(e,t){return function(e,t){return Ta((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 Ta((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 Ta((t=>t.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,t){return Ta((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 Ta((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 Ta((e=>e.onSuccess(void 0)))}};function Da(e){}const Ma=new class{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(){}};function Ba(e){return Ta((t=>{e({onSuccess:e=>t.onSuccess(function(e){return new yo(0,e)}(e)),onError:e=>t.onSuccess(function(e){return new yo(1,e)}(e)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})}))}function La(e){return Ta((t=>e([t.onSuccess,t.onError,t.onCancel])))}function Ra(e){return Ta((t=>{let n;const r=setTimeout((()=>{t.cancelToken.removeListener(n),t.onSuccess(void 0)}),e);n=t.cancelToken.addListener((()=>{clearTimeout(r),t.onCancel(new Oa)}))}))}function ja(e,t){return function(e,t){return Wa(e,t)}(e,t)}function Wa(e,t,n,r,i){"function"!=typeof t&&(i=t,t=void 0);const o=new Na;e({onSuccess:t||Da,onError:n||Da,onCancel:r||Da,cancelToken:i||Ma,trampoline:o})}class Ua extends yt{constructor(e,t,n){super(),this.instanceId=0|e,this.name=t,this.type=n}}function za(e){Gs()||window.parent.postMessage(e,"*")}function Fa(){za(function(e,t){const n={type:"contentResized",sender:"flare"};return n.height=e,n.width=-1,n}(document.body.offsetHeight))}function Ga(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 $o(1,r):new $o(0,i)}(e,t);1===r.tag||za(function(e,t,n,r){const i={type:"stepSubmitSuccess",sender:"flare"};return i.workflow=function(e){return new Ua(Ds(e.Id),e.Configuration.Name,As(e.Configuration.Id))}(n),i.profileId=Ao(r),i.step={name:t,type:as(e)},i}(e,r.fields[0].DisplayName,t,n))}function Ha(e,t,n,r){za(function(e,t,n,r){const i={type:"workflowSubmitSuccess",sender:"flare"};return i.workflow=new Ua(Ds(e),t,As(n)),i.profileId=Ao(r),i}(e,t,n,r))}function Va(e){Gs()&&function(e,t){ja(Pa.Delay((()=>Pa.Bind(Ra(e),(()=>(function(){let e,t;const n=Fs();kr((t=document.body,e=e=>t.removeChild(e),t=>{e(t)}),It(n))}(),za({type:"appReady",sender:"flare"}),Fa(),Pa.Zero()))))))}(e)}function Ya(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 qa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ya(Object(n),!0).forEach((function(t){Xa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ya(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ja(e){return Ja="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},Ja(e)}function Za(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 Xa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ka(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)||ec(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 Qa(e){return function(e){if(Array.isArray(e))return tc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ec(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 ec(e,t){if(e){if("string"==typeof e)return tc(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)?tc(e,t):void 0}}function tc(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 nc=function(){},rc={},ic={},oc=null,sc={mark:nc,measure:nc};try{"undefined"!=typeof window&&(rc=window),"undefined"!=typeof document&&(ic=document),"undefined"!=typeof MutationObserver&&(oc=MutationObserver),"undefined"!=typeof performance&&(sc=performance)}catch(c){}var ac=(rc.navigator||{}).userAgent,cc=void 0===ac?"":ac,lc=rc,uc=ic,fc=oc,dc=sc,hc=(lc.document,!!uc.documentElement&&!!uc.head&&"function"==typeof uc.addEventListener&&"function"==typeof uc.createElement),mc=~cc.indexOf("MSIE")||~cc.indexOf("Trident/"),pc="___FONT_AWESOME___",$c="fa",gc="svg-inline--fa",wc="data-fa-i2svg",yc="data-fa-pseudo-element",vc="data-fa-pseudo-element-pending",bc="data-prefix",Cc="data-icon",xc="fontawesome-i2svg",_c="async",kc=["HTML","HEAD","STYLE","SCRIPT"],Sc=function(){try{return!0}catch(e){return!1}}(),Ic={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"},Ac={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},Ec={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},Oc={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},Nc=/fa[srltdbk]?[\-\ ]/,Tc="fa-layers-text",Pc=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,Dc={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},Mc=[1,2,3,4,5,6,7,8,9,10],Bc=Mc.concat([11,12,13,14,15,16,17,18,19,20]),Lc=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Rc={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},jc=[].concat(Qa(Object.keys(Ac)),["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",Rc.GROUP,Rc.SWAP_OPACITY,Rc.PRIMARY,Rc.SECONDARY]).concat(Mc.map((function(e){return"".concat(e,"x")}))).concat(Bc.map((function(e){return"w-".concat(e)}))),Wc=lc.FontAwesomeConfig||{};uc&&"function"==typeof uc.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=Ka(e,2),n=t[0],r=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=uc.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=i&&(Wc[r]=i)}));var Uc=qa(qa({},{familyPrefix:$c,styleDefault:"solid",replacementClass:gc,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0}),Wc);Uc.autoReplaceSvg||(Uc.observeMutations=!1);var zc={};Object.keys(Uc).forEach((function(e){Object.defineProperty(zc,e,{enumerable:!0,set:function(t){Uc[e]=t,Fc.forEach((function(e){return e(zc)}))},get:function(){return Uc[e]}})})),lc.FontAwesomeConfig=zc;var Fc=[],Gc=16,Hc={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},Vc="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Yc(){for(var e=12,t="";e-- >0;)t+=Vc[62*Math.random()|0];return t}function qc(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Jc(e){return e.classList?qc(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function Zc(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Xc(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function Kc(e){return e.size!==Hc.size||e.x!==Hc.x||e.y!==Hc.y||e.rotate!==Hc.rotate||e.flipX||e.flipY}var Qc=':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 el(){var e=$c,t=gc,n=zc.familyPrefix,r=zc.replacementClass,i=Qc;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 tl=!1;function nl(){zc.autoAddCss&&!tl&&(function(e){if(e&&hc){var t=uc.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=uc.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)}uc.head.insertBefore(t,r)}}(el()),tl=!0)}var rl={mixout:function(){return{dom:{css:el,insertCss:nl}}},hooks:function(){return{beforeDOMElementCreation:function(){nl()},beforeI2svg:function(){nl()}}}},il=lc||{};il[pc]||(il[pc]={}),il[pc].styles||(il[pc].styles={}),il[pc].hooks||(il[pc].hooks={}),il[pc].shims||(il[pc].shims=[]);var ol=il[pc],sl=[],al=!1;function cl(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?Zc(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Zc(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(cl).join(""),"</").concat(t,">")}function ll(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}hc&&((al=(uc.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(uc.readyState))||uc.addEventListener("DOMContentLoaded",(function e(){uc.removeEventListener("DOMContentLoaded",e),al=1,sl.map((function(e){return e()}))})));var ul=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 fl(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 dl(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 hl(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,i=dl(t);"function"!=typeof ol.hooks.addPack||r?ol.styles[e]=qa(qa({},ol.styles[e]||{}),i):ol.hooks.addPack(e,dl(t)),"fas"===e&&hl("fa",t)}var ml=ol.styles,pl=ol.shims,$l=Object.values(Ec),gl=null,wl={},yl={},vl={},bl={},Cl={},xl=Object.keys(Ic);var _l,kl=function(){var e=function(e){return ul(ml,(function(t,n,r){return t[r]=ul(n,e,{}),t}),{})};wl=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})),yl=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})),Cl=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 ml||zc.autoFetchSvg,n=ul(pl,(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:{}});vl=n.names,bl=n.unicodes,gl=Nl(zc.styleDefault)};function Sl(e,t){return(wl[e]||{})[t]}function Il(e,t){return(Cl[e]||{})[t]}function Al(e){return vl[e]||{prefix:null,iconName:null}}function El(){return gl}_l=function(e){gl=Nl(e.styleDefault)},Fc.push(_l),kl();var Ol=function(){return{prefix:null,iconName:null,rest:[]}};function Nl(e){var t=Ic[e],n=Ac[e]||Ac[t],r=e in ol.styles?e:null;return n||r||null}function Tl(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,~jc.indexOf(n))?null:o}(zc.familyPrefix,t);if(ml[t]?(t=$l.includes(t)?Oc[t]:t,r=t,e.prefix=t):xl.indexOf(t)>-1?(r=t,e.prefix=Nl(t)):i?e.iconName=i:t!==zc.replacementClass&&e.rest.push(t),!n&&e.prefix&&e.iconName){var o="fa"===r?Al(e.iconName):{},s=Il(e.prefix,e.iconName);o.prefix&&(r=null),e.iconName=o.iconName||s||e.iconName,e.prefix=o.prefix||e.prefix,"far"!==e.prefix||ml.far||!ml.fas||zc.autoFetchSvg||(e.prefix="fas")}return e}),Ol());return"fa"!==i.prefix&&"fa"!==r||(i.prefix=El()||"fas"),i}var Pl=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(t){e.definitions[t]=qa(qa({},e.definitions[t]||{}),i[t]),hl(t,i[t]);var n=Ec[t];n&&hl(n,i[t]),kl()}))}},{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&&Za(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Dl=[],Ml={},Bl={},Ll=Object.keys(Bl);function Rl(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(Ml[e]||[]).forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function jl(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(Ml[e]||[]).forEach((function(e){e.apply(null,n)}))}function Wl(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Bl[e]?Bl[e].apply(null,t):void 0}function Ul(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||El();if(t)return t=Il(n,t)||t,ll(zl.definitions,n,t)||ll(ol.styles,n,t)}var zl=new Pl,Fl={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return hc?(jl("beforeI2svg",e),Wl("pseudoElements2svg",e),Wl("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===zc.autoReplaceSvg&&(zc.autoReplaceSvg=!0),zc.observeMutations=!0,e=function(){Hl({autoReplaceSvgRoot:n}),jl("watch",t)},hc&&(al?setTimeout(e,0):sl.push(e))}},Gl={noAuto:function(){zc.autoReplaceSvg=!1,zc.observeMutations=!1,jl("noAuto")},config:zc,dom:Fl,parse:{icon:function(e){if(null===e)return null;if("object"===Ja(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Il(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=Nl(e[0]);return{prefix:n,iconName:Il(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(zc.familyPrefix,"-"))>-1||e.match(Nc))){var r=Tl(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||El(),iconName:Il(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var i=El();return{prefix:i,iconName:Il(i,e)||e}}}},library:zl,findIconDefinition:Ul,toHtml:cl},Hl=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?uc:e;(Object.keys(ol.styles).length>0||zc.autoFetchSvg)&&hc&&zc.autoReplaceSvg&&Gl.dom.i2svg({node:t})};function Vl(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return cl(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(hc){var t=uc.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Yl(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=[zc.replacementClass,o?"".concat(zc.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:qa(qa({},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[wc]=""),c&&(y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(u||Yc())},children:[c]}),delete y.attributes.title);var b=qa(qa({},y),{},{prefix:i,iconName:o,main:n,mask:r,maskId:l,transform:s,symbol:a,styles:qa(qa({},v),f.styles)}),C=r.found&&n.found?Wl("generateAbstractMask",b)||{children:[],attributes:{}}:Wl("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(zc.familyPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:qa(qa({},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(Kc(s)&&n.found&&!r.found){var a={x:n.width/n.height/2,y:.5};i.style=Xc(qa(qa({},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 ql(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=qa(qa(qa({},s.attributes),o?{title:o}:{}),{},{class:s.classes.join(" ")});c&&(l[wc]="");var u=qa({},s.styles);Kc(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&&mc?"translate(".concat(t.x/Gc-r/2,"em, ").concat(t.y/Gc-o/2,"em) "):a?"translate(calc(-50% + ".concat(t.x/Gc,"em), calc(-50% + ").concat(t.y/Gc,"em)) "):"translate(".concat(t.x/Gc,"em, ").concat(t.y/Gc,"em) "),(c+="scale(".concat(t.size/Gc*(t.flipX?-1:1),", ").concat(t.size/Gc*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:i,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);var f=Xc(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 Jl=ol.styles;function Zl(e){var t=e[0],n=e[1],r=Ka(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(zc.familyPrefix,"-").concat(Rc.GROUP)},children:[{tag:"path",attributes:{class:"".concat(zc.familyPrefix,"-").concat(Rc.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(zc.familyPrefix,"-").concat(Rc.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var Xl={found:!1,width:512,height:512};function Kl(e,t){var n=t;return"fa"===t&&null!==zc.styleDefault&&(t=El()),new Promise((function(r,i){if(Wl("missingIconAbstract"),"fa"===n){var o=Al(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&Jl[t]&&Jl[t][e])return r(Zl(Jl[t][e]));!function(e,t){Sc||zc.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(qa(qa({},Xl),{},{icon:zc.showMissingIcons&&e&&Wl("missingIconAbstract")||{}}))}))}var Ql=function(){},eu=zc.measurePerformance&&dc&&dc.mark&&dc.measure?dc:{mark:Ql,measure:Ql},tu='FA "6.1.2"',nu=function(e){eu.mark("".concat(tu," ").concat(e," ends")),eu.measure("".concat(tu," ").concat(e),"".concat(tu," ").concat(e," begins"),"".concat(tu," ").concat(e," ends"))},ru={begin:function(e){return eu.mark("".concat(tu," ").concat(e," begins")),function(){return nu(e)}},end:nu},iu=function(){};function ou(e){return"string"==typeof(e.getAttribute?e.getAttribute(wc):null)}function su(e){return uc.createElementNS("http://www.w3.org/2000/svg",e)}function au(e){return uc.createElement(e)}function cu(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?su:au:t;if("string"==typeof e)return uc.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(cu(e,{ceFn:n}))})),r}var lu={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(cu(e),t)})),null===t.getAttribute(wc)&&zc.keepOriginalSource){var n=uc.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(~Jc(t).indexOf(zc.replacementClass))return lu.replace(e);var r=new RegExp("".concat(zc.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce((function(e,t){return t===zc.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 cl(e)})).join("\n");t.setAttribute(wc,""),t.innerHTML=o}};function uu(e){e()}function fu(e,t){var n="function"==typeof t?t:iu;if(0===e.length)n();else{var r=uu;zc.mutateApproach===_c&&(r=lc.requestAnimationFrame||uu),r((function(){var t=!0===zc.autoReplaceSvg?lu.replace:lu[zc.autoReplaceSvg]||lu.replace,r=ru.begin("mutate");e.map(t),r(),n()}))}}var du=!1;function hu(){du=!0}function mu(){du=!1}var pu=null;function $u(e){if(fc&&zc.observeMutations){var t=e.treeCallback,n=void 0===t?iu:t,r=e.nodeCallback,i=void 0===r?iu:r,o=e.pseudoElementsCallback,s=void 0===o?iu:o,a=e.observeMutationsRoot,c=void 0===a?uc:a;pu=new fc((function(e){if(!du){var t=El();qc(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!ou(e.addedNodes[0])&&(zc.searchPseudoElements&&s(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&zc.searchPseudoElements&&s(e.target.parentNode),"attributes"===e.type&&ou(e.target)&&~Lc.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(bc):null,n=e.getAttribute?e.getAttribute(Cc):null;return t&&n}(e.target)){var r=Tl(Jc(e.target)),o=r.prefix,a=r.iconName;e.target.setAttribute(bc,o||t),a&&e.target.setAttribute(Cc,a)}else(c=e.target)&&c.classList&&c.classList.contains&&c.classList.contains(zc.replacementClass)&&i(e.target);var c}))}})),hc&&pu.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function gu(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=Tl(Jc(e));return s.prefix||(s.prefix=El()),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,(yl[t]||{})[n]||Sl(s.prefix,fl(e.innerText)))),!s.iconName&&zc.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=qc(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 zc.autoA11y&&(n?t["aria-labelledby"]="".concat(zc.replacementClass,"-title-").concat(r||Yc()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),a=Rl("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 qa({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:Hc,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:c,attributes:s}},a)}var wu=ol.styles;function yu(e){var t="nest"===zc.autoReplaceSvg?gu(e,{styleParser:!1}):gu(e);return~t.extra.classes.indexOf(Tc)?Wl("generateLayersText",e,t):Wl("generateSvgReplacementMutation",e,t)}function vu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!hc)return Promise.resolve();var n=uc.documentElement.classList,r=function(e){return n.add("".concat(xc,"-").concat(e))},i=function(e){return n.remove("".concat(xc,"-").concat(e))},o=zc.autoFetchSvg?Object.keys(Ic):Object.keys(wu);o.includes("fa")||o.push("fa");var s=[".".concat(Tc,":not([").concat(wc,"])")].concat(o.map((function(e){return".".concat(e,":not([").concat(wc,"])")}))).join(", ");if(0===s.length)return Promise.resolve();var a=[];try{a=qc(e.querySelectorAll(s))}catch(e){}if(!(a.length>0))return Promise.resolve();r("pending"),i("complete");var c=ru.begin("onTree"),l=a.reduce((function(e,t){try{var n=yu(t);n&&e.push(n)}catch(e){Sc||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(l).then((function(n){fu(n,(function(){r("active"),r("complete"),i("pending"),"function"==typeof t&&t(),c(),e()}))})).catch((function(e){c(),n(e)}))}))}function bu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;yu(e).then((function(e){e&&fu([e],t)}))}var Cu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Hc: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 Vl(qa({type:"icon"},e),(function(){return jl("beforeDOMElementCreation",{iconDefinition:e,params:t}),zc.autoA11y&&(f?g["aria-labelledby"]="".concat(zc.replacementClass,"-title-").concat(h||Yc()):(g["aria-hidden"]="true",g.focusable="false")),Yl({icons:{main:Zl(C),mask:a?Zl(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:v,iconName:b,transform:qa(qa({},Hc),r),symbol:o,title:f,maskId:l,titleId:h,extra:{attributes:g,styles:y,classes:p}})}))}},xu={mixout:function(){return{icon:(e=Cu,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:Ul(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:Ul(i||{})),e(r,qa(qa({},n),{},{mask:i}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=vu,e.nodeCallback=bu,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?uc:t,r=e.callback;return vu(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([Kl(n,o),c.iconName?Kl(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(c){var f=Ka(c,2),d=f[0],h=f[1];t([e,Yl({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=Xc(e.styles);return s.length>0&&(r.style=s),Kc(o)&&(t=Wl("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),n.push(t||i.icon),{children:n,attributes:r}}}},_u={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 Vl({type:"layer"},(function(){jl("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(zc.familyPrefix,"-layers")].concat(Qa(r)).join(" ")},children:n}]}))}}}},ku={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 Vl({type:"counter",content:e},(function(){return jl("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.title,r=e.extra,i=qa(qa(qa({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),o=Xc(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(zc.familyPrefix,"-layers-counter")].concat(Qa(o))}})}))}}}},Su={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Hc: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 Vl({type:"text",content:e},(function(){return jl("beforeDOMElementCreation",{content:e,params:t}),ql({content:e,transform:qa(qa({},Hc),r),title:o,extra:{attributes:l,styles:f,classes:["".concat(zc.familyPrefix,"-layers-text")].concat(Qa(a))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,i=t.extra,o=null,s=null;if(mc){var a=parseInt(getComputedStyle(e).fontSize,10),c=e.getBoundingClientRect();o=c.width/a,s=c.height/a}return zc.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,ql({content:e.innerHTML,width:o,height:s,transform:r,title:n,extra:i,watchable:!0})])}}},Iu=new RegExp('"',"ug"),Au=[1105920,1112319];function Eu(e,t){var n="".concat(vc).concat(t.replace(":","-"));return new Promise((function(r,i){if(null!==e.getAttribute(n))return r();var o,s,a,c=qc(e.children).filter((function(e){return e.getAttribute(yc)===t}))[0],l=lc.getComputedStyle(e,t),u=l.getPropertyValue("font-family").match(Pc),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])?Ac[u[2].toLowerCase()]:Dc[f],p=function(e){var t=e.replace(Iu,""),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>=Au[0]&&n<=Au[1],i=2===t.length&&t[0]===t[1];return{value:fl(i?t[0]:t),isSecondary:r||i}}(h),$=p.value,g=p.isSecondary,w=u[0].startsWith("FontAwesome"),y=Sl(m,$),v=y;if(w){var b=(s=bl[o=$],a=Sl("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(bc)===m&&c.getAttribute(Cc)===v)r();else{e.setAttribute(n,v),c&&e.removeChild(c);var C={iconName:null,title:null,titleId:null,prefix:null,transform:Hc,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},x=C.extra;x.attributes[yc]=t,Kl(y,m).then((function(i){var o=Yl(qa(qa({},C),{},{icons:{main:i,mask:Ol()},prefix:m,iconName:v,extra:x,watchable:!0})),s=uc.createElement("svg");"::before"===t?e.insertBefore(s,e.firstChild):e.appendChild(s),s.outerHTML=o.map((function(e){return cl(e)})).join("\n"),e.removeAttribute(n),r()})).catch(i)}}else r()}))}function Ou(e){return Promise.all([Eu(e,"::before"),Eu(e,"::after")])}function Nu(e){return!(e.parentNode===document.head||~kc.indexOf(e.tagName.toUpperCase())||e.getAttribute(yc)||e.parentNode&&"svg"===e.parentNode.tagName)}function Tu(e){if(hc)return new Promise((function(t,n){var r=qc(e.querySelectorAll("*")).filter(Nu).map(Ou),i=ru.begin("searchPseudoElements");hu(),Promise.all(r).then((function(){i(),mu(),t()})).catch((function(){i(),mu(),n()}))}))}var Pu=!1,Du=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})},Mu={mixout:function(){return{parse:{transform:function(e){return Du(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=Du(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:qa({},l.outer),children:[{tag:"g",attributes:qa({},l.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:qa(qa({},t.icon.attributes),l.path)}]}]}}}},Bu={x:0,y:0,width:"100%",height:"100%"};function Lu(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 Ru,ju={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?Tl(n.split(" ").map((function(e){return e.trim()}))):Ol();return r.prefix||(r.prefix=El()),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:qa(qa({},Bu),{},{fill:"white"})},m=l.children?{children:l.children.map(Lu)}:{},p={tag:"g",attributes:qa({},d.inner),children:[Lu(qa({tag:l.tag,attributes:qa(qa({},l.attributes),d.path)},m))]},$={tag:"g",attributes:qa({},d.outer),children:[p]},g="mask-".concat(s||Yc()),w="clip-".concat(s||Yc()),y={tag:"mask",attributes:qa(qa({},Bu),{},{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:qa({fill:"currentColor","clip-path":"url(#".concat(w,")"),mask:"url(#".concat(g,")")},Bu)}),{children:n,attributes:r}}}},Wu={provides:function(e){var t=!1;lc.matchMedia&&(t=lc.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:qa(qa({},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=qa(qa({},r),{},{attributeName:"opacity"}),o={tag:"circle",attributes:qa(qa({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:qa(qa({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:qa(qa({},i),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:qa(qa({},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:qa(qa({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:qa(qa({},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:qa(qa({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},Uu=[rl,xu,_u,ku,Su,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=Tu,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?uc:t;zc.searchPseudoElements&&Tu(n)}}},{mixout:function(){return{dom:{unwatch:function(){hu(),Pu=!0}}}},hooks:function(){return{bootstrap:function(){$u(Rl("mutationObserverCallbacks",{}))},noAuto:function(){pu&&pu.disconnect()},watch:function(e){var t=e.observeMutationsRoot;Pu?mu():$u(Rl("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},Mu,ju,Wu,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}];Ru={mixoutsTo:Gl}.mixoutsTo,Dl=Uu,Ml={},Object.keys(Bl).forEach((function(e){-1===Ll.indexOf(e)&&delete Bl[e]})),Dl.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(Ru[e]=t[e]),"object"===Ja(t[e])&&Object.keys(t[e]).forEach((function(n){Ru[e]||(Ru[e]={}),Ru[e][n]=t[e][n]}))})),e.hooks){var n=e.hooks();Object.keys(n).forEach((function(e){Ml[e]||(Ml[e]=[]),Ml[e].push(n[e])}))}e.provides&&e.provides(Bl)}));var zu=Gl.parse,Fu=Gl.icon,Gu=n(826),Hu=n.n(Gu);function Vu(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 Yu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vu(Object(n),!0).forEach((function(t){Ju(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qu(e){return qu="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},qu(e)}function Ju(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zu(e){return function(e){if(Array.isArray(e))return Xu(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 Xu(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)?Xu(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 Xu(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 Ku(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 Qu=["style"],ef=!1;try{ef=!0}catch(c){}function tf(e){return e&&"object"===qu(e)&&e.prefix&&e.iconName&&e.icon?e:zu.icon?zu.icon(e):null===e?null:e&&"object"===qu(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 nf(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Ju({},e,t):{}}var rf=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=tf(n),u=nf("classes",[].concat(Zu(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=(Ju(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),Ju(t,"fa-rotate-".concat(w),null!=w&&0!==w),Ju(t,"fa-pull-".concat(y),null!=y),Ju(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)),Zu(o.split(" ")))),f=nf("transform","string"==typeof e.transform?zu.transform(e.transform):e.transform),d=nf("mask",tf(r)),h=Fu(l,Yu(Yu(Yu(Yu({},u),f),d),{},{symbol:i,title:s,titleId:a,maskId:c}));if(!h)return function(){var e;!ef&&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){rf.defaultProps.hasOwnProperty(t)||(p[t]=e[t])})),of(m[0],p)}));rf.displayName="FontAwesomeIcon",rf.propTypes={beat:Hu().bool,border:Hu().bool,beatFade:Hu().bool,bounce:Hu().bool,className:Hu().string,fade:Hu().bool,flash:Hu().bool,mask:Hu().oneOfType([Hu().object,Hu().array,Hu().string]),maskId:Hu().string,fixedWidth:Hu().bool,inverse:Hu().bool,flip:Hu().oneOf([!0,!1,"horizontal","vertical","both"]),icon:Hu().oneOfType([Hu().object,Hu().array,Hu().string]),listItem:Hu().bool,pull:Hu().oneOf(["right","left"]),pulse:Hu().bool,rotation:Hu().oneOf([0,90,180,270]),shake:Hu().bool,size:Hu().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Hu().bool,spinPulse:Hu().bool,spinReverse:Hu().bool,symbol:Hu().oneOfType([Hu().bool,Hu().string]),title:Hu().string,titleId:Hu().string,transform:Hu().oneOfType([Hu().string,Hu().object]),swapOpacity:Hu().bool},rf.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 of=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=Ku(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[Ku(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,Qu);return o.attrs.style=Yu(Yu({},o.attrs.style),a),t.apply(void 0,[n.tag,Yu(Yu({},o.attrs),c)].concat(Zu(i)))}.bind(null,Re.createElement),sf={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"]},af={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 cf(e,t){return d(rf,e,...t)}cf({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"]}},[]),cf({icon:af,size:"5x"},[]);const lf=cf({icon:sf,size:"5x"},[]);function uf(){let e,t,n,r,i,o,s,a;return Ui((()=>{Va(0)})),d("div",ft(Zn([["className",vn(" ",["h-screen","fade-in"])],(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(" ",["fade-in"])],(i=[d("i",{className:"text-red-600",children:bi.Children.toArray([lf])}),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 ff=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)}},df=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 ff}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 hf{constructor(e,t,n){this.OnNext=e,this.OnError=t||(e=>{}),this.OnCompleted=n||(()=>{})}}function mf(e,t,n){qn((n=>{try{n(t)}catch(t){e(t)}}),n)}function pf(){return Ln()}function $f(e,t){return Qn((t=>n=>{t((t=>{n(e(t))}))}),t)}function gf(e){return Xn(e)}function wf(e){return jn(e)}function yf(e){return jn((t=>{t(e)}))}function vf(e,t,n,r,i){return jn((o=>{e(Pa.Delay((()=>Pa.Bind(Ba(t(n)),(e=>{const t=e;return o(1===t.tag?i(t.fields[0]):r(t.fields[0])),Pa.Zero()})))))}))}function bf(e,t,n,r){return jn((i=>{e(Pa.Delay((()=>Pa.Bind(Ba(t(n)),(e=>{const t=e;return 0===t.tag?(i(r(t.fields[0])),Pa.Zero()):Pa.Zero()})))))}))}function Cf(e){!function(e,t){let n,r=new df(e);r.AutoReset=!1,n=r,function(e,t){t.Subscribe(new hf(e))}(t,n.Elapsed()),n.Enabled=!0,n.Start()}(0,(t=>{ja(e)}))}function xf(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 _f(e,t,n){return xf(e,t,n,0,((e,t)=>e+t))}class kf extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class Sf{constructor(e){this.state=new kf(0,Dt(new Array(ut(at,e,10)),0,ut(at,e,10),null),0)}}function If(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 kf(0,i,n):new kf(1,i,n,o),_t(i[r])}}class Af 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 Ef(e,t,n){return new Af(e,t,(e=>pf()),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 Of(e,t){return new Af(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}function Nf(e,t){const n=t.init(e),r=n[0],i=new Sf(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 kf(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)),_f(0,1,i.length)))));var e,t}))))))),a.length,0):new kf(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 kf(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),mf((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=If(i)}o=!1}}]);t.setState(r,a),mf((e=>{t.onError(["Error intitializing:",e])}),a,gf(Zn([(()=>{try{return t.subscribe(r)}catch(e){return t.onError(["Unable to subscribe:",e]),pf()}})(),n[1]])))}class Tf{constructor(){this.hasDisposedOnce=!1,this.state=void 0,this.listener=void 0,this.dispatcher=void 0}}function Pf(){return new Tf}function Df(e,t,n,r){Nf(t,Of(((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 Mf(e,t){return function(e,t,n){const r=Ri(Pf)[0],i=Ri((()=>Df(e,t,r))),o=i[1];return Wi((()=>(function(e){return e.hasDisposedOnce}(r)&&o(Df(e,t,r)),Li((()=>{!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 Bf(e,t,n){return Mf((()=>Ef(e,t,((e,t)=>{}))),n)}class Lf{constructor(e,t,n,r){this.declaringType=e,this.tag=t,this.name=n,this.fields=r}}class Rf{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 td(this)}GetHashCode(){return Wf(this)}Equals(e){return Uf(this,e)}}function jf(e){return null!=e.generics?e.generics:[]}function Wf(e){return et([Ke(e.fullname),...jf(e).map(Wf)])}function Uf(e,t){return""===e.fullname?""===t.fullname&&rt(fd(e),fd(t),(([e,t],[n,r])=>e===n&&Uf(t,r))):e.fullname===t.fullname&&rt(jf(e),jf(t),Uf)}function zf(e,t,n,r){return new Rf(e,t,n,r)}function Ff(e,t,n,r){return new Rf(e,t,n,void 0,r)}function Gf(...e){return new Rf("",void 0,void 0,void 0,(()=>e))}function Hf(e,t,n,r){const i=new Rf(e,t,n,void 0,void 0,(()=>{const e=n.prototype.cases();return r().map(((t,n)=>new Lf(i,n,e[n],t)))}));return i}function Vf(...e){return new Rf("System.Tuple`"+e.length,e)}function Yf(e){return new Rf("Microsoft.FSharp.Core.FSharpOption`1",[e])}function qf(e){return new Rf("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Jf=new Rf("System.Object"),Zf=(new Rf("Microsoft.FSharp.Core.Unit"),new Rf("System.Char"),new Rf("System.String")),Xf=new Rf("System.Boolean"),Kf=(new Rf("System.SByte"),new Rf("System.Byte"),new Rf("System.Int16"),new Rf("System.UInt16"),new Rf("System.Int32")),Qf=(new Rf("System.UInt32"),new Rf("System.Single"),new Rf("System.Double"));function ed(e){if(Array.isArray(e))return e[0];if(e instanceof Rf){const t=rd(e);if(null!=t)return ed(t)+"[]";{const t=e.fullname.lastIndexOf(".");return-1===t?e.fullname:e.fullname.substr(t+1)}}return e.name}function td(e){const t=rd(e);return null!=t?td(t)+"[]":null==e.generics||0===e.generics.length?e.fullname:e.fullname+"["+e.generics.map((e=>td(e))).join(",")+"]"}function nd(e){return null!=rd(e)}function rd(e){var t;return"[]"===e.fullname&&1===(null===(t=e.generics)||void 0===t?void 0:t.length)?e.generics[0]:void 0}function id(e){return null!=e.generics&&e.generics.length>0}function od(e){return null!=e.enumCases&&e.enumCases.length>0}function sd(e){return null==e.generics?e:new Rf(e.fullname,e.generics.map((()=>Jf)))}function ad(e){var t;return null===(t=e.generics)||void 0===t?void 0:t[0]}function cd(e){if(od(e)&&null!=e.enumCases)return e.enumCases.map((e=>e[1]));throw new Error(`${e.fullname} is not an enum type`)}function ld(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 ud(e){if(null!=e.cases)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function fd(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function dd(e){if(pd(e)&&null!=e.generics)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function hd(e){return e instanceof Rf?null!=e.cases:e instanceof wt}function md(e){return e instanceof Rf?null!=e.fields:e instanceof yt}function pd(e){return e.fullname.startsWith("System.Tuple")}function $d(e){return null==e.fields?[]:e.fields}new Rf("System.Decimal");class gd extends yt{constructor(e,t){super(),this.Email=e,this.Phone=t}}function wd(e){return new gd(Ot(Ro,e.Email),Ot(Wo,e.Phone))}class yd extends yt{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}function vd(){return Ff("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.InviteBrandingDto",[],yd,(()=>[["CompanyName",Yf(Zf)],["Logo",Yf(Zf)],["Support",Yf(Ff("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.SupportDto",[],gd,(()=>[["Email",Yf(Zf)],["Phone",Yf(Zf)]])))]]))}function bd(e){return new yd(Ot(zo,e.CompanyName),Ot(Go,e.Logo),Ot(wd,e.Support))}class Cd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Default","InfoRequest","AppInvite"]}}function xd(){return Hf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.InviteJourneyTypeDto",[],Cd,(()=>[[["Item",kd()]],[["Item",kd()]],[["Item",kd()]]]))}class _d extends yt{constructor(e){super(),this.Category=e}}function kd(){return Ff("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.JourneyTypeDetailsDto",[],_d,(()=>[["Category",Yf(Zf)]]))}class Sd extends yt{constructor(e){super(),this.MagicCode=e}}class Id extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PassThrough","MagicCodeExpired","MagicCodeNotRecognised","InviteExpired","WorkflowCompleted","WorkflowAbandoned","ProfileStateInvalidForWorkflowCompletion","InviteNotFound"]}}function Ad(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 Ed(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 Od extends yt{constructor(e,t){super(),this.CssOverrides=e,this.Outcome=t}}class Nd extends yt{constructor(e,t){super(),this.MagicCode=e,this.IsChange=t}}class Td extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["MagicCodeIssued","MagicCodeNotRecognised","MagicCodeIssuingThrottled","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class Pd extends yt{constructor(e){super(),this.Outcome=e}}class Dd extends yt{constructor(e,t){super(),this.MagicCode=e,this.IsResend=t}}class Md 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 Bd extends yt{constructor(e){super(),this.Outcome=e}}class Ld extends yt{constructor(e){super(),this.OneTimeCode=0|e}}class Rd 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 jd extends yt{constructor(e){super(),this.Outcome=e}}class Wd extends yt{constructor(e,t){super(),this.MagicCode=e,this.IsPassThrough=t}}class Ud extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Progressed","MagicCodeNotRecognised","InviteExpired","ProfileStateInvalidForWorkflowCompletion","InviteNotFound","WorkflowCompleted","WorkflowAbandoned"]}}class zd extends yt{constructor(e){super(),this.Outcome=e}}class Fd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class Gd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}class Hd extends yt{constructor(e,t){super(),this.InviteToken=e,this.MagicCode=t}}class Vd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["OneTimeCodeLocked","NoAccess","UnrecognisedLink","WorkflowAbandoned","InviteExpired","SomethingWentWrong"]}}class Yd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Loading","Welcome","CheckYourInbox","CodeEntry","AccessLinkExpired","WorkflowCompleted","Error"]}}class qd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CheckYourInbox","CodeEntry","Onboarding"]}}class Jd extends yt{constructor(e,t,n,r){super(),this.CssOverrides=e,this.Page=t,this.Branding=n,this.JourneyType=r}}class Zd extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["NavigatePage","ValidateMagicLink","ReissueMagicLink","IssueOneTimeCode","ValidateOneTimeCode","ProgressFromWelcome","NavigateToAuthCodeExchange"]}}const Xd=(()=>{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 Kd(e){return Ot((e=>e.passive&&!Xd?{capture:e.capture,once:e.once,passive:!1}:e),e)}function Qd(e){return Nt((e=>e.capture?{capture:!0}:void 0),e)}function eh(e,t){return 0===t.indexOf(e)?t:void 0}function th(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 nh(e,t){return function(e){return 1===e?e=>{let t,n,r,i,o,s;return t=eh("/",e),null!=t?(n=t,"#"+n):(r=eh("#/",e),null!=r?(i=r,i):(o=eh("#",e),null!=o?(s=o,"#/"+Sn(s,1,s.length-1)):"#/"+e))}:e=>{let t,n;return t=eh("/",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 rh(e,t,n){1===t?history.pushState(void 0,"",nh(e,n)):history.replaceState(void 0,"",nh(e,n));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}function ih(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!=eh("?",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!=eh("#",e)?Sn(e,1,e.length-1):1!==t||null==th("#",e)&&null==th("#/",e)?e:"",["/"],null,0)))}const oh=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=Hi((t=>{const n=At(e.onUrlChanged,(e=>{}));!function(e,t,n){t(ih(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=Gi((()=>Kd(r)),[r]),o=Gi((()=>Qd(r)),[r]),s=Gi((()=>e=>{n(e)}),[n]);ji(Hi((()=>{if(null==i)window.addEventListener(e,s);else{const t=i;window.addEventListener(e,s,t)}return Li((()=>{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=Gi((()=>Kd(r)),[r]),o=Gi((()=>Qd(r)),[r]),s=Gi((()=>e=>{n(e)}),[n]);ji(Hi((()=>{if(null==i)window.addEventListener(e,s);else{const t=i;window.addEventListener(e,s,t)}return Li((()=>{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=Gi((()=>Kd(i)),[i]),s=Gi((()=>Qd(i)),[i]),a=Gi((()=>e=>{r(e)}),[r]);ji(Hi((()=>{if(null==o)window.addEventListener(n,a);else{const e=o;window.addEventListener(n,a,e)}return Li((()=>{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 sh(e){try{const t=new URLSearchParams(e);return vr(pr((()=>Sr((e=>[e[0],e[1]]),t.entries()))))}catch(e){return}}class ah extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Autodev","Test","Prod","Sandbox"]}}const ch=document.getElementById("workflows-app"),lh=ch.getAttribute("data-identity-url"),uh=ch.getAttribute("data-backend-url"),fh=Zn(["workflows","app"]),dh=Zn(["workflows","embed","v1.0","app"]),hh="apollo-workflows-app";class mh extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Embedded","Standalone","Unknown"]}}function ph(e){switch(e.tag){case 0:default:return nh(dh,2);case 1:return nh(fh,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 $o(0,new ah(0));case 1:return new $o(0,new ah(1));case 2:return new $o(0,new ah(2));case 3:return new $o(0,new ah(3));case 4:new $o(1,"Invalid environment")}}(ko.create(uh).host);class $h extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class gh extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Header"]}}class wh extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Empty","Text","Binary","Form"]}}class yh 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 vh extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class bh 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 Ch{constructor(e,t){this.k=e,this.v=t}}function xh(e,t){return new Ch(e,t)}function _h(e){return e.k}function kh(e){return e.v}class Sh extends Ch{constructor(e,t,n,r,i){super(e,t),this.left=n,this.right=r,this.h=0|i}}function Ih(e,t,n,r,i){return new Sh(e,t,n,r,i)}function Ah(e){return e.left}function Eh(e){return e.right}function Oh(e){return e.h}function Nh(e,t){e:for(;;){const n=e;if(null!=t){const r=t;if(r instanceof Sh){e=Nh(n+1,Ah(r)),t=Eh(r);continue e}return n+1|0}return 0|n}}function Th(e){return Nh(0,e)}function Ph(e,t,n,r){let i,o;i=null!=e?e instanceof Sh?Oh(e):1:0,o=null!=r?r instanceof Sh?Oh(r):1:0;const s=0|(i<o?o:i);return 0===s?xh(t,n):Ih(t,n,e,r,s+1)}function Dh(e,t,n,r){let i,o,s,a,c,l;if(c=null!=e?e instanceof Sh?Oh(e):1:0,l=null!=r?r instanceof Sh?Oh(r):1:0,l>c+2){const s=kt(r);if(s instanceof Sh){if(i=Ah(s),(null!=i?(o=i,o instanceof Sh?Oh(o):1):0)>c+1){const r=kt(Ah(s));if(r instanceof Sh)return Ph(Ph(e,t,n,Ah(r)),_h(r),kh(r),Ph(Eh(r),_h(s),kh(s),Eh(s)));throw new Error("internal error: Map.rebalance")}return Ph(Ph(e,t,n,Ah(s)),_h(s),kh(s),Eh(s))}throw new Error("internal error: Map.rebalance")}if(c>l+2){const i=kt(e);if(i instanceof Sh){if(s=Eh(i),(null!=s?(a=s,a instanceof Sh?Oh(a):1):0)>l+1){const e=kt(Eh(i));if(e instanceof Sh)return Ph(Ph(Ah(i),_h(i),kh(i),Ah(e)),_h(e),kh(e),Ph(Eh(e),t,n,r));throw new Error("internal error: Map.rebalance")}return Ph(Ah(i),_h(i),kh(i),Ph(Eh(i),t,n,r))}throw new Error("internal error: Map.rebalance")}return Ph(e,t,n,r)}function Mh(e,t,n,r){if(null!=r){const i=r,o=0|e.Compare(t,_h(i));return i instanceof Sh?o<0?Dh(Mh(e,t,n,Ah(i)),_h(i),kh(i),Eh(i)):0===o?Ih(t,n,Ah(i),Eh(i),Oh(i)):Dh(Ah(i),_h(i),kh(i),Mh(e,t,n,Eh(i))):o<0?Ih(t,n,void 0,r,2):0===o?xh(t,n):Ih(t,n,r,void 0,2)}return xh(t,n)}function Bh(e,t,n){e:for(;;){const r=e,i=t;if(null!=n){const o=n,s=0|r.Compare(i,_h(o));if(0===s)return _t(kh(o));if(o instanceof Sh){e=r,t=i,n=s<0?Ah(o):Eh(o);continue e}return}return}}function Lh(e,t){e:for(;;){const n=e;if(null!=t){const r=t;if(r instanceof Sh){Lh(n,Ah(r)),n(_h(r),kh(r)),e=n,t=Eh(r);continue e}n(_h(r),kh(r))}break}}function Rh(e,t){Lh(e,t)}function jh(e,t){if(null!=t){const n=t;if(n instanceof Sh){const t=jh(e,Ah(n)),r=e(_h(n),kh(n)),i=jh(e,Eh(n));return Ih(_h(n),r,t,i,Oh(n))}return xh(_h(n),e(_h(n),kh(n)))}}function Wh(e,t){return jh(e,t)}function Uh(e,t){let n;for(let r=0;r<=t.length-1;r++){const i=t[r];n=Mh(e,i[0],i[1],n)}return n}class zh extends yt{constructor(e,t){super(),this.stack=e,this.started=t}}function Fh(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 Sh){e=Jn([Ah(i),xh(_h(i),kh(i)),Eh(i)],n);continue e}return t}e=n;continue e}}}function Gh(e){return new zh(Fh(jn(e)),!1)}function Hh(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 Sh)throw new Error("Please report error: Map iterator, unexpected stack for current");return[_h(e),kh(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function Vh(e){let t=Gh(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Hh(t),"System.Collections.IEnumerator.get_Current":()=>Hh(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 Sh)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=Fh(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=Gh(e)},Dispose(){}}}class Yh{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 Yh))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 Vh(this.tree)}[Symbol.iterator](){return Ve(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Vh(this.tree)}CompareTo(e){const t=this;if(e instanceof Yh)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 Kh(this,e[0])&&ot(Zh(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){!function(e,t,n){let r=n;Rh(((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|Xh(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|Xh(this)}get size(){return 0|Xh(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 Zh(this,e)}has(e){return Kh(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 qh(e,t){return new Yh(e,t)}function Jh(e){const t=Tt();return qh(t,function(e,t){if(je(t))return Uh(e,t);if(t instanceof En)return function(e,t){return Vn(((t,n)=>Mh(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=Mh(r,s[0],s[1],i),n=o}}}(e,void 0,n)}finally{ze(n)}}}(t,e))}function Zh(e,t){return function(e,t,n){const r=Bh(e,t,n);if(null==r)throw new Error;return kt(r)}(e.comparer,t,e.tree)}function Xh(e){return Th(e.tree)}function Kh(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,_h(o));if(o instanceof Sh){if(s<0){e=r,t=i,n=Ah(o);continue e}if(0===s)return!0;e=r,t=i,n=Eh(o);continue e}return 0===s}return!1}}(e.comparer,t,e.tree)}function Qh(e,t,n){return function(e,t,n){return qh(e.comparer,Mh(e.comparer,t,n,e.tree))}(n,e,t)}function em(e,t){return function(e,t){return Bh(e.comparer,t,e.tree)}(t,e)}function tm(e,t){return function(e,t){return qh(e.comparer,Wh(t,e.tree))}(t,e)}function nm(){return Yh.empty}function rm(e){return new gh(0,"Content-Type",e)}Yh.empty=qh(Tt(),void 0);const im=new yh("",new $h(0),Ln(),!1,void 0,void 0,void 0,new wh(0));function om(e,t){return wn(t)?[t]:_n(t,[e],null,0)}function sm(e){return new yh(e,im.method,im.headers,im.withCredentials,im.overridenMimeType,im.overridenResponseType,im.timeout,im.content)}function am(e,t){return new yh(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function cm(e,t){return new yh(t.url,t.method,Kn(t.headers,jn(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function lm(e,t){return new yh(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function um(e){return La((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 vh(0,n.responseText):new vh("arraybuffer"===a?2:"blob"===a?1:3,n.response),c=function(e){const t=Tt();return qh(t,Uh(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(om(":",e));return Wn(t)?void 0:[zn(t).toLocaleLowerCase(),vn(":",Fn(t)).trim()]}),om("\r\n",n.getAllResponseHeaders()))),new bh(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 bh(0,"","","",nm(),new vh(0,""));var fm=null;try{fm=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 dm(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function hm(e){return!0===(e&&e.__isLong__)}dm.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},dm.prototype.Equals=function(e){return Wm(this,e)},dm.prototype.CompareTo=function(e){return Gm(this,e)},dm.prototype.toString=function(e){return Bm(this,e)},dm.prototype.toJSON=function(){return Bm(this)},dm.prototype[qt]=function(){const e=this;return{multiply:t=>qm(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 Bm(e.unsigned?e:function(e,t,n){return n?function(e,t){return new dm(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 dm(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}}},dm.prototype.__isLong__,Object.defineProperty(dm.prototype,"__isLong__",{value:!0});var mm={},pm={};function $m(e,t){var n,r,i;return t?(i=0<=(e>>>=0)&&e<256)&&(r=pm[e])?r:(n=wm(e,(0|e)<0?-1:0,!0),i&&(pm[e]=n),n):(i=-128<=(e|=0)&&e<128)&&(r=mm[e])?r:(n=wm(e,e<0?-1:0,!1),i&&(mm[e]=n),n)}function gm(e,t){if(isNaN(e))return t?Im:Sm;if(t){if(e<0)return Im;if(e>=xm)return Tm}else{if(e<=-_m)return Pm;if(e+1>=_m)return Nm}return e<0?Hm(gm(-e,t)):wm(e%Cm|0,e/Cm|0,t)}function wm(e,t,n){return new dm(e,t,n)}var ym=Math.pow;function vm(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return Sm;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 Hm(vm(e.substring(1),t,n));for(var i=gm(ym(n,8)),o=Sm,s=0;s<e.length;s+=8){var a=Math.min(8,e.length-s),c=parseInt(e.substring(s,s+a),n);o=Vm(a<8?qm(o,gm(ym(n,a))):o=qm(o,i),gm(c))}return o.unsigned=t,o}function bm(e,t){return"number"==typeof e?gm(e,t):"string"==typeof e?vm(e,t):wm(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}var Cm=4294967296,xm=Cm*Cm,_m=xm/2,km=$m(1<<24),Sm=$m(0),Im=$m(0,!0),Am=$m(1),Em=$m(1,!0),Om=$m(-1),Nm=wm(-1,2147483647,!1),Tm=wm(-1,-1,!0),Pm=wm(0,-2147483648,!1);function Dm(e){return e.unsigned?e.low>>>0:e.low}function Mm(e){return e.unsigned?(e.high>>>0)*Cm+(e.low>>>0):e.high*Cm+(e.low>>>0)}function Bm(e,t){if((t=t||10)<2||36<t)throw RangeError("radix");if(Lm(e))return"0";if(Rm(e)){if(Wm(e,Pm)){var n=gm(t),r=Jm(e,n),i=Ym(qm(r,n),e);return Bm(r,t)+Dm(i).toString(t)}return"-"+Bm(Hm(e),t)}for(var o=gm(ym(t,6),e.unsigned),s=e,a="";;){var c=Jm(s,o),l=(Dm(Ym(s,qm(c,o)))>>>0).toString(t);if(Lm(s=c))return l+a;for(;l.length<6;)l="0"+l;a=""+l+a}}function Lm(e){return 0===e.high&&0===e.low}function Rm(e){return!e.unsigned&&e.high<0}function jm(e){return 1==(1&e.low)}function Wm(e,t){return hm(t)||(t=bm(t)),(e.unsigned===t.unsigned||e.high>>>31!=1||t.high>>>31!=1)&&e.high===t.high&&e.low===t.low}function Um(e,t){return Gm(e,t)<0}function zm(e,t){return Gm(e,t)>0}function Fm(e,t){return Gm(e,t)>=0}function Gm(e,t){if(hm(t)||(t=bm(t)),Wm(e,t))return 0;var n=Rm(e),r=Rm(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:Rm(Ym(e,t))?-1:1}function Hm(e){return!e.unsigned&&Wm(e,Pm)?Pm:Vm(function(e){return wm(~e.low,~e.high,e.unsigned)}(e),Am)}function Vm(e,t){hm(t)||(t=bm(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,wm((f&=65535)<<16|(d&=65535),(l&=65535)<<16|(u&=65535),e.unsigned)}function Ym(e,t){return hm(t)||(t=bm(t)),Vm(e,Hm(t))}function qm(e,t){if(Lm(e))return e.unsigned?Im:Sm;if(hm(t)||(t=bm(t)),fm)return wm(fm.mul(e.low,e.high,t.low,t.high),fm.get_high(),e.unsigned);if(Lm(t))return e.unsigned?Im:Sm;if(Wm(e,Pm))return jm(t)?Pm:Sm;if(Wm(t,Pm))return jm(e)?Pm:Sm;if(Rm(e))return Rm(t)?qm(Hm(e),Hm(t)):Hm(qm(Hm(e),t));if(Rm(t))return Hm(qm(e,Hm(t)));if(Um(e,km)&&Um(t,km))return gm(Mm(e)*Mm(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,wm((d&=65535)<<16|(h&=65535),(u&=65535)<<16|(f&=65535),e.unsigned)}function Jm(e,t){if(hm(t)||(t=bm(t)),Lm(t))throw Error("division by zero");var n,r,i;if(fm)return e.unsigned||-2147483648!==e.high||-1!==t.low||-1!==t.high?wm((e.unsigned?fm.div_u:fm.div_s)(e.low,e.high,t.low,t.high),fm.get_high(),e.unsigned):e;if(Lm(e))return e.unsigned?Im:Sm;if(e.unsigned){if(t.unsigned||(t=function(e){return e.unsigned?e:wm(e.low,e.high,!0)}(t)),zm(t,e))return Im;if(zm(t,function(e,t){if(hm(t)&&(t=Dm(t)),0==(t&=63))return e;var n=e.high;return t<32?wm(e.low>>>t|n<<32-t,n>>>t,e.unsigned):wm(32===t?n:n>>>t-32,0,e.unsigned)}(e,1)))return Em;i=Im}else{if(Wm(e,Pm))return Wm(t,Am)||Wm(t,Om)?Pm:Wm(t,Pm)?Am:Wm(n=function(e,t){return hm(t)&&(t=Dm(t)),0==(t&=63)?e:t<32?wm(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):wm(0,e.low<<t-32,e.unsigned)}(Jm(function(e,t){return hm(t)&&(t=Dm(t)),0==(t&=63)?e:t<32?wm(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):wm(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}(e,1),t),1),Sm)?Rm(t)?Am:Om:i=Vm(n,Jm(r=Ym(e,qm(t,n)),t));if(Wm(t,Pm))return e.unsigned?Im:Sm;if(Rm(e))return Rm(t)?Jm(Hm(e),Hm(t)):Hm(Jm(Hm(e),t));if(Rm(t))return Hm(Jm(e,Hm(t)));i=Sm}for(r=e;Fm(r,t);){n=Math.max(1,Math.floor(Mm(r)/Mm(t)));for(var o=Math.ceil(Math.log(n)/Math.LN2),s=o<=48?1:ym(2,o-48),a=gm(n),c=qm(a,t);Rm(c)||zm(c,r);)c=qm(a=gm(n-=s,e.unsigned),t);Lm(a)&&(a=Am),i=Vm(i,a),r=Ym(r,c)}return i}const Zm=Jm,Xm=Mm;function Km(e){return e<0?Math.ceil(e):Math.floor(e)}function Qm(e=0,t=0,n=0,r=0,i=0){switch(arguments.length){case 1:return Xm(Zm(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 ep(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 Qm(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*Qm(n,s,a,i,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}class tp extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class np extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class rp{constructor(){this.cache=new Map([])}}function ip(){return new rp}function op(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function sp(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)}(op(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return op(t)}}function ap(e){return e}ip(),ip();const cp=null;function lp(e){return Array.from(e)}function up(e){return zt(e,"O")}function fp(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 Km(e/864e5)}(e)),i=Math.abs(function(e){return Km(e%864e5/36e5)}(e)),o=Math.abs(function(e){return Km(e%36e5/6e4)}(e)),s=Math.abs(function(e){return Km(e%6e4/1e3)}(e)),a=Math.abs(function(e){return Km(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 dp(){return null}function hp(e){return zt(e,"O")}function mp(e,t){return JSON.stringify(t,ht(2,null),_t(e))}function pp(e,t,n,r){const i=new vt(null);let o;const s=td(r);let a;if(o=""===s?e:Qh(s,i,e),md(r)){const e=Mt((e=>{const r=sp(t,ed(e)),i=$p(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}}),fd(r));a=t=>_r(((e,n)=>n(t)(e)),{},e)}else{if(!hd(r)){let e;const t=td(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=ud(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 ed(s);{const e=0|c,r=$d(s),i=Dt(new Array(e+1),0,e+1,null);i[0]=ed(s);for(let s=1;s<=e;s++){const e=$p(o,t,n,r[s-1][1]);i[s]=e(a[s-1])}return i}}}return i.contents=a,a}function $p(e,t,n,r){const i=td(r),o=em(i,e);if(null==o){if(nd(r)){const i=$p(e,t,n,rd(r));return e=>lp(Sr(i,e))}if(od(r)){const e=td(ad(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=td(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(id(r)){if(pd(r)){const i=Mt((r=>$p(e,t,n,r)),dd(r));return e=>{return lp((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=td(sd(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===i){const i=new Ye((()=>{return i=$p(e,t,n,jf(r)[0]),e=>{return n=()=>cp,null!=(t=Ot(i,e))?kt(t):n();var t,n};var i}));return e=>null==e?cp: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=$p(e,t,n,jf(r)[0]);return e=>lp(Sr(i,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===i){const i=jf(r)[0],o=$p(e,t,n,jf(r)[1]);if("System.String"===td(i)||"System.Guid"===td(i))return e=>_r(((e,t)=>{const n=t;return e[n[0]]=o(n[1]),e}),{},e);{let r;const s=$p(e,t,n,i);return r=s,e=>lp(Sr((e=>{const t=e;return[r(t[0]),o(t[1])]}),e))}}return pp(e,t,n,r)}}return"System.Boolean"===i?e=>e:"Microsoft.FSharp.Core.Unit"===i?dp:"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?hp:"System.DateTimeOffset"===i?up:"System.TimeSpan"===i?fp:"System.Guid"===i?ap:"System.Object"===i?e=>e:pp(e,t,n,r)}{const e=o;return t=>e.contents(t)}}function gp(e,t,n,r){const i=At(t,new np(0)),o=At(r,!0);return $p(function(e){return null!=e?tm(((e,t)=>new vt(t[0])),e.Coders):nm()}(n),i,o,e)}var wp;function yp(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,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&wp.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]=yp(!0,r);!n&&10!==o.radix&&e>=t&&e<=i&&(e=e<<32-r>>32-r);const[s,a]=yp(n,r);if(e>=s&&e<=a)return e}}throw new Error("Input string was not in a correct format.")}function bp(e,t,n,r,i){try{return i.contents=vp(e,t,n,r),!0}catch(e){return!1}}function Cp(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 xp(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 Cp(t.getTime(),r)}(e),!0}catch(e){return!1}}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(wp||(wp={}));class _p{constructor(e){this.k=e}}function kp(e){return new _p(e)}function Sp(e){return e.k}class Ip extends _p{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=0|r}}function Ap(e,t,n,r){return new Ip(e,t,n,r)}function Ep(e){return e.left}function Op(e){return e.right}function Np(e){return e.h}function Tp(e,t){e:for(;;){const n=t;if(null!=e){const r=e;if(r instanceof Ip){e=Ep(r),t=Tp(Op(r),n+1);continue e}return n+1|0}return 0|n}}function Pp(e){return Tp(e,0)}function Dp(e,t,n){let r,i;r=null!=e?e instanceof Ip?Np(e):1:0,i=null!=n?n instanceof Ip?Np(n):1:0;const o=0|(r<i?i:r);return 0===o?kp(t):Ap(t,e,n,o+1)}function Mp(e,t,n){let r,i,o,s,a,c;if(a=null!=e?e instanceof Ip?Np(e):1:0,c=null!=n?n instanceof Ip?Np(n):1:0,c>a+2){const o=kt(n);if(o instanceof Ip){if(r=Ep(o),(null!=r?(i=r,i instanceof Ip?Np(i):1):0)>a+1){const n=kt(Ep(o));if(n instanceof Ip)return Dp(Dp(e,t,Ep(n)),Sp(n),Dp(Op(n),Sp(o),Op(o)));throw new Error("internal error: Set.rebalance")}return Dp(Dp(e,t,Ep(o)),Sp(o),Op(o))}throw new Error("internal error: Set.rebalance")}if(a>c+2){const r=kt(e);if(r instanceof Ip){if(o=Op(r),(null!=o?(s=o,s instanceof Ip?Np(s):1):0)>c+1){const e=kt(Op(r));if(e instanceof Ip)return Dp(Dp(Ep(r),Sp(r),Ep(e)),Sp(e),Dp(Op(e),t,n));throw new Error("internal error: Set.rebalance")}return Dp(Ep(r),Sp(r),Dp(Op(r),t,n))}throw new Error("internal error: Set.rebalance")}return Dp(e,t,n)}function Bp(e,t,n){if(null!=n){const r=n,i=0|e.Compare(t,Sp(r));if(r instanceof Ip)return i<0?Mp(Bp(e,t,Ep(r)),Sp(r),Op(r)):0===i?n:Mp(Ep(r),Sp(r),Bp(e,t,Op(r)));{const i=0|e.Compare(t,Sp(r));return i<0?Ap(t,void 0,n,2):0===i?n:Ap(t,n,void 0,2)}}return kp(t)}function Lp(e,t,n){e:for(;;){const r=e,i=t;if(null!=n){const o=n,s=0|r.Compare(i,Sp(o));if(o instanceof Ip){if(s<0){e=r,t=i,n=Ep(o);continue e}if(0===s)return!0;e=r,t=i,n=Op(o);continue e}return 0===s}return!1}}function Rp(e,t){e:for(;;){const n=e;if(null!=t){const r=t;if(r instanceof Ip){Rp(n,Ep(r)),n(Sp(r)),e=n,t=Op(r);continue e}n(Sp(r))}break}}class jp extends yt{constructor(e,t){super(),this.stack=e,this.started=t}}function Wp(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 Ip){e=Jn([Ep(i),kp(Sp(i)),Op(i)],r);continue e}return t}e=r;continue e}}}function Up(e){return new jp(Wp(jn(e)),!1)}function zp(e){if(e.started){const t=e.stack;if(Wn(t))return function(){throw new Error("Enumeration already started")}();if(null!=zn(t))return Sp(zn(t));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function Fp(e){let t=Up(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>zp(t),"System.Collections.IEnumerator.get_Current":()=>zp(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 Ip)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Wp(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=Up(e)},Dispose(){}}}function Gp(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 Ip)if(null==Ep(a)){if(!(c instanceof Ip)){const i=0|r.Compare(Sp(a),Sp(c));if(0!==i)return 0|i;e=r,t=Rn(Op(a),Fn(s[0])),n=Rn(void 0,Fn(s[1]));continue e}if(null==Ep(c)){const i=0|r.Compare(Sp(a),Sp(c));if(0!==i)return 0|i;e=r,t=Rn(Op(a),Fn(s[0])),n=Rn(Op(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 Ip){e=r,t=Jn([Ep(l),Ap(Sp(l),void 0,Op(l),0)],c),n=o;continue e}e=r,t=Jn([void 0,kp(Sp(l))],c),n=o;continue e;case 1:if(f instanceof Ip){e=r,t=i,n=Jn([Ep(f),Ap(Sp(f),void 0,Op(f),0)],u);continue e}e=r,t=i,n=Jn([void 0,kp(Sp(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 Ip){e=r,t=Jn([Ep(l),Ap(Sp(l),void 0,Op(l),0)],c),n=o;continue e}e=r,t=Jn([void 0,kp(Sp(l))],c),n=o;continue e;case 1:if(f instanceof Ip){e=r,t=i,n=Jn([Ep(f),Ap(Sp(f),void 0,Op(f),0)],u);continue e}e=r,t=i,n=Jn([void 0,kp(Sp(f))],u);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(c instanceof Ip)){const i=0|r.Compare(Sp(a),Sp(c));if(0!==i)return 0|i;e=r,t=Fn(s[0]),n=Fn(s[1]);continue e}if(null==Ep(c)){const i=0|r.Compare(Sp(a),Sp(c));if(0!==i)return 0|i;e=r,t=Rn(void 0,Fn(s[0])),n=Rn(Op(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 Ip){e=r,t=Jn([Ep(l),Ap(Sp(l),void 0,Op(l),0)],c),n=o;continue e}e=r,t=Jn([void 0,kp(Sp(l))],c),n=o;continue e;case 1:if(f instanceof Ip){e=r,t=i,n=Jn([Ep(f),Ap(Sp(f),void 0,Op(f),0)],u);continue e}e=r,t=i,n=Jn([void 0,kp(Sp(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 Ip){e=r,t=Jn([Ep(u),Ap(Sp(u),void 0,Op(u),0)],l),n=o;continue e}e=r,t=Jn([void 0,kp(Sp(u))],l),n=o;continue e;case 1:if(d instanceof Ip){e=r,t=i,n=Jn([Ep(d),Ap(Sp(d),void 0,Op(d),0)],f);continue e}e=r,t=i,n=Jn([void 0,kp(Sp(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 Ip){e=r,t=Jn([Ep(u),Ap(Sp(u),void 0,Op(u),0)],l),n=o;continue e}e=r,t=Jn([void 0,kp(Sp(u))],l),n=o;continue e;case 1:if(d instanceof Ip){e=r,t=i,n=Jn([Ep(d),Ap(Sp(d),void 0,Op(d),0)],f);continue e}e=r,t=i,n=Jn([void 0,kp(Sp(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,jn(t),jn(n))}function Hp(e,t,n){let r=n;Rp((e=>{t[r]=e,r=r+1|0}),e)}function Vp(e,t){if(je(t))return function(e,t){return Bt(((t,n)=>Bp(e,n,t)),void 0,t)}(e,t);if(t instanceof En)return function(e,t){return Vn(((t,n)=>Bp(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=Bp(r,o["System.Collections.Generic.IEnumerator`1.get_Current"](),i),n=o}}(e,void 0,n)}finally{ze(n)}}}class Yp{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 Yp&&0===Gp(qp(this),Jp(this),Jp(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|Gp(qp(this),Jp(this),Jp(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 Lp(qp(this),e,Jp(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){Hp(Jp(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|Zp(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|Zp(this)}GetEnumerator(){return Fp(Jp(this))}[Symbol.iterator](){return Ve(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Fp(Jp(this))}get size(){return 0|Zp(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 Lp(qp(e),t,Jp(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 qp(e){return e.comparer}function Jp(e){return e.tree}function Zp(e){return Pp(Jp(e))}function Xp(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 Kp(e,t,n){const r=t(e,n);if(1===r.tag){const e=r.fields[0];return new $o(1,function(e,t){const n=2===t.tag?Xp(t.fields[0],t.fields[1],!0):1===t.tag?Xp(t.fields[0],t.fields[1],!1)+"\nReason: "+t.fields[2]:3===t.tag?Xp(t.fields[0],t.fields[1],!0):4===t.tag?Xp(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]:Xp(t.fields[0],t.fields[1],!1);return 7===t.tag?n:"Error at: `"+e+"`\n"+n}(e[0],e[1]))}return new $o(0,r.fields[0])}function Qp(e,t){try{return Kp("$",e,JSON.parse(t))}catch(e){if(e instanceof SyntaxError)return new $o(1,"Given an invalid JSON: "+e.message);throw e}}function e$(e,t){return"string"==typeof t?new $o(0,t):new $o(1,[e,new tp(0,"a string",t)])}const t$=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 $o(0,(e+128&255)-128):new $o(1,[r,new tp(1,n,e,"Value was either too large or too small for "+n)]):new $o(1,[r,new tp(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[bp(i,511,!1,8,new vt((()=>t),(e=>{t=0|e}))),t],e[0]?new $o(0,e[1]):new $o(1,[r,new tp(0,n,i)])}return new $o(1,[r,new tp(0,n,i)])},n$=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 $o(0,255&e):new $o(1,[r,new tp(1,n,e,"Value was either too large or too small for "+n)]):new $o(1,[r,new tp(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[bp(i,511,!0,8,new vt((()=>t),(e=>{t=e}))),t],e[0]?new $o(0,e[1]):new $o(1,[r,new tp(0,n,i)])}return new $o(1,[r,new tp(0,n,i)])},r$=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 $o(0,(e+32768&65535)-32768):new $o(1,[r,new tp(1,n,e,"Value was either too large or too small for "+n)]):new $o(1,[r,new tp(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[bp(i,511,!1,16,new vt((()=>t),(e=>{t=0|e}))),t],e[0]?new $o(0,e[1]):new $o(1,[r,new tp(0,n,i)])}return new $o(1,[r,new tp(0,n,i)])},i$=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 $o(0,65535&e):new $o(1,[r,new tp(1,n,e,"Value was either too large or too small for "+n)]):new $o(1,[r,new tp(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[bp(i,511,!0,16,new vt((()=>t),(e=>{t=e}))),t],e[0]?new $o(0,e[1]):new $o(1,[r,new tp(0,n,i)])}return new $o(1,[r,new tp(0,n,i)])},o$=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 $o(0,~~e):new $o(1,[r,new tp(1,n,e,"Value was either too large or too small for "+n)]):new $o(1,[r,new tp(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[bp(i,511,!1,32,new vt((()=>t),(e=>{t=0|e}))),t],e[0]?new $o(0,e[1]):new $o(1,[r,new tp(0,n,i)])}return new $o(1,[r,new tp(0,n,i)])},s$=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 $o(0,e>>>0):new $o(1,[r,new tp(1,n,e,"Value was either too large or too small for "+n)]):new $o(1,[r,new tp(1,n,e,"Value is not an integral value")])}if("string"==typeof i){let e,t=0;return e=[bp(i,511,!0,32,new vt((()=>t),(e=>{t=e}))),t],e[0]?new $o(0,e[1]):new $o(1,[r,new tp(0,n,i)])}return new $o(1,[r,new tp(0,n,i)])};function a$(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 $o(1,[o,new tp(5,"a longer array. Need index `"+Ze(e)+"` but there are only `"+(i=n.length,Ze(i)+"` entries"),r)])}return new $o(1,[o,new tp(0,"an array",r)])}function c$(e,t,n){if(Array.isArray(n)){let r=-1;return go(Yn,Bt(((n,i)=>{if(r=r+1|0,0===n.tag){const o=e(t+".["+Ze(r)+"]",i);return 0===o.tag?new $o(0,Rn(o.fields[0],n.fields[0])):new $o(1,o.fields[0])}return n}),new $o(0,Ln()),n))}return new $o(1,[t,new tp(0,"a list",n)])}function l$(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 $o(0,o)):new $o(1,s.fields[0])}return n}),new $o(0,Dt(new Array(i.length),0,i.length,null)),i)}return new $o(1,[t,new tp(0,"an array",n)])}function u$(e,t,n,r){const i=t(n,r);return 0===i.tag?e(i.fields[0],n,r):new $o(1,i.fields[0])}function f$(e,t){let n;const r=e;return n=e=>t=>a$(0,r,e,t),e=>r=>u$(ht(3,(e=>{let n;const r=t;return n=e=>t=>a$(1,r,e,t),t=>r=>u$(((t,n,r)=>new $o(0,[e,t])),ht(2,n),t,r)})),ht(2,n),e,r)}function d$(e){return Jh(e)}function h$(e){return function(e,t){return new Yp(e,t)}(t={Compare:lt},Vp(t,e));var t}function m$(e,t,n,r){let i;const o=t.length+e|0;if(o!==r.length)return new $o(1,[n,new tp(6,(i=0|r.length,hn(un("Expected array of length %i but got %i"))(o)(i)))]);{let i=new $o(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=go((e=>Rn(e,s)),c(a)(l))}return go(Yn,i)}}function p$(e,t,n,r,i,o){const s=function(e,t){return t.find((e=>ed(e)===r))}(0,ud(n));if(null!=s){const n=s,r=Mt((n=>g$(e,t,!1,n[1])),$d(n));return go((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 $o(0,Ln()):m$(1,r,i,o))}return new $o(1,[i,new tp(6,"Cannot find case "+r+" in "+td(n))])}function $$(e,t,n,r){const i=new vt(null);let o;const s=td(r);let a;if(o=""===s?e:Qh(s,i,e),md(r)){const e=Mt((e=>[sp(t,ed(e)),g$(o,t,!1,e[1])]),fd(r));a=t=>n=>go((e=>function(e,t){const n=fd(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 $o(1,[t,new tp(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?go((e=>Rn(e,i.fields[0])),e[1](t+"."+r)(n[r])):i})),e,new $o(0,Ln()))}(e,t,n))}else if(hd(r))a=e=>n=>{if("string"==typeof n)return p$(o,t,r,n,e,[]);if(Array.isArray(n)){const i=n;return wo((n=>p$(o,t,r,n,e,i)),e$(e+"[0]",i[0]))}return new $o(1,[e,new tp(0,"a string or array",n)])};else{if(!n){let e;const t=td(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 $o(1,[e,new tp(2,"an extra coder for "+td(r),t)])}return i.contents=a,a}function g$(e,t,n,r){let i,o,s,a;const c=td(r),l=em(c,e);if(null==l){if(nd(r)){const n=g$(e,t,!1,rd(r));return e=>t=>l$(ht(2,n),e,t)}if(od(r)){const e=td(ad(r));if("System.SByte"===e)return e=>t=>{const n=r,i=e,o=t,s=t$(i)(o);if(1===s.tag)return new $o(1,s.fields[0]);{const e=s.fields[0];return xr(e,cd(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new $o(0,ld(n,e.toString())):new $o(1,[i,new tp(1,td(n),o,"Unkown value provided for the enum")])}};if("System.Byte"===e)return e=>t=>{const n=r,i=e,o=t,s=n$(i)(o);if(1===s.tag)return new $o(1,s.fields[0]);{const e=s.fields[0];return xr(e,cd(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new $o(0,ld(n,e.toString())):new $o(1,[i,new tp(1,td(n),o,"Unkown value provided for the enum")])}};if("System.Int16"===e)return e=>t=>{const n=r,i=e,o=t,s=r$(i)(o);if(1===s.tag)return new $o(1,s.fields[0]);{const e=s.fields[0];return xr(e,cd(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new $o(0,ld(n,e.toString(a))):new $o(1,[i,new tp(1,td(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=i$(i)(o);if(1===s.tag)return new $o(1,s.fields[0]);{const e=s.fields[0];return xr(e,cd(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new $o(0,ld(n,e.toString())):new $o(1,[i,new tp(1,td(n),o,"Unkown value provided for the enum")])}};if("System.Int32"===e)return e=>t=>{const n=r,i=e,o=t,s=o$(i)(o);if(1===s.tag)return new $o(1,s.fields[0]);{const e=s.fields[0];return xr(e,cd(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new $o(0,ld(n,Ze(e))):new $o(1,[i,new tp(1,td(n),o,"Unkown value provided for the enum")])}};if("System.UInt32"===e)return e=>t=>{const n=r,i=e,o=t,s=s$(i)(o);if(1===s.tag)return new $o(1,s.fields[0]);{const e=s.fields[0];return xr(e,cd(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new $o(0,ld(n,e.toString())):new $o(1,[i,new tp(1,td(n),o,"Unkown value provided for the enum")])}};{const e=td(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(id(r)){if(pd(r)){const n=Mt((n=>g$(e,t,!1,n)),dd(r));return e=>t=>Array.isArray(t)?go((e=>Hn(e)),m$(0,n,e,t)):new $o(1,[e,new tp(0,"an array",t)])}{const c=td(sd(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===c)return i=g$(e,t,!0,jf(r)[0]),e=>t=>{return n=ht(2,i),r=e,null==(o=t)?new $o(0,void 0):go(_t,n(r,o));var n,r,o};if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===c)return o=g$(e,t,!1,jf(r)[0]),e=>t=>c$(ht(2,o),e,t);if("System.Collections.Generic.IEnumerable`1[System.Object]"===c)return s=g$(e,t,!1,jf(r)[0]),e=>t=>function(e,t,n){if(Array.isArray(n)){let r=-1;return go(Ir,Bt(((n,i)=>{if(r=r+1|0,0===n.tag){const o=e(t+".["+Ze(r)+"]",i);return 0===o.tag?new $o(0,Cr([o.fields[0]],n.fields[0])):new $o(1,o.fields[0])}return n}),new $o(0,[]),n))}return new $o(1,[t,new tp(0,"a seq",n)])}(ht(2,s),e,t);if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===c){const n=g$(e,t,!1,jf(r)[0]),i=g$(e,t,!1,jf(r)[1]);let o;const s=Zn([e=>t=>function(e,t,n,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new $o(1,[n,new tp(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 $o(0,Rn([s.fields[0],e.fields[0]],i.fields[0])):new $o(1,e.fields[0])}return new $o(1,s.fields[0])}return i}),new $o(0,Ln()),Object.keys(r))}(ht(2,n),ht(2,i),e,t),(a=f$(ht(2,n),ht(2,i)),e=>t=>c$(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 $o(1,[n,new tp(7,o)]);{const s=Kp(n,ht(2,zn(i)),r);if(1===s.tag){e=Fn(i),t=Kn(o,jn(s.fields[0]));continue e}return new $o(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 $o(1,i.fields[0]):new $o(0,e(i.fields[0]))}(d$,ht(2,o),e,t)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===c){const n=g$(e,t,!1,jf(r)[0]);return e=>t=>{const r=l$(ht(2,n),e,t);return 0===r.tag?new $o(0,h$(r.fields[0])):new $o(1,r.fields[0])}}return $$(e,t,n,r)}}return"System.Boolean"===c?e=>t=>{return n=e,"boolean"==typeof(r=t)?new $o(0,r):new $o(1,[n,new tp(0,"a boolean",r)]);var n,r}:"Microsoft.FSharp.Core.Unit"===c?e=>t=>{return n=e,null==(r=t)?new $o(0,void 0):new $o(1,[n,new tp(0,"null",r)]);var n,r}:"System.String"===c?e=>t=>e$(e,t):"System.Char"===c?e=>t=>function(e,t){if("string"==typeof t){const n=t;return 1===n.length?new $o(0,n[0]):new $o(1,[e,new tp(0,"a single character string",t)])}return new $o(1,[e,new tp(0,"a char",t)])}(e,t):"System.SByte"===c?t$:"System.Byte"===c?n$:"System.Int16"===c?r$:"System.UInt16"===c?i$:"System.Int32"===c?o$:"System.UInt32"===c?s$:"System.Double"===c?e=>t=>{return n=e,"number"==typeof(r=t)?new $o(0,r):new $o(1,[n,new tp(0,"a float",r)]);var n,r}:"System.Single"===c?e=>t=>{return n=e,"number"==typeof(r=t)?new $o(0,r):new $o(1,[n,new tp(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 $o(0,1===(n=r[1]).kind?n:Ft(n.getTime(),1)):new $o(1,[e,new tp(0,"a datetime",t)])}var n;return new $o(1,[e,new tp(0,"a datetime",t)])}(e,t):"System.DateTimeOffset"===c?e=>t=>function(e,t){if("string"==typeof t){let n,r=Cp(-621355968e5,0);return n=[xp(t,new vt((()=>r),(e=>{r=e}))),r],n[0]?new $o(0,n[1]):new $o(1,[e,new tp(0,"a datetimeoffset",t)])}return new $o(1,[e,new tp(0,"a datetime",t)])}(e,t):"System.TimeSpan"===c?e=>t=>function(e,t){if("string"==typeof t){let n,r=0;return n=[ep(t,new vt((()=>r),(e=>{r=e}))),r],n[0]?new $o(0,n[1]):new $o(1,[e,new tp(0,"a timespan",t)])}return new $o(1,[e,new tp(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=[io(t,new vt((()=>r),(e=>{r=e}))),r],n[0]?new $o(0,n[1]):new $o(1,[e,new tp(0,"a guid",t)])}return new $o(1,[e,new tp(0,"a guid",t)])}(e,t):"System.Object"===c?e=>e=>new $o(0,e):$$(e,t,n,r)}{const e=l;return t=>n=>e.contents(t)(n)}}function w$(e,t,n){const r=At(t,new np(0));return g$(function(e){return null!=e?tm(((e,t)=>new vt(t[1])),e.Coders):nm()}(n),r,!1,e)}class y${constructor(e){this.magicLink=e,this.backendUrl=`${uh}/workflows/public-backend/invites/${this.magicLink.InviteToken}`}}function v$(e,t){return Pa.Delay((()=>{let e;const n=um(t);return e=Pa.Bind(n,(e=>Pa.Return(new $o(0,e)))),Pa.Bind(e,(e=>{const n=e;if(1===n.tag)return Pa.Return(new $o(1,n.fields[0]));{const e=n.fields[0];if(429===e.statusCode||e.statusCode>=500){let e;const n=Ra(2e3);return e=Pa.Bind(n,(()=>Pa.Return(new $o(0,x$0027_1)))),Pa.Bind(e,(e=>{const n=e;if(1===n.tag)return Pa.Return(new $o(1,n.fields[0]));{const e=um(t);return Pa.Bind(e,(e=>Pa.Return(new $o(0,e))))}}))}return Pa.Return(new $o(0,e))}}))}))}class b$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["AuthCode"]}}function C$(e){return new b$(0,e)}class x$ 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 _$(){return Ff("Workflows.UI.Auth.Types.Credentials",[],x$,(()=>[["id_token",Zf],["access_token",Zf],["expires_in",Qf],["refresh_token",Yf(Zf)],["scope",Zf],["token_type",Zf]]))}class k$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SignIn","SignInWithCurrentAuth","NavigateToOnboarding"]}}function S$(){return[new Jd(Ln(),new Yd(0),void 0,new Cd(0,new _d(void 0))),yf(new Zd(1,new Gd(0)))]}function I$(e,t,n,r,i){let o,s,a,c;const l=function(e){return new y$(e)}(e);if(1===r.tag){if(1===r.fields[0].tag){if(1===r.fields[0].fields[0].tag)return[i,yf(new Zd(0,new Yd(6,new Vd(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 Zd(0,new Yd(1,n.FirstName,new qd(1))):new Zd(0,new Yd(1,n.FirstName,new qd(0))):r[1]?new Zd(3,!1,new Gd(0)):new Zd(0,new Yd(4));break}case 4:e=new Zd(0,new Yd(5));break;case 2:case 7:e=new Zd(0,new Yd(6,new Vd(2)));break;case 3:e=new Zd(0,new Yd(6,new Vd(4)));break;case 5:e=new Zd(0,new Yd(6,new Vd(3)));break;case 6:e=new Zd(0,new Yd(6,new Vd(1)));break;default:{const r=t.fields[0];r.IsInitialMagicLinkUsed?(n(C$(r.AuthCode)),e=new Zd(0,new Yd(1,r.FirstName,new qd(2)))):e=new Zd(6,r.AuthCode)}}return[new Jd(r.fields[0].fields[0].fields[0].CssOverrides,i.Page,Ad(r.fields[0].fields[0].fields[0].Outcome),At(Ed(r.fields[0].fields[0].fields[0].Outcome),i.JourneyType)),yf(e)]}}return[i,vf((e=>{Cf(e)}),(()=>function(e){return Pa.Delay((()=>{let t,n;const r=v$(0,(t=am(new $h(1),sm(`${e.backendUrl}/magic-link/validate`)),lm(new wh(1,(n=new Sd(e.magicLink.MagicCode),mp(0,gp(Ff("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeRequestDto",[],Sd,(()=>[["MagicCode",Zf]])),new np(1),void 0,void 0)(n)))),t)));return Pa.Bind(r,(e=>{const t=e;if(1===t.tag)return Pa.Return(new $o(1,t.fields[0]));{let e;const n=t.fields[0];return e=200===n.statusCode?Qp(ht(2,w$(Ff("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeResponseDto",[],Od,(()=>[["CssOverrides",qf(Zf)],["Outcome",Hf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateMagicCodeOutcomeDto",[],Id,(()=>[[["Item",Gf(["AuthCode",Zf],["Branding",Yf(vd())],["FirstName",Zf],["IsInitialMagicLinkUsed",Xf],["JourneyType",xd()])]],[["Item",Gf(["Branding",Yf(vd())],["FirstName",Zf],["IsInitialMagicLinkUsed",Xf],["JourneyType",xd()],["OneTimeCodeOptionAvailable",Xf])]],[["Item",Gf(["Branding",Yf(vd())],["JourneyType",xd()])]],[["Item",Gf(["Branding",Yf(vd())],["JourneyType",xd()])]],[["Item",Gf(["Branding",Yf(vd())],["JourneyType",xd()])]],[["Item",Gf(["Branding",Yf(vd())],["JourneyType",xd()])]],[["Item",Gf(["Branding",Yf(vd())],["JourneyType",xd()])]],[]]))]])),new np(1),void 0)),n.responseText):new $o(1,"Unexpected response from backend"),Pa.Return(e)}}))}))}(l)),void 0,(e=>new Zd(1,new Gd(1,e))),(e=>new Zd(1,new Gd(1,new $o(1,e.message)))))]}return 2===r.tag?1===r.fields[1].tag?1===r.fields[1].fields[0].tag?[i,yf(new Zd(0,new Yd(6,new Vd(5))))]:[i,yf(new Zd(0,(o=r.fields[1].fields[0].fields[0].Outcome,2===o.tag?new Yd(2,o.fields[0].MaskedEmail):1===o.tag||5===o.tag?new Yd(6,new Vd(2)):3===o.tag?new Yd(6,new Vd(4)):4===o.tag?new Yd(6,new Vd(1)):6===o.tag?new Yd(5):7===o.tag?new Yd(6,new Vd(3)):new Yd(2,o.fields[0].MaskedEmail))))]:[i,vf((e=>{Cf(e)}),(e=>function(e,t){return Pa.Delay((()=>{let n,r;const i=v$(0,(n=am(new $h(1),sm(`${e.backendUrl}/magic-link/reissue`)),lm(new wh(1,(r=new Nd(e.magicLink.MagicCode,t),mp(0,gp(Ff("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeRequestDto",[],Nd,(()=>[["MagicCode",Zf],["IsChange",Xf]])),new np(1),void 0,void 0)(r)))),n)));return Pa.Bind(i,(e=>{const t=e;if(1===t.tag)return Pa.Return(new $o(1,t.fields[0]));{let e;const n=t.fields[0];return e=200===n.statusCode?Qp(ht(2,w$(Ff("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeResponseDto",[],Pd,(()=>[["Outcome",Hf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ReissueMagicCodeOutcomeDto",[],Td,(()=>[[["Item",Gf(["MaskedEmail",Zf])]],[],[["Item",Gf(["MaskedEmail",Zf])]],[],[],[],[],[]]))]])),new np(1),void 0)),n.responseText):new $o(1,"Unexpected response from backend"),Pa.Return(e)}}))}))}(l,e)),r.fields[0],(e=>new Zd(2,r.fields[0],new Gd(1,e))),(e=>new Zd(2,r.fields[0],new Gd(1,new $o(1,e.message)))))]:3===r.tag?1===r.fields[1].tag?1===r.fields[1].fields[0].tag?[i,yf(new Zd(0,new Yd(6,new Vd(5))))]:[i,yf(new Zd(0,(s=r.fields[1].fields[0].fields[0].Outcome,1===s.tag?new Yd(4):2===s.tag?new Yd(6,new Vd(0)):3===s.tag?r.fields[0]?i.Page:new Yd(3,s.fields[0].MaskedPhone):4===s.tag||7===s.tag?new Yd(6,new Vd(2)):5===s.tag?new Yd(6,new Vd(4)):6===s.tag?new Yd(6,new Vd(1)):8===s.tag?new Yd(5):9===s.tag?new Yd(6,new Vd(3)):r.fields[0]?i.Page:new Yd(3,s.fields[0].MaskedPhone))))]:[i,vf((e=>{Cf(e)}),(e=>function(e,t){return Pa.Delay((()=>{let n,r;const i=v$(0,(n=am(new $h(1),sm(`${e.backendUrl}/one-time-code/issue`)),lm(new wh(1,(r=new Dd(e.magicLink.MagicCode,t),mp(0,gp(Ff("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeRequestDto",[],Dd,(()=>[["MagicCode",Zf],["IsResend",Xf]])),new np(1),void 0,void 0)(r)))),n)));return Pa.Bind(i,(e=>{const t=e;if(1===t.tag)return Pa.Return(new $o(1,t.fields[0]));{let e;const n=t.fields[0];return e=200===n.statusCode?Qp(ht(2,w$(Ff("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeResponseDto",[],Bd,(()=>[["Outcome",Hf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.IssueOneTimeCodeOutcomeDto",[],Md,(()=>[[["Item",Gf(["MaskedPhone",Zf])]],[],[],[["Item",Gf(["MaskedPhone",Zf])]],[],[],[],[],[],[]]))]])),new np(1),void 0)),n.responseText):new $o(1,"Unexpected response from backend"),Pa.Return(e)}}))}))}(l,e)),r.fields[0],(e=>new Zd(3,r.fields[0],new Gd(1,e))),(e=>new Zd(3,r.fields[0],new Gd(1,new $o(1,e.message)))))]:4===r.tag?1===r.fields[2].tag?1===r.fields[2].fields[0].tag?[i,yf(new Zd(0,new Yd(6,new Vd(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}),pf()):yf(new Zd(0,new Yd(6,new Vd(0)))):5===a.tag?yf(new Zd(0,new Yd(6,new Vd(0)))):2===a.tag||3===a.tag||4===a.tag?(r.fields[1]({AttemptsRemaining:void 0}),pf()):6===a.tag?yf(new Zd(0,new Yd(6,new Vd(4)))):7===a.tag?yf(new Zd(0,new Yd(6,new Vd(1)))):8===a.tag?yf(new Zd(0,new Yd(6,new Vd(2)))):9===a.tag?yf(new Zd(0,new Yd(5))):10===a.tag?yf(new Zd(0,new Yd(6,new Vd(0)))):yf(new Zd(6,a.fields[0].AuthCode)))]:[i,vf((e=>{Cf(e)}),(e=>function(e,t){return Pa.Delay((()=>{let n,r;const i=v$(0,(n=am(new $h(1),sm(`${e.backendUrl}/one-time-code/validate`)),lm(new wh(1,(r=new Ld(t),mp(0,gp(Ff("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeRequestDto",[],Ld,(()=>[["OneTimeCode",Kf]])),new np(1),void 0,void 0)(r)))),n)));return Pa.Bind(i,(e=>{const t=e;if(1===t.tag)return Pa.Return(new $o(1,t.fields[0]));{let e;const n=t.fields[0];return e=200===n.statusCode?Qp(ht(2,w$(Ff("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeResponseDto",[],jd,(()=>[["Outcome",Hf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ValidateOneTimeCodeOutcomeDto",[],Rd,(()=>[[["Item",Gf(["AuthCode",Zf])]],[["Item",Gf(["RemainingAttempts",Kf])]],[],[],[],[],[],[],[],[],[]]))]])),new np(1),void 0)),n.responseText):new $o(1,"Unexpected response from backend"),Pa.Return(e)}}))}))}(l,e)),r.fields[0],(e=>new Zd(4,r.fields[0],r.fields[1],new Gd(1,e))),(e=>new Zd(4,r.fields[0],r.fields[1],new Gd(1,new $o(1,e.message)))))]:5===r.tag?1===r.fields[1].tag?1===r.fields[1].fields[0].tag?[i,yf(new Zd(0,new Yd(6,new Vd(5))))]:[i,yf((c=r.fields[1].fields[0].fields[0].Outcome,1===c.tag||4===c.tag?new Zd(0,new Yd(6,new Vd(2))):2===c.tag?new Zd(0,new Yd(6,new Vd(4))):3===c.tag?new Zd(0,new Yd(6,new Vd(1))):5===c.tag?new Zd(0,new Yd(5)):6===c.tag?new Zd(0,new Yd(6,new Vd(0))):1===r.fields[0].tag?new Zd(3,!1,new Gd(0)):2===r.fields[0].tag?new Zd(6,void 0):new Zd(2,!1,new Gd(0))))]:[i,vf((e=>{Cf(e)}),(e=>function(e,t){return Pa.Delay((()=>{let n,r;const i=v$(0,(n=am(new $h(1),sm(`${e.backendUrl}/progress`)),lm(new wh(1,(r=new Wd(e.magicLink.MagicCode,t),mp(0,gp(Ff("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressRequestDto",[],Wd,(()=>[["MagicCode",Zf],["IsPassThrough",Xf]])),new np(1),void 0,void 0)(r)))),n)));return Pa.Bind(i,(e=>{const t=e;if(1===t.tag)return Pa.Return(new $o(1,t.fields[0]));{let e;const n=t.fields[0];return e=200===n.statusCode?Qp(ht(2,w$(Ff("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressResponseDto",[],zd,(()=>[["Outcome",Hf("Workflows.Business.Aggregates.WorkflowInvite.ApiDto.ProgressOutcomeDto",[],Ud,(()=>[[],[],[],[],[],[],[]]))]])),new np(1),void 0)),n.responseText):new $o(1,"Unexpected response from backend"),Pa.Return(e)}}))}))}(l,e)),1!==r.fields[0].tag&&2===r.fields[0].tag,(e=>new Zd(5,r.fields[0],new Gd(1,e))),(e=>new Zd(5,r.fields[0],new Gd(1,new $o(1,e.message)))))]:6===r.tag?(t(Ot(C$,r.fields[0])),[i,pf()]):[new Jd(i.CssOverrides,r.fields[0],i.Branding,i.JourneyType),pf()]}const A$=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 E$=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 A$(n)}(e,0);return 0!=(256&n)}(e);class O$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ResendTimerTick","SignIn","IncorrectOneTimeCodeCallback","SetCodeInvalid","SetCodeInputValue","SetReissueLinkInProgress"]}}class N$ 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 T$(){return[new N$(void 0,!1,"",void 0,!1,!1),pf()]}function P$(e){"one-time-code-input"===e.target.id||"Enter"!==e.key&&document.getElementById("one-time-code-input").focus()}const D$={Dispose(){document.removeEventListener("keypress",(e=>{P$(e)})),document.removeEventListener("paste",(e=>{P$(e)}))}};function M$(e){const t=e.reissueLink,n=e.reissueOneTimeCode,r=e.validateOneTimeCode,i=e.maskedPhone,o=Bf(T$,((e,t)=>function(e,t,n){let r;switch(t.tag){case 1:{const r=kn(E$,n.CodeInputValue);return 6===r.length?(e([vp(r,511,!1,32),t.fields[0]]),[new N$(n.AttemptsRemaining,n.CodeInvalid,n.CodeInputValue,n.ResendTimer,!0,n.ReissueLinkInProgress),pf()]):[n,yf(new O$(3,!0))]}case 2:return[new N$(t.fields[0],n.CodeInvalid,n.CodeInputValue,n.ResendTimer,n.SignInInProgress,n.ReissueLinkInProgress),yf(new O$(3,!0))];case 3:{const e=t.fields[0];return[new N$(n.AttemptsRemaining,e,e?"":n.CodeInputValue,n.ResendTimer,!1,n.ReissueLinkInProgress),pf()]}case 4:return[new N$(n.AttemptsRemaining,n.CodeInvalid,t.fields[0],n.ResendTimer,n.SignInInProgress,n.ReissueLinkInProgress),pf()];case 5:return[new N$(n.AttemptsRemaining,n.CodeInvalid,n.CodeInputValue,n.ResendTimer,n.SignInInProgress,!0),pf()];default:{const e=bf((e=>{Cf(e)}),(()=>Pa.Delay((()=>Pa.Bind(Ra(1e3),(()=>Pa.Return()))))),void 0,(()=>new O$(0)));let t;const i=n.ResendTimer;return t=null!=i?i>0?(r=0|i,[r-1,e]):[void 0,pf()]:[20,e],[new N$(n.AttemptsRemaining,n.CodeInvalid,n.CodeInputValue,t[0],n.SignInInProgress,n.ReissueLinkInProgress),t[1]]}}}(r,e,t))),s=o[0],a=o[1];Wi((()=>(document.addEventListener("keypress",(e=>{P$(e)})),document.addEventListener("paste",(e=>{P$(e)})),D$)),new Array(0));const c=()=>{a(new O$(1,(e=>{a(new O$(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(E$,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 O$(3,!1))}],["onChange",e=>{const t=kn(E$,e.target.value);a(new O$(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,"")}))}),_f(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 O$(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 O$(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 B$(e){const t=e.reissueLink,n=e.brandingOption,r=Vi(!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 L$(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 R$(){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 j$(e){const t=e.startAuthCodeExchangeBackground,n=e.navigateAuthCodeExchangePage,r=e.magicLink,i=Bf(S$,((e,i)=>I$(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=Vi(!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 Zd(5,e.fields[1],new Gd(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(M$,{maskedPhone:e.fields[0],validateOneTimeCode:e=>{s(new Zd(4,e[0],e[1],new Gd(0)))},reissueOneTimeCode:()=>{s(new Zd(3,!0,new Gd(0)))},reissueLink:()=>{s(new Zd(2,!0,new Gd(0)))}}));if(4===e.tag)return wr(d(B$,{brandingOption:o.Branding,reissueLink:()=>{s(new Zd(2,!1,new Gd(0)))}}));if(5!==e.tag)return 6===e.tag?1===e.fields[0].tag?wr(Yi("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(Ji,{reissueMagicLink:()=>{s(new Zd(2,!0,new Gd(0)))}})):5===e.fields[0].tag?wr(Xi()):2===e.fields[0].tag?wr(Zi(o.Branding)):3===e.fields[0].tag?wr(qi("Invite no longer active","It looks like your employer may have cancelled your invite, and you no longer have access.",o.Branding)):wr(qi("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(L$(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(R$())}}))))));return d(m,{},...a)}function W$(e){let t,n;const r=e.startAuthCodeExchangeBackground,i=e.navigateAuthCodeExchangePage,o=e.inviteCode;return Ui((()=>{Va(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 $o(1,"Invalid link");{const e=t[1];return new $o(0,new Hd(t[0],e))}}(o);return 0===e.tag?wr(d(j$,{magicLink:e.fields[0],navigateAuthCodeExchangePage:i,startAuthCodeExchangeBackground:r})):wr(Zi(void 0))}))),["children",bi.Children.toArray(Array.from(n))])]))),Ki],["children",bi.Children.toArray(Array.from(t))])])))}class U$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","LegacyInvite","InviteV2","AuthCodeExchange","AuthCodeExchangeWithCurrentAuth","NotFound","LoggedOut"]}}function z$(e){const t=sh(e);if(null!=t)return Ot((e=>e[1]),er((e=>"code"===e[0]),t))}function F$(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 vo(1,n);case 1:return new vo(0,r);case 2:return new vo(2,void 0)}}(e);return 1===c.tag?[Wn(c.fields[0])?Wn(c.fields[0])?new U$(0):(i=sh(zn(c.fields[0])),null!=i?Wn(i)?new U$(0):"invite-code"===zn(i)[0]&&Wn(Fn(i))&&Wn(Fn(c.fields[0]))?(o=zn(i)[1],new U$(2,o)):new U$(0):new U$(0)):(t=sh(zn(c.fields[0])),null!=t?Wn(t)?Wn(c.fields[0])?new U$(0):(i=sh(zn(c.fields[0])),null!=i?Wn(i)?new U$(0):"invite-code"===zn(i)[0]&&Wn(Fn(i))&&Wn(Fn(c.fields[0]))?(o=zn(i)[1],new U$(2,o)):new U$(0):new U$(0)):"invite"===zn(t)[0]&&Wn(Fn(t))&&Wn(Fn(c.fields[0]))?(n=zn(t)[1],r=Oo(n),1===r.tag?new U$(5):new U$(1)):Wn(c.fields[0])?new U$(0):(i=sh(zn(c.fields[0])),null!=i?Wn(i)?new U$(0):"invite-code"===zn(i)[0]&&Wn(Fn(i))&&Wn(Fn(c.fields[0]))?(o=zn(i)[1],new U$(2,o)):new U$(0):new U$(0)):Wn(c.fields[0])?new U$(0):(i=sh(zn(c.fields[0])),null!=i?Wn(i)?new U$(0):"invite-code"===zn(i)[0]&&Wn(Fn(i))&&Wn(Fn(c.fields[0]))?(o=zn(i)[1],new U$(2,o)):new U$(0):new U$(0))),new mh(1)]:2===c.tag?[new U$(5),new mh(2)]:[Wn(c.fields[0])||Wn(Fn(c.fields[0]))?new U$(0):(s=z$(zn(Fn(c.fields[0]))),null!=s&&Wn(Fn(Fn(c.fields[0])))?(a=s,new U$(3,C$(a))):new U$(0)),new mh(0)]}class G$ extends yt{constructor(e,t,n){super(),this.CurrentPage=e,this.Credentials=t,this.AppMode=n}}class H$ extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","NavigateAuthCodeExchangePage","NavigateAuthCodeExchangePageWithCurrentAuth","AuthMsg","StartAuthCodeExchangeBackground","DisplayLoggedOut"]}}function V$(){let e;return Ui((()=>{Va(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 Y$(e){this.message=e}Y$.prototype=new Error,Y$.prototype.name="InvalidCharacterError";var q$="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new Y$("'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 J$(e){this.message=e}J$.prototype=new Error,J$.prototype.name="InvalidTokenError";function Z$(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 $o(1,e.fields[0]):new $o(0,Yn(e.fields[0]))}{let s;const a=i(zn(o));if(1===a.tag)s=new $o(1,a.fields[0]);else{const e=r;s=1===e.tag?new $o(1,e.fields[0]):new $o(0,Rn(a.fields[0],e.fields[0]))}if(1===s.tag)return s;e=s,t=i,n=Fn(o);continue e}}}(new $o(0,Ln()),e,t)}((e=>e),e)}class X$ extends yt{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class K$ extends yt{constructor(e,t){super(),this.Email=e,this.Phone=t}}class Q$ extends yt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.NumberOfAttempts=0|n,this.DateOfLastAttempt=r}}class eg extends yt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.SecondFactor=n,this.Branding=r}}class tg extends yt{constructor(e,t,n){super(),this.Id=e,this.DisplayName=t,this.ComponentTagName=n}}function ng(e){return new $o(0,new Jo(ss(e.Id),e.DisplayName,e.ComponentTagName))}class rg extends yt{constructor(e,t){super(),this.ActivatedDates=e,this.CompletedSteps=t}}class ig extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}class og extends yt{constructor(e,t,n){super(),this.Id=e,this.Name=t,this.Steps=n}}class sg extends yt{constructor(e,t){super(),this.Name=e,this.Value=t}}function ag(e){return function(e,t){const n=yn(r=e)?new $o(1,"Tag name is empty"):r.length<100?new $o(0,new Bs(0,r)):new $o(1,"Tag name is too long");var r,i;if(1===n.tag)return new $o(1,n.fields[0]);{const e=yn(i=t)?new $o(1,"Tag value is empty"):i.length<100?new $o(0,new Ls(0,i)):new $o(1,"Tag value is too long");return 1===e.tag?new $o(1,e.fields[0]):new $o(0,new Ms(n.fields[0],e.fields[0]))}}(e.Name,e.Value)}class cg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["WhenEnabled","Always"]}}class lg extends yt{constructor(e){super(),this.BenefitsOnboarding=e}}class ug extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Default","InfoRequest","AppInvite","BenefitsExisting","BenefitsOnboarding"]}}class fg extends yt{constructor(e){super(),this.Category=e}}function dg(){return Ff("Workflows.Business.Aggregates.ProcessInstanceList.Dto.JourneyTypeDetailsDto",[],fg,(()=>[["Category",Yf(Zf)]]))}function hg(e){return new Us(e.Category)}class mg 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 pg(){return Ff("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceDto",[],mg,(()=>[["Id",Kf],["DateCreated",zf("System.DateTime")],["Configuration",Ff("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessConfigDto",[],og,(()=>[["Id",zf("System.Guid")],["Name",Zf],["Steps",qf(Ff("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessStepConfigDto",[],tg,(()=>[["Id",Zf],["DisplayName",Zf],["ComponentTagName",Zf]])))]]))],["Status",Hf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceStatusDto",[],ig,(()=>[[],[["Item",Ff("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ActiveProcessInstanceDto",[],rg,(()=>[["ActivatedDates",qf(zf("System.DateTime"))],["CompletedSteps",qf(Vf(Zf,zf("System.DateTime")))]]))]],[["Item",zf("System.DateTime")]],[["Item",zf("System.DateTime")]]]))],["Invite",Yf(Ff("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.InviteDto",[],eg,(()=>[["Code",Zf],["DateIssued",zf("System.DateTime")],["SecondFactor",Yf(Ff("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.SecondFactorDto",[],Q$,(()=>[["Code",Zf],["DateIssued",zf("System.DateTime")],["NumberOfAttempts",Kf],["DateOfLastAttempt",Yf(zf("System.DateTime"))]])))],["Branding",Yf(Ff("Workflows.Business.Aggregates.CommonDto.InviteBrandingDto",[],X$,(()=>[["CompanyName",Yf(Zf)],["Logo",Yf(Zf)],["Support",Yf(Ff("Workflows.Business.Aggregates.CommonDto.SupportDto",[],K$,(()=>[["Email",Yf(Zf)],["Phone",Yf(Zf)]])))]])))]])))],["Tags",Yf(qf(Ff("Workflows.Business.Aggregates.ProcessInstanceList.Dto.TagDto",[],sg,(()=>[["Name",Zf],["Value",Zf]]))))],["Creator",Yf(Zf)],["StepsConfiguration",Yf(Ff("Workflows.Business.Aggregates.ProcessInstanceList.Dto.StepsConfigurationDto",[],lg,(()=>[["BenefitsOnboarding",Yf(Gf(["Show",Hf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.BenefitsOnboardingShowOptionsDto",[],cg,(()=>[[],[]]))]))]])))],["JourneyType",Yf(Hf("Workflows.Business.Aggregates.ProcessInstanceList.Dto.JourneyTypeDto",[],ug,(()=>[[["Item",dg()]],[["Item",dg()]],[["Item",dg()]],[["Item",dg()]],[["Item",dg()]]])))],["IsBenefitsStepEnabled",Yf(Xf)],["PaySetupComplete",Yf(Xf)]]))}function $g(e){let t,n;const r=function(e){const t=Z$(Qn(ng,e.Steps));if(1===t.tag)return new $o(1,t.fields[0]);{const n=function(e){const t=new cs(0,e);return xr(t,Is.keys(),{Equals:ot,GetHashCode:nt})?new $o(0,t):new $o(1,hn(fn("Invalid Type %A%P()",[e])))}(e.Id);return 1===n.tag?new $o(1,n.fields[0]):new $o(0,new ls(n.fields[0],e.Name,t.fields[0]))}}(e.Configuration);if(1===r.tag)return new $o(1,r.fields[0]);{const i=r.fields[0],o=function(e){switch(e.tag){case 1:{const t=function(e){const t=Z$(Qn((e=>new $o(0,[ss(e[0]),e[1]])),e.CompletedSteps));return 1===t.tag?new $o(1,t.fields[0]):new $o(0,new Es(e.ActivatedDates,t.fields[0]))}(e.fields[0]);return 1===t.tag?new $o(1,t.fields[0]):new $o(0,new Os(1,t.fields[0]))}case 2:return new $o(0,new Os(2,e.fields[0]));case 3:return new $o(0,new Os(3,e.fields[0]));default:return new $o(0,new Os(0))}}(e.Status);if(1===o.tag)return new $o(1,o.fields[0]);{const r=o.fields[0];let s;if(1===r.tag){const e=r.fields[0],t=Z$(Qn((e=>{const t=[e[0],e[1]],n=t[0];return rr((e=>ot(e.Id,n)),i.Steps)?new $o(0,[n,t[1]]):new $o(1,"Step id is not configured for this Process Instance.")}),e.CompletedSteps));s=1===t.tag?new $o(1,t.fields[0]):new $o(0,new Os(1,new Es(e.ActivatedDates,t.fields[0])))}else s=new $o(0,r);if(1===s.tag)return new $o(1,s.fields[0]);{let r;const o=e.Invite;if(null!=o){const e=function(e){const t=Oo(e.Code);if(1===t.tag)return new $o(1,t.fields[0]);{let n;const r=e.SecondFactor;let i;n=null==r?void 0:function(e){return new Vo((t=e.Code,new Ho(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=Fo(n);t=1===e.tag?new $o(1,e.fields[0]):new $o(0,e.fields[0])}else t=new $o(0,void 0);if(1===t.tag)return new $o(1,t.fields[0]);{let n;const r=e.CompanyName;if(null!=r){const e=Uo(r);n=1===e.tag?new $o(1,e.fields[0]):new $o(0,e.fields[0])}else n=new $o(0,void 0);if(1===n.tag)return new $o(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=Lo(n);t=1===e.tag?new $o(1,e.fields[0]):new $o(0,e.fields[0])}else t=new $o(0,void 0);if(1===t.tag)return new $o(1,t.fields[0]);{let n;const r=e.Phone;if(null!=r){const e=jo(r);n=1===e.tag?new $o(1,e.fields[0]):new $o(0,e.fields[0])}else n=new $o(0,void 0);return 1===n.tag?new $o(1,n.fields[0]):new $o(0,new Do(t.fields[0],n.fields[0]))}}(i);r=1===e.tag?new $o(1,e.fields[0]):new $o(0,e.fields[0])}else r=new $o(0,void 0);return 1===r.tag?new $o(1,r.fields[0]):new $o(0,new No(n.fields[0],t.fields[0],r.fields[0]))}}}(o);i=1===e.tag?new $o(1,e.fields[0]):new $o(0,e.fields[0])}else i=new $o(0,void 0);return 1===i.tag?new $o(1,i.fields[0]):new $o(0,new Yo(t.fields[0],e.DateIssued,n,i.fields[0]))}}(o);r=1===e.tag?new $o(1,e.fields[0]):new $o(0,e.fields[0])}else r=new $o(0,void 0);if(1===r.tag)return new $o(1,r.fields[0]);{let o;const a=e.Tags;if(null!=a){const e=Z$(Qn(ag,a));o=1===e.tag?new $o(1,e.fields[0]):new $o(0,e.fields[0])}else o=new $o(0,void 0);return 1===o.tag?new $o(1,o.fields[0]):new $o(0,new Rs(Ps(e.Id),i,e.DateCreated,s.fields[0],r.fields[0],o.fields[0],(t=e.Creator,null==t?void 0:Io(t)),(n=e.StepsConfiguration,null==n?void 0:function(e){let t,n;return new js((t=e.BenefitsOnboarding,null==t?void 0:(n=t,{Show:1===n.Show.tag?new zs(1):new zs(0)})))}(n)),function(e){if(null==e)return new Ws(0,new Us(void 0));if(1===e.tag){const t=e.fields[0];return new Ws(1,hg(t))}if(2===e.tag){const t=e.fields[0];return new Ws(2,hg(t))}if(3===e.tag){const t=e.fields[0];return new Ws(3,hg(t))}if(4===e.tag){const t=e.fields[0];return new Ws(4,hg(t))}{const t=e.fields[0];return new Ws(0,hg(t))}}(e.JourneyType),e.IsBenefitsStepEnabled,e.PaySetupComplete))}}}}}class gg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompleteStep","CompleteStepV2","Complete","ViewPaySetupPage","CompletePaySetup","ResumePaySetup"]}}class wg extends yt{constructor(e,t,n,r){super(),this.CssOverrides=e,this.ProcessInstance=t,this.IsBenefitsEnabled=n,this.Branding=r}}class yg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompleteStep","CompleteStepV2","Complete","ViewPaySetupPage","CompletePaySetup","ResumePaySetup"]}}const vg=$g;class bg extends yt{constructor(e,t,n,r){super(),this.CssOverrides=e,this.ProcessInstanceDto=t,this.IsBenefitsEnabled=n,this.Branding=r}}class Cg extends yt{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class xg extends yt{constructor(e,t){super(),this.Email=e,this.Phone=t}}class _g extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["WorkflowInstanceStepActivated","BenefitsStepActivated","BenefitsStepCompleted"]}}class kg 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 Sg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Hidden","Incomplete","Complete"]}}function Ig(e){return new Sg(e?1:0)}class Ag extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Completed","Disabled","Active","Locked","CompletedAndDisabled"]}}function Eg(e){return ot(e,Zo)?new $o(0,new kg(0)):ot(e,Xo)?new $o(0,new kg(1)):ot(e,Ko)?new $o(0,new kg(2)):ot(e,Qo)?new $o(0,new kg(3)):ot(e,es)?new $o(0,new kg(4)):ot(e,ts)?new $o(0,new kg(5)):ot(e,is)?new $o(0,new kg(7)):ot(e,os)?new $o(0,new kg(8)):new $o(1,"Invalid step")}function Og(e){switch(e.tag){case 1:return Xo;case 2:return Ko;case 3:return Qo;case 4:return es;case 5:return ts;case 6:return rs;case 7:return is;case 8:return os;default:return Zo}}function Ng(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 ts.DisplayName;case 6:return"Workplace benefits";case 7:return"Fair Work";case 8:return os.DisplayName;default:return"Employee profile"}}function Tg(e){switch(e.tag){case 1:return"Contacts";case 2:return"Bank";case 3:return"Tax";case 4:return"Super";case 5:return ts.DisplayName;case 6:return"Benefits";case 7:return"Fair Work";case 8:return os.DisplayName;default:return"Profile"}}function Pg(e){switch(e.tag){case 1:return Xo;case 2:return Ko;case 3:return Qo;case 4:return es;case 5:return ts;case 6:return rs;case 7:return is;case 8:return os;default:return Zo}}class Dg extends yt{constructor(e,t){super(),this.Id=e,this.Status=t}}function Mg(e){return Ng(e.Id)}function Bg(e){return 1===e.Id.tag?e:void 0}function Lg(e,t){const n=At(e.PaySetupComplete,!1);let r;const i=Z$(Qn(Eg,e.Configuration.Steps));if(r=1===i.tag?new $o(1,i.fields[0]):new $o(0,function(e,t){return 0===e.tag?t:Kn(t,jn(new kg(6)))}(t,i.fields[0])),1===r.tag)return new $o(1,r.fields[0]);{const t=Z$(Qn(Eg,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 $o(1,t.fields[0]):new $o(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 Ag(0))?new Dg(e.Id,new Ag(4)):e),Qn((e=>rr((t=>ot(t,e.Id)),t.fields[0])?new Dg(e.Id,new Ag(0)):e),Qn((e=>ot(e.Id,new kg(6))&&!n?new Dg(e.Id,new Ag(3)):e),Qn((e=>new Dg(e,new Ag(1))),r.fields[0])))),((e,t)=>{for(;;){const n=e,r=t;if(Wn(n))return r;if(ot(zn(n).Status,new Ag(2)))return Xn([r,jn(zn(n)),Fn(n)]);if(ot(zn(n).Status,new Ag(1)))return Xn([r,jn(new Dg(zn(n).Id,new Ag(2))),Fn(n)]);e=Fn(n),t=Kn(r,jn(zn(n)))}})(o,Ln())))}var o}class Rg 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 jg(e){switch(e.Status.tag){case 3:case 0:return!1;case 1:return At(e.PaySetupComplete,!1);default:return!0}}class Wg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Initialising","StepList","Step","PaySetupCompleteConfirmation","Oops","AllDone"]}}class Ug extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ActivateCallback","FetchWorkflowState","ShowStepListView","ShowAllDone","ShowStep","ShowPaySetupCompleteConfirmation","ShowOopsPage","CloseStepListView","StepCompletionEventCallback","CompleteStep","CompleteStepResult","ConfirmPaySetupComplete","ResumePaySetup","CompletePaySetup","PaySetupCompleted","CompleteWorkflow","CompleteWorkflowResult","ShowAllDoneAndNotifyComplete","SendAnalyticsEvent","AppendTrailingSlashToUrl","CompleteBenefitsOnboardingStep","CommandSuccess","CommandFailure"]}}class zg extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Initialising","Loaded","Error"]}}function Fg(e,t){const n=[e,t],r=n[0];if(1===r.tag)return new zg(2,r.fields[0]);if(2===n[1].tag)return t;if(0===n[1].tag)return t;{const e=function(e,t){let n;const r=[t,Ig(e.IsBenefitsStepEnabled)];return n=Lg(r[0],r[1]),1===n.tag?new $o(1,n.fields[0]):new $o(0,new Rg(e.AppMode,e.JourneyType,e.Branding,e.IsBenefitsStepEnabled,e.IsPaySetupCompatible,jg(t),t.Status,e.ProcessInstanceId,e.InstanceName,e.ProcessConfigId,n.fields[0]))}(n[1].fields[0],r.fields[0]);return 1===e.tag?new zg(2,e.fields[0]):new zg(1,e.fields[0])}}class Gg 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 Hg(e){switch(e.tag){case 1:return"Information request";case 2:return"Workflow";case 3:case 4:return"Benefits Onboarding";default:return"Onboarding"}}function Vg(e){return e<640?_t(void 0):void 0}function Yg(e,t){return Pa.Delay((()=>{const n=cm((r=hn(un("Bearer %s"))(e),new gh(0,"Authorization",r)),t);var r;let i;const o=um(n);return i=Pa.Bind(o,(e=>Pa.Return(new $o(0,e)))),Pa.Bind(i,(e=>{const t=e;if(1===t.tag)return Pa.Return(new $o(1,t.fields[0]));{const e=t.fields[0];if(429===e.statusCode||e.statusCode>=500){const e=um(n);return Pa.Bind(e,(e=>Pa.Return(new $o(0,e))))}return Pa.Return(new $o(0,e))}}))}))}function qg(e,t,n){return Pa.Delay((()=>{let r,i;const o=Yg(n,(r=lm(new wh(1,(i=jn(function(e){switch(e.tag){case 1:return new yg(1,as(e.fields[0]));case 2:return new yg(2);case 3:return new yg(3,e.fields[0]);case 4:return new yg(4,e.fields[0]);case 5:return new yg(5,e.fields[0]);default:return new yg(0,as(e.fields[0]))}}(e)),mp(0,gp(qf(Hf("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.ProcessInstanceCommandDto",[],yg,(()=>[[["Item",Zf]],[["Item",Zf]],[],[["Item",Xf]],[["Item",Xf]],[["Item",Xf]]]))),new np(1),void 0,void 0)(i)))),am(new $h(1),sm(function(e){const t=0|Ds(e);return hn(un("%s/workflows/backend/%i"))(uh)(t)}(t)))),cm(rm("application/json"),r)));return Pa.Bind(o,(e=>{const t=e;if(1===t.tag)return Pa.Return(new $o(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){let t;const n=Qp(ht(2,w$(pg(),new np(1),void 0)),e.responseText);return t=1===n.tag?new $o(1,n.fields[0]):vg(n.fields[0]),Pa.Return(t)}return Pa.Return(new $o(1,"Unexpected response from backend"))}}))}))}function Jg(e,t){return Pa.Delay((()=>{const n=Yg(t,am(new $h(1),sm(function(e){const t=0|Ds(e);return hn(un("%s/workflows/backend/process-instances/%i/activate"))(uh)(t)}(e))));return Pa.Bind(n,(e=>{const t=e;if(1===t.tag)return Pa.Return(new $o(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){let t;const n=Qp(ht(2,w$(Ff("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.ProcessInstanceContextDto",[],bg,(()=>[["CssOverrides",qf(Zf)],["ProcessInstanceDto",pg()],["IsBenefitsEnabled",Xf],["Branding",Yf(Ff("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.Branding",[],Cg,(()=>[["CompanyName",Yf(Zf)],["Logo",Yf(Zf)],["Support",Yf(Ff("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.Support",[],xg,(()=>[["Email",Yf(Zf)],["Phone",Yf(Zf)]])))]])))]])),new np(1),void 0)),e.responseText);return t=1===n.tag?new $o(1,n.fields[0]):new $o(0,function(e){let t,n;return new wg(e.CssOverrides,(t=$g(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 No((r=e.CompanyName,n=null==r?void 0:Uo(r),t=null!=n?(i=n,1===i.tag?new $o(1,i.fields[0]):new $o(0,i.fields[0])):new $o(0,void 0),1===t.tag?void 0:t.fields[0]),(a=e.Logo,s=null==a?void 0:Fo(a),o=null!=s?(c=s,1===c.tag?new $o(1,c.fields[0]):new $o(0,c.fields[0])):new $o(0,void 0),1===o.tag?void 0:o.fields[0]),(l=e.Support,null==l?void 0:(u=l,new Do((h=u.Email,d=null==h?void 0:Lo(h),f=null!=d?(m=d,1===m.tag?new $o(1,m.fields[0]):new $o(0,m.fields[0])):new $o(0,void 0),1===f.tag?void 0:f.fields[0]),(g=u.Phone,$=null==g?void 0:jo(g),p=null!=$?(w=$,1===w.tag?new $o(1,w.fields[0]):new $o(0,w.fields[0])):new $o(0,void 0),1===p.tag?void 0:p.fields[0])))))}(n)))}(n.fields[0])),Pa.Return(t)}return Pa.Return(new $o(1,"Unexpected response from backend"))}}))}))}function Zg(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=Bg(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 Ag(2))?new Dg(a.Id,new Ag(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 Xg(e,t,n){return At(Et(Et(function(e){return Ns(e.Status)?new Ug(17,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 Ug(4,e)),er((e=>ot(e.Status,new Ag(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 Ag(2))&&(ot(n.Status,new Ag(1))||ot(n.Status,new Ag(3)))?(a=0,c=s[1],l=s[0]):(a=1,u=s[0],f=s[1])):a=2,a){case 0:return new Ug(4,l);case 1:return ot(f.Status,new Ag(3))?void 0:new Ug(4,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 Ug(11,{Branding:e.Branding,InjectedBenefits:e.IsBenefitsStepEnabled});case 1:return}}(t,n)),new Ug(15))}function Kg(e,t,n,r){let i,o,s,a,c,l,u,f,d,h,m,p;if(1===n.tag)return[r,vf((e=>{Cf(e)}),(e=>function(e,t){return Jg(e,t)}(r.ProcessInstanceId,e)),e,(e=>new Ug(0,e)),(e=>new Ug(6,e.message)))];if(2===n.tag)return[new Gg(r.ProfileId,r.ProcessInstanceId,r.WorkflowDetail,new Wg(1),r.CssOverrides,r.BenefitsOnboarding),pf()];if(3===n.tag)return[new Gg(r.ProfileId,r.ProcessInstanceId,r.WorkflowDetail,new Wg(5),r.CssOverrides,r.BenefitsOnboarding),pf()];if(4===n.tag)return[new Gg(r.ProfileId,r.ProcessInstanceId,r.WorkflowDetail,new Wg(2,n.fields[0]),r.CssOverrides,r.BenefitsOnboarding),(i=Og(n.fields[0].Id),ot(i.Id,rs.Id)?yf(new Ug(18,r.ProcessInstanceId,new _g(1))):yf(new Ug(18,r.ProcessInstanceId,new _g(0,as(i.Id)))))];if(6===n.tag)return[new Gg(r.ProfileId,r.ProcessInstanceId,r.WorkflowDetail,new Wg(4,n.fields[0]),r.CssOverrides,r.BenefitsOnboarding),pf()];if(5===n.tag)return[new Gg(r.ProfileId,r.ProcessInstanceId,r.WorkflowDetail,new Wg(3),r.CssOverrides,r.BenefitsOnboarding),pf()];if(7===n.tag){const e=r.WorkflowDetail;return 1===e.tag?[r,yf(Xg(r.CurrentView,e.fields[0],r.BenefitsOnboarding))]:[r,pf()]}if(18===n.tag)return Cf(function(e,t,n){let r;const i=Pa.Delay((()=>{let r;return Yg(e,(r=lm(new wh(1,mp(0,gp(qf(Hf("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Write.WorkflowAnalyticsEventDto",[],_g,(()=>[[["Item",Zf]],[],[]]))),new np(1),void 0,void 0)(jn(n)))),am(new $h(1),sm(function(e){const t=0|Ds(e);return hn(un("%s/workflows/backend/process-instances/%i/analytics-events"))(uh)(t)}(t)))),cm(rm("application/json"),r)))}));return r=Pa.Bind(i,(e=>{let t;const n=e;return t=1===n.tag?new $o(1,n.fields[0]):new $o(0,void n.fields[0]),Pa.Return(t)})),Pa.Bind(r,(e=>{let t;const n=e;return t=1===n.tag?void 0:n.fields[0],Pa.Return(t)}))}(e,n.fields[0],n.fields[1])),[r,pf()];if(8===n.tag){const e=r.WorkflowDetail;return 1===e.tag?[r,(o=n.fields[0].target,s=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")}}(Pg(e.Id).ComponentTagName,o.tagName,5)),e.fields[0].Steps),null==s?pf():ot(s.Id,new kg(6))?(a=s,yf(new Ug(20))):(c=s,yf(new Ug(9,(g=c,Pg(g.Id).Id)))))]:[r,pf()]}if(20===n.tag){let e;switch(e=1===r.WorkflowDetail.tag?ot(r.BenefitsOnboarding,new Sg(0))?1:0:1,e){case 0:return[new Gg(r.ProfileId,r.ProcessInstanceId,r.WorkflowDetail,r.CurrentView,r.CssOverrides,new Sg(2)),gf(Qn(yf,Zn([new Ug(18,r.ProcessInstanceId,new _g(2)),new Ug(15),new Ug(3)])))];case 1:return[r,pf()]}}else{if(9===n.tag)return[r,bf((e=>{Cf(e)}),(e=>function(e,t,n){return qg(new gg(1,t),e,n)}(r.ProcessInstanceId,n.fields[0],e)),e,(e=>new Ug(10,n.fields[0],e)))];if(10===n.tag){const e=n.fields[1];1===e.tag?e.fields[0]:Ga(n.fields[0],e.fields[0],r.ProfileId);const t=Fg(n.fields[1],r.WorkflowDetail);return[new Gg(r.ProfileId,r.ProcessInstanceId,t,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),yf(1===t.tag?Xg(r.CurrentView,t.fields[0],r.BenefitsOnboarding):2===t.tag?new Ug(6,t.fields[0]):new Ug(6,"Process Instance not resolved"))]}if(11===n.tag)return[new Gg(r.ProfileId,r.ProcessInstanceId,r.WorkflowDetail,new Wg(3),r.CssOverrides,r.BenefitsOnboarding),vf((e=>{Cf(e)}),(t=>function(e,t,n){return qg(new gg(3,n),e,t)}(r.ProcessInstanceId,e,t)),n.fields[0].InjectedBenefits,(e=>new Ug(21)),(e=>new Ug(22,e)))];if(12===n.tag)return[r,gf(Zn([vf((e=>{Cf(e)}),(t=>function(e,t,n){return qg(new gg(5,n),e,t)}(r.ProcessInstanceId,e,t)),n.fields[0].InjectedBenefits,(e=>new Ug(21)),(e=>new Ug(22,e))),(l=r.WorkflowDetail,1===l.tag?yf(new Ug(4,Gn(nr((e=>!!ot(e.Status,new Ag(0))||ot(e.Status,new Ag(4))),l.fields[0].Steps)))):yf(new Ug(6,"Process Instance not resolved")))]))];if(13===n.tag)return[r,vf((e=>{Cf(e)}),(t=>function(e,t,n){return qg(new gg(4,n),e,t)}(r.ProcessInstanceId,e,t)),n.fields[0].InjectedBenefits,(e=>new Ug(14,e)),(e=>new Ug(22,e)))];if(14===n.tag){const e=Fg(n.fields[0],r.WorkflowDetail);return[new Gg(r.ProfileId,r.ProcessInstanceId,e,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),yf(1===e.tag?Xg(r.CurrentView,e.fields[0],r.BenefitsOnboarding):2===e.tag?new Ug(6,e.fields[0]):new Ug(6,"Process Instance not resolved"))]}if(15!==n.tag){if(16===n.tag)return 1===n.fields[0].tag?[new Gg(r.ProfileId,r.ProcessInstanceId,new zg(2,n.fields[0].fields[0]),r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),yf(new Ug(6,n.fields[0].fields[0]))]:(Ha(n.fields[0].fields[0].Id,n.fields[0].fields[0].Configuration.Name,n.fields[0].fields[0].Configuration.Id,r.ProfileId),[new Gg(r.ProfileId,r.ProcessInstanceId,Fg(new $o(0,n.fields[0].fields[0]),r.WorkflowDetail),r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),yf(new Ug(3))]);if(17===n.tag)return Ha(n.fields[0].ProcessInstanceId,n.fields[0].InstanceName,n.fields[0].ProcessConfigId,r.ProfileId),[r,yf(new Ug(3))];if(19===n.tag)return[r,(u=window.location.pathname+"/"+window.location.search+window.location.hash,wf((e=>{rh(jn(u),1,2)})))];if(21===n.tag)return[r,pf()];if(22===n.tag)return[r,pf()];{let e,i;const o=n.fields[0];if(1===o.tag)i=new $o(1,o.fields[0]);else{const e=o.fields[0],n=Ig(e.IsBenefitsEnabled),s=Lg(e.ProcessInstance,n);if(1===s.tag)i=new $o(1,s.fields[0]);else{const o=s.fields[0],a=function(e,t){let n;const r=[t.ProcessInstance,Ig(t.IsBenefitsEnabled)];return n=Lg(r[0],r[1]),1===n.tag?new $o(1,n.fields[0]):new $o(0,new Rg(e,t.ProcessInstance.JourneyType,t.Branding,t.IsBenefitsEnabled,!ot(i=t.ProcessInstance.Configuration,Cs)&&!ot(i,ps),jg(t.ProcessInstance),t.ProcessInstance.Status,t.ProcessInstance.Id,t.ProcessInstance.Configuration.Name,t.ProcessInstance.Configuration.Id,n.fields[0]));var i}(t,e);i=1===a.tag?new $o(1,a.fields[0]):new $o(0,(f=a.fields[0],d=Ns(e.ProcessInstance.Status),[new Gg(r.ProfileId,r.ProcessInstanceId,new zg(1,f),r.CurrentView,e.CssOverrides,n),($=o,h=er((e=>ot(e.Status,new Ag(2))),$),null==h?f.IsPaySetupComplete?d?new Ug(3):new Ug(6,"Something went wrong"):new Ug(5):(m=h,p=[ch.clientWidth,Un(o)],1===p[1]?(document.title=Mg(m),new Ug(4,m)):null!=Vg(p[0])?new Ug(2):new Ug(4,m)))]))}}return e=1===i.tag?[r,new Ug(6,i.fields[0])]:i.fields[0],[e[0],yf(e[1])]}}{const t=r.WorkflowDetail;let n,i;switch(1===t.tag&&Ns(t.fields[0].Status)?(n=0,i=t.fields[0]):n=1,n){case 0:return Ha(i.ProcessInstanceId,i.InstanceName,i.ProcessConfigId,r.ProfileId),[r,pf()];case 1:return[r,bf((e=>{Cf(e)}),(e=>function(e,t){return qg(new gg(2),e,t)}(r.ProcessInstanceId,e)),e,(e=>new Ug(16,e)))]}}}var $,g}const Qg=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))]})()]))),ew=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))]})()]))),tw=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))]})()]))),nw=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))]})()]))),rw=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 iw(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 ow(e){switch(e.Status.tag){case 0:return function(e){return iw("text-gray-900",e)}(Mg(e));case 1:case 3:case 4:return function(e){return iw("text-gray-500",e)}(Mg(e));default:return function(e){return iw("text-primary-base",e)}(Mg(e))}}function sw(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 aw=sw("bg-gray-300"),cw=sw("bg-primary-base");function lw(e){const t=[ot(e.Id,new kg(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 cw;case 2:return aw}}function uw(e,t){let n,r,i;const o=!!ot(t.Status,new Ag(0))||ot(t.Status,new Ag(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 Ug(4,t))}],(n=[d("div",ft(Zn([["className","w-8 h-8 relative"],(r=vr(pr((()=>{const e=t.Status;return 0===e.tag?wr(Qg):1===e.tag?wr(nw):3===e.tag?ot(t.Id,new kg(6))?wr(tw):wr(nw):4===e.tag?wr(rw):wr(ew)}))),["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=[ow(t)],["children",bi.Children.toArray(Array.from(i))])])))],["children",bi.Children.toArray(Array.from(n))])])))}function fw(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 Ag(0))||ot(e.Status,new Ag(4));break;default:(ot(e.Status,new Ag(0))||ot(e.Status,new Ag(4)))&&(i=i+1|0)}}}finally{ze(o)}n=i+(r?1:0);const s=0|Un(Zg(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 mh(0))?wr(null):null!=t&&null!=t.CompanyName?(r=t.CompanyName,wr(a(zo(r)))):wr(a(Hg(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 dw(e,t){return((t,n)=>{for(;;){const r=t,i=n;if(Wn(r))return i;if(Wn(Fn(r)))return Kn(i,jn(uw(e,zn(r))));t=Rn(zn(Fn(r)),Fn(Fn(r))),n=Kn(i,Zn([uw(e,zn(r)),lw(zn(Fn(r)))]))}})(Zg(t.Steps),Ln())}function hw(e){let t,n,r;const i=e.dispatch,o=e.detail,s=Fi(void 0),a=Vi(!1);return ji((()=>{const e=window.ResizeObserver?new window.ResizeObserver((()=>{null!=Vg(document.body.offsetWidth)||!1===a[0]&&(a[1](!0),i(new Ug(7)))})):new Ea((()=>{null!=Vg(document.body.offsetWidth)||!1===a[0]&&(a[1](!0),i(new Ug(7)))}));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=[fw(o),d("div",ft(Zn([["className","p-6 bg-white flex-col justify-start items-start inline-flex"],(r=dw(i,o),["children",bi.Children.toArray(Array.from(r))])])))],["children",bi.Children.toArray(Array.from(n))])])))],["children",bi.Children.toArray(Array.from(t))])])))}class mw extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["backend-url","access-token"]}}class pw extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["app-base-url"]}}class $w extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["workflows-instance-id"]}}function gw(e){const t=e.children,n=e.effect,r=e.props,i=e.step;return Ui(n),d(1===i.tag?Xo.ComponentTagName:2===i.tag?Ko.ComponentTagName:3===i.tag?Qo.ComponentTagName:4===i.tag?es.ComponentTagName:5===i.tag?ts.ComponentTagName:6===i.tag?rs.ComponentTagName:7===i.tag?is.ComponentTagName:8===i.tag?os.ComponentTagName:Zo.ComponentTagName,Tr(r,1),...t)}class ww extends wt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Mobile","MobileLandscape","Tablet","Desktop","WideScreen"]}}const yw=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 vw(e){const t=Ri((()=>window.matchMedia(e).matches));return Wi((()=>{const n=window.matchMedia(e),r=()=>{t[1](n.matches)};return r(),n.addListener(r),Li((()=>{n.removeListener(r)}))}),[e]),t[0]}const bw=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 Cw(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 Ag(2))||ot(e.Status,new Ag(0))),t)/Un(t)*100;l=hn(un("%.0f%%"))(u);const f=ot(n.Id,new kg(1))?Ng(new kg(0)):Mg(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 Ug(2))},children:bi.Children.toArray([bw])}),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 xw=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))]})()]))),_w=d("div",{className:"relative h-0.5 w-2 bg-gray-300"}),kw=d("div",{className:"relative h-0.5 w-2 bg-primary-base"}),Sw=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 Iw(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 xw;case 1:case 2:return kw;case 3:return Sw;case 4:return _w}}const Aw=d("div",{className:"relative h-0.5 w-full"}),Ew=d("div",{className:"relative h-0.5 w-full bg-gray-300"}),Ow=d("div",{className:"relative h-0.5 w-full bg-primary-base"});function Nw(e){let t;switch(t=null==e?1:0===e.tag||4===e.tag||2===e.tag?0:2,t){case 0:return Ow;case 1:return Aw;case 2:return Ew}}function Tw(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 Pw=Tw("bg-gray-300"),Dw=Tw("bg-primary-base");function Mw(e){switch(e.tag){case 0:case 4:case 2:return Dw;default:return Pw}}function Bw(e,t,n,r){let i,o;const s=!e&&(!!ot(n.Status,new Ag(0))||ot(n.Status,new Ag(2))),a=e?"text-primary-base":ot(n.Status,new Ag(2))||ot(n.Status,new Ag(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(Tg(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,Tg(e.Id))}));var e})))))),["children",bi.Children.toArray(Array.from(o))])])))],["children",bi.Children.toArray(Array.from(i))])])))}function Lw(e,t,n){const r=ot(n.Id,new kg(1))?new kg(0):n.Id,i=(t,n)=>{e(new Ug(4,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=Nw(s),t=ot(zn(o).Id,r);return Kn(a,jn(Bw(t,i,zn(o),Zn([Aw,Iw(t,ot(zn(o).Id,new kg(6)),zn(o).Status),e]))))}{const c=Nw(s),l=ot(zn(o).Id,r),u=Iw(l,ot(zn(o).Id,new kg(6)),zn(o).Status);e=Fn(o),t=zn(o).Status,n=Kn(a,Zn([Bw(l,i,zn(o),Zn([Nw(zn(o).Status),u,c])),Mw(zn(o).Status)]));continue e}}})(Yn(Zg(t)),void 0,Ln()))}function Rw(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,yw)),n=[vw(t[0]),vw(t[1]),vw(t[2]),vw(t[3])];return new ww(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(Cw(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:Hg(t.JourneyType)}),s=Ot(zo,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 mh(0))?wr(c):wr(a),pr((()=>{let r;return Cr(wr(d("div",ft(Zn([["className","bg-white justify-center items-start flex"],(r=Lw(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 jw,Ww;function Uw(){return Uw=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},Uw.apply(this,arguments)}const zw=function(e){return d("svg",Uw({width:32,height:32,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),jw||(jw=d("path",{d:"M16 16v14M11 21l5-5 5 5",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Ww||(Ww=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 Fw;function Gw(){return Gw=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},Gw.apply(this,arguments)}const Hw=function(e){return d("svg",Gw({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Fw||(Fw=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 Vw(e){const t=Tr(e,1);return d(zw,t)}function Yw(e){const t=Tr(e,1);return d(Hw,t)}function qw(e,t){let n;return d("button",ft(Zn([["type","button"],["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 Jw(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 Zw(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 Ug(12,{InjectedBenefits:r}))}],(a=[Yw([])],["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=[Vw([["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=[qw(r?"Submit and continue":"Submit",(e=>{i(new Ug(13,{InjectedBenefits:r}))})),Jw("Keep editing",(e=>{i(new Ug(12,{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 Xw(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]?Zw("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 ${zo(n)} and continue to access your workplace benefits`)),"Once you submit, you’ll be unable to view or edit your details",!0,o):Zw("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 ${zo(i)}`)),"Once you submit, you’ll be unable to view or edit your details.",!1,o):a[1]?Zw("Before you continue","Submit to finalise your pay information to your employer and continue to access your workplace benefits","",!0,o):Zw("Submit your details","Submit to finalise your pay information to your employer","",!1,o)}function Kw(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 Qw=Kw("h-9","max-w-96"),ey=Kw("h-6","max-w-96"),ty=Kw("h-80","max-w-96"),ny=Kw("h-10","max-w-48"),ry=(()=>{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=[Qw,d("div",{className:"self-stretch h-14 flex-col justify-start items-center gap-2 flex",children:bi.Children.toArray([ey,ey])})],["children",bi.Children.toArray(Array.from(t))])]))),ty,ny],["children",bi.Children.toArray(Array.from(e))])])))];return d(m,{},...n)})();function iy(e){let t;const n=e.accessToken,r=e.appMode,i=function(e,t,n){return Mf((()=>Ef((()=>e),t,((e,t)=>{}))),[])}(function(e){const t=function(e,t){if("string"!=typeof e)throw new J$("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(q$(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 q$(t)}}(e.split(".")[n]))}catch(e){throw new J$("Invalid token specified: "+e.message)}}(e);return[new Gg(Io(t.sub),Ps(t.workflow.instanceId),new zg(0),new Wg(0),Ln(),new Sg(0)),yf(new Ug(1))]}(n),((e,t)=>Kg(n,r,e,t))),o=i[0],s=i[1];zi((()=>{(window.ResizeObserver?new window.ResizeObserver((()=>{Fa()})):new Ea((()=>{Fa()}))).observe(document.body)}),[]),zi((()=>{const e=[o.WorkflowDetail,o.CurrentView];let t;switch(t=1===e[0].tag?2===e[1].tag?ot(e[1].fields[0].Id,new kg(4))?0:ot(e[1].fields[0].Id,new kg(5))?1:2:2:3,t){case 0:case 1:case 3:break;case 2:rh(jn(ph(r)),2,2)}}),[o.CurrentView,o.WorkflowDetail]),Ui((()=>{window.addEventListener("step-completion",(e=>{s(new Ug(8,e))}))}));const a=(e,t)=>{switch(e.tag){case 1:return t(e.fields[0]);case 2:return Xi();default:return d("div",{children:["Please wait..."]})}},c=o.CurrentView;switch(c.tag){case 1:return a(o.WorkflowDetail,(e=>(Va(0),d(hw,{detail:e,dispatch:s}))));case 2:return a(o.WorkflowDetail,(t=c.fields[0],e=>{let i;const a=t.Id;return i=4===a.tag?d(gw,{step:new kg(4),props:[new mw(1,n),new mw(0,`${uh}/super-selection/backend/v1.0/`),new pw(0,ph(r))],effect:()=>{s(new Ug(19)),Va(2500)},children:[]}):d(gw,{step:a,props:[new mw(1,n),new mw(0,uh),new $w(0,Ze(Ds(o.ProcessInstanceId)))],effect:()=>{Va(1500)},children:[]}),d(Rw,{dispatch:s,detail:e,currentStep:t,body:i})}));case 3:return a(o.WorkflowDetail,(e=>(Va(0),d(Xw,{wd:e,dispatch:s}))));case 4:return Va(0),d("div",{className:"text-center mt-5",children:"We had an issue. Please try again shortly."});case 5:return a(o.WorkflowDetail,(e=>{let t;const n=Ot(bd,e.Branding);return ot(e.AppMode,new mh(0))?ry:function(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])}),Ki],["children",bi.Children.toArray(Array.from(t))])])))}((t=e.JourneyType,1===t.tag?L$(n,"information request"):2===t.tag?R$():3===t.tag||4===t.tag?Xi():L$(n,"onboarding")))}));default:return d("div",{children:["Please wait..."]})}}class oy extends yt{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class sy extends p{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}function ay(e,t){const n=encodeURIComponent(t.fields[0]),r=encodeURIComponent(hh),i=encodeURIComponent((o=new mh(0),`${window.location.protocol}//${window.location.host}${ph(o)}`));var o;return Pa.Delay((()=>{let e,t,o;const s=um((t=am(new $h(1),sm(`${lh}/connect/token`)),e=cm(rm("application/x-www-form-urlencoded"),t),lm(new wh(1,`grant_type=authorization_code&code=${n}&client_id=${r}&redirect_uri=${i}`),e)));return o=Pa.Bind(s,(e=>Pa.Return(new $o(0,e)))),Pa.Bind(o,(e=>{const t=e;if(1===t.tag)return Pa.Return(new $o(1,t.fields[0]));{const e=t.fields[0];if(200===e.statusCode){const t=Qp(ht(2,w$(_$(),void 0,void 0)),e.responseText);return Pa.Return(t)}return Pa.Return(new $o(1,"Unexpected result from backend"))}}))}))}function cy(e){return Ra(e)}function ly(e,t){return Pa.Delay((()=>{let e;return Pa.Bind((r=[(e=ay(0,t),Pa.Bind(e,(e=>Pa.Return(e)))),Pa.Delay((()=>Pa.Bind(cy(2e3),(()=>Pa.Return()))))],n=()=>function(e){return La((t=>e.then(t[0]).catch((e=>(e instanceof Oa?t[2]:t[1])(e)))))}(Promise.all(Array.from(r,(e=>{return t=e,new Promise(((e,r)=>Wa(t,e,r,r,n||Ma)));var t,n})))),Ta((e=>n()(e)))),(e=>Pa.Return(e[0])));var n,r}))}function uy(){const e=St(window.sessionStorage.getItem("credentials"));if(null!=e){const t=e,n=Qp(ht(2,w$(_$(),void 0,void 0)),t);return 1===n.tag?void 0:n.fields[0]}}function fy(e,t){return $f((e=>new H$(3,e)),yf(new k$(0,new Gd(0),e,t)))}function dy(e){return fy(e,!1)}const hy=d("div",ft(Zn([["className","flex flex-col justify-center items-center pt-10"],(()=>{const e=[Xi()];return["children",bi.Children.toArray(Array.from(e))]})()])));var my;!function(e){Nf(void 0,e)}(("workflows-app",my=Ef((function(){const e=F$(ih(window.location.pathname+window.location.search,2)),t=e[0],n=e[1],r=new G$(t,new Fd(0),n);switch(t.tag){case 4:case 1:case 2:case 5:case 6:return[r,pf()];case 0:{const e=[n,uy()];let t;switch(t=0===e[0].tag||2===e[0].tag||null==e[1]?1:0,t){case 0:return[new G$(r.CurrentPage,new Fd(2,new $o(0,e[1])),r.AppMode),pf()];case 1:return[r,yf(new H$(5))]}}default:return[r,dy(t.fields[0])]}}),(function(e,t){switch(e.tag){case 1:{const n=e.fields[0];return[new G$(new U$(3,n),t.Credentials,t.AppMode),dy(n)]}case 2:return[new G$(new U$(4),t.Credentials,t.AppMode),$f((e=>new H$(3,e)),yf(new k$(1)))];case 3:{const n=function(e,t,n){let r;return 1===e.tag?1===t.tag?[t,bf((e=>{Cf(e)}),cy,1e3,(()=>new k$(1)))]:2===t.tag?1===t.fields[0].tag?[t,pf()]:[t,bf((e=>{Cf(e)}),cy,2e3,(()=>new k$(2)))]:[new Fd(2,new $o(1,"No current authenticated user")),pf()]:2===e.tag?[t,(r=window.location.pathname,wf((e=>{rh(jn(r),1,2)})))]:1===e.fields[0].tag?1===e.fields[0].fields[0].tag?[new Fd(2,new $o(1,`SignIn failed: ${e.fields[0].fields[0].fields[0]}`)),pf()]:(window.gtag&&window.gtag("event","oidc_sign_in",{}),[new Fd(2,new $o(0,e.fields[0].fields[0].fields[0])),e.fields[2]?pf():yf(new k$(2))]):[new Fd(1),vf((e=>{Cf(e)}),(e=>ly(e[0],e[1])),[n,e.fields[1]],(t=>{const n=[new Gd(1,t),e.fields[1],e.fields[2]];return new k$(0,n[0],n[1],n[2])}),(t=>{const n=[new Gd(1,new $o(1,t.message)),e.fields[1],e.fields[2]];return new k$(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 x$(e.id_token,e.access_token,e.expires_in,void 0,e.scope,e.token_type),mp(0,gp(_$(),void 0,void 0,void 0)(t)))];window.sessionStorage.setItem(n[0],n[1])}(s),[new G$(t.CurrentPage,r,t.AppMode),$f((e=>new H$(3,e)),n[1])]}case 4:return[t,(n=e.fields[0],fy(n,!0))];case 5:return[new G$(new U$(6),t.Credentials,t.AppMode),pf()];default:{const n=F$(e.fields[0])[0],r=new G$(n,t.Credentials,t.AppMode);return 3===n.tag?[r,dy(n.fields[0])]:[r,pf()]}}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(hy);case 1:return wr(d(Qi,null))}}case 1:return wr(d(uf,null));case 2:return wr(d(W$,{inviteCode:n.fields[0],navigateAuthCodeExchangePage:e=>{t(null==e?new H$(2):new H$(1,e))},startAuthCodeExchangeBackground:e=>{t(new H$(4,e))}}));case 5:return wr(d("h1",{children:["Not found"]}));case 6:return wr(d(V$,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(iy,{appMode:e.AppMode,accessToken:r.access_token}));case 1:return wr(hy)}}}})))))),["children",bi.Children.toArray(Array.from(n))])])));return oh({hashMode:2,onUrlChanged:e=>{t(new H$(0,e))},application:d(m,{},r)})})),function(e,t,n){return Of(((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 oy(n,(()=>t(n,r)),e);return d(sy,i)}(ht(2,e),ht(2,t),n,r)),"workflows-app",my)))})()})();
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,null),_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 pb-2 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)))})()})();