@flarehr/workflows-app 2.41.1 → 2.43.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/workflows-app.css +2 -1
- package/dist/workflows-app.js +2 -10
- package/dist/workflows-app.js.LICENSE.txt +5 -0
- package/package.json +24 -19
package/dist/workflows-app.js
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
/*!
|
|
3
|
-
* Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
|
|
4
|
-
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
5
|
-
*/
|
|
6
|
-
function o(e){return(o="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})(e)}function i(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 s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){s(e,t,n[t])}))}return e}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.d(t,"a",(function(){return Se})),n.d(t,"b",(function(){return Ce}));var u=function(){},l={},f={},d={mark:u,measure:u};try{"undefined"!=typeof window&&(l=window),"undefined"!=typeof document&&(f=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(d=performance)}catch(e){}var $=(l.navigator||{}).userAgent,h=void 0===$?"":$,p=l,m=f,g=d,w=(p.document,!!m.documentElement&&!!m.head&&"function"==typeof m.addEventListener&&"function"==typeof m.createElement),y=(~h.indexOf("MSIE")||h.indexOf("Trident/"),function(){try{}catch(e){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),v=y.concat([11,12,13,14,15,16,17,18,19,20]),_={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},b=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",_.GROUP,_.SWAP_OPACITY,_.PRIMARY,_.SECONDARY].concat(y.map((function(e){return"".concat(e,"x")}))).concat(v.map((function(e){return"w-".concat(e)}))),p.FontAwesomeConfig||{});if(m&&"function"==typeof m.querySelector){[["data-family-prefix","familyPrefix"],["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=c(e,2),n=t[0],r=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=m.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=o&&(b[r]=o)}))}var C=a({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},b);C.autoReplaceSvg||(C.observeMutations=!1);var S=a({},C);p.FontAwesomeConfig=S;var x=p||{};x.___FONT_AWESOME___||(x.___FONT_AWESOME___={}),x.___FONT_AWESOME___.styles||(x.___FONT_AWESOME___.styles={}),x.___FONT_AWESOME___.hooks||(x.___FONT_AWESOME___.hooks={}),x.___FONT_AWESOME___.shims||(x.___FONT_AWESOME___.shims=[]);var I=x.___FONT_AWESOME___,E=[];w&&((m.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(m.readyState)||m.addEventListener("DOMContentLoaded",(function e(){m.removeEventListener("DOMContentLoaded",e),1,E.map((function(e){return e()}))})));var k,T=function(){},O=void 0!==e&&void 0!==e.process&&"function"==typeof e.process.emit,A=void 0===r?setTimeout:r,M=[];function P(){for(var e=0;e<M.length;e++)M[e][0](M[e][1]);M=[],k=!1}function N(e,t){M.push([e,t]),k||(k=!0,A(P,0))}function D(e){var t=e.owner,n=t._state,r=t._data,o=e[n],i=e.then;if("function"==typeof o){n="fulfilled";try{r=o(r)}catch(e){L(i,e)}}R(i,r)||("fulfilled"===n&&B(i,r),"rejected"===n&&L(i,r))}function R(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===o(t))){var r=t.then;if("function"==typeof r)return r.call(t,(function(r){n||(n=!0,t===r?z(e,r):B(e,r))}),(function(t){n||(n=!0,L(e,t))})),!0}}catch(t){return n||L(e,t),!0}return!1}function B(e,t){e!==t&&R(e,t)||z(e,t)}function z(e,t){"pending"===e._state&&(e._state="settled",e._data=t,N(U,e))}function L(e,t){"pending"===e._state&&(e._state="settled",e._data=t,N(F,e))}function j(e){e._then=e._then.forEach(D)}function U(e){e._state="fulfilled",j(e)}function F(t){t._state="rejected",j(t),!t._handled&&O&&e.process.emit("unhandledRejection",t._data,t)}function G(t){e.process.emit("rejectionHandled",t)}function H(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof H==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,t){function n(e){L(t,e)}try{e((function(e){B(t,e)}),n)}catch(e){n(e)}}(e,this)}H.prototype={constructor:H,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(T),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,"rejected"===this._state&&O&&N(G,this)),"fulfilled"===this._state||"rejected"===this._state?N(D,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},H.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new H((function(t,n){var r=[],o=0;function i(e){return o++,function(n){r[e]=n,--o||t(r)}}for(var s,a=0;a<e.length;a++)(s=e[a])&&"function"==typeof s.then?s.then(i(a),n):r[a]=s;o||t(r)}))},H.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new H((function(t,n){for(var r,o=0;o<e.length;o++)(r=e[o])&&"function"==typeof r.then?r.then(t,n):t(r)}))},H.resolve=function(e){return e&&"object"===o(e)&&e.constructor===H?e:new H((function(t){t(e)}))},H.reject=function(e){return new H((function(t,n){n(e)}))};var W={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function V(e){if(e&&w){var t=m.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=m.head.childNodes,r=null,o=n.length-1;o>-1;o--){var i=n[o],s=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(r=i)}return m.head.insertBefore(t,r),e}}function q(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function Y(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function X(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function Z(e){return e.size!==W.size||e.x!==W.x||e.y!==W.y||e.rotate!==W.rotate||e.flipX||e.flipY}function J(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),s="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(i," ").concat(s," ").concat(a)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var K={x:0,y:0,width:"100%",height:"100%"};function Q(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function ee(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,i=e.iconName,s=e.transform,c=e.symbol,u=e.title,l=e.maskId,f=e.titleId,d=e.extra,$=e.watchable,h=void 0!==$&&$,p=r.found?r:n,m=p.width,g=p.height,w="fak"===o,y=w?"":"fa-w-".concat(Math.ceil(m/g*16)),v=[S.replacementClass,i?"".concat(S.familyPrefix,"-").concat(i):"",y].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),_={children:[],attributes:a({},d.attributes,{"data-prefix":o,"data-icon":i,class:v,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(g)})},b=w&&!~d.classes.indexOf("fa-fw")?{width:"".concat(m/g*16*.0625,"em")}:{};h&&(_.attributes["data-fa-i2svg"]=""),u&&_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(f||q())},children:[u]});var C=a({},_,{prefix:o,iconName:i,main:n,mask:r,maskId:l,transform:s,symbol:c,styles:a({},b,d.styles)}),x=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,o=e.main,i=e.mask,s=e.maskId,c=e.transform,u=o.width,l=o.icon,f=i.width,d=i.icon,$=J({transform:c,containerWidth:f,iconWidth:u}),h={tag:"rect",attributes:a({},K,{fill:"white"})},p=l.children?{children:l.children.map(Q)}:{},m={tag:"g",attributes:a({},$.inner),children:[Q(a({tag:l.tag,attributes:a({},l.attributes,$.path)},p))]},g={tag:"g",attributes:a({},$.outer),children:[m]},w="mask-".concat(s||q()),y="clip-".concat(s||q()),v={tag:"mask",attributes:a({},K,{id:w,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,g]},_={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(t=d,"g"===t.tag?t.children:[t])},v]};return n.push(_,{tag:"rect",attributes:a({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(w,")")},K)}),{children:n,attributes:r}}(C):function(e){var t=e.children,n=e.attributes,r=e.main,o=e.transform,i=X(e.styles);if(i.length>0&&(n.style=i),Z(o)){var s=J({transform:o,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:a({},s.outer),children:[{tag:"g",attributes:a({},s.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:a({},r.icon.attributes,s.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(C),I=x.children,E=x.attributes;return C.children=I,C.attributes=E,c?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,i=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:a({},o,{id:!0===i?"".concat(t,"-").concat(S.familyPrefix,"-").concat(n):i}),children:r}]}]}(C):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,i=e.styles,s=e.transform;if(Z(s)&&n.found&&!r.found){var c={x:n.width/n.height/2,y:.5};o.style=X(a({},i,{"transform-origin":"".concat(c.x+s.x/16,"em ").concat(c.y+s.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(C)}var te=function(){},ne=(S.measurePerformance&&g&&g.mark&&g.measure,function(e,t,n,r){var o,i,s,a=Object.keys(e),c=a.length,u=void 0!==r?function(e,t){return function(n,r,o,i){return e.call(t,n,r,o,i)}}(t,r):t;for(void 0===n?(o=1,s=e[a[0]]):(o=0,s=n);o<c;o++)s=u(s,e[i=a[o]],i,e);return s});function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,o=void 0!==r&&r,i=Object.keys(t).reduce((function(e,n){var r=t[n];return!!r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!=typeof I.hooks.addPack||o?I.styles[e]=a({},I.styles[e]||{},i):I.hooks.addPack(e,i),"fas"===e&&re("fa",t)}var oe=I.styles,ie=I.shims,se=function(){var e=function(e){return ne(oe,(function(t,n,r){return t[r]=ne(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),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 oe;ne(ie,(function(e,n){var r=n[0],o=n[1],i=n[2];return"far"!==o||t||(o="fas"),e[r]={prefix:o,iconName:i},e}),{})};se();I.styles;function ae(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function ce(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,o=e.children,i=void 0===o?[]:o;return"string"==typeof e?Y(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Y(e[n]),'" ')}),"").trim()}(r),">").concat(i.map(ce).join(""),"</").concat(t,">")}var ue=function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e}),t):t};function le(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}le.prototype=Object.create(Error.prototype),le.prototype.constructor=le;var fe={fill:"currentColor"},de={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},$e={tag:"path",attributes:a({},fe,{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"})},he=a({},de,{attributeName:"opacity"});a({},fe,{cx:"256",cy:"364",r:"28"}),a({},de,{attributeName:"r",values:"28;14;28;28;14;28;"}),a({},he,{values:"1;0;1;1;0;1;"}),a({},fe,{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"}),a({},he,{values:"1;0;0;0;0;1;"}),a({},fe,{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"}),a({},he,{values:"0;0;1;1;0;0;"}),I.styles;function pe(e){var t=e[0],n=e[1],r=c(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(S.familyPrefix,"-").concat(_.GROUP)},children:[{tag:"path",attributes:{class:"".concat(S.familyPrefix,"-").concat(_.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(S.familyPrefix,"-").concat(_.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}I.styles;function me(){var e="svg-inline--fa",t=S.familyPrefix,n=S.replacementClass,r='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n 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 {\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-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: 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: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\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-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\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\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 -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\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}\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: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\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 color: #fff;\n}';if("fa"!==t||n!==e){var o=new RegExp("\\.".concat("fa","\\-"),"g"),i=new RegExp("\\--".concat("fa","\\-"),"g"),s=new RegExp("\\.".concat(e),"g");r=r.replace(o,".".concat(t,"-")).replace(i,"--".concat(t,"-")).replace(s,".".concat(n))}return r}function ge(){S.autoAddCss&&!be&&(V(me()),be=!0)}function we(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return ce(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(w){var t=m.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function ye(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return ae(_e.definitions,n,r)||ae(I.styles,n,r)}var ve,_e=new(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,r;return t=e,(n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach((function(t){e.definitions[t]=a({},e.definitions[t]||{},o[t]),re(t,o[t]),se()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],o=r.prefix,i=r.iconName,s=r.icon;e[o]||(e[o]={}),e[o][i]=s})),e}}])&&i(t.prototype,n),r&&i(t,r),e}()),be=!1,Ce={transform:function(e){return ue(e)}},Se=(ve=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?W:n,o=t.symbol,i=void 0!==o&&o,s=t.mask,c=void 0===s?null:s,u=t.maskId,l=void 0===u?null:u,f=t.title,d=void 0===f?null:f,$=t.titleId,h=void 0===$?null:$,p=t.classes,m=void 0===p?[]:p,g=t.attributes,w=void 0===g?{}:g,y=t.styles,v=void 0===y?{}:y;if(e){var _=e.prefix,b=e.iconName,C=e.icon;return we(a({type:"icon"},e),(function(){return ge(),S.autoA11y&&(d?w["aria-labelledby"]="".concat(S.replacementClass,"-title-").concat(h||q()):(w["aria-hidden"]="true",w.focusable="false")),ee({icons:{main:pe(C),mask:c?pe(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:_,iconName:b,transform:a({},W,r),symbol:i,title:d,maskId:l,titleId:h,extra:{attributes:w,styles:v,classes:m}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:ye(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:ye(r||{})),ve(n,a({},t,{mask:r}))})}).call(this,n(2),n(3).setImmediate)},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(4),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(2))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,o,i,s,a,c=1,u={},l=!1,f=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){h(e.data)},r=function(e){i.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,r=function(e){var t=f.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):r=function(e){setTimeout(h,0,e)}:(s="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&h(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),r=function(t){e.postMessage(s+t,"*")}),d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var o={callback:e,args:t};return u[c]=o,r(c),c++},d.clearImmediate=$}function $(e){delete u[e]}function h(e){if(l)setTimeout(h,0,e);else{var t=u[e];if(t){l=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{$(e),l=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(2),n(5))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var c,u=[],l=!1,f=-1;function d(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&$())}function $(){if(!l){var e=a(d);l=!0;for(var t=u.length;t;){for(c=u,u=[];++f<t;)c&&c[f].run();f=-1,t=u.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function p(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||l||a($)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=p,o.addListener=p,o.once=p,o.off=p,o.removeListener=p,o.removeAllListeners=p,o.emit=p,o.prependListener=p,o.prependOnceListener=p,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(7);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,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,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return Tm}));var r,o,i,s,a,c={},u=[],l=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function f(e,t){for(var n in t)e[n]=t[n];return e}function d(e){var t=e.parentNode;t&&t.removeChild(e)}function $(e,t,n){var r,o,i,s=arguments,a={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:a[i]=t[i];if(arguments.length>3)for(n=[n],i=3;i<arguments.length;i++)n.push(s[i]);if(null!=n&&(a.children=n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return h(e,a,r,o,null)}function h(e,t,n,o,i){var s={type:e,props:t,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==i?++r.__v:i};return null!=r.vnode&&r.vnode(s),s}function p(e){return e.children}function m(e,t){this.props=e,this.context=t}function g(e,t){if(null==t)return e.__?g(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?g(e):null}function w(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return w(e)}}function y(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!v.__r++||s!==r.debounceRendering)&&((s=r.debounceRendering)||i)(v)}function v(){for(var e;v.__r=o.length;)e=o.sort((function(e,t){return e.__v.__b-t.__v.__b})),o=[],e.some((function(e){var t,n,r,o,i,s;e.__d&&(i=(o=(t=e).__v).__e,(s=t.__P)&&(n=[],(r=f({},o)).__v=o.__v+1,T(s,o,r,t.__n,void 0!==s.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?g(o):i,o.__h),O(n,o),o.__e!=i&&w(o)))}))}function _(e,t,n,r,o,i,s,a,l,f){var d,$,m,w,y,v,_,C=r&&r.__k||u,x=C.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?h(null,w,null,null,w):Array.isArray(w)?h(p,{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===(m=C[d])||m&&w.key==m.key&&w.type===m.type)C[d]=void 0;else for($=0;$<x;$++){if((m=C[$])&&w.key==m.key&&w.type===m.type){C[$]=void 0;break}m=null}T(e,w,m=m||c,o,i,s,a,l,f),y=w.__e,($=w.ref)&&m.ref!=$&&(_||(_=[]),m.ref&&_.push(m.ref,null,w),_.push($,w.__c||y,w)),null!=y?(null==v&&(v=y),"function"==typeof w.type&&null!=w.__k&&w.__k===m.__k?w.__d=l=b(w,l,e):l=S(e,w,m,C,y,l),f||"option"!==n.type?"function"==typeof n.type&&(n.__d=l):e.value=""):l&&m.__e==l&&l.parentNode!=e&&(l=g(m))}for(n.__e=v,d=x;d--;)null!=C[d]&&("function"==typeof n.type&&null!=C[d].__e&&C[d].__e==n.__d&&(n.__d=g(r,d+1)),P(C[d],C[d]));if(_)for(d=0;d<_.length;d++)M(_[d],_[++d],_[++d])}function b(e,t,n){var r,o;for(r=0;r<e.__k.length;r++)(o=e.__k[r])&&(o.__=e,t="function"==typeof o.type?b(o,t,n):S(n,o,o,e.__k,o.__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 S(e,t,n,r,o,i){var s,a,c;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),s=null;else{for(a=i,c=0;(a=a.nextSibling)&&c<r.length;c+=2)if(a==o)break e;e.insertBefore(o,i),s=i}return void 0!==s?s:o.nextSibling}function x(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||l.test(t)?n:n+"px"}function I(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||x(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||x(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?k:E,i):e.removeEventListener(t,i?k:E,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function E(e){this.l[e.type+!1](r.event?r.event(e):e)}function k(e){this.l[e.type+!0](r.event?r.event(e):e)}function T(e,t,n,o,i,s,a,c,u){var l,d,$,h,g,w,y,v,b,C,S,x=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(u=n.__h,c=t.__e=n.__e,t.__h=null,s=[c]),(l=r.__b)&&l(t);try{e:if("function"==typeof x){if(v=t.props,b=(l=x.contextType)&&o[l.__c],C=l?b?b.props.value:l.__:o,n.__c?y=(d=t.__c=n.__c).__=d.__E:("prototype"in x&&x.prototype.render?t.__c=d=new x(v,C):(t.__c=d=new m(v,C),d.constructor=x,d.render=N),b&&b.sub(d),d.props=v,d.state||(d.state={}),d.context=C,d.__n=o,$=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=x.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=f({},d.__s)),f(d.__s,x.getDerivedStateFromProps(v,d.__s))),h=d.props,g=d.state,$)null==x.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==x.getDerivedStateFromProps&&v!==h&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(v,C),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(v,d.__s,C)||t.__v===n.__v){d.props=v,d.state=d.__s,t.__v!==n.__v&&(d.__d=!1),d.__v=t,t.__e=n.__e,t.__k=n.__k,d.__h.length&&a.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(v,d.__s,C),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(h,g,w)}))}d.context=C,d.props=v,d.state=d.__s,(l=r.__r)&&l(t),d.__d=!1,d.__v=t,d.__P=e,l=d.render(d.props,d.state,d.context),d.state=d.__s,null!=d.getChildContext&&(o=f(f({},o),d.getChildContext())),$||null==d.getSnapshotBeforeUpdate||(w=d.getSnapshotBeforeUpdate(h,g)),S=null!=l&&l.type===p&&null==l.key?l.props.children:l,_(e,Array.isArray(S)?S:[S],t,n,o,i,s,a,c,u),d.base=t.__e,t.__h=null,d.__h.length&&a.push(d),y&&(d.__E=d.__=null),d.__e=!1}else null==s&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=A(n.__e,t,n,o,i,s,a,u);(l=r.diffed)&&l(t)}catch(e){t.__v=null,(u||null!=s)&&(t.__e=c,t.__h=!!u,s[s.indexOf(c)]=null),r.__e(e,t,n)}}function O(e,t){r.__c&&r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){r.__e(e,t.__v)}}))}function A(e,t,n,r,o,i,s,a){var l,f,$,h,p=n.props,m=t.props,g=t.type,w=0;if("svg"===g&&(o=!0),null!=i)for(;w<i.length;w++)if((l=i[w])&&(l===e||(g?l.localName==g:3==l.nodeType))){e=l,i[w]=null;break}if(null==e){if(null===g)return document.createTextNode(m);e=o?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,m.is&&m),i=null,a=!1}if(null===g)p===m||a&&e.data===m||(e.data=m);else{if(i=i&&u.slice.call(e.childNodes),f=(p=n.props||c).dangerouslySetInnerHTML,$=m.dangerouslySetInnerHTML,!a){if(null!=i)for(p={},h=0;h<e.attributes.length;h++)p[e.attributes[h].name]=e.attributes[h].value;($||f)&&($&&(f&&$.__html==f.__html||$.__html===e.innerHTML)||(e.innerHTML=$&&$.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||I(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||I(e,i,t[i],n[i],r)}(e,m,p,o,a),$)t.__k=[];else if(w=t.props.children,_(e,Array.isArray(w)?w:[w],t,n,r,o&&"foreignObject"!==g,i,s,e.firstChild,a),null!=i)for(w=i.length;w--;)null!=i[w]&&d(i[w]);a||("value"in m&&void 0!==(w=m.value)&&(w!==e.value||"progress"===g&&!w)&&I(e,"value",w,p.value,!1),"checked"in m&&void 0!==(w=m.checked)&&w!==e.checked&&I(e,"checked",w,p.checked,!1))}return e}function M(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function P(e,t,n){var o,i,s;if(r.unmount&&r.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||M(o,null,t)),n||"function"==typeof e.type||(n=null!=(i=e.__e)),e.__e=e.__d=void 0,null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){r.__e(e,t)}o.base=o.__P=null}if(o=e.__k)for(s=0;s<o.length;s++)o[s]&&P(o[s],t,n);null!=i&&d(i)}function N(e,t,n){return this.constructor(e,n)}function D(e,t,n){var o,i,s;r.__&&r.__(e,t),i=(o="function"==typeof n)?null:n&&n.__k||t.__k,s=[],T(t,e=(!o&&n||t).__k=$(p,null,[e]),i||c,c,void 0!==t.ownerSVGElement,!o&&n?[n]:i?null:t.firstChild?u.slice.call(t.childNodes):null,s,!o&&n?n:i?i.__e:t.firstChild,o),O(s,e)}function R(e,t){D(e,t,R)}function B(e,t,n){var r,o,i,s=arguments,a=f({},e.props);for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:a[i]=t[i];if(arguments.length>3)for(n=[n],i=3;i<arguments.length;i++)n.push(s[i]);return null!=n&&(a.children=n),h(e.type,a,r||e.key,o||e.ref,null)}r={__e:function(e,t){for(var n,r,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(t){e=t}throw e},__v:0},m.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof e&&(e=e(f({},n),this.props)),e&&f(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),y(this))},m.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),y(this))},m.prototype.render=p,o=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,v.__r=0,a=0;var z,L,j,U=0,F=[],G=r.__b,H=r.__r,W=r.diffed,V=r.__c,q=r.unmount;function Y(e,t){r.__h&&r.__h(L,e,U||t),U=0;var n=L.__H||(L.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function X(e){return U=1,Z(se,e)}function Z(e,t,n){var r=Y(z++,2);return r.t=e,r.__c||(r.__=[n?n(t):se(void 0,t),function(e){var t=r.t(r.__[0],e);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=L),r.__}function J(e,t){var n=Y(z++,3);!r.__s&&ie(n.__H,t)&&(n.__=e,n.__H=t,L.__H.__h.push(n))}function K(e,t){var n=Y(z++,4);!r.__s&&ie(n.__H,t)&&(n.__=e,n.__H=t,L.__h.push(n))}function Q(e,t){var n=Y(z++,7);return ie(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ee(e,t){r.useDebugValue&&r.useDebugValue(t?t(e):e)}function te(){F.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(re),e.__H.__h.forEach(oe),e.__H.__h=[]}catch(t){e.__H.__h=[],r.__e(t,e.__v)}})),F=[]}r.__b=function(e){L=null,G&&G(e)},r.__r=function(e){H&&H(e),z=0;var t=(L=e.__c).__H;t&&(t.__h.forEach(re),t.__h.forEach(oe),t.__h=[])},r.diffed=function(e){W&&W(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==F.push(t)&&j===r.requestAnimationFrame||((j=r.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),ne&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ne&&(t=requestAnimationFrame(n))})(te)),L=void 0},r.__c=function(e,t){t.some((function(e){try{e.__h.forEach(re),e.__h=e.__h.filter((function(e){return!e.__||oe(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],r.__e(n,e.__v)}})),V&&V(e,t)},r.unmount=function(e){q&&q(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(re)}catch(e){r.__e(e,t.__v)}};var ne="function"==typeof requestAnimationFrame;function re(e){var t=L;"function"==typeof e.__c&&e.__c(),L=t}function oe(e){var t=L;e.__c=e.__(),L=t}function ie(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function 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 ue(e){this.props=e}(ue.prototype=new m).isPureReactComponent=!0,ue.prototype.shouldComponentUpdate=function(e,t){return ce(this.props,e)||ce(this.state,t)};var le=r.__b;r.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),le&&le(e)};var fe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;var de=function(e,t){return null==e?null:C(C(e).map(t))},$e={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},he=r.__e;function pe(){this.__u=0,this.t=null,this.__b=null}function me(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function ge(){this.u=null,this.o=null}r.__e=function(e,t,n){if(e.then)for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);he(e,t,n)},(pe.prototype=new m).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=me(r.__v),i=!1,s=function(){i||(i=!0,n.componentWillUnmount=n.__c,o?o(a):a())};n.__c=n.componentWillUnmount,n.componentWillUnmount=function(){s(),n.__c&&n.__c()};var a=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;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({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(s,s)},pe.prototype.componentWillUnmount=function(){this.t=[]},pe.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 o=t.__e&&$(p,null,e.fallback);return o&&(o.__h=null),[$(p,null,t.__e?null:e.children),o]};var we=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function ye(e){return this.getChildContext=function(){return e.context},e.children}function ve(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($(ye,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(ge.prototype=new m).__e=function(e){var t=this,n=me(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),we(t,e,r)):o()};n?n(i):i()}},ge.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},ge.prototype.componentDidUpdate=ge.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){we(e,n,t)}))};var _e="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,be=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ce=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}function xe(e,t,n){return R(e,t),"function"==typeof n&&n(),e?e.__c:null}m.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(m.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=r.event;function Ee(){}function ke(){return this.cancelBubble}function Te(){return this.defaultPrevented}r.event=function(e){return Ie&&(e=Ie(e)),e.persist=Ee,e.isPropagationStopped=ke,e.isDefaultPrevented=Te,e.nativeEvent=e};var Oe,Ae={configurable:!0,get:function(){return this.class}},Me=r.vnode;r.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){for(var o in r={},n){var i=n[o];"value"===o&&"defaultValue"in n&&null==i||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===i?i="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!Ce(n.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():be.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===i&&(i=void 0),r[o]=i)}"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}t&&n.class!=n.className&&(Ae.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Ae)),e.$$typeof=_e,Me&&Me(e)};var Pe=r.__r;r.__r=function(e){Pe&&Pe(e),Oe=e.__c};var Ne={ReactCurrentDispatcher:{current:{readContext:function(e){return Oe.__n[e.__c].props.value}}}};"object"==typeof performance&&"function"==typeof performance.now&&performance.now.bind(performance);function De(e){return!!e&&e.$$typeof===_e}var Re,Be={useState:X,useReducer:Z,useEffect:J,useLayoutEffect:K,useRef:function(e){return U=5,Q((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){U=6,K((function(){"function"==typeof e?e(t()):e&&(e.current=t())}),null==n?n:n.concat(e))},useMemo:Q,useCallback:function(e,t){return U=8,Q((function(){return e}),t)},useContext:function(e){var t=L.context[e.__c],n=Y(z++,9);return n.__c=e,t?(null==n.__&&(n.__=!0,t.sub(L)),t.props.value):e.__},useDebugValue:ee,version:"16.8.0",Children:$e,render:Se,hydrate:xe,unmountComponentAtNode:function(e){return!!e.__k&&(D(null,e),!0)},createPortal:function(e,t){return $(ve,{__v:e,i:t})},createElement:$,createContext:function(e,t){var n={__c:t="__cC"+a++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(y)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return $.bind(null,e)},cloneElement:function(e){return De(e)?B.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:p,isValidElement:De,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:m,PureComponent:ue,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:ce(this.props,e)}function r(t){return this.shouldComponentUpdate=n,$(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(t,n){var r=ae({},t);return delete r.ref,e(r,(n=t.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return t.$$typeof=fe,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:p,Suspense:pe,SuspenseList:ge,lazy:function(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return $(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ne};function ze(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 Le(e,t,n){const r=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(null!=r){const[,,e,o]=r;if(!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=n||function(e,t){if(t&Re.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)).test(o))return function(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}(r,n)}return null}function je(e,t,n,r,o){try{return o.contents=function(e,t,n,r,o){const i=Le(e,t,o);if(null!=i){let e=Number.parseInt(i.sign+i.digits,i.radix);if(!Number.isNaN(e)){const[t,o]=ze(!0,r);!n&&10!==i.radix&&e>=t&&e<=o&&(e=e<<32-r>>32-r);const[s,a]=ze(n,r);if(e>=s&&e<=a)return e}}throw new Error("Input string was not in a correct format.")}(e,t,n,r),!0}catch(e){return!1}}function Ue(e){return-2147483648===e?e:-e}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(Re||(Re={}));const Fe=Symbol("numeric");function Ge(e){return"number"==typeof e||(null==e?void 0:e[Fe])}function He(e,t){return"number"==typeof e?e*t:e[Fe]().multiply(t)}function We(e,t){return"number"==typeof e?e.toFixed(t):e[Fe]().toFixed(t)}function Ve(e,t){return"number"==typeof e?e.toPrecision(t):e[Fe]().toPrecision(t)}function qe(e,t){return"number"==typeof e?e.toExponential(t):e[Fe]().toExponential(t)}function Ye(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[Fe]().toHex()}var Xe=null;try{Xe=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(e){}function Ze(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function Je(e){return!0===(e&&e.__isLong__)}Ze.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},Ze.prototype.Equals=function(e){return St(this,e)},Ze.prototype.CompareTo=function(e){return kt(this,e)},Ze.prototype.toString=function(e){return vt(this,e)},Ze.prototype.toJSON=function(){return vt(this)},Ze.prototype[Fe]=function(){const e=this;return{multiply:t=>Mt(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:()=>vt(e.unsigned?e:Lt(zt(e),!0),16)}},Ze.prototype.__isLong__,Object.defineProperty(Ze.prototype,"__isLong__",{value:!0});var Ke={},Qe={};function et(e,t){var n,r,o;return t?(o=0<=(e>>>=0)&&e<256)&&(r=Qe[e])?r:(n=nt(e,(0|e)<0?-1:0,!0),o&&(Qe[e]=n),n):(o=-128<=(e|=0)&&e<128)&&(r=Ke[e])?r:(n=nt(e,e<0?-1:0,!1),o&&(Ke[e]=n),n)}function tt(e,t){if(isNaN(e))return t?ft:lt;if(t){if(e<0)return ft;if(e>=at)return mt}else{if(e<=-ct)return gt;if(e+1>=ct)return pt}return e<0?Tt(tt(-e,t)):nt(e%st|0,e/st|0,t)}function nt(e,t,n){return new Ze(e,t,n)}var rt=Math.pow;function ot(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return lt;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 Tt(ot(e.substring(1),t,n));for(var o=tt(rt(n,8)),i=lt,s=0;s<e.length;s+=8){var a=Math.min(8,e.length-s),c=parseInt(e.substring(s,s+a),n);if(a<8)i=Ot(Mt(i,tt(rt(n,a))),tt(c));else i=Ot(i=Mt(i,o),tt(c))}return i.unsigned=t,i}function it(e,t){return"number"==typeof e?tt(e,t):"string"==typeof e?ot(e,t):nt(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}var st=4294967296,at=st*st,ct=at/2,ut=et(1<<24),lt=et(0),ft=et(0,!0),dt=et(1),$t=et(1,!0),ht=et(-1),pt=nt(-1,2147483647,!1),mt=nt(-1,-1,!0),gt=nt(0,-2147483648,!1);function wt(e){return e.unsigned?e.low>>>0:e.low}function yt(e){return e.unsigned?(e.high>>>0)*st+(e.low>>>0):e.high*st+(e.low>>>0)}function vt(e,t){if((t=t||10)<2||36<t)throw RangeError("radix");if(_t(e))return"0";if(bt(e)){if(St(e,gt)){var n=tt(t),r=Pt(e,n),o=At(Mt(r,n),e);return vt(r,t)+wt(o).toString(t)}return"-"+vt(Tt(e),t)}for(var i=tt(rt(t,6),e.unsigned),s=e,a="";;){var c=Pt(s,i),u=(wt(At(s,Mt(c,i)))>>>0).toString(t);if(_t(s=c))return u+a;for(;u.length<6;)u="0"+u;a=""+u+a}}function _t(e){return 0===e.high&&0===e.low}function bt(e){return!e.unsigned&&e.high<0}function Ct(e){return 1==(1&e.low)}function St(e,t){return Je(t)||(t=it(t)),(e.unsigned===t.unsigned||e.high>>>31!=1||t.high>>>31!=1)&&(e.high===t.high&&e.low===t.low)}function xt(e,t){return kt(e,t)<0}function It(e,t){return kt(e,t)>0}function Et(e,t){return kt(e,t)>=0}function kt(e,t){if(Je(t)||(t=it(t)),St(e,t))return 0;var n=bt(e),r=bt(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:bt(At(e,t))?-1:1}function Tt(e){return!e.unsigned&&St(e,gt)?gt:Ot(Nt(e),dt)}function Ot(e,t){Je(t)||(t=it(t));var n=e.high>>>16,r=65535&e.high,o=e.low>>>16,i=65535&e.low,s=t.high>>>16,a=65535&t.high,c=t.low>>>16,u=0,l=0,f=0,d=0;return f+=(d+=i+(65535&t.low))>>>16,l+=(f+=o+c)>>>16,u+=(l+=r+a)>>>16,u+=n+s,nt((f&=65535)<<16|(d&=65535),(u&=65535)<<16|(l&=65535),e.unsigned)}function At(e,t){return Je(t)||(t=it(t)),Ot(e,Tt(t))}function Mt(e,t){if(_t(e))return e.unsigned?ft:lt;if(Je(t)||(t=it(t)),Xe)return nt(Xe.mul(e.low,e.high,t.low,t.high),Xe.get_high(),e.unsigned);if(_t(t))return e.unsigned?ft:lt;if(St(e,gt))return Ct(t)?gt:lt;if(St(t,gt))return Ct(e)?gt:lt;if(bt(e))return bt(t)?Mt(Tt(e),Tt(t)):Tt(Mt(Tt(e),t));if(bt(t))return Tt(Mt(e,Tt(t)));if(xt(e,ut)&&xt(t,ut))return tt(yt(e)*yt(t),e.unsigned);var n=e.high>>>16,r=65535&e.high,o=e.low>>>16,i=65535&e.low,s=t.high>>>16,a=65535&t.high,c=t.low>>>16,u=65535&t.low,l=0,f=0,d=0,$=0;return d+=($+=i*u)>>>16,f+=(d+=o*u)>>>16,d&=65535,f+=(d+=i*c)>>>16,l+=(f+=r*u)>>>16,f&=65535,l+=(f+=o*c)>>>16,f&=65535,l+=(f+=i*a)>>>16,l+=n*u+r*c+o*a+i*s,nt((d&=65535)<<16|($&=65535),(l&=65535)<<16|(f&=65535),e.unsigned)}function Pt(e,t){if(Je(t)||(t=it(t)),_t(t))throw Error("division by zero");var n,r,o;if(Xe)return e.unsigned||-2147483648!==e.high||-1!==t.low||-1!==t.high?nt((e.unsigned?Xe.div_u:Xe.div_s)(e.low,e.high,t.low,t.high),Xe.get_high(),e.unsigned):e;if(_t(e))return e.unsigned?ft:lt;if(e.unsigned){if(t.unsigned||(t=function(e){return e.unsigned?e:nt(e.low,e.high,!0)}(t)),It(t,e))return ft;if(It(t,Bt(e,1)))return $t;o=ft}else{if(St(e,gt))return St(t,dt)||St(t,ht)?gt:St(t,gt)?dt:St(n=Dt(Pt(Rt(e,1),t),1),lt)?bt(t)?dt:ht:o=Ot(n,Pt(r=At(e,Mt(t,n)),t));if(St(t,gt))return e.unsigned?ft:lt;if(bt(e))return bt(t)?Pt(Tt(e),Tt(t)):Tt(Pt(Tt(e),t));if(bt(t))return Tt(Pt(e,Tt(t)));o=lt}for(r=e;Et(r,t);){n=Math.max(1,Math.floor(yt(r)/yt(t)));for(var i=Math.ceil(Math.log(n)/Math.LN2),s=i<=48?1:rt(2,i-48),a=tt(n),c=Mt(a,t);bt(c)||It(c,r);)c=Mt(a=tt(n-=s,e.unsigned),t);_t(a)&&(a=dt),o=Ot(o,a),r=At(r,c)}return o}function Nt(e){return nt(~e.low,~e.high,e.unsigned)}function Dt(e,t){return Je(t)&&(t=wt(t)),0==(t&=63)?e:t<32?nt(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):nt(0,e.low<<t-32,e.unsigned)}function Rt(e,t){return Je(t)&&(t=wt(t)),0==(t&=63)?e:t<32?nt(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):nt(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}function Bt(e,t){if(Je(t)&&(t=wt(t)),0===(t&=63))return e;var n=e.high;return t<32?nt(e.low>>>t|n<<32-t,n>>>t,e.unsigned):nt(32===t?n:n>>>t-32,0,e.unsigned)}function zt(e,t){return t?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]}(e):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]}(e)}function Lt(e,t,n){return n?function(e,t){return new Ze(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 Ze(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)}const jt=Ot,Ut=Mt,Ft=Pt,Gt=function(e,t){return Je(t)||(t=it(t)),Xe?nt((e.unsigned?Xe.rem_u:Xe.rem_s)(e.low,e.high,t.low,t.high),Xe.get_high(),e.unsigned):At(e,Mt(Pt(e,t),t))},Ht=Tt,Wt=function(e,t){return Je(t)||(t=it(t)),nt(e.low&t.low,e.high&t.high,e.unsigned)},Vt=kt,qt=nt,Yt=wt,Xt=yt;function Zt(e,t,n){let r=e,o=0;switch(n){case 0:r=e<<24>>24,o=r;break;case 4:r=e<<24>>>24;break;case 1:r=e<<16>>16,o=r;break;case 5:r=e<<16>>>16;break;case 2:r=e>>0,o=r;break;case 6:r=e>>>0}return nt(r,o>>31,t)}function Jt(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Kt(e){return"function"==typeof e.GetHashCode}function Qt(e){return null!=e&&"function"==typeof e.Dispose}function en(e,t){return Object.getPrototypeOf(e).constructor===Object.getPrototypeOf(t).constructor}class tn{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 nn(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new tn(e[Symbol.iterator]())}function rn(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 on{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 sn(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function an(e){const t=e;return"number"==typeof t.offset?t.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}function cn(e,t){return(e=e<0&&null!=t&&10!==t?4294967295+e+1:e).toString(t)}class un{static id(e){return un.idMap.has(e)||un.idMap.set(e,++un.count),un.idMap.get(e)}}function ln(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=33*n^e.charCodeAt(t++);return n}function fn(e){return 2654435761*e|0}function dn(e){return 0===e.length?0:e.reduce((e,t)=>(e<<5)+e^t)}function $n(e){if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return fn(e);case"string":return ln(e);default:if(Kt(e))return e.GetHashCode();if(Jt(e))return function(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=$n(e[r]);return dn(n)}(e);if(e instanceof Date)return function(e){return e.getTime()}(e);if(Object.getPrototypeOf(e).constructor===Object){return dn(Object.values(e).map(e=>$n(e)))}return fn(un.id(e))}}function hn(e){return null==e?0:Kt(e)?e.GetHashCode():fn(un.id(e))}function pn(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 mn(e,t){return pn(e,t,gn)}function gn(e,t){return e===t||(null==e?null==t:null!=t&&("object"==typeof e&&(function(e){return"function"==typeof e.Equals}(e)?e.Equals(t):Jt(e)?Jt(t)&&mn(e,t):e instanceof Date?t instanceof Date&&0===wn(e,t):Object.getPrototypeOf(e).constructor===Object&&function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let o=0;o<n.length;o++)if(n[o]!==r[o]||!gn(e[n[o]],t[r[o]]))return!1;return!0}(e,t))))}function wn(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+an(e),r=t.getTime()+an(t)),n===r?0:n<r?-1:1}function yn(e,t){return e===t?0:e<t?-1:1}function vn(e,t){return function(e,t,n){if(null==e)return null==t?0:1;if(null==t)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,o=0;r<e.length;r++)if(o=n(e[r],t[r]),0!==o)return o;return 0}(e,t,_n)}function _n(e,t){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):Jt(e)?Jt(t)?vn(e,t):-1:e instanceof Date?t instanceof Date?wn(e,t):-1:Object.getPrototypeOf(e).constructor===Object?function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return n.length<r.length?-1:1;n.sort(),r.sort();for(let o=0,i=0;o<n.length;o++){const s=n[o];if(s!==r[o])return s<r[o]?-1:1;if(i=_n(e[s],t[s]),0!==i)return i}return 0}(e,t):-1}function bn(e,t,n){return e(t,n)>0?t:n}function Cn(e){const t={};for(const n of e)t[n[0]]=n[1];return t}un.idMap=new WeakMap,un.count=0;const Sn=Symbol("curried");function xn(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[Sn]=t,n}function In(e,t,n){return r=>1===t?n(...e.concat([r])):In(e.concat([r]),t-1,n)}function En(e,t){return null==t||1===t.length?t:Sn in t?t[Sn]:In([],e,t)}function kn(e,t,n){if(null!=t){if(Sn in t){t=t[Sn];for(let e=0;e<n.length;e++)t=t(n[e]);return t}return In(n,e,t)}}function Tn(e,t){return n=>function e(t,n,r,o){const i=r[o];if(0!==i){const e=i[0],t=i[1];e>1&&(n=En(e,n)),t>1&&(n=xn(t,n))}const s=t(n);return o+1===r.length?s:t=>e(s,t,r,o+1)}(e,n,t,0)}function On(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+sn(~~(e/36e5),2)+":"+sn(n,2)}function An(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 Mn(e,t,n){return t.replace(/(\w)\1*/g,t=>{let r=Number.NaN;switch(t.substring(0,1)){case"y":const o=n?e.getUTCFullYear():e.getFullYear();r=t.length<4?o%100:o;break;case"M":r=(n?e.getUTCMonth():e.getMonth())+1;break;case"d":r=n?e.getUTCDate():e.getDate();break;case"H":r=n?e.getUTCHours():e.getHours();break;case"h":const i=n?e.getUTCHours():e.getHours();r=i>12?i%12:i;break;case"m":r=n?e.getUTCMinutes():e.getMinutes();break;case"s":r=n?e.getUTCSeconds():e.getSeconds();break;case"f":r=n?e.getUTCMilliseconds():e.getMilliseconds()}return Number.isNaN(r)?t:r<10&&t.length>1?"0"+r:""+r})}function Pn(e,t){var n,r,o;const i=new Date(e.getTime()+(null!==(n=e.offset)&&void 0!==n?n:0));if("string"!=typeof t)return i.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+On(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==t.length)return Mn(i,t,!0);switch(t){case"D":case"d":return An(i,"first");case"T":case"t":return An(i,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+On(t)}(i,null!==(o=e.offset)&&void 0!==o?o:0);default:throw new Error("Unrecognized Date print format")}}function Nn(e,t){const n=1===e.kind;if("string"!=typeof t)return n?e.toUTCString():e.toLocaleString();if(1!==t.length)return Mn(e,t,n);switch(t){case"D":case"d":return n?An(e,"first"):e.toLocaleDateString();case"T":case"t":return n?An(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 sn(e.getFullYear(),4)+"-"+sn(e.getMonth()+1,2)+"-"+sn(e.getDate(),2)+"T"+sn(e.getHours(),2)+":"+sn(e.getMinutes(),2)+":"+sn(e.getSeconds(),2)+"."+sn(e.getMilliseconds(),3)+(t?On(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}function Dn(e,t,n){return null!=e.offset?Pn(e,t):Nn(e,t)}function Rn(e,t){const n=new Date(e);return n.kind=0|(null==t?0:t),n}function Bn(e){function t(){throw new Error("The string is not a valid Date: "+e)}null!==e&&""!==e.trim()||t(),10===e.length&&"-"===e[4]&&"-"===e[7]&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.getTime())){const o=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(e);if(null!=o){let e,t=0;if(null!=o[2]){const e=o[2].split(":");t=3600*parseInt(e[0],10)+60*parseInt(e[1]||"0",10)+parseFloat(e[2]||"0"),null!=o[3]&&"PM"===o[3].toUpperCase()&&(t+=720)}if(null!=o[4]){if(null!=o[1])e=new Date(o[1]+" UTC");else{const t=new Date;e=new Date(t.getUTCFullYear()+"/"+(t.getUTCMonth()+1)+"/"+t.getUTCDate())}if("Z"===o[4])r="Z";else{let e=60*parseInt(o[5],10)+parseInt(o[6]||"0",10);"-"===o[4][0]&&(e*=-1),r=e,t-=60*e}}else if(null!=o[1])e=new Date(o[1]);else{const t=new Date;e=new Date(t.getFullYear()+"/"+(t.getMonth()+1)+"/"+t.getDate())}n=new Date(e.getTime()+1e3*t),n=new Date(n.getTime()+6e4*(n.getTimezoneOffset()-e.getTimezoneOffset()))}else t();isNaN(n.getTime())&&t()}return[n,r]}function zn(e,t){try{return t.contents=function(e,t=!1){const[n,r]=Bn(e),o=null!=r?t&&"Z"===r?1:2:0;return Rn(n.getTime(),o)}(e),!0}catch(e){return!1}}function Ln(e,t,n,r=0,o=0,i=0,s=0,a){const c=1===a?Date.UTC(e,t-1,n,r,o,i,s):new Date(e,t-1,n,r,o,i,s).getTime();if(isNaN(c))throw new Error("The parameters describe an unrepresentable Date.");const u=Rn(c,a);return e<=99&&u.setFullYear(e,t-1,n),u}function jn(){return Ln(Gn(e=Rn(Date.now(),2)),Fn(e),Un(e),0,0,0,0,e.kind);var e}function Un(e){return 1===e.kind?e.getUTCDate():e.getDate()}function Fn(e){return(1===e.kind?e.getUTCMonth():e.getMonth())+1}function Gn(e){return 1===e.kind?e.getUTCFullYear():e.getFullYear()}function Hn(e,t=0){if(0!=(-276&t))throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Singleline and ECMAScript");let n="g";return n+=1&t?"i":"",n+=2&t?"m":"",n+=16&t?"s":"",new RegExp(e,n)}function Wn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Vn(e,t,n=0){if(e.lastIndex=n,!e.global)throw new Error("Non-global RegExp");let r=e.exec(t);const o=[];for(;null!==r;)o.push(r),r=e.exec(t);return o}function qn(e,t=0){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+=qn(r);else{if(100===t){n+="; ...";break}n+="; "+qn(r)}t++}return n+"]"}(e);{const n=Object.getPrototypeOf(e).constructor;return n===Object&&t<10?"{ "+Object.entries(e).map(([e,n])=>e+" = "+qn(n,t+1)).join("\n ")+" }":n.name}}return String(e)}class Yn{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=qn(t[0]),r=n.indexOf(" ")>=0):n=t.map(e=>qn(e)).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map(e=>$n(e));return e.splice(0,0,fn(this.tag)),dn(e)}Equals(e){return this===e||!!en(this,e)&&(this.tag===e.tag&&mn(this.fields,e.fields))}CompareTo(e){return this===e?0:en(this,e)?this.tag===e.tag?vn(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}function Xn(e){const t={},n=Object.keys(e);for(let r=0;r<n.length;r++)t[n[r]]=e[n[r]];return t}function Zn(e){return"{ "+Object.entries(e).map(([e,t])=>e+" = "+qn(t)).join("\n ")+" }"}function Jn(e){return dn(Object.values(e).map(e=>$n(e)))}function Kn(e,t){if(e===t)return!0;if(en(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!gn(e[n[r]],t[n[r]]))return!1;return!0}return!1}function Qn(e,t){if(e===t)return 0;if(en(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=_n(e[n[r]],t[n[r]]);if(0!==o)return o}return 0}return-1}class er{toJSON(){return Xn(this)}toString(){return Zn(this)}GetHashCode(){return Jn(this)}Equals(e){return Kn(this,e)}CompareTo(e){return Qn(this,e)}}class tr{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)}}const nr=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,rr=/(?:(^|[^%])%([0+\- ]*)(\d+)?(?:\.(\d+))?(\w))?%P\(\)/g,or=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function ir(e,t){return function(e,t){return"number"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}(e,t)<0}function sr(e,t,n){function r(e){return!0===e||1===e||3===e||5===e}return null==e?null==t?0:-1:null==t?1:4===(o=n)||5===o?(r(n)&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t?0:e<t?-1:1):(r(n)&&(e=e.toLocaleLowerCase(),t=t.toLocaleLowerCase()),e.localeCompare(t));var o}function ar(e){return{input:e,cont:(t=e,e=>{nr.lastIndex=0;const n=[],r=[];let o=0,i=nr.exec(t);for(;i;){const e=i.index+(i[1]||"").length;n.push(t.substring(o,e).replace(/%%/g,"%")),r.push(i),o=nr.lastIndex,nr.lastIndex-=1,i=nr.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(o).replace(/%%/g,"%")),function e(t,n,r,o="",i=-1){return(...s)=>{let a=o;const c=n.slice(),u=r.slice();for(const e of s){const[,,t,n,r,o]=u[0];let s=n;if(i>=0)s=i,i=-1;else if("*"===s){if(e<0)throw new Error("Non-negative number required");i=e;continue}a+=c[0],a+=dr(e,t,s,r,o),c.splice(0,1),u.splice(0,1)}return 0===u.length?(a+=c[0],t(a)):e(t,c,u,a,i)}}(e,n,r))})};var t}function cr(e,t){let n=0,r=0,o="";rr.lastIndex=0;let i=rr.exec(e);for(;i;){const s=i.index+(i[1]||"").length;o+=e.substring(r,s).replace(/%%/g,"%");const[,,a,c,u,l]=i;o+=dr(t[n++],a,c,u,l),r=rr.lastIndex,rr.lastIndex-=1,i=rr.exec(e)}return o+=e.substring(r).replace(/%%/g,"%"),o}function ur(e,t){return"string"==typeof t?e(t):t.cont(e)}function lr(e){return ur(e=>e,e)}function fr(e){return ur(e=>{throw new Error(e)},e)}function dr(e,t,n,r,o){let i="";if(t=t||"",o=o||"",Ge(e))switch("x"!==o.toLowerCase()&&(ir(e,0)?(e=He(e,-1),i="-"):t.indexOf(" ")>=0?i=" ":t.indexOf("+")>=0&&(i="+")),r=null==r?null:parseInt(r,10),o){case"f":case"F":e=We(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?Ve(e,r):Ve(e);break;case"e":case"E":e=null!=r?qe(e,r):qe(e);break;case"x":e=Ye(e);break;case"X":e=Ye(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?Dn(e):qn(e);if(n="number"==typeof n?n:parseInt(n,10),isNaN(n))e=i+e;else{const r=t.indexOf("0")>=0,o=t.indexOf("-")>=0,s=o||!r?" ":"0";e="0"===s?i+(e=wr(e,n-i.length,s,o)):wr(i+e,n,s,o)}return e}function $r(e,...t){return"object"==typeof e&&t.length>0&&(e=t[0],t.shift()),e.replace(or,(e,n,r,o,i,s)=>{let a=t[n];if(Ge(a))switch(i=null==i?null:parseInt(i,10),o){case"f":case"F":a=We(a,i=null!=i?i:2);break;case"g":case"G":a=null!=i?Ve(a,i):Ve(a);break;case"e":case"E":a=null!=i?qe(a,i):qe(a);break;case"p":case"P":i=null!=i?i:2,a=We(He(a,100),i)+" %";break;case"d":case"D":a=null!=i?wr(String(a),i,"0"):String(a);break;case"x":case"X":a=null!=i?wr(Ye(a),i,"0"):Ye(a),"X"===o&&(a=a.toUpperCase());break;default:if(s){let e="";a=s.replace(/(0+)(\.0+)?/,(t,n,r)=>(ir(a,0)&&(a=He(a,-1),e="-"),a=We(a,null!=r?r.length-1:0),wr(a,(n||"").length-e.length+(null!=r?r.length:0),"0"))),a=e+a}}else a=a instanceof Date?Dn(a,s||o):qn(a);return r=parseInt((r||" ").substring(1),10),isNaN(r)||(a=wr(String(a),Math.abs(r)," ",r<0)),a})}function hr(e,t){const n=e.lastIndexOf(t);return n>=0&&n===e.length-t.length}function pr(e){return"string"!=typeof e||0===e.length}function mr(e){return"string"!=typeof e||/^\s*$/.test(e)}function gr(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function wr(e,t,n,r){n=n||" ",t-=e.length;for(let o=0;o<t;o++)e=r?e+n:n+e;return e}function yr(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 vr=Be;var _r={GetHashCode(){return dn([this.s,this.e].concat(this.c))},Equals(e){return!this.cmp(e)},CompareTo(e){return this.cmp(e)},[Fe](){const e=this;return{multiply:t=>e.mul(t),toPrecision:t=>e.toPrecision(t),toExponential:t=>e.toExponential(t),toFixed:t=>e.toFixed(t),toHex:()=>(Number(e)>>>0).toString(16)}}},br="[big.js] ",Cr=br+"Invalid ",Sr=Cr+"decimal places",xr=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function Ir(e,t){var n,r,o;if(!xr.test(t))throw Error(Cr+"number");for(e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),o=t.length,r=0;r<n&&r<o&&"0"==t.charAt(r);)++r;if(r==o)e.c=[e.e=0];else for(e.e=n-r-1,e.c=[],n=0;r<o;)e.c[n++]=+t.charAt(r++);return e=Er(e,Tr.DP+1,Tr.RM)}function Er(e,t,n,r){var o=e.c;if(void 0===n&&(n=Tr.RM),0!==n&&1!==n&&2!==n&&3!==n)throw Error("[big.js] Invalid rounding mode");if(t<1)r=3===n&&(r||!!o[0])||0===t&&(1===n&&o[0]>=5||2===n&&(o[0]>5||5===o[0]&&(r||void 0!==o[1]))),o.length=1,r?(e.e=e.e-t+1,o[0]=1):o[0]=e.e=0;else if(t<o.length){const i=o.findIndex((e,n)=>n>=t&&e>0)<0;if(r=1===n&&o[t]>=5||2===n&&(o[t]>5||5===o[t]&&(r||void 0!==o[t+1]||1&o[t-1]))||3===n&&(r||!i),o.length=t--,r)for(;++o[t]>9;)o[t]=0,t--||(++e.e,o.unshift(1));for(t=o.length;!o[--t];)o.pop()}return e}function kr(e,t,n){var r=e.e,o=e.c.join(""),i=o.length;if(t)o=o.charAt(0)+(i>1?"."+o.slice(1):"")+(r<0?"e":"e+")+r;else if(r<0){for(;++r;)o="0"+o;o="0."+o}else if(r>0)if(++r>i)for(r-=i;r--;)o+="0";else r<i&&(o=o.slice(0,r)+"."+o.slice(r));else i>1&&(o=o.charAt(0)+"."+o.slice(1));return e.s<0&&n?"-"+o:o}_r.abs=function(){var e=new this.constructor(this);return e.s=1,e},_r.cmp=function(e){var t,n=this.constructor,r=new n(this),o=(e=new n(e),r.c),i=e.c,s=r.s,a=e.s,c=r.e,u=e.e;if(!o[0]||!i[0])return o[0]?s:i[0]?-a:0;if(s!=a)return s;if(t=s<0,c!=u)return c>u^t?1:-1;for(a=Math.max(o.length,i.length),s=0;s<a;s++)if((c=s<o.length?o[s]:0)!=(u=s<i.length?i[s]:0))return c>u^t?1:-1;return 0},_r.div=function(e){var t=this.constructor,n=new t(this),r=(e=new t(e),n.c),o=e.c,i=n.s==e.s?1:-1,s=t.DP;if(s!==~~s||s<0||s>1e6)throw Error(Sr);if(!o[0])throw Error("[big.js] Division by zero");if(!r[0])return e.s=i,e.c=[e.e=0],e;var a,c,u,l,f,d=o.slice(),$=a=o.length,h=r.length,p=r.slice(0,a),m=p.length,g=e,w=g.c=[],y=0,v=s+(g.e=n.e-e.e)+1;for(g.s=i,i=v<0?0:v,d.unshift(0);m++<a;)p.push(0);do{for(u=0;u<10;u++){if(a!=(m=p.length))l=a>m?1:-1;else for(f=-1,l=0;++f<a;)if(o[f]!=p[f]){l=o[f]>p[f]?1:-1;break}if(!(l<0))break;for(c=m==a?o:d;m;){if(p[--m]<c[m]){for(f=m;f&&!p[--f];)p[f]=9;--p[f],p[m]+=10}p[m]-=c[m]}for(;!p[0];)p.shift()}w[y++]=l?u:++u,p[0]&&l?p[m]=r[$]||0:p=[r[$]]}while(($++<h||void 0!==p[0])&&i--);return w[0]||1==y||(w.shift(),g.e--,v--),y>v&&Er(g,v,t.RM,void 0!==p[0]),g},_r.eq=function(e){return 0===this.cmp(e)},_r.gt=function(e){return this.cmp(e)>0},_r.gte=function(e){return this.cmp(e)>-1},_r.lt=function(e){return this.cmp(e)<0},_r.lte=function(e){return this.cmp(e)<1},_r.minus=_r.sub=function(e){var t,n,r,o,i=this.constructor,s=new i(this),a=(e=new i(e),s.s),c=e.s;if(a!=c)return e.s=-c,s.plus(e);var u=s.c.slice(),l=s.e,f=e.c,d=e.e;if(!u[0]||!f[0])return f[0]?e.s=-c:u[0]?e=new i(s):e.s=1,e;if(a=l-d){for((o=a<0)?(a=-a,r=u):(d=l,r=f),r.reverse(),c=a;c--;)r.push(0);r.reverse()}else for(n=((o=u.length<f.length)?u:f).length,a=c=0;c<n;c++)if(u[c]!=f[c]){o=u[c]<f[c];break}if(o&&(r=u,u=f,f=r,e.s=-e.s),(c=(n=f.length)-(t=u.length))>0)for(;c--;)u[t++]=0;for(c=t;n>a;){if(u[--n]<f[n]){for(t=n;t&&!u[--t];)u[t]=9;--u[t],u[n]+=10}u[n]-=f[n]}for(;0===u[--c];)u.pop();for(;0===u[0];)u.shift(),--d;return u[0]||(e.s=1,u=[d=0]),e.c=u,e.e=d,e},_r.mod=function(e){var t,n=this.constructor,r=new n(this),o=(e=new n(e),r.s),i=e.s;if(!e.c[0])throw Error("[big.js] Division by zero");return r.s=e.s=1,t=1==e.cmp(r),r.s=o,e.s=i,t?new n(r):(o=n.DP,i=n.RM,n.DP=n.RM=0,r=r.div(e),n.DP=o,n.RM=i,this.minus(r.times(e)))},_r.plus=_r.add=function(e){var t,n,r,o=this.constructor,i=new o(this);e=new o(e);if(i.s!=e.s)return e.s=-e.s,i.minus(e);var s=i.e,a=i.c,c=e.e,u=e.c;if(!a[0]||!u[0])return u[0]||(a[0]?e=new o(i):e.s=i.s),e;if(a=a.slice(),t=s-c){for(t>0?(c=s,r=u):(t=-t,r=a),r.reverse();t--;)r.push(0);r.reverse()}for(a.length-u.length<0&&(r=u,u=a,a=r),t=u.length,n=0;t;a[t]%=10)n=(a[--t]=a[t]+u[t]+n)/10|0;for(n&&(a.unshift(n),++c),t=a.length;0===a[--t];)a.pop();return e.c=a,e.e=c,e},_r.pow=function(e){var t=this.constructor,n=new t(this),r=new t("1"),o=new t("1"),i=e<0;if(e!==~~e||e<-1e6||e>1e6)throw Error(Cr+"exponent");for(i&&(e=-e);1&e&&(r=r.times(n)),e>>=1;)n=n.times(n);return i?o.div(r):r},_r.prec=function(e,t){if(e!==~~e||e<1||e>1e6)throw Error(Cr+"precision");return Er(new this.constructor(this),e,t)},_r.round=function(e,t){if(void 0===e)e=0;else if(e!==~~e||e<-1e6||e>1e6)throw Error(Sr);return Er(new this.constructor(this),e+this.e+1,t)},_r.sqrt=function(){var e,t,n,r=this.constructor,o=new r(this),i=o.s,s=o.e,a=new r("0.5");if(!o.c[0])return new r(o);if(i<0)throw Error(br+"No square root");0===(i=Math.sqrt(o+""))||i===1/0?((t=o.c.join("")).length+s&1||(t+="0"),s=((s+1)/2|0)-(s<0||1&s),e=new r(((i=Math.sqrt(t))==1/0?"5e":(i=i.toExponential()).slice(0,i.indexOf("e")+1))+s)):e=new r(i+""),s=e.e+(r.DP+=4);do{n=e,e=a.times(n.plus(o.div(n)))}while(n.c.slice(0,s).join("")!==e.c.slice(0,s).join(""));return Er(e,(r.DP-=4)+e.e+1,r.RM)},_r.times=_r.mul=function(e){var t,n=this.constructor,r=new n(this),o=(e=new n(e),r.c),i=e.c,s=o.length,a=i.length,c=r.e,u=e.e;if(e.s=r.s==e.s?1:-1,!o[0]||!i[0])return e.c=[e.e=0],e;for(e.e=c+u,s<a&&(t=o,o=i,i=t,u=s,s=a,a=u),t=new Array(u=s+a);u--;)t[u]=0;for(c=a;c--;){for(a=0,u=s+c;u>c;)a=t[u]+i[c]*o[u-c-1]+a,t[u--]=a%10,a=a/10|0;t[u]=a}for(a?++e.e:t.shift(),c=t.length;!t[--c];)t.pop();return e.c=t,e},_r.toExponential=function(e,t){var n=this,r=n.c[0];if(void 0!==e){if(e!==~~e||e<0||e>1e6)throw Error(Sr);for(n=Er(new n.constructor(n),++e,t);n.c.length<e;)n.c.push(0)}return kr(n,!0,!!r)},_r.toFixed=function(e,t){var n=this,r=n.c[0];if(void 0!==e){if(e!==~~e||e<0||e>1e6)throw Error(Sr);for(e=e+(n=Er(new n.constructor(n),e+n.e+1,t)).e+1;n.c.length<e;)n.c.push(0)}return kr(n,!1,!!r)},_r.toJSON=_r.toString=function(){var e=this,t=e.constructor;return kr(e,e.e<=t.NE||e.e>=t.PE,!!e.c[0])},_r.toNumber=function(){var e=Number(kr(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(e.toString()))throw Error(br+"Imprecise conversion");return e},_r.toPrecision=function(e,t){var n=this,r=n.constructor,o=n.c[0];if(void 0!==e){if(e!==~~e||e<1||e>1e6)throw Error(Cr+"precision");for(n=Er(new r(n),e,t);n.c.length<e;)n.c.push(0)}return kr(n,e<=n.e||n.e<=r.NE||n.e>=r.PE,!!o)},_r.valueOf=function(){var e=this,t=e.constructor;if(!0===t.strict)throw Error(br+"valueOf disallowed");return kr(e,e.e<=t.NE||e.e>=t.PE,!0)};var Tr=function e(){function t(n){var r=this;if(!(r instanceof t))return void 0===n?e():new t(n);if(n instanceof t)r.s=n.s,r.e=n.e,r.c=n.c.slice(),function(e){if(e.c.length>1&&!e.c[0]){let t=e.c.findIndex(e=>e);e.c=e.c.slice(t),e.e=e.e-t}}(r);else{if("string"!=typeof n){if(!0===t.strict)throw TypeError(Cr+"number");n=0===n&&1/n<0?"-0":String(n)}Ir(r,n)}r.constructor=t}return t.prototype=_r,t.DP=28,t.RM=1,t.NE=-29,t.PE=29,t.strict=!1,t}(),Or=Tr;new Or(0),new Or(1),new Or(-1),new Or("79228162514264337593543950335"),new Or("-79228162514264337593543950335");class Ar{constructor(e,t,n,r){this.declaringType=e,this.tag=t,this.name=n,this.fields=r}}class Mr{constructor(e,t,n,r,o,i,s){this.fullname=e,this.generics=t,this.construct=n,this.parent=r,this.fields=o,this.cases=i,this.enumCases=s}toString(){return Yr(this)}GetHashCode(){return Nr(this)}Equals(e){return Dr(this,e)}}function Pr(e){return null!=e.generics?e.generics:[]}function Nr(e){return dn([ln(e.fullname),...Pr(e).map(Nr)])}function Dr(e,t){return""===e.fullname?""===t.fullname&&pn(io(e),io(t),([e,t],[n,r])=>e===n&&Dr(t,r)):e.fullname===t.fullname&&pn(Pr(e),Pr(t),Dr)}function Rr(e,t,n,r){return new Mr(e,t,n,r)}function Br(e,t,n,r){return new Mr(e,t,n,void 0,r)}function zr(e,t,n,r){const o=new Mr(e,t,n,void 0,void 0,()=>{const e=n.prototype.cases();return r().map((t,n)=>new Ar(o,n,e[n],t))});return o}function Lr(...e){return new Mr("System.Tuple`"+e.length,e)}function jr(e){return new Mr("Microsoft.FSharp.Core.FSharpOption`1",[e])}function Ur(e){return new Mr("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Fr=new Mr("System.Object"),Gr=(new Mr("Microsoft.FSharp.Core.Unit"),new Mr("System.Char"),new Mr("System.String")),Hr=new Mr("System.Boolean"),Wr=(new Mr("System.SByte"),new Mr("System.Byte"),new Mr("System.Int16"),new Mr("System.UInt16"),new Mr("System.Int32")),Vr=(new Mr("System.UInt32"),new Mr("System.Single"),new Mr("System.Double"));new Mr("System.Decimal");function qr(e){if(Array.isArray(e))return e[0];if(e instanceof Mr){const t=Zr(e);if(null!=t)return qr(t)+"[]";{const t=e.fullname.lastIndexOf(".");return-1===t?e.fullname:e.fullname.substr(t+1)}}return e.name}function Yr(e){const t=Zr(e);return null!=t?Yr(t)+"[]":null==e.generics||0===e.generics.length?e.fullname:e.fullname+"["+e.generics.map(e=>Yr(e)).join(",")+"]"}function Xr(e){return null!=Zr(e)}function Zr(e){var t;return"[]"===e.fullname&&1===(null===(t=e.generics)||void 0===t?void 0:t.length)?e.generics[0]:void 0}function Jr(e){return null!=e.generics&&e.generics.length>0}function Kr(e){return null!=e.enumCases&&e.enumCases.length>0}function Qr(e){return null==e.generics?e:new Mr(e.fullname,e.generics.map(()=>Fr))}function eo(e){var t;return null===(t=e.generics)||void 0===t?void 0:t[0]}function to(e){if(Kr(e)&&null!=e.enumCases)return e.enumCases.map(e=>e[1]);throw new Error(e.fullname+" is not an enum type")}function no(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")}function ro(e,t){const n=parseInt(t,10);return no(e,isNaN(n)?t:n)[1]}function oo(e){if(null!=e.cases)return e.cases();throw new Error(e.fullname+" is not an F# union type")}function io(e){if(null!=e.fields)return e.fields();throw new Error(e.fullname+" is not an F# record type")}function so(e){if(uo(e)&&null!=e.generics)return e.generics;throw new Error(e.fullname+" is not a tuple type")}function ao(e){return e instanceof Mr?null!=e.cases:e instanceof Yn}function co(e){return e instanceof Mr?null!=e.fields:e instanceof er}function uo(e){return e.fullname.startsWith("System.Tuple")}function lo(e){return null==e.fields?[]:e.fields}function fo(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):{}}class $o{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return $n(this.value)}Equals(e){return null!=e&&gn(this.value,e instanceof $o?e.value:e)}CompareTo(e){return null==e?1:_n(this.value,e instanceof $o?e.value:e)}}function ho(e){return null==e||e instanceof $o?new $o(e):e}function po(e){if(null==e)throw new Error("Option has no value");return e instanceof $o?e.value:e}function mo(e){return null==e?void 0:e}function go(e){return null==e?[]:[po(e)]}function wo(e,t){return null!=e?po(e):t}function yo(e,t){return null!=t?ho(e(po(t))):void 0}function vo(e,t){return null!=t?e(po(t)):void 0}function _o(){return e=(e,t)=>_n(e,t),{Compare:(t,n)=>e(t,n)};var e}function bo(){return _o()}function Co(e,t){return"function"==typeof e?new e(t):new Array(t)}function So(){throw new Error("Arrays had different lengths")}function xo(e,t,n,r){const o=0|t;return e.fill(r,o,o+n)}function Io(e,t,n){const r=0|t.length,o=Co(n,r);for(let n=0;n<=r-1;n++)o[n]=e(t[n]);return o}function Eo(e,t,n){if(e<0)throw new Error("The input must be non-negative\\nParameter name: count");const r=Co(n,e);for(let n=0;n<=e-1;n++)r[n]=t(n);return r}function ko(e,t,n){return n.reduce((t,n)=>e(t,n),t)}function To(e,t,n){if(null==t)return null==n;if(null==n)return!1;{let r=0,o=!0;const i=0|t.length,s=0|n.length;if(i>s)return!1;if(i<s)return!1;for(;r<i&&o;)o=e(t[r],n[r]),r=r+1|0;return o}}function Oo(e,t,n){return t.reduceRight((t,n)=>e(n,t),n)}function Ao(e,t,n,r){return function(e,t,n,r){let o=r;t.length!==n.length&&So();const i=0|t.length;for(let r=1;r<=i;r++)o=e(r-1,t[i-r],n[i-r],o);return o}((t,n,r,o)=>e(n,r,o),t,n,r)}class Mo extends er{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+gr("; ",this)+"]"}Equals(e){const t=this;if(t===e)return!0;return((e,t)=>{e:for(;;){const n=e,r=t,o=[n.tail,r.tail];if(null!=o[0]){if(null!=o[1]){const i=o[0],s=o[1];if(gn(n.head,r.head)){e=i,t=s;continue e}return!1}return!1}return null==o[1]}})(t,e)}GetHashCode(){return 0|((e,t,n)=>{for(;;){const r=e,o=t,i=n,s=i.tail;if(null==s)return 0|o;{const a=s;if(r>18)return 0|o;e=r+1,t=(o<<1)+$n(i.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,o=[n.tail,r.tail];if(null!=o[0]){if(null!=o[1]){const i=o[0],s=o[1],a=0|_n(n.head,r.head);if(0===a){e=i,t=s;continue e}return 0|a}return 1}return null!=o[1]?-1:0}})(this,e)}GetEnumerator(){return function(e){return new Po(e)}(this)}[Symbol.iterator](){return rn(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return nn(this)}}class Po{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"(){this.it=this.xs,this.current=null}Dispose(){}}function No(){return new Mo(null,void 0)}function Do(e,t){return new Mo(e,t)}function Ro(e){return null==e.tail}function Bo(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 zo(e){if(null!=e.tail)return e.head;throw new Error("List was empty\\nParameter name: list")}function Lo(e){const t=e.tail;if(null!=t)return t;throw new Error("List was empty\\nParameter name: list")}function jo(){return No()}function Uo(e,t){return Do(e,t)}function Fo(e){return Do(e,No())}function Go(e){return Ro(e)}function Ho(e){return Bo(e)}function Wo(e){return zo(e)}function Vo(e){return Ro(e)?void 0:ho(zo(e))}function qo(e){return Lo(e)}function Yo(e){e:for(;;){const t=e;if(Ro(t))return;{const n=Lo(t);if(Ro(n))return ho(zo(t));e=n;continue e}}}function Xo(e){const t=0|Bo(e),n=xo(new Array(t),0,t,null);return((e,t)=>{for(;;){const r=e,o=t;if(Ro(o))break;n[r]=zo(o),e=r+1,t=Lo(o)}})(0,e),n}function Zo(e,t,n){let r=t,o=n;for(;!Ro(o);)r=e(r,zo(o)),o=Lo(o);return r}function Jo(e){return Zo((e,t)=>Do(t,e),No(),e)}function Ko(e,t){Zo((t,n)=>{e(n)},void 0,t)}function Qo(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=Do(e[t],n);return n}function ei(e){return Qo(e,No())}function ti(e){let t,n;if(Jt(e))return ei(e);if(e instanceof Mo)return e;{const r=No();let o=r;const i=nn(e);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const e=i["System.Collections.Generic.IEnumerator`1.get_Current"]();t=o,n=new Mo(e,void 0),t.tail=n,o=n}}finally{i.Dispose()}const s=o,a=No();return s.tail=a,Lo(r)}}function ni(e,t){return Zo((e,t)=>Do(t,e),t,Jo(e))}function ri(e,t){const n=No(),r=Zo((t,n)=>{const r=new Mo(e(n),void 0);return t.tail=r,r},n,t),o=No();return r.tail=o,Lo(n)}function oi(e,t){return(t=>{e:for(;;){const n=t;if(Ro(n))return;{const r=e(zo(n));if(null==r){t=Lo(n);continue e}return r}}})(t)}function ii(e,t){return oi(t=>e(t)?ho(t):void 0,t)}function si(e,t){return((t,n)=>{for(;;){const r=t,o=n;if(Ro(o))return;if(e(zo(o)))return r;t=r+1,n=Lo(o)}})(0,t)}function ai(e,t){const n=No(),r=Zo((t,n)=>{if(e(n)){const e=new Mo(n,void 0);return t.tail=e,e}return t},n,t),o=No();return r.tail=o,Lo(n)}function ci(e,t,n){return null!=si(t=>n.Equals(e,t),t)}function ui(e,t){return null!=si(e,t)}const li="The input sequence has an insufficient number of elements.";function fi(){throw new Error("Enumeration has not started. Call MoveNext.")}function di(){throw new Error("Enumeration already finished.")}class $i{constructor(e){this.f=e}toString(){let e=0,t="seq [";const n=nn(this);try{for(;e<4&&n["System.Collections.IEnumerator.MoveNext"]();)e>0&&(t+="; "),t+=qn(n["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(t+="; ..."),t+"]"}finally{n.Dispose()}}GetEnumerator(){return this.f()}[Symbol.iterator](){return rn(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class hi{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 pi(e,t,n){return new hi(e,t,n)}function mi(e,t){return pi(()=>t["System.Collections.Generic.IEnumerator`1.get_Current"](),()=>t["System.Collections.IEnumerator.MoveNext"](),()=>{try{t.Dispose()}finally{e()}})}function gi(e,t,n){let r=!1,o=void 0,i=ho(e());const s=()=>{if(null!=i){const e=po(i);try{n(e)}finally{i=void 0}}},a=()=>{try{s()}finally{o=void 0}};return pi(()=>(r||fi(),null!=o?po(o):di()),()=>{if(r||(r=!0),null!=i){const e=po(i);let n;try{n=t(e)}catch(e){throw a(),e}return null!=n?(o=n,!0):(a(),!1)}return!1},s)}function wi(e,t){null==t&&function(e){throw new Error(e)}(e)}function yi(e){return function(e){return new $i(e)}(e)}function vi(e){return wi("source",e),nn(e)}function _i(e){return yi(()=>nn(e()))}function bi(e){return yi(()=>function(e){let t=void 0,n=void 0,r=!1,o=!1,i=void 0;const s=()=>{if(o=!0,null!=n){const e=n;try{e.Dispose()}finally{n=void 0}}if(null!=t){const e=t;try{e.Dispose()}finally{t=void 0}}};return pi(()=>(r?o&&di():fi(),null!=i?po(i):di()),()=>{let a;if(r||(r=!0),o)return!1;{let r=void 0;for(;null==r;){const o=[t,n];if(null!=o[0])if(null!=o[1]){const e=o[1];if(e["System.Collections.IEnumerator.MoveNext"]())i=ho(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),r=!0;else try{e.Dispose()}finally{n=void 0}}else{const e=o[0];if(e["System.Collections.IEnumerator.MoveNext"]()){a=e["System.Collections.Generic.IEnumerator`1.get_Current"](),n=nn(a)}else s(),r=!1}else t=nn(e)}return po(r)}},()=>{o||s()})}(e))}function Ci(e,t){return yi(()=>function(e,t){let n=void 0,r=t;return pi(()=>{if(null!=n){const e=n[0];n[1];return e}return fi()},()=>{if(n=e(r),null!=n){n[0];const e=n[1];return r=e,!0}return!1},()=>{})}(e,t))}function Si(){return _i(()=>new Array(0))}function xi(e){return _i(()=>function(e,t){const n=Co(t,1);return n[0]=e,n}(e))}function Ii(e){return e instanceof Mo?Xo(e):Array.from(e)}function Ei(e){return Jt(e)?ei(e):e instanceof Mo?e:ti(e)}function ki(e,t,n){return yi(()=>gi(e,t,n))}function Ti(e,t,n){return yi(()=>{let r=-1;return gi(e,e=>(r=r+1|0,t(r,e)),n)})}function Oi(e,t){return bi([e,t])}function Ai(e,t,n){const r=vi(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{r.Dispose()}}function Mi(e,t,n){const r=vi(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{r.Dispose()}}function Pi(e,t){Mi((t,n)=>{e(n)},void 0,t)}function Ni(e,t){Mi((t,n)=>(e(t,n),t+1|0),0,t)}function Di(e,t){return ki(()=>vi(t),t=>t["System.Collections.IEnumerator.MoveNext"]()?ho(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,e=>{e.Dispose()})}function Ri(e,t){return Ti(()=>vi(t),(t,n)=>n["System.Collections.IEnumerator.MoveNext"]()?ho(e(t,n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0,e=>{e.Dispose()})}Symbol.iterator;function Bi(e,t){return yi(()=>{const n=vi(t);try{for(let t=1;t<=e;t++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(li+"\\nParameter name: source");return mi(()=>{},n)}catch(e){throw n.Dispose(),e}})}function zi(e,t){return Ti(()=>vi(t),(t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return ho(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(li+"\\nParameter name: source")}},e=>{e.Dispose()})}function Li(e,t){return _i(()=>bi(Di(e,t)))}class ji extends er{constructor(e,t){super(),this.bound=0|e,this.digits=t}}function Ui(e,t){for(;;){const n=e,r=t;if(0===r)return 1;if(r%2!=0)return n*Ui(n*n,~~(r/2))|0;e=n*n,t=~~(r/2)}}qt(2013265921,0,!1),qt(2013265921,0,!0);Eo(28,e=>Ui(2,e),Int32Array);function Fi(e){return e.bound}function Gi(e,t){return e.digits[t]}function Hi(e,t){return Zt(Gi(e,t),!1,2)}function Wi(e,t,n){e.digits[t]=0|n}function Vi(e,t){for(;;){const n=e,r=t;if(0===r)return qt(1,0,!1);if(r%2!=0)return Ut(n,Vi(Ut(n,n),~~(r/2)));e=Ut(n,n),t=~~(r/2)}}function qi(e,t){for(;;){const n=e,r=t;if(0===r)return 1;if(r%2!=0)return n*qi(n*n,~~(r/2))|0;e=n*n,t=~~(r/2)}}const Yi=qt(16777216,0,!1),Xi=qt(16777215,0,!1);qt(16777215,0,!0);function Zi(e){return new ji(e,new Int32Array(e))}function Ji(e){const t=0|((e,t)=>{for(;;){const n=e,r=t;if(-1===r||0!==n[r])return r+1|0;e=n,t=r-1}})(e.digits,e.bound-1);return e.bound=0|t,e}function Ki(e){const t=0|(e<0?0:e);if(t<16777216){const e=Zi(1);return e.digits[0]=0|t,Ji(e)}{const e=Zi(2);for(let n=0;n<=1;n++)e.digits[n]=~~(t/qi(16777216,n))%16777216|0;return Ji(e)}}function Qi(e){if(1===e.bound)return 0|e.digits[0];{let t=0;for(let n=e.bound-1;n>=0;n--)t=e.digits[n]+16777216*t|0;return 0|t}}const es=Ki(1),ts=Ki(0);function ns(e){return e.bound-1}function rs(e){return 0===e.bound}function os(e,t){if(e.bound===t.bound){return((e,t,n)=>{for(;;){const r=e,o=t,i=n;if(-1===i)return!0;if(r[i]!==o[i])return!1;e=r,t=o,n=i-1}})(e.digits,t.digits,e.bound-1)}return!1}function is(e,t){if(e.bound<t.bound)return-1;if(e.bound>t.bound)return 1;return 0|((e,t,n)=>{for(;;){const r=e,o=t,i=n;if(-1===i)return 0;if(r[i]!==o[i])return r[i]<o[i]?-1:1;e=r,t=o,n=i-1}})(e.digits,t.digits,e.bound-1)}function ss(e,t){return-1===is(e,t)}function as(e,t,n){for(;;){const r=e,o=t,i=n;if(!(Vt(o,qt(0,0,!1))>0))break;{const s=jt(Hi(r,i),o);Wi(r,i,~~Yt(Wt(s,Xi))),e=r,t=Ft(s,Yi),n=i+1}}}function cs(e,t){const n=0|Fi(e),r=Zi(n+1),o=Zt(t,!1,2);let i=qt(0,0,!1);for(let t=0;t<=n-1;t++){const n=jt(jt(i,Hi(r,t)),Ut(Hi(e,t),o));Wi(r,t,~~Yt(Wt(n,Xi))),i=Ft(n,Yi)}return as(r,i,n),Ji(r)}function us(e,t){const n=1===Fi(e),r=1===Fi(t);return n&&r?function(e,t){const n=Zi(2),r=Ut(Zt(e,!1,2),Zt(t,!1,2));return Wi(n,0,~~Yt(Wt(r,Xi))),Wi(n,1,~~Yt(Ft(r,Yi))),Ji(n)}(Gi(e,0),Gi(t,0)):n?cs(t,Gi(e,0)):r?cs(e,Gi(t,0)):function(e,t){const n=Zi(e.bound+t.bound),r=n.digits;for(let o=0;o<=e.bound-1;o++){const i=Zt(e.digits[o],!1,2);let s=qt(0,0,!1),a=o;for(let e=0;e<=t.bound-1;e++){const n=Zt(t.digits[e],!1,2),o=jt(jt(Zt(r[a],!1,2),s),Ut(i,n));r[a]=0|~~Yt(Wt(o,Xi)),s=Ft(o,Yi),a=a+1|0}as(n,s,a)}return Ji(n)}(e,t)}class ls extends er{constructor(e,t,n,r,o,i,s){super(),this.bigL=0|e,this.twoToBigL=0|t,this.k=0|n,this.bigK=0|r,this.bigN=0|o,this.split=0|i,this.splits=s}}function fs(e,t,n,r){return new ls(e,qi(2,e),t,n,r,~~(24/e),Eo(~~(24/e),t=>qi(2,e*t),Int32Array))}const ds=[fs(1,28,268435456,268435456),fs(2,26,67108864,134217728),fs(3,24,16777216,50331648),fs(4,22,4194304,16777216),fs(5,20,1048576,5242880),fs(6,18,262144,1572864),fs(7,16,65536,458752),fs(8,14,16384,131072),fs(9,12,4096,36864),fs(10,10,1024,10240),fs(11,8,256,2816),fs(12,6,64,768),fs(13,4,16,208)];Eo(24,e=>qi(2,e)-1,Int32Array),Eo(24,e=>qi(2,e),Int32Array),Eo(24,e=>Vi(qt(2,0,!1),e));ds[0].bigN;function $s(e,t){return us(e,t)}function hs(e,t,n,r){const o=[e.digits,ns(e)],i=o[0],s=[n.digits,ns(n)],a=0|s[1],c=s[0],u=Zt(t,!1,2);let l=0,f=Ut(u,Zt(c[0],!1,2));for(;Vt(f,qt(0,0,!1))>0||l<a;){if(l>o[1])throw new Error("scaleSubInPlace: pre-condition did not apply, result would be -ve");let e=~~Yt(Wt(f,Xi)),t=Ft(f,Yi);e<=i[l+r]?i[l+r]=i[l+r]-e|0:(i[l+r]=i[l+r]+(16777216-e)|0,t=jt(t,qt(1,0,!1))),f=l<a?jt(t,Ut(u,Zt(c[l+1],!1,2))):t,l=l+1|0}Ji(e)}function ps(e,t,n,r){const o=[e.digits,ns(e)],i=o[0],s=[n.digits,ns(n)],a=0|s[1],c=s[0],u=Zt(t,!1,2);let l=0,f=Ut(u,Zt(c[0],!1,2));for(;Vt(f,qt(0,0,!1))>0||l<a;){if(l>o[1])throw new Error("scaleSubInPlace: pre-condition did not apply, result would be -ve");let e=~~Yt(Wt(f,Xi)),t=Ft(f,Yi);e<16777216-i[l+r]?i[l+r]=i[l+r]+e|0:(i[l+r]=e-(16777216-i[l+r])|0,t=jt(t,qt(1,0,!1))),f=l<a?jt(t,Ut(u,Zt(c[l+1],!1,2))):t,l=l+1|0}Ji(e)}function ms(e,t,n){const r=[ns(t),ns(e)],o=0|r[1],i=0|r[0];if(o<i+n)return 0;{const r=[t.digits,e.digits],s=r[1],a=r[0],c=0|(0===i?o===n?~~(s[n]/a[0]):~~Yt(Ft(jt(Ut(Zt(s[o],!1,2),Yi),Zt(s[o-1],!1,2)),Zt(a[0],!1,2))):o===i+n?~~(s[o]/(a[i]+1)):~~Yt(Ft(jt(Ut(Zt(s[o],!1,2),Yi),Zt(s[o-1],!1,2)),jt(Zt(a[i],!1,2),qt(1,0,!1)))));return 0===c?1!==function(e,t,n,r){return e.bound+t<n.bound+r?-1:e.bound+t>n.bound+t?1:0|((e,n,o)=>{e:for(;;){const i=e,s=n,a=o;if(-1===a)return 0;{const c=0|(a<t?0:i[a-t]),u=0|(a<r?0:s[a-r]);if(c===u){e=i,n=s,o=a-1;continue e}return c<u?-1:1}}})(e.digits,n.digits,e.bound+t-1)}(t,n,e,0)?1:0:0|c}}function gs(e,t){if(rs(t))throw new Error;if(ns(e)<ns(t))return[ts,e];{const n=function(e){return new ji(e.bound,e.digits.slice())}(e),r=Zi(ns(e)-ns(t)+1+1);let o=ns(e);const i=0|ns(t);let s=o-i;const a=e=>{};let c=!1;for(;!c;){a([r,n,s,o]);const e=0|ms(n,t,s);e>0?(hs(n,e,t,s),ps(r,e,es,s),a([r,n,s,o])):(c=0===e&&0===s,c||(o===i+s?(a([r,n,s-1,o]),s=s-1|0):(a([r,n,s-1,o-1]),s=s-1|0,o=o-1|0)))}return[Ji(r),Ji(n)]}}Ki(2);function ws(e){return Ki(e)}function ys(e){return function(e){const t=Vt(e,qt(0,0,!1))<0?qt(0,0,!1):e,n=Zi(3);for(let e=0;e<=2;e++)n.digits[e]=0|~~Yt(Gt(Ft(t,Vi(Yi,e)),Yi));return Ji(n)}(e)}function vs(e){const t=0|ns(e),n=(e,t,r,o)=>{e:for(;;){const i=e,s=t,a=r,c=o;if(Go(c)){const e=0|Qi(a);return i&&0===e?s:Uo(cn(e),s)}{const u=qo(c),l=gs(a,Wo(c)[1]),f=l[1],d=l[0];if(i&&rs(d)){e=i,t=s,r=f,o=u;continue e}e=i,t=n(!1,s,f,u),r=d,o=u;continue e}}},r=n(!0,jo(),e,((e,n,r)=>{for(;;){const o=e,i=n,s=r;if(ns(s)>t)return Uo([i,s],o);e=Uo([i,s],o),n=i+1,r=$s(s,s)}})(jo(),0,Ki(10)));return Go(r)?"0":gr("",Xo(r))}function _s(e){return e.bound<=1}function bs(e){const t=e;return 0<t.bound?0|t.digits[0]:0}class Cs extends er{constructor(e,t){super(),this.signInt=0|e,this.v=t}toString(){const e=this;switch(0|Is(e)){case-1:return rs(Es(e))?"0":"-"+vs(Es(e));case 0:return"0";case 1:return vs(Es(e));default:throw new Error("signs should be +/- 1 or 0")}}Equals(e){return e instanceof Cs&&ks(this,e)}GetHashCode(){return 0|(0===Is(e=this)?1:Is(e)+function(e){let t=0;for(let n=0;n<=e.bound-1;n++)t=e.digits[n]+(t<<3)|0;return 0|t}(Es(e))|0);var e}toJSON(e){return qn(this)}CompareTo(e){if(e instanceof Cs)return 0|function(e,t){return Ts(e,t)?-1:ks(e,t)?0:1}(this,e);throw new Error("the objects are not comparable\\nParameter name: obj")}}function Ss(e,t){return new Cs(e,t)}function xs(e){return _s(e)&&bs(e)<Cs.smallLim?Cs.smallPosTab[bs(e)]:e}function Is(e){return e.signInt}function Es(e){return e.v}function ks(e,t){const n=[Is(e),Is(t)];let r;switch(r=-1===n[0]?-1===n[1]?1:0===n[1]?8:1===n[1]?3:9:0===n[0]?-1===n[1]?6:0===n[1]?4:1===n[1]?5:9:1===n[0]?-1===n[1]?2:0===n[1]?7:1===n[1]?0:9:9,r){case 0:case 1:return os(Es(e),Es(t));case 2:case 3:return!!rs(Es(e))&&rs(Es(t));case 4:return!0;case 5:case 6:return rs(Es(t));case 7:case 8:return rs(Es(e));case 9:throw new Error("signs should be +/- 1 or 0\\nParameter name: x")}}function Ts(e,t){const n=[Is(e),Is(t)];let r;switch(r=-1===n[0]?-1===n[1]?1:0===n[1]?8:1===n[1]?3:9:0===n[0]?-1===n[1]?6:0===n[1]?4:1===n[1]?5:9:1===n[0]?-1===n[1]?2:0===n[1]?7:1===n[1]?0:9:9,r){case 0:return ss(Es(e),Es(t));case 1:return ss(Es(t),Es(e));case 2:return!1;case 3:return!rs(Es(e))||!rs(Es(t));case 4:return!1;case 5:return!rs(Es(t));case 6:case 7:return!1;case 8:return!rs(Es(e));case 9:throw new Error("signs should be +/- 1 or 0\\nParameter name: x")}}function Os(e){return e>=0?Ss(1,xs(ws(e))):Ss(-1,xs(-2147483648===e?ys(Ht(Zt(e,!1,2))):ws(Ue(e))))}function As(){return Cs.one}function Ms(){return Cs.two}function Ps(){return Cs.zero}Cs.smallLim=4096,Cs.smallPosTab=Eo(Cs.smallLim,e=>ws(e)),Cs.one=Os(1),Cs.two=Os(2),Cs.zero=Os(0);Ps(),As(),Ms();Ps(),As();function Ns(e,t,n,r,o){const i=function(e,t,n,r){const o=0|_n(e,n);if(0===o)throw new Error("The step of a range cannot be zero");const i=o>0;return n=>{const o=0|_n(n,t);return i&&o<=0||!i&&o>=0?[n,r(n,e)]:void 0}}(t,n,r,o);return _i(()=>Ci(i,e))}function Ds(e,t,n){return Ns(e,t,n,0,(e,t)=>e+t)}const Rs=e=>{J(()=>{const t=e();return()=>{t.Dispose()}})},Bs=(e,t)=>{J(()=>{const t=e();return()=>{t.Dispose()}},t)},zs=e=>{K(()=>{const t=e();return()=>{t.Dispose()}})};function Ls(e,t,n,r){const o=vr.memo(e,xn(2,wo(En(2,n),null)));return Pi(t=>{e.displayName=t},go(t)),e=>vr.createElement(o,js(r,e))}function js(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}function Us(e){return{Dispose(){e()}}}function Fs(e){Rs(e)}function Gs(e,t){Bs(e,t)}function Hs(e){Vs(e,[])}function Ws(e){Gs(e,[])}function Vs(e,t){Bs(t=>(e(),Us(()=>{})),t)}function qs(e,t){return vr.useCallback(e,wo(t,[]))}function Ys(e){return vr.useRef(e)}function Xs(e,t){return vr.useMemo(e,wo(t,[]))}function Zs(e){const t=Ys(e),n=qs(e=>t.current(e),[]);var r;return r=()=>{t.current=e},zs(e=>(r(),Us(()=>{}))),n}function Js(e){return vr.useState(e)}class Ks{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)}}}}class Qs extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Qs.prototype)}}class ea{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>ea.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function ta(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new Qs);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(e){t.onError(e)}});else try{e(t)}catch(e){t.onError(e)}}}function na(e,t){return ta(n=>{e({onSuccess:e=>{try{t(e)(n)}catch(e){n.onError(e)}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})})}function ra(e){return ta(t=>t.onSuccess(e))}const oa=new class{Bind(e,t){return na(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 ra(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(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))}};class ia extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Ok","Error"]}}function sa(e,t){return 0===t.tag?new ia(0,e(t.fields[0])):new ia(1,t.fields[0])}function aa(e,t){return 0===t.tag?e(t.fields[0]):new ia(1,t.fields[0])}class ca extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of2","Choice2Of2"]}}class ua extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of3","Choice2Of3","Choice3Of3"]}}function la(e){}function fa(e){const t=new Ks("boolean"==typeof e&&e);return"number"==typeof e&&setTimeout(()=>{t.cancel()},e),t}function da(e){e.cancel()}function $a(e){return null!=e&&e.isCancelled}const ha=new Ks;function pa(e){return ta(t=>{e({onSuccess:e=>t.onSuccess(function(e){return new ca(0,e)}(e)),onError:e=>t.onSuccess(new ca(1,e)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})})}function ma(e){return ta(t=>e([t.onSuccess,t.onError,t.onCancel]))}function ga(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 Qs)})})}function wa(e,t){return function(e,t){return ya(e,t)}(e,t)}function ya(e,t,n,r,o){"function"!=typeof t&&(o=t,t=void 0);const i=new ea;e({onSuccess:t||la,onError:n||la,onCancel:r||la,cancelToken:o||ha,trampoline:i})}class va{constructor(){}}function _a(e,t){return{then:(e,n)=>{try{return t().then(e,n)}catch(e){if(gn(n,null))return Promise.reject(e);try{return Promise.resolve(n(e))}catch(e){return Promise.reject(e)}}},catch:e=>{try{return t().catch(e)}catch(t){try{return Promise.resolve(e(t))}catch(e){return Promise.reject(e)}}}}}const ba=new va;class Ca extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class Sa{constructor(e){this.state=new Ca(0,xo(new Array(bn((e,t)=>yn(e,t),e,10)),0,bn((e,t)=>yn(e,t),e,10),null),0)}}function xa(e){const t=e.state;if(1===t.tag){const n=0|t.fields[1],r=0|t.fields[2],o=t.fields[0],i=(r+1)%o.length|0;return e.state=i===n?new Ca(0,o,n):new Ca(1,o,n,i),ho(o[r])}}function Ia(e,t,n){const r=Ys(e[0]),o=Ys(new Sa(10));const i=Js(e[0]);let s;const a=Ys(fa()),c=Ys(a.current);Ws(()=>Us(()=>{da(a.current)})),s=c;const u=()=>{setTimeout(()=>{let e;e=s.current,$a(e)||i[1](r.current)},0)},l=e=>{var n;(n=_a(0,()=>{let n=ho(e);return function e(t,n,r){return n()?r.then(()=>e(t,n,r)):Promise.resolve(void 0)}(ba,()=>{let e;return null!=n&&(e=s.current,!$a(e))},_a(0,()=>{const e=t(po(n),r.current);return Ko(e=>{e(l)},e[1]),n=xa(o.current),r.current=e[0],u(),Promise.resolve()}))}),new Promise((e,t)=>{try{Promise.resolve(n).then(e,t)}catch(e){t(e)}})).then()},f=Zs(l);var d;return Gs(()=>Us(()=>{let e;Pi(e=>{e.Dispose()},go((e=r.current,Qt(e)?e:void 0)))}),n),Vs(()=>{r.current=e[0],u(),Ko(e=>{e(f)},e[1])},n),d=()=>{Pi(f,go(xa(o.current)))},Rs(e=>(d(),Us(()=>{}))),[i[0],f]}class Ea extends er{constructor(e,t){super(),this.CssOverrides=e,this.MaskedEmail=t}}class ka extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Activated","InviteCodeInvalid","InviteExpired","InviteLocked","AwaitingConfirmation"]}}class Ta extends er{constructor(e){super(),this.AuthCode=e}}class Oa extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CodeMatch","CodeMismatch","CodeExpired","InviteLocked","NoSecondFactorCodeIssued"]}}class Aa extends er{constructor(e,t){super(),this.CssOverrides=e,this.MaskedEmail=t}}function Ma(){return Br("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ActivationContextDto",[],Aa,()=>[["CssOverrides",Ur(Gr)],["MaskedEmail",Gr]])}function Pa(e){return new Ea(e.CssOverrides,e.MaskedEmail)}class Na extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Activated","InviteCodeInvalid","InviteExpired","InviteLocked","AwaitingConfirmation"]}}function Da(){return zr("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ActivationOutcomeDto",[],Na,()=>[[["Item",Ma()]],[],[],[],[["Item",Ma()]]])}class Ra extends er{constructor(e){super(),this.AuthCode=e}}class Ba extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CodeMatch","CodeMismatch","CodeExpired","InviteLocked","NoSecondFactorCodeIssued"]}}function za(){return zr("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ValidationOutcomeDto",[],Ba,()=>[[["Item",Br("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.CodeMatchContextDto",[],Ra,()=>[["AuthCode",Gr]])]],[],[],[],[]])}function La(e){switch(e.tag){case 1:return new Oa(1);case 2:return new Oa(2);case 3:return new Oa(3);case 4:return new Oa(4);default:return new Oa(0,(t=e.fields[0],new Ta(t.AuthCode)))}var t}class ja{constructor(e,t){this.k=e,this.v=t}}function Ua(e,t){return new ja(e,t)}function Fa(e){return e.k}function Ga(e){return e.v}class Ha extends ja{constructor(e,t,n,r,o){super(e,t),this.left=n,this.right=r,this.h=0|o}}function Wa(e,t,n,r,o){return new Ha(e,t,n,r,o)}function Va(e){return e.left}function qa(e){return e.right}function Ya(e){return e.h}function Xa(e){return function e(t,n){e:for(;;){const r=t,o=n;if(null!=o){const i=o;if(i instanceof Ha){t=e(r+1,Va(i)),n=qa(i);continue e}return r+1|0}return 0|r}}(0,e)}function Za(e,t,n,r){let o;if(null!=e){const t=e;o=t instanceof Ha?Ya(t):1}else o=0;let i;if(null!=r){const e=r;i=e instanceof Ha?Ya(e):1}else i=0;const s=0|(o<i?i:o);return 0===s?Ua(t,n):Wa(t,n,e,r,s+1)}function Ja(e,t,n,r){let o,i,s,a,c;if(null!=e){const t=e;c=t instanceof Ha?Ya(t):1}else c=0;let u;if(null!=r){const e=r;u=e instanceof Ha?Ya(e):1}else u=0;if(u>c+2){const s=po(r);if(s instanceof Ha){if(o=Va(s),(null!=o?(i=o,i instanceof Ha?Ya(i):1):0)>c+1){const r=po(Va(s));if(r instanceof Ha)return Za(Za(e,t,n,Va(r)),Fa(r),Ga(r),Za(qa(r),Fa(s),Ga(s),qa(s)));throw new Error("internal error: Map.rebalance")}return Za(Za(e,t,n,Va(s)),Fa(s),Ga(s),qa(s))}throw new Error("internal error: Map.rebalance")}if(c>u+2){const o=po(e);if(o instanceof Ha){if(s=qa(o),(null!=s?(a=s,a instanceof Ha?Ya(a):1):0)>u+1){const e=po(qa(o));if(e instanceof Ha)return Za(Za(Va(o),Fa(o),Ga(o),Va(e)),Fa(e),Ga(e),Za(qa(e),t,n,r));throw new Error("internal error: Map.rebalance")}return Za(Va(o),Fa(o),Ga(o),Za(qa(o),t,n,r))}throw new Error("internal error: Map.rebalance")}return Za(e,t,n,r)}function Ka(e,t,n,r){if(null!=r){const o=r,i=0|e.Compare(t,Fa(o));return o instanceof Ha?i<0?Ja(Ka(e,t,n,Va(o)),Fa(o),Ga(o),qa(o)):0===i?Wa(t,n,Va(o),qa(o),Ya(o)):Ja(Va(o),Fa(o),Ga(o),Ka(e,t,n,qa(o))):i<0?Wa(t,n,void 0,r,2):0===i?Ua(t,n):Wa(t,n,r,void 0,2)}return Ua(t,n)}function Qa(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const s=i,a=0|r.Compare(o,Fa(s));if(0===a)return ho(Ga(s));if(s instanceof Ha){e=r,t=o,n=a<0?Va(s):qa(s);continue e}return}return}}function ec(e,t){!function e(t,n){e:for(;;){const r=t,o=n;if(null!=o){const i=o;if(i instanceof Ha){e(r,Va(i)),r(Fa(i),Ga(i)),t=r,n=qa(i);continue e}r(Fa(i),Ga(i))}break}}(e,t)}function tc(e,t){return function e(t,n){if(null!=n){const r=n;if(r instanceof Ha){const n=e(t,Va(r)),o=t(Fa(r),Ga(r)),i=e(t,qa(r));return Wa(Fa(r),o,n,i,Ya(r))}return Ua(Fa(r),t(Fa(r),Ga(r)))}}(e,t)}function nc(e,t,n){let r=n;ec((e,n)=>{t[r]=[e,n],r=r+1|0},e)}function rc(e,t){let n=void 0;for(let r=0;r<=t.length-1;r++){const o=t[r];n=Ka(e,o[0],o[1],n)}return n}function oc(e,t){if(Jt(t))return rc(e,t);if(t instanceof Mo)return function(e,t){return Zo((t,n)=>Ka(e,n[0],n[1],t),void 0,t)}(e,t);{const n=nn(t);try{return function(e,t,n){for(;;){const r=e,o=t,i=n;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;{const s=i["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=Ka(r,s[0],s[1],o),n=i}}}(e,void 0,n)}finally{n.Dispose()}}}class ic extends er{constructor(e,t){super(),this.stack=e,this.started=t}}function sc(e){e:for(;;){const t=e;if(Go(t))return jo();{const n=qo(t),r=Wo(t);if(null!=r){const o=r;if(o instanceof Ha){e=Qo([Va(o),Ua(Fa(o),Ga(o)),qa(o)],n);continue e}return t}e=n;continue e}}}function ac(e){return new ic(sc(Fo(e)),!1)}function cc(e){if(e.started){const t=e.stack;if(Go(t))return function(){throw new Error("enumeration already finished")}();if(null!=Wo(t)){const e=Wo(t);if(e instanceof Ha)throw new Error("Please report error: Map iterator, unexpected stack for current");return[Fa(e),Ga(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function uc(e){let t=ac(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>cc(t),"System.Collections.IEnumerator.get_Current":()=>cc(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Go(t))return!1;if(null!=Wo(t)){if(Wo(t)instanceof Ha)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=sc(qo(t)),!Go(e.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!Go(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=ac(e)},Dispose(){}}}class lc{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=nn(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=0|t(n,$n(e[0])),n=0|t(n,$n(e[1]))}}finally{r.Dispose()}return 0|n}(this)}Equals(e){if(!(e instanceof lc))return!1;{const t=nn(this);try{const n=nn(e);try{const e=()=>{const r=t["System.Collections.IEnumerator.MoveNext"]();if(r===n["System.Collections.IEnumerator.MoveNext"]()){if(r){const r=t["System.Collections.Generic.IEnumerator`1.get_Current"](),o=n["System.Collections.Generic.IEnumerator`1.get_Current"]();return!(!gn(r[0],o[0])||!gn(r[1],o[1]))&&e()}return!0}return!1};return e()}finally{n.Dispose()}}finally{t.Dispose()}}}toString(){return"map ["+gr("; ",Di(e=>$r("({0}, {1})",e[0],e[1]),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(e){return Array.from(this)}GetEnumerator(){return uc(this.tree)}[Symbol.iterator](){return rn(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return uc(this.tree)}CompareTo(e){const t=this;if(e instanceof lc)return 0|function(e,t,n){const r=vi(t);try{const t=vi(n);try{let n=0,o=r["System.Collections.IEnumerator.MoveNext"](),i=t["System.Collections.IEnumerator.MoveNext"]();for(;0===n&&o&&i;)n=0|e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),t["System.Collections.Generic.IEnumerator`1.get_Current"]()),0===n&&(o=r["System.Collections.IEnumerator.MoveNext"](),i=t["System.Collections.IEnumerator.MoveNext"]());return 0|(0!==n?n:o?1:i?-1:0)}finally{t.Dispose()}}finally{r.Dispose()}}((e,n)=>{const r=0|t.comparer.Compare(e[0],n[0]);return 0|(0!==r?r:_n(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 pc(this,e[0])&&gn($c(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){nc(this.tree,e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|hc(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|hc(this)}get size(){return 0|hc(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return Di(e=>[e[0],e[1]],this)}get(e){return $c(this,e)}has(e){return pc(this,e)}keys(){return Di(e=>e[0],this)}set(e,t){throw new Error("Map cannot be mutated")}values(){return Di(e=>e[1],this)}forEach(e,t){const n=this;Pi(t=>{e(t[1],t[0],n)},n)}}function fc(e,t){return new lc(e,t)}function dc(e){const t=bo();return fc(t,oc(t,e))}function $c(e,t){return function(e,t,n){const r=Qa(e,t,n);if(null==r)throw new Error;return po(r)}(e.comparer,t,e.tree)}function hc(e){return Xa(e.tree)}function pc(e,t){return function(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const s=i,a=0|r.Compare(o,Fa(s));if(s instanceof Ha){if(a<0){e=r,t=o,n=Va(s);continue e}if(0===a)return!0;e=r,t=o,n=qa(s);continue e}return 0===a}return!1}}(e.comparer,t,e.tree)}function mc(e,t,n){return function(e,t,n){return fc(e.comparer,Ka(e.comparer,t,n,e.tree))}(n,e,t)}function gc(e,t){return function(e,t){return Qa(e.comparer,t,e.tree)}(t,e)}function wc(e,t){return r=e,fc((n=t).comparer,tc(r,n.tree));var n,r}function yc(){return lc.empty}lc.empty=fc(bo(),void 0);class vc extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function _c(e,t){switch(t.tag){case 1:return new vc(1);case 3:return new vc(3,t.fields[0]);case 2:try{return new vc(2,e(t.fields[0]))}catch(e){return new vc(3,e)}default:return new vc(0)}}function bc(e,t){const n=Js(new vc(0)),r=n[1];let o;const i=Ys(fa()),s=Ys(i.current);Ws(()=>Us(()=>{da(i.current)})),o=s;const a=oa.Delay(()=>oa.TryWith(oa.Delay(()=>(r(new vc(1)),oa.Bind(e,e=>(r(new vc(2,e)),oa.Zero())))),e=>(r(new vc(3,e)),oa.Zero())));return Vs(()=>{wa(a,o.current)},t),n[0]}function Cc(e,t){const n=Ys(fa());return Ws(()=>Us(()=>{da(n.current)})),Zs(r=>{$a(n.current)||wa(oa.Delay(()=>oa.TryWith(oa.Delay(()=>(t(new vc(1)),oa.Bind(e(r),e=>(t(new vc(2,e)),oa.Zero())))),e=>(t(new vc(3,e)),oa.Zero()))),n.current)})}function Sc(e){return e<0?Math.ceil(e):Math.floor(e)}function xc(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return Ic(arguments[0]);case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],o=0}return 864e5*e+36e5*t+6e4*n+1e3*r+o}function Ic(e){return Xt(Ft(e,1e4))}function Ec(e){return xc(0,e,0)}function kc(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 Sc(e/864e5)}(e)),o=Math.abs(function(e){return Sc(e%864e5/36e5)}(e)),i=Math.abs(function(e){return Sc(e%36e5/6e4)}(e)),s=Math.abs(function(e){return Sc(e%6e4/1e3)}(e)),a=Math.abs(function(e){return Sc(e%1e3)}(e));return`${e<0?"-":""}${0!==r||"c"!==t&&"g"!==t?"c"===t?r+".":r+":":""}${"g"===t?o:sn(o,2)}:${sn(i,2)}:${sn(s,2)}${0!==a||"c"!==t&&"g"!==t?"g"===t?"."+sn(a,3):"."+function(e,t,n){let r=e.toString(10);for(;r.length<t;)r="0"+r;for(;r.length<n;)r+="0";return r}(a,3,7):""}`}function Tc(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 xc(t,0,0,0,0)}if(n>0){const t=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(null!=t&&null!=t[4]&&null!=t[5]){let n=0,r=0,o=0;const i=null!=t[1]&&"-"===t[1]?-1:1,s=+t[4],a=+t[5];if(null!=t[3]&&(n=+t[3]),null!=t[7]&&(o=+t[7]),null!=t[8])switch(t[8].length){case 1:r=100*+t[8];break;case 2:r=10*+t[8];break;case 3:r=+t[8];break;case 4:r=+t[8]/10;break;case 5:r=+t[8]/100;break;case 6:r=+t[8]/1e3;break;case 7:r=+t[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return i*xc(n,s,a,o,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}!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]}();function Oc(e,t){const n=function(e,t,n=0){return e.lastIndex=n,e.exec(t)}(Hn(e),t);return null!=n?qo(Ei(_i(()=>{return Di(e=>e||"",(e=e=>e["System.Collections.IEnumerator.MoveNext"](),t=e=>e["System.Collections.IEnumerator.get_Current"](),ki(()=>nn(n),n=>e(n)?ho(t(n)):void 0,e=>{const t=e;Qt(t)&&t.Dispose()})));var e,t}))):void 0}function Ac(e,t){return pr(t)?new ia(1,lr(ar("%s cannot be null or empty"))(e)):new ia(0,t)}function Mc(e){const t=function(e){let t;const n=Oc(".*?@(.*)",e);switch(t=null!=n?Go(n)?1:Go(qo(n))?0:1:1,t){case 0:return e;case 1:return}}(e);if(null!=t){return new ia(0,t)}return new ia(1,"Email is not in the correct format")}const Pc=e=>({tag:"ok",value:e}),Nc=e=>({tag:"error",error:e});class Dc{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 Dc.isAbsoluteUri(e)?Pc(new Dc({original:e,value:new URL(e),kind:t})):Nc("Invalid URI: The format of the URI could not be determined.");case 2:return Dc.isAbsoluteUri(e)?Nc("URI is not a relative path."):Pc(new Dc({original:e,value:e,kind:t}));case 0:return Dc.isAbsoluteUri(e)?Pc(new Dc({original:e,value:new URL(e),kind:1})):Pc(new Dc({original:e,value:e,kind:2}));default:return t}}static tryCreateWithBase(e,t){return 1!==e.uri.kind?Nc("Base URI should have Absolute kind"):"string"==typeof t?Pc(new Dc({original:new URL(t,e.uri.value).toString(),value:new URL(t,e.uri.value),kind:1})):2===t.uri.kind?Pc(new Dc({original:new URL(t.uri.value,e.uri.value).toString(),value:new URL(t.uri.value,e.uri.value),kind:1})):Pc(e)}static tryCreateImpl(e,t=1){return"string"==typeof e?"number"!=typeof t?Nc("Kind must be specified when the baseUri is a string."):Dc.tryCreateWithKind(e,t):"number"==typeof t?Nc("Kind should not be specified when the baseUri is an absolute Uri."):Dc.tryCreateWithBase(e,t)}static create(e,t=1){const n=Dc.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=Dc.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 Rc extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SecondFactorCode"]}}function Bc(e){return function(e){return!pr(e)&&function(e,t,n=0){return e.lastIndex=n,e.test(t)}(/^(\d{6})$/g,e)}(e)?new ia(0,new Rc(0,e)):new ia(1,"Invalid second factor code format.")}class zc extends er{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.NumberOfAttempts=0|n,this.DateOfLastAttempt=r}}Ec(5);class Lc extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["InviteCode"]}}function jc(e){return function(e){return!mr(e)}(e)?new ia(0,new Lc(0,e)):new ia(1,"Invalid invite code format.")}function Uc(e){return e.fields[0]}class Fc extends er{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.SecondFactor=n,this.Branding=r}}class Gc extends er{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class Hc extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Logo"]}}class Wc extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompanyName"]}}class Vc extends er{constructor(e,t){super(),this.Email=e,this.Phone=t}}class qc extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Email"]}}class Yc extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Phone"]}}const Xc=e=>sa(e=>new qc(0,e),aa(e=>Mc(e),Ac("Email",e)));const Zc=e=>sa(e=>new Yc(0,e),Ac("Phone",e));function Jc(e){return function(e){try{const t=Dc.create(e);return t.isAbsoluteUri?[!0,t]:[!1,void 0]}catch(e){return[!1,void 0]}}(e)[0]?new ia(0,new Hc(0,e)):new ia(1,"Invalid logo url.")}xc(10,0,0,0);Ec(30);class Kc extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Initializing","WaitingForInput","Failed"]}}class Qc extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["InitInvite","ActivateInvite","ValidateMfa","ProcessInput","ShowValidation"]}}class eu extends er{constructor(e,t,n,r,o,i,s){super(),this.InviteToken=e,this.MaskedEmail=t,this.MfaCodeForm=n,this.IsValidationPending=r,this.CanRetry=o,this.Ui=i,this.CssOverrides=s}}class tu{constructor(e,t,n){this.OnNext=e,this.OnError=t||(e=>{}),this.OnCompleted=n||(()=>{})}}class nu{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)}}var ru=nu;var ou=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 ru}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}};function iu(e,t){console.error(ho(e),t)}function su(e,t){let n,r=new ou(e);r.AutoReset=!1,n=r,function(e,t){t.Subscribe(new tu(e))}(t,n.Elapsed()),n.Enabled=!0,n.Start()}function au(e,t,n){Ko(n=>{try{n(t)}catch(t){e(t)}},n)}function cu(){return jo()}function uu(e,t){return ri(t=>n=>{t(t=>{n(e(t))})},t)}function lu(e){return function(e){const t=No();let n=t;const r=e=>{n=Zo((e,t)=>{const n=new Mo(t,void 0);return e.tail=n,n},n,e)};if(Jt(e))e.forEach(r);else if(e instanceof Mo)Ko(r,e);else{const t=nn(e);try{for(;t["System.Collections.IEnumerator.MoveNext"]();)r(t["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{t.Dispose()}}const o=n,i=No();return o.tail=i,Lo(t)}(e)}function fu(e){return Fo(t=>{t(e)})}function du(e,t,n,r,o){return Fo(i=>{e(oa.Delay(()=>oa.Bind(pa(t(n)),e=>{const t=e;return i(1===t.tag?o(t.fields[0]):r(t.fields[0])),oa.Zero()})))})}function $u(e){su(0,t=>{wa(e)})}const hu=(()=>{try{"undefined"!=typeof window&&"function"==typeof window.addEventListener&&(window.addEventListener("testPassiveEventSupport",e=>{},{passive:!0}),window.removeEventListener("testPassiveEventSupport",e=>{}))}catch(e){}return!1})();function pu(e){return yo(e=>e.passive&&!hu?{capture:e.capture,once:e.once,passive:!1}:e,e)}function mu(e){return vo(e=>e.capture?{capture:!0}:void 0,e)}const gu=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,wu=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,yu=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function vu(e){function t(e){return e.replace(wu,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(gu.test(n))return function(e,...t){if(0===t.length)return e.trim();const n="["+Wn(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}(n,"{","}","(",")");if(wu.test(n))return t(n);if(yu.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 _u(e,t){try{return t.contents=vu(e),!0}catch(e){return!1}}function bu(e,t){return 0===t.indexOf(e)?t:void 0}function Cu(e,t){return hr(t,e)?t:void 0}function Su(e,t){return function(e){return 1===e?e=>{let t,n,r,o,i,s;return t=bu("/",e),null!=t?(n=t,"#"+n):(r=bu("#/",e),null!=r?(o=r,o):(i=bu("#",e),null!=i?(s=i,"#/"+yr(s,1,s.length-1)):"#/"+e))}:e=>{let t,n;return t=bu("/",e),null!=t?(n=t,n):"/"+e}}(t)(gr("/",ri(e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e),e)))}function xu(e,t,n){1===t?history.pushState(void 0,"",Su(e,n)):history.replaceState(void 0,"",Su(e,n));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}function Iu(e,t){return function(e,t){let n,r;const o=No();let i=o,s=t;for(;!Ro(s);){let t=e(zo(s));for(;!Ro(t);)n=i,r=new Mo(zo(t),void 0),n.tail=r,i=r,t=Lo(t);s=Lo(s)}const a=i,c=No();return a.tail=c,Lo(o)}(e=>{if(mr(e))return jo();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+Wn(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return jo();if(null!=bu("?",t))return Fo(t);{const e=t.split("?");if(To((e,t)=>e===t,e,null)||1!==e.length){if(To((e,t)=>e===t,e,null)||2!==e.length)return jo();if(""===e[1]){const t=e[0];return Fo(decodeURIComponent(t))}{const t=e[0],n=e[1];return ei([decodeURIComponent(t),"?"+n])}}{const t=e[0];return Fo(decodeURIComponent(t))}}}},ei((null!=bu("#",e)?yr(e,1,e.length-1):1===t&&(null!=Cu("#",e)||null!=Cu("#/",e))?"":e).split("/")))}const Eu=Ls(e=>{const t=Zs(t=>{const n=wo(e.onUrlChanged,e=>{});!function(e,t,n){t(Iu(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(wo(e.hashMode,1),n)});if(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0){const e="hashchange",n=e=>{t(e)},r=void 0,o=Xs(()=>pu(r),[r]),i=Xs(()=>mu(r),[r]),s=Xs(()=>e=>{n(e)},[n]);Fs(Zs(()=>(null==o?window.addEventListener(e,s):window.addEventListener(e,s,o),Us(()=>{null==i?window.removeEventListener(e,s):window.removeEventListener(e,s,i)}))))}else{const e="popstate",n=t,r=void 0,o=Xs(()=>pu(r),[r]),i=Xs(()=>mu(r),[r]),s=Xs(()=>e=>{n(e)},[n]);Fs(Zs(()=>(null==o?window.addEventListener(e,s):window.addEventListener(e,s,o),Us(()=>{null==i?window.removeEventListener(e,s):window.removeEventListener(e,s,i)}))))}const n="CUSTOM_NAVIGATION_EVENT",r=t,o=Xs(()=>pu(void 0),[void 0]),i=Xs(()=>mu(void 0),[void 0]),s=Xs(()=>e=>{r(e)},[r]);Fs(Zs(()=>(null==o?window.addEventListener(n,s):window.addEventListener(n,s,o),Us(()=>{null==i?window.removeEventListener(n,s):window.removeEventListener(n,s,i)}))));const a=e.application;return null==a?null:a},void 0,Tu,ku);var ku,Tu;function Ou(e){try{const t=new URLSearchParams(e);return Ei(_i(()=>Di(e=>[e[0],e[1]],t.entries())))}catch(e){return}}class Au extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Autodev","Test","Prod","Sandbox"]}}const Mu=document.getElementById("workflows-app"),Pu=Mu.getAttribute("data-identity-url"),Nu=Mu.getAttribute("data-backend-url"),Du=ei(["workflows","app"]),Ru=ei(["workflows","embed","v1.0","app"]);class Bu extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Embedded","Standalone","Unknown"]}}function zu(e){switch(e.tag){case 0:return Su(Ru,2);case 1:return Su(Du,2);default:return Su(Ru,2)}}const Lu=function(e){const t=ei(e.split("."));let n;switch(n=Go(t)?4:"autodev-partner"===Wo(t)?0:"test-partner"===Wo(t)?1:"partner"===Wo(t)?2:"sandbox-partner"===Wo(t)?3:4,n){case 0:return new ia(0,new Au(0));case 1:return new ia(0,new Au(1));case 2:return new ia(0,new Au(2));case 3:return new ia(0,new Au(3));case 4:return new ia(1,"Invalid environment")}}(Dc.create(Nu).host);function ju(e,t,n){return 1===n.tag?t(n.fields[0]):e(n.fields[0])}function Uu(e,t){return null==t?new ia(1,e):new ia(0,po(t))}function Fu(e,t){return 1===t.tag?e:t.fields[0]}class Gu{constructor(){}}function Hu(e,t){return new ia(0,t)}function Wu(e,t){return t}function Vu(e,t,n){return sa(n,t)}new Gu;class qu{constructor(){}}function Yu(e,t){return oa.Return(Hu(0,t))}function Xu(e,t){return oa.Delay(t)}new qu;class Zu extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class Ju extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Header"]}}class Ku extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Empty","Text","Binary","Form"]}}class Qu extends er{constructor(e,t,n,r,o,i,s){super(),this.url=e,this.method=t,this.headers=n,this.withCredentials=r,this.overridenMimeType=o,this.overridenResponseType=i,this.content=s}}class el extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class tl extends er{constructor(e,t,n,r,o){super(),this.statusCode=0|e,this.responseText=t,this.responseType=n,this.responseHeaders=r,this.content=o}}function nl(e){return new Ju(0,"Content-Type",e)}const rl=new Qu("",new Zu(0),jo(),!1,void 0,void 0,new Ku(0));new tl(0,"","",yc(),new el(0,""));function ol(e,t){return pr(t)?[t]:function(e,t,n,r){if(r="number"==typeof r?r:0,(n="number"==typeof n?n:void 0)&&n<0)throw new Error("Count cannot be less than zero");if(0===n)return[];const o=1==(1&r),i=2==(2&r);t=(t=(t=t||[]).filter(e=>e).map(Wn)).length>0?t:["\\s"];const s=[],a=new RegExp(t.join("|"),"g");let c=!0,u=0;do{const t=a.exec(e);if(null===t){const t=i?e.substring(u).trim():e.substring(u);(!o||t.length>0)&&s.push(t),c=!1}else{const r=i?e.substring(u,t.index).trim():e.substring(u,t.index);(!o||r.length>0)&&(null!=n&&s.length+1===n?(s.push(i?e.substring(u).trim():e.substring(u)),c=!1):s.push(r)),u=a.lastIndex}}while(c);return s}(t,[e],null,0)}function il(e){return new Qu(e,rl.method,rl.headers,rl.withCredentials,rl.overridenMimeType,rl.overridenResponseType,rl.content)}function sl(e,t){return new Qu(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.content)}function al(e,t){return new Qu(t.url,t.method,ni(t.headers,Fo(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.content)}function cl(e,t){return new Qu(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,e)}function ul(e){return ma(t=>{const n=new XMLHttpRequest;n.open(function(e){switch(e.tag){case 1:return"POST";case 3:return"PATCH";case 2:return"PUT";case 4:return"DELETE";case 6:return"OPTIONS";case 5:return"HEAD";default:return"GET"}}(e.method),e.url),n.onreadystatechange=()=>{let e,r,o,i,s,a;4===n.readyState&&t[0]((r=n.responseType,e=""===r||"text"===r?n.responseText:"",o=0|n.status,i=n.responseType,a=n.responseType,s=""===a||"text"===a?new el(0,n.responseText):new el("arraybuffer"===a?2:"blob"===a?1:3,n.response),new tl(o,e,i,function(e){const t=bo();return fc(t,rc(t,e))}(function(e,t,n){const r=[];for(let n=0;n<=t.length-1;n++){const o=e(t[n]);if(null!=o){const e=po(o);r.push(e)}}return"function"==typeof n?Io(e=>e,r,n):r}(e=>{const t=ei(ol(":",e));return Go(t)?void 0:[Wo(t).toLocaleLowerCase(),gr(":",qo(t)).trim()]},ol("\r\n",n.getAllResponseHeaders()))),s)))};const r=nn(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{r.Dispose()}n.withCredentials=e.withCredentials;const o=e.overridenMimeType;null==o||n.overrideMimeType(o);const i=e.overridenResponseType;null==i||(1===i.tag?n.responseType="blob":2===i.tag?n.responseType="arraybuffer":n.responseType="text");const s=[e.method,e.content];0===s[0].tag?n.send(ho(void 0)):1===s[1].tag||3===s[1].tag||2===s[1].tag?n.send(ho(s[1].fields[0])):n.send(ho(void 0))})}const ll=0,fl=1,dl=2,$l=3,hl=4;function pl(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 ml(e,t=ll){const n={},r=t;function o(e){throw new Error("Cannot infer key and value of "+String(e))}function i(e,t,r){e=function(e,t){switch(t){case fl:return e.charAt(0).toLowerCase()+e.slice(1);case dl:return pl(e,"_");case $l:return pl(e,"_").toUpperCase();case hl:return pl(e,"-");case ll:default:return e}}(e,t),n[e]=r}for(let t of e){let e=ll;if(null==t&&o(t),t instanceof Yn){const n=t.cases()[t.tag];t=0===t.fields.length?n:[n].concat(t.fields),e=r}if(Array.isArray(t))switch(t.length){case 0:o(t);break;case 1:i(t[0],e,!0);break;case 2:const n=t[1];i(t[0],e,n);break;default:i(t[0],e,t.slice(1))}else"string"==typeof t?i(t,e,!0):o(t)}return n}function gl(e,t,n){return!!e.has(t)&&(n.contents=e.get(t),!0)}function wl(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}class yl extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class vl extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class _l{constructor(){this.cache=new Map([])}}function bl(){return new _l}bl(),bl();function Cl(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function Sl(e,t){switch(e.tag){case 2:return function(e,t,n,r,o=0){if("string"==typeof e){const n=e;e=Hn(t,null!=r?r:0),t=n,r=void 0}if("function"==typeof n)return r=null==r?-1:r,t.substring(0,o)+t.substring(o).replace(e,(function(){let e=arguments[0];if(r){r--;const t=[],o=arguments.length,i="string"!=typeof arguments[o-1];let s=i?o-3:o-2;for(let e=0;e<s;e++)t.push(arguments[e]);t.index=arguments[s++],t.input=arguments[s++],i&&(t.groups=arguments[s]),e=n(t)}return e}));if(n=n.replace(/\$0/g,e=>"$&").replace(/\${([^}]+)}/g,"$<$1>"),null!=r){let i;const s=t.substring(o),a=Vn(e,s),c=Vn.length>r?(i=a[r-1],s.substring(0,i.index+i[0].length)):s;return t.substring(0,o)+c.replace(e,n)+t.substring(o+c.length)}return t.replace(e,n)}(Cl(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return Cl(t)}}function xl(e,t){Il(t);const n=new Date(e);return n.offset=null!=t?t:-6e4*(new Date).getTimezoneOffset(),n}function Il(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.")}}function El(e,t){try{return t.contents=function(e){const[t,n]=Bn(e),r=null==n?-6e4*t.getTimezoneOffset():"Z"===n?0:6e4*n;return xl(t.getTime(),r)}(e),!0}catch(e){return!1}}Symbol.toStringTag,Symbol.iterator;class kl{constructor(e){this.k=e}}function Tl(e){return new kl(e)}function Ol(e){return e.k}class Al extends kl{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=0|r}}function Ml(e,t,n,r){return new Al(e,t,n,r)}function Pl(e){return e.left}function Nl(e){return e.right}function Dl(e){return e.h}function Rl(e){return function e(t,n){e:for(;;){const r=t,o=n;if(null!=r){const i=r;if(i instanceof Al){t=Pl(i),n=e(Nl(i),o+1);continue e}return o+1|0}return 0|o}}(e,0)}function Bl(e,t,n){let r;if(null!=e){const t=e;r=t instanceof Al?Dl(t):1}else r=0;let o;if(null!=n){const e=n;o=e instanceof Al?Dl(e):1}else o=0;const i=0|(r<o?o:r);return 0===i?Tl(t):Ml(t,e,n,i+1)}function zl(e,t,n){let r,o,i,s,a;if(null!=e){const t=e;a=t instanceof Al?Dl(t):1}else a=0;let c;if(null!=n){const e=n;c=e instanceof Al?Dl(e):1}else c=0;if(c>a+2){const i=po(n);if(i instanceof Al){if(r=Pl(i),(null!=r?(o=r,o instanceof Al?Dl(o):1):0)>a+1){const n=po(Pl(i));if(n instanceof Al)return Bl(Bl(e,t,Pl(n)),Ol(n),Bl(Nl(n),Ol(i),Nl(i)));throw new Error("internal error: Set.rebalance")}return Bl(Bl(e,t,Pl(i)),Ol(i),Nl(i))}throw new Error("internal error: Set.rebalance")}if(a>c+2){const r=po(e);if(r instanceof Al){if(i=Nl(r),(null!=i?(s=i,s instanceof Al?Dl(s):1):0)>c+1){const e=po(Nl(r));if(e instanceof Al)return Bl(Bl(Pl(r),Ol(r),Pl(e)),Ol(e),Bl(Nl(e),t,n));throw new Error("internal error: Set.rebalance")}return Bl(Pl(r),Ol(r),Bl(Nl(r),t,n))}throw new Error("internal error: Set.rebalance")}return Bl(e,t,n)}function Ll(e,t,n){if(null!=n){const r=n,o=0|e.Compare(t,Ol(r));if(r instanceof Al)return o<0?zl(Ll(e,t,Pl(r)),Ol(r),Nl(r)):0===o?n:zl(Pl(r),Ol(r),Ll(e,t,Nl(r)));{const o=0|e.Compare(t,Ol(r));return o<0?Ml(t,void 0,n,2):0===o?n:Ml(t,n,void 0,2)}}return Tl(t)}function jl(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const s=i,a=0|r.Compare(o,Ol(s));if(s instanceof Al){if(a<0){e=r,t=o,n=Pl(s);continue e}if(0===a)return!0;e=r,t=o,n=Nl(s);continue e}return 0===a}return!1}}function Ul(e,t){e:for(;;){const n=e,r=t;if(null!=r){const o=r;if(o instanceof Al){Ul(n,Pl(o)),n(Ol(o)),e=n,t=Nl(o);continue e}n(Ol(o))}break}}class Fl extends er{constructor(e,t){super(),this.stack=e,this.started=t}}function Gl(e){e:for(;;){const t=e;if(Go(t))return jo();{const n=Wo(t),r=qo(t);if(null!=n){const o=n;if(o instanceof Al){e=Qo([Pl(o),Tl(Ol(o)),Nl(o)],r);continue e}return t}e=r;continue e}}}function Hl(e){return new Fl(Gl(Fo(e)),!1)}function Wl(e){if(e.started){const t=e.stack;if(Go(t))return function(){throw new Error("Enumeration already started")}();if(null!=Wo(t)){return Ol(Wo(t))}throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function Vl(e){let t=Hl(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>Wl(t),"System.Collections.IEnumerator.get_Current":()=>Wl(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Go(t))return!1;if(null!=Wo(t)){if(Wo(t)instanceof Al)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=Gl(qo(t)),!Go(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!Go(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=Hl(e)},Dispose(){}}}function ql(e,t,n){return null==t?null==n?0:-1:null==n?1:0|function(e,t,n){e:for(;;){const r=e,o=t,i=n,s=[o,i];if(Go(s[0]))return Go(s[1])?0:-1;if(Go(s[1]))return 1;if(null!=Wo(s[1]))if(null!=Wo(s[0])){const a=Wo(s[0]),c=Wo(s[1]);if(a instanceof Al)if(null==Pl(a)){if(!(c instanceof Al)){const o=0|r.Compare(Ol(a),Ol(c));if(0!==o)return 0|o;e=r,t=Uo(Nl(a),qo(s[0])),n=Uo(void 0,qo(s[1]));continue e}if(null==Pl(c)){const o=0|r.Compare(Ol(a),Ol(c));if(0!==o)return 0|o;e=r,t=Uo(Nl(a),qo(s[0])),n=Uo(Nl(c),qo(s[1]));continue e}{const s=[o,i];let a,c,u,l,f;switch(Go(s[0])?Go(s[1])?a=2:null!=Wo(s[1])?(a=1,l=qo(s[1]),f=Wo(s[1])):a=2:null!=Wo(s[0])?(a=0,c=qo(s[0]),u=Wo(s[0])):Go(s[1])?a=2:null!=Wo(s[1])?(a=1,l=qo(s[1]),f=Wo(s[1])):a=2,a){case 0:if(u instanceof Al){e=r,t=Qo([Pl(u),Ml(Ol(u),void 0,Nl(u),0)],c),n=i;continue e}e=r,t=Qo([void 0,Tl(Ol(u))],c),n=i;continue e;case 1:if(f instanceof Al){e=r,t=o,n=Qo([Pl(f),Ml(Ol(f),void 0,Nl(f),0)],l);continue e}e=r,t=o,n=Qo([void 0,Tl(Ol(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const s=[o,i];let a,c,u,l,f;switch(Go(s[0])?Go(s[1])?a=2:null!=Wo(s[1])?(a=1,l=qo(s[1]),f=Wo(s[1])):a=2:null!=Wo(s[0])?(a=0,c=qo(s[0]),u=Wo(s[0])):Go(s[1])?a=2:null!=Wo(s[1])?(a=1,l=qo(s[1]),f=Wo(s[1])):a=2,a){case 0:if(u instanceof Al){e=r,t=Qo([Pl(u),Ml(Ol(u),void 0,Nl(u),0)],c),n=i;continue e}e=r,t=Qo([void 0,Tl(Ol(u))],c),n=i;continue e;case 1:if(f instanceof Al){e=r,t=o,n=Qo([Pl(f),Ml(Ol(f),void 0,Nl(f),0)],l);continue e}e=r,t=o,n=Qo([void 0,Tl(Ol(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(c instanceof Al)){const o=0|r.Compare(Ol(a),Ol(c));if(0!==o)return 0|o;e=r,t=qo(s[0]),n=qo(s[1]);continue e}if(null==Pl(c)){const o=0|r.Compare(Ol(a),Ol(c));if(0!==o)return 0|o;e=r,t=Uo(void 0,qo(s[0])),n=Uo(Nl(c),qo(s[1]));continue e}{const s=[o,i];let a,c,u,l,f;switch(Go(s[0])?Go(s[1])?a=2:null!=Wo(s[1])?(a=1,l=qo(s[1]),f=Wo(s[1])):a=2:null!=Wo(s[0])?(a=0,c=qo(s[0]),u=Wo(s[0])):Go(s[1])?a=2:null!=Wo(s[1])?(a=1,l=qo(s[1]),f=Wo(s[1])):a=2,a){case 0:if(u instanceof Al){e=r,t=Qo([Pl(u),Ml(Ol(u),void 0,Nl(u),0)],c),n=i;continue e}e=r,t=Qo([void 0,Tl(Ol(u))],c),n=i;continue e;case 1:if(f instanceof Al){e=r,t=o,n=Qo([Pl(f),Ml(Ol(f),void 0,Nl(f),0)],l);continue e}e=r,t=o,n=Qo([void 0,Tl(Ol(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{Wo(s[1]);const a=[o,i];let c,u,l,f,d;switch(Go(a[0])?Go(a[1])?c=2:null!=Wo(a[1])?(c=1,f=qo(a[1]),d=Wo(a[1])):c=2:null!=Wo(a[0])?(c=0,u=qo(a[0]),l=Wo(a[0])):Go(a[1])?c=2:null!=Wo(a[1])?(c=1,f=qo(a[1]),d=Wo(a[1])):c=2,c){case 0:if(l instanceof Al){e=r,t=Qo([Pl(l),Ml(Ol(l),void 0,Nl(l),0)],u),n=i;continue e}e=r,t=Qo([void 0,Tl(Ol(l))],u),n=i;continue e;case 1:if(d instanceof Al){e=r,t=o,n=Qo([Pl(d),Ml(Ol(d),void 0,Nl(d),0)],f);continue e}e=r,t=o,n=Qo([void 0,Tl(Ol(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==Wo(s[0])){e=r,t=qo(s[0]),n=qo(s[1]);continue e}{Wo(s[0]);const a=[o,i];let c,u,l,f,d;switch(Go(a[0])?Go(a[1])?c=2:null!=Wo(a[1])?(c=1,f=qo(a[1]),d=Wo(a[1])):c=2:null!=Wo(a[0])?(c=0,u=qo(a[0]),l=Wo(a[0])):Go(a[1])?c=2:null!=Wo(a[1])?(c=1,f=qo(a[1]),d=Wo(a[1])):c=2,c){case 0:if(l instanceof Al){e=r,t=Qo([Pl(l),Ml(Ol(l),void 0,Nl(l),0)],u),n=i;continue e}e=r,t=Qo([void 0,Tl(Ol(l))],u),n=i;continue e;case 1:if(d instanceof Al){e=r,t=o,n=Qo([Pl(d),Ml(Ol(d),void 0,Nl(d),0)],f);continue e}e=r,t=o,n=Qo([void 0,Tl(Ol(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,Fo(t),Fo(n))}function Yl(e,t,n){let r=n;Ul(e=>{t[r]=e,r=r+1|0},e)}function Xl(e,t){return ko((t,n)=>Ll(e,n,t),void 0,t)}function Zl(e,t){if(Jt(t))return Xl(e,t);if(t instanceof Mo)return function(e,t){return Zo((t,n)=>Ll(e,n,t),void 0,t)}(e,t);{const n=nn(t);try{return function(e,t,n){for(;;){const r=e,o=t,i=n;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;e=r,t=Ll(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i}}(e,void 0,n)}finally{n.Dispose()}}}class Jl{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){let t,n=0;const r=nn(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=0|(t=0|$n(e),(n<<1)+t+631)}}finally{r.Dispose()}return 0|Math.abs(n)}(this)}Equals(e){return e instanceof Jl&&0===ql(Ql(this),ef(this),ef(e))}toString(){return"set ["+gr("; ",Di(e=>qn(e),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(e){return Array.from(this)}CompareTo(e){return 0|ql(Ql(this),ef(this),ef(e))}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("ReadOnlyCollection")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return jl(Ql(this),e,ef(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){Yl(ef(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|tf(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|tf(this)}GetEnumerator(){return Vl(ef(this))}[Symbol.iterator](){return rn(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return Vl(ef(this))}get size(){return 0|tf(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 nf(this,e)}keys(){return Di(e=>e,this)}values(){return Di(e=>e,this)}entries(){return Di(e=>[e,e],this)}forEach(e,t){const n=this;Pi(t=>{e(t,t,n)},n)}}function Kl(e,t){return new Jl(e,t)}function Ql(e){return e.comparer}function ef(e){return e.tree}function tf(e){return Rl(ef(e))}function nf(e,t){return jl(Ql(e),t,ef(e))}function rf(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 of(e,t){const n=2===t.tag?rf(t.fields[0],t.fields[1],!0):1===t.tag?rf(t.fields[0],t.fields[1],!1)+"\nReason: "+t.fields[2]:3===t.tag?rf(t.fields[0],t.fields[1],!0):4===t.tag?rf(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"+gr("\n\n",t.fields[0]):6===t.tag?"The following `failure` occurred with the decoder: "+t.fields[0]:rf(t.fields[0],t.fields[1],!1);return 7===t.tag?n:"Error at: `"+e+"`\n"+n}function sf(e,t,n){const r=t(e,n);if(1===r.tag){const e=r.fields[0];return new ia(1,of(e[0],e[1]))}return new ia(0,r.fields[0])}function af(e,t){try{return sf("$",e,JSON.parse(t))}catch(e){if(e instanceof SyntaxError)return new ia(1,"Given an invalid JSON: "+e.message);throw e}}const cf=e=>t=>{const n=e,r=t;if("number"==typeof r){const e=r;return isFinite(e)&&Math.floor(e)===e?-128<=e&&e<=127?new ia(0,(e+128&255)-128):new ia(1,[n,new yl(1,"a sbyte",e,"Value was either too large or too small for a sbyte")]):new ia(1,[n,new yl(1,"a sbyte",e,"Value is not an integral value")])}if("string"==typeof r){let e,t=0;return e=[je(r,511,!1,8,new tr(()=>t,e=>{t=0|e})),t],e[0]?new ia(0,e[1]):new ia(1,[n,new yl(0,"a sbyte",r)])}return new ia(1,[n,new yl(0,"a sbyte",r)])},uf=e=>t=>{const n=e,r=t;if("number"==typeof r){const e=r;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=255?new ia(0,255&e):new ia(1,[n,new yl(1,"a byte",e,"Value was either too large or too small for a byte")]):new ia(1,[n,new yl(1,"a byte",e,"Value is not an integral value")])}if("string"==typeof r){let e,t=0;return e=[je(r,511,!0,8,new tr(()=>t,e=>{t=e})),t],e[0]?new ia(0,e[1]):new ia(1,[n,new yl(0,"a byte",r)])}return new ia(1,[n,new yl(0,"a byte",r)])},lf=e=>t=>{const n="an int16",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?-32768<=e&&e<=32767?new ia(0,(e+32768&65535)-32768):new ia(1,[r,new yl(1,n,e,"Value was either too large or too small for "+n)]):new ia(1,[r,new yl(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[je(o,511,!1,16,new tr(()=>t,e=>{t=0|e})),t],e[0]?new ia(0,e[1]):new ia(1,[r,new yl(0,n,o)])}return new ia(1,[r,new yl(0,n,o)])},ff=e=>t=>{const n="an uint16",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=65535?new ia(0,65535&e):new ia(1,[r,new yl(1,n,e,"Value was either too large or too small for "+n)]):new ia(1,[r,new yl(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[je(o,511,!0,16,new tr(()=>t,e=>{t=e})),t],e[0]?new ia(0,e[1]):new ia(1,[r,new yl(0,n,o)])}return new ia(1,[r,new yl(0,n,o)])},df=e=>t=>{const n=e,r=t;if("number"==typeof r){const e=r;return isFinite(e)&&Math.floor(e)===e?-2147483648<=e&&e<=2147483647?new ia(0,~~e):new ia(1,[n,new yl(1,"an int",e,"Value was either too large or too small for an int")]):new ia(1,[n,new yl(1,"an int",e,"Value is not an integral value")])}if("string"==typeof r){let e,t=0;return e=[je(r,511,!1,32,new tr(()=>t,e=>{t=0|e})),t],e[0]?new ia(0,e[1]):new ia(1,[n,new yl(0,"an int",r)])}return new ia(1,[n,new yl(0,"an int",r)])},$f=e=>t=>{const n="an uint32",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=4294967295?new ia(0,e>>>0):new ia(1,[r,new yl(1,n,e,"Value was either too large or too small for "+n)]):new ia(1,[r,new yl(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[je(o,511,!0,32,new tr(()=>t,e=>{t=e})),t],e[0]?new ia(0,e[1]):new ia(1,[r,new yl(0,n,o)])}return new ia(1,[r,new yl(0,n,o)])};function hf(e,t){if("string"==typeof t){let r,o=Rn(-621355968e5,0);return r=[zn(t,new tr(()=>o,e=>{o=e})),o],r[0]?new ia(0,1===(n=r[1]).kind?n:Rn(n.getTime(),1)):new ia(1,[e,new yl(0,"a datetime",t)])}return new ia(1,[e,new yl(0,"a datetime",t)]);var n}function pf(e,t){if("string"==typeof t){let n,r=xl(-621355968e5,0);return n=[El(t,new tr(()=>r,e=>{r=e})),r],n[0]?new ia(0,n[1]):new ia(1,[e,new yl(0,"a datetimeoffset",t)])}return new ia(1,[e,new yl(0,"a datetime",t)])}function mf(e,t,n,r){let o;const i=n+".["+cn(e)+"]";if(Array.isArray(r)){const n=r;return e<n.length?t(i,n[e]):new ia(1,[i,new yl(5,"a longer array. Need index `"+cn(e)+"` but there are only `"+(o=n.length,cn(o)+"` entries"),r)])}return new ia(1,[i,new yl(0,"an array",r)])}function gf(e,t,n){if(Array.isArray(n)){let r=-1;return sa(e=>Jo(e),ko((n,o)=>{if(r=r+1|0,0===n.tag){const i=e(t+".["+cn(r)+"]",o);return 0===i.tag?new ia(0,Uo(i.fields[0],n.fields[0])):new ia(1,i.fields[0])}return n},new ia(0,jo()),n))}return new ia(1,[t,new yl(0,"a list",n)])}function wf(e,t,n){if(Array.isArray(n)){let r=-1;const o=n;return ko((n,o)=>{if(r=r+1|0,0===n.tag){const i=n.fields[0],s=e(t+".["+cn(r)+"]",o);return 0===s.tag?(i[r]=s.fields[0],new ia(0,i)):new ia(1,s.fields[0])}return n},new ia(0,xo(new Array(o.length),0,o.length,null)),o)}return new ia(1,[t,new yl(0,"an array",n)])}function yf(e,t,n){return new ia(0,e)}function vf(e,t,n,r){const o=t(n,r);return 0===o.tag?e(o.fields[0],n,r):new ia(1,o.fields[0])}function _f(e,t,n,r){const o=t(n,r);return 1===o.tag?new ia(1,o.fields[0]):new ia(0,e(o.fields[0]))}function bf(e,t){let n;const r=e;return n=e=>t=>mf(0,r,e,t),e=>r=>vf(xn(3,e=>{let n;const r=t;return n=e=>t=>mf(1,r,e,t),t=>r=>vf((t,n,r)=>yf([e,t]),xn(2,n),t,r)}),xn(2,n),e,r)}function Cf(e){return dc(e)}function Sf(e){return Kl(t={Compare:(e,t)=>_n(e,t)},Zl(t,e));var t}function xf(e,t,n,r){let o,i;return t.length!==r.length?new ia(1,[n,new yl(6,(o=0|r.length,i=0|t.length,lr(ar("Expected %i %s but got %i"))(i)(e)(o)))]):Ao(xn(3,Tn(e=>t=>r=>0===r.tag?sa(e=>Uo(e,r.fields[0]),t(n,e)):r,[0,[0,2],0])),r,t,new ia(0,jo()))}function If(e,t,n,r,o,i){const s=(a=e=>qr(e)===r,oo(n).find(a));var a;if(null!=s){const n=s;return 0===i.length?new ia(0,fo(n,[])):sa(e=>fo(n,Xo(e)),xf("union fields",Io(n=>kf(e,t,!1,n[1]),lo(n)),o,i))}return new ia(1,[o,new yl(6,"Cannot find case "+r+" in "+Yr(n))])}function Ef(e,t,n,r){const o=new tr(null),i=mc(Yr(r),o,e);let s;if(co(r)){const e=Io(e=>[Sl(t,qr(e)),kf(i,t,!1,e[1])],io(r));s=t=>n=>sa(e=>function(e,t){const n=io(e);if(n.length!==t.length)throw new Error(`Expected an array of length ${n.length} but got ${t.length}`);return null!=e.construct?new e.construct(...t):n.reduce((e,[n,r],o)=>(e[n]=t[o],e),{})}(r,Xo(e)),function(e,t,n){return null===n||Object.getPrototypeOf(n||!1)!==Object.prototype?new ia(1,[t,new yl(0,"an object",n)]):Oo(xn(2,e=>{const r=e[0];return o=>0===o.tag?sa(e=>Uo(e,o.fields[0]),e[1](t+"."+r)(n[r])):o}),e,new ia(0,jo()))}(e,t,n))}else if(ao(r))s=e=>n=>{if("string"==typeof n)return If(i,t,r,n,e,[]);if(Array.isArray(n)){const o=n;return If(i,t,r,o[0],e,o.slice(1,o.length))}return new ia(1,[e,new yl(0,"a string or array",n)])};else{if(!n){let e;const t=Yr(r);throw e=lr(ar("Cannot generate auto decoder for %s. Please pass an extra decoder."))(t),new Error(e)}s=e=>t=>new ia(1,[e,new yl(2,"an extra coder for "+Yr(r),t)])}return o.contents=s,s}function kf(e,t,n,r){let o;const i=Yr(r),s=gc(i,e);if(null==s){if(Xr(r)){const n=kf(e,t,!1,Zr(r));return e=>t=>wf(xn(2,n),e,t)}if(Kr(r)){const e=Yr(eo(r));if("System.SByte"===e)return e=>t=>{const n=r,o=e,i=t,s=cf(o)(i);if(1===s.tag)return new ia(1,s.fields[0]);{const e=s.fields[0];return Ai(e,to(n),{Equals:(e,t)=>e===t,GetHashCode:e=>fn(e)})?new ia(0,ro(n,e.toString())):new ia(1,[o,new yl(1,Yr(n),i,"Unkown value provided for the enum")])}};if("System.Byte"===e)return e=>t=>{const n=r,o=e,i=t,s=uf(o)(i);if(1===s.tag)return new ia(1,s.fields[0]);{const e=s.fields[0];return Ai(e,to(n),{Equals:(e,t)=>e===t,GetHashCode:e=>fn(e)})?new ia(0,ro(n,e.toString())):new ia(1,[o,new yl(1,Yr(n),i,"Unkown value provided for the enum")])}};if("System.Int16"===e)return e=>t=>{const n=r,o=e,i=t,s=lf(o)(i);if(1===s.tag)return new ia(1,s.fields[0]);{const e=s.fields[0];return Ai(e,to(n),{Equals:(e,t)=>e===t,GetHashCode:e=>fn(e)})?new ia(0,ro(n,(a=(a=e)<0&&null!=c&&10!==c?65535+a+1:a).toString(c))):new ia(1,[o,new yl(1,Yr(n),i,"Unkown value provided for the enum")])}var a,c};if("System.UInt16"===e)return e=>t=>{const n=r,o=e,i=t,s=ff(o)(i);if(1===s.tag)return new ia(1,s.fields[0]);{const e=s.fields[0];return Ai(e,to(n),{Equals:(e,t)=>e===t,GetHashCode:e=>fn(e)})?new ia(0,ro(n,e.toString())):new ia(1,[o,new yl(1,Yr(n),i,"Unkown value provided for the enum")])}};if("System.Int32"===e)return e=>t=>{const n=r,o=e,i=t,s=df(o)(i);if(1===s.tag)return new ia(1,s.fields[0]);{const e=s.fields[0];return Ai(e,to(n),{Equals:(e,t)=>e===t,GetHashCode:e=>fn(e)})?new ia(0,ro(n,cn(e))):new ia(1,[o,new yl(1,Yr(n),i,"Unkown value provided for the enum")])}};if("System.UInt32"===e)return e=>t=>{const n=r,o=e,i=t,s=$f(o)(i);if(1===s.tag)return new ia(1,s.fields[0]);{const e=s.fields[0];return Ai(e,to(n),{Equals:(e,t)=>e===t,GetHashCode:e=>fn(e)})?new ia(0,ro(n,e.toString())):new ia(1,[o,new yl(1,Yr(n),i,"Unkown value provided for the enum")])}};{const e=Yr(r),t=fr(ar("Cannot generate auto decoder for %s.\nThoth.Json.Net only support the folluwing enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can't use one of these types, please pass an extra decoder.\n "))(e);return e=>{const n=t(e);return e=>n(e)}}}if(Jr(r)){if(uo(r)){const n=Io(n=>kf(e,t,!1,n),so(r));return e=>t=>Array.isArray(t)?sa(e=>Xo(e),xf("tuple elements",n,e,t)):new ia(1,[e,new yl(0,"an array",t)])}{const i=Yr(Qr(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===i){const n=kf(e,t,!0,Pr(r)[0]);return e=>t=>{return r=xn(2,n),o=e,null==(i=t)?new ia(0,void 0):sa(e=>ho(e),r(o,i));var r,o,i}}if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===i){const n=kf(e,t,!1,Pr(r)[0]);return e=>t=>gf(xn(2,n),e,t)}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===i){const n=kf(e,t,!1,Pr(r)[0]),i=kf(e,t,!1,Pr(r)[1]);let s;const a=ei([e=>t=>function(e,t,n,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new ia(1,[n,new yl(0,"an object",r)]):Mi((o,i)=>{if(0===o.tag){const s=e(n,i);if(0===s.tag){const e=t(n+"."+i,r[i]);return 0===e.tag?new ia(0,Uo([s.fields[0],e.fields[0]],o.fields[0])):new ia(1,e.fields[0])}return new ia(1,s.fields[0])}return o},new ia(0,jo()),Object.keys(r))}(xn(2,n),xn(2,i),e,t),(o=bf(xn(2,n),xn(2,i)),e=>t=>gf(xn(2,o),e,t))]);return s=e=>t=>{return n=e,r=t,((e,t)=>{e:for(;;){const o=e,i=t;if(Go(o))return new ia(1,[n,new yl(7,i)]);{const s=sf(n,xn(2,Wo(o)),r);if(1===s.tag){e=qo(o),t=ni(i,Fo(s.fields[0]));continue e}return new ia(0,s.fields[0])}}})(a,jo());var n,r},e=>t=>_f(e=>Cf(e),xn(2,s),e,t)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===i){const n=kf(e,t,!1,Pr(r)[0]);return e=>t=>{const r=wf(xn(2,n),e,t);return 0===r.tag?new ia(0,Sf(r.fields[0])):new ia(1,r.fields[0])}}return Ef(e,t,n,r)}}return"System.Boolean"===i?e=>t=>{return n=e,"boolean"==typeof(r=t)?new ia(0,r):new ia(1,[n,new yl(0,"a boolean",r)]);var n,r}:"Microsoft.FSharp.Core.Unit"===i?e=>t=>{return n=e,null==(r=t)?new ia(0,void 0):new ia(1,[n,new yl(0,"null",r)]);var n,r}:"System.String"===i?e=>t=>{return n=e,"string"==typeof(r=t)?new ia(0,r):new ia(1,[n,new yl(0,"a string",r)]);var n,r}:"System.SByte"===i?cf:"System.Byte"===i?uf:"System.Int16"===i?lf:"System.UInt16"===i?ff:"System.Int32"===i?df:"System.UInt32"===i?$f:"System.Double"===i?e=>t=>{return n=e,"number"==typeof(r=t)?new ia(0,r):new ia(1,[n,new yl(0,"a float",r)]);var n,r}:"System.Single"===i?e=>t=>{return n=e,"number"==typeof(r=t)?new ia(0,r):new ia(1,[n,new yl(0,"a float32",r)]);var n,r}:"System.DateTime"===i?e=>t=>hf(e,t):"System.DateTimeOffset"===i?e=>t=>pf(e,t):"System.TimeSpan"===i?e=>t=>function(e,t){if("string"==typeof t){let n,r=0;return n=[Tc(t,new tr(()=>r,e=>{r=e})),r],n[0]?new ia(0,n[1]):new ia(1,[e,new yl(0,"a timespan",t)])}return new ia(1,[e,new yl(0,"a timespan",t)])}(e,t):"System.Guid"===i?e=>t=>function(e,t){if("string"==typeof t){let n,r="00000000-0000-0000-0000-000000000000";return n=[_u(t,new tr(()=>r,e=>{r=e})),r],n[0]?new ia(0,n[1]):new ia(1,[e,new yl(0,"a guid",t)])}return new ia(1,[e,new yl(0,"a guid",t)])}(e,t):"System.Object"===i?e=>e=>new ia(0,e):Ef(e,t,n,r)}{const e=s;return t=>n=>e.contents(t)(n)}}function Tf(e){return null!=e?wc((e,t)=>new tr(t[1]),e.Coders):yc()}function Of(e,t,n){const r=wo(e,new vl(0)),o=po(n).ResolveType();return kf(Tf(t),r,!1,o)}function Af(e,t,n,r){return af(xn(2,Of(t,n,r)),e)}function Mf(e){return Xu(0,()=>{const t=oa.Bind(ul(e),e=>oa.Return(new ia(0,e)));return oa.Delay(()=>oa.Bind(t,t=>{let n;const r=t;return 1===r.tag?oa.Return(new ia(1,r.fields[0])):oa.ReturnFrom((n=r.fields[0],429===n.statusCode||n.statusCode>=500?oa.Bind(ul(e),e=>oa.Return(new ia(0,e))):Yu(0,n)))}))})}function Pf(e){return Xu(0,()=>{const t=Mf(sl(new Zu(1),il(function(e){const t=Uc(e);return lr(ar("%s/workflows/public-backend/invites/%s/activate"))(Nu)(t)}(e))));return oa.Delay(()=>oa.Bind(t,e=>{let t;const n=e;return 1===n.tag?oa.Return(new ia(1,n.fields[0])):oa.ReturnFrom((t=n.fields[0],200===t.statusCode?oa.Return(sa(e=>function(e){switch(e.tag){case 1:return new ka(1);case 2:return new ka(2);case 3:return new ka(3);case 4:return new ka(4,Pa(e.fields[0]));default:return new ka(0,Pa(e.fields[0]))}}(e),Af(t.responseText,new vl(1),void 0,{ResolveType:Da}))):oa.Return(new ia(1,"Unexpected response from backend"))))}))})}function Nf(e,t){return Xu(0,()=>{const n=Mf(sl(new Zu(1),il(function(e,t){const n=encodeURIComponent(t),r=Uc(e);return lr(ar("%s/workflows/public-backend/invites/%s/confirm?mfa=%s"))(Nu)(r)(n)}(e,t))));return oa.Delay(()=>oa.Bind(n,e=>{let t;const n=e;return 1===n.tag?oa.Return(new ia(1,n.fields[0])):oa.ReturnFrom((t=n.fields[0],200===t.statusCode?oa.Return(sa(e=>La(e),Af(t.responseText,new vl(1),void 0,{ResolveType:za}))):oa.Return(new ia(1,"Unexpected response from backend"))))}))})}function Df(e){return Pf(e)}function Rf(e,t){let n,r,o,i,s,a,c;switch(e.tag){case 1:{const n=e.fields[0];let r,o;switch(3===n.tag?r=1:0===n.tag||1===n.tag?r=2:0===n.fields[0].tag?(r=0,o=n.fields[0].fields[0]):r=1,r){case 0:{let e,n;switch(o.tag){case 4:e=0,n=o.fields[0];break;case 1:e=1;break;case 2:e=2;break;case 3:e=3;break;default:e=0,n=o.fields[0]}switch(e){case 0:return[new eu(t.InviteToken,n.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new Kc(1),n.CssOverrides),cu()];case 1:return[new eu(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new Kc(2,"We couldn't find this invite. Reach out to your employer to get another one."),t.CssOverrides),cu()];case 2:return[new eu(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new Kc(2,"Your invite has expired. Reach out to your employer to get another one."),t.CssOverrides),cu()];case 3:return[new eu(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new Kc(2,"Your invite has been locked. Try refreshing this page in 30 minutes."),t.CssOverrides),cu()]}}case 1:return[new eu(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new Kc(2,"Oops, looks like something went wrong. Try refreshing this page."),t.CssOverrides),cu()];case 2:return[t,cu()]}}case 2:{const a=e.fields[0];let c,u;switch(3===a.tag?c=1:0===a.tag||1===a.tag?c=2:0===a.fields[0].tag?(c=0,u=a.fields[0].fields[0]):c=1,c){case 0:switch(u.tag){case 2:return[new eu(t.InviteToken,t.MaskedEmail,(n=t.MfaCodeForm,{Error:"That code has expired. You should get another one soon.",Input:n.Input,IsDirty:n.IsDirty,IsTouched:n.IsTouched}),!1,t.CanRetry,t.Ui,t.CssOverrides),fu(new Qc(0))];case 1:return[new eu(t.InviteToken,t.MaskedEmail,(r=t.MfaCodeForm,{Error:"Code doesn't match.",Input:r.Input,IsDirty:r.IsDirty,IsTouched:r.IsTouched}),!1,t.CanRetry,t.Ui,t.CssOverrides),cu()];case 4:return[new eu(t.InviteToken,t.MaskedEmail,(o=t.MfaCodeForm,{Error:"Looks like the code hasn't been issued. Reach out to your employer.",Input:o.Input,IsDirty:o.IsDirty,IsTouched:o.IsTouched}),!1,t.CanRetry,t.Ui,t.CssOverrides),cu()];case 3:return[new eu(t.InviteToken,t.MaskedEmail,(i=t.MfaCodeForm,{Error:"Invite has been locked. Check back in 30 minutes.",Input:i.Input,IsDirty:i.IsDirty,IsTouched:i.IsTouched}),!1,t.CanRetry,t.Ui,t.CssOverrides),cu()];default:return[t,(s=zu(new Bu(1)),Fo(e=>{xu(Fo(s+function(e){const t=gr("&",ri(e=>gr("=",[encodeURIComponent(e[0]),encodeURIComponent(e[1])]),e));return""===t?"":"?"+t}(Fo(["code",u.fields[0].AuthCode]))),1,2)}))]}case 1:return[new eu(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,!1,t.CanRetry,new Kc(2,"Oops, looks like something went wrong. Please try again."),t.CssOverrides),cu()];case 2:return[new eu(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,!0,t.CanRetry,t.Ui,t.CssOverrides),cu()]}}case 3:{const n=e.fields[0];return[(a=Bc(n),1===a.tag?new eu(t.InviteToken,t.MaskedEmail,{Error:"Code should contain exactly 6 digits.",Input:n,IsDirty:!0,IsTouched:t.MfaCodeForm.IsTouched},t.IsValidationPending,t.CanRetry,t.Ui,t.CssOverrides):new eu(t.InviteToken,t.MaskedEmail,{Error:void 0,Input:n,IsDirty:!0,IsTouched:t.MfaCodeForm.IsTouched},t.IsValidationPending,t.CanRetry,t.Ui,t.CssOverrides)),cu()]}case 4:return[new eu(t.InviteToken,t.MaskedEmail,(c=t.MfaCodeForm,{Error:c.Error,Input:c.Input,IsDirty:c.IsDirty,IsTouched:!0}),t.IsValidationPending,t.CanRetry,t.Ui,t.CssOverrides),cu()];default:return[t,fu(new Qc(1,bc(Df(t.InviteToken),[])))]}}function Bf(e,t){return oa.Delay(()=>oa.Bind(ga(e),()=>oa.ReturnFrom(t)))}class zf{constructor(e,t){const n=new tr(null);this.comparer=t,n.contents=this,this.hashMap=new Map([]),this["init@8-1"]=1;const r=nn(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();Wf(n.contents,e[0],e[1])}}finally{r.Dispose()}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(e){return Array.from(this)}"System.Collections.IEnumerable.GetEnumerator"(){return nn(this)}GetEnumerator(){return nn(bi(this.hashMap.values()))}[Symbol.iterator](){return rn(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(e){Wf(this,e[0],e[1])}"System.Collections.Generic.ICollection`1.Clear"(){Uf(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(e){const t=jf(this,e[0]);let n;switch(n=null!=t&&gn(t[1],e[1])?0:1,n){case 0:return!0;case 1:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){Ni((n,r)=>{e[t+n]=r},this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|Ff(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(e){const t=this,n=jf(t,e[0]);return null!=n&&(gn(n[1],e[1])&&qf(t,e[0]),!0)}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(e,t){Wf(this,e,t)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(e){return Vf(this,e)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(e){return Gf(this,e)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(e,t){Hf(this,e,t)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const e=this;return Ii(_i(()=>Di(e=>e[0],e)))}"System.Collections.Generic.IDictionary`2.Remove2B595"(e){return qf(this,e)}"System.Collections.Generic.IDictionary`2.TryGetValue23A0B95A"(e,t){const n=jf(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 Ii(_i(()=>Di(e=>e[1],e)))}get size(){return 0|Ff(this)}clear(){Uf(this)}delete(e){return qf(this,e)}entries(){return Di(e=>[e[0],e[1]],this)}get(e){return Gf(this,e)}has(e){return Vf(this,e)}keys(){return Di(e=>e[0],this)}set(e,t){return Hf(this,e,t),this}values(){return Di(e=>e[1],this)}forEach(e,t){const n=this;Pi(t=>{e(t[1],t[0],n)},n)}}function Lf(e,t){const n=0|e.comparer.GetHashCode(t);let r,o=null;return r=[gl(e.hashMap,n,new tr(()=>o,e=>{o=e})),o],r[0]?[!0,n,r[1].findIndex(n=>e.comparer.Equals(t,n[0]))]:[!1,n,-1]}function jf(e,t){const n=Lf(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return wl(e.hashMap,n[1])[n[2]];case 1:return}}function Uf(e){e.hashMap.clear()}function Ff(e){let t=0,n=nn(e.hashMap.values());try{for(;n["System.Collections.IEnumerator.MoveNext"]();){t=t+n["System.Collections.Generic.IEnumerator`1.get_Current"]().length|0}}finally{n.Dispose()}return 0|t}function Gf(e,t){const n=jf(e,t);if(null!=n)return n[1];throw new Error("The item was not found in collection")}function Hf(e,t,n){const r=Lf(e,t);let o;switch(o=r[0]&&r[2]>-1?0:1,o){case 0:wl(e.hashMap,r[1])[r[2]]=[t,n];break;case 1:if(r[0]){wl(e.hashMap,r[1]).push([t,n])}else e.hashMap.set(r[1],[[t,n]])}}function Wf(e,t,n){const r=Lf(e,t);let o;switch(o=r[0]&&r[2]>-1?0:1,o){case 0:{const e=$r("An item with the same key has already been added. Key: {0}",t);throw new Error(e)}case 1:if(r[0]){wl(e.hashMap,r[1]).push([t,n])}else e.hashMap.set(r[1],[[t,n]])}}function Vf(e,t){const n=Lf(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function qf(e,t){const n=Lf(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return wl(e.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}class Yf extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProfileId"]}}function Xf(e){return new Yf(0,e)}function Zf(e){return e.fields[0]}class Jf extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessStepId"]}}class Kf extends er{constructor(e,t,n){super(),this.Id=e,this.DisplayName=t,this.ComponentTagName=n}}const Qf=new Kf(new Jf(0,"personal-details"),"Personal Details","apollo-personal-details-app"),ed=new Kf(new Jf(0,"emergency-contacts"),"Emergency Contacts","apollo-emergency-contacts-app"),td=new Kf(new Jf(0,"bank"),"Bank","bank-component"),nd=new Kf(new Jf(0,"tax"),"Tax","tax-component"),rd=new Kf(new Jf(0,"super"),"Super","super-selection-app"),od=new Kf(new Jf(0,"app-workplace-linking"),"App Workplace Linking","workplace-link"),id=new Jf(0,"benefits-onboarding"),sd=new Kf(id,"Benefits","benefits-onboarding");function ad(e){return new Jf(0,e)}function cd(e){return e.fields[0]}class ud extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessConfigId"]}}class ld extends er{constructor(e,t,n){super(),this.Id=e,this.Name=t,this.Steps=n}}const fd=new ld(new ud(0,vu("00000000-0000-0000-0000-000000000000")),"onboarding-default",ei([td,nd,rd])),dd=new ld(new ud(0,vu("00000000-0000-0000-0000-000000000001")),"PEBTS",ei([Qf,ed,td,nd,rd])),$d=new ld(new ud(0,vu("00000000-0000-0000-0000-000000000002")),"PS",ei([Qf,rd])),hd=new ld(new ud(0,vu("00000000-0000-0000-0001-000000000000")),"App Workplace Linking",Fo(od)),pd=new zf([[fd.Id,fd],[dd.Id,dd],[$d.Id,$d],[hd.Id,hd]],{Equals:(e,t)=>gn(e,t),GetHashCode:e=>hn(e)});function md(e){return e.fields[0]}class gd extends er{constructor(e,t){super(),this.ActivatedDates=e,this.CompletedSteps=t}}class wd extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}class yd extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessInstanceId"]}}function vd(e){return new yd(0,e)}function _d(e){return e.fields[0]}class bd extends er{constructor(e,t){super(),this.Name=e,this.Value=t}}class Cd extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TagName"]}}class Sd extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TagValue"]}}function xd(e,t){return Wu(0,()=>{return aa(e=>{return Vu(0,mr(n=t)?new ia(1,"Tag value is empty"):n.length<100?new ia(0,new Sd(0,n)):new ia(1,"Tag value is too long"),t=>new bd(e,t));var n},mr(n=e)?new ia(1,"Tag name is empty"):n.length<100?new ia(0,new Cd(0,n)):new ia(1,"Tag name is too long"));var n})()}class Id extends er{constructor(e,t,n,r,o,i,s){super(),this.Id=e,this.Configuration=t,this.DateCreated=n,this.Status=r,this.Invite=o,this.Tags=i,this.Creator=s}}function Ed(e,t,n){const r=ii(t=>0===function(...e){switch(e.length){case 2:return sr(e[0],e[1],!1);case 3:return sr(e[0],e[1],e[2]);case 4:return sr(e[0],e[1],!0===e[2]);case 5:return sr(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),!1);case 6:return sr(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),e[5]);case 7:return sr(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),!0===e[5]);default:throw new Error("String.compare: Unsupported number of parameters")}}(t.ComponentTagName,e,5),Ei(_i(()=>Oi(n.Configuration.Steps,_i(()=>t?xi(sd):Si())))));return Uu(lr(cr("Invalid ComponentTagName %A%P()",[e])),r)}function kd(e){const t=e.Status;switch(t.tag){case 0:case 2:case 3:return;default:return Vo(ai(e=>!ui(t=>gn(e.Id,t[0]),t.fields[0].CompletedSteps),e.Configuration.Steps))}}function Td(){return mo(document.getElementById("external-loading-page-container"))}function Od(){return null!=Td()}var Ad,Md=[];!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(Ad||(Ad={}));var Pd,Nd=function(e){return Object.freeze(e)},Dd=function(e,t){this.inlineSize=e,this.blockSize=t,Nd(this)},Rd=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,Nd(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),Bd=function(e){return e instanceof SVGElement&&"getBBox"in e},zd=function(e){if(Bd(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,s=o.offsetHeight;return!(i||s||e.getClientRects().length)},Ld=function(e){var t,n;if(e instanceof Element)return!0;var r=null===(n=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===n?void 0:n.defaultView;return!!(r&&e instanceof r.Element)},jd="undefined"!=typeof window?window:{},Ud=new WeakMap,Fd=/auto|scroll/,Gd=/^tb|vertical/,Hd=/msie|trident/i.test(jd.navigator&&jd.navigator.userAgent),Wd=function(e){return parseFloat(e||"0")},Vd=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new Dd((n?t:e)||0,(n?e:t)||0)},qd=Nd({devicePixelContentBoxSize:Vd(),borderBoxSize:Vd(),contentBoxSize:Vd(),contentRect:new Rd(0,0,0,0)}),Yd=function(e,t){if(void 0===t&&(t=!1),Ud.has(e)&&!t)return Ud.get(e);if(zd(e))return Ud.set(e,qd),qd;var n=getComputedStyle(e),r=Bd(e)&&e.ownerSVGElement&&e.getBBox(),o=!Hd&&"border-box"===n.boxSizing,i=Gd.test(n.writingMode||""),s=!r&&Fd.test(n.overflowY||""),a=!r&&Fd.test(n.overflowX||""),c=r?0:Wd(n.paddingTop),u=r?0:Wd(n.paddingRight),l=r?0:Wd(n.paddingBottom),f=r?0:Wd(n.paddingLeft),d=r?0:Wd(n.borderTopWidth),$=r?0:Wd(n.borderRightWidth),h=r?0:Wd(n.borderBottomWidth),p=f+u,m=c+l,g=(r?0:Wd(n.borderLeftWidth))+$,w=d+h,y=a?e.offsetHeight-w-e.clientHeight:0,v=s?e.offsetWidth-g-e.clientWidth:0,_=o?p+g:0,b=o?m+w:0,C=r?r.width:Wd(n.width)-_-v,S=r?r.height:Wd(n.height)-b-y,x=C+p+v+g,I=S+m+y+w,E=Nd({devicePixelContentBoxSize:Vd(Math.round(C*devicePixelRatio),Math.round(S*devicePixelRatio),i),borderBoxSize:Vd(x,I,i),contentBoxSize:Vd(C,S,i),contentRect:new Rd(f,c,C,S)});return Ud.set(e,E),E},Xd=function(e,t,n){var r=Yd(e,n),o=r.borderBoxSize,i=r.contentBoxSize,s=r.devicePixelContentBoxSize;switch(t){case Ad.DEVICE_PIXEL_CONTENT_BOX:return s;case Ad.BORDER_BOX:return o;default:return i}},Zd=function(e){var t=Yd(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=Nd([t.borderBoxSize]),this.contentBoxSize=Nd([t.contentBoxSize]),this.devicePixelContentBoxSize=Nd([t.devicePixelContentBoxSize])},Jd=function(e){if(zd(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},Kd=function(){var e=1/0,t=[];Md.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new Zd(t.target),o=Jd(t.target);r.push(n),t.lastReportedSize=Xd(t.target,t.observedBox),o<e&&(e=o)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},Qd=function(e){Md.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(Jd(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},e$=function(){var e,t=0;for(Qd(t);Md.some((function(e){return e.activeTargets.length>0}));)t=Kd(),Qd(t);return Md.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:"ResizeObserver loop completed with undelivered notifications."}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message="ResizeObserver loop completed with undelivered notifications."),window.dispatchEvent(e)),t>0},t$=[],n$=function(e){if(!Pd){var t=0,n=document.createTextNode("");new MutationObserver((function(){return t$.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),Pd=function(){n.textContent=""+(t?t--:t++)}}t$.push(e),Pd()},r$=0,o$={attributes:!0,characterData:!0,childList:!0,subtree:!0},i$=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],s$=function(e){return void 0===e&&(e=0),Date.now()+e},a$=!1,c$=new(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),!a$){a$=!0;var n,r=s$(e);n=function(){var n=!1;try{n=e$()}finally{if(a$=!1,e=r-s$(),!r$)return;n?t.run(1e3):e>0?t.run(e):t.start()}},n$((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,o$)};document.body?t():jd.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),i$.forEach((function(t){return jd.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),i$.forEach((function(t){return jd.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),u$=function(e){!r$&&e>0&&c$.start(),!(r$+=e)&&c$.stop()},l$=function(){function e(e,t){this.target=e,this.observedBox=t||Ad.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=Xd(this.target,this.observedBox,!0);return e=this.target,Bd(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}(),f$=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},d$=new WeakMap,$$=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},h$=function(){function e(){}return e.connect=function(e,t){var n=new f$(e,t);d$.set(e,n)},e.observe=function(e,t,n){var r=d$.get(e),o=0===r.observationTargets.length;$$(r.observationTargets,t)<0&&(o&&Md.push(r),r.observationTargets.push(new l$(t,n&&n.box)),u$(1),c$.schedule())},e.unobserve=function(e,t){var n=d$.get(e),r=$$(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&Md.splice(Md.indexOf(n),1),n.observationTargets.splice(r,1),u$(-1))},e.disconnect=function(e){var t=this,n=d$.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),p$=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.");h$.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(!Ld(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");h$.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(!Ld(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");h$.unobserve(this,e)},e.prototype.disconnect=function(){h$.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class m$ extends er{constructor(e,t,n){super(),this.instanceId=0|e,this.name=t,this.type=n}}function g$(e){return new m$(_d(e.Id),e.Configuration.Name,md(e.Configuration.Id))}function w$(e){Od()||window.parent.postMessage(e,"*")}function y$(){w$(function(e,t){const n={type:"contentResized",sender:"flare"};return n.height=e,n.width=t,n}(document.body.offsetHeight,-1))}function v$(e,t,n){const r=function(e,t){const n=ii(t=>gn(t.Id,e),t.Configuration.Steps);return Uu(lr(cr("Invalid ProcessStep Id %A%P()",[e])),n)}(e,t);1===r.tag||w$(function(e,t,n,r){const o={type:"stepSubmitSuccess",sender:"flare"};return o.workflow=g$(n),o.profileId=Zf(r),o.step={name:t,type:cd(e)},o}(e,r.fields[0].DisplayName,t,n))}function _$(e,t){w$(function(e,t){const n={type:"workflowSubmitSuccess",sender:"flare"};return n.workflow=g$(e),n.profileId=Zf(t),n}(e,t))}function b$(e){Od()&&function(e,t){wa(oa.Delay(()=>oa.Bind(ga(e),()=>(t(),oa.Zero()))))}(e,()=>{Pi(e=>{document.body.removeChild(e)},go(Td())),w$(function(){const e={type:"appReady",sender:"flare"};return e}()),y$()})}function C$(e){const t=Ia((n=e.inviteCode,[new eu(n,void 0,{Error:void 0,Input:"",IsDirty:!1,IsTouched:!1},!1,!1,new Kc(0),jo()),cu()]),(e,t)=>Rf(e,t),[]);var n;const r=t[0],o=t[1];Hs(Cc(()=>Bf(1e3,Df(r.InviteToken)),e=>{o(new Qc(1,e))}));const i=Cc(()=>{return Bf(500,(e=r.InviteToken,t=r.MfaCodeForm.Input,Nf(e,t)));var e,t},e=>{o(new Qc(2,e))});return Hs(()=>{b$(0)}),$("div",{className:gr(" ",["container","vh-100","fade-in"]),children:vr.Children.toArray(Array.from(Ei(_i(()=>Oi(Di(e=>$("style",{children:[e]}),r.CssOverrides),_i(()=>xi($("div",{className:gr(" ",["row","h-100","justify-content-center","align-items-center"]),children:vr.Children.toArray([$("div",{className:gr(" ",["col","col-sm-10","col-md-8","col-lg-5","card","border-light","rounded-lg","shadow-sm"]),children:vr.Children.toArray([$("div",{className:"card-body",children:vr.Children.toArray(Array.from(Ei(_i(()=>{let e,t;return Oi((e=r.Ui,2===e.tag?xi($("div",{className:gr(" ",["pt-4","text-center","fade-in"]),children:vr.Children.toArray([$("i",{className:gr(" ",["fad","fa-5x","fa-exclamation-circle","text-danger"])}),$("h4",{className:gr(" ",["my-4","font-weight-normal","text-danger"]),children:"This doesn't look right"}),$("p",{className:gr(" ",["mt-3","mb-5","text-muted"]),children:e.fields[0]})])})):1===e.tag?xi($("form",{className:gr(" ",["pt-4","text-center","fade-in"]),onSubmit:e=>{e.preventDefault(),i()},children:vr.Children.toArray([$("i",{className:gr(" ",["fad","fa-5x","fa-shield-check","text-primary"])}),$("h4",{className:gr(" ",["my-4","font-weight-normal"]),children:"Authenticate Your Account"}),$("p",{className:gr(" ",["mt-3","mb-5","text-muted"]),children:vr.Children.toArray(["Protecting your account is our top priority. Check your email ",(t=wo(r.MaskedEmail,""),$("strong",{children:[t]}))," for the code that we have just sent you."])}),$("div",{className:gr(" ",["input-group","input-group-lg","has-validation"]),children:vr.Children.toArray([$("input",{"aria-describedby":gr(" ",["button-verify"]),"aria-label":"Authorization code",autoFocus:!0,className:gr(" ",ni(Fo("form-control"),r.MfaCodeForm.IsDirty&&r.MfaCodeForm.IsTouched&&null!=r.MfaCodeForm.Error?Fo("is-invalid"):jo())),placeholder:"Enter the code here",required:!0,maxLength:6,type:"text",onChange:e=>{o(new Qc(3,e.target.value))},onBlur:e=>{o(new Qc(4))}}),$("div",{className:"input-group-append",children:vr.Children.toArray([$("button",Cn(Ei(_i(()=>Oi(xi(["className",gr(" ",["btn","btn-lg","btn-dark"])]),_i(()=>Oi(xi(["id","button-verify"]),_i(()=>Oi(xi(["type","submit"]),_i(()=>Oi(xi(["disabled",!(!r.MfaCodeForm.IsTouched||null==r.MfaCodeForm.Error)||r.IsValidationPending]),_i(()=>r.IsValidationPending?xi(["children",vr.Children.toArray([$("div",{className:gr(" ",["d-flex","justify-content-center","align-items-center","position-relative","px-3"]),children:vr.Children.toArray([$("div",{className:gr(" ",["dot-flashing"])})])})])]):xi(["children","Verify"])))))))))))))])}),$("div",{className:"invalid-feedback text-left",children:wo(r.MfaCodeForm.Error,"Incorrect validation code")})])})])})):xi($("div",{className:gr(" ",["pt-4","text-center"]),children:vr.Children.toArray([$("div",{className:gr(" ",["d-flex","justify-content-center","align-items-center","position-relative","py-2"]),children:vr.Children.toArray([$("div",{className:gr(" ",["dot-flashing my-4"])})])}),$("h4",{className:gr(" ",["my-4","font-weight-normal"]),children:"Verifying your invite"}),$("p",{className:gr(" ",["mt-3","mb-5","text-muted"]),children:"Hold tight. It won't be long."})])}))),_i(()=>{let e,t;return xi($("p",{className:gr(" ",["mt-5","mb-0","text-black-50","text-right"]),children:vr.Children.toArray([(e="Flare HR Pty Ltd © 2015-"+(t=jn(),Gn(t)),$("small",{children:[e]}))])}))}))}))))})])})])}))))))))})}function S$(){return Hs(()=>{b$(0)}),$("div",{className:gr(" ",["text-center","mt-5"]),children:vr.Children.toArray([$("div",{className:gr(" ",["row","justify-content-center"]),children:vr.Children.toArray([$("div",{className:gr(" ",["col-12","col-sm-6","col-md-4","col-lg-4"]),children:vr.Children.toArray([$("h4",{children:["You have been logged out of your onboarding due to inactivity"]}),$("br",{}),$("p",{children:["To continue your onboarding, please find your onboarding invite email and click the link again."]})])})])})])})}function x$(e){this.message=e}x$.prototype=new Error,x$.prototype.name="InvalidCharacterError";var I$="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new x$("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,o=0,i=0,s="";r=t.charAt(i++);~r&&(n=o%4?64*n+r:r,o++%4)?s+=String.fromCharCode(255&n>>(-2*o&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return s};function E$(e){this.message=e}E$.prototype=new Error,E$.prototype.name="InvalidTokenError";var k$=function(e,t){if("string"!=typeof e)throw new E$("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(I$(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 I$(t)}}(e.split(".")[n]))}catch(e){throw new E$("Invalid token specified: "+e.message)}};function T$(e){return t=void 0,n=e,oa.Bind(n,e=>oa.Return(Fu(t,e)));var t,n}function O$(e,t){return function(e,t,n){e:for(;;){const r=e,o=t,i=n;if(Go(i))return r;{const s=Wu(0,()=>aa(e=>Vu(0,r,t=>ni(t,Fo(e))),o(Wo(i))))();if(1===s.tag)return s;e=s,t=o,n=qo(i);continue e}}}(new ia(0,jo()),e,t)}function A$(e){return O$(e=>e,e)}function M$(e,t){return null!=t?sa(e=>ho(e),e(po(t))):new ia(0,void 0)}class P$ extends er{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}function N$(){return Br("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.InviteBrandingDto",[],P$,()=>[["CompanyName",jr(Gr)],["Logo",jr(Gr)],["Support",jr(Br("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.SupportDto",[],D$,()=>[["Email",jr(Gr)],["Phone",jr(Gr)]]))]])}class D$ extends er{constructor(e,t){super(),this.Email=e,this.Phone=t}}function R$(e){return Wu(0,()=>aa(t=>aa(n=>Vu(0,M$(e=>function(e){return Wu(0,()=>aa(t=>Vu(0,M$(Zc,e.Phone),e=>new Vc(t,e)),M$(Xc,e.Email)))()}(e),e.Support),e=>new Gc(n,t,e)),M$(e=>function(e){return mr(e)?new ia(1,"Invalid company name."):new ia(0,new Wc(0,e))}(e),e.CompanyName)),M$(e=>Jc(e),e.Logo)))()}class B$ extends er{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.NumberOfAttempts=0|n,this.DateOfLastAttempt=r}}class z$ extends er{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.SecondFactor=n,this.Branding=r}}function L$(e){return Wu(0,()=>aa(t=>aa(n=>Vu(0,M$(e=>R$(e),e.Branding),r=>new Fc(t,e.DateIssued,n,r)),M$(e=>function(e){return Wu(0,()=>Vu(0,Bc(e.Code),t=>new zc(t,e.DateIssued,e.NumberOfAttempts,e.DateOfLastAttempt)))()}(e),e.SecondFactor)),jc(e.Code)))()}class j$ extends er{constructor(e,t,n){super(),this.Id=e,this.DisplayName=t,this.ComponentTagName=n}}function U$(e){return A$(ri(e=>function(e){return Wu(0,()=>Hu(0,new Kf(ad(e.Id),e.DisplayName,e.ComponentTagName)))()}(e),e))}class F$ extends er{constructor(e,t){super(),this.ActivatedDates=e,this.CompletedSteps=t}}class G$ extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}function H$(e){switch(e.tag){case 1:{const t=function(e){return Wu(0,()=>Vu(0,A$(ri(e=>Wu(0,()=>Hu(0,[ad(e[0]),e[1]]))(),e.CompletedSteps)),t=>new gd(e.ActivatedDates,t)))()}(e.fields[0]);return 1===t.tag?new ia(1,t.fields[0]):new ia(0,new wd(1,t.fields[0]))}case 2:return new ia(0,new wd(2,e.fields[0]));case 3:return new ia(0,new wd(3,e.fields[0]));default:return new ia(0,new wd(0))}}class W$ extends er{constructor(e,t,n){super(),this.Id=e,this.Name=t,this.Steps=n}}function V$(){return Br("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessConfigDto",[],W$,()=>[["Id",Rr("System.Guid")],["Name",Gr],["Steps",Ur(Br("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessStepConfigDto",[],j$,()=>[["Id",Gr],["DisplayName",Gr],["ComponentTagName",Gr]]))]])}function q$(e){return Wu(0,()=>aa(t=>Vu(0,function(e){const t=new ud(0,e);return Ai(t,pd.keys(),{Equals:(e,t)=>gn(e,t),GetHashCode:e=>hn(e)})?new ia(0,t):new ia(1,"Invalid Type")}(e.Id),n=>new ld(n,e.Name,t)),U$(e.Steps)))()}class Y$ extends er{constructor(e,t){super(),this.Name=e,this.Value=t}}function X$(){return Br("Workflows.Business.Aggregates.ProcessInstanceList.Dto.TagDto",[],Y$,()=>[["Name",Gr],["Value",Gr]])}function Z$(e){return xd(e.Name,e.Value)}class J$ extends er{constructor(e,t,n,r,o,i,s){super(),this.Id=0|e,this.DateCreated=t,this.Configuration=n,this.Status=r,this.Invite=o,this.Tags=i,this.Creator=s}}function K$(){return Br("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceDto",[],J$,()=>[["Id",Wr],["DateCreated",Rr("System.DateTime")],["Configuration",V$()],["Status",zr("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceStatusDto",[],G$,()=>[[],[["Item",Br("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ActiveProcessInstanceDto",[],F$,()=>[["ActivatedDates",Ur(Rr("System.DateTime"))],["CompletedSteps",Ur(Lr(Gr,Rr("System.DateTime")))]])]],[["Item",Rr("System.DateTime")]],[["Item",Rr("System.DateTime")]]])],["Invite",jr(Br("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.InviteDto",[],z$,()=>[["Code",Gr],["DateIssued",Rr("System.DateTime")],["SecondFactor",jr(Br("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.SecondFactorDto",[],B$,()=>[["Code",Gr],["DateIssued",Rr("System.DateTime")],["NumberOfAttempts",Wr],["DateOfLastAttempt",jr(Rr("System.DateTime"))]]))],["Branding",jr(N$())]]))],["Tags",jr(Ur(X$()))],["Creator",jr(Gr)]])}function Q$(e){return Wu(0,()=>aa(t=>{const n=t;return aa(t=>{let r;const o=t;return aa(t=>aa(r=>Vu(0,M$(e=>A$(ri(e=>Z$(e),e)),e.Tags),o=>new Id(vd(e.Id),n,e.DateCreated,t,r,o,yo(e=>Xf(e),e.Creator))),M$(e=>L$(e),e.Invite)),1===o.tag?(r=o.fields[0],Wu(0,()=>Vu(0,A$(ri(e=>{const t=[e[0],e[1]],r=t[0];return ui(e=>gn(e.Id,r),n.Steps)?new ia(0,[r,t[1]]):new ia(1,"Step id is not configured for this Process Instance.")},r.CompletedSteps)),e=>new wd(1,new gd(r.ActivatedDates,e))))()):new ia(0,o))},H$(e.Status))},q$(e.Configuration)))()}class eh extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompleteStep","Complete"]}}class th extends er{constructor(e,t,n){super(),this.CssOverrides=e,this.ProcessInstance=t,this.IsBenefitsEnabled=n}}class nh extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompleteStep","Complete"]}}const rh=e=>Q$(e);class oh extends er{constructor(e,t,n){super(),this.CssOverrides=e,this.ProcessInstanceDto=t,this.IsBenefitsEnabled=n}}function ih(){return Br("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.ProcessInstanceContextDto",[],oh,()=>[["CssOverrides",Ur(Gr)],["ProcessInstanceDto",K$()],["IsBenefitsEnabled",Hr]])}class sh extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["WorkflowInstanceStepActivated","BenefitsStepActivated","BenefitsStepCompleted"]}}function ah(){return zr("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Write.WorkflowAnalyticsEventDto",[],sh,()=>[[["Item",Gr]],[],[]])}class ch extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PersonalDetails","EmergencyContacts","Bank","Tax","Super","WorkplaceLinking","BenefitsOnboarding"]}}class uh extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Hidden","Incomplete","Complete"]}}function lh(e){return gn(e,Qf)?new ia(0,new ch(0)):gn(e,ed)?new ia(0,new ch(1)):gn(e,td)?new ia(0,new ch(2)):gn(e,nd)?new ia(0,new ch(3)):gn(e,rd)?new ia(0,new ch(4)):gn(e,od)?new ia(0,new ch(5)):new ia(1,"Invalid step")}function fh(e){switch(e.tag){case 1:return ed;case 2:return td;case 3:return nd;case 4:return rd;case 5:return od;case 6:return sd;default:return Qf}}function dh(e){switch(e.tag){case 1:return"Emergency Contacts";case 2:return"Bank Details";case 3:return"Tax Details";case 4:return"Super Selection";case 5:return od.DisplayName;case 6:return sd.DisplayName;default:return"Personal Details"}}function $h(e,t){return sa(e=>function(e,t){return 0===e.tag?t:ni(t,Fo(new ch(6)))}(t,e),A$(ri(e=>lh(e),e.Configuration.Steps)))}function hh(e,t){return sa(e=>function(e,t){return 2===e.tag?ni(t,Fo(new ch(6))):t}(t,e),A$(ri(e=>lh(e),function(e){const t=e.Status;switch(t.tag){case 2:return e.Configuration.Steps;case 3:case 0:return jo();default:{const n=ri(e=>e[0],t.fields[0].CompletedSteps);return ai(e=>ci(e.Id,n,{Equals:(e,t)=>gn(e,t),GetHashCode:e=>hn(e)}),e.Configuration.Steps)}}}(e))))}class ph extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Initialising","StepList","Step","CompletedAllSteps","Oops","AllDone"]}}class mh extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ActivateCallback","ShowView","StepCompletionEventCallback","CompleteStep","CompleteWorkflow","SendAnalyticsEvent","AppendTrailingSlashToUrl","CompleteBenefitsOnboardingStep"]}}class gh extends er{constructor(e,t,n,r,o,i){super(),this.ProfileId=e,this.ProcessInstanceId=t,this.ProcessInstance=n,this.CurrentView=r,this.CssOverrides=o,this.BenefitsOnboarding=i}}function wh(e){return Array.from(e)}function yh(e){return String(e)}function vh(e){return String(e)}function _h(e){return String(e)}function bh(e){return String(e)}function Ch(){return null}function Sh(e,t){return JSON.stringify(t,xn(2,null),ho(e))}function xh(e){return t=>{return n=yo(e,t),r=()=>null,null!=n?po(n):r();var n,r}}function Ih(e,t,n,r){const o=new tr(null),i=mc(Yr(r),o,e);let s;if(co(r)){const e=Io(e=>{const r=Sl(t,qr(e)),o=Eh(i,t,n,e[1]);return t=>i=>{const s=function(e,t){return e[t[0]]}(t,e);return(!n||n&&null!=s)&&(i[r]=o(s)),i}},io(r));s=t=>Mi(xn(2,Tn(e=>n=>n(t,e),[0,[0,2]])),{},e)}else{if(!ao(r)){let e;const t=Yr(r);throw e=lr(ar("Cannot generate auto encoder for %s. Please pass an extra encoder."))(t),new Error(e)}s=e=>{const o=function(e,t){const n=oo(t)[e.tag];if(null==n)throw new Error(`Cannot find case ${e.name} in union type`);return[n,e.fields]}(e,r),s=o[0],a=o[1],c=0|a.length;if(0===c)return qr(s);{const e=0|c,r=lo(s),o=xo(new Array(e+1),0,e+1,null);o[0]=qr(s);for(let s=1;s<=e;s++){const e=Eh(i,t,n,r[s-1][1]);o[s]=e(a[s-1])}return o}}}return o.contents=s,s}function Eh(e,t,n,r){const o=Yr(r),i=gc(o,e);if(null==i){if(Xr(r)){const o=Eh(e,t,n,Zr(r));return e=>wh(Di(o,e))}if(Kr(r)){const e=Yr(eo(r));if("System.SByte"===e)return e=>yh(e);if("System.Byte"===e)return e=>vh(e);if("System.Int16"===e)return e=>_h(e);if("System.UInt16"===e)return e=>bh(e);if("System.Int32"===e)return e=>e;if("System.UInt32"===e)return e=>e;{const e=Yr(r),t=fr(ar("Cannot generate auto encoder for %s.\nThoth.Json.Net only support the folluwing enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can't use one of these types, please pass an extra encoder.\n "))(e);return e=>t(e)}}if(Jr(r)){if(uo(r)){const o=Io(r=>Eh(e,t,n,r),so(r));return e=>wh(Ri((e,t)=>o[e](t),e))}{const o=Yr(Qr(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===o){const o=new on(()=>xh(Eh(e,t,n,Pr(r)[0])));return e=>null==e?null:o.Value(e)}if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===o||"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===o){const o=Eh(e,t,n,Pr(r)[0]);return e=>wh(Di(o,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===o){const o=Pr(r)[0],i=Eh(e,t,n,Pr(r)[1]);if("System.String"===Yr(o)||"System.Guid"===Yr(o))return e=>Mi((e,t)=>{const n=t;return e[n[0]]=i(n[1]),e},{},e);{let r;const s=Eh(e,t,n,o);return r=e=>s(e),e=>wh(Di(e=>{const t=e;return[r(t[0]),i(t[1])]},e))}}return Ih(e,t,n,r)}}return"System.Boolean"===o?e=>e:"Microsoft.FSharp.Core.Unit"===o?Ch:"System.String"===o?e=>e:"System.SByte"===o?e=>yh(e):"System.Byte"===o?e=>vh(e):"System.Int16"===o?e=>_h(e):"System.UInt16"===o?e=>bh(e):"System.Int32"===o?e=>e:"System.UInt32"===o?e=>e:"System.Double"===o?e=>e:"System.Single"===o?e=>e:"System.DateTime"===o?e=>Dn(e,"O"):"System.DateTimeOffset"===o?e=>Dn(e,"O"):"System.TimeSpan"===o?e=>kc(e):"System.Guid"===o?e=>e:"System.Object"===o?e=>e:Ih(e,t,n,r)}{const e=i;return t=>e.contents(t)}}function kh(e){return null!=e?wc((e,t)=>new tr(t[0]),e.Coders):yc()}function Th(e,t,n,r,o,i){return Sh(e,function(e,t,n,r){const o=wo(e,new vl(0)),i=wo(n,!0),s=po(r).ResolveType();return Eh(kh(t),o,i,s)}(n,r,o,i)(t))}function Oh(e,t){return Xu(0,()=>{const n=al((r=lr(ar("Bearer %s"))(e),new Ju(0,"Authorization",r)),t);var r;const o=oa.Bind(ul(n),e=>oa.Return(new ia(0,e)));return oa.Delay(()=>oa.Bind(o,e=>{let t;const r=e;return 1===r.tag?oa.Return(new ia(1,r.fields[0])):oa.ReturnFrom((t=r.fields[0],429===t.statusCode||t.statusCode>=500?oa.Bind(ul(n),e=>oa.Return(new ia(0,e))):Yu(0,t)))}))})}function Ah(e,t,n){return Xu(0,()=>{let r;const o=Oh(n,(r=cl(new Ku(1,Th(0,Fo(function(e){return 1===e.tag?new nh(1):new nh(0,cd(e.fields[0]))}(e)),new vl(1),void 0,void 0,{ResolveType:()=>Ur(zr("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.ProcessInstanceCommandDto",[],nh,()=>[[["Item",Gr]],[]]))})),sl(new Zu(1),il(function(e){const t=0|_d(e);return lr(ar("%s/workflows/backend/%i"))(Nu)(t)}(t)))),al(nl("application/json"),r)));return oa.Delay(()=>oa.Bind(o,e=>{let t;const n=e;return 1===n.tag?oa.Return(new ia(1,n.fields[0])):oa.ReturnFrom((t=n.fields[0],200===t.statusCode?oa.Return(aa(rh,Af(t.responseText,new vl(1),void 0,{ResolveType:K$}))):oa.Return(new ia(1,"Unexpected response from backend"))))}))})}function Mh(e,t){return Xu(0,()=>{const n=Oh(t,sl(new Zu(1),il(function(e){const t=0|_d(e);return lr(ar("%s/workflows/backend/process-instances/%i/activate"))(Nu)(t)}(e))));return oa.Delay(()=>oa.Bind(n,e=>{let t;const n=e;return 1===n.tag?oa.Return(new ia(1,n.fields[0])):oa.ReturnFrom((t=n.fields[0],200===t.statusCode?oa.Return(sa(e=>function(e){return new th(e.CssOverrides,(t=e=>{throw new Error(e)},1===(n=Q$(e.ProcessInstanceDto)).tag?t(n.fields[0]):n.fields[0]),e.IsBenefitsEnabled);var t,n}(e),Af(t.responseText,new vl(1),void 0,{ResolveType:ih}))):oa.Return(new ia(1,"Unexpected response from backend"))))}))})}function Ph(e,t,n){return T$(oa.Bind(Xu(0,()=>{let r;return Oh(e,(r=cl(new Ku(1,Th(0,Fo(n),new vl(1),void 0,void 0,{ResolveType:()=>Ur(ah())})),sl(new Zu(1),il(function(e){const t=0|_d(e);return lr(ar("%s/workflows/backend/process-instances/%i/analytics-events"))(Nu)(t)}(t)))),al(nl("application/json"),r)))}),e=>oa.Return(sa(e=>{},e))))}function Nh(e,t,n,r){let o,i,s,a,c;switch(n.tag){case 1:{const e=n.fields[0];return[new gh(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,e,r.CssOverrides,r.BenefitsOnboarding),2===e.tag?(o=fh(e.fields[0]),gn(o.Id,sd.Id)?fu(new mh(5,r.ProcessInstanceId,new sh(1))):fu(new mh(5,r.ProcessInstanceId,new sh(0,cd(o.Id))))):cu()]}case 5:return $u(Ph(e,n.fields[0],n.fields[1])),[r,cu()];case 2:{const e=r.ProcessInstance;let t,o;switch(2===e.tag&&0===e.fields[0].tag?(t=0,o=e.fields[0].fields[0]):t=1,t){case 0:return[r,(i=Ed(n.fields[0].target.tagName,!gn(r.BenefitsOnboarding,new uh(0)),o),0===i.tag&&gn(i.fields[0].Id,id)?fu(new mh(7)):1===i.tag?cu():fu(new mh(3,i.fields[0].Id,new vc(0))))];case 1:return[r,cu()]}}case 7:{const e=r.ProcessInstance;let t,n;switch(2===e.tag&&0===e.fields[0].tag?gn(r.BenefitsOnboarding,new uh(0))?t=1:(t=0,n=e.fields[0].fields[0]):t=1,t){case 0:return[new gh(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,r.CurrentView,r.CssOverrides,new uh(2)),lu(ei([fu(new mh(5,r.ProcessInstanceId,new sh(2))),ju(e=>e,e=>fu(new mh(1,new ph(4,e))),Wu(0,()=>{let e;return Vu(0,(e=[n,r.BenefitsOnboarding],$h(e[0],e[1])),e=>fu(new mh(1,new ph(3,e,e))))})())]))];case 1:return[r,cu()]}}case 3:{const t=n.fields[0],o=n.fields[1];switch(o.tag){case 1:return[r,cu()];case 2:{const e=o.fields[0],n=ju(e=>e,e=>new mh(1,new ph(4,e)),Wu(0,()=>aa(e=>{let t;const n=e,o=kd(n);return aa(e=>{let t;const i=e;return aa(e=>{const t=e;if(1===Ho(t))return Hu(0,new mh(4,new vc(0)));{const e=[o,r.BenefitsOnboarding];if(null==e[0]){if(1===e[1].tag){const e=new ch(6);return Hu(0,new mh(1,new ph(2,e,e,i,t)))}return Hu(0,new mh(1,new ph(3,i,t)))}return Vu(0,lh(e[0]),e=>new mh(1,new ph(2,e,e,i,t)))}},(t=[n,r.BenefitsOnboarding],$h(t[0],t[1])))},(t=[n,r.BenefitsOnboarding],hh(t[0],t[1])))},e))());return ju(e=>{v$(t,e,r.ProfileId)},e=>{},e),[new gh(r.ProfileId,r.ProcessInstanceId,o,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),fu(n)]}case 3:return[new gh(r.ProfileId,r.ProcessInstanceId,o,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),fu(new mh(1,new ph(4,o.fields[0].message)))];default:return[r,du(e=>{$u(e)},e=>function(e,t,n){return Ah(new eh(0,t),e,n)}(r.ProcessInstanceId,t,e),e,e=>new mh(3,t,new vc(2,e)),e=>new mh(3,t,new vc(3,e)))]}}case 4:{const o=n.fields[0];switch(o.tag){case 1:return[r,cu()];case 2:{const e=o.fields[0];if(1===e.tag)return[new gh(r.ProfileId,r.ProcessInstanceId,o,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),fu(new mh(1,new ph(4,e.fields[0])))];{const n=e.fields[0];return _$(n,r.ProfileId),[new gh(r.ProfileId,r.ProcessInstanceId,o,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),(s=[t,(a=[n,r.BenefitsOnboarding],u=a[0],l=a[1],Ho(u.Configuration.Steps)+(0===l.tag?0:1))],1===s[0].tag?1===s[1]?cu():fu(new mh(1,new ph(5))):cu())]}}case 3:return[new gh(r.ProfileId,r.ProcessInstanceId,o,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),fu(new mh(1,new ph(4,o.fields[0].message)))];default:{const t=r.ProcessInstance;let n,o;switch(2===t.tag&&0===t.fields[0].tag&&2===t.fields[0].fields[0].Status.tag?(n=0,o=t.fields[0].fields[0]):n=1,n){case 0:return _$(o,r.ProfileId),[r,cu()];case 1:return[r,du(e=>{$u(e)},e=>function(e,t){return Ah(new eh(1),e,t)}(r.ProcessInstanceId,e),e,e=>new mh(4,new vc(2,e)),e=>new mh(4,new vc(3,e)))]}}}}case 6:return[r,(c=window.location.pathname+"/"+window.location.search+window.location.hash,Fo(e=>{xu(Fo(c),1,2)}))];default:{const e=n.fields[0];let t;switch(e.tag){case 3:t=[r,fu(new mh(1,new ph(4,e.fields[0].message)))];break;case 0:case 1:t=[r,cu()];break;default:{const n=ju(e=>e,e=>[r,new ph(4,e)],Wu(0,()=>aa(e=>{let t;const n=e,o=function(e){return new uh(e?1:0)}(n.IsBenefitsEnabled);return aa(e=>{let t;const i=e;return aa(e=>{let t,s;const a=e,c=e=>{const t=[Mu.clientWidth<768,Ho(a)];return 1===t[1]?(document.title=dh(e),new ph(2,e,e,i,a)):new ph(t[0]?1:2,e,e,i,a)};return Vu(0,(t=[kd(n.ProcessInstance),o],null==t[0]?1===t[1].tag?new ia(0,c(new ch(6))):new ia(0,new ph(3,i,a)):(s=t[0],Wu(0,()=>Vu(0,lh(s),e=>c(e)))())),e=>[new gh(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,r.CurrentView,n.CssOverrides,o),e])},(t=[n.ProcessInstance,o],$h(t[0],t[1])))},(t=[n.ProcessInstance,o],hh(t[0],t[1])))},e.fields[0]))());t=[n[0],fu(new mh(1,n[1]))]}}const o=t[0];return[new gh(o.ProfileId,o.ProcessInstanceId,_c(e=>sa(e=>e.ProcessInstance,e),e),o.CurrentView,o.CssOverrides,o.BenefitsOnboarding),t[1]]}}var u,l}var Dh;function Rh(){return(Rh=Object.assign||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}).apply(this,arguments)}var Bh,zh,Lh,jh=function(e){return $("svg",Rh({width:17,height:14,xmlns:"http://www.w3.org/2000/svg"},e),Dh||(Dh=$("path",{d:"M2 8l4 4 9-10",strokeWidth:3,stroke:"#FFF",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"})))};function Uh(){return(Uh=Object.assign||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}).apply(this,arguments)}var Fh,Gh,Hh=function(e){return $("svg",Uh({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Bh||(Bh=$("path",{d:"M11.208 17.438a3.635 3.635 0 100-7.271 3.635 3.635 0 000 7.27zm0-5.857a2.229 2.229 0 110 4.457 2.229 2.229 0 010-4.457zM11.208 18.78a5.455 5.455 0 00-3.952 1.653c-1.054 1.076-1.631 2.538-1.631 4.127a.705.705 0 00.703.703h9.76a.705.705 0 00.703-.703c0-1.589-.577-3.051-1.632-4.127a5.455 5.455 0 00-3.951-1.652zM7.08 23.858c.12-.92.535-1.775 1.182-2.44a4.142 4.142 0 015.892 0 4.322 4.322 0 011.181 2.44H7.08z",fill:"#000"})),zh||(zh=$("path",{d:"M31.36 5.273H4.64A3.517 3.517 0 001.126 8.79v17.86a3.517 3.517 0 003.516 3.515h26.718a3.517 3.517 0 003.516-3.516V8.79a3.517 3.517 0 00-3.516-3.516zm2.109 21.375a2.116 2.116 0 01-2.11 2.11H4.641a2.116 2.116 0 01-2.11-2.11V8.79a2.116 2.116 0 012.11-2.11h26.718a2.116 2.116 0 012.11 2.11v17.86z",fill:"#000"})),Lh||(Lh=$("path",{d:"M29.63 17.016h-8.192a.703.703 0 000 1.406h8.192a.703.703 0 100-1.406zM29.63 21.516h-8.192a.703.703 0 000 1.406h8.192a.703.703 0 100-1.406zM29.63 12.516h-8.192a.703.703 0 000 1.406h8.192a.703.703 0 100-1.406z",fill:"#000"})))};function Wh(){return(Wh=Object.assign||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}).apply(this,arguments)}var Vh,qh,Yh,Xh=function(e){return $("svg",Wh({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Fh||(Fh=$("g",{clipPath:"url(#icon-emergency-contacts_svg__clip0)",fill:"#000"},$("path",{d:"M30.223 24.427c-.204-.15-5.051-3.656-9.3-2.538a.528.528 0 00-.272.174c-.078.095-1.718 2.102-2.065 3.967a9.392 9.392 0 01-1.224-.462c-.979-.444-2.476-1.305-4.055-2.884-.907-.907-1.66-1.825-2.238-2.73a.528.528 0 00-.89.568c.62.969 1.421 1.948 2.382 2.908 3.286 3.286 6.286 3.757 6.412 3.775a.527.527 0 00.604-.522c0-.378.106-.802.27-1.231 1.318.114 5.928.678 9.431 3.139-.465 1.981-1.643 3.71-3.38 4.893-2.258 1.54-5.028 1.871-7.6.91-3.69-1.378-7.087-3.602-10.093-6.608C5.2 24.78 2.976 21.385 1.596 17.692c-.96-2.572-.628-5.342.912-7.6C3.69 8.354 5.418 7.176 7.4 6.711c2.461 3.503 3.025 8.113 3.14 9.432-.43.164-.854.27-1.232.27a.527.527 0 00-.528.54c.002.062.024.637.388 1.594a.527.527 0 10.986-.374 6.108 6.108 0 01-.237-.76c1.876-.33 3.915-1.996 4.01-2.074a.528.528 0 00.175-.273c1.117-4.247-2.388-9.095-2.538-9.3a.527.527 0 00-.355-.21c-.676-.091-1.36-.132-2.032-.12-3.068.05-5.816 1.53-7.541 4.06C-.1 12.043-.474 15.164.608 18.06c1.433 3.835 3.738 7.358 6.85 10.47 3.115 3.115 6.638 5.42 10.472 6.852 1.09.407 2.21.608 3.321.608a9.27 9.27 0 005.242-1.636c2.53-1.725 4.011-4.473 4.062-7.541.01-.672-.03-1.356-.121-2.032a.528.528 0 00-.211-.355zM9.193 6.491c.545-.008 1.098.02 1.646.083.594.879 3.037 4.76 2.283 8.06-.347.27-.922.675-1.566 1.03-.174-1.698-.807-5.756-3.008-9.137.213-.02.428-.032.645-.036zm11.133 17.944c.356-.644.76-1.22 1.032-1.566 3.3-.754 7.18 1.69 8.059 2.282.063.55.091 1.102.083 1.646a8.672 8.672 0 01-.036.646c-3.381-2.201-7.44-2.834-9.138-3.008z"}),$("path",{d:"M26.97.009c-4.98 0-9.03 4.05-9.03 9.03 0 2.346.885 4.549 2.5 6.236-.175.716-.438 1.628-.781 2.366a1.34 1.34 0 00.109 1.333 1.347 1.347 0 001.207.593c1.116-.07 2.669-.435 3.898-1.744a9.03 9.03 0 008.912-2.86.528.528 0 00-.796-.693 7.975 7.975 0 01-8.156 2.454.528.528 0 00-.547.171c-1.02 1.227-2.399 1.558-3.376 1.619a.299.299 0 01-.27-.134.293.293 0 01-.025-.293c.429-.922.737-2.062.92-2.856a.528.528 0 00-.145-.496 7.914 7.914 0 01-2.395-5.696c0-4.398 3.577-7.975 7.975-7.975 4.397 0 7.975 3.577 7.975 7.975a7.882 7.882 0 01-.855 3.596.527.527 0 10.94.477c.644-1.27.97-2.64.97-4.073 0-4.98-4.051-9.03-9.03-9.03z"}),$("path",{d:"M31.554 6.184h-9.168a.528.528 0 100 1.055h9.168a.528.528 0 000-1.055zM31.554 8.71h-9.168a.528.528 0 100 1.055h9.168a.528.528 0 000-1.055zM31.554 11.236h-9.168a.528.528 0 100 1.055h9.168a.528.528 0 000-1.055z"}))),Gh||(Gh=$("defs",null,$("clipPath",{id:"icon-emergency-contacts_svg__clip0"},$("path",{fill:"#fff",d:"M0 0h36v36H0z"})))))};function Zh(){return(Zh=Object.assign||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}).apply(this,arguments)}var Jh,Kh,Qh=function(e){return $("svg",Zh({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Vh||(Vh=$("path",{d:"M18.47 19.647a.562.562 0 00-.202-.007 1.343 1.343 0 01-1.188-1.33.59.59 0 00-1.18 0 2.526 2.526 0 001.857 2.431v.591a.59.59 0 001.18 0v-.555a2.521 2.521 0 00-.516-4.99 1.34 1.34 0 111.34-1.34.59.59 0 001.182 0 2.526 2.526 0 00-2.005-2.468v-.538a.59.59 0 00-1.181 0v.573a2.522 2.522 0 00.664 4.954 1.34 1.34 0 01.049 2.68z",fill:"#000"})),qh||(qh=$("path",{d:"M9.858 16.423a8.563 8.563 0 108.563-8.562 8.573 8.573 0 00-8.563 8.562zm8.563-7.381a7.382 7.382 0 11-7.382 7.381 7.39 7.39 0 017.382-7.381z",fill:"#000"})),Yh||(Yh=$("path",{d:"M29.895 26.442l-4.626 2.186a3.768 3.768 0 00-3.212-1.982l-4.27-.118a4.51 4.51 0 01-1.94-.5l-.435-.226a7.664 7.664 0 00-7.1.008l.028-.985a.59.59 0 00-.574-.607l-4.683-.128a.59.59 0 00-.606.574l-.283 10.275a.59.59 0 00.574.607l4.683.129h.016a.59.59 0 00.59-.575l.014-.491 1.216-.651a2.086 2.086 0 011.557-.17l7.265 2.038a7.779 7.779 0 001.635.174 7.879 7.879 0 003.29-.718.561.561 0 00.074-.04l10.533-6.813a.59.59 0 00.193-.787 2.983 2.983 0 00-3.94-1.2zM3.39 34.382l.25-9.096 3.502.097-.25 9.095-3.502-.096zm19.112-.155a6.695 6.695 0 01-4.094.457l-7.245-2.034a3.266 3.266 0 00-2.434.267l-.622.333.167-6.048a6.491 6.491 0 016.594-.351l.434.225c.76.392 1.597.608 2.452.633l4.27.117a2.59 2.59 0 012.462 2.064l-6.361-.175a.59.59 0 00-.033 1.18l7.02.194h.016a.59.59 0 00.59-.575 3.746 3.746 0 00-.057-.766l4.745-2.242.014-.006a1.804 1.804 0 012.04.285l-9.958 6.442zM19.012 6.2V.59a.59.59 0 00-1.182 0V6.2a.59.59 0 001.182 0zM23.44 6.2V3.543a.59.59 0 00-1.18 0V6.2a.59.59 0 001.18 0zM14.583 6.2V3.543a.59.59 0 00-1.181 0V6.2a.59.59 0 001.18 0z",fill:"#000"})))};function ep(){return(ep=Object.assign||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}).apply(this,arguments)}var tp,np,rp,op=function(e){return $("svg",ep({viewBox:"0 0 34 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Jh||(Jh=$("path",{d:"M16.9 5.158a1.92 1.92 0 00-.006-.012c-.109-.208-.363-.343-.648-.343h-.001c-.286 0-.54.135-.648.344l-.005.01-2.406 4.995c-.109.227.035.48.322.567.287.086.608-.028.717-.254l.463-.961h3.098l.457.96c.085.175.296.284.52.284.066 0 .132-.01.197-.029.287-.085.432-.339.323-.566L16.9 5.158zM15.11 8.625l1.133-2.352 1.122 2.352h-2.255zM23.533 7.596l1.871-2.1c.177-.199.117-.473-.134-.613s-.598-.092-.774.106l-1.642 1.843-1.639-1.842c-.177-.199-.523-.247-.774-.107s-.312.414-.135.612l1.868 2.1-2.191 2.46c-.177.199-.117.473.134.613.097.054.21.08.32.08a.61.61 0 00.454-.187l1.963-2.202 1.959 2.202a.61.61 0 00.455.187.66.66 0 00.319-.08c.251-.14.311-.414.135-.612l-2.189-2.46zM12.271 4.803H8.733c-.307 0-.556.197-.556.44 0 .242.25.439.556.439H9.94v4.626c0 .243.249.44.556.44.307 0 .556-.197.556-.44V5.682h1.22c.307 0 .556-.197.556-.44 0-.242-.25-.439-.556-.439zM6.648 22.468c.338 0 .478.1.733.284.3.216.712.513 1.48.513s1.18-.297 1.48-.513c.255-.183.395-.284.734-.284.338 0 .478.1.732.284.3.216.713.513 1.481.513.307 0 .556-.197.556-.44s-.249-.44-.556-.44c-.338 0-.478-.1-.733-.283-.3-.217-.712-.513-1.48-.513-.769 0-1.18.296-1.481.513-.255.183-.395.284-.733.284-.338 0-.478-.101-.732-.284-.3-.217-.712-.513-1.48-.513-.308 0-.556.197-.556.44 0 .242.248.439.555.439zM6.648 24.233c.338 0 .478.1.733.284.3.216.712.513 1.48.513s1.18-.297 1.48-.513c.255-.183.395-.284.734-.284.338 0 .478.101.732.284.3.216.713.513 1.481.513.307 0 .556-.197.556-.44 0-.242-.249-.44-.556-.44-.338 0-.478-.1-.733-.283-.3-.216-.712-.513-1.48-.513-.769 0-1.18.297-1.481.513-.255.183-.395.284-.733.284-.338 0-.478-.1-.732-.284-.3-.216-.712-.513-1.48-.513-.308 0-.556.197-.556.44 0 .242.248.44.555.44zM7.38 26.282c.301.217.713.513 1.481.513.768 0 1.18-.296 1.48-.513.255-.183.395-.284.734-.284.338 0 .478.101.732.284.3.217.713.513 1.481.513.307 0 .556-.197.556-.44 0-.242-.249-.439-.556-.439-.338 0-.478-.1-.733-.284-.3-.216-.712-.513-1.48-.513-.769 0-1.18.297-1.481.513-.255.183-.395.284-.733.284-.338 0-.478-.1-.732-.284-.3-.216-.712-.513-1.48-.513-.308 0-.556.197-.556.44s.248.44.555.44c.338 0 .478.1.733.283z",fill:"#000"})),Kh||(Kh=$("path",{d:"M33.415 10.084a.357.357 0 00-.008-.039c-.343-2.034-1.647-3.067-3.908-4.638-.03-.343-.061-.668-.094-.984-.116-1.157-1.262-2.086-2.724-2.21-1.12-.093-2.25-.171-3.359-.232-2.168-.943-4.308-1.624-6.197-1.97a.699.699 0 00-.25 0c-1.891.347-4.031 1.028-6.196 1.97-1.129.062-2.259.14-3.36.233-1.462.123-2.607 1.052-2.724 2.208-.032.319-.063.643-.094.984-2.29 1.591-3.424 2.5-3.91 4.647a.337.337 0 00-.005.029v.005a63.15 63.15 0 000 17.158c.172 1.257 1.45 2.24 3.039 2.34.366.023.732.045 1.097.065.013 0 3.521.116 1.427.116.289 0 1.676.078 1.725-.465.022-.242-.559-.395-.865-.412-.362-.02-2.933-.158-3.297-.18-1.051-.066-1.899-.716-2.02-1.548v-.003c-.159-1.438 1.85-4.039 5.12-6.628.216-.172.216-.45-.001-.622a.664.664 0 00-.786.001c-1.775 1.406-3.595 3.17-4.619 4.796a62.456 62.456 0 01.044-12.533c.805.986 1.999 1.93 2.864 2.55.206.148.421.298.635.442.065.045.132.089.2.133l.011.008a36.255 36.255 0 004.472 2.503c2.531 1.194 5.035 2.039 7.243 2.443a.7.7 0 00.25 0c2.248-.412 4.797-1.278 7.371-2.504a37.96 37.96 0 001.767-.9 33.745 33.745 0 002.807-1.696c.206-.139.413-.284.616-.43.866-.62 2.06-1.564 2.864-2.55.435 4.166.449 8.365.044 12.534-1.024-1.625-2.844-3.39-4.619-4.796a.664.664 0 00-.786 0c-.217.171-.217.45 0 .621 3.269 2.589 5.278 5.19 5.119 6.628v.006c-.123.83-.97 1.48-2.02 1.545-7.72.48-15.552.541-23.279.18-.307-.015-.57.17-.587.412-.018.243.215.45.522.465a215.472 215.472 0 0023.431-.181c1.589-.1 2.867-1.083 3.04-2.34.78-5.694.78-11.468 0-17.162zM17 .89c1.1.21 2.29.538 3.524.97a115.812 115.812 0 00-7.049 0A24.836 24.836 0 0117 .892zM1.689 10.193c.354-1.553 1.01-2.299 2.708-3.533a92.655 92.655 0 00-.267 6.705c-1.613-1.296-2.528-2.47-2.441-3.172zm28.182 3.171a91.19 91.19 0 00-.059-2.977c-.009-.243-.266-.434-.571-.427-.307.007-.549.21-.54.452.045 1.25.064 2.524.057 3.787-.136.096-.273.191-.41.284a32.633 32.633 0 01-2.713 1.64c-.555.3-1.13.594-1.713.87-2.426 1.157-4.817 1.978-6.922 2.378-2.066-.393-4.414-1.192-6.798-2.318a35.088 35.088 0 01-4.328-2.421l-.012-.008-.188-.127c-.146-.098-.29-.197-.431-.297a91.783 91.783 0 01.46-9.707c.074-.736.803-1.327 1.733-1.405a114.117 114.117 0 0119.128 0c.93.078 1.66.669 1.733 1.405a92.098 92.098 0 01.325 4.17c.014.242.276.43.58.42.306-.011.544-.216.53-.459-.035-.654-.08-1.31-.13-1.963 1.736 1.261 2.468 2.065 2.708 3.523.096.7-.82 1.878-2.44 3.18z",fill:"#000"})))};function ip(){return(ip=Object.assign||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}).apply(this,arguments)}var sp,ap,cp=function(e){return $("svg",ip({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),tp||(tp=$("path",{d:"M29.707 19.027a.524.524 0 00-.524.524.666.666 0 01-1.33 0 .524.524 0 10-1.048 0c0 .945.769 1.713 1.713 1.713.945 0 1.713-.768 1.713-1.713a.524.524 0 00-.524-.523z",fill:"#000"})),np||(np=$("path",{d:"M34.625 19.113l-1.475-.472a.617.617 0 01-.398-.404 9.507 9.507 0 00-1.394-2.757c-.28-.383-.59-.75-.93-1.098a13 13 0 00.32-2.968c-.022-1.335-.29-2.118-.816-2.394-.284-.148-1.147-.6-5.82 1.539a1.7 1.7 0 00-.31.184 20.386 20.386 0 00-.961-.233l-.119-.024c.379-.827.6-1.726.641-2.654a.524.524 0 10-1.046-.046 6.087 6.087 0 01-3.989 5.45 15.196 15.196 0 00-4.217 0 6.066 6.066 0 01-2.207-1.41 6.063 6.063 0 01-1.787-4.315c0-1.63.635-3.163 1.787-4.316a6.063 6.063 0 014.316-1.787c1.63 0 3.163.634 4.315 1.787.463.463.846.992 1.138 1.571a.524.524 0 10.936-.471 7.143 7.143 0 00-1.333-1.84A7.104 7.104 0 0016.22.36c-1.91 0-3.706.744-5.057 2.094A7.104 7.104 0 009.07 7.511c0 1.91.744 3.705 2.094 5.056.39.39.814.725 1.262 1.005a14.8 14.8 0 00-.968.287.524.524 0 00.332.994 14.06 14.06 0 018.862 0 .524.524 0 10.332-.994 14.74 14.74 0 00-.969-.287 7.148 7.148 0 002.175-2.126 19.451 19.451 0 01.99.219l-.016.069c-.256 1.212-.239 2.284.05 3.187a3.792 3.792 0 001.389 1.953c.78.571 1.724.818 2.578.818.643 0 1.236-.14 1.672-.386.492-.28.905-.867 1.231-1.75a8.458 8.458 0 011.67 2.995c.162.517.565.923 1.078 1.088l1.474.472c.387.124.647.48.647.886v2.446c0 .406-.26.762-.646.886l-2.376.76a1.62 1.62 0 00-.906.737c-.934 1.613-2.401 2.947-4.362 3.967a.821.821 0 00-.43.579L25.47 34.4a.236.236 0 01-.231.191h-2.474a.235.235 0 01-.231-.191l-.422-2.227a.823.823 0 00-.936-.662 21.909 21.909 0 01-5.665.107.83.83 0 00-.908.666l-.4 2.116a.236.236 0 01-.231.191h-2.475a.236.236 0 01-.231-.193l-.733-3.805a.822.822 0 00-.422-.572C6.768 28.237 5 25.256 5 21.4c0-1.948.426-3.671 1.266-5.12.785-1.354 1.93-2.472 3.406-3.325a.524.524 0 00-.525-.907c-2.86 1.654-4.585 4.207-5.06 7.449l-.152-.014a2.61 2.61 0 00-.192-1.046c-.303-.755-.928-1.3-1.59-1.389-.522-.07-1.019.152-1.364.607-.5.66-.418 1.184-.262 1.506.264.543.942.928 2.068 1.17a2.05 2.05 0 01-.102.14c-.665.834-1.449 1.018-1.958 1.035a.55.55 0 00-.536.548v.002c0 .294.232.534.526.547.037.002.077.003.117.003.644 0 1.678-.237 2.67-1.482.157-.197.285-.404.383-.618l.285.03v-.001c-.018.284-.028.572-.028.865 0 2.181.52 4.127 1.546 5.782.945 1.525 2.3 2.775 4.025 3.714l.713 3.7a1.284 1.284 0 001.26 1.044h2.475c.616 0 1.146-.44 1.26-1.044l.362-1.913a23.016 23.016 0 005.528-.104l.382 2.017a1.284 1.284 0 001.26 1.044h2.475c.616 0 1.146-.439 1.26-1.044l.742-3.923c2.093-1.107 3.67-2.561 4.69-4.323a.572.572 0 01.318-.262l2.376-.761A1.973 1.973 0 0036 23.442v-2.445c0-.863-.553-1.62-1.375-1.884zm-5.004-6.227c-.201 1.725-.742 3.2-1.286 3.508-.618.35-2.044.417-3.115-.366-1.072-.784-1.429-2.194-1.032-4.078a.632.632 0 01.36-.438c2.623-1.2 4.135-1.594 4.697-1.594.084 0 .147.01.19.026.168.18.39 1.202.186 2.942zm-28.15 5.817c-.054-.112.074-.308.155-.415.129-.17.247-.205.336-.205a.39.39 0 01.053.004c.241.032.579.297.757.741.043.105.097.278.11.495-.725-.15-1.289-.367-1.411-.62z",fill:"#000"})),rp||(rp=$("path",{d:"M16.729 6.91V5.035c.646.046.887.342 1.108.342.277 0 .407-.35.407-.526 0-.453-.887-.647-1.515-.665v-.25c0-.11-.139-.212-.277-.212-.157 0-.268.101-.268.212v.268c-.878.092-1.755.554-1.755 1.718 0 1.182.923 1.515 1.755 1.81v2.17c-.942-.073-1.192-.72-1.497-.72-.23 0-.424.305-.424.527 0 .452.776 1.071 1.92 1.09v.286c0 .11.112.212.269.212.138 0 .277-.101.277-.212v-.314c.997-.139 1.68-.767 1.68-1.903 0-1.256-.877-1.662-1.68-1.958zm-.49-.175c-.49-.185-.887-.379-.887-.905 0-.48.37-.712.887-.776v1.68zm.434 3.15v-1.95c.453.194.813.453.813 1.035 0 .526-.314.822-.813.914z",fill:"#000"})))};function up(){return(up=Object.assign||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}).apply(this,arguments)}var lp=function(e){return $("svg",up({viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),sp||(sp=$("g",{clipPath:"url(#icon-benefits-onboarding_svg__clip0_6223_858)",fill:"#000"},$("path",{d:"M20.195 4.67l-2.8-4a.4.4 0 00-.328-.17h-8.8a.4.4 0 00-.328.17l-2.8 4a.4.4 0 00.045.513l7.2 7.2a.399.399 0 00.566 0l7.2-7.2a.4.4 0 00.045-.512zm-7.528 6.864l-6.68-6.68L8.475 1.3h8.384l2.487 3.554-6.68 6.68z"}),$("path",{d:"M19.467 4.5h-14v.8h14v-.8z"}),$("path",{d:"M15.094 4.755l-2.427 6.241-2.427-6.241-.746.29 2.8 7.2a.4.4 0 00.745 0l2.8-7.2-.745-.29z"}),$("path",{d:"M16.695.752L15.37 4.065 12.995.67c-.15-.214-.506-.214-.656 0L9.964 4.065 8.638.752l-.742.297 1.6 4a.4.4 0 00.699.08l2.472-3.531 2.473 3.531a.399.399 0 00.698-.08l1.6-4-.742-.297zM3.467 4.5h-2.8v.8h2.8v-.8zM2.889.567l-.444.665 2.4 1.6.444-.665-2.4-1.6zM4.846 6.968l-2.4 1.6.443.666 2.4-1.6-.443-.666zM24.667 4.5h-2.8v.8h2.8v-.8zM22.446.568l-2.4 1.6.443.665 2.4-1.6-.443-.665zM20.49 6.965l-.444.666 2.4 1.6.444-.666-2.4-1.6zM23.962 13.816a1.598 1.598 0 00-1.786.003L16.542 17.7h-6.475a.6.6 0 010-1.2h3.002c1.371 0 2.532-.98 2.761-2.336l.064-.4a.4.4 0 00-.395-.464H8.415c-.442 0-.877.15-1.226.42l-3.168 2.464.492.632 3.167-2.464c.21-.162.47-.252.735-.252h6.613a1.994 1.994 0 01-1.96 1.6h-3c-.773 0-1.4.628-1.4 1.4 0 .772.627 1.4 1.4 1.4h6.6a.4.4 0 00.226-.07l5.732-3.95a.798.798 0 011.241.656v.347a.8.8 0 01-.335.646l-6.225 4.395-10.315 1.983.15.786 10.4-2a.406.406 0 00.156-.066l6.297-4.445c.418-.298.67-.783.672-1.298v-.35a1.6 1.6 0 00-.706-1.318z"}),$("path",{d:"M7.825 23.121l-4-8a.402.402 0 00-.58-.154l-2.4 1.6a.4.4 0 00-.178.333v7.2c0 .221.18.4.4.4h4.8a.404.404 0 00.18-.042l1.6-.8a.4.4 0 00.178-.537zm-2.052.579H1.467v-6.586l1.845-1.23 3.618 7.237-1.157.579z"}),$("path",{d:"M3.467 20.5c-.662 0-1.2.538-1.2 1.2 0 .662.538 1.2 1.2 1.2.662 0 1.2-.538 1.2-1.2 0-.662-.538-1.2-1.2-1.2zm0 1.6a.4.4 0 110-.8.4.4 0 010 .8z"}))),ap||(ap=$("defs",null,$("clipPath",{id:"icon-benefits-onboarding_svg__clip0_6223_858"},$("path",{fill:"#fff",transform:"translate(.667 .5)",d:"M0 0h24v24H0z"})))))};class fp extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Height","Width"]}}function dp(e){return $(jh,ml(e,1))}class $p extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Active","Complete","Editing","ReadyToComplete","ToComplete"]}}class hp extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ToBeCompleted","CompletedAll"]}}function pp(e){let t,n;switch(1===e.tag?(t=0,n=e.fields[2]):(t=0,n=e.fields[3]),t){case 0:return n}}function mp(e,t){const n=t.state;if(1===n.tag){if(gn(n.fields[0],e))return new $p(2);if(1===n.tag)return new $p(1);throw new Error("Match failure")}return function(e,t,n,r){const o=ci(e,r,{Equals:(e,t)=>gn(e,t),GetHashCode:e=>hn(e)});let i;switch(i=o?1:gn(t,e)?0:1,i){case 0:return new $p(0);case 1:{let r;switch(r=o&&gn(t,e)?0:1,r){case 0:return new $p(2);case 1:return gn(n,e)?new $p(3):new $p(o?1:4)}}}}(e,n.fields[0],n.fields[1],n.fields[2])}function gp(e,t,n){let r;t.dispatch((r=t.state,1===r.tag?new mh(1,new ph(2,e,void 0,r.fields[1],r.fields[2])):new mh(1,new ph(2,e,r.fields[1],r.fields[2],r.fields[3]))))}function wp(e,t){switch(t.tag){case 1:return n=[new fp(0,e),new fp(1,e)],$(Xh,ml(n,1));case 2:return function(e){return $(Qh,ml(e,1))}([new fp(0,e),new fp(1,e)]);case 3:return function(e){return $(op,ml(e,1))}([new fp(0,e),new fp(1,e)]);case 4:return function(e){return $(cp,ml(e,1))}([new fp(0,e),new fp(1,e)]);case 5:return null;case 6:return function(e){return $(lp,ml(e,1))}([new fp(0,e),new fp(1,e)]);default:return function(e){return $(Hh,ml(e,1))}([new fp(0,e),new fp(1,e)])}var n}function yp(e){const t=Ei(_i(()=>{const t=pp(e.state);return Oi(Di(n=>function(e,t,n){return $("div",Cn(Ei(_i(()=>Oi(xi(["className",gr(" ",["row","mb-3","align-items-center"])]),_i(()=>{let r;return Oi(xi(["children",vr.Children.toArray([$("div",{className:gr(" ",["col-auto"]),children:vr.Children.toArray(Array.from(Ei(_i(()=>Oi(xi($("span",{className:gr(" ",Ei(_i(()=>{switch(mp(e,t).tag){case 4:return xi("fl-step-tick-to-complete");case 0:return xi("fl-step-tick-active");case 1:case 2:return xi("fl-step-tick-complete-or-editing");default:return xi("fl-step-tick-to-complete")}}))),children:vr.Children.toArray([dp([["style",{transform:"scale(0.7)"}],["className",gr(" ",Ei(_i(()=>{switch(mp(e,t).tag){case 4:case 0:return xi("invisible");case 1:case 2:return xi("visible");default:return xi("invisible")}})))]])])})),_i(()=>n?Si():xi($("div",{className:gr(" ",["fl-step-tick-progress-bar"])}))))))))}),$("div",{className:gr(" ",["col-9"]),children:vr.Children.toArray([$("button",{className:gr(" ",Ei(_i(()=>Oi(xi("btn"),_i(()=>Oi(xi("btn-block"),_i(()=>Oi(xi("text-left"),_i(()=>Oi(xi("text-nowrap"),_i(()=>{switch(mp(e,t).tag){case 3:return xi("fl-step-btn-ready-or-complete");case 0:case 2:return xi("fl-step-btn-active-or-editing");case 1:return xi("fl-step-btn-ready-or-complete");default:return xi(lr(ar("%s %s"))("disabled")("fl-step-btn-to-complete"))}}))))))))))),children:vr.Children.toArray([$("span",{className:gr(" ",["mr-2"]),children:vr.Children.toArray([wp(36,e)])}),(r=dh(e),$("span",{children:[r]}))])})])})])]),_i(()=>gn(mp(e,t),new $p(4))?Si():xi(["onClick",n=>{gp(e,t)}])))}))))))}(n,e,gn(n,function(e){const t=Yo(e);if(null==t)throw new Error("List was empty");return po(t)}(t))),t),_i(()=>1===e.state.tag?xi($("button",{className:gr(" ",["col-12","btn","is-primary","btn-block"]),style:{marginTop:"2rem"},children:"Submit",onClick:t=>{e.dispatch(new mh(4,new vc(0)))}})):xi(null)))}));return $("div",{children:vr.Children.toArray(Array.from(t))})}function vp(e){return!(Ho(pp(e.state))<=3)}function _p(e){return vp(e)?25:36}function bp(e,t){return vp(e)?Oi(["small"],t):t}function Cp(e){return $("div",{className:gr(" ",["row","mb-2"]),children:vr.Children.toArray([$("div",{className:gr(" ",["d-flex","w-100","mt-1"]),children:vr.Children.toArray(Array.from(Ei(_i(()=>Di(t=>function(e,t){return $("div",Cn(Ei(_i(()=>Oi(xi(["className",gr(" ",["flex-fill","mx-1"])]),_i(()=>Oi(xi(["children",vr.Children.toArray([$("button",{className:gr(" ",Ei(_i(()=>Oi(xi("btn"),_i(()=>Oi(xi("btn-block"),_i(()=>Oi(xi("text-center"),_i(()=>Oi(xi("text-nowrap"),_i(()=>Oi(xi("border"),_i(()=>{switch(mp(e,t).tag){case 3:return xi("fl-step-btn-ready-or-complete");case 0:case 2:return xi("fl-step-btn-active-or-editing");case 1:return xi("fl-step-btn-ready-or-complete");default:return xi(lr(ar("%s %s"))("disabled")("fl-step-btn-to-complete"))}}))))))))))))),children:vr.Children.toArray([$("span",{className:gr(" ",["mr-md-2"]),children:vr.Children.toArray([wp(_p(t),e)])}),$("span",{children:dh(e),className:gr(" ",bp(t,["d-none","d-md-inline-block"]))})])})])]),_i(()=>gn(mp(e,t),new $p(4))?Si():xi(["onClick",n=>{gp(e,t)}])))))))))}(t,e),pp(e.state))))))})])})}var Sp=n(1),xp=n(0),Ip=n.n(xp);function Ep(e){return(Ep="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})(e)}function kp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tp(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 Op(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tp(Object(n),!0).forEach((function(t){kp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ap(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Mp(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Pp(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}function Np(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),o=Pp(t.slice(0,r)),i=t.slice(r+1).trim();return o.startsWith("webkit")?e[(n=o,n.charAt(0).toUpperCase()+n.slice(1))]=i:e[o]=i,e}),{})}var Dp=!1;try{Dp=!0}catch(e){}function Rp(e){return Sp.b.icon?Sp.b.icon(e):null===e?null:"object"===Ep(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 Bp(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?kp({},e,t):{}}function zp(e){var t=e.forwardedRef,n=Ap(e,["forwardedRef"]),r=n.icon,o=n.mask,i=n.symbol,s=n.className,a=n.title,c=n.titleId,u=Rp(r),l=Bp("classes",[].concat(Mp(function(e){var t,n=e.spin,r=e.pulse,o=e.fixedWidth,i=e.inverse,s=e.border,a=e.listItem,c=e.flip,u=e.size,l=e.rotation,f=e.pull,d=(kp(t={"fa-spin":n,"fa-pulse":r,"fa-fw":o,"fa-inverse":i,"fa-border":s,"fa-li":a,"fa-flip-horizontal":"horizontal"===c||"both"===c,"fa-flip-vertical":"vertical"===c||"both"===c},"fa-".concat(u),null!=u),kp(t,"fa-rotate-".concat(l),null!=l&&0!==l),kp(t,"fa-pull-".concat(f),null!=f),kp(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(d).map((function(e){return d[e]?e:null})).filter((function(e){return e}))}(n)),Mp(s.split(" ")))),f=Bp("transform","string"==typeof n.transform?Sp.b.transform(n.transform):n.transform),d=Bp("mask",Rp(o)),$=Object(Sp.a)(u,Op({},l,{},f,{},d,{symbol:i,title:a,titleId:c}));if(!$)return function(){var e;!Dp&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var h=$.abstract,p={ref:t};return Object.keys(n).forEach((function(e){zp.defaultProps.hasOwnProperty(e)||(p[e]=n[e])})),Lp(h[0],p)}zp.displayName="FontAwesomeIcon",zp.propTypes={border:Ip.a.bool,className:Ip.a.string,mask:Ip.a.oneOfType([Ip.a.object,Ip.a.array,Ip.a.string]),fixedWidth:Ip.a.bool,inverse:Ip.a.bool,flip:Ip.a.oneOf(["horizontal","vertical","both"]),icon:Ip.a.oneOfType([Ip.a.object,Ip.a.array,Ip.a.string]),listItem:Ip.a.bool,pull:Ip.a.oneOf(["right","left"]),pulse:Ip.a.bool,rotation:Ip.a.oneOf([0,90,180,270]),size:Ip.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Ip.a.bool,symbol:Ip.a.oneOfType([Ip.a.bool,Ip.a.string]),title:Ip.a.string,transform:Ip.a.oneOfType([Ip.a.string,Ip.a.object]),swapOpacity:Ip.a.bool},zp.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var Lp=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var o=(n.children||[]).map((function(n){return e(t,n)})),i=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=Np(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Pp(t)]=r}return e}),{attrs:{}}),s=r.style,a=void 0===s?{}:s,c=Ap(r,["style"]);return i.attrs.style=Op({},i.attrs.style,{},a),t.apply(void 0,[n.tag,Op({},i.attrs,{},c)].concat(Mp(o)))}.bind(null,Be.createElement),jp={prefix:"fas",iconName:"chevron-left",icon:[320,512,[],"f053","M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"]};
|
|
7
|
-
/*!
|
|
8
|
-
* Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
|
|
9
|
-
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
10
|
-
*/const Up=(Fp=[],$(zp,{icon:jp},...Fp));var Fp,Gp,Hp,Wp,Vp,qp;function Yp(e){let t;const n=e.dispatch,r=e.allSteps,o=e.completedSteps,i=e.readyToCompleteStep,s=e.step;return $("div",{className:gr(" ",["row","mb-1"]),children:vr.Children.toArray([$("div",{className:gr(" ",["col-2"]),children:vr.Children.toArray([Up]),onClick:e=>{n(new mh(1,function(e,t,n,r){return null==t?new ph(3,n,r):new ph(1,e,t,n,r)}(s,i,o,r)))}}),$("div",{className:gr(" ",["col-8","text-center"]),children:vr.Children.toArray([(t=dh(s),$("b",{children:[t]}))])}),$("div",{className:gr(" ",["col-2"])})])})}class Xp extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["backend-url","access-token"]}}class Zp extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["app-base-url"]}}class Jp extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["workflows-instance-id"]}}function Kp(e,t,n){return $(1===e.tag?ed.ComponentTagName:2===e.tag?td.ComponentTagName:3===e.tag?nd.ComponentTagName:4===e.tag?rd.ComponentTagName:5===e.tag?od.ComponentTagName:6===e.tag?sd.ComponentTagName:Qf.ComponentTagName,ml(t,1),...n)}function Qp(e){let t;return $("div",{className:gr(" ",["text-center"]),children:vr.Children.toArray([$("h4",{children:["Well done!"]}),(t=ei(["You've completed all the steps below.",$("br",{}),"You can review and edit your information by clicking the relevant step, or press Submit to continue."]),$("p",{children:vr.Children.toArray(Array.from(t))})),$("div",{className:gr(" ",["row","justify-content-center","mt-4","mx-1"]),children:vr.Children.toArray([$("div",{className:gr(" ",["col-12","col-sm-6","col-md-4","text-left"]),children:vr.Children.toArray([$(yp,e)])})])})])})}function em(){let e;return $("div",{className:gr(" ",["text-center"]),children:vr.Children.toArray([$("h4",{children:["You're all set!"]}),(e=ei(["You have submitted all the required information and have successfully completed your onboarding.",$("br",{}),$("p",{children:["You can now close this browser tab."]})]),$("p",{children:vr.Children.toArray(Array.from(e))}))])})}function tm(e){const t=e.accessToken,n=e.appMode,r=Ia(function(e){const t=k$(e);return[new gh(Xf(t.sub),vd(t.workflow.instanceId),new vc(0),new ph(0),jo(),new uh(0)),cu()]}(t),(e,r)=>Nh(t,n,e,r),[]),o=r[0],i=r[1];Vs(Cc(()=>function(e,t){return Mh(e,t)}(o.ProcessInstanceId,t),e=>{i(new mh(0,e))}),[]),Vs(()=>{(window.ResizeObserver?new window.ResizeObserver(()=>{y$()}):new p$(()=>{y$()})).observe(document.body)},[]),Vs(()=>{const e=[o.ProcessInstance,o.CurrentView];let t;switch(t=2===e[0].tag?2===e[1].tag&&(4===e[1].fields[0].tag||5===e[1].fields[0].tag)?0:1:2,t){case 0:break;case 1:xu(Fo(zu(n)),2,2)}},[o.CurrentView,o.ProcessInstance]),Hs(()=>{window.addEventListener("step-completion",e=>{i(new mh(2,e))})});switch(o.ProcessInstance.tag){case 1:return $("div",{children:["Please wait..."]});case 3:case 2:return $("div",{className:gr(" ",["container-xl","pb-4"]),children:vr.Children.toArray(Array.from(Ei(_i(()=>Oi(Di(e=>$("style",{children:[e]}),o.CssOverrides),_i(()=>{let e;const r=o.CurrentView;switch(r.tag){case 1:{const e=r.fields[0],t=r.fields[1],n=r.fields[2],o=r.fields[3];return Oi(xi($("div",{className:gr(" ",["text-center"]),children:vr.Children.toArray([$("div",{className:gr(" ",["row","justify-content-center","mt-4","mx-1"]),children:vr.Children.toArray([$("div",{className:gr(" ",["col-12","col-sm-6","col-md-4","text-left"]),children:vr.Children.toArray([$(yp,{dispatch:i,state:null==t?new hp(1,e,n,o):new hp(0,e,t,n,o)})])})])})])})),_i(()=>(b$(0),Si())))}case 2:{const s=r.fields[0],a=r.fields[1],c=r.fields[2],u=r.fields[3];return xi((e=Ei(_i(()=>Oi(Ho(u)>1?xi($("div",{className:gr(" ",["pt-2"]),children:vr.Children.toArray([$(Yp,{step:s,readyToCompleteStep:a,completedSteps:c,allSteps:u,dispatch:i}),$(Cp,{dispatch:i,state:null==a?new hp(1,s,c,u):new hp(0,s,a,c,u)})])})):Si(),_i(()=>xi($("div",{className:gr(" ",["row","px-1"]),children:vr.Children.toArray([$("div",{className:gr(" ",["col-12","rounded-lg","border","p-3"]),style:{backgroundColor:"#FFFFFF"},children:vr.Children.toArray(Array.from(Ei(_i(()=>{if(4===s.tag)return 0===Lu.tag?hr(window.location.pathname,"/")?Oi(xi(Kp(new ch(4),[new Xp(1,t),new Xp(0,lr(ar("%s/super-selection/backend/v1.0/"))(Nu)),new Zp(0,zu(n))],[])),_i(()=>(b$(2500),Si()))):(i(new mh(6)),Si()):(i(new mh(1,new ph(4,Lu.fields[0]))),Si());{const e=s;return Oi(xi(Kp(e,Ei(_i(()=>Oi(xi(new Xp(1,t)),_i(()=>Oi(xi(new Xp(0,Nu)),_i(()=>gn(e,new ch(6))?xi(new Jp(0,cn(_d(o.ProcessInstanceId)))):Si())))))),[])),_i(()=>(b$(1500),Si())))}}))))})])})))))),$("div",{children:vr.Children.toArray(Array.from(e))})))}case 3:return Oi(xi($("div",{className:gr(" ",["pt-5"]),children:vr.Children.toArray([$(Qp,{dispatch:i,state:new hp(1,void 0,r.fields[0],r.fields[1])})])})),_i(()=>(b$(0),Si())));case 4:return Oi(xi($("div",{className:gr(" ",["text-center","mt-5"]),children:"We had an issue. Please try again shortly."})),_i(()=>(b$(0),Si())));case 5:return xi($("div",{className:gr(" ",["mt-5"]),children:vr.Children.toArray([$(em,null)])}));default:return xi($("div",{children:["Please wait..."]}))}}))))))});default:return $("div",{children:["Please wait..."]})}}class nm extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class rm extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}class om extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["AuthCode"]}}function im(e){return new om(0,e)}class sm extends er{constructor(e,t,n,r,o,i){super(),this.id_token=e,this.access_token=t,this.expires_in=n,this.refresh_token=r,this.scope=o,this.token_type=i}}function am(){return Br("Workflows.UI.Auth.Types.Credentials",[],sm,()=>[["id_token",Gr],["access_token",Gr],["expires_in",Vr],["refresh_token",jr(Gr)],["scope",Gr],["token_type",Gr]])}class cm extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SignIn"]}}class um extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","InviteValidation","AuthCodeExchange","NotFound","LoggedOut"]}}function lm(e){let t,n,r,o,i,s,a;const c=function(e){let t,n,r;switch(Go(e)?t=2:"workflows"===Wo(e)?Go(qo(e))?t=2:"app"===Wo(qo(e))?(t=0,n=qo(qo(e))):"embed"===Wo(qo(e))?Go(qo(qo(e)))?t=2:"v1.0"===Wo(qo(qo(e)))?(t=1,r=qo(qo(qo(e)))):t=2:t=2:t=2,t){case 0:return new ua(1,n);case 1:return new ua(0,r);case 2:return new ua(2,void 0)}}(e);return 1===c.tag?[Go(c.fields[0])?Go(c.fields[0])?new um(0):(o=Ou(Wo(c.fields[0])),null!=o?Go(o)?new um(0):"code"===Wo(o)[0]&&Go(qo(o))&&Go(qo(c.fields[0]))?(i=Wo(o)[1],new um(2,im(i))):new um(0):new um(0)):(t=Ou(Wo(c.fields[0])),null!=t?Go(t)?Go(c.fields[0])?new um(0):(o=Ou(Wo(c.fields[0])),null!=o?Go(o)?new um(0):"code"===Wo(o)[0]&&Go(qo(o))&&Go(qo(c.fields[0]))?(i=Wo(o)[1],new um(2,im(i))):new um(0):new um(0)):"invite"===Wo(t)[0]&&Go(qo(t))&&Go(qo(c.fields[0]))?(n=Wo(t)[1],r=jc(n),1===r.tag?new um(3):new um(1,r.fields[0])):Go(c.fields[0])?new um(0):(o=Ou(Wo(c.fields[0])),null!=o?Go(o)?new um(0):"code"===Wo(o)[0]&&Go(qo(o))&&Go(qo(c.fields[0]))?(i=Wo(o)[1],new um(2,im(i))):new um(0):new um(0)):Go(c.fields[0])?new um(0):(o=Ou(Wo(c.fields[0])),null!=o?Go(o)?new um(0):"code"===Wo(o)[0]&&Go(qo(o))&&Go(qo(c.fields[0]))?(i=Wo(o)[1],new um(2,im(i))):new um(0):new um(0))),new Bu(1)]:2===c.tag?[new um(3),new Bu(2)]:[Go(c.fields[0])||Go(qo(c.fields[0]))?new um(0):(s=Ou(Wo(qo(c.fields[0]))),null!=s?Go(s)?new um(0):"code"===Wo(s)[0]?Go(qo(s))?new um(0):"scope"===Wo(qo(s))[0]?Go(qo(qo(s)))?new um(0):"session_state"===Wo(qo(qo(s)))[0]&&Go(qo(qo(qo(s))))&&Go(qo(qo(c.fields[0])))?(a=Wo(s)[1],new um(2,im(a))):new um(0):new um(0):new um(0):new um(0)),new Bu(0)]}class fm extends er{constructor(e,t,n){super(),this.CurrentPage=e,this.Credentials=t,this.AppMode=n}}class dm extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","AuthMsg","DisplayLoggedOut"]}}class $m extends Yn{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class hm{constructor(e){this.state=new $m(0,xo(new Array(bn((e,t)=>yn(e,t),e,10)),0,bn((e,t)=>yn(e,t),e,10),null),0)}}function pm(e){const t=e.state;if(1===t.tag){const n=0|t.fields[1],r=0|t.fields[2],o=t.fields[0],i=(r+1)%o.length|0;return e.state=i===n?new $m(0,o,n):new $m(1,o,n,i),ho(o[r])}}function mm(e,t){const n=e.state;if(1===n.tag){const i=0|n.fields[1],s=0|n.fields[2],a=n.fields[0];a[i]=t;const c=(i+1)%a.length|0;e.state=c===s?new $m(1,(r=s,o=a,Array.from(_i(()=>Oi(Bi(r,o),_i(()=>Oi(zi(r,o),_i(()=>Li(e=>xi(null),Ds(0,1,o.length))))))))),a.length,0):new $m(1,a,c,s)}else{const r=0|n.fields[1],o=n.fields[0];o[r]=t;const i=(r+1)%o.length|0;e.state=new $m(1,o,i,r)}var r,o}class gm extends er{constructor(e,t,n,r,o,i,s){super(),this.init=e,this.update=t,this.subscribe=n,this.view=r,this.setState=o,this.onError=i,this.syncDispatch=s}}function wm(e,t){return new gm(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}function ym(e){return En(2,e.view)}function vm(e,t){const n=t.init(e),r=n[0],o=new hm(10);let i=!1,s=r;const a=kn(1,t.syncDispatch,[e=>{if(i)mm(o,e);else{i=!0;let n=ho(e);for(;null!=n;){const e=po(n);try{const n=t.update(e,s),r=n[0];t.setState(r,a),au(n=>{t.onError([lr(ar("Error in command while handling: %A"))(e),n])},a,n[1]),s=r}catch(n){t.onError([lr(ar("Unable to process the message: %A"))(e),n])}n=pm(o)}i=!1}}]);t.setState(r,a),au(e=>{t.onError(["Error intitializing:",e])},a,lu(ei([(()=>{try{return t.subscribe(r)}catch(e){return t.onError(["Unable to subscribe:",e]),cu()}})(),n[1]])))}class _m extends er{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class bm extends m{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}function Cm(e,t,n,r){return $(bm,new _m(n,()=>t(n,r),e))}function Sm(e,t,n){return wm((r,o)=>{Se(e((e,t)=>e===t,xn(2,ym(n)),r,o),document.getElementById(t))},n)}function xm(e,t){const n=encodeURIComponent(t.fields[0]);const r=encodeURIComponent("apollo-workflows-app"),o=encodeURIComponent((i=new Bu(0),`${window.location.protocol}//${window.location.host}${zu(i)}`));var i;return Xu(0,()=>{let e,t;const i=oa.Bind(ul((t=sl(new Zu(1),il(Pu+"/connect/token")),e=al(nl("application/x-www-form-urlencoded"),t),cl(new Ku(1,`grant_type=authorization_code&code=${n}&client_id=${r}&redirect_uri=${o}`),e))),e=>oa.Return(new ia(0,e)));return oa.Delay(()=>oa.Bind(i,e=>{let t;const n=e;return 1===n.tag?oa.Return(new ia(1,n.fields[0])):oa.ReturnFrom((t=n.fields[0],200===t.statusCode?oa.Return(Af(t.responseText,void 0,void 0,{ResolveType:am})):oa.Return(new ia(1,"Unexpected result from backend"))))}))})}function Im(){return vo(e=>{return 1===(t=Af(e,void 0,void 0,{ResolveType:am})).tag?void 0:ho(t.fields[0]);var t},mo(window.sessionStorage.getItem("credentials")))}function Em(e,t){const n=function(e){return[new nm(0),fu(new cm(0,new rm(0),e))]}(t);return[new fm(e.CurrentPage,n[0],e.AppMode),uu(e=>new dm(1,e),n[1])]}function km(e,t){switch(e.tag){case 1:{const n=function(e,t,n){let r;return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?[new nm(2,new ia(1,"SignIn failed: "+e.fields[0].fields[0].fields[0])),cu()]:(window.gtag&&window.gtag("event","oidc_sign_in",{}),[new nm(2,new ia(0,e.fields[0].fields[0].fields[0])),(r=window.location.pathname,Fo(e=>{xu(Fo(r),1,2)}))]):[new nm(1),du(e=>{$u(e)},e=>xm(0,e),e.fields[1],t=>{const n=[new rm(1,t),e.fields[1]];return new cm(0,n[0],n[1])},t=>{const n=[new rm(1,new ia(1,t.message)),e.fields[1]];return new cm(0,n[0],n[1])})]}(e.fields[0],t.Credentials,t.AppMode),r=n[0],o=[r,t.AppMode];let i,s;switch(2===o[0].tag&&0===o[0].fields[0].tag&&1===o[1].tag?(i=0,s=o[0].fields[0].fields[0]):i=1,i){case 0:!function(e){const t=["credentials",Th(0,new sm(e.id_token,e.access_token,e.expires_in,void 0,e.scope,e.token_type),void 0,void 0,void 0,{ResolveType:am})];window.sessionStorage.setItem(t[0],t[1])}(s)}return[new fm(t.CurrentPage,r,t.AppMode),uu(e=>new dm(1,e),n[1])]}case 2:return[new fm(new um(4),t.Credentials,t.AppMode),cu()];default:{const n=lm(e.fields[0])[0],r=new fm(n,t.Credentials,t.AppMode);return 2===n.tag?Em(r,n.fields[0]):[r,cu()]}}}function Tm(e,t){const n=$("div",{className:gr(" ",["workflows-app"]),children:vr.Children.toArray(Array.from(Ei(_i(()=>{const t=e.CurrentPage;switch(t.tag){case 2:return xi(function(){let e,t;return $("div",{className:gr(" ",["container","vh-100","fade-in"]),children:vr.Children.toArray([$("div",{className:gr(" ",["row","h-100","justify-content-center","align-items-center"]),children:vr.Children.toArray([$("div",{className:gr(" ",["col","col-sm-10","col-md-8","col-lg-5","card","border-light","rounded-lg","shadow-sm"]),children:vr.Children.toArray([$("div",{className:"card-body",children:vr.Children.toArray([$("div",{className:gr(" ",["pt-4","text-center"]),children:vr.Children.toArray([$("i",{className:gr(" ",["fas","fa-5x","fa-shield-check","text-success"])}),$("h4",{className:gr(" ",["my-4","font-weight-normal","text-success"]),children:"Your identity is confirmed"}),$("p",{className:gr(" ",["mt-3","mb-5","text-muted"]),children:"You will be redirected in a moment."})])}),$("p",{className:gr(" ",["mt-5","mb-0","text-black-50","text-right"]),children:vr.Children.toArray([(e="Flare HR Pty Ltd © 2015-"+(t=jn(),Gn(t)),$("small",{children:[e]}))])})])})])})])})])})}());case 1:return xi($(C$,{inviteCode:t.fields[0]}));case 3:return xi($("h1",{children:["Not found"]}));case 4:return xi($(S$,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 xi($(tm,{appMode:e.AppMode,accessToken:r.access_token}));case 1:return xi($("h1",{children:["Unauthorised"]}))}}}}))))});return Eu({hashMode:2,onUrlChanged:e=>{t(new dm(0,e))},application:$(p,{},n)})}!function(e){vm(void 0,e)}((Gp="workflows-app",Wp=function(){const e=lm(Iu(window.location.pathname+window.location.search,2)),t=e[0],n=e[1],r=new fm(t,new nm(0),n);let o;switch(o=2===t.tag?0:1===t.tag?1:0===t.tag&&gn(n,new Bu(1))?2:3,o){case 0:return Em(r,t.fields[0]);case 1:return[r,cu()];case 2:{const e=Im();return null==e?[r,fu(new dm(2))]:[new fm(r.CurrentPage,new nm(2,new ia(0,e)),r.AppMode),cu()]}case 3:return[r,fu(new dm(2))]}},Vp=(e,t)=>km(e,t),qp=(e,t)=>Tm(e,t),Hp=new gm(Wp,Vp,e=>cu(),qp,(e,t)=>{qp(e,t)},e=>{iu(e[0],e[1])},xn(2,e=>e)),Sm((e,t,n,r)=>Cm(e,t,n,r),Gp,Hp)))}]);
|
|
1
|
+
/*! For license information please see workflows-app.js.LICENSE.txt */
|
|
2
|
+
(()=>{var e={703:(e,t,n)=>{"use strict";var r=n(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},697:(e,t,n)=>{e.exports=n(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e,t,r,o,i,a,s={},c=[],u=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function l(e,t){for(var n in t)e[n]=t[n];return e}function f(e){var t=e.parentNode;t&&t.removeChild(e)}function d(t,n,r){var o,i,a,s={};for(a in n)"key"==a?o=n[a]:"ref"==a?i=n[a]:s[a]=n[a];if(arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(a in t.defaultProps)void 0===s[a]&&(s[a]=t.defaultProps[a]);return h(t,s,o,i,null)}function h(e,n,o,i,a){var s={type:e,props:n,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++r:a};return null==a&&null!=t.vnode&&t.vnode(s),s}function m(e){return e.children}function p(e,t){this.props=e,this.context=t}function g(e,t){if(null==t)return e.__?g(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?g(e):null}function w(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return w(e)}}function v(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!y.__r++||i!==t.debounceRendering)&&((i=t.debounceRendering)||setTimeout)(y)}function y(){for(var e;y.__r=o.length;)e=o.sort((function(e,t){return e.__v.__b-t.__v.__b})),o=[],e.some((function(e){var t,n,r,o,i,a;e.__d&&(i=(o=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=l({},o)).__v=o.__v+1,A(a,o,r,t.__n,void 0!==a.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?g(o):i,o.__h),O(n,o),o.__e!=i&&w(o)))}))}function b(e,t,n,r,o,i,a,u,l,f){var d,p,w,v,y,b,C,k=r&&r.__k||c,S=k.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(v=n.__k[d]=null==(v=t[d])||"boolean"==typeof v?null:"string"==typeof v||"number"==typeof v||"bigint"==typeof v?h(null,v,null,null,v):Array.isArray(v)?h(m,{children:v},null,null,null):v.__b>0?h(v.type,v.props,v.key,null,v.__v):v)){if(v.__=n,v.__b=n.__b+1,null===(w=k[d])||w&&v.key==w.key&&v.type===w.type)k[d]=void 0;else for(p=0;p<S;p++){if((w=k[p])&&v.key==w.key&&v.type===w.type){k[p]=void 0;break}w=null}A(e,v,w=w||s,o,i,a,u,l,f),y=v.__e,(p=v.ref)&&w.ref!=p&&(C||(C=[]),w.ref&&C.push(w.ref,null,v),C.push(p,v.__c||y,v)),null!=y?(null==b&&(b=y),"function"==typeof v.type&&v.__k===w.__k?v.__d=l=_(v,l,e):l=x(e,v,w,k,y,l),"function"==typeof n.type&&(n.__d=l)):l&&w.__e==l&&l.parentNode!=e&&(l=g(w))}for(n.__e=b,d=S;d--;)null!=k[d]&&("function"==typeof n.type&&null!=k[d].__e&&k[d].__e==n.__d&&(n.__d=g(r,d+1)),M(k[d],k[d]));if(C)for(d=0;d<C.length;d++)N(C[d],C[++d],C[++d])}function _(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?_(r,t,n):x(n,r,r,o,r.__e,t));return t}function C(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){C(e,t)})):t.push(e)),t}function x(e,t,n,r,o,i){var a,s,c;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(s=i,c=0;(s=s.nextSibling)&&c<r.length;c+=2)if(s==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function k(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||u.test(t)?n:n+"px"}function S(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||k(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||k(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?E:I,i):e.removeEventListener(t,i?E:I,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function I(e){this.l[e.type+!1](t.event?t.event(e):e)}function E(e){this.l[e.type+!0](t.event?t.event(e):e)}function A(e,n,r,o,i,a,s,c,u){var f,d,h,g,w,v,y,_,C,x,k,S,I,E=n.type;if(void 0!==n.constructor)return null;null!=r.__h&&(u=r.__h,c=n.__e=r.__e,n.__h=null,a=[c]),(f=t.__b)&&f(n);try{e:if("function"==typeof E){if(_=n.props,C=(f=E.contextType)&&o[f.__c],x=f?C?C.props.value:f.__:o,r.__c?y=(d=n.__c=r.__c).__=d.__E:("prototype"in E&&E.prototype.render?n.__c=d=new E(_,x):(n.__c=d=new p(_,x),d.constructor=E,d.render=P),C&&C.sub(d),d.props=_,d.state||(d.state={}),d.context=x,d.__n=o,h=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=E.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=l({},d.__s)),l(d.__s,E.getDerivedStateFromProps(_,d.__s))),g=d.props,w=d.state,h)null==E.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==E.getDerivedStateFromProps&&_!==g&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(_,x),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(_,d.__s,x)||n.__v===r.__v){d.props=_,d.state=d.__s,n.__v!==r.__v&&(d.__d=!1),d.__v=n,n.__e=r.__e,n.__k=r.__k,n.__k.forEach((function(e){e&&(e.__=n)})),d.__h.length&&s.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(_,d.__s,x),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(g,w,v)}))}if(d.context=x,d.props=_,d.__v=n,d.__P=e,k=t.__r,S=0,"prototype"in E&&E.prototype.render)d.state=d.__s,d.__d=!1,k&&k(n),f=d.render(d.props,d.state,d.context);else do{d.__d=!1,k&&k(n),f=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++S<25);d.state=d.__s,null!=d.getChildContext&&(o=l(l({},o),d.getChildContext())),h||null==d.getSnapshotBeforeUpdate||(v=d.getSnapshotBeforeUpdate(g,w)),I=null!=f&&f.type===m&&null==f.key?f.props.children:f,b(e,Array.isArray(I)?I:[I],n,r,o,i,a,s,c,u),d.base=n.__e,n.__h=null,d.__h.length&&s.push(d),y&&(d.__E=d.__=null),d.__e=!1}else null==a&&n.__v===r.__v?(n.__k=r.__k,n.__e=r.__e):n.__e=T(r.__e,n,r,o,i,a,s,u);(f=t.diffed)&&f(n)}catch(e){n.__v=null,(u||null!=a)&&(n.__e=c,n.__h=!!u,a[a.indexOf(c)]=null),t.__e(e,n,r)}}function O(e,n){t.__c&&t.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){t.__e(e,n.__v)}}))}function T(t,n,r,o,i,a,c,u){var l,d,h,m=r.props,p=n.props,w=n.type,v=0;if("svg"===w&&(i=!0),null!=a)for(;v<a.length;v++)if((l=a[v])&&"setAttribute"in l==!!w&&(w?l.localName===w:3===l.nodeType)){t=l,a[v]=null;break}if(null==t){if(null===w)return document.createTextNode(p);t=i?document.createElementNS("http://www.w3.org/2000/svg",w):document.createElement(w,p.is&&p),a=null,u=!1}if(null===w)m===p||u&&t.data===p||(t.data=p);else{if(a=a&&e.call(t.childNodes),d=(m=r.props||s).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!u){if(null!=a)for(m={},v=0;v<t.attributes.length;v++)m[t.attributes[v].name]=t.attributes[v].value;(h||d)&&(h&&(d&&h.__html==d.__html||h.__html===t.innerHTML)||(t.innerHTML=h&&h.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||S(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||S(e,i,t[i],n[i],r)}(t,p,m,i,u),h)n.__k=[];else if(v=n.props.children,b(t,Array.isArray(v)?v:[v],n,r,o,i&&"foreignObject"!==w,a,c,a?a[0]:r.__k&&g(r,0),u),null!=a)for(v=a.length;v--;)null!=a[v]&&f(a[v]);u||("value"in p&&void 0!==(v=p.value)&&(v!==t.value||"progress"===w&&!v||"option"===w&&v!==m.value)&&S(t,"value",v,m.value,!1),"checked"in p&&void 0!==(v=p.checked)&&v!==t.checked&&S(t,"checked",v,m.checked,!1))}return t}function N(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function M(e,n,r){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||N(o,null,n)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){t.__e(e,n)}o.base=o.__P=null}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&M(o[i],n,"function"!=typeof e.type);r||null==e.__e||f(e.__e),e.__e=e.__d=void 0}function P(e,t,n){return this.constructor(e,n)}function D(n,r,o){var i,a,c;t.__&&t.__(n,r),a=(i="function"==typeof o)?null:o&&o.__k||r.__k,c=[],A(r,n=(!i&&o||r).__k=d(m,null,[n]),a||s,s,void 0!==r.ownerSVGElement,!i&&o?[o]:a?null:r.firstChild?e.call(r.childNodes):null,c,!i&&o?o:a?a.__e:r.firstChild,i),O(c,n)}function R(e,t){D(e,t,R)}function B(t,n,r){var o,i,a,s=l({},t.props);for(a in n)"key"==a?o=n[a]:"ref"==a?i=n[a]:s[a]=n[a];return arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):r),h(t.type,s,o||t.key,i||t.ref,null)}e=c.slice,t={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},r=0,p.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=l({},this.state),"function"==typeof e&&(e=e(l({},n),this.props)),e&&l(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),v(this))},p.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),v(this))},p.prototype.render=m,o=[],y.__r=0,a=0;var j,L,F,U,z=0,G=[],H=[],V=t.__b,W=t.__r,Z=t.diffed,$=t.__c,Y=t.unmount;function q(e,n){t.__h&&t.__h(L,e,z||n),z=0;var r=L.__H||(L.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:H}),r.__[e]}function X(e){return z=1,J(ae,e)}function J(e,t,n){var r=q(j++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ae(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=L,!L.u)){L.u=!0;var o=L.shouldComponentUpdate;L.shouldComponentUpdate=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(e){return e.__c}));if(i.every((function(e){return!e.__N})))return!o||o.call(this,e,t,n);var a=!1;return i.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!!a&&(!o||o.call(this,e,t,n))}}return r.__N||r.__}function K(e,n){var r=q(j++,3);!t.__s&&ie(r.__H,n)&&(r.__=e,r.i=n,L.__H.__h.push(r))}function Q(e,n){var r=q(j++,4);!t.__s&&ie(r.__H,n)&&(r.__=e,r.i=n,L.__h.push(r))}function ee(e,t){var n=q(j++,7);return ie(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function te(){for(var e;e=G.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(re),e.__H.__h.forEach(oe),e.__H.__h=[]}catch(n){e.__H.__h=[],t.__e(n,e.__v)}}t.__b=function(e){L=null,V&&V(e)},t.__r=function(e){W&&W(e),j=0;var t=(L=e.__c).__H;t&&(F===L?(t.__h=[],L.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=H,e.__N=e.i=void 0}))):(t.__h.forEach(re),t.__h.forEach(oe),t.__h=[])),F=L},t.diffed=function(e){Z&&Z(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==G.push(n)&&U===t.requestAnimationFrame||((U=t.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),ne&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ne&&(t=requestAnimationFrame(n))})(te)),n.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==H&&(e.__=e.__V),e.i=void 0,e.__V=H}))),F=L=null},t.__c=function(e,n){n.some((function(e){try{e.__h.forEach(re),e.__h=e.__h.filter((function(e){return!e.__||oe(e)}))}catch(r){n.some((function(e){e.__h&&(e.__h=[])})),n=[],t.__e(r,e.__v)}})),$&&$(e,n)},t.unmount=function(e){Y&&Y(e);var n,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{re(e)}catch(e){n=e}})),n&&t.__e(n,r.__v))};var ne="function"==typeof requestAnimationFrame;function re(e){var t=L,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),L=t}function oe(e){var t=L;e.__c=e.__(),L=t}function ie(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function ae(e,t){return"function"==typeof t?t(e):t}function se(e,t){for(var n in t)e[n]=t[n];return e}function ce(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function ue(e){this.props=e}(ue.prototype=new p).isPureReactComponent=!0,ue.prototype.shouldComponentUpdate=function(e,t){return ce(this.props,e)||ce(this.state,t)};var le=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),le&&le(e)};var fe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,de=function(e,t){return null==e?null:C(C(e).map(t))},he={map:de,forEach:de,count:function(e){return e?C(e).length:0},only:function(e){var t=C(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:C},me=t.__e;t.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);me(e,t,n,r)};var pe=t.unmount;function ge(){this.__u=0,this.t=null,this.__b=null}function we(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ve(){this.u=null,this.o=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),pe&&pe(e)},(ge.prototype=new p).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=we(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},ge.prototype.componentWillUnmount=function(){this.t=[]},ge.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=se({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&d(m,null,e.fallback);return o&&(o.__h=null),[d(m,null,t.__a?null:e.children),o]};var ye=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function be(e){return this.getChildContext=function(){return e.context},e.children}function _e(e){var t=this,n=e.i;t.componentWillUnmount=function(){D(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),D(d(be,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(ve.prototype=new p).__a=function(e){var t=this,n=we(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),ye(t,e,r)):o()};n?n(i):i()}},ve.prototype.render=function(e){this.u=null,this.o=new Map;var t=C(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},ve.prototype.componentDidUpdate=ve.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){ye(e,n,t)}))};var Ce="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,xe=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,ke="undefined"!=typeof document,Se=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function Ie(e,t,n){return null==t.__k&&(t.textContent=""),D(e,t),"function"==typeof n&&n(),e?e.__c:null}p.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(p.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Ee=t.event;function Ae(){}function Oe(){return this.cancelBubble}function Te(){return this.defaultPrevented}t.event=function(e){return Ee&&(e=Ee(e)),e.persist=Ae,e.isPropagationStopped=Oe,e.isDefaultPrevented=Te,e.nativeEvent=e};var Ne,Me={configurable:!0,get:function(){return this.class}},Pe=t.vnode;t.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in r={},n){var a=n[i];ke&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in n&&null==a||("defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===a?a="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!Se(n.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():o&&xe.test(i)?i=i.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===a&&(a=void 0),/^oninput$/i.test(i)&&(i=i.toLowerCase(),r[i]&&(i="oninputCapture")),r[i]=a)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=C(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=C(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(Me.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Me))}e.$$typeof=Ce,Pe&&Pe(e)};var De=t.__r;t.__r=function(e){De&&De(e),Ne=e.__c};var Re={ReactCurrentDispatcher:{current:{readContext:function(e){return Ne.__n[e.__c].props.value}}}};function Be(e){return!!e&&e.$$typeof===Ce}function je(e){e()}const Le={useState:X,useReducer:J,useEffect:K,useLayoutEffect:Q,useInsertionEffect:Q,useTransition:function(){return[!1,je]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,t){var n=t(),r=X({s:{__:n,h:t}}),o=r[0].s,i=r[1];return Q((function(){o.__=n,o.h=t,o.__!==t()&&i({s:o})}),[e,n,t]),K((function(){return o.__!==o.h()&&i({s:o}),e((function(){o.__!==o.h()&&i({s:o})}))}),[e]),n},startTransition:je,useRef:function(e){return z=5,ee((function(){return{current:e}}),[])},useImperativeHandle:function(e,t,n){z=6,Q((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))},useMemo:ee,useCallback:function(e,t){return z=8,ee((function(){return e}),t)},useContext:function(e){var t=L.context[e.__c],n=q(j++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(L)),t.props.value):e.__},useDebugValue:function(e,n){t.useDebugValue&&t.useDebugValue(n?n(e):e)},version:"17.0.2",Children:he,render:Ie,hydrate:function(e,t,n){return R(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(D(null,e),!0)},createPortal:function(e,t){var n=d(_e,{__v:e,i:t});return n.containerInfo=t,n},createElement:d,createContext:function(e,t){var n={__c:t="__cC"+a++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(v)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return d.bind(null,e)},cloneElement:function(e){return Be(e)?B.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:m,isValidElement:Be,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:p,PureComponent:ue,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:ce(this.props,e)}function r(t){return this.shouldComponentUpdate=n,d(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(t){var n=se({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=fe,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:m,Suspense:ge,SuspenseList:ve,lazy:function(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return d(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Re};function Fe(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function Ue(e){return"function"==typeof e.GetHashCode}function ze(e){return null!=e&&"function"==typeof e.Dispose}function Ge(e){ze(e)&&e.Dispose()}function He(e,t){var n,r;return(null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===(null===(r=Object.getPrototypeOf(t))||void 0===r?void 0:r.constructor)}class Ve{constructor(e){this.iter=e}"System.Collections.Generic.IEnumerator`1.get_Current"(){return this.current}"System.Collections.IEnumerator.get_Current"(){return this.current}"System.Collections.IEnumerator.MoveNext"(){const e=this.iter.next();return this.current=e.value,!e.done}"System.Collections.IEnumerator.Reset"(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function We(e){return"function"==typeof e.GetEnumerator?e.GetEnumerator():new Ve(e[Symbol.iterator]())}function Ze(e){return{[Symbol.iterator](){return this},next(){const t=e["System.Collections.IEnumerator.MoveNext"]();return{done:!t,value:t?e["System.Collections.IEnumerator.get_Current"]():void 0}}}}class $e{constructor(e){this.factory=e,this.isValueCreated=!1}get Value(){return this.isValueCreated||(this.createdValue=this.factory(),this.isValueCreated=!0),this.createdValue}get IsValueCreated(){return this.isValueCreated}}function Ye(e,t){let n=e.toString(10);for(;n.length<t;)n="0"+n;return n}function qe(e){const t=e;return"number"==typeof t.offset?t.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}function Xe(e,t){return(e=e<0&&null!=t&&10!==t?4294967295+e+1:e).toString(t)}class Je{static id(e){return Je.idMap.has(e)||Je.idMap.set(e,++Je.count),Je.idMap.get(e)}}function Ke(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=33*n^e.charCodeAt(t++);return n}function Qe(e){return 2654435761*e|0}function et(e){return 0===e.length?0:e.reduce(((e,t)=>(e<<5)+e^t))}function tt(e){var t;if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return Qe(e);case"string":return Ke(e);default:if(Ue(e))return e.GetHashCode();if(Fe(e))return function(e){const t=e.length,n=new Array(t);for(let r=0;r<t;r++)n[r]=tt(e[r]);return et(n)}(e);if(e instanceof Date)return function(e){return e.getTime()}(e);if((null===(t=Object.getPrototypeOf(e))||void 0===t?void 0:t.constructor)===Object){const t=Object.values(e).map((e=>tt(e)));return et(t)}return Qe(Je.id(e))}}function nt(e){return null==e?0:Ue(e)?e.GetHashCode():Qe(Je.id(e))}function rt(e,t,n){if(null==e)return null==t;if(null==t)return!1;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function ot(e,t){return rt(e,t,it)}function it(e,t){var n;return e===t||(null==e?null==t:null!=t&&"object"==typeof e&&(function(e){return"function"==typeof e.Equals}(e)?e.Equals(t):Fe(e)?Fe(t)&&ot(e,t):e instanceof Date?t instanceof Date&&0===at(e,t):(null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===Object&&function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;n.sort(),r.sort();for(let o=0;o<n.length;o++)if(n[o]!==r[o]||!it(e[n[o]],t[r[o]]))return!1;return!0}(e,t)))}function at(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+qe(e),r=t.getTime()+qe(t)),n===r?0:n<r?-1:1}function st(e,t){return e===t?0:e<t?-1:1}function ct(e,t){return function(e,t,n){if(null==e)return null==t?0:1;if(null==t)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,o=0;r<e.length;r++)if(o=n(e[r],t[r]),0!==o)return o;return 0}(e,t,ut)}function ut(e,t){var n;return e===t?0:null==e?null==t?0:-1:null==t?1:"object"!=typeof e?e<t?-1:1:function(e){return"function"==typeof e.CompareTo}(e)?e.CompareTo(t):Fe(e)?Fe(t)?ct(e,t):-1:e instanceof Date?t instanceof Date?at(e,t):-1:(null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor)===Object?function(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return n.length<r.length?-1:1;n.sort(),r.sort();for(let o=0,i=0;o<n.length;o++){const a=n[o];if(a!==r[o])return a<r[o]?-1:1;if(i=ut(e[a],t[a]),0!==i)return i}return 0}(e,t):-1}function lt(e,t,n){return e(t,n)>0?t:n}function ft(e){const t={};for(const n of e)t[n[0]]=n[1];return t}Je.idMap=new WeakMap,Je.count=0;const dt=Symbol("curried");function ht(e,t){if(null==t||t.length>1)return t;const n=(...n)=>{let r=t;for(let t=0;t<e;t++)r=r(n[t]);return r};return n[dt]=t,n}function mt(e,t,n){return r=>1===t?n(...e.concat([r])):mt(e.concat([r]),t-1,n)}function pt(e,t){return null==t||1===t.length?t:dt in t?t[dt]:mt([],e,t)}function gt(e,t,n){if(null!=t){if(dt in t){t=t[dt];for(let e=0;e<n.length;e++)t=t(n[e]);return t}return mt(n,e,t)}}function wt(e){const t=e<0,n=(e=Math.abs(e))%36e5/6e4;return(t?"-":"+")+Ye(~~(e/36e5),2)+":"+Ye(n,2)}function vt(e,t){const n=e.toISOString();return"first"===t?n.substring(0,n.indexOf("T")):n.substring(n.indexOf("T")+1,n.length-1)}function yt(e,t,n){return t.replace(/(\w)\1*/g,(t=>{let r=Number.NaN;switch(t.substring(0,1)){case"y":const o=n?e.getUTCFullYear():e.getFullYear();r=t.length<4?o%100:o;break;case"M":r=(n?e.getUTCMonth():e.getMonth())+1;break;case"d":r=n?e.getUTCDate():e.getDate();break;case"H":r=n?e.getUTCHours():e.getHours();break;case"h":const i=n?e.getUTCHours():e.getHours();r=i>12?i%12:i;break;case"m":r=n?e.getUTCMinutes():e.getMinutes();break;case"s":r=n?e.getUTCSeconds():e.getSeconds();break;case"f":r=n?e.getUTCMilliseconds():e.getMilliseconds()}return Number.isNaN(r)?t:r<10&&t.length>1?"0"+r:""+r}))}function bt(e,t,n){return null!=e.offset?function(e,t){var n,r,o;const i=new Date(e.getTime()+(null!==(n=e.offset)&&void 0!==n?n:0));if("string"!=typeof t)return i.toISOString().replace(/\.\d+/,"").replace(/[A-Z]|\.\d+/g," ")+wt(null!==(r=e.offset)&&void 0!==r?r:0);if(1!==t.length)return yt(i,t,!0);switch(t){case"D":case"d":return vt(i,"first");case"T":case"t":return vt(i,"second");case"O":case"o":return function(e,t){const n=e.toISOString();return n.substring(0,n.length-1)+wt(t)}(i,null!==(o=e.offset)&&void 0!==o?o:0);default:throw new Error("Unrecognized Date print format")}}(e,t):function(e,t){const n=1===e.kind;if("string"!=typeof t)return n?e.toUTCString():e.toLocaleString();if(1!==t.length)return yt(e,t,n);switch(t){case"D":case"d":return n?vt(e,"first"):e.toLocaleDateString();case"T":case"t":return n?vt(e,"second"):e.toLocaleTimeString();case"O":case"o":return function(e,t){if(t)return e.toISOString();{const t=null==e.kind||2===e.kind;return Ye(e.getFullYear(),4)+"-"+Ye(e.getMonth()+1,2)+"-"+Ye(e.getDate(),2)+"T"+Ye(e.getHours(),2)+":"+Ye(e.getMinutes(),2)+":"+Ye(e.getSeconds(),2)+"."+Ye(e.getMilliseconds(),3)+(t?wt(-6e4*e.getTimezoneOffset()):"")}}(e,n);default:throw new Error("Unrecognized Date print format")}}(e,t)}function _t(e,t){const n=new Date(e);return n.kind=0|(null==t?0:t),n}function Ct(e){function t(){throw new Error(`The string is not a valid Date: ${e}`)}null!=e&&""!==e.trim()||t(),10===e.length&&"-"===e[4]&&"-"===e[7]&&(e+="T00:00:00");let n=new Date(e),r=null;if(isNaN(n.getTime())){const o=/^\s*(\d+[^\w\s:]\d+[^\w\s:]\d+)?\s*(\d+:\d+(?::\d+(?:\.\d+)?)?)?\s*([AaPp][Mm])?\s*(Z|[+-]([01]?\d):?([0-5]?\d)?)?\s*$/.exec(e);if(null!=o){let e,t=0;if(null!=o[2]){const e=o[2].split(":");t=3600*parseInt(e[0],10)+60*parseInt(e[1]||"0",10)+parseFloat(e[2]||"0"),null!=o[3]&&"PM"===o[3].toUpperCase()&&(t+=720)}if(null!=o[4]){if(null!=o[1])e=new Date(o[1]+" UTC");else{const t=new Date;e=new Date(t.getUTCFullYear()+"/"+(t.getUTCMonth()+1)+"/"+t.getUTCDate())}if("Z"===o[4])r="Z";else{let e=60*parseInt(o[5],10)+parseInt(o[6]||"0",10);"-"===o[4][0]&&(e*=-1),r=e,t-=60*e}}else if(null!=o[1])e=new Date(o[1]);else{const t=new Date;e=new Date(t.getFullYear()+"/"+(t.getMonth()+1)+"/"+t.getDate())}n=new Date(e.getTime()+1e3*t),n=new Date(n.getTime()+6e4*(n.getTimezoneOffset()-e.getTimezoneOffset()))}else t();isNaN(n.getTime())&&t()}return[n,r]}function xt(e,t){try{return t.contents=function(e,t=!1){const[n,r]=Ct(e),o=null!=r?t&&"Z"===r?1:2:0;return _t(n.getTime(),o)}(e),!0}catch(e){return!1}}function kt(){return function(e){return function(e,t,n,r=0,o=0,i=0,a=0,s){const c=1===s?Date.UTC(e,t-1,n,r,o,i,a):new Date(e,t-1,n,r,o,i,a).getTime();if(isNaN(c))throw new Error("The parameters describe an unrepresentable Date.");const u=_t(c,s);return e<=99&&u.setFullYear(e,t-1,n),u}(St(e),function(e){return(1===e.kind?e.getUTCMonth():e.getMonth())+1}(e),function(e){return 1===e.kind?e.getUTCDate():e.getDate()}(e),0,0,0,0,e.kind)}(_t(Date.now(),2))}function St(e){return 1===e.kind?e.getUTCFullYear():e.getFullYear()}const It=Symbol("numeric");function Et(e){return"number"==typeof e||(null==e?void 0:e[It])}function At(e,t){return"number"==typeof e?e*t:e[It]().multiply(t)}function Ot(e,t){return"number"==typeof e?e.toFixed(t):e[It]().toFixed(t)}function Tt(e,t){return"number"==typeof e?e.toPrecision(t):e[It]().toPrecision(t)}function Nt(e,t){return"number"==typeof e?e.toExponential(t):e[It]().toExponential(t)}function Mt(e){return"number"==typeof e?(Number(e)>>>0).toString(16):e[It]().toHex()}function Pt(e,t=0){if(0!=(-284&t))throw new Error("RegexOptions only supports: IgnoreCase, Multiline, Compiled, Singleline and ECMAScript");let n="gu";return n+=1&t?"i":"",n+=2&t?"m":"",n+=16&t?"s":"",new RegExp(e,n)}function Dt(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Rt(e,t,n=0){if(null==t)throw new Error("Input cannot ve null");if(!e.global)throw new Error("Non-global RegExp");e.lastIndex=n;const r=[];let o,i=-1;for(;null!=(o=e.exec(t));)o.index===i?e.lastIndex++:(i=o.index,r.push(o));return r}function Bt(e,t=0){var n,r;if(null!=e&&"object"==typeof e){if("function"==typeof e.toString)return e.toString();if(Symbol.iterator in e)return function(e){let t=0,n="[";for(const r of e){if(0===t)n+=Bt(r);else{if(100===t){n+="; ...";break}n+="; "+Bt(r)}t++}return n+"]"}(e);{const o=null===(n=Object.getPrototypeOf(e))||void 0===n?void 0:n.constructor;return o===Object&&t<10?"{ "+Object.entries(e).map((([e,n])=>e+" = "+Bt(n,t+1))).join("\n ")+" }":null!==(r=null==o?void 0:o.name)&&void 0!==r?r:""}}return String(e)}class jt{get name(){return this.cases()[this.tag]}toJSON(){return 0===this.fields.length?this.name:[this.name].concat(this.fields)}toString(){return function(e,t){if(0===t.length)return e;{let n="",r=!0;return 1===t.length?(n=Bt(t[0]),r=n.indexOf(" ")>=0):n=t.map((e=>Bt(e))).join(", "),e+(r?" (":" ")+n+(r?")":"")}}(this.name,this.fields)}GetHashCode(){const e=this.fields.map((e=>tt(e)));return e.splice(0,0,Qe(this.tag)),et(e)}Equals(e){return this===e||!!He(this,e)&&this.tag===e.tag&&ot(this.fields,e.fields)}CompareTo(e){return this===e?0:He(this,e)?this.tag===e.tag?ct(this.fields,e.fields):this.tag<e.tag?-1:1:-1}}class Lt{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+" = "+Bt(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(He(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++)if(!it(e[n[r]],t[n[r]]))return!1;return!0}return!1}(this,e)}CompareTo(e){return function(e,t){if(e===t)return 0;if(He(e,t)){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=ut(e[n[r]],t[n[r]]);if(0!==o)return o}return 0}return-1}(this,e)}}class Ft{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)}}function Ut(e){return function(e){return e instanceof class{constructor(e){this.message=e}}||e instanceof Error}(e)?e:new Error(String(e))}const zt=/(^|[^%])%([0+\- ]*)(\*|\d+)?(?:\.(\d+))?(\w)/g,Gt=/(?:(^|[^%])%([0+\- ]*)(\d+)?(?:\.(\d+))?(\w))?%P\(\)/g,Ht=/\{(\d+)(,-?\d+)?(?:\:([a-zA-Z])(\d{0,2})|\:(.+?))?\}/g;function Vt(e,t){return function(e,t){return"number"==typeof e?e<t?-1:e>t?1:0:e.CompareTo(t)}(e,t)<0}function Wt(e,t,n){function r(e){return!0===e||1===e||3===e||5===e}return null==e?null==t?0:-1:null==t?1:4===(o=n)||5===o?(r(n)&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t?0:e<t?-1:1):(r(n)&&(e=e.toLocaleLowerCase(),t=t.toLocaleLowerCase()),e.localeCompare(t));var o}function Zt(e){return{input:e,cont:(t=e,e=>{zt.lastIndex=0;const n=[],r=[];let o=0,i=zt.exec(t);for(;i;){const e=i.index+(i[1]||"").length;n.push(t.substring(o,e).replace(/%%/g,"%")),r.push(i),o=zt.lastIndex,zt.lastIndex-=1,i=zt.exec(t)}return 0===n.length?e(t.replace(/%%/g,"%")):(n.push(t.substring(o).replace(/%%/g,"%")),Kt(e,n,r))})};var t}function $t(e,t){let n=0,r=0,o="";Gt.lastIndex=0;let i=Gt.exec(e);for(;i;){const a=i.index+(i[1]||"").length;o+=e.substring(r,a).replace(/%%/g,"%");const[,,s,c,u,l]=i;r=Gt.lastIndex,o+=Jt(t[n++],s,c,u,l),Gt.lastIndex=r-1,i=Gt.exec(e)}return o+=e.substring(r).replace(/%%/g,"%"),o}function Yt(e,t){return"string"==typeof t?e(t):t.cont(e)}function qt(e){return Yt((e=>e),e)}function Xt(e){return Yt((e=>{throw new Error(e)}),e)}function Jt(e,t,n,r,o){let i="";if(t=t||"",o=o||"",Et(e))switch("x"!==o.toLowerCase()&&(Vt(e,0)?(e=At(e,-1),i="-"):t.indexOf(" ")>=0?i=" ":t.indexOf("+")>=0&&(i="+")),r=null==r?null:parseInt(r,10),o){case"f":case"F":e=Ot(e,r=null!=r?r:6);break;case"g":case"G":e=null!=r?Tt(e,r):Tt(e);break;case"e":case"E":e=null!=r?Nt(e,r):Nt(e);break;case"x":e=Mt(e);break;case"X":e=Mt(e).toUpperCase();break;default:e=String(e)}else e=e instanceof Date?bt(e):Bt(e);if(n="number"==typeof n?n:parseInt(n,10),isNaN(n))e=i+e;else{const r=t.indexOf("0")>=0,o=t.indexOf("-")>=0,a=o||!r?" ":"0";e="0"===a?i+(e=rn(e,n-i.length,a,o)):rn(i+e,n,a,o)}return e}function Kt(e,t,n,r="",o=-1){return(...i)=>{let a=r;const s=t.slice(),c=n.slice();for(const e of i){const[,,t,n,r,i]=c[0];let u=n;if(o>=0)u=o,o=-1;else if("*"===u){if(e<0)throw new Error("Non-negative number required");o=e;continue}a+=s[0],a+=Jt(e,t,u,r,i),s.splice(0,1),c.splice(0,1)}return 0===c.length?(a+=s[0],e(a)):Kt(e,s,c,a,o)}}function Qt(e,...t){return"object"==typeof e&&t.length>0&&(e=t[0],t.shift()),e.replace(Ht,((e,n,r,o,i,a)=>{if(n<0||n>=t.length)throw new Error("Index must be greater or equal to zero and less than the arguments' length.");let s=t[n];if(Et(s))switch(i=null==i?null:parseInt(i,10),o){case"f":case"F":s=Ot(s,i=null!=i?i:2);break;case"g":case"G":s=null!=i?Tt(s,i):Tt(s);break;case"e":case"E":s=null!=i?Nt(s,i):Nt(s);break;case"p":case"P":i=null!=i?i:2,s=Ot(At(s,100),i)+" %";break;case"d":case"D":s=null!=i?on(String(s),i,"0"):String(s);break;case"x":case"X":s=null!=i?on(Mt(s),i,"0"):Mt(s),"X"===o&&(s=s.toUpperCase());break;default:if(a){let e="";s=a.replace(/([0#,]+)(\.[0#]+)?/,((t,n,r)=>{Vt(s,0)&&(s=At(s,-1),e="-"),r=null==r?"":r.substring(1),s=Ot(s,Math.max(r.length,0));let[o,i]=s.split(".");i||(i=""),o=on(o,n.replace(/,/g,"").replace(/^#+/,"").length,"0");const a=r.replace(/#+$/,"").length;if(a>i.length?i=function(e,t,n){return rn(e,t,"0",!0)}(i,a):a<i.length&&(i=i.substring(0,a)+i.substring(a).replace(/0+$/,"")),n.indexOf(",")>0){const e=o.length%3,t=Math.floor(o.length/3);let n=e>0?o.substr(0,e)+(t>0?",":""):"";for(let r=0;r<t;r++)n+=o.substr(e+3*r,3)+(r<t-1?",":"");o=n}return i.length>0?o+"."+i:o})),s=e+s}}else s=s instanceof Date?bt(s,a||o):Bt(s);return r=parseInt((r||" ").substring(1),10),isNaN(r)||(s=rn(String(s),Math.abs(r)," ",r<0)),s}))}function en(e){return"string"!=typeof e||0===e.length}function tn(e){return"string"!=typeof e||/^\s*$/.test(e)}function nn(e,t){return Array.isArray(t)?t.join(e):Array.from(t).join(e)}function rn(e,t,n,r){n=n||" ",t-=e.length;for(let o=0;o<t;o++)e=r?e+n:n+e;return e}function on(e,t,n){return rn(e,t,n)}function an(e,t,n){if(t+(n||0)>e.length)throw new Error("Invalid startIndex and/or length");return null!=n?e.substr(t,n):e.substr(t)}class sn{constructor(e){this.value=e}toJSON(){return this.value}toString(){return String(this.value)}GetHashCode(){return tt(this.value)}Equals(e){return null!=e&&it(this.value,e instanceof sn?e.value:e)}CompareTo(e){return null==e?1:ut(this.value,e instanceof sn?e.value:e)}}function cn(e){return null==e||e instanceof sn?new sn(e):e}function un(e){if(null==e)throw new Error("Option has no value");return e instanceof sn?e.value:e}function ln(e){return null==e?void 0:e}function fn(e){return null==e?[]:[un(e)]}function dn(e,t){return null!=e?un(e):t}function hn(e,t){return null!=t?cn(e(un(t))):void 0}function mn(e,t){return null!=t?e(un(t)):void 0}function pn(){return e=ut,{Compare:(t,n)=>e(t,n)};var e}function gn(e,t){return"function"==typeof e?new e(t):new Array(t)}function wn(e,t,n,r){const o=0|t;return e.fill(r,o,o+n)}function vn(e,t,n){const r=0|t.length,o=gn(n,r);for(let n=0;n<=r-1;n++)o[n]=e(t[n]);return o}function yn(e,t,n){return n.reduce(e,t)}function bn(e,t,n){if(null==t)return null==n;if(null==n)return!1;{let r=0,o=!0;const i=0|t.length,a=0|n.length;if(i>a)return!1;if(i<a)return!1;for(;r<i&&o;)o=e(t[r],n[r]),r=r+1|0;return o}}function _n(e,t,n,r){return function(e,t,n,r){let o=r;t.length!==n.length&&function(){throw new Error("Arrays had different lengths")}();const i=0|t.length;for(let r=1;r<=i;r++)o=e(0,t[i-r],n[i-r],o);return o}(((t,n,r,o)=>e(n,r,o)),t,n,r)}class Cn extends Lt{constructor(e,t){super(),this.head=e,this.tail=t}toString(){return"["+nn("; ",this)+"]"}Equals(e){return this===e||((e,t)=>{e:for(;;){const n=e,r=t,o=[n.tail,r.tail];if(null!=o[0]){if(null!=o[1]){const i=o[0],a=o[1];if(it(n.head,r.head)){e=i,t=a;continue e}return!1}return!1}return null==o[1]}})(this,e)}GetHashCode(){return 0|((e,t,n)=>{for(;;){const r=e,o=t,i=n,a=i.tail;if(null==a)return 0|o;{const s=a;if(r>18)return 0|o;e=r+1,t=(o<<1)+tt(i.head)+631*r,n=s}}})(0,0,this)}toJSON(e){return Array.from(this)}CompareTo(e){return 0|((e,t)=>{e:for(;;){const n=e,r=t,o=[n.tail,r.tail];if(null!=o[0]){if(null!=o[1]){const i=o[0],a=o[1],s=0|ut(n.head,r.head);if(0===s){e=i,t=a;continue e}return 0|s}return 1}return null!=o[1]?-1:0}})(this,e)}GetEnumerator(){return new xn(this)}[Symbol.iterator](){return Ze(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return We(this)}}class xn{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 kn(){return new Cn(null,void 0)}function Sn(e,t){return new Cn(e,t)}function In(e){return null==e.tail}function En(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 An(e){if(null!=e.tail)return e.head;throw new Error("Collection was empty.\\nParameter name: list")}function On(e){const t=e.tail;if(null!=t)return t;throw new Error("Collection was empty.\\nParameter name: list")}function Tn(){return kn()}function Nn(e,t){return Sn(e,t)}function Mn(e){return Sn(e,kn())}function Pn(e){return In(e)}function Dn(e){return En(e)}function Rn(e){return An(e)}function Bn(e){return On(e)}function jn(e){const t=0|En(e),n=wn(new Array(t),0,t,null);return((e,t)=>{for(;;){const r=e,o=t;if(In(o))break;n[r]=An(o),e=r+1,t=On(o)}})(0,e),n}function Ln(e,t,n){let r=t,o=n;for(;!In(o);)r=e(r,An(o)),o=On(o);return r}function Fn(e){return Ln(((e,t)=>Sn(t,e)),kn(),e)}function Un(e,t){Ln(((t,n)=>{e(n)}),void 0,t)}function zn(e,t){let n=t;for(let t=e.length-1;t>=0;t--)n=Sn(e[t],n);return n}function Gn(e){return zn(e,kn())}function Hn(e,t){return Ln(((e,t)=>Sn(t,e)),t,Fn(e))}function Vn(e,t){const n=kn(),r=Ln(((t,n)=>{const r=new Cn(e(n),void 0);return t.tail=r,r}),n,t),o=kn();return r.tail=o,On(n)}function Wn(e,t){return function(e,t){return(t=>{e:for(;;){const n=t;if(In(n))return;{const r=e(An(n));if(null==r){t=On(n);continue e}return r}}})(t)}((t=>e(t)?cn(t):void 0),t)}function Zn(e,t){return((t,n)=>{for(;;){const r=t,o=n;if(In(o))return;if(e(An(o)))return r;t=r+1,n=On(o)}})(0,t)}function $n(e,t){const n=kn(),r=Ln(((t,n)=>{if(e(n)){const e=new Cn(n,void 0);return t.tail=e,e}return t}),n,t),o=kn();return r.tail=o,On(n)}function Yn(e,t,n){return null!=Zn((t=>n.Equals(e,t)),t)}function qn(e,t){return null!=Zn(e,t)}const Xn="The input sequence has an insufficient number of elements.";function Jn(){throw new Error("Enumeration has not started. Call MoveNext.")}function Kn(){throw new Error("Enumeration already finished.")}class Qn{constructor(e){this.f=e}toString(){let e=0,t="seq [";const n=We(this);try{for(;e<4&&n["System.Collections.IEnumerator.MoveNext"]();)e>0&&(t+="; "),t+=Bt(n["System.Collections.Generic.IEnumerator`1.get_Current"]()),e=e+1|0;return 4===e&&(t+="; ..."),t+"]"}finally{Ge(n)}}GetEnumerator(){return this.f()}[Symbol.iterator](){return Ze(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return this.f()}}class er{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 tr(e,t,n){return new er(e,t,n)}function nr(e,t,n){let r,o=!1,i=cn(e());const a=()=>{if(null!=i){const e=un(i);try{n(e)}finally{i=void 0}}},s=()=>{try{a()}finally{r=void 0}};return tr((()=>(o||Jn(),null!=r?un(r):Kn())),(()=>{if(o||(o=!0),null!=i){const e=un(i);let n;try{n=t(e)}catch(e){throw s(),e}return null!=n?(r=n,!0):(s(),!1)}return!1}),a)}function rr(e){return function(e){return new Qn(e)}(e)}function or(e){return t="source",null==e&&function(e){throw new Error(e)}(t),We(e);var t}function ir(e){return rr((()=>We(e())))}function ar(e){return rr((()=>function(e){let t,n,r,o=!1,i=!1;const a=()=>{if(i=!0,null!=n){const e=n;try{Ge(e)}finally{n=void 0}}if(null!=t){const e=t;try{Ge(e)}finally{t=void 0}}};return tr((()=>(o?i&&Kn():Jn(),null!=r?un(r):Kn())),(()=>{let s;if(o||(o=!0),i)return!1;{let o;for(;null==o;){const i=[t,n];if(null!=i[0])if(null!=i[1]){const e=i[1];if(e["System.Collections.IEnumerator.MoveNext"]())r=cn(e["System.Collections.Generic.IEnumerator`1.get_Current"]()),o=!0;else try{Ge(e)}finally{n=void 0}}else{const e=i[0];e["System.Collections.IEnumerator.MoveNext"]()?(s=e["System.Collections.Generic.IEnumerator`1.get_Current"](),n=We(s)):(a(),o=!1)}else t=We(e)}return un(o)}}),(()=>{i||a()}))}(e)))}function sr(){return ir((()=>new Array(0)))}function cr(e){return ir((()=>function(e,t){const n=gn(void 0,1);return n[0]=e,n}(e)))}function ur(e){return e instanceof Cn?jn(e):Array.from(e)}function lr(e){return Fe(e)?Gn(e):e instanceof Cn?e:function(e){let t,n;if(Fe(e))return Gn(e);if(e instanceof Cn)return e;{const r=kn();let o=r;const i=We(e);try{for(;i["System.Collections.IEnumerator.MoveNext"]();){const e=i["System.Collections.Generic.IEnumerator`1.get_Current"]();t=o,n=new Cn(e,void 0),t.tail=n,o=n}}finally{Ge(i)}const a=o,s=kn();return a.tail=s,On(r)}}(e)}function fr(e,t,n){return rr((()=>nr(e,t,n)))}function dr(e,t,n){return rr((()=>{let r=-1;return nr(e,(e=>(r=r+1|0,t(r,e))),n)}))}function hr(e,t){return ar([e,t])}function mr(e,t,n){const r=or(t);try{let t=!1;for(;!t&&r["System.Collections.IEnumerator.MoveNext"]();)t=n.Equals(e,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return t}finally{Ge(r)}}function pr(e,t,n){const r=or(n);try{let n=t;for(;r["System.Collections.IEnumerator.MoveNext"]();)n=e(n,r["System.Collections.Generic.IEnumerator`1.get_Current"]());return n}finally{Ge(r)}}function gr(e,t){pr(((t,n)=>{e(n)}),void 0,t)}function wr(e,t){return fr((()=>or(t)),(t=>t["System.Collections.IEnumerator.MoveNext"]()?cn(e(t["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{Ge(e)}))}class vr{constructor(e,t){this.cleanup=e,this.res=t}Dispose(){this.cleanup()}GetEnumerator(){return getEnumerator(this.res)}[Symbol.iterator](){return toIterator(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return getEnumerator(this.res)}}function yr(e,t){return rr((()=>{const n=or(t);try{for(let t=1;t<=e;t++)if(!n["System.Collections.IEnumerator.MoveNext"]())throw new Error(Xn+"\\nParameter name: source");return function(e,t){return tr((()=>t["System.Collections.Generic.IEnumerator`1.get_Current"]()),(()=>t["System.Collections.IEnumerator.MoveNext"]()),(()=>{try{Ge(t)}finally{e()}}))}((()=>{}),n)}catch(e){throw Ge(n),e}}))}const br=Le;function _r(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 Cr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_r(Object(n),!0).forEach((function(t){Sr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xr(e){return xr="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},xr(e)}function kr(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 Sr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ir(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||Ar(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 Er(e){return function(e){if(Array.isArray(e))return Or(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ar(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 Ar(e,t){if(e){if("string"==typeof e)return Or(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)?Or(e,t):void 0}}function Or(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 Tr=function(){},Nr={},Mr={},Pr=null,Dr={mark:Tr,measure:Tr};try{"undefined"!=typeof window&&(Nr=window),"undefined"!=typeof document&&(Mr=document),"undefined"!=typeof MutationObserver&&(Pr=MutationObserver),"undefined"!=typeof performance&&(Dr=performance)}catch(c){}var Rr=(Nr.navigator||{}).userAgent,Br=void 0===Rr?"":Rr,jr=Nr,Lr=Mr,Fr=Pr,Ur=Dr,zr=(jr.document,!!Lr.documentElement&&!!Lr.head&&"function"==typeof Lr.addEventListener&&"function"==typeof Lr.createElement),Gr=~Br.indexOf("MSIE")||~Br.indexOf("Trident/"),Hr="svg-inline--fa",Vr="data-fa-i2svg",Wr="data-fa-pseudo-element",Zr="data-prefix",$r="data-icon",Yr="fontawesome-i2svg",qr=["HTML","HEAD","STYLE","SCRIPT"],Xr=function(){try{return!0}catch(e){return!1}}(),Jr={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"},Kr={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},Qr={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},eo={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},to=/fa[srltdbk]?[\-\ ]/,no="fa-layers-text",ro=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,oo={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},io=[1,2,3,4,5,6,7,8,9,10],ao=io.concat([11,12,13,14,15,16,17,18,19,20]),so=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],co="duotone-group",uo="primary",lo="secondary",fo=[].concat(Er(Object.keys(Kr)),["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",co,"swap-opacity",uo,lo]).concat(io.map((function(e){return"".concat(e,"x")}))).concat(ao.map((function(e){return"w-".concat(e)}))),ho=jr.FontAwesomeConfig||{};Lr&&"function"==typeof Lr.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=Ir(e,2),n=t[0],r=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Lr.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=o&&(ho[r]=o)}));var mo=Cr(Cr({},{familyPrefix:"fa",styleDefault:"solid",replacementClass:Hr,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0}),ho);mo.autoReplaceSvg||(mo.observeMutations=!1);var po={};Object.keys(mo).forEach((function(e){Object.defineProperty(po,e,{enumerable:!0,set:function(t){mo[e]=t,go.forEach((function(e){return e(po)}))},get:function(){return mo[e]}})})),jr.FontAwesomeConfig=po;var go=[],wo=16,vo={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function yo(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function bo(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function _o(e){return e.classList?bo(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function Co(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function xo(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function ko(e){return e.size!==vo.size||e.x!==vo.x||e.y!==vo.y||e.rotate!==vo.rotate||e.flipX||e.flipY}function So(){var e="fa",t=Hr,n=po.familyPrefix,r=po.replacementClass,o=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0);\n animation-delay: var(--fa-animation-delay, 0);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';if(n!==e||r!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return o}var Io=!1;function Eo(){po.autoAddCss&&!Io&&(function(e){if(e&&zr){var t=Lr.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Lr.head.childNodes,r=null,o=n.length-1;o>-1;o--){var i=n[o],a=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=i)}Lr.head.insertBefore(t,r)}}(So()),Io=!0)}var Ao={mixout:function(){return{dom:{css:So,insertCss:Eo}}},hooks:function(){return{beforeDOMElementCreation:function(){Eo()},beforeI2svg:function(){Eo()}}}},Oo=jr||{};Oo.___FONT_AWESOME___||(Oo.___FONT_AWESOME___={}),Oo.___FONT_AWESOME___.styles||(Oo.___FONT_AWESOME___.styles={}),Oo.___FONT_AWESOME___.hooks||(Oo.___FONT_AWESOME___.hooks={}),Oo.___FONT_AWESOME___.shims||(Oo.___FONT_AWESOME___.shims=[]);var To=Oo.___FONT_AWESOME___,No=[],Mo=!1;function Po(e){zr&&(Mo?setTimeout(e,0):No.push(e))}function Do(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,o=e.children,i=void 0===o?[]:o;return"string"==typeof e?Co(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Co(e[n]),'" ')}),"").trim()}(r),">").concat(i.map(Do).join(""),"</").concat(t,">")}function Ro(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}zr&&((Mo=(Lr.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Lr.readyState))||Lr.addEventListener("DOMContentLoaded",(function e(){Lr.removeEventListener("DOMContentLoaded",e),Mo=1,No.map((function(e){return e()}))})));var Bo=function(e,t,n,r){var o,i,a,s=Object.keys(e),c=s.length,u=void 0!==r?function(e,t){return function(n,r,o,i){return e.call(t,n,r,o,i)}}(t,r):t;for(void 0===n?(o=1,a=e[s[0]]):(o=0,a=n);o<c;o++)a=u(a,e[i=s[o]],i,e);return a};function jo(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e);return 1===t.length?t[0].toString(16):null}function Lo(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 Fo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,o=void 0!==r&&r,i=Lo(t);"function"!=typeof To.hooks.addPack||o?To.styles[e]=Cr(Cr({},To.styles[e]||{}),i):To.hooks.addPack(e,Lo(t)),"fas"===e&&Fo("fa",t)}var Uo=To.styles,zo=To.shims,Go=Object.values(Qr),Ho=null,Vo={},Wo={},Zo={},$o={},Yo={},qo=Object.keys(Jr);function Xo(e,t){var n,r=t.split("-"),o=r[0],i=r.slice(1).join("-");return o!==e||""===i||(n=i,~fo.indexOf(n))?null:i}var Jo,Ko=function(){var e=function(e){return Bo(Uo,(function(t,n,r){return t[r]=Bo(n,e,{}),t}),{})};Vo=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})),Wo=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})),Yo=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 Uo||po.autoFetchSvg,n=Bo(zo,(function(e,n){var r=n[0],o=n[1],i=n[2];return"far"!==o||t||(o="fas"),"string"==typeof r&&(e.names[r]={prefix:o,iconName:i}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:o,iconName:i}),e}),{names:{},unicodes:{}});Zo=n.names,$o=n.unicodes,Ho=ri(po.styleDefault)};function Qo(e,t){return(Vo[e]||{})[t]}function ei(e,t){return(Yo[e]||{})[t]}function ti(e){return Zo[e]||{prefix:null,iconName:null}}function ni(){return Ho}function ri(e){var t=Kr[e]||Kr[Jr[e]],n=e in To.styles?e:null;return t||n||null}function oi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.skipLookups,r=void 0!==n&&n,o=null,i=e.reduce((function(e,t){var n=Xo(po.familyPrefix,t);if(Uo[t]?(t=Go.includes(t)?eo[t]:t,o=t,e.prefix=t):qo.indexOf(t)>-1?(o=t,e.prefix=ri(t)):n?e.iconName=n:t!==po.replacementClass&&e.rest.push(t),!r&&e.prefix&&e.iconName){var i="fa"===o?ti(e.iconName):{},a=ei(e.prefix,e.iconName);i.prefix&&(o=null),e.iconName=i.iconName||a||e.iconName,e.prefix=i.prefix||e.prefix,"far"!==e.prefix||Uo.far||!Uo.fas||po.autoFetchSvg||(e.prefix="fas")}return e}),{prefix:null,iconName:null,rest:[]});return"fa"!==i.prefix&&"fa"!==o||(i.prefix=ni()||"fas"),i}Jo=function(e){Ho=ri(e.styleDefault)},go.push(Jo),Ko();var ii=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach((function(t){e.definitions[t]=Cr(Cr({},e.definitions[t]||{}),o[t]),Fo(t,o[t]);var n=Qr[t];n&&Fo(n,o[t]),Ko()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],o=r.prefix,i=r.iconName,a=r.icon,s=a[2];e[o]||(e[o]={}),s.length>0&&s.forEach((function(t){"string"==typeof t&&(e[o][t]=a)})),e[o][i]=a})),e}}],n&&kr(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),ai=[],si={},ci={},ui=Object.keys(ci);function li(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=si[e]||[];return i.forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function fi(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=si[e]||[];o.forEach((function(e){e.apply(null,n)}))}function di(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return ci[e]?ci[e].apply(null,t):void 0}function hi(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||ni();if(t)return t=ei(n,t)||t,Ro(mi.definitions,n,t)||Ro(To.styles,n,t)}var mi=new ii,pi={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return zr?(fi("beforeI2svg",e),di("pseudoElements2svg",e),di("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot;!1===po.autoReplaceSvg&&(po.autoReplaceSvg=!0),po.observeMutations=!0,Po((function(){wi({autoReplaceSvgRoot:t}),fi("watch",e)}))}},gi={noAuto:function(){po.autoReplaceSvg=!1,po.observeMutations=!1,fi("noAuto")},config:po,dom:pi,parse:{icon:function(e){if(null===e)return null;if("object"===xr(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:ei(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=ri(e[0]);return{prefix:n,iconName:ei(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(po.familyPrefix,"-"))>-1||e.match(to))){var r=oi(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||ni(),iconName:ei(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var o=ni();return{prefix:o,iconName:ei(o,e)||e}}}},library:mi,findIconDefinition:hi,toHtml:Do},wi=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot,n=void 0===t?Lr:t;(Object.keys(To.styles).length>0||po.autoFetchSvg)&&zr&&po.autoReplaceSvg&&gi.dom.i2svg({node:n})};function vi(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Do(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(zr){var t=Lr.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function yi(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,i=e.iconName,a=e.transform,s=e.symbol,c=e.title,u=e.maskId,l=e.titleId,f=e.extra,d=e.watchable,h=void 0!==d&&d,m=r.found?r:n,p=m.width,g=m.height,w="fak"===o,v=[po.replacementClass,i?"".concat(po.familyPrefix,"-").concat(i):""].filter((function(e){return-1===f.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(f.classes).join(" "),y={children:[],attributes:Cr(Cr({},f.attributes),{},{"data-prefix":o,"data-icon":i,class:v,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(g)})},b=w&&!~f.classes.indexOf("fa-fw")?{width:"".concat(p/g*16*.0625,"em")}:{};h&&(y.attributes[Vr]=""),c&&(y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(l||yo())},children:[c]}),delete y.attributes.title);var _=Cr(Cr({},y),{},{prefix:o,iconName:i,main:n,mask:r,maskId:u,transform:a,symbol:s,styles:Cr(Cr({},b),f.styles)}),C=r.found&&n.found?di("generateAbstractMask",_)||{children:[],attributes:{}}:di("generateAbstractIcon",_)||{children:[],attributes:{}},x=C.children,k=C.attributes;return _.children=x,_.attributes=k,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,i=e.symbol,a=!0===i?"".concat(t,"-").concat(po.familyPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Cr(Cr({},o),{},{id:a}),children:r}]}]}(_):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,i=e.styles,a=e.transform;if(ko(a)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};o.style=xo(Cr(Cr({},i),{},{"transform-origin":"".concat(s.x+a.x/16,"em ").concat(s.y+a.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(_)}function bi(e){var t=e.content,n=e.width,r=e.height,o=e.transform,i=e.title,a=e.extra,s=e.watchable,c=void 0!==s&&s,u=Cr(Cr(Cr({},a.attributes),i?{title:i}:{}),{},{class:a.classes.join(" ")});c&&(u[Vr]="");var l=Cr({},a.styles);ko(o)&&(l.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,o=e.height,i=void 0===o?16:o,a=e.startCentered,s=void 0!==a&&a,c="";return c+=s&&Gr?"translate(".concat(t.x/wo-r/2,"em, ").concat(t.y/wo-i/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/wo,"em), calc(-50% + ").concat(t.y/wo,"em)) "):"translate(".concat(t.x/wo,"em, ").concat(t.y/wo,"em) "),(c+="scale(".concat(t.size/wo*(t.flipX?-1:1),", ").concat(t.size/wo*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:o,startCentered:!0,width:n,height:r}),l["-webkit-transform"]=l.transform);var f=xo(l);f.length>0&&(u.style=f);var d=[];return d.push({tag:"span",attributes:u,children:[t]}),i&&d.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),d}function _i(e){var t=e.content,n=e.title,r=e.extra,o=Cr(Cr(Cr({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),i=xo(r.styles);i.length>0&&(o.style=i);var a=[];return a.push({tag:"span",attributes:o,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}var Ci=To.styles;function xi(e){var t=e[0],n=e[1],r=Ir(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(po.familyPrefix,"-").concat(co)},children:[{tag:"path",attributes:{class:"".concat(po.familyPrefix,"-").concat(lo),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(po.familyPrefix,"-").concat(uo),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var ki={found:!1,width:512,height:512};function Si(e,t){var n=t;return"fa"===t&&null!==po.styleDefault&&(t=ni()),new Promise((function(r,o){if(di("missingIconAbstract"),"fa"===n){var i=ti(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&Ci[t]&&Ci[t][e])return r(xi(Ci[t][e]));!function(e,t){Xr||po.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(Cr(Cr({},ki),{},{icon:po.showMissingIcons&&e&&di("missingIconAbstract")||{}}))}))}var Ii=function(){},Ei=po.measurePerformance&&Ur&&Ur.mark&&Ur.measure?Ur:{mark:Ii,measure:Ii},Ai='FA "6.1.2"',Oi=function(e){return Ei.mark("".concat(Ai," ").concat(e," begins")),function(){return function(e){Ei.mark("".concat(Ai," ").concat(e," ends")),Ei.measure("".concat(Ai," ").concat(e),"".concat(Ai," ").concat(e," begins"),"".concat(Ai," ").concat(e," ends"))}(e)}},Ti=function(){};function Ni(e){return"string"==typeof(e.getAttribute?e.getAttribute(Vr):null)}function Mi(e){return Lr.createElementNS("http://www.w3.org/2000/svg",e)}function Pi(e){return Lr.createElement(e)}function Di(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.ceFn,r=void 0===n?"svg"===e.tag?Mi:Pi:n;if("string"==typeof e)return Lr.createTextNode(e);var o=r(e.tag);Object.keys(e.attributes||[]).forEach((function(t){o.setAttribute(t,e.attributes[t])}));var i=e.children||[];return i.forEach((function(e){o.appendChild(Di(e,{ceFn:r}))})),o}var Ri={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(Di(e),t)})),null===t.getAttribute(Vr)&&po.keepOriginalSource){var n=Lr.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(~_o(t).indexOf(po.replacementClass))return Ri.replace(e);var r=new RegExp("".concat(po.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var o=n[0].attributes.class.split(" ").reduce((function(e,t){return t===po.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=o.toSvg.join(" "),0===o.toNode.length?t.removeAttribute("class"):t.setAttribute("class",o.toNode.join(" "))}var i=n.map((function(e){return Do(e)})).join("\n");t.setAttribute(Vr,""),t.innerHTML=i}};function Bi(e){e()}function ji(e,t){var n="function"==typeof t?t:Ti;if(0===e.length)n();else{var r=Bi;"async"===po.mutateApproach&&(r=jr.requestAnimationFrame||Bi),r((function(){var t=!0===po.autoReplaceSvg?Ri.replace:Ri[po.autoReplaceSvg]||Ri.replace,r=Oi("mutate");e.map(t),r(),n()}))}}var Li=!1;function Fi(){Li=!0}function Ui(){Li=!1}var zi=null;function Gi(e){if(Fr&&po.observeMutations){var t=e.treeCallback,n=void 0===t?Ti:t,r=e.nodeCallback,o=void 0===r?Ti:r,i=e.pseudoElementsCallback,a=void 0===i?Ti:i,s=e.observeMutationsRoot,c=void 0===s?Lr:s;zi=new Fr((function(e){if(!Li){var t=ni();bo(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Ni(e.addedNodes[0])&&(po.searchPseudoElements&&a(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&po.searchPseudoElements&&a(e.target.parentNode),"attributes"===e.type&&Ni(e.target)&&~so.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(Zr):null,n=e.getAttribute?e.getAttribute($r):null;return t&&n}(e.target)){var r=oi(_o(e.target)),i=r.prefix,s=r.iconName;e.target.setAttribute(Zr,i||t),s&&e.target.setAttribute($r,s)}else(c=e.target)&&c.classList&&c.classList.contains&&c.classList.contains(po.replacementClass)&&o(e.target);var c}))}})),zr&&zi.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Hi(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],o=n.slice(1);return r&&o.length>0&&(e[r]=o.join(":").trim()),e}),{})),n}function Vi(e){var t,n,r=e.getAttribute("data-prefix"),o=e.getAttribute("data-icon"),i=void 0!==e.innerText?e.innerText.trim():"",a=oi(_o(e));return a.prefix||(a.prefix=ni()),r&&o&&(a.prefix=r,a.iconName=o),a.iconName&&a.prefix||(a.prefix&&i.length>0&&(a.iconName=(t=a.prefix,n=e.innerText,(Wo[t]||{})[n]||Qo(a.prefix,jo(e.innerText)))),!a.iconName&&po.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function Wi(e){var t=bo(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 po.autoA11y&&(n?t["aria-labelledby"]="".concat(po.replacementClass,"-title-").concat(r||yo()):(t["aria-hidden"]="true",t.focusable="false")),t}function Zi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Vi(e),r=n.iconName,o=n.prefix,i=n.rest,a=Wi(e),s=li("parseNodeAttributes",{},e),c=t.styleParser?Hi(e):[];return Cr({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:vo,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:c,attributes:a}},s)}var $i=To.styles;function Yi(e){var t="nest"===po.autoReplaceSvg?Zi(e,{styleParser:!1}):Zi(e);return~t.extra.classes.indexOf(no)?di("generateLayersText",e,t):di("generateSvgReplacementMutation",e,t)}function qi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!zr)return Promise.resolve();var n=Lr.documentElement.classList,r=function(e){return n.add("".concat(Yr,"-").concat(e))},o=function(e){return n.remove("".concat(Yr,"-").concat(e))},i=po.autoFetchSvg?Object.keys(Jr):Object.keys($i);i.includes("fa")||i.push("fa");var a=[".".concat(no,":not([").concat(Vr,"])")].concat(i.map((function(e){return".".concat(e,":not([").concat(Vr,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=bo(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),o("complete");var c=Oi("onTree"),u=s.reduce((function(e,t){try{var n=Yi(t);n&&e.push(n)}catch(e){Xr||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(u).then((function(n){ji(n,(function(){r("active"),r("complete"),o("pending"),"function"==typeof t&&t(),c(),e()}))})).catch((function(e){c(),n(e)}))}))}function Xi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Yi(e).then((function(e){e&&ji([e],t)}))}var Ji=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?vo:n,o=t.symbol,i=void 0!==o&&o,a=t.mask,s=void 0===a?null:a,c=t.maskId,u=void 0===c?null:c,l=t.title,f=void 0===l?null:l,d=t.titleId,h=void 0===d?null:d,m=t.classes,p=void 0===m?[]:m,g=t.attributes,w=void 0===g?{}:g,v=t.styles,y=void 0===v?{}:v;if(e){var b=e.prefix,_=e.iconName,C=e.icon;return vi(Cr({type:"icon"},e),(function(){return fi("beforeDOMElementCreation",{iconDefinition:e,params:t}),po.autoA11y&&(f?w["aria-labelledby"]="".concat(po.replacementClass,"-title-").concat(h||yo()):(w["aria-hidden"]="true",w.focusable="false")),yi({icons:{main:xi(C),mask:s?xi(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:b,iconName:_,transform:Cr(Cr({},vo),r),symbol:i,title:f,maskId:u,titleId:h,extra:{attributes:w,styles:y,classes:p}})}))}},Ki={mixout:function(){return{icon:(e=Ji,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:hi(t||{}),o=n.mask;return o&&(o=(o||{}).icon?o:hi(o||{})),e(r,Cr(Cr({},n),{},{mask:o}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=qi,e.nodeCallback=Xi,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?Lr:t,r=e.callback;return qi(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,o=t.titleId,i=t.prefix,a=t.transform,s=t.symbol,c=t.mask,u=t.maskId,l=t.extra;return new Promise((function(t,f){Promise.all([Si(n,i),c.iconName?Si(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(c){var f=Ir(c,2),d=f[0],h=f[1];t([e,yi({icons:{main:d,mask:h},prefix:i,iconName:n,transform:a,symbol:s,maskId:u,title:r,titleId:o,extra:l,watchable:!0})])})).catch(f)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,o=e.main,i=e.transform,a=xo(e.styles);return a.length>0&&(r.style=a),ko(i)&&(t=di("generateAbstractTransformGrouping",{main:o,transform:i,containerWidth:o.width,iconWidth:o.width})),n.push(t||o.icon),{children:n,attributes:r}}}},Qi={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 vi({type:"layer"},(function(){fi("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(po.familyPrefix,"-layers")].concat(Er(r)).join(" ")},children:n}]}))}}}},ea={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,o=t.classes,i=void 0===o?[]:o,a=t.attributes,s=void 0===a?{}:a,c=t.styles,u=void 0===c?{}:c;return vi({type:"counter",content:e},(function(){return fi("beforeDOMElementCreation",{content:e,params:t}),_i({content:e.toString(),title:r,extra:{attributes:s,styles:u,classes:["".concat(po.familyPrefix,"-layers-counter")].concat(Er(i))}})}))}}}},ta={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?vo:n,o=t.title,i=void 0===o?null:o,a=t.classes,s=void 0===a?[]:a,c=t.attributes,u=void 0===c?{}:c,l=t.styles,f=void 0===l?{}:l;return vi({type:"text",content:e},(function(){return fi("beforeDOMElementCreation",{content:e,params:t}),bi({content:e,transform:Cr(Cr({},vo),r),title:i,extra:{attributes:u,styles:f,classes:["".concat(po.familyPrefix,"-layers-text")].concat(Er(s))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,o=t.extra,i=null,a=null;if(Gr){var s=parseInt(getComputedStyle(e).fontSize,10),c=e.getBoundingClientRect();i=c.width/s,a=c.height/s}return po.autoA11y&&!n&&(o.attributes["aria-hidden"]="true"),Promise.resolve([e,bi({content:e.innerHTML,width:i,height:a,transform:r,title:n,extra:o,watchable:!0})])}}},na=new RegExp('"',"ug"),ra=[1105920,1112319];function oa(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise((function(r,o){if(null!==e.getAttribute(n))return r();var i,a,s,c=bo(e.children).filter((function(e){return e.getAttribute(Wr)===t}))[0],u=jr.getComputedStyle(e,t),l=u.getPropertyValue("font-family").match(ro),f=u.getPropertyValue("font-weight"),d=u.getPropertyValue("content");if(c&&!l)return e.removeChild(c),r();if(l&&"none"!==d&&""!==d){var h=u.getPropertyValue("content"),m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?Kr[l[2].toLowerCase()]:oo[f],p=function(e){var t=e.replace(na,""),n=function(e,t){var n,r=e.length,o=e.charCodeAt(0);return o>=55296&&o<=56319&&r>1&&(n=e.charCodeAt(1))>=56320&&n<=57343?1024*(o-55296)+n-56320+65536:o}(t),r=n>=ra[0]&&n<=ra[1],o=2===t.length&&t[0]===t[1];return{value:jo(o?t[0]:t),isSecondary:r||o}}(h),g=p.value,w=p.isSecondary,v=l[0].startsWith("FontAwesome"),y=Qo(m,g),b=y;if(v){var _=(a=$o[i=g],s=Qo("fas",i),a||(s?{prefix:"fas",iconName:s}:null)||{prefix:null,iconName:null});_.iconName&&_.prefix&&(y=_.iconName,m=_.prefix)}if(!y||w||c&&c.getAttribute(Zr)===m&&c.getAttribute($r)===b)r();else{e.setAttribute(n,b),c&&e.removeChild(c);var C={iconName:null,title:null,titleId:null,prefix:null,transform:vo,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},x=C.extra;x.attributes[Wr]=t,Si(y,m).then((function(o){var i=yi(Cr(Cr({},C),{},{icons:{main:o,mask:{prefix:null,iconName:null,rest:[]}},prefix:m,iconName:b,extra:x,watchable:!0})),a=Lr.createElement("svg");"::before"===t?e.insertBefore(a,e.firstChild):e.appendChild(a),a.outerHTML=i.map((function(e){return Do(e)})).join("\n"),e.removeAttribute(n),r()})).catch(o)}}else r()}))}function ia(e){return Promise.all([oa(e,"::before"),oa(e,"::after")])}function aa(e){return!(e.parentNode===document.head||~qr.indexOf(e.tagName.toUpperCase())||e.getAttribute(Wr)||e.parentNode&&"svg"===e.parentNode.tagName)}function sa(e){if(zr)return new Promise((function(t,n){var r=bo(e.querySelectorAll("*")).filter(aa).map(ia),o=Oi("searchPseudoElements");Fi(),Promise.all(r).then((function(){o(),Ui(),t()})).catch((function(){o(),Ui(),n()}))}))}var ca=!1,ua=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},la={mixout:function(){return{parse:{transform:function(e){return ua(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=ua(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,o=e.iconWidth,i={transform:"translate(".concat(r/2," 256)")},a="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),c="rotate(".concat(n.rotate," 0 0)"),u={outer:i,inner:{transform:"".concat(a," ").concat(s," ").concat(c)},path:{transform:"translate(".concat(o/2*-1," -256)")}};return{tag:"g",attributes:Cr({},u.outer),children:[{tag:"g",attributes:Cr({},u.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:Cr(Cr({},t.icon.attributes),u.path)}]}]}}}},fa={x:0,y:0,width:"100%",height:"100%"};function da(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 ha,ma={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?oi(n.split(" ").map((function(e){return e.trim()}))):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=ni()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,o=e.main,i=e.mask,a=e.maskId,s=e.transform,c=o.width,u=o.icon,l=i.width,f=i.icon,d=function(e){var t=e.transform,n=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(o," ").concat(i," ").concat(a)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:s,containerWidth:l,iconWidth:c}),h={tag:"rect",attributes:Cr(Cr({},fa),{},{fill:"white"})},m=u.children?{children:u.children.map(da)}:{},p={tag:"g",attributes:Cr({},d.inner),children:[da(Cr({tag:u.tag,attributes:Cr(Cr({},u.attributes),d.path)},m))]},g={tag:"g",attributes:Cr({},d.outer),children:[p]},w="mask-".concat(a||yo()),v="clip-".concat(a||yo()),y={tag:"mask",attributes:Cr(Cr({},fa),{},{id:w,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,g]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(t=f,"g"===t.tag?t.children:[t])},y]};return n.push(b,{tag:"rect",attributes:Cr({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(w,")")},fa)}),{children:n,attributes:r}}}},pa={provides:function(e){var t=!1;jr.matchMedia&&(t=jr.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:Cr(Cr({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=Cr(Cr({},r),{},{attributeName:"opacity"}),i={tag:"circle",attributes:Cr(Cr({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||i.children.push({tag:"animate",attributes:Cr(Cr({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Cr(Cr({},o),{},{values:"1;0;1;1;0;1;"})}),e.push(i),e.push({tag:"path",attributes:Cr(Cr({},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:Cr(Cr({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:Cr(Cr({},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:Cr(Cr({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},ga=[Ao,Ki,Qi,ea,ta,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=sa,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?Lr:t;po.searchPseudoElements&&sa(n)}}},{mixout:function(){return{dom:{unwatch:function(){Fi(),ca=!0}}}},hooks:function(){return{bootstrap:function(){Gi(li("mutationObserverCallbacks",{}))},noAuto:function(){zi&&zi.disconnect()},watch:function(e){var t=e.observeMutationsRoot;ca?Ui():Gi(li("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},la,ma,pa,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}];ha={mixoutsTo:gi}.mixoutsTo,ai=ga,si={},Object.keys(ci).forEach((function(e){-1===ui.indexOf(e)&&delete ci[e]})),ai.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(ha[e]=t[e]),"object"===xr(t[e])&&Object.keys(t[e]).forEach((function(n){ha[e]||(ha[e]={}),ha[e][n]=t[e][n]}))})),e.hooks){var n=e.hooks();Object.keys(n).forEach((function(e){si[e]||(si[e]=[]),si[e].push(n[e])}))}e.provides&&e.provides(ci)}));var wa=gi.parse,va=gi.icon,ya=n(697),ba=n.n(ya);function _a(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 Ca(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_a(Object(n),!0).forEach((function(t){ka(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xa(e){return xa="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},xa(e)}function ka(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sa(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ia(e){return function(e){if(Array.isArray(e))return Ea(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 Ea(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)?Ea(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 Ea(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 Aa(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 Oa=["style"];function Ta(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),o=Aa(t.slice(0,r)),i=t.slice(r+1).trim();return o.startsWith("webkit")?e[(n=o,n.charAt(0).toUpperCase()+n.slice(1))]=i:e[o]=i,e}),{})}var Na=!1;try{Na=!0}catch(c){}function Ma(e){return e&&"object"===xa(e)&&e.prefix&&e.iconName&&e.icon?e:wa.icon?wa.icon(e):null===e?null:e&&"object"===xa(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 Pa(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?ka({},e,t):{}}var Da=Le.forwardRef((function(e,t){var n=e.icon,r=e.mask,o=e.symbol,i=e.className,a=e.title,s=e.titleId,c=e.maskId,u=Ma(n),l=Pa("classes",[].concat(Ia(function(e){var t,n=e.beat,r=e.fade,o=e.beatFade,i=e.bounce,a=e.shake,s=e.flash,c=e.spin,u=e.spinPulse,l=e.spinReverse,f=e.pulse,d=e.fixedWidth,h=e.inverse,m=e.border,p=e.listItem,g=e.flip,w=e.size,v=e.rotation,y=e.pull,b=(ka(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":i,"fa-shake":a,"fa-flash":s,"fa-spin":c,"fa-spin-reverse":l,"fa-spin-pulse":u,"fa-pulse":f,"fa-fw":d,"fa-inverse":h,"fa-border":m,"fa-li":p,"fa-flip":!0===g,"fa-flip-horizontal":"horizontal"===g||"both"===g,"fa-flip-vertical":"vertical"===g||"both"===g},"fa-".concat(w),null!=w),ka(t,"fa-rotate-".concat(v),null!=v&&0!==v),ka(t,"fa-pull-".concat(y),null!=y),ka(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(b).map((function(e){return b[e]?e:null})).filter((function(e){return e}))}(e)),Ia(i.split(" ")))),f=Pa("transform","string"==typeof e.transform?wa.transform(e.transform):e.transform),d=Pa("mask",Ma(r)),h=va(u,Ca(Ca(Ca(Ca({},l),f),d),{},{symbol:o,title:a,titleId:s,maskId:c}));if(!h)return function(){var e;!Na&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var m=h.abstract,p={ref:t};return Object.keys(e).forEach((function(t){Da.defaultProps.hasOwnProperty(t)||(p[t]=e[t])})),Ra(m[0],p)}));Da.displayName="FontAwesomeIcon",Da.propTypes={beat:ba().bool,border:ba().bool,beatFade:ba().bool,bounce:ba().bool,className:ba().string,fade:ba().bool,flash:ba().bool,mask:ba().oneOfType([ba().object,ba().array,ba().string]),maskId:ba().string,fixedWidth:ba().bool,inverse:ba().bool,flip:ba().oneOf([!0,!1,"horizontal","vertical","both"]),icon:ba().oneOfType([ba().object,ba().array,ba().string]),listItem:ba().bool,pull:ba().oneOf(["right","left"]),pulse:ba().bool,rotation:ba().oneOf([0,90,180,270]),shake:ba().bool,size:ba().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:ba().bool,spinPulse:ba().bool,spinReverse:ba().bool,symbol:ba().oneOfType([ba().bool,ba().string]),title:ba().string,titleId:ba().string,transform:ba().oneOfType([ba().string,ba().object]),swapOpacity:ba().bool},Da.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 Ra=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var o=(n.children||[]).map((function(n){return e(t,n)})),i=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=Ta(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Aa(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,c=Sa(r,Oa);return i.attrs.style=Ca(Ca({},i.attrs.style),s),t.apply(void 0,[n.tag,Ca(Ca({},i.attrs),c)].concat(Ia(o)))}.bind(null,Le.createElement),Ba={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"]},ja={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 La(e,t){return d(Da,e,...t)}const Fa=La({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"]}},[]),Ua=La({icon:ja,size:"5x"},[]),za=La({icon:Ba,size:"5x"},[]);class Ga{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 Ha extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Ha.prototype)}}class Va{constructor(){this.callCount=0}static get maxTrampolineCallCount(){return 2e3}incrementAndCheck(){return this.callCount++>Va.maxTrampolineCallCount}hijack(e){this.callCount=0,setTimeout(e,0)}}function Wa(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new Ha);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack((()=>{try{e(t)}catch(e){t.onError(Ut(e))}}));else try{e(t)}catch(e){t.onError(Ut(e))}}}const Za=new class{Bind(e,t){return function(e,t){return Wa((n=>{e({onSuccess:e=>{try{t(e)(n)}catch(e){n.onError(Ut(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 Wa((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 Wa((t=>t.onSuccess(e)))}(e)}ReturnFrom(e){return e}TryFinally(e,t){return Wa((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 Wa((n=>{e({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:e=>{try{t(e)(n)}catch(e){n.onError(Ut(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 Wa((e=>e.onSuccess(void 0)))}};class $a extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Ok","Error"]}}function Ya(e,t){return 0===t.tag?new $a(0,e(t.fields[0])):new $a(1,t.fields[0])}function qa(e,t){return 0===t.tag?e(t.fields[0]):new $a(1,t.fields[0])}class Xa extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of2","Choice2Of2"]}}class Ja extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Choice1Of3","Choice2Of3","Choice3Of3"]}}function Ka(e){}function Qa(e){const t=new Ga("boolean"==typeof e&&e);return"number"==typeof e&&setTimeout((()=>{t.cancel()}),e),t}function es(e){e.cancel()}const ts=new Ga;function ns(e){return Wa((t=>{let n;const r=setTimeout((()=>{t.cancelToken.removeListener(n),t.onSuccess(void 0)}),e);n=t.cancelToken.addListener((()=>{clearTimeout(r),t.onCancel(new Ha)}))}))}function rs(e,t){return function(e,t){return function(e,t,n,r,o){"function"!=typeof t&&(o=t,t=void 0);const i=new Va;e({onSuccess:t||Ka,onError:n||Ka,onCancel:r||Ka,cancelToken:o||ts,trampoline:i})}(e,t)}(e,t)}const os=class{constructor(){this.delegates=[]}Add(e){this._addHandler(e)}get Publish(){return this}Trigger(e,t){let n,r;void 0===t?(n=null,r=e):(n=e,r=t),this.delegates.forEach((e=>1===e.length?e(r):e(n,r)))}AddHandler(e){this._addHandler(e)}RemoveHandler(e){this._removeHandler(e)}Subscribe(e){const t="function"==typeof e?e:e.OnNext;return this._addHandler(t),{Dispose:()=>{this._removeHandler(t)}}}_addHandler(e){this.delegates.push(e)}_removeHandler(e){const t=this.delegates.indexOf(e);t>-1&&this.delegates.splice(t,1)}};class is{constructor(e,t,n){this.OnNext=e,this.OnError=t||(e=>{}),this.OnCompleted=n||(()=>{})}}function as(e,t){let n,r=new class{constructor(e){this._enabled=!1,this._isDisposed=!1,this._intervalId=0,this._timeoutId=0,this.Interval=e&&e>0?e:100,this.AutoReset=!0,this._elapsed=new os}Elapsed(){return this._elapsed}get Enabled(){return this._enabled}set Enabled(e){this._isDisposed||this._enabled===e||(this._enabled=e,this._enabled?this.AutoReset?this._intervalId=setInterval((()=>{this.AutoReset||(this.Enabled=!1),this._elapsed.Trigger(new Date)}),this.Interval):this._timeoutId=setTimeout((()=>{this.Enabled=!1,this._timeoutId=0,this.AutoReset&&(this.Enabled=!0),this._elapsed.Trigger(new Date)}),this.Interval):(this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=0),this._intervalId&&(clearInterval(this._intervalId),this._intervalId=0)))}Dispose(){this.Enabled=!1,this._isDisposed=!0}Close(){this.Dispose()}Start(){this.Enabled=!0}Stop(){this.Enabled=!1}}(e);r.AutoReset=!1,n=r,function(e,t){t.Subscribe(new is(e))}(t,n.Elapsed()),n.Enabled=!0,n.Start()}function ss(e,t,n){Un((n=>{try{n(t)}catch(t){e(t)}}),n)}function cs(){return Tn()}function us(e,t){return Vn((t=>n=>{t((t=>{n(e(t))}))}),t)}function ls(e){return function(e){const t=kn();let n=t;const r=e=>{n=Ln(((e,t)=>{const n=new Cn(t,void 0);return e.tail=n,n}),n,e)};if(Fe(e))e.forEach(r);else if(e instanceof Cn)Un(r,e);else{const t=We(e);try{for(;t["System.Collections.IEnumerator.MoveNext"]();)r(t["System.Collections.Generic.IEnumerator`1.get_Current"]())}finally{Ge(t)}}const o=n,i=kn();return o.tail=i,On(t)}(e)}function fs(e){return Mn(e)}function ds(e){return Mn((t=>{t(e)}))}function hs(e,t,n,r,o){return Mn((i=>{e(Za.Delay((()=>{return Za.Bind((e=t(n),Wa((t=>{e({onSuccess:e=>t.onSuccess(function(e){return new Xa(0,e)}(e)),onError:e=>t.onSuccess(function(e){return new Xa(1,e)}(e)),onCancel:t.onCancel,cancelToken:t.cancelToken,trampoline:t.trampoline})}))),(e=>{const t=e;return i(1===t.tag?o(t.fields[0]):r(t.fields[0])),Za.Zero()}));var e})))}))}function ms(e){as(0,(t=>{rs(e)}))}function ps(e,t,n,r,o){const i=function(e,t,n,r){const o=0|ut(e,n);if(0===o)throw new Error("The step of a range cannot be zero");const i=o>0;return n=>{const o=0|ut(n,t);return i&&o<=0||!i&&o>=0?[n,r(n,e)]:void 0}}(t,n,r,o);return ir((()=>{return t=i,n=e,rr((()=>function(e,t){let n,r=t;return tr((()=>{if(null!=n){const e=n[0];return n[1],e}return Jn()}),(()=>{if(n=e(r),null!=n){n[0];const e=n[1];return r=e,!0}return!1}),(()=>{}))}(t,n)));var t,n}))}class gs extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Writable","ReadWritable"]}}class ws{constructor(e){this.state=new gs(0,wn(new Array(lt(st,e,10)),0,lt(st,e,10),null),0)}}function vs(e){const t=e.state;if(1===t.tag){const n=0|t.fields[1],r=0|t.fields[2],o=t.fields[0],i=(r+1)%o.length|0;return e.state=i===n?new gs(0,o,n):new gs(1,o,n,i),cn(o[r])}}class ys extends Lt{constructor(e,t,n,r,o,i,a){super(),this.init=e,this.update=t,this.subscribe=n,this.view=r,this.setState=o,this.onError=i,this.syncDispatch=a}}function bs(e,t,n){return new ys(e,t,(e=>cs()),n,ht(2,(e=>{const t=gt(1,n,[e]);return e=>{t(e)}})),(e=>{var t,n;t=e[0],n=e[1],console.error(cn(t),n)}),ht(2,(e=>e)))}function _s(e,t){return new ys(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}function Cs(e,t){const n=t.init(e),r=n[0],o=new ws(10);let i=!1,a=r;const s=gt(1,t.syncDispatch,[e=>{if(i)!function(e,t){const n=e.state;if(1===n.tag){const i=0|n.fields[1],a=0|n.fields[2],s=n.fields[0];s[i]=t;const c=(i+1)%s.length|0;e.state=c===a?new gs(1,(r=a,o=s,Array.from(ir((()=>hr(yr(r,o),ir((()=>{return hr((e=r,t=o,dr((()=>or(t)),((t,n)=>{if(t<e){if(n["System.Collections.IEnumerator.MoveNext"]())return cn(n["System.Collections.Generic.IEnumerator`1.get_Current"]());throw new Error(Xn+"\\nParameter name: source")}}),(e=>{Ge(e)}))),ir((()=>{return t=e=>cr(null),e=o.length,n=ps(0,1,e,0,((e,t)=>e+t)),ir((()=>ar(wr(t,n))));var e,t,n})));var e,t}))))))),s.length,0):new gs(1,s,c,a)}else{const r=0|n.fields[1],o=n.fields[0];o[r]=t;const i=(r+1)%o.length|0;e.state=new gs(1,o,i,r)}var r,o}(o,e);else{i=!0;let n=cn(e);for(;null!=n;){const e=un(n);try{const n=t.update(e,a),r=n[0];t.setState(r,s),ss((n=>{t.onError([qt(Zt("Error in command while handling: %A"))(e),n])}),s,n[1]),a=r}catch(n){t.onError([qt(Zt("Unable to process the message: %A"))(e),n])}n=vs(o)}i=!1}}]);t.setState(r,s),ss((e=>{t.onError(["Error intitializing:",e])}),s,ls(Gn([(()=>{try{return t.subscribe(r)}catch(e){return t.onError(["Unable to subscribe:",e]),cs()}})(),n[1]])))}const xs=(e,t)=>{K((()=>{const t=e();return()=>{t.Dispose()}}),t)};function ks(e){return{Dispose(){e()}}}function Ss(e){return br.useState(e)}function Is(e){var t;t=e,K((()=>{const e=t();return()=>{e.Dispose()}}))}function Es(e,t){xs(e,t)}function As(e){Ts(e,[])}function Os(e){Es(e,[])}function Ts(e,t){xs((t=>(e(),ks((()=>{})))),t)}function Ns(e){return br.useRef(e)}function Ms(e,t){const n=dn(t,[]);return br.useMemo(e,n)}function Ps(e){const t=Ns(e),n=function(e,n){const r=dn([],[]);return br.useCallback((e=>t.current(e)),r)}();var r,o;return r=()=>{t.current=e},o=e=>(r(),ks((()=>{}))),Q((()=>{const e=o();return()=>{e.Dispose()}})),n}class Ds{constructor(){this.hasDisposedOnce=!1,this.state=void 0,this.listener=void 0,this.dispatcher=void 0}}function Rs(){return new Ds}function Bs(e,t,n,r){Cs(t,_s(((e,t)=>{!function(e,t,n){e.state=cn(t),e.dispatcher=n;const r=e.listener;null!=r&&r(t)}(n,e,t)}),e()));const o=function(e){return e.state}(n);if(null!=o)return un(o);throw new Error("Elmish program has not initialized")}function js(e,t){return function(e,t,n){const r=Ss(Rs)[0],o=Ss((()=>Bs(e,t,r))),i=o[1];return Es((()=>(function(e){return e.hasDisposedOnce}(r)&&i(Bs(e,t,r)),ks((()=>{!function(e){const t=e.state;if(null!=t){const e=un(t);ze(e)&&Ge(e)}e.dispatcher=void 0,e.state=void 0,e.hasDisposedOnce=!0}(r)})))),dn(n,[])),function(e,t){null==e.listener&&(e.listener=t)}(r,i),[o[0],e=>{!function(e,t){const n=e.dispatcher;null!=n&&n(t)}(r,e)}]}(e,void 0,t)}function Ls(e,t,n){return js((()=>bs((()=>e),t,((e,t)=>{}))),n)}class Fs extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function Us(e,t){switch(t.tag){case 1:return new Fs(1);case 3:return new Fs(3,t.fields[0]);case 2:try{return new Fs(2,e(t.fields[0]))}catch(e){return new Fs(3,e)}default:return new Fs(0)}}function zs(e,t){const n=function(e){return br.useState(e)}(new Fs(0)),r=n[1];let o;const i=Ns(Qa()),a=Ns(i.current);Os((()=>ks((()=>{es(i.current)})))),o=a;const s=Za.Delay((()=>Za.TryWith(Za.Delay((()=>(r(new Fs(1)),Za.Bind(e,(e=>(r(new Fs(2,e)),Za.Zero())))))),(e=>(r(new Fs(3,e)),Za.Zero())))));return Ts((()=>{rs(s,o.current)}),t),n[0]}function Gs(e,t){const n=Ns(Qa());return Os((()=>ks((()=>{es(n.current)})))),Ps((r=>{var o;null!=(o=n.current)&&o.isCancelled||rs(Za.Delay((()=>Za.TryWith(Za.Delay((()=>(t(new Fs(1)),Za.Bind(e(r),(e=>(t(new Fs(2,e)),Za.Zero())))))),(e=>(t(new Fs(3,e)),Za.Zero()))))),n.current)}))}var Hs=null;try{Hs=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 Vs(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}function Ws(e){return!0===(e&&e.__isLong__)}Vs.prototype.GetHashCode=function(){let e=this.unsigned?1:0;return e=(e<<5)+e^this.high,e=(e<<5)+e^this.low,e},Vs.prototype.Equals=function(e){return vc(this,e)},Vs.prototype.CompareTo=function(e){return Cc(this,e)},Vs.prototype.toString=function(e){return mc(this,e)},Vs.prototype.toJSON=function(){return mc(this)},Vs.prototype[It]=function(){const e=this;return{multiply:t=>Ic(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 mc(e.unsigned?e:function(e,t,n){return n?function(e,t){return new Vs(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 Vs(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}}},Vs.prototype.__isLong__,Object.defineProperty(Vs.prototype,"__isLong__",{value:!0});var Zs={},$s={};function Ys(e,t){var n,r,o;return t?(o=0<=(e>>>=0)&&e<256)&&(r=$s[e])?r:(n=Xs(e,(0|e)<0?-1:0,!0),o&&($s[e]=n),n):(o=-128<=(e|=0)&&e<128)&&(r=Zs[e])?r:(n=Xs(e,e<0?-1:0,!1),o&&(Zs[e]=n),n)}function qs(e,t){if(isNaN(e))return t?ic:oc;if(t){if(e<0)return ic;if(e>=tc)return lc}else{if(e<=-nc)return fc;if(e+1>=nc)return uc}return e<0?xc(qs(-e,t)):Xs(e%ec|0,e/ec|0,t)}function Xs(e,t,n){return new Vs(e,t,n)}var Js=Math.pow;function Ks(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return oc;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 xc(Ks(e.substring(1),t,n));for(var o=qs(Js(n,8)),i=oc,a=0;a<e.length;a+=8){var s=Math.min(8,e.length-a),c=parseInt(e.substring(a,a+s),n);i=kc(s<8?Ic(i,qs(Js(n,s))):i=Ic(i,o),qs(c))}return i.unsigned=t,i}function Qs(e,t){return"number"==typeof e?qs(e,t):"string"==typeof e?Ks(e,t):Xs(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}var ec=4294967296,tc=ec*ec,nc=tc/2,rc=Ys(1<<24),oc=Ys(0),ic=Ys(0,!0),ac=Ys(1),sc=Ys(1,!0),cc=Ys(-1),uc=Xs(-1,2147483647,!1),lc=Xs(-1,-1,!0),fc=Xs(0,-2147483648,!1);function dc(e){return e.unsigned?e.low>>>0:e.low}function hc(e){return e.unsigned?(e.high>>>0)*ec+(e.low>>>0):e.high*ec+(e.low>>>0)}function mc(e,t){if((t=t||10)<2||36<t)throw RangeError("radix");if(pc(e))return"0";if(gc(e)){if(vc(e,fc)){var n=qs(t),r=Ec(e,n),o=Sc(Ic(r,n),e);return mc(r,t)+dc(o).toString(t)}return"-"+mc(xc(e),t)}for(var i=qs(Js(t,6),e.unsigned),a=e,s="";;){var c=Ec(a,i),u=(dc(Sc(a,Ic(c,i)))>>>0).toString(t);if(pc(a=c))return u+s;for(;u.length<6;)u="0"+u;s=""+u+s}}function pc(e){return 0===e.high&&0===e.low}function gc(e){return!e.unsigned&&e.high<0}function wc(e){return 1==(1&e.low)}function vc(e,t){return Ws(t)||(t=Qs(t)),(e.unsigned===t.unsigned||e.high>>>31!=1||t.high>>>31!=1)&&e.high===t.high&&e.low===t.low}function yc(e,t){return Cc(e,t)<0}function bc(e,t){return Cc(e,t)>0}function _c(e,t){return Cc(e,t)>=0}function Cc(e,t){if(Ws(t)||(t=Qs(t)),vc(e,t))return 0;var n=gc(e),r=gc(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:gc(Sc(e,t))?-1:1}function xc(e){return!e.unsigned&&vc(e,fc)?fc:kc(function(e){return Xs(~e.low,~e.high,e.unsigned)}(e),ac)}function kc(e,t){Ws(t)||(t=Qs(t));var n=e.high>>>16,r=65535&e.high,o=e.low>>>16,i=65535&e.low,a=t.high>>>16,s=65535&t.high,c=t.low>>>16,u=0,l=0,f=0,d=0;return f+=(d+=i+(65535&t.low))>>>16,l+=(f+=o+c)>>>16,u+=(l+=r+s)>>>16,u+=n+a,Xs((f&=65535)<<16|(d&=65535),(u&=65535)<<16|(l&=65535),e.unsigned)}function Sc(e,t){return Ws(t)||(t=Qs(t)),kc(e,xc(t))}function Ic(e,t){if(pc(e))return e.unsigned?ic:oc;if(Ws(t)||(t=Qs(t)),Hs)return Xs(Hs.mul(e.low,e.high,t.low,t.high),Hs.get_high(),e.unsigned);if(pc(t))return e.unsigned?ic:oc;if(vc(e,fc))return wc(t)?fc:oc;if(vc(t,fc))return wc(e)?fc:oc;if(gc(e))return gc(t)?Ic(xc(e),xc(t)):xc(Ic(xc(e),t));if(gc(t))return xc(Ic(e,xc(t)));if(yc(e,rc)&&yc(t,rc))return qs(hc(e)*hc(t),e.unsigned);var n=e.high>>>16,r=65535&e.high,o=e.low>>>16,i=65535&e.low,a=t.high>>>16,s=65535&t.high,c=t.low>>>16,u=65535&t.low,l=0,f=0,d=0,h=0;return d+=(h+=i*u)>>>16,f+=(d+=o*u)>>>16,d&=65535,f+=(d+=i*c)>>>16,l+=(f+=r*u)>>>16,f&=65535,l+=(f+=o*c)>>>16,f&=65535,l+=(f+=i*s)>>>16,l+=n*u+r*c+o*s+i*a,Xs((d&=65535)<<16|(h&=65535),(l&=65535)<<16|(f&=65535),e.unsigned)}function Ec(e,t){if(Ws(t)||(t=Qs(t)),pc(t))throw Error("division by zero");var n,r,o;if(Hs)return e.unsigned||-2147483648!==e.high||-1!==t.low||-1!==t.high?Xs((e.unsigned?Hs.div_u:Hs.div_s)(e.low,e.high,t.low,t.high),Hs.get_high(),e.unsigned):e;if(pc(e))return e.unsigned?ic:oc;if(e.unsigned){if(t.unsigned||(t=function(e){return e.unsigned?e:Xs(e.low,e.high,!0)}(t)),bc(t,e))return ic;if(bc(t,function(e,t){if(Ws(t)&&(t=dc(t)),0==(t&=63))return e;var n=e.high;return t<32?Xs(e.low>>>t|n<<32-t,n>>>t,e.unsigned):Xs(32===t?n:n>>>t-32,0,e.unsigned)}(e,1)))return sc;o=ic}else{if(vc(e,fc))return vc(t,ac)||vc(t,cc)?fc:vc(t,fc)?ac:vc(n=function(e,t){return Ws(t)&&(t=dc(t)),0==(t&=63)?e:t<32?Xs(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):Xs(0,e.low<<t-32,e.unsigned)}(Ec(function(e,t){return Ws(t)&&(t=dc(t)),0==(t&=63)?e:t<32?Xs(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):Xs(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}(e,1),t),1),oc)?gc(t)?ac:cc:o=kc(n,Ec(r=Sc(e,Ic(t,n)),t));if(vc(t,fc))return e.unsigned?ic:oc;if(gc(e))return gc(t)?Ec(xc(e),xc(t)):xc(Ec(xc(e),t));if(gc(t))return xc(Ec(e,xc(t)));o=oc}for(r=e;_c(r,t);){n=Math.max(1,Math.floor(hc(r)/hc(t)));for(var i=Math.ceil(Math.log(n)/Math.LN2),a=i<=48?1:Js(2,i-48),s=qs(n),c=Ic(s,t);gc(c)||bc(c,r);)c=Ic(s=qs(n-=a,e.unsigned),t);pc(s)&&(s=ac),o=kc(o,s),r=Sc(r,c)}return o}const Ac=Ec,Oc=hc;function Tc(e){return e<0?Math.ceil(e):Math.floor(e)}function Nc(e=0,t=0,n=0,r=0,o=0){switch(arguments.length){case 1:return Mc(arguments[0]);case 3:e=0,t=arguments[0],n=arguments[1],r=arguments[2],o=0}return 864e5*e+36e5*t+6e4*n+1e3*r+o}function Mc(e){return Oc(Ac(e,1e4))}function Pc(e){return Nc(0,e,0)}function Dc(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 Nc(t,0,0,0,0)}if(n>0){const t=/^(-?)((\d+)\.)?(?:0*)([0-9]|0[0-9]|1[0-9]|2[0-3]):(?:0*)([0-5][0-9]|[0-9])(:(?:0*)([0-5][0-9]|[0-9]))?\.?(\d+)?$/.exec(e);if(null!=t&&null!=t[4]&&null!=t[5]){let n=0,r=0,o=0;const i=null!=t[1]&&"-"===t[1]?-1:1,a=+t[4],s=+t[5];if(null!=t[3]&&(n=+t[3]),null!=t[7]&&(o=+t[7]),null!=t[8])switch(t[8].length){case 1:r=100*+t[8];break;case 2:r=10*+t[8];break;case 3:r=+t[8];break;case 4:r=+t[8]/10;break;case 5:r=+t[8]/100;break;case 6:r=+t[8]/1e3;break;case 7:r=+t[8]/1e4;break;default:throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}return i*Nc(n,a,s,o,r)}}throw new Error(`String '${e}' was not recognized as a valid TimeSpan.`)}(e),!0}catch(e){return!1}}function Rc(e,t){const n=function(e,t,n=0){return e.lastIndex=n,e.exec(t)}(Pt(e),t);return null!=n?Bn(lr(ir((()=>wr((e=>e||""),fr((()=>We(n)),(e=>e["System.Collections.IEnumerator.MoveNext"]()?cn(e["System.Collections.IEnumerator.get_Current"]()):void 0),(e=>{const t=e;ze(t)&&Ge(t)}))))))):void 0}function Bc(e,t){return en(t)?new $a(1,qt(Zt("%s cannot be null or empty"))(e)):new $a(0,t)}function jc(e){const t=function(e){let t;const n=Rc(".*?@(.*)",e);switch(t=null!=n?Pn(n)?1:Pn(Bn(n))?0:1:1,t){case 0:return e;case 1:return}}(e);return null!=t?new $a(0,t):new $a(1,"Email is not in the correct format")}const Lc=e=>({tag:"ok",value:e}),Fc=e=>({tag:"error",error:e});class Uc{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 Uc.isAbsoluteUri(e)?Lc(new Uc({original:e,value:new URL(e),kind:t})):Fc("Invalid URI: The format of the URI could not be determined.");case 2:return Uc.isAbsoluteUri(e)?Fc("URI is not a relative path."):Lc(new Uc({original:e,value:e,kind:t}));case 0:return Uc.isAbsoluteUri(e)?Lc(new Uc({original:e,value:new URL(e),kind:1})):Lc(new Uc({original:e,value:e,kind:2}));default:return t}}static tryCreateWithBase(e,t){return 1!==e.uri.kind?Fc("Base URI should have Absolute kind"):"string"==typeof t?Lc(new Uc({original:new URL(t,e.uri.value).toString(),value:new URL(t,e.uri.value),kind:1})):2===t.uri.kind?Lc(new Uc({original:new URL(t.uri.value,e.uri.value).toString(),value:new URL(t.uri.value,e.uri.value),kind:1})):Lc(e)}static tryCreateImpl(e,t=1){return"string"==typeof e?"number"!=typeof t?Fc("Kind must be specified when the baseUri is a string."):Uc.tryCreateWithKind(e,t):"number"==typeof t?Fc("Kind should not be specified when the baseUri is an absolute Uri."):Uc.tryCreateWithBase(e,t)}static create(e,t=1){const n=Uc.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=Uc.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 zc extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SecondFactorCode"]}}function Gc(e){return function(e){return!en(e)&&function(e,t,n=0){return e.lastIndex=n,e.test(t)}(/^(\d{6})$/gu,e)}(e)?new $a(0,new zc(0,e)):new $a(1,"Invalid second factor code format.")}class Hc extends Lt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.NumberOfAttempts=0|n,this.DateOfLastAttempt=r}}Pc(5);class Vc extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["InviteCode"]}}function Wc(e){return function(e){return!tn(e)}(e)?new $a(0,new Vc(0,e)):new $a(1,"Invalid invite code format.")}function Zc(e){return e.fields[0]}class $c extends Lt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.SecondFactor=n,this.Branding=r}}class Yc extends Lt{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class qc extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Logo"]}}class Xc extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompanyName"]}}class Jc extends Lt{constructor(e,t){super(),this.Email=e,this.Phone=t}}class Kc extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Email"]}}class Qc extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Phone"]}}const eu=e=>Ya((e=>new Kc(0,e)),qa(jc,Bc("Email",e))),tu=e=>Ya((e=>new Qc(0,e)),Bc("Phone",e));function nu(e){return tn(e)?new $a(1,"Invalid company name."):new $a(0,new Xc(0,e))}function ru(e){return function(e){try{const t=Uc.create(e);return t.isAbsoluteUri?[!0,t]:[!1,void 0]}catch(e){return[!1,void 0]}}(e)[0]?new $a(0,new qc(0,e)):new $a(1,"Invalid logo url.")}Nc(10,0,0,0),Pc(30);class ou extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Initializing","WaitingForInput","Failed"]}}class iu extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["InitInvite","ActivateInvite","ValidateMfa","ProcessInput","ShowValidation"]}}class au extends Lt{constructor(e,t,n,r,o,i,a){super(),this.InviteToken=e,this.MaskedEmail=t,this.MfaCodeForm=n,this.IsValidationPending=r,this.CanRetry=o,this.Ui=i,this.CssOverrides=a}}const su=(()=>{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 cu(e){return hn((e=>e.passive&&!su?{capture:e.capture,once:e.once,passive:!1}:e),e)}function uu(e){return mn((e=>e.capture?{capture:!0}:void 0),e)}function lu(e,t){return 0===t.indexOf(e)?t:void 0}function fu(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 du(e,t){return function(e){return 1===e?e=>{let t,n,r,o,i,a;return t=lu("/",e),null!=t?(n=t,"#"+n):(r=lu("#/",e),null!=r?(o=r,o):(i=lu("#",e),null!=i?(a=i,"#/"+an(a,1,a.length-1)):"#/"+e))}:e=>{let t,n;return t=lu("/",e),null!=t?(n=t,n):"/"+e}}(t)(nn("/",Vn((e=>e.indexOf("?")>=0||0===e.indexOf("#")||0===e.indexOf("/")?e:encodeURIComponent(e)),e)))}function hu(e,t,n){1===t?history.pushState(void 0,"",du(e,n)):history.replaceState(void 0,"",du(e,n));const r=document.createEvent("CustomEvent");r.initEvent("CUSTOM_NAVIGATION_EVENT",!0,!0),window.dispatchEvent(r)}function mu(e,t){let n;return function(e,t){let n,r;const o=kn();let i=o,a=t;for(;!In(a);){let t=e(An(a));for(;!In(t);)n=i,r=new Cn(An(t),void 0),n.tail=r,i=r,t=On(t);a=On(a)}const s=i,c=kn();return s.tail=c,On(o)}((e=>{if(tn(e))return Tn();{const t=function(e,...t){return 0===t.length?e.trimEnd():e.replace(new RegExp("["+Dt(t.join(""))+"]+$"),"")}(e,"#");if("?"===t)return Tn();if(null!=lu("?",t))return Mn(t);{const e=t.split("?");if(bn(((e,t)=>e===t),e,null)||1!==e.length){if(bn(((e,t)=>e===t),e,null)||2!==e.length)return Tn();if(""===e[1]){const t=e[0];return Mn(decodeURIComponent(t))}{const t=e[0],n=e[1];return Gn([decodeURIComponent(t),"?"+n])}}{const t=e[0];return Mn(decodeURIComponent(t))}}}}),Gn((n=null!=lu("#",e)?an(e,1,e.length-1):1!==t||null==fu("#",e)&&null==fu("#/",e)?e:"",n.split("/"))))}const pu=function(e,t,n,r){const o=br.memo(e,ht(2,dn(pt(2,n),null)));return gr((t=>{e.displayName=t}),fn(t)),e=>{const t=function(e,t){if(null==e)return t;{const n=e;return t.key=n(t),t}}(r,e);return br.createElement(o,t)}}((e=>{const t=Ps((t=>{const n=dn(e.onUrlChanged,(e=>{}));!function(e,t,n){t(mu(2===e?window.location.pathname+window.location.search:window.location.hash,e))}(dn(e.hashMode,1),n)}));if(window.navigator.userAgent.indexOf("Trident")>=0||window.navigator.userAgent.indexOf("MSIE")>=0){const e="hashchange",n=e=>{t(e)},r=void 0,o=Ms((()=>cu(r)),[r]),i=Ms((()=>uu(r)),[r]),a=Ms((()=>e=>{n(e)}),[n]);Is(Ps((()=>{if(null==o)window.addEventListener(e,a);else{const t=o;window.addEventListener(e,a,t)}return ks((()=>{if(null==i)window.removeEventListener(e,a);else{const t=i;window.removeEventListener(e,a,t)}}))})))}else{const e="popstate",n=t,r=void 0,o=Ms((()=>cu(r)),[r]),i=Ms((()=>uu(r)),[r]),a=Ms((()=>e=>{n(e)}),[n]);Is(Ps((()=>{if(null==o)window.addEventListener(e,a);else{const t=o;window.addEventListener(e,a,t)}return ks((()=>{if(null==i)window.removeEventListener(e,a);else{const t=i;window.removeEventListener(e,a,t)}}))})))}const n="CUSTOM_NAVIGATION_EVENT",r=t,o=void 0,i=Ms((()=>cu(o)),[o]),a=Ms((()=>uu(o)),[o]),s=Ms((()=>e=>{r(e)}),[r]);Is(Ps((()=>{if(null==i)window.addEventListener(n,s);else{const e=i;window.addEventListener(n,s,e)}return ks((()=>{if(null==a)window.removeEventListener(n,s);else{const e=a;window.removeEventListener(n,s,e)}}))})));const c=e.application;return null==c?null:c}),void 0,void 0,void 0);function gu(e){try{const t=new URLSearchParams(e);return lr(ir((()=>wr((e=>[e[0],e[1]]),t.entries()))))}catch(e){return}}class wu extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Autodev","Test","Prod","Sandbox"]}}const vu=document.getElementById("workflows-app"),yu=vu.getAttribute("data-identity-url"),bu=vu.getAttribute("data-backend-url"),_u=Gn(["workflows","app"]),Cu=Gn(["workflows","embed","v1.0","app"]);class xu extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Embedded","Standalone","Unknown"]}}function ku(e){switch(e.tag){case 0:default:return du(Cu,2);case 1:return du(_u,2)}}!function(e){const t=Gn(e.split("."));let n;switch(n=Pn(t)?4:"autodev-partner"===Rn(t)?0:"test-partner"===Rn(t)?1:"partner"===Rn(t)?2:"sandbox-partner"===Rn(t)?3:4,n){case 0:return new $a(0,new wu(0));case 1:return new $a(0,new wu(1));case 2:return new $a(0,new wu(2));case 3:return new $a(0,new wu(3));case 4:new $a(1,"Invalid environment")}}(Uc.create(bu).host);function Su(e,t){return new $a(0,t)}function Iu(e,t){return t}function Eu(e,t,n){return Ya(n,t)}new class{constructor(){}};function Au(e,t){const n=Su(0,t);return Za.Return(n)}function Ou(e,t){return Za.Delay(t)}new class{constructor(){}};class Tu extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]}}class Nu extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Header"]}}class Mu extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Empty","Text","Binary","Form"]}}class Pu extends Lt{constructor(e,t,n,r,o,i,a,s){super(),this.url=e,this.method=t,this.headers=n,this.withCredentials=r,this.overridenMimeType=o,this.overridenResponseType=i,this.timeout=a,this.content=s}}class Du extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Text","Blob","ArrayBuffer","Unknown"]}}class Ru extends Lt{constructor(e,t,n,r,o,i){super(),this.statusCode=0|e,this.responseText=t,this.responseType=n,this.responseUrl=r,this.responseHeaders=o,this.content=i}}class Bu{constructor(e,t){this.k=e,this.v=t}}function ju(e,t){return new Bu(e,t)}function Lu(e){return e.k}function Fu(e){return e.v}class Uu extends Bu{constructor(e,t,n,r,o){super(e,t),this.left=n,this.right=r,this.h=0|o}}function zu(e,t,n,r,o){return new Uu(e,t,n,r,o)}function Gu(e){return e.left}function Hu(e){return e.right}function Vu(e){return e.h}function Wu(e,t){e:for(;;){const n=e,r=t;if(null!=r){const o=r;if(o instanceof Uu){e=Wu(n+1,Gu(o)),t=Hu(o);continue e}return n+1|0}return 0|n}}function Zu(e){return Wu(0,e)}function $u(e,t,n,r){let o,i;if(null!=e){const t=e;o=t instanceof Uu?Vu(t):1}else o=0;if(null!=r){const e=r;i=e instanceof Uu?Vu(e):1}else i=0;const a=0|(o<i?i:o);return 0===a?ju(t,n):zu(t,n,e,r,a+1)}function Yu(e,t,n,r){let o,i,a,s,c,u;if(null!=e){const t=e;c=t instanceof Uu?Vu(t):1}else c=0;if(null!=r){const e=r;u=e instanceof Uu?Vu(e):1}else u=0;if(u>c+2){const a=un(r);if(a instanceof Uu){if(o=Gu(a),(null!=o?(i=o,i instanceof Uu?Vu(i):1):0)>c+1){const r=un(Gu(a));if(r instanceof Uu)return $u($u(e,t,n,Gu(r)),Lu(r),Fu(r),$u(Hu(r),Lu(a),Fu(a),Hu(a)));throw new Error("internal error: Map.rebalance")}return $u($u(e,t,n,Gu(a)),Lu(a),Fu(a),Hu(a))}throw new Error("internal error: Map.rebalance")}if(c>u+2){const o=un(e);if(o instanceof Uu){if(a=Hu(o),(null!=a?(s=a,s instanceof Uu?Vu(s):1):0)>u+1){const e=un(Hu(o));if(e instanceof Uu)return $u($u(Gu(o),Lu(o),Fu(o),Gu(e)),Lu(e),Fu(e),$u(Hu(e),t,n,r));throw new Error("internal error: Map.rebalance")}return $u(Gu(o),Lu(o),Fu(o),$u(Hu(o),t,n,r))}throw new Error("internal error: Map.rebalance")}return $u(e,t,n,r)}function qu(e,t,n,r){if(null!=r){const o=r,i=0|e.Compare(t,Lu(o));return o instanceof Uu?i<0?Yu(qu(e,t,n,Gu(o)),Lu(o),Fu(o),Hu(o)):0===i?zu(t,n,Gu(o),Hu(o),Vu(o)):Yu(Gu(o),Lu(o),Fu(o),qu(e,t,n,Hu(o))):i<0?zu(t,n,void 0,r,2):0===i?ju(t,n):zu(t,n,r,void 0,2)}return ju(t,n)}function Xu(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const a=i,s=0|r.Compare(o,Lu(a));if(0===s)return cn(Fu(a));if(a instanceof Uu){e=r,t=o,n=s<0?Gu(a):Hu(a);continue e}return}return}}function Ju(e,t){e:for(;;){const n=e,r=t;if(null!=r){const o=r;if(o instanceof Uu){Ju(n,Gu(o)),n(Lu(o),Fu(o)),e=n,t=Hu(o);continue e}n(Lu(o),Fu(o))}break}}function Ku(e,t){Ju(e,t)}function Qu(e,t){if(null!=t){const n=t;if(n instanceof Uu){const t=Qu(e,Gu(n)),r=e(Lu(n),Fu(n)),o=Qu(e,Hu(n));return zu(Lu(n),r,t,o,Vu(n))}return ju(Lu(n),e(Lu(n),Fu(n)))}}function el(e,t){return Qu(e,t)}function tl(e,t){let n;for(let r=0;r<=t.length-1;r++){const o=t[r];n=qu(e,o[0],o[1],n)}return n}class nl extends Lt{constructor(e,t){super(),this.stack=e,this.started=t}}function rl(e){e:for(;;){const t=e;if(Pn(t))return Tn();{const n=Bn(t),r=Rn(t);if(null!=r){const o=r;if(o instanceof Uu){e=zn([Gu(o),ju(Lu(o),Fu(o)),Hu(o)],n);continue e}return t}e=n;continue e}}}function ol(e){return new nl(rl(Mn(e)),!1)}function il(e){if(e.started){const t=e.stack;if(Pn(t))return function(){throw new Error("enumeration already finished")}();if(null!=Rn(t)){const e=Rn(t);if(e instanceof Uu)throw new Error("Please report error: Map iterator, unexpected stack for current");return[Lu(e),Fu(e)]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}function al(e){let t=ol(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>il(t),"System.Collections.IEnumerator.get_Current":()=>il(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Pn(t))return!1;if(null!=Rn(t)){if(Rn(t)instanceof Uu)throw new Error("Please report error: Map iterator, unexpected stack for moveNext");return e.stack=rl(Bn(t)),!Pn(e.stack)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!Pn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=ol(e)},Dispose(){}}}class sl{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){const t=(e,t)=>(e<<1)+t+631;let n=0;const r=We(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n=0|t(n,tt(e[0])),n=0|t(n,tt(e[1]))}}finally{Ge(r)}return 0|n}(this)}Equals(e){if(!(e instanceof sl))return!1;{const t=We(this);try{const n=We(e);try{const e=()=>{const r=t["System.Collections.IEnumerator.MoveNext"]();if(r===n["System.Collections.IEnumerator.MoveNext"]()){if(r){const r=t["System.Collections.Generic.IEnumerator`1.get_Current"](),o=n["System.Collections.Generic.IEnumerator`1.get_Current"]();return!(!it(r[0],o[0])||!it(r[1],o[1]))&&e()}return!0}return!1};return e()}finally{Ge(n)}}finally{Ge(t)}}}toString(){return"map ["+nn("; ",wr((e=>Qt("({0}, {1})",e[0],e[1])),this))+"]"}get[Symbol.toStringTag](){return"FSharpMap"}toJSON(e){return Array.from(this)}GetEnumerator(){return al(this.tree)}[Symbol.iterator](){return Ze(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return al(this.tree)}CompareTo(e){const t=this;if(e instanceof sl)return 0|function(e,t,n){const r=or(t);try{const t=or(n);try{let n=0,o=r["System.Collections.IEnumerator.MoveNext"](),i=t["System.Collections.IEnumerator.MoveNext"]();for(;0===n&&o&&i;)n=0|e(r["System.Collections.Generic.IEnumerator`1.get_Current"](),t["System.Collections.Generic.IEnumerator`1.get_Current"]()),0===n&&(o=r["System.Collections.IEnumerator.MoveNext"](),i=t["System.Collections.IEnumerator.MoveNext"]());return 0|(0!==n?n:o?1:i?-1:0)}finally{Ge(t)}}finally{Ge(r)}}(((e,n)=>{const r=0|t.comparer.Compare(e[0],n[0]);return 0|(0!==r?r:ut(e[1],n[1]))}),t,e);throw new Error("not comparable\\nParameter name: obj")}"System.Collections.Generic.ICollection`1.Add2B595"(e){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Clear"(){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Remove2B595"(e){throw new Error("Map cannot be mutated")}"System.Collections.Generic.ICollection`1.Contains2B595"(e){return dl(this,e[0])&&it(ll(this,e[0]),e[1])}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){!function(e,t,n){let r=n;Ku(((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|fl(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|fl(this)}get size(){return 0|fl(this)}clear(){throw new Error("Map cannot be mutated")}delete(e){throw new Error("Map cannot be mutated")}entries(){return wr((e=>[e[0],e[1]]),this)}get(e){return ll(this,e)}has(e){return dl(this,e)}keys(){return wr((e=>e[0]),this)}set(e,t){throw new Error("Map cannot be mutated")}values(){return wr((e=>e[1]),this)}forEach(e,t){const n=this;gr((t=>{e(t[1],t[0],n)}),n)}}function cl(e,t){return new sl(e,t)}function ul(e){const t=pn();return cl(t,function(e,t){if(Fe(t))return tl(e,t);if(t instanceof Cn)return function(e,t){return Ln(((t,n)=>qu(e,n[0],n[1],t)),void 0,t)}(e,t);{const n=We(t);try{return function(e,t,n){for(;;){const r=e,o=t,i=n;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;{const a=i["System.Collections.Generic.IEnumerator`1.get_Current"]();e=r,t=qu(r,a[0],a[1],o),n=i}}}(e,void 0,n)}finally{Ge(n)}}}(t,e))}function ll(e,t){return function(e,t,n){const r=Xu(e,t,n);if(null==r)throw new Error;return un(r)}(e.comparer,t,e.tree)}function fl(e){return Zu(e.tree)}function dl(e,t){return function(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const a=i,s=0|r.Compare(o,Lu(a));if(a instanceof Uu){if(s<0){e=r,t=o,n=Gu(a);continue e}if(0===s)return!0;e=r,t=o,n=Hu(a);continue e}return 0===s}return!1}}(e.comparer,t,e.tree)}function hl(e,t,n){return function(e,t,n){return cl(e.comparer,qu(e.comparer,t,n,e.tree))}(n,e,t)}function ml(e,t){return function(e,t){return Xu(e.comparer,t,e.tree)}(t,e)}function pl(e,t){return function(e,t){return cl(e.comparer,el(t,e.tree))}(t,e)}function gl(){return sl.empty}function wl(e){return new Nu(0,"Content-Type",e)}sl.empty=cl(pn(),void 0);const vl=new Pu("",new Tu(0),Tn(),!1,void 0,void 0,void 0,new Mu(0));function yl(e,t){return en(t)?[t]:function(e,t,n,r){if(r="number"==typeof r?r:0,(n="number"==typeof n?n:void 0)&&n<0)throw new Error("Count cannot be less than zero");if(0===n)return[];const o=1==(1&r),i=2==(2&r);t=(t=t||[]).filter((e=>e)).map(Dt),t=t.length>0?t:["\\s"];const a=[],s=new RegExp(t.join("|"),"g");let c=!0,u=0;do{const t=s.exec(e);if(null===t){const t=i?e.substring(u).trim():e.substring(u);(!o||t.length>0)&&a.push(t),c=!1}else{const r=i?e.substring(u,t.index).trim():e.substring(u,t.index);(!o||r.length>0)&&(null!=n&&a.length+1===n?(a.push(i?e.substring(u).trim():e.substring(u)),c=!1):a.push(r)),u=s.lastIndex}}while(c);return a}(t,[e],null,0)}function bl(e){return new Pu(e,vl.method,vl.headers,vl.withCredentials,vl.overridenMimeType,vl.overridenResponseType,vl.timeout,vl.content)}function _l(e,t){return new Pu(t.url,e,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function Cl(e,t){return new Pu(t.url,t.method,Hn(t.headers,Mn(e)),t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,t.content)}function xl(e,t){return new Pu(t.url,t.method,t.headers,t.withCredentials,t.overridenMimeType,t.overridenResponseType,t.timeout,e)}function kl(e){return function(e){return Wa((t=>e([t.onSuccess,t.onError,t.onCancel])))}((t=>{const n=new XMLHttpRequest;n.open(function(e){switch(e.tag){case 1:return"POST";case 3:return"PATCH";case 2:return"PUT";case 4:return"DELETE";case 6:return"OPTIONS";case 5:return"HEAD";default:return"GET"}}(e.method),e.url),n.onreadystatechange=()=>{let e,r,o,i,a,s,c;4===n.readyState&&t[0]((r=n.responseType,e=""===r||"text"===r?n.responseText:"",o=0|n.status,i=n.responseType,s=n.responseType,a=""===s||"text"===s?new Du(0,n.responseText):new Du("arraybuffer"===s?2:"blob"===s?1:3,n.response),c=function(e){const t=pn();return cl(t,tl(t,e))}(function(e,t,n){const r=[];for(let n=0;n<=t.length-1;n++){const o=e(t[n]);if(null!=o){const e=un(o);r.push(e)}}return r}((e=>{const t=Gn(yl(":",e));return Pn(t)?void 0:[Rn(t).toLocaleLowerCase(),nn(":",Bn(t)).trim()]}),yl("\r\n",n.getAllResponseHeaders()))),new Ru(o,e,i,n.responseURL,c,a)))};const r=We(e.headers);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();n.setRequestHeader(e.fields[0],e.fields[1])}}finally{Ge(r)}n.withCredentials=e.withCredentials;const o=e.overridenMimeType;if(null==o);else{const e=o;n.overrideMimeType(e)}const i=e.overridenResponseType;null==i||(1===i.tag?n.responseType="blob":2===i.tag?n.responseType="arraybuffer":n.responseType="text");const a=e.timeout;if(null==a);else{const e=0|a;n.timeout=0|e}const s=e.content;switch(s.tag){case 1:case 3:case 2:n.send(cn(s.fields[0]));break;default:n.send()}}))}new Ru(0,"","","",gl(),new Du(0,""));class Sl{constructor(e,t,n,r){this.declaringType=e,this.tag=t,this.name=n,this.fields=r}}class Il{constructor(e,t,n,r,o,i,a){this.fullname=e,this.generics=t,this.construct=n,this.parent=r,this.fields=o,this.cases=i,this.enumCases=a}toString(){return Gl(this)}GetHashCode(){return Al(this)}Equals(e){return Ol(this,e)}}function El(e){return null!=e.generics?e.generics:[]}function Al(e){return et([Ke(e.fullname),...El(e).map(Al)])}function Ol(e,t){return""===e.fullname?""===t.fullname&&rt(Kl(e),Kl(t),(([e,t],[n,r])=>e===n&&Ol(t,r))):e.fullname===t.fullname&&rt(El(e),El(t),Ol)}function Tl(e,t,n,r){return new Il(e,t,n,r)}function Nl(e,t,n,r){return new Il(e,t,n,void 0,r)}function Ml(e,t,n,r){const o=new Il(e,t,n,void 0,void 0,(()=>{const e=n.prototype.cases();return r().map(((t,n)=>new Sl(o,n,e[n],t)))}));return o}function Pl(...e){return new Il("System.Tuple`"+e.length,e)}function Dl(e){return new Il("Microsoft.FSharp.Core.FSharpOption`1",[e])}function Rl(e){return new Il("Microsoft.FSharp.Collections.FSharpList`1",[e])}const Bl=new Il("System.Object"),jl=(new Il("Microsoft.FSharp.Core.Unit"),new Il("System.Char"),new Il("System.String")),Ll=new Il("System.Boolean"),Fl=(new Il("System.SByte"),new Il("System.Byte"),new Il("System.Int16"),new Il("System.UInt16"),new Il("System.Int32")),Ul=(new Il("System.UInt32"),new Il("System.Single"),new Il("System.Double"));function zl(e){if(Array.isArray(e))return e[0];if(e instanceof Il){const t=Vl(e);if(null!=t)return zl(t)+"[]";{const t=e.fullname.lastIndexOf(".");return-1===t?e.fullname:e.fullname.substr(t+1)}}return e.name}function Gl(e){const t=Vl(e);return null!=t?Gl(t)+"[]":null==e.generics||0===e.generics.length?e.fullname:e.fullname+"["+e.generics.map((e=>Gl(e))).join(",")+"]"}function Hl(e){return null!=Vl(e)}function Vl(e){var t;return"[]"===e.fullname&&1===(null===(t=e.generics)||void 0===t?void 0:t.length)?e.generics[0]:void 0}function Wl(e){return null!=e.generics&&e.generics.length>0}function Zl(e){return null!=e.enumCases&&e.enumCases.length>0}function $l(e){return null==e.generics?e:new Il(e.fullname,e.generics.map((()=>Bl)))}function Yl(e){var t;return null===(t=e.generics)||void 0===t?void 0:t[0]}function ql(e){if(Zl(e)&&null!=e.enumCases)return e.enumCases.map((e=>e[1]));throw new Error(`${e.fullname} is not an enum type`)}function Xl(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 Jl(e){if(null!=e.cases)return e.cases();throw new Error(`${e.fullname} is not an F# union type`)}function Kl(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}function Ql(e){if(nf(e)&&null!=e.generics)return e.generics;throw new Error(`${e.fullname} is not a tuple type`)}function ef(e){return e instanceof Il?null!=e.cases:e instanceof jt}function tf(e){return e instanceof Il?null!=e.fields:e instanceof Lt}function nf(e){return e.fullname.startsWith("System.Tuple")}function rf(e){return null==e.fields?[]:e.fields}function of(e,t){const n=(e.fields||[]).length;if(t.length!==n)throw new Error(`Expected an array of length ${n} but got ${t.length}`);return null!=e.declaringType.construct?new e.declaringType.construct(e.tag,...t):{}}new Il("System.Decimal");class af extends Lt{constructor(e,t){super(),this.CssOverrides=e,this.MaskedEmail=t}}class sf extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Activated","InviteCodeInvalid","InviteExpired","InviteLocked","AwaitingConfirmation"]}}class cf extends Lt{constructor(e){super(),this.AuthCode=e}}class uf extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CodeMatch","CodeMismatch","CodeExpired","InviteLocked","NoSecondFactorCodeIssued"]}}class lf extends Lt{constructor(e,t){super(),this.CssOverrides=e,this.MaskedEmail=t}}function ff(){return Nl("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ActivationContextDto",[],lf,(()=>[["CssOverrides",Rl(jl)],["MaskedEmail",jl]]))}function df(e){return new af(e.CssOverrides,e.MaskedEmail)}class hf extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Activated","InviteCodeInvalid","InviteExpired","InviteLocked","AwaitingConfirmation"]}}function mf(){return Ml("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ActivationOutcomeDto",[],hf,(()=>[[["Item",ff()]],[],[],[],[["Item",ff()]]]))}function pf(e){switch(e.tag){case 1:return new sf(1);case 2:return new sf(2);case 3:return new sf(3);case 4:return new sf(4,df(e.fields[0]));default:return new sf(0,df(e.fields[0]))}}class gf extends Lt{constructor(e){super(),this.AuthCode=e}}class wf extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CodeMatch","CodeMismatch","CodeExpired","InviteLocked","NoSecondFactorCodeIssued"]}}function vf(){return Ml("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.ValidationOutcomeDto",[],wf,(()=>[[["Item",Nl("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Read.CodeMatchContextDto",[],gf,(()=>[["AuthCode",jl]]))]],[],[],[],[]]))}function yf(e){switch(e.tag){case 1:return new uf(1);case 2:return new uf(2);case 3:return new uf(3);case 4:return new uf(4);default:return new uf(0,(t=e.fields[0],new cf(t.AuthCode)))}var t}class bf extends Lt{constructor(e){super(),this.Mfa=e}}function _f(){return Nl("Workflows.Business.Aggregates.ProcessInstanceList.Invite.ApiDto.Backend.Write.ConfirmInvite",[],bf,(()=>[["Mfa",jl]]))}class Cf extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["BadPrimitive","BadPrimitiveExtra","BadType","BadField","BadPath","TooSmallArray","FailMessage","BadOneOf"]}}class xf extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PascalCase","CamelCase","SnakeCase"]}}class kf{constructor(){this.cache=new Map([])}}function Sf(){return new kf}function If(e){return e.slice(void 0,1).toLowerCase()+e.slice(1,e.length)}function Ef(e,t){switch(e.tag){case 2:return function(e,t,n,r,o=0){if("string"==typeof e){const n=e;e=Pt(t,null!=r?r:0),t=n,r=void 0}if("function"==typeof n)return r=null==r?-1:r,t.substring(0,o)+t.substring(o).replace(e,(function(){let e=arguments[0];if(r){r--;const t=[],o=arguments.length,i="string"!=typeof arguments[o-1];let a=i?o-3:o-2;for(let e=0;e<a;e++)t.push(arguments[e]);t.index=arguments[a++],t.input=arguments[a++],i&&(t.groups=arguments[a]),e=n(t)}return e}));if(n=n.replace(/\$0/g,(e=>"$&")).replace(/\${([^}]+)}/g,"$<$1>"),null!=r){let i;const a=t.substring(o),s=Rt(e,a),c=Rt.length>r?(i=s[r-1],a.substring(0,i.index+i[0].length)):a;return t.substring(0,o)+c.replace(e,n)+t.substring(o+c.length)}return t.replace(e,n)}(If(t),"[A-Z]","_$0").toLowerCase();case 0:return t;default:return If(t)}}Sf(),Sf();const Af=/^[\(\{]{0,2}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[\)\}]{0,2}$/,Of=/^([0-9a-f]{8})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{4})([0-9a-f]{12})$/,Tf=/^\{0x[0-9a-f]{8},(0x[0-9a-f]{4},){2}\{(0x[0-9a-f]{2},){7}0x[0-9a-f]{2}\}\}$/;function Nf(e){function t(e){return e.replace(Of,"$1-$2-$3-$4-$5")}const n=e.trim().toLowerCase();if(Af.test(n))return function(e,...t){if(0===t.length)return e.trim();const n="["+Dt(t.join(""))+"]+";return e.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")}(n,"{","}","(",")");if(Of.test(n))return t(n);if(Tf.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 Mf(e,t){try{return t.contents=Nf(e),!0}catch(e){return!1}}var Pf;function Df(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 Rf(e,t,n,r,o){try{return o.contents=function(e,t,n,r,o){const i=function(e,t,n){const r=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(null!=r){const[,,e,o]=r;n=n||function(e,t){if(t&Pf.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}(e,t);const i=function(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}(n);if(!i.test(o))return function(e,t){const[,n,r,o]=e;return{sign:n||"",prefix:r||"",digits:o,radix:t}}(r,n)}return null}(e,t,void 0);if(null!=i){let e=Number.parseInt(i.sign+i.digits,i.radix);if(!Number.isNaN(e)){const[t,o]=Df(!0,r);!n&&10!==i.radix&&e>=t&&e<=o&&(e=e<<32-r>>32-r);const[a,s]=Df(n,r);if(e>=a&&e<=s)return e}}throw new Error("Input string was not in a correct format.")}(e,t,n,r),!0}catch(e){return!1}}function Bf(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 jf(e,t){try{return t.contents=function(e){const[t,n]=Ct(e),r=null==n?-6e4*t.getTimezoneOffset():"Z"===n?0:6e4*n;return Bf(t.getTime(),r)}(e),!0}catch(e){return!1}}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(Pf||(Pf={}));class Lf{constructor(e){this.k=e}}function Ff(e){return new Lf(e)}function Uf(e){return e.k}class zf extends Lf{constructor(e,t,n,r){super(e),this.left=t,this.right=n,this.h=0|r}}function Gf(e,t,n,r){return new zf(e,t,n,r)}function Hf(e){return e.left}function Vf(e){return e.right}function Wf(e){return e.h}function Zf(e,t){e:for(;;){const n=e,r=t;if(null!=n){const o=n;if(o instanceof zf){e=Hf(o),t=Zf(Vf(o),r+1);continue e}return r+1|0}return 0|r}}function $f(e){return Zf(e,0)}function Yf(e,t,n){let r,o;if(null!=e){const t=e;r=t instanceof zf?Wf(t):1}else r=0;if(null!=n){const e=n;o=e instanceof zf?Wf(e):1}else o=0;const i=0|(r<o?o:r);return 0===i?Ff(t):Gf(t,e,n,i+1)}function qf(e,t,n){let r,o,i,a,s,c;if(null!=e){const t=e;s=t instanceof zf?Wf(t):1}else s=0;if(null!=n){const e=n;c=e instanceof zf?Wf(e):1}else c=0;if(c>s+2){const i=un(n);if(i instanceof zf){if(r=Hf(i),(null!=r?(o=r,o instanceof zf?Wf(o):1):0)>s+1){const n=un(Hf(i));if(n instanceof zf)return Yf(Yf(e,t,Hf(n)),Uf(n),Yf(Vf(n),Uf(i),Vf(i)));throw new Error("internal error: Set.rebalance")}return Yf(Yf(e,t,Hf(i)),Uf(i),Vf(i))}throw new Error("internal error: Set.rebalance")}if(s>c+2){const r=un(e);if(r instanceof zf){if(i=Vf(r),(null!=i?(a=i,a instanceof zf?Wf(a):1):0)>c+1){const e=un(Vf(r));if(e instanceof zf)return Yf(Yf(Hf(r),Uf(r),Hf(e)),Uf(e),Yf(Vf(e),t,n));throw new Error("internal error: Set.rebalance")}return Yf(Hf(r),Uf(r),Yf(Vf(r),t,n))}throw new Error("internal error: Set.rebalance")}return Yf(e,t,n)}function Xf(e,t,n){if(null!=n){const r=n,o=0|e.Compare(t,Uf(r));if(r instanceof zf)return o<0?qf(Xf(e,t,Hf(r)),Uf(r),Vf(r)):0===o?n:qf(Hf(r),Uf(r),Xf(e,t,Vf(r)));{const o=0|e.Compare(t,Uf(r));return o<0?Gf(t,void 0,n,2):0===o?n:Gf(t,n,void 0,2)}}return Ff(t)}function Jf(e,t,n){e:for(;;){const r=e,o=t,i=n;if(null!=i){const a=i,s=0|r.Compare(o,Uf(a));if(a instanceof zf){if(s<0){e=r,t=o,n=Hf(a);continue e}if(0===s)return!0;e=r,t=o,n=Vf(a);continue e}return 0===s}return!1}}function Kf(e,t){e:for(;;){const n=e,r=t;if(null!=r){const o=r;if(o instanceof zf){Kf(n,Hf(o)),n(Uf(o)),e=n,t=Vf(o);continue e}n(Uf(o))}break}}class Qf extends Lt{constructor(e,t){super(),this.stack=e,this.started=t}}function ed(e){e:for(;;){const t=e;if(Pn(t))return Tn();{const n=Rn(t),r=Bn(t);if(null!=n){const o=n;if(o instanceof zf){e=zn([Hf(o),Ff(Uf(o)),Vf(o)],r);continue e}return t}e=r;continue e}}}function td(e){return new Qf(ed(Mn(e)),!1)}function nd(e){if(e.started){const t=e.stack;if(Pn(t))return function(){throw new Error("Enumeration already started")}();if(null!=Rn(t))return Uf(Rn(t));throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}function rd(e){let t=td(e);return{"System.Collections.Generic.IEnumerator`1.get_Current":()=>nd(t),"System.Collections.IEnumerator.get_Current":()=>nd(t),"System.Collections.IEnumerator.MoveNext":()=>function(e){if(e.started){const t=e.stack;if(Pn(t))return!1;if(null!=Rn(t)){if(Rn(t)instanceof zf)throw new Error("Please report error: Set iterator, unexpected stack for moveNext");return e.stack=ed(Bn(t)),!Pn(e.stack)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!Pn(e.stack)}(t),"System.Collections.IEnumerator.Reset"(){t=td(e)},Dispose(){}}}function od(e,t,n){return null==t?null==n?0:-1:null==n?1:0|function(e,t,n){e:for(;;){const r=e,o=t,i=n,a=[o,i];if(Pn(a[0]))return Pn(a[1])?0:-1;if(Pn(a[1]))return 1;if(null!=Rn(a[1]))if(null!=Rn(a[0])){const s=Rn(a[0]),c=Rn(a[1]);if(s instanceof zf)if(null==Hf(s)){if(!(c instanceof zf)){const o=0|r.Compare(Uf(s),Uf(c));if(0!==o)return 0|o;e=r,t=Nn(Vf(s),Bn(a[0])),n=Nn(void 0,Bn(a[1]));continue e}if(null==Hf(c)){const o=0|r.Compare(Uf(s),Uf(c));if(0!==o)return 0|o;e=r,t=Nn(Vf(s),Bn(a[0])),n=Nn(Vf(c),Bn(a[1]));continue e}{const a=[o,i];let s,c,u,l,f;switch(Pn(a[0])?Pn(a[1])?s=2:null!=Rn(a[1])?(s=1,l=Bn(a[1]),f=Rn(a[1])):s=2:null!=Rn(a[0])?(s=0,c=Bn(a[0]),u=Rn(a[0])):Pn(a[1])?s=2:null!=Rn(a[1])?(s=1,l=Bn(a[1]),f=Rn(a[1])):s=2,s){case 0:if(u instanceof zf){e=r,t=zn([Hf(u),Gf(Uf(u),void 0,Vf(u),0)],c),n=i;continue e}e=r,t=zn([void 0,Ff(Uf(u))],c),n=i;continue e;case 1:if(f instanceof zf){e=r,t=o,n=zn([Hf(f),Gf(Uf(f),void 0,Vf(f),0)],l);continue e}e=r,t=o,n=zn([void 0,Ff(Uf(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}else{const a=[o,i];let s,c,u,l,f;switch(Pn(a[0])?Pn(a[1])?s=2:null!=Rn(a[1])?(s=1,l=Bn(a[1]),f=Rn(a[1])):s=2:null!=Rn(a[0])?(s=0,c=Bn(a[0]),u=Rn(a[0])):Pn(a[1])?s=2:null!=Rn(a[1])?(s=1,l=Bn(a[1]),f=Rn(a[1])):s=2,s){case 0:if(u instanceof zf){e=r,t=zn([Hf(u),Gf(Uf(u),void 0,Vf(u),0)],c),n=i;continue e}e=r,t=zn([void 0,Ff(Uf(u))],c),n=i;continue e;case 1:if(f instanceof zf){e=r,t=o,n=zn([Hf(f),Gf(Uf(f),void 0,Vf(f),0)],l);continue e}e=r,t=o,n=zn([void 0,Ff(Uf(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(!(c instanceof zf)){const o=0|r.Compare(Uf(s),Uf(c));if(0!==o)return 0|o;e=r,t=Bn(a[0]),n=Bn(a[1]);continue e}if(null==Hf(c)){const o=0|r.Compare(Uf(s),Uf(c));if(0!==o)return 0|o;e=r,t=Nn(void 0,Bn(a[0])),n=Nn(Vf(c),Bn(a[1]));continue e}{const a=[o,i];let s,c,u,l,f;switch(Pn(a[0])?Pn(a[1])?s=2:null!=Rn(a[1])?(s=1,l=Bn(a[1]),f=Rn(a[1])):s=2:null!=Rn(a[0])?(s=0,c=Bn(a[0]),u=Rn(a[0])):Pn(a[1])?s=2:null!=Rn(a[1])?(s=1,l=Bn(a[1]),f=Rn(a[1])):s=2,s){case 0:if(u instanceof zf){e=r,t=zn([Hf(u),Gf(Uf(u),void 0,Vf(u),0)],c),n=i;continue e}e=r,t=zn([void 0,Ff(Uf(u))],c),n=i;continue e;case 1:if(f instanceof zf){e=r,t=o,n=zn([Hf(f),Gf(Uf(f),void 0,Vf(f),0)],l);continue e}e=r,t=o,n=zn([void 0,Ff(Uf(f))],l);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}}else{Rn(a[1]);const s=[o,i];let c,u,l,f,d;switch(Pn(s[0])?Pn(s[1])?c=2:null!=Rn(s[1])?(c=1,f=Bn(s[1]),d=Rn(s[1])):c=2:null!=Rn(s[0])?(c=0,u=Bn(s[0]),l=Rn(s[0])):Pn(s[1])?c=2:null!=Rn(s[1])?(c=1,f=Bn(s[1]),d=Rn(s[1])):c=2,c){case 0:if(l instanceof zf){e=r,t=zn([Hf(l),Gf(Uf(l),void 0,Vf(l),0)],u),n=i;continue e}e=r,t=zn([void 0,Ff(Uf(l))],u),n=i;continue e;case 1:if(d instanceof zf){e=r,t=o,n=zn([Hf(d),Gf(Uf(d),void 0,Vf(d),0)],f);continue e}e=r,t=o,n=zn([void 0,Ff(Uf(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}else{if(null==Rn(a[0])){e=r,t=Bn(a[0]),n=Bn(a[1]);continue e}{Rn(a[0]);const s=[o,i];let c,u,l,f,d;switch(Pn(s[0])?Pn(s[1])?c=2:null!=Rn(s[1])?(c=1,f=Bn(s[1]),d=Rn(s[1])):c=2:null!=Rn(s[0])?(c=0,u=Bn(s[0]),l=Rn(s[0])):Pn(s[1])?c=2:null!=Rn(s[1])?(c=1,f=Bn(s[1]),d=Rn(s[1])):c=2,c){case 0:if(l instanceof zf){e=r,t=zn([Hf(l),Gf(Uf(l),void 0,Vf(l),0)],u),n=i;continue e}e=r,t=zn([void 0,Ff(Uf(l))],u),n=i;continue e;case 1:if(d instanceof zf){e=r,t=o,n=zn([Hf(d),Gf(Uf(d),void 0,Vf(d),0)],f);continue e}e=r,t=o,n=zn([void 0,Ff(Uf(d))],f);continue e;case 2:throw new Error("unexpected state in SetTree.compareStacks")}}}break}}(e,Mn(t),Mn(n))}function id(e,t,n){let r=n;Kf((e=>{t[r]=e,r=r+1|0}),e)}function ad(e,t){if(Fe(t))return function(e,t){return yn(((t,n)=>Xf(e,n,t)),void 0,t)}(e,t);if(t instanceof Cn)return function(e,t){return Ln(((t,n)=>Xf(e,n,t)),void 0,t)}(e,t);{const n=We(t);try{return function(e,t,n){for(;;){const r=e,o=t,i=n;if(!i["System.Collections.IEnumerator.MoveNext"]())return o;e=r,t=Xf(r,i["System.Collections.Generic.IEnumerator`1.get_Current"](),o),n=i}}(e,void 0,n)}finally{Ge(n)}}}class sd{constructor(e,t){this.comparer=e,this.tree=t}GetHashCode(){return 0|function(e){let t,n=0;const r=We(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();)n=0|(t=0|tt(r["System.Collections.Generic.IEnumerator`1.get_Current"]()),(n<<1)+t+631)}finally{Ge(r)}return 0|Math.abs(n)}(this)}Equals(e){return e instanceof sd&&0===od(cd(this),ud(this),ud(e))}toString(){return"set ["+nn("; ",wr((e=>Bt(e)),this))+"]"}get[Symbol.toStringTag](){return"FSharpSet"}toJSON(e){return Array.from(this)}CompareTo(e){return 0|od(cd(this),ud(this),ud(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 Jf(cd(this),e,ud(this))}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){id(ud(this),e,t)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!0}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|ld(this)}"System.Collections.Generic.IReadOnlyCollection`1.get_Count"(){return 0|ld(this)}GetEnumerator(){return rd(ud(this))}[Symbol.iterator](){return Ze(this.GetEnumerator())}"System.Collections.IEnumerable.GetEnumerator"(){return rd(ud(this))}get size(){return 0|ld(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 Jf(cd(e),t,ud(e))}(this,e)}keys(){return wr((e=>e),this)}values(){return wr((e=>e),this)}entries(){return wr((e=>[e,e]),this)}forEach(e,t){const n=this;gr((t=>{e(t,t,n)}),n)}}function cd(e){return e.comparer}function ud(e){return e.tree}function ld(e){return $f(ud(e))}function fd(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 dd(e,t,n){const r=t(e,n);if(1===r.tag){const e=r.fields[0];return new $a(1,function(e,t){const n=2===t.tag?fd(t.fields[0],t.fields[1],!0):1===t.tag?fd(t.fields[0],t.fields[1],!1)+"\nReason: "+t.fields[2]:3===t.tag?fd(t.fields[0],t.fields[1],!0):4===t.tag?fd(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"+nn("\n\n",t.fields[0]):6===t.tag?"The following `failure` occurred with the decoder: "+t.fields[0]:fd(t.fields[0],t.fields[1],!1);return 7===t.tag?n:"Error at: `"+e+"`\n"+n}(e[0],e[1]))}return new $a(0,r.fields[0])}const hd=e=>t=>{const n="a sbyte",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?-128<=e&&e<=127?new $a(0,(e+128&255)-128):new $a(1,[r,new Cf(1,n,e,"Value was either too large or too small for a sbyte")]):new $a(1,[r,new Cf(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Rf(o,511,!1,8,new Ft((()=>t),(e=>{t=0|e}))),t],e[0]?new $a(0,e[1]):new $a(1,[r,new Cf(0,n,o)])}return new $a(1,[r,new Cf(0,n,o)])},md=e=>t=>{const n="a byte",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=255?new $a(0,255&e):new $a(1,[r,new Cf(1,n,e,"Value was either too large or too small for a byte")]):new $a(1,[r,new Cf(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Rf(o,511,!0,8,new Ft((()=>t),(e=>{t=e}))),t],e[0]?new $a(0,e[1]):new $a(1,[r,new Cf(0,n,o)])}return new $a(1,[r,new Cf(0,n,o)])},pd=e=>t=>{const n="an int16",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?-32768<=e&&e<=32767?new $a(0,(e+32768&65535)-32768):new $a(1,[r,new Cf(1,n,e,"Value was either too large or too small for "+n)]):new $a(1,[r,new Cf(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Rf(o,511,!1,16,new Ft((()=>t),(e=>{t=0|e}))),t],e[0]?new $a(0,e[1]):new $a(1,[r,new Cf(0,n,o)])}return new $a(1,[r,new Cf(0,n,o)])},gd=e=>t=>{const n="an uint16",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=65535?new $a(0,65535&e):new $a(1,[r,new Cf(1,n,e,"Value was either too large or too small for "+n)]):new $a(1,[r,new Cf(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Rf(o,511,!0,16,new Ft((()=>t),(e=>{t=e}))),t],e[0]?new $a(0,e[1]):new $a(1,[r,new Cf(0,n,o)])}return new $a(1,[r,new Cf(0,n,o)])},wd=e=>t=>{const n="an int",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?-2147483648<=e&&e<=2147483647?new $a(0,~~e):new $a(1,[r,new Cf(1,n,e,"Value was either too large or too small for an int")]):new $a(1,[r,new Cf(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Rf(o,511,!1,32,new Ft((()=>t),(e=>{t=0|e}))),t],e[0]?new $a(0,e[1]):new $a(1,[r,new Cf(0,n,o)])}return new $a(1,[r,new Cf(0,n,o)])},vd=e=>t=>{const n="an uint32",r=e,o=t;if("number"==typeof o){const e=o;return isFinite(e)&&Math.floor(e)===e?0<=e&&e<=4294967295?new $a(0,e>>>0):new $a(1,[r,new Cf(1,n,e,"Value was either too large or too small for "+n)]):new $a(1,[r,new Cf(1,n,e,"Value is not an integral value")])}if("string"==typeof o){let e,t=0;return e=[Rf(o,511,!0,32,new Ft((()=>t),(e=>{t=e}))),t],e[0]?new $a(0,e[1]):new $a(1,[r,new Cf(0,n,o)])}return new $a(1,[r,new Cf(0,n,o)])};function yd(e,t,n,r){let o;const i=n+".["+Xe(e)+"]";if(Array.isArray(r)){const n=r;return e<n.length?t(i,n[e]):new $a(1,[i,new Cf(5,"a longer array. Need index `"+Xe(e)+"` but there are only `"+(o=n.length,Xe(o)+"` entries"),r)])}return new $a(1,[i,new Cf(0,"an array",r)])}function bd(e,t,n){if(Array.isArray(n)){let r=-1;return Ya(Fn,yn(((n,o)=>{if(r=r+1|0,0===n.tag){const i=e(t+".["+Xe(r)+"]",o);return 0===i.tag?new $a(0,Nn(i.fields[0],n.fields[0])):new $a(1,i.fields[0])}return n}),new $a(0,Tn()),n))}return new $a(1,[t,new Cf(0,"a list",n)])}function _d(e,t,n){if(Array.isArray(n)){let r=-1;const o=n;return yn(((n,o)=>{if(r=r+1|0,0===n.tag){const i=n.fields[0],a=e(t+".["+Xe(r)+"]",o);return 0===a.tag?(i[r]=a.fields[0],new $a(0,i)):new $a(1,a.fields[0])}return n}),new $a(0,wn(new Array(o.length),0,o.length,null)),o)}return new $a(1,[t,new Cf(0,"an array",n)])}function Cd(e,t,n,r){const o=t(n,r);return 0===o.tag?e(o.fields[0],n,r):new $a(1,o.fields[0])}function xd(e,t){let n;const r=e;return n=e=>t=>yd(0,r,e,t),e=>r=>Cd(ht(3,(e=>{let n;const r=t;return n=e=>t=>yd(1,r,e,t),t=>r=>Cd(((t,n,r)=>new $a(0,[e,t])),ht(2,n),t,r)})),ht(2,n),e,r)}function kd(e){return ul(e)}function Sd(e){return function(e,t){return new sd(e,t)}(t={Compare:ut},ad(t,e));var t}function Id(e,t,n,r){let o,i;return t.length!==r.length?new $a(1,[n,new Cf(6,(o=0|r.length,i=0|t.length,qt(Zt("Expected %i %s but got %i"))(i)(e)(o)))]):_n(((e,t,r)=>0===r.tag?Ya((e=>Nn(e,r.fields[0])),t(n)(e)):r),r,t,new $a(0,Tn()))}function Ed(e,t,n,r,o,i){const a=function(e,t){return t.find((e=>zl(e)===r))}(0,Jl(n));if(null!=a){const n=a;return 0===i.length?new $a(0,of(n,[])):Ya((e=>of(n,jn(e))),Id("union fields",vn((n=>Od(e,t,!1,n[1])),rf(n)),o,i))}return new $a(1,[o,new Cf(6,"Cannot find case "+r+" in "+Gl(n))])}function Ad(e,t,n,r){const o=new Ft(null),i=hl(Gl(r),o,e);let a;if(tf(r)){const e=vn((e=>[Ef(t,zl(e)),Od(i,t,!1,e[1])]),Kl(r));a=t=>n=>Ya((e=>function(e,t){const n=Kl(e);if(n.length!==t.length)throw new Error(`Expected an array of length ${n.length} but got ${t.length}`);return null!=e.construct?new e.construct(...t):n.reduce(((e,[n,r],o)=>(e[n]=t[o],e)),{})}(r,jn(e))),function(e,t,n){return null===n||Object.getPrototypeOf(n||!1)!==Object.prototype?new $a(1,[t,new Cf(0,"an object",n)]):function(e,t,n){return t.reduceRight(((t,n)=>e(n,t)),n)}(ht(2,(e=>{const r=e[0];return o=>0===o.tag?Ya((e=>Nn(e,o.fields[0])),e[1](t+"."+r)(n[r])):o})),e,new $a(0,Tn()))}(e,t,n))}else if(ef(r))a=e=>n=>{if("string"==typeof n)return Ed(i,t,r,n,e,[]);if(Array.isArray(n)){const o=n;return Ed(i,t,r,o[0],e,o.slice(1,o.length))}return new $a(1,[e,new Cf(0,"a string or array",n)])};else{if(!n){let e;const t=Gl(r);throw e=qt(Zt("Cannot generate auto decoder for %s. Please pass an extra decoder."))(t),new Error(e)}a=e=>t=>new $a(1,[e,new Cf(2,"an extra coder for "+Gl(r),t)])}return o.contents=a,a}function Od(e,t,n,r){let o,i,a;const s=Gl(r),c=ml(s,e);if(null==c){if(Hl(r)){const n=Od(e,t,!1,Vl(r));return e=>t=>_d(ht(2,n),e,t)}if(Zl(r)){const e=Gl(Yl(r));if("System.SByte"===e)return e=>t=>{const n=r,o=e,i=t,a=hd(o)(i);if(1===a.tag)return new $a(1,a.fields[0]);{const e=a.fields[0];return mr(e,ql(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new $a(0,Xl(n,e.toString())):new $a(1,[o,new Cf(1,Gl(n),i,"Unkown value provided for the enum")])}};if("System.Byte"===e)return e=>t=>{const n=r,o=e,i=t,a=md(o)(i);if(1===a.tag)return new $a(1,a.fields[0]);{const e=a.fields[0];return mr(e,ql(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new $a(0,Xl(n,e.toString())):new $a(1,[o,new Cf(1,Gl(n),i,"Unkown value provided for the enum")])}};if("System.Int16"===e)return e=>t=>{const n=r,o=e,i=t,a=pd(o)(i);if(1===a.tag)return new $a(1,a.fields[0]);{const e=a.fields[0];return mr(e,ql(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new $a(0,Xl(n,e.toString(s))):new $a(1,[o,new Cf(1,Gl(n),i,"Unkown value provided for the enum")])}var s};if("System.UInt16"===e)return e=>t=>{const n=r,o=e,i=t,a=gd(o)(i);if(1===a.tag)return new $a(1,a.fields[0]);{const e=a.fields[0];return mr(e,ql(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new $a(0,Xl(n,e.toString())):new $a(1,[o,new Cf(1,Gl(n),i,"Unkown value provided for the enum")])}};if("System.Int32"===e)return e=>t=>{const n=r,o=e,i=t,a=wd(o)(i);if(1===a.tag)return new $a(1,a.fields[0]);{const e=a.fields[0];return mr(e,ql(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new $a(0,Xl(n,Xe(e))):new $a(1,[o,new Cf(1,Gl(n),i,"Unkown value provided for the enum")])}};if("System.UInt32"===e)return e=>t=>{const n=r,o=e,i=t,a=vd(o)(i);if(1===a.tag)return new $a(1,a.fields[0]);{const e=a.fields[0];return mr(e,ql(n),{Equals:(e,t)=>e===t,GetHashCode:Qe})?new $a(0,Xl(n,e.toString())):new $a(1,[o,new Cf(1,Gl(n),i,"Unkown value provided for the enum")])}};{const e=Gl(r),t=Xt(Zt("Cannot generate auto decoder for %s.\nThoth.Json.Net only support the folluwing enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can't use one of these types, please pass an extra decoder.\n "))(e);return e=>t(e)}}if(Wl(r)){if(nf(r)){const n=vn((n=>Od(e,t,!1,n)),Ql(r));return e=>t=>Array.isArray(t)?Ya((e=>jn(e)),Id("tuple elements",n,e,t)):new $a(1,[e,new Cf(0,"an array",t)])}{const s=Gl($l(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===s)return o=Od(e,t,!0,El(r)[0]),e=>t=>{return n=ht(2,o),r=e,null==(i=t)?new $a(0,void 0):Ya(cn,n(r,i));var n,r,i};if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===s)return i=Od(e,t,!1,El(r)[0]),e=>t=>bd(ht(2,i),e,t);if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===s){const n=Od(e,t,!1,El(r)[0]),o=Od(e,t,!1,El(r)[1]);let i;const s=Gn([e=>t=>function(e,t,n,r){return null===r||Object.getPrototypeOf(r||!1)!==Object.prototype?new $a(1,[n,new Cf(0,"an object",r)]):pr(((o,i)=>{if(0===o.tag){const a=e(n,i);if(0===a.tag){const e=t(n+"."+i,r[i]);return 0===e.tag?new $a(0,Nn([a.fields[0],e.fields[0]],o.fields[0])):new $a(1,e.fields[0])}return new $a(1,a.fields[0])}return o}),new $a(0,Tn()),Object.keys(r))}(ht(2,n),ht(2,o),e,t),(a=xd(ht(2,n),ht(2,o)),e=>t=>bd(ht(2,a),e,t))]);return i=e=>t=>{return n=e,r=t,((e,t)=>{e:for(;;){const o=e,i=t;if(Pn(o))return new $a(1,[n,new Cf(7,i)]);{const a=dd(n,ht(2,Rn(o)),r);if(1===a.tag){e=Bn(o),t=Hn(i,Mn(a.fields[0]));continue e}return new $a(0,a.fields[0])}}})(s,Tn());var n,r},e=>t=>function(e,t,n,r){const o=t(n,r);return 1===o.tag?new $a(1,o.fields[0]):new $a(0,e(o.fields[0]))}(kd,ht(2,i),e,t)}if("Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===s){const n=Od(e,t,!1,El(r)[0]);return e=>t=>{const r=_d(ht(2,n),e,t);return 0===r.tag?new $a(0,Sd(r.fields[0])):new $a(1,r.fields[0])}}return Ad(e,t,n,r)}}return"System.Boolean"===s?e=>t=>{return n=e,"boolean"==typeof(r=t)?new $a(0,r):new $a(1,[n,new Cf(0,"a boolean",r)]);var n,r}:"Microsoft.FSharp.Core.Unit"===s?e=>t=>{return n=e,null==(r=t)?new $a(0,void 0):new $a(1,[n,new Cf(0,"null",r)]);var n,r}:"System.String"===s?e=>t=>{return n=e,"string"==typeof(r=t)?new $a(0,r):new $a(1,[n,new Cf(0,"a string",r)]);var n,r}:"System.SByte"===s?hd:"System.Byte"===s?md:"System.Int16"===s?pd:"System.UInt16"===s?gd:"System.Int32"===s?wd:"System.UInt32"===s?vd:"System.Double"===s?e=>t=>{return n=e,"number"==typeof(r=t)?new $a(0,r):new $a(1,[n,new Cf(0,"a float",r)]);var n,r}:"System.Single"===s?e=>t=>{return n=e,"number"==typeof(r=t)?new $a(0,r):new $a(1,[n,new Cf(0,"a float32",r)]);var n,r}:"System.DateTime"===s?e=>t=>function(e,t){if("string"==typeof t){let r,o=_t(-621355968e5,0);return r=[xt(t,new Ft((()=>o),(e=>{o=e}))),o],r[0]?new $a(0,1===(n=r[1]).kind?n:_t(n.getTime(),1)):new $a(1,[e,new Cf(0,"a datetime",t)])}var n;return new $a(1,[e,new Cf(0,"a datetime",t)])}(e,t):"System.DateTimeOffset"===s?e=>t=>function(e,t){if("string"==typeof t){let n,r=Bf(-621355968e5,0);return n=[jf(t,new Ft((()=>r),(e=>{r=e}))),r],n[0]?new $a(0,n[1]):new $a(1,[e,new Cf(0,"a datetimeoffset",t)])}return new $a(1,[e,new Cf(0,"a datetime",t)])}(e,t):"System.TimeSpan"===s?e=>t=>function(e,t){if("string"==typeof t){let n,r=0;return n=[Dc(t,new Ft((()=>r),(e=>{r=e}))),r],n[0]?new $a(0,n[1]):new $a(1,[e,new Cf(0,"a timespan",t)])}return new $a(1,[e,new Cf(0,"a timespan",t)])}(e,t):"System.Guid"===s?e=>t=>function(e,t){if("string"==typeof t){let n,r="00000000-0000-0000-0000-000000000000";return n=[Mf(t,new Ft((()=>r),(e=>{r=e}))),r],n[0]?new $a(0,n[1]):new $a(1,[e,new Cf(0,"a guid",t)])}return new $a(1,[e,new Cf(0,"a guid",t)])}(e,t):"System.Object"===s?e=>e=>new $a(0,e):Ad(e,t,n,r)}{const e=c;return t=>n=>e.contents(t)(n)}}function Td(e,t,n){let r;const o=dn(e,new xf(0));return r=un(n).ResolveType(),Od(function(e){return null!=e?pl(((e,t)=>new Ft(t[1])),e.Coders):gl()}(t),o,!1,r)}function Nd(e,t,n,r){return function(e,t){try{return dd("$",e,JSON.parse(t))}catch(e){if(e instanceof SyntaxError)return new $a(1,"Given an invalid JSON: "+e.message);throw e}}(ht(2,Td(t,n,r)),e)}function Md(e){return e}function Pd(e){return Array.from(e)}function Dd(e){return bt(e,"O")}function Rd(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 Tc(e/864e5)}(e)),o=Math.abs(function(e){return Tc(e%864e5/36e5)}(e)),i=Math.abs(function(e){return Tc(e%36e5/6e4)}(e)),a=Math.abs(function(e){return Tc(e%6e4/1e3)}(e)),s=Math.abs(function(e){return Tc(e%1e3)}(e));return`${e<0?"-":""}${0!==r||"c"!==t&&"g"!==t?"c"===t?r+".":r+":":""}${"g"===t?o:Ye(o,2)}:${Ye(i,2)}:${Ye(a,2)}${0!==s||"c"!==t&&"g"!==t?"g"===t?"."+Ye(s,3):"."+function(e,t,n){let r=e.toString(10);for(;r.length<3;)r="0"+r;for(;r.length<7;)r+="0";return r}(s):""}`}(e)}function Bd(e){return String(e)}function jd(e){return String(e)}function Ld(e){return String(e)}function Fd(e){return String(e)}function Ud(){return null}function zd(e){return bt(e,"O")}function Gd(e,t,n,r){const o=new Ft(null),i=hl(Gl(r),o,e);let a;if(tf(r)){const e=vn((e=>{const r=Ef(t,zl(e)),o=Hd(i,t,n,e[1]);return t=>i=>{const a=function(e,t){return e[t[0]]}(t,e);return(!n||n&&null!=a)&&(i[r]=o(a)),i}}),Kl(r));a=t=>pr(((e,n)=>n(t)(e)),{},e)}else{if(!ef(r)){let e;const t=Gl(r);throw e=qt(Zt("Cannot generate auto encoder for %s. Please pass an extra encoder."))(t),new Error(e)}a=e=>{const o=function(e,t){const n=Jl(t)[e.tag];if(null==n)throw new Error(`Cannot find case ${e.name} in union type`);return[n,e.fields]}(e,r),a=o[0],s=o[1],c=0|s.length;if(0===c)return zl(a);{const e=0|c,r=rf(a),o=wn(new Array(e+1),0,e+1,null);o[0]=zl(a);for(let a=1;a<=e;a++){const e=Hd(i,t,n,r[a-1][1]);o[a]=e(s[a-1])}return o}}}return o.contents=a,a}function Hd(e,t,n,r){const o=Gl(r),i=ml(o,e);if(null==i){if(Hl(r)){const o=Hd(e,t,n,Vl(r));return e=>Pd(wr(o,e))}if(Zl(r)){const e=Gl(Yl(r));if("System.SByte"===e)return Bd;if("System.Byte"===e)return jd;if("System.Int16"===e)return Ld;if("System.UInt16"===e)return Fd;if("System.Int32"===e)return e=>e;if("System.UInt32"===e)return e=>e;{const e=Gl(r);return Xt(Zt("Cannot generate auto encoder for %s.\nThoth.Json.Net only support the folluwing enum types:\n- sbyte\n- byte\n- int16\n- uint16\n- int\n- uint32\nIf you can't use one of these types, please pass an extra encoder.\n "))(e)}}if(Wl(r)){if(nf(r)){const o=vn((r=>Hd(e,t,n,r)),Ql(r));return e=>{return Pd((t=(e,t)=>o[e](t),n=e,dr((()=>or(n)),((e,n)=>n["System.Collections.IEnumerator.MoveNext"]()?cn(t(e,n["System.Collections.Generic.IEnumerator`1.get_Current"]())):void 0),(e=>{Ge(e)}))));var t,n}}{const o=Gl($l(r));if("Microsoft.FSharp.Core.FSharpOption`1[System.Object]"===o){const o=new $e((()=>{return o=Hd(e,t,n,El(r)[0]),e=>{return null!=(t=hn(o,e))?un(t):null;var t};var o}));return e=>null==e?null:o.Value(e)}if("Microsoft.FSharp.Collections.FSharpList`1[System.Object]"===o||"Microsoft.FSharp.Collections.FSharpSet`1[System.Object]"===o){const o=Hd(e,t,n,El(r)[0]);return e=>Pd(wr(o,e))}if("Microsoft.FSharp.Collections.FSharpMap`2[System.Object,System.Object]"===o){const o=El(r)[0],i=Hd(e,t,n,El(r)[1]);if("System.String"===Gl(o)||"System.Guid"===Gl(o))return e=>pr(((e,t)=>{const n=t;return e[n[0]]=i(n[1]),e}),{},e);{let r;const a=Hd(e,t,n,o);return r=a,e=>Pd(wr((e=>{const t=e;return[r(t[0]),i(t[1])]}),e))}}return Gd(e,t,n,r)}}return"System.Boolean"===o?e=>e:"Microsoft.FSharp.Core.Unit"===o?Ud:"System.String"===o?e=>e:"System.SByte"===o?Bd:"System.Byte"===o?jd:"System.Int16"===o?Ld:"System.UInt16"===o?Fd:"System.Int32"===o?e=>e:"System.UInt32"===o?e=>e:"System.Double"===o?e=>e:"System.Single"===o?e=>e:"System.DateTime"===o?zd:"System.DateTimeOffset"===o?Dd:"System.TimeSpan"===o?Rd:"System.Guid"===o?Md:"System.Object"===o?e=>e:Gd(e,t,n,r)}{const e=i;return t=>e.contents(t)}}function Vd(e,t,n,r,o,i){return function(e,t){return JSON.stringify(t,ht(2,null),cn(e))}(e,function(e,t,n,r){let o;const i=dn(e,new xf(0)),a=dn(n,!0);return o=un(r).ResolveType(),Hd(function(e){return null!=e?pl(((e,t)=>new Ft(t[0])),e.Coders):gl()}(t),i,a,o)}(n,r,o,i)(t))}function Wd(e){return Ou(0,(()=>{let t;const n=kl(e);return t=Za.Bind(n,(e=>Za.Return(new $a(0,e)))),Za.Delay((()=>Za.Bind(t,(t=>{let n,r;const o=t;return 1===o.tag?Za.Return(new $a(1,o.fields[0])):Za.ReturnFrom((n=o.fields[0],429===n.statusCode||n.statusCode>=500?(r=kl(e),Za.Bind(r,(e=>Za.Return(new $a(0,e))))):Au(0,n)))}))))}))}function Zd(e){return function(e){return Ou(0,(()=>{const t=Wd(_l(new Tu(1),bl(function(e){const t=Zc(e);return qt(Zt("%s/workflows/public-backend/invites/%s/activate"))(bu)(t)}(e))));return Za.Delay((()=>Za.Bind(t,(e=>{let t,n;const r=e;return 1===r.tag?Za.Return(new $a(1,r.fields[0])):Za.ReturnFrom((t=r.fields[0],200===t.statusCode?(n=Ya(pf,Nd(t.responseText,new xf(1),void 0,{ResolveType:mf})),Za.Return(n)):Za.Return(new $a(1,"Unexpected response from backend"))))}))))}))}(e)}function $d(e,t){let n,r,o,i,a,s,c;switch(e.tag){case 1:{const n=e.fields[0];let r,o;switch(3===n.tag?r=1:0===n.tag||1===n.tag?r=2:0===n.fields[0].tag?(r=0,o=n.fields[0].fields[0]):r=1,r){case 0:{let e,n;switch(o.tag){case 4:default:e=0,n=o.fields[0];break;case 1:e=1;break;case 2:e=2;break;case 3:e=3}switch(e){case 0:return[new au(t.InviteToken,n.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new ou(1),n.CssOverrides),cs()];case 1:return[new au(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new ou(2,"We couldn't find this invite. Reach out to your employer to get another one."),t.CssOverrides),cs()];case 2:return[new au(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new ou(2,"Your invite has expired. Reach out to your employer to get another one."),t.CssOverrides),cs()];case 3:return[new au(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new ou(2,"Your invite has been locked. Try refreshing this page in 30 minutes."),t.CssOverrides),cs()]}}case 1:return[new au(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,t.IsValidationPending,t.CanRetry,new ou(2,"Oops, looks like something went wrong. Try refreshing this page."),t.CssOverrides),cs()];case 2:return[t,cs()]}}case 2:{const s=e.fields[0];let c,u;switch(3===s.tag?c=1:0===s.tag||1===s.tag?c=2:0===s.fields[0].tag?(c=0,u=s.fields[0].fields[0]):c=1,c){case 0:switch(u.tag){case 2:return[new au(t.InviteToken,t.MaskedEmail,(n=t.MfaCodeForm,{Error:"That code has expired. You should get another one soon.",Input:n.Input,IsDirty:n.IsDirty,IsTouched:n.IsTouched}),!1,t.CanRetry,t.Ui,t.CssOverrides),ds(new iu(0))];case 1:return[new au(t.InviteToken,t.MaskedEmail,(r=t.MfaCodeForm,{Error:"Code doesn't match.",Input:r.Input,IsDirty:r.IsDirty,IsTouched:r.IsTouched}),!1,t.CanRetry,t.Ui,t.CssOverrides),cs()];case 4:return[new au(t.InviteToken,t.MaskedEmail,(o=t.MfaCodeForm,{Error:"Looks like the code hasn't been issued. Reach out to your employer.",Input:o.Input,IsDirty:o.IsDirty,IsTouched:o.IsTouched}),!1,t.CanRetry,t.Ui,t.CssOverrides),cs()];case 3:return[new au(t.InviteToken,t.MaskedEmail,(i=t.MfaCodeForm,{Error:"Invite has been locked. Check back in 30 minutes.",Input:i.Input,IsDirty:i.IsDirty,IsTouched:i.IsTouched}),!1,t.CanRetry,t.Ui,t.CssOverrides),cs()];default:return[t,(a=ku(new xu(1)),fs((e=>{hu(Mn(a+function(e){const t=nn("&",Vn((e=>nn("=",[encodeURIComponent(e[0]),encodeURIComponent(e[1])])),e));return""===t?"":"?"+t}(Mn(["code",u.fields[0].AuthCode]))),1,2)})))]}case 1:return[new au(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,!1,t.CanRetry,new ou(2,"Oops, looks like something went wrong. Please try again."),t.CssOverrides),cs()];case 2:return[new au(t.InviteToken,t.MaskedEmail,t.MfaCodeForm,!0,t.CanRetry,t.Ui,t.CssOverrides),cs()]}}case 3:{const n=e.fields[0];return[(s=Gc(n),1===s.tag?new au(t.InviteToken,t.MaskedEmail,{Error:"Code should contain exactly 6 digits.",Input:n,IsDirty:!0,IsTouched:t.MfaCodeForm.IsTouched},t.IsValidationPending,t.CanRetry,t.Ui,t.CssOverrides):new au(t.InviteToken,t.MaskedEmail,{Error:void 0,Input:n,IsDirty:!0,IsTouched:t.MfaCodeForm.IsTouched},t.IsValidationPending,t.CanRetry,t.Ui,t.CssOverrides)),cs()]}case 4:return[new au(t.InviteToken,t.MaskedEmail,(c=t.MfaCodeForm,{Error:c.Error,Input:c.Input,IsDirty:c.IsDirty,IsTouched:!0}),t.IsValidationPending,t.CanRetry,t.Ui,t.CssOverrides),cs()];default:return[t,ds(new iu(1,zs(Zd(t.InviteToken),[])))]}}function Yd(e,t){return Za.Delay((()=>Za.Bind(ns(e),(()=>Za.ReturnFrom(t)))))}function qd(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 Xd(e,t=0){const n={},r=t;function o(e){throw new Error("Cannot infer key and value of "+String(e))}function i(e,t,r){e=function(e,t){switch(t){case 1:return e.charAt(0).toLowerCase()+e.slice(1);case 2:return qd(e,"_");case 3:return qd(e,"_").toUpperCase();case 4:return qd(e,"-");default:return e}}(e,t),n[e]=r}for(let t of e){let e=0;if(null==t&&o(t),t instanceof jt){const n=t.cases()[t.tag];t=0===t.fields.length?n:[n].concat(t.fields),e=r}if(Array.isArray(t))switch(t.length){case 0:o(t);break;case 1:i(t[0],e,!0);break;case 2:const n=t[1];i(t[0],e,n);break;default:i(t[0],e,t.slice(1))}else"string"==typeof t?i(t,e,!0):o(t)}return n}function Jd(e,t,n){return!!e.has(t)&&(n.contents=e.get(t),!0)}function Kd(e,t){if(e.has(t))return e.get(t);throw new Error(`The given key '${t}' was not present in the dictionary.`)}class Qd{constructor(e,t){const n=new Ft(null);this.comparer=t,n.contents=this,this.hashMap=new Map([]),this["init@8-1"]=1;const r=We(e);try{for(;r["System.Collections.IEnumerator.MoveNext"]();){const e=r["System.Collections.Generic.IEnumerator`1.get_Current"]();ah(n.contents,e[0],e[1])}}finally{Ge(r)}}get[Symbol.toStringTag](){return"Dictionary"}toJSON(e){return Array.from(this)}"System.Collections.IEnumerable.GetEnumerator"(){return We(this)}GetEnumerator(){return We(ar(this.hashMap.values()))}[Symbol.iterator](){return Ze(this.GetEnumerator())}"System.Collections.Generic.ICollection`1.Add2B595"(e){ah(this,e[0],e[1])}"System.Collections.Generic.ICollection`1.Clear"(){nh(this)}"System.Collections.Generic.ICollection`1.Contains2B595"(e){const t=th(this,e[0]);let n;switch(n=null!=t&&it(t[1],e[1])?0:1,n){case 0:return!0;case 1:return!1}}"System.Collections.Generic.ICollection`1.CopyToZ2E171D71"(e,t){var n;n=(n,r)=>{e[t+n]=r},pr(((e,t)=>(n(e,t),e+1|0)),0,this)}"System.Collections.Generic.ICollection`1.get_Count"(){return 0|rh(this)}"System.Collections.Generic.ICollection`1.get_IsReadOnly"(){return!1}"System.Collections.Generic.ICollection`1.Remove2B595"(e){const t=th(this,e[0]);return null!=t&&(it(t[1],e[1])&&ch(this,e[0]),!0)}"System.Collections.Generic.IDictionary`2.Add5BDDA1"(e,t){ah(this,e,t)}"System.Collections.Generic.IDictionary`2.ContainsKey2B595"(e){return sh(this,e)}"System.Collections.Generic.IDictionary`2.get_Item2B595"(e){return oh(this,e)}"System.Collections.Generic.IDictionary`2.set_Item5BDDA1"(e,t){ih(this,e,t)}"System.Collections.Generic.IDictionary`2.get_Keys"(){const e=this;return ur(ir((()=>wr((e=>e[0]),e))))}"System.Collections.Generic.IDictionary`2.Remove2B595"(e){return ch(this,e)}"System.Collections.Generic.IDictionary`2.TryGetValue23A0B95A"(e,t){const n=th(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 ur(ir((()=>wr((e=>e[1]),e))))}get size(){return 0|rh(this)}clear(){nh(this)}delete(e){return ch(this,e)}entries(){return wr((e=>[e[0],e[1]]),this)}get(e){return oh(this,e)}has(e){return sh(this,e)}keys(){return wr((e=>e[0]),this)}set(e,t){return ih(this,e,t),this}values(){return wr((e=>e[1]),this)}forEach(e,t){const n=this;gr((t=>{e(t[1],t[0],n)}),n)}}function eh(e,t){const n=0|e.comparer.GetHashCode(t);let r,o=null;return r=[Jd(e.hashMap,n,new Ft((()=>o),(e=>{o=e}))),o],r[0]?[!0,n,r[1].findIndex((n=>e.comparer.Equals(t,n[0])))]:[!1,n,-1]}function th(e,t){const n=eh(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return Kd(e.hashMap,n[1])[n[2]];case 1:return}}function nh(e){e.hashMap.clear()}function rh(e){let t=0,n=We(e.hashMap.values());try{for(;n["System.Collections.IEnumerator.MoveNext"]();)t=t+n["System.Collections.Generic.IEnumerator`1.get_Current"]().length|0}finally{Ge(n)}return 0|t}function oh(e,t){const n=th(e,t);if(null!=n)return n[1];throw new Error("The item was not found in collection")}function ih(e,t,n){const r=eh(e,t);r[0]?r[2]>-1?Kd(e.hashMap,r[1])[r[2]]=[t,n]:Kd(e.hashMap,r[1]).push([t,n]):e.hashMap.set(r[1],[[t,n]])}function ah(e,t,n){const r=eh(e,t);if(r[0]){if(r[2]>-1){const e=Qt("An item with the same key has already been added. Key: {0}",t);throw new Error(e)}Kd(e.hashMap,r[1]).push([t,n])}else e.hashMap.set(r[1],[[t,n]])}function sh(e,t){const n=eh(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return!0;case 1:return!1}}function ch(e,t){const n=eh(e,t);let r;switch(r=n[0]&&n[2]>-1?0:1,r){case 0:return Kd(e.hashMap,n[1]).splice(n[2],1),!0;case 1:return!1}}function uh(e,t,n){return 1===n.tag?t(n.fields[0]):e(n.fields[0])}function lh(e,t){return null==t?new $a(1,e):new $a(0,un(t))}class fh extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProfileId"]}}function dh(e){return new fh(0,e)}function hh(e){return e.fields[0]}class mh extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessStepId"]}}class ph extends Lt{constructor(e,t,n){super(),this.Id=e,this.DisplayName=t,this.ComponentTagName=n}}const gh=new ph(new mh(0,"personal-details"),"Personal Details","apollo-personal-details-app"),wh=new ph(new mh(0,"emergency-contacts"),"Emergency Contacts","apollo-emergency-contacts-app"),vh=new ph(new mh(0,"bank"),"Bank","bank-component"),yh=new ph(new mh(0,"tax"),"Tax","tax-component"),bh=new ph(new mh(0,"super"),"Super","super-selection-app"),_h=new ph(new mh(0,"app-workplace-linking"),"App Workplace Linking","workplace-link"),Ch=new mh(0,"benefits-onboarding"),xh=new ph(Ch,"Benefits","benefits-onboarding");function kh(e){return new mh(0,e)}function Sh(e){return e.fields[0]}class Ih extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessConfigId"]}}class Eh extends Lt{constructor(e,t,n){super(),this.Id=e,this.Name=t,this.Steps=n}}const Ah=new Eh(new Ih(0,Nf("00000000-0000-0000-0000-000000000000")),"onboarding-default",Gn([vh,yh,bh])),Oh=new Eh(new Ih(0,Nf("00000000-0000-0000-0000-000000000001")),"PEBTS",Gn([gh,wh,vh,yh,bh])),Th=new Eh(new Ih(0,Nf("00000000-0000-0000-0000-000000000002")),"PS",Gn([gh,bh])),Nh=new Eh(new Ih(0,Nf("00000000-0000-0000-0001-000000000000")),"App Workplace Linking",Mn(_h)),Mh=new Qd([[Ah.Id,Ah],[Oh.Id,Oh],[Th.Id,Th],[Nh.Id,Nh]],{Equals:it,GetHashCode:nt});class Ph extends Lt{constructor(e,t){super(),this.ActivatedDates=e,this.CompletedSteps=t}}class Dh extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}class Rh extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ProcessInstanceId"]}}function Bh(e){return new Rh(0,e)}function jh(e){return e.fields[0]}class Lh extends Lt{constructor(e,t){super(),this.Name=e,this.Value=t}}class Fh extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TagName"]}}class Uh extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["TagValue"]}}class zh extends Lt{constructor(e,t,n,r,o,i,a){super(),this.Id=e,this.Configuration=t,this.DateCreated=n,this.Status=r,this.Invite=o,this.Tags=i,this.Creator=a}}function Gh(e,t,n){const r=Wn((t=>0===function(...e){switch(e.length){case 2:return Wt(e[0],e[1],!1);case 3:return Wt(e[0],e[1],e[2]);case 4:return Wt(e[0],e[1],!0===e[2]);case 5:return Wt(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),!1);case 6:return Wt(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),e[5]);case 7:return Wt(e[0].substr(e[1],e[4]),e[2].substr(e[3],e[4]),!0===e[5]);default:throw new Error("String.compare: Unsupported number of parameters")}}(t.ComponentTagName,e,5)),lr(ir((()=>hr(n.Configuration.Steps,ir((()=>t?cr(xh):sr())))))));return lh(qt($t("Invalid ComponentTagName %A%P()",[e])),r)}function Hh(e){const t=e.Status;switch(t.tag){case 0:case 2:case 3:return;default:return In(n=$n((e=>!qn((t=>it(e.Id,t[0])),t.fields[0].CompletedSteps)),e.Configuration.Steps))?void 0:cn(An(n))}var n}function Vh(){return ln(document.getElementById("external-loading-page-container"))}function Wh(){return null!=Vh()}var Zh,$h=[],Yh="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"}(Zh||(Zh={}));var qh,Xh=function(e){return Object.freeze(e)},Jh=function(e,t){this.inlineSize=e,this.blockSize=t,Xh(this)},Kh=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,Xh(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}(),Qh=function(e){return e instanceof SVGElement&&"getBBox"in e},em=function(e){if(Qh(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||e.getClientRects().length)},tm=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)},nm="undefined"!=typeof window?window:{},rm=new WeakMap,om=/auto|scroll/,im=/^tb|vertical/,am=/msie|trident/i.test(nm.navigator&&nm.navigator.userAgent),sm=function(e){return parseFloat(e||"0")},cm=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new Jh((n?t:e)||0,(n?e:t)||0)},um=Xh({devicePixelContentBoxSize:cm(),borderBoxSize:cm(),contentBoxSize:cm(),contentRect:new Kh(0,0,0,0)}),lm=function(e,t){if(void 0===t&&(t=!1),rm.has(e)&&!t)return rm.get(e);if(em(e))return rm.set(e,um),um;var n=getComputedStyle(e),r=Qh(e)&&e.ownerSVGElement&&e.getBBox(),o=!am&&"border-box"===n.boxSizing,i=im.test(n.writingMode||""),a=!r&&om.test(n.overflowY||""),s=!r&&om.test(n.overflowX||""),c=r?0:sm(n.paddingTop),u=r?0:sm(n.paddingRight),l=r?0:sm(n.paddingBottom),f=r?0:sm(n.paddingLeft),d=r?0:sm(n.borderTopWidth),h=r?0:sm(n.borderRightWidth),m=r?0:sm(n.borderBottomWidth),p=f+u,g=c+l,w=(r?0:sm(n.borderLeftWidth))+h,v=d+m,y=s?e.offsetHeight-v-e.clientHeight:0,b=a?e.offsetWidth-w-e.clientWidth:0,_=o?p+w:0,C=o?g+v:0,x=r?r.width:sm(n.width)-_-b,k=r?r.height:sm(n.height)-C-y,S=x+p+b+w,I=k+g+y+v,E=Xh({devicePixelContentBoxSize:cm(Math.round(x*devicePixelRatio),Math.round(k*devicePixelRatio),i),borderBoxSize:cm(S,I,i),contentBoxSize:cm(x,k,i),contentRect:new Kh(f,c,x,k)});return rm.set(e,E),E},fm=function(e,t,n){var r=lm(e,n),o=r.borderBoxSize,i=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case Zh.DEVICE_PIXEL_CONTENT_BOX:return a;case Zh.BORDER_BOX:return o;default:return i}},dm=function(e){var t=lm(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=Xh([t.borderBoxSize]),this.contentBoxSize=Xh([t.contentBoxSize]),this.devicePixelContentBoxSize=Xh([t.devicePixelContentBoxSize])},hm=function(e){if(em(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},mm=function(){var e=1/0,t=[];$h.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new dm(t.target),o=hm(t.target);r.push(n),t.lastReportedSize=fm(t.target,t.observedBox),o<e&&(e=o)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++)(0,r[n])();return e},pm=function(e){$h.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(hm(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},gm=[],wm=0,vm={attributes:!0,characterData:!0,childList:!0,subtree:!0},ym=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],bm=function(e){return void 0===e&&(e=0),Date.now()+e},_m=!1,Cm=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),!_m){_m=!0;var n=bm(e);!function(e){!function(e){if(!qh){var t=0,n=document.createTextNode("");new MutationObserver((function(){return gm.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),qh=function(){n.textContent="".concat(t?t--:t++)}}gm.push(e),qh()}((function(){requestAnimationFrame(e)}))}((function(){var r=!1;try{r=function(){var e,t=0;for(pm(t);$h.some((function(e){return e.activeTargets.length>0}));)t=mm(),pm(t);return $h.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:Yh}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=Yh),window.dispatchEvent(e)),t>0}()}finally{if(_m=!1,e=n-bm(),!wm)return;r?t.run(1e3):e>0?t.run(e):t.start()}}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,vm)};document.body?t():nm.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ym.forEach((function(t){return nm.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),ym.forEach((function(t){return nm.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}(),xm=new Cm,km=function(e){!wm&&e>0&&xm.start(),!(wm+=e)&&xm.stop()},Sm=function(){function e(e,t){this.target=e,this.observedBox=t||Zh.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=fm(this.target,this.observedBox,!0);return e=this.target,Qh(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}(),Im=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},Em=new WeakMap,Am=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},Om=function(){function e(){}return e.connect=function(e,t){var n=new Im(e,t);Em.set(e,n)},e.observe=function(e,t,n){var r=Em.get(e),o=0===r.observationTargets.length;Am(r.observationTargets,t)<0&&(o&&$h.push(r),r.observationTargets.push(new Sm(t,n&&n.box)),km(1),xm.schedule())},e.unobserve=function(e,t){var n=Em.get(e),r=Am(n.observationTargets,t),o=1===n.observationTargets.length;r>=0&&(o&&$h.splice($h.indexOf(n),1),n.observationTargets.splice(r,1),km(-1))},e.disconnect=function(e){var t=this,n=Em.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Tm=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.");Om.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(!tm(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Om.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(!tm(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Om.unobserve(this,e)},e.prototype.disconnect=function(){Om.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class Nm extends Lt{constructor(e,t,n){super(),this.instanceId=0|e,this.name=t,this.type=n}}function Mm(e){return new Nm(jh(e.Id),e.Configuration.Name,e.Configuration.Id.fields[0])}function Pm(e){Wh()||window.parent.postMessage(e,"*")}function Dm(){Pm(function(e,t){const n={type:"contentResized",sender:"flare"};return n.height=e,n.width=-1,n}(document.body.offsetHeight))}function Rm(e,t){Pm(function(e,t){const n={type:"workflowSubmitSuccess",sender:"flare"};return n.workflow=Mm(e),n.profileId=hh(t),n}(e,t))}function Bm(e){Wh()&&function(e,t){rs(Za.Delay((()=>Za.Bind(ns(e),(()=>(function(){let e,t;const n=Vh();gr((t=document.body,e=e=>t.removeChild(e),t=>{e(t)}),fn(n))}(),Pm({type:"appReady",sender:"flare"}),Dm(),Za.Zero()))))))}(e)}function jm(e){let t;const n=Ls((r=e.inviteCode,[new au(r,void 0,{Error:void 0,Input:"",IsDirty:!1,IsTouched:!1},!1,!1,new ou(0),Tn()),cs()]),$d,[]);var r;const o=n[0],i=n[1];As(Gs((()=>Yd(1e3,Zd(o.InviteToken))),(e=>{i(new iu(1,e))})));const a=Gs((()=>Yd(500,function(e,t){return Ou(0,(()=>{let n;const r=Wd((n=_l(new Tu(1),bl(function(e){const t=Zc(e);return qt(Zt("%s/workflows/public-backend/invites/%s/confirm"))(bu)(t)}(e))),xl(new Mu(1,Vd(0,new bf(t),new xf(1),void 0,void 0,{ResolveType:_f})),n)));return Za.Delay((()=>Za.Bind(r,(e=>{let t,n;const r=e;return 1===r.tag?Za.Return(new $a(1,r.fields[0])):Za.ReturnFrom((t=r.fields[0],200===t.statusCode?(n=Ya(yf,Nd(t.responseText,new xf(1),void 0,{ResolveType:vf})),Za.Return(n)):Za.Return(new $a(1,"Unexpected response from backend"))))}))))}))}(o.InviteToken,o.MfaCodeForm.Input))),(e=>{i(new iu(2,e))}));As((()=>{Bm(0)}));const s=e=>{let t;return d("svg",ft(Gn([["className",nn(" ",Hn(Gn(["animate-spin","text-primary-base"]),e))],["fill","none"],["viewBox","0 0 24 24"],["xmlns","http://www.w3.org/2000/svg"],(t=Gn([d("circle",{className:nn(" ",["opacity-25"]),cx:12,cy:12,r:10,stroke:"currentColor",strokeWidth:4}),d("path",{className:nn(" ",["opacity-75"]),fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]),["children",br.Children.toArray(Array.from(t))])])))};return d("div",ft(Gn([["className",nn(" ",["h-screen","fade-in"])],(t=lr(ir((()=>hr(wr((e=>d("style",{children:[e]})),o.CssOverrides),ir((()=>{let e,t,n;return cr(d("div",ft(Gn([["className",nn(" ",["h-full","flex","justify-center","items-center"])],(e=[d("div",ft(Gn([["className",nn(" ",["border","rounded-lg","shadow-md","sm:max-w-md","p-8","text-center"])],(t=[d("div",ft(Mn((n=lr(ir((()=>{let e,t,n,r,c;return hr((e=o.Ui,2===e.tag?cr(d("div",ft(Gn([["className",nn(" ",["fade-in"])],(t=[d("i",{className:nn(" ",["text-red-600"]),children:br.Children.toArray([za])}),d("h4",{className:nn(" ",["text-2xl","my-4","text-red-600"]),children:"This doesn't look right"}),d("p",{className:nn(" ",["mt-3","mb-5","text-gray-500"]),children:e.fields[0]})],["children",br.Children.toArray(Array.from(t))])])))):1===e.tag?cr(d("form",ft(Gn([["className",nn(" ",["fade-in"])],["onSubmit",e=>{e.preventDefault(),a()}],(n=lr(ir((()=>hr(cr(d("i",{className:nn(" ",["text-primary-base"]),children:br.Children.toArray([Ua])})),ir((()=>hr(cr(d("h4",{className:nn(" ",["text-2xl","my-4"]),children:"Authenticate Your Account"})),ir((()=>{let e,t;return hr(cr(d("p",ft(Gn([["className",nn(" ",["mt-3","mb-5","text-gray-500"])],(e=["Protecting your account is our top priority. Check your email ",(t=dn(o.MaskedEmail,""),d("strong",{children:[t]}))," for the code that we have just sent you."],["children",br.Children.toArray(Array.from(e))])])))),ir((()=>{let e;return hr(cr(d("div",ft(Gn([["className",nn(" ",["mt-1","flex","rounded-md","shadow-sm"])],(e=[d("input",{"aria-describedby":nn(" ",["button-verify"]),"aria-label":"Authorization code",autoFocus:!0,className:nn(" ",["grow","rounded-none","rounded-l-md","border-gray-300","focus:ring-primary-focus","focus:border-primary-focus","focus:z-10"]),placeholder:"Enter the code here",required:!0,maxLength:6,type:"text",onChange:e=>{i(new iu(3,e.target.value))},onBlur:e=>{i(new iu(4))}}),d("button",ft(lr(ir((()=>hr(cr(["className",nn(" ",["-ml-px","border","border-gray-300","text-sm","rounded-r-md","px-4","py-2","bg-primary-dark","focus:outline-none","focus:ring-1","focus:ring-primary-focus","focus:border-primary-focus","text-white"])]),ir((()=>hr(cr(["id","button-verify"]),ir((()=>hr(cr(["type","submit"]),ir((()=>hr(cr(["disabled",!(!o.MfaCodeForm.IsTouched||null==o.MfaCodeForm.Error)||o.IsValidationPending]),ir((()=>{let e,t;return o.IsValidationPending?cr((e=[d("div",ft(Gn([["className",nn(" ",["flex","justify-center","items-center"])],(t=[s(Gn(["h-5","w-5"]))],["children",br.Children.toArray(Array.from(t))])])))],["children",br.Children.toArray(Array.from(e))])):cr(["children","Verify"])})))))))))))))))))],["children",br.Children.toArray(Array.from(e))])])))),ir((()=>{const e=[o.MfaCodeForm.IsDirty&&o.MfaCodeForm.IsTouched,o.MfaCodeForm.Error];let t;switch(t=e[0]&&null!=e[1]?0:1,t){case 0:{const t=e[1];return cr(d("div",{className:nn(" ",["mt-2","text-sm","text-red-600","text-left"]),children:t}))}case 1:return cr(null)}})))})))}))))))))),["children",br.Children.toArray(Array.from(n))])])))):cr((r=Gn([d("div",ft(Gn([["className",nn(" ",["flex","justify-center","items-center"])],(c=[s(Gn(["h-10","w-10"]))],["children",br.Children.toArray(Array.from(c))])]))),d("h4",{className:nn(" ",["text-2xl","my-4"]),children:"Verifying your invite"}),d("p",{className:nn(" ",["mt-3","mb-5","text-gray-500"]),children:"Hold tight. It won't be long."})]),d("div",{children:br.Children.toArray(Array.from(r))})))),ir((()=>{let e,t,n;return cr(d("p",ft(Gn([["className",nn(" ",["mt-16","text-gray-400","text-right","text-xs"])],(e=[(t=`Flare HR Pty Ltd © 2015-${n=kt(),St(n)}`,d("small",{children:[t]}))],["children",br.Children.toArray(Array.from(e))])]))))})))}))),["children",br.Children.toArray(Array.from(n))]))))],["children",br.Children.toArray(Array.from(t))])])))],["children",br.Children.toArray(Array.from(e))])]))))})))))),["children",br.Children.toArray(Array.from(t))])])))}function Lm(){let e;return As((()=>{Bm(0)})),d("div",ft(Gn([["className",nn(" ",["w-full","sm:max-w-md","mt-5","mx-1","text-center","mx-auto"])],(e=[d("h4",{className:nn(" ",["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",br.Children.toArray(Array.from(e))])])))}function Fm(e){this.message=e}Fm.prototype=new Error,Fm.prototype.name="InvalidCharacterError";var Um="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new Fm("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,o=0,i=0,a="";r=t.charAt(i++);~r&&(n=o%4?64*n+r:r,o++%4)?a+=String.fromCharCode(255&n>>(-2*o&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return a};function zm(e){this.message=e}zm.prototype=new Error,zm.prototype.name="InvalidTokenError";function Gm(e){return function(e,t){return function(e,t,n){e:for(;;){const r=e,o=t,i=n;if(Pn(i))return r;{const a=Iu(0,(()=>qa((e=>Eu(0,r,(t=>Hn(t,Mn(e))))),o(Rn(i)))))();if(1===a.tag)return a;e=a,t=o,n=Bn(i);continue e}}}(new $a(0,Tn()),e,t)}((e=>e),e)}function Hm(e,t){return null!=t?Ya(cn,e(un(t))):new $a(0,void 0)}class Vm extends Lt{constructor(e,t,n){super(),this.CompanyName=e,this.Logo=t,this.Support=n}}class Wm extends Lt{constructor(e,t){super(),this.Email=e,this.Phone=t}}function Zm(e){return Iu(0,(()=>qa((t=>Eu(0,Hm(tu,e.Phone),(e=>new Jc(t,e)))),Hm(eu,e.Email))))()}function $m(e){return Iu(0,(()=>qa((t=>qa((n=>Eu(0,Hm(Zm,e.Support),(e=>new Yc(n,t,e)))),Hm(nu,e.CompanyName))),Hm(ru,e.Logo))))()}class Ym extends Lt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.NumberOfAttempts=0|n,this.DateOfLastAttempt=r}}function qm(e){return Iu(0,(()=>Eu(0,Gc(e.Code),(t=>new Hc(t,e.DateIssued,e.NumberOfAttempts,e.DateOfLastAttempt)))))()}class Xm extends Lt{constructor(e,t,n,r){super(),this.Code=e,this.DateIssued=t,this.SecondFactor=n,this.Branding=r}}function Jm(e){return Iu(0,(()=>qa((t=>qa((n=>Eu(0,Hm($m,e.Branding),(r=>new $c(t,e.DateIssued,n,r)))),Hm(qm,e.SecondFactor))),Wc(e.Code))))()}class Km extends Lt{constructor(e,t,n){super(),this.Id=e,this.DisplayName=t,this.ComponentTagName=n}}function Qm(e){return Iu(0,(()=>Su(0,new ph(kh(e.Id),e.DisplayName,e.ComponentTagName))))()}class ep extends Lt{constructor(e,t){super(),this.ActivatedDates=e,this.CompletedSteps=t}}class tp extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Inactive","Active","Complete","Abandoned"]}}class np extends Lt{constructor(e,t,n){super(),this.Id=e,this.Name=t,this.Steps=n}}class rp extends Lt{constructor(e,t){super(),this.Name=e,this.Value=t}}function op(e){return t=e.Name,n=e.Value,Iu(0,(()=>{return qa((e=>{return Eu(0,tn(t=n)?new $a(1,"Tag value is empty"):t.length<100?new $a(0,new Uh(0,t)):new $a(1,"Tag value is too long"),(t=>new Lh(e,t)));var t}),tn(e=t)?new $a(1,"Tag name is empty"):e.length<100?new $a(0,new Fh(0,e)):new $a(1,"Tag name is too long"));var e}))();var t,n}class ip extends Lt{constructor(e,t,n,r,o,i,a){super(),this.Id=0|e,this.DateCreated=t,this.Configuration=n,this.Status=r,this.Invite=o,this.Tags=i,this.Creator=a}}function ap(){return Nl("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceDto",[],ip,(()=>[["Id",Fl],["DateCreated",Tl("System.DateTime")],["Configuration",Nl("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessConfigDto",[],np,(()=>[["Id",Tl("System.Guid")],["Name",jl],["Steps",Rl(Nl("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessStepConfigDto",[],Km,(()=>[["Id",jl],["DisplayName",jl],["ComponentTagName",jl]])))]]))],["Status",Ml("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ProcessInstanceStatusDto",[],tp,(()=>[[],[["Item",Nl("Workflows.Business.Aggregates.ProcessInstanceList.Dto.ActiveProcessInstanceDto",[],ep,(()=>[["ActivatedDates",Rl(Tl("System.DateTime"))],["CompletedSteps",Rl(Pl(jl,Tl("System.DateTime")))]]))]],[["Item",Tl("System.DateTime")]],[["Item",Tl("System.DateTime")]]]))],["Invite",Dl(Nl("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.InviteDto",[],Xm,(()=>[["Code",jl],["DateIssued",Tl("System.DateTime")],["SecondFactor",Dl(Nl("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.SecondFactorDto",[],Ym,(()=>[["Code",jl],["DateIssued",Tl("System.DateTime")],["NumberOfAttempts",Fl],["DateOfLastAttempt",Dl(Tl("System.DateTime"))]])))],["Branding",Dl(Nl("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.InviteBrandingDto",[],Vm,(()=>[["CompanyName",Dl(jl)],["Logo",Dl(jl)],["Support",Dl(Nl("Workflows.Business.Aggregates.ProcessInstanceList.Invite.Dto.SupportDto",[],Wm,(()=>[["Email",Dl(jl)],["Phone",Dl(jl)]])))]])))]])))],["Tags",Dl(Rl(Nl("Workflows.Business.Aggregates.ProcessInstanceList.Dto.TagDto",[],rp,(()=>[["Name",jl],["Value",jl]]))))],["Creator",Dl(jl)]]))}function sp(e){return Iu(0,(()=>qa((t=>{const n=t;return qa((t=>{let r;const o=t;return qa((t=>qa((r=>Eu(0,Hm((e=>Gm(Vn(op,e))),e.Tags),(o=>new zh(Bh(e.Id),n,e.DateCreated,t,r,o,hn(dh,e.Creator))))),Hm(Jm,e.Invite))),1===o.tag?(r=o.fields[0],Iu(0,(()=>Eu(0,Gm(Vn((e=>{const t=[e[0],e[1]],r=t[0];return qn((e=>it(e.Id,r)),n.Steps)?new $a(0,[r,t[1]]):new $a(1,"Step id is not configured for this Process Instance.")}),r.CompletedSteps)),(e=>new Dh(1,new Ph(r.ActivatedDates,e))))))()):new $a(0,o))}),function(e){switch(e.tag){case 1:{const t=function(e){return Iu(0,(()=>Eu(0,Gm(Vn((e=>Iu(0,(()=>Su(0,[kh(e[0]),e[1]])))()),e.CompletedSteps)),(t=>new Ph(e.ActivatedDates,t)))))()}(e.fields[0]);return 1===t.tag?new $a(1,t.fields[0]):new $a(0,new Dh(1,t.fields[0]))}case 2:return new $a(0,new Dh(2,e.fields[0]));case 3:return new $a(0,new Dh(3,e.fields[0]));default:return new $a(0,new Dh(0))}}(e.Status))}),function(e){return Iu(0,(()=>qa((t=>Eu(0,function(e){const t=new Ih(0,e);return mr(t,Mh.keys(),{Equals:it,GetHashCode:nt})?new $a(0,t):new $a(1,"Invalid Type")}(e.Id),(n=>new Eh(n,e.Name,t)))),Gm(Vn(Qm,e.Steps)))))()}(e.Configuration))))()}class cp extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompleteStep","Complete"]}}class up extends Lt{constructor(e,t,n){super(),this.CssOverrides=e,this.ProcessInstance=t,this.IsBenefitsEnabled=n}}class lp extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["CompleteStep","Complete"]}}const fp=sp;class dp extends Lt{constructor(e,t,n){super(),this.CssOverrides=e,this.ProcessInstanceDto=t,this.IsBenefitsEnabled=n}}function hp(){return Nl("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Read.ProcessInstanceContextDto",[],dp,(()=>[["CssOverrides",Rl(jl)],["ProcessInstanceDto",ap()],["IsBenefitsEnabled",Ll]]))}function mp(e){return new up(e.CssOverrides,1===(t=sp(e.ProcessInstanceDto)).tag?(e=>{throw new Error(e)})(t.fields[0]):t.fields[0],e.IsBenefitsEnabled);var t}class pp extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["WorkflowInstanceStepActivated","BenefitsStepActivated","BenefitsStepCompleted"]}}class gp extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["PersonalDetails","EmergencyContacts","Bank","Tax","Super","WorkplaceLinking","BenefitsOnboarding"]}}class wp extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Hidden","Incomplete","Complete"]}}function vp(e){return it(e,gh)?new $a(0,new gp(0)):it(e,wh)?new $a(0,new gp(1)):it(e,vh)?new $a(0,new gp(2)):it(e,yh)?new $a(0,new gp(3)):it(e,bh)?new $a(0,new gp(4)):it(e,_h)?new $a(0,new gp(5)):new $a(1,"Invalid step")}function yp(e){switch(e.tag){case 1:return wh;case 2:return vh;case 3:return yh;case 4:return bh;case 5:return _h;case 6:return xh;default:return gh}}function bp(e){switch(e.tag){case 1:return"Emergency Contacts";case 2:return"Bank Details";case 3:return"Tax Details";case 4:return"Super Selection";case 5:return _h.DisplayName;case 6:return xh.DisplayName;default:return"Personal Details"}}function _p(e,t){return Ya((e=>function(e,t){return 0===e.tag?t:Hn(t,Mn(new gp(6)))}(t,e)),Gm(Vn(vp,e.Configuration.Steps)))}function Cp(e,t){return Ya((e=>function(e,t){return 2===e.tag?Hn(t,Mn(new gp(6))):t}(t,e)),Gm(Vn(vp,function(e){const t=e.Status;switch(t.tag){case 2:return e.Configuration.Steps;case 3:case 0:return Tn();default:{const n=Vn((e=>e[0]),t.fields[0].CompletedSteps);return $n((e=>Yn(e.Id,n,{Equals:it,GetHashCode:nt})),e.Configuration.Steps)}}}(e))))}class xp extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Initialising","StepList","Step","CompletedAllSteps","Oops","AllDone"]}}class kp extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ActivateCallback","ShowView","StepCompletionEventCallback","CompleteStep","CompleteWorkflow","SendAnalyticsEvent","AppendTrailingSlashToUrl","CompleteBenefitsOnboardingStep"]}}class Sp extends Lt{constructor(e,t,n,r,o,i){super(),this.ProfileId=e,this.ProcessInstanceId=t,this.ProcessInstance=n,this.CurrentView=r,this.CssOverrides=o,this.BenefitsOnboarding=i}}function Ip(e,t){return Ou(0,(()=>{const n=Cl((r=qt(Zt("Bearer %s"))(e),new Nu(0,"Authorization",r)),t);var r;let o;const i=kl(n);return o=Za.Bind(i,(e=>Za.Return(new $a(0,e)))),Za.Delay((()=>Za.Bind(o,(e=>{let t,r;const o=e;return 1===o.tag?Za.Return(new $a(1,o.fields[0])):Za.ReturnFrom((t=o.fields[0],429===t.statusCode||t.statusCode>=500?(r=kl(n),Za.Bind(r,(e=>Za.Return(new $a(0,e))))):Au(0,t)))}))))}))}function Ep(e,t,n){return Ou(0,(()=>{let r;const o=Ip(n,(r=xl(new Mu(1,Vd(0,Mn(function(e){return 1===e.tag?new lp(1):new lp(0,Sh(e.fields[0]))}(e)),new xf(1),void 0,void 0,{ResolveType:()=>Rl(Ml("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.ProcessInstanceCommandDto",[],lp,(()=>[[["Item",jl]],[]])))})),_l(new Tu(1),bl(function(e){const t=0|jh(e);return qt(Zt("%s/workflows/backend/%i"))(bu)(t)}(t)))),Cl(wl("application/json"),r)));return Za.Delay((()=>Za.Bind(o,(e=>{let t,n;const r=e;return 1===r.tag?Za.Return(new $a(1,r.fields[0])):Za.ReturnFrom((t=r.fields[0],200===t.statusCode?(n=qa(fp,Nd(t.responseText,new xf(1),void 0,{ResolveType:ap})),Za.Return(n)):Za.Return(new $a(1,"Unexpected response from backend"))))}))))}))}function Ap(e,t,n){let r;return r=Ou(0,(()=>{let r;return Ip(e,(r=xl(new Mu(1,Vd(0,Mn(n),new xf(1),void 0,void 0,{ResolveType:()=>Rl(Ml("Workflows.Business.Aggregates.ProcessInstanceList.ApiDto.Backend.Write.WorkflowAnalyticsEventDto",[],pp,(()=>[[["Item",jl]],[],[]])))})),_l(new Tu(1),bl(function(e){const t=0|jh(e);return qt(Zt("%s/workflows/backend/process-instances/%i/analytics-events"))(bu)(t)}(t)))),Cl(wl("application/json"),r)))})),o=Za.Bind(r,(e=>{const t=Ya((e=>{}),e);return Za.Return(t)})),i=o,Za.Bind(i,(e=>{const t=function(e,t){return 1===t.tag?e:t.fields[0]}(void 0,e);return Za.Return(t)}));var o,i}function Op(e,t,n,r){let o,i,a,s,c,u,l;switch(n.tag){case 1:{const e=n.fields[0];return[new Sp(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,e,r.CssOverrides,r.BenefitsOnboarding),2===e.tag?(o=yp(e.fields[0]),it(o.Id,xh.Id)?ds(new kp(5,r.ProcessInstanceId,new pp(1))):ds(new kp(5,r.ProcessInstanceId,new pp(0,Sh(o.Id))))):cs()]}case 5:return ms(Ap(e,n.fields[0],n.fields[1])),[r,cs()];case 2:{const e=r.ProcessInstance;let t,o;switch(2===e.tag&&0===e.fields[0].tag?(t=0,o=e.fields[0].fields[0]):t=1,t){case 0:return[r,(i=n.fields[0].target,a=!it(r.BenefitsOnboarding,new wp(0)),s=Gh(i.tagName,a,o),1===s.tag?cs():it(s.fields[0].Id,Ch)?ds(new kp(7)):ds(new kp(3,s.fields[0].Id,new Fs(0))))];case 1:return[r,cs()]}}case 7:{const e=r.ProcessInstance;let t,n;switch(2===e.tag&&0===e.fields[0].tag?it(r.BenefitsOnboarding,new wp(0))?t=1:(t=0,n=e.fields[0].fields[0]):t=1,t){case 0:return[new Sp(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,r.CurrentView,r.CssOverrides,new wp(2)),ls(Gn([ds(new kp(5,r.ProcessInstanceId,new pp(2))),uh((e=>e),(e=>ds(new kp(1,new xp(4,e)))),Iu(0,(()=>{let e;return Eu(0,(e=[n,r.BenefitsOnboarding],_p(e[0],e[1])),(e=>ds(new kp(1,new xp(3,e,e)))))}))())]))];case 1:return[r,cs()]}}case 3:{const t=n.fields[0],o=n.fields[1];switch(o.tag){case 1:return[r,cs()];case 2:{const e=o.fields[0],n=uh((e=>e),(e=>new kp(1,new xp(4,e))),Iu(0,(()=>qa((e=>{let t;const n=e,o=Hh(n);return qa((e=>{let t;const i=e;return qa((e=>{const t=e;if(1===Dn(t))return Su(0,new kp(4,new Fs(0)));{const e=[o,r.BenefitsOnboarding];if(null==e[0]){if(1===e[1].tag){const e=new gp(6);return Su(0,new kp(1,new xp(2,e,e,i,t)))}return Su(0,new kp(1,new xp(3,i,t)))}return Eu(0,vp(e[0]),(e=>new kp(1,new xp(2,e,e,i,t))))}}),(t=[n,r.BenefitsOnboarding],_p(t[0],t[1])))}),(t=[n,r.BenefitsOnboarding],Cp(t[0],t[1])))}),e)))());return uh((e=>{!function(e,t,n){const r=function(e,t){const n=Wn((t=>it(t.Id,e)),t.Configuration.Steps);return lh(qt($t("Invalid ProcessStep Id %A%P()",[e])),n)}(e,t);1===r.tag||Pm(function(e,t,n,r){const o={type:"stepSubmitSuccess",sender:"flare"};return o.workflow=Mm(n),o.profileId=hh(r),o.step={name:t,type:Sh(e)},o}(e,r.fields[0].DisplayName,t,n))}(t,e,r.ProfileId)}),(e=>{}),e),[new Sp(r.ProfileId,r.ProcessInstanceId,o,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),ds(n)]}case 3:return[new Sp(r.ProfileId,r.ProcessInstanceId,o,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),ds(new kp(1,new xp(4,o.fields[0].message)))];default:return[r,hs((e=>{ms(e)}),(e=>function(e,t,n){return Ep(new cp(0,t),e,n)}(r.ProcessInstanceId,t,e)),e,(e=>new kp(3,t,new Fs(2,e))),(e=>new kp(3,t,new Fs(3,e))))]}}case 4:{const o=n.fields[0];switch(o.tag){case 1:return[r,cs()];case 2:{const e=o.fields[0];if(1===e.tag)return[new Sp(r.ProfileId,r.ProcessInstanceId,o,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),ds(new kp(1,new xp(4,e.fields[0])))];{const n=e.fields[0];return Rm(n,r.ProfileId),[new Sp(r.ProfileId,r.ProcessInstanceId,o,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),(c=[t,(u=[n,r.BenefitsOnboarding],f=u[0],d=u[1],Dn(f.Configuration.Steps)+(0===d.tag?0:1))],1===c[0].tag?1===c[1]?cs():ds(new kp(1,new xp(5))):cs())]}}case 3:return[new Sp(r.ProfileId,r.ProcessInstanceId,o,r.CurrentView,r.CssOverrides,r.BenefitsOnboarding),ds(new kp(1,new xp(4,o.fields[0].message)))];default:{const t=r.ProcessInstance;let n,o;switch(2===t.tag&&0===t.fields[0].tag&&2===t.fields[0].fields[0].Status.tag?(n=0,o=t.fields[0].fields[0]):n=1,n){case 0:return Rm(o,r.ProfileId),[r,cs()];case 1:return[r,hs((e=>{ms(e)}),(e=>function(e,t){return Ep(new cp(1),e,t)}(r.ProcessInstanceId,e)),e,(e=>new kp(4,new Fs(2,e))),(e=>new kp(4,new Fs(3,e))))]}}}}case 6:return[r,(l=window.location.pathname+"/"+window.location.search+window.location.hash,fs((e=>{hu(Mn(l),1,2)})))];default:{const e=n.fields[0];let t;switch(e.tag){case 3:t=[r,ds(new kp(1,new xp(4,e.fields[0].message)))];break;case 0:case 1:t=[r,cs()];break;default:{const n=uh((e=>e),(e=>[r,new xp(4,e)]),Iu(0,(()=>qa((e=>{let t;const n=e,o=function(e){return new wp(e?1:0)}(n.IsBenefitsEnabled);return qa((e=>{let t;const i=e;return qa((e=>{let t,a;const s=e,c=e=>{const t=[vu.clientWidth<640,Dn(s)];return 1===t[1]?(document.title=bp(e),new xp(2,e,e,i,s)):new xp(t[0]?1:2,e,e,i,s)};return Eu(0,(t=[Hh(n.ProcessInstance),o],null==t[0]?1===t[1].tag?new $a(0,c(new gp(6))):new $a(0,new xp(3,i,s)):(a=t[0],Iu(0,(()=>Eu(0,vp(a),c)))())),(e=>[new Sp(r.ProfileId,r.ProcessInstanceId,r.ProcessInstance,r.CurrentView,n.CssOverrides,o),e]))}),(t=[n.ProcessInstance,o],_p(t[0],t[1])))}),(t=[n.ProcessInstance,o],Cp(t[0],t[1])))}),e.fields[0])))());t=[n[0],ds(new kp(1,n[1]))]}}const o=t[0];return[new Sp(o.ProfileId,o.ProcessInstanceId,Us((e=>Ya((e=>e.ProcessInstance),e)),e),o.CurrentView,o.CssOverrides,o.BenefitsOnboarding),t[1]]}}var f,d}var Tp;function Np(){return Np=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},Np.apply(this,arguments)}const Mp=function(e){return d("svg",Np({width:17,height:14,xmlns:"http://www.w3.org/2000/svg"},e),Tp||(Tp=d("path",{d:"m2 8 4 4 9-10",strokeWidth:3,stroke:"#FFF",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"})))};var Pp,Dp,Rp;function Bp(){return Bp=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},Bp.apply(this,arguments)}const jp=function(e){return d("svg",Bp({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Pp||(Pp=d("path",{d:"M11.208 17.438a3.635 3.635 0 1 0 0-7.271 3.635 3.635 0 0 0 0 7.27Zm0-5.857a2.229 2.229 0 1 1 0 4.457 2.229 2.229 0 0 1 0-4.457ZM11.208 18.78a5.455 5.455 0 0 0-3.952 1.653c-1.054 1.076-1.631 2.538-1.631 4.127a.705.705 0 0 0 .703.703h9.76a.705.705 0 0 0 .703-.703c0-1.589-.577-3.051-1.632-4.127a5.455 5.455 0 0 0-3.951-1.652ZM7.08 23.858c.12-.92.535-1.775 1.182-2.44a4.142 4.142 0 0 1 5.892 0 4.322 4.322 0 0 1 1.181 2.44H7.08Z",fill:"#000"})),Dp||(Dp=d("path",{d:"M31.36 5.273H4.64A3.517 3.517 0 0 0 1.126 8.79v17.86a3.517 3.517 0 0 0 3.516 3.515h26.718a3.517 3.517 0 0 0 3.516-3.516V8.79a3.517 3.517 0 0 0-3.516-3.516Zm2.109 21.375a2.116 2.116 0 0 1-2.11 2.11H4.641a2.116 2.116 0 0 1-2.11-2.11V8.79a2.116 2.116 0 0 1 2.11-2.11h26.718a2.116 2.116 0 0 1 2.11 2.11v17.86Z",fill:"#000"})),Rp||(Rp=d("path",{d:"M29.63 17.016h-8.192a.703.703 0 0 0 0 1.406h8.192a.703.703 0 1 0 0-1.406ZM29.63 21.516h-8.192a.703.703 0 0 0 0 1.406h8.192a.703.703 0 1 0 0-1.406ZM29.63 12.516h-8.192a.703.703 0 0 0 0 1.406h8.192a.703.703 0 1 0 0-1.406Z",fill:"#000"})))};var Lp,Fp;function Up(){return Up=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},Up.apply(this,arguments)}const zp=function(e){return d("svg",Up({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Lp||(Lp=d("g",{clipPath:"url(#icon-emergency-contacts_svg__a)",fill:"#000"},d("path",{d:"M30.223 24.427c-.204-.15-5.051-3.656-9.3-2.538a.528.528 0 0 0-.272.174c-.078.095-1.718 2.102-2.065 3.967a9.392 9.392 0 0 1-1.224-.462c-.979-.444-2.476-1.305-4.055-2.884-.907-.907-1.66-1.825-2.238-2.73a.528.528 0 0 0-.89.568c.62.969 1.421 1.948 2.382 2.908 3.286 3.286 6.286 3.757 6.412 3.775a.527.527 0 0 0 .604-.522c0-.378.106-.802.27-1.231 1.318.114 5.928.678 9.431 3.139-.465 1.981-1.643 3.71-3.38 4.893-2.258 1.54-5.028 1.871-7.6.91-3.69-1.378-7.087-3.602-10.093-6.608C5.2 24.78 2.976 21.385 1.596 17.692c-.96-2.572-.628-5.342.912-7.6C3.69 8.354 5.418 7.176 7.4 6.711c2.461 3.503 3.025 8.113 3.14 9.432-.43.164-.854.27-1.232.27a.527.527 0 0 0-.528.54c.002.062.024.637.388 1.594a.527.527 0 1 0 .986-.374 6.108 6.108 0 0 1-.237-.76c1.876-.33 3.915-1.996 4.01-2.074a.528.528 0 0 0 .175-.273c1.117-4.247-2.388-9.095-2.538-9.3a.527.527 0 0 0-.355-.21c-.676-.091-1.36-.132-2.032-.12-3.068.05-5.816 1.53-7.541 4.06C-.1 12.043-.474 15.164.608 18.06c1.433 3.835 3.738 7.358 6.85 10.47 3.115 3.115 6.638 5.42 10.472 6.852 1.09.407 2.21.608 3.321.608a9.27 9.27 0 0 0 5.242-1.636c2.53-1.725 4.011-4.473 4.062-7.541.01-.672-.03-1.356-.121-2.032a.528.528 0 0 0-.211-.355ZM9.193 6.491c.545-.008 1.098.02 1.646.083.594.879 3.037 4.76 2.283 8.06-.347.27-.922.675-1.566 1.03-.174-1.698-.807-5.756-3.008-9.137.213-.02.428-.032.645-.036Zm11.133 17.944c.356-.644.76-1.22 1.032-1.566 3.3-.754 7.18 1.69 8.059 2.282.063.55.091 1.102.083 1.646a8.672 8.672 0 0 1-.036.646c-3.381-2.201-7.44-2.834-9.138-3.008Z"}),d("path",{d:"M26.97.009c-4.98 0-9.03 4.05-9.03 9.03 0 2.346.885 4.549 2.5 6.236-.175.716-.438 1.628-.781 2.366a1.34 1.34 0 0 0 .109 1.333 1.347 1.347 0 0 0 1.207.593c1.116-.07 2.669-.435 3.898-1.744a9.03 9.03 0 0 0 8.912-2.86.528.528 0 0 0-.796-.693 7.975 7.975 0 0 1-8.156 2.454.528.528 0 0 0-.547.171c-1.02 1.227-2.399 1.558-3.376 1.619a.299.299 0 0 1-.27-.134.293.293 0 0 1-.025-.293c.429-.922.737-2.062.92-2.856a.528.528 0 0 0-.145-.496 7.914 7.914 0 0 1-2.395-5.696c0-4.398 3.577-7.975 7.975-7.975 4.397 0 7.975 3.577 7.975 7.975a7.882 7.882 0 0 1-.855 3.596.527.527 0 1 0 .94.477c.644-1.27.97-2.64.97-4.073 0-4.98-4.051-9.03-9.03-9.03Z"}),d("path",{d:"M31.554 6.184h-9.168a.528.528 0 1 0 0 1.055h9.168a.528.528 0 0 0 0-1.055ZM31.554 8.71h-9.168a.528.528 0 1 0 0 1.055h9.168a.528.528 0 0 0 0-1.055ZM31.554 11.236h-9.168a.528.528 0 1 0 0 1.055h9.168a.528.528 0 0 0 0-1.055Z"}))),Fp||(Fp=d("defs",null,d("clipPath",{id:"icon-emergency-contacts_svg__a"},d("path",{fill:"#fff",d:"M0 0h36v36H0z"})))))};var Gp,Hp,Vp;function Wp(){return Wp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wp.apply(this,arguments)}const Zp=function(e){return d("svg",Wp({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Gp||(Gp=d("path",{d:"M18.47 19.647a.562.562 0 0 0-.202-.007 1.343 1.343 0 0 1-1.188-1.33.59.59 0 0 0-1.18 0 2.526 2.526 0 0 0 1.857 2.431v.591a.59.59 0 0 0 1.18 0v-.555a2.521 2.521 0 0 0-.516-4.99 1.34 1.34 0 1 1 1.34-1.34.59.59 0 0 0 1.182 0 2.526 2.526 0 0 0-2.005-2.468v-.538a.59.59 0 0 0-1.181 0v.573a2.522 2.522 0 0 0 .664 4.954 1.34 1.34 0 0 1 .049 2.68Z",fill:"#000"})),Hp||(Hp=d("path",{d:"M9.858 16.423a8.563 8.563 0 1 0 8.563-8.562 8.573 8.573 0 0 0-8.563 8.562Zm8.563-7.381a7.382 7.382 0 1 1-7.382 7.381 7.39 7.39 0 0 1 7.382-7.381Z",fill:"#000"})),Vp||(Vp=d("path",{d:"m29.895 26.442-4.626 2.186a3.768 3.768 0 0 0-3.212-1.982l-4.27-.118a4.51 4.51 0 0 1-1.94-.5l-.435-.226a7.664 7.664 0 0 0-7.1.008l.028-.985a.59.59 0 0 0-.574-.607l-4.683-.128a.59.59 0 0 0-.606.574l-.283 10.275a.59.59 0 0 0 .574.607l4.683.129h.016a.59.59 0 0 0 .59-.575l.014-.491 1.216-.651a2.086 2.086 0 0 1 1.557-.17l7.265 2.038a7.779 7.779 0 0 0 1.635.174 7.879 7.879 0 0 0 3.29-.718.561.561 0 0 0 .074-.04l10.533-6.813a.59.59 0 0 0 .193-.787 2.983 2.983 0 0 0-3.94-1.2ZM3.39 34.382l.25-9.096 3.502.097-.25 9.095-3.502-.096Zm19.112-.155a6.695 6.695 0 0 1-4.094.457l-7.245-2.034a3.266 3.266 0 0 0-2.434.267l-.622.333.167-6.048a6.491 6.491 0 0 1 6.594-.351l.434.225c.76.392 1.597.608 2.452.633l4.27.117a2.59 2.59 0 0 1 2.462 2.064l-6.361-.175a.59.59 0 0 0-.033 1.18l7.02.194h.016a.59.59 0 0 0 .59-.575 3.746 3.746 0 0 0-.057-.766l4.745-2.242.014-.006a1.804 1.804 0 0 1 2.04.285l-9.958 6.442ZM19.012 6.2V.59a.59.59 0 0 0-1.182 0V6.2a.59.59 0 0 0 1.182 0ZM23.44 6.2V3.543a.59.59 0 0 0-1.18 0V6.2a.59.59 0 0 0 1.18 0ZM14.583 6.2V3.543a.59.59 0 0 0-1.181 0V6.2a.59.59 0 0 0 1.18 0Z",fill:"#000"})))};var $p,Yp;function qp(){return qp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qp.apply(this,arguments)}const Xp=function(e){return d("svg",qp({viewBox:"0 0 34 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),$p||($p=d("path",{d:"M16.9 5.158a1.92 1.92 0 0 0-.006-.012c-.109-.208-.363-.343-.648-.343h-.001c-.286 0-.54.135-.648.344l-.005.01-2.406 4.995c-.109.227.035.48.322.567.287.086.608-.028.717-.254l.463-.961h3.098l.457.96c.085.175.296.284.52.284.066 0 .132-.01.197-.029.287-.085.432-.339.323-.566L16.9 5.158ZM15.11 8.625l1.133-2.352 1.122 2.352h-2.255ZM23.533 7.596l1.871-2.1c.177-.199.117-.473-.134-.613s-.598-.092-.774.106l-1.642 1.843-1.639-1.842c-.177-.199-.523-.247-.774-.107s-.312.414-.135.612l1.868 2.1-2.191 2.46c-.177.199-.117.473.134.613.097.054.21.08.32.08a.61.61 0 0 0 .454-.187l1.963-2.202 1.959 2.202a.61.61 0 0 0 .455.187.66.66 0 0 0 .319-.08c.251-.14.311-.414.135-.612l-2.189-2.46ZM12.271 4.803H8.733c-.307 0-.556.197-.556.44 0 .242.25.439.556.439H9.94v4.626c0 .243.249.44.556.44.307 0 .556-.197.556-.44V5.682h1.22c.307 0 .556-.197.556-.44 0-.242-.25-.439-.556-.439ZM6.648 22.468c.338 0 .478.1.733.284.3.216.712.513 1.48.513s1.18-.297 1.48-.513c.255-.183.395-.284.734-.284.338 0 .478.1.732.284.3.216.713.513 1.481.513.307 0 .556-.197.556-.44s-.249-.44-.556-.44c-.338 0-.478-.1-.733-.283-.3-.217-.712-.513-1.48-.513-.769 0-1.18.296-1.481.513-.255.183-.395.284-.733.284-.338 0-.478-.101-.732-.284-.3-.217-.712-.513-1.48-.513-.308 0-.556.197-.556.44 0 .242.248.439.555.439ZM6.648 24.233c.338 0 .478.1.733.284.3.216.712.513 1.48.513s1.18-.297 1.48-.513c.255-.183.395-.284.734-.284.338 0 .478.101.732.284.3.216.713.513 1.481.513.307 0 .556-.197.556-.44 0-.242-.249-.44-.556-.44-.338 0-.478-.1-.733-.283-.3-.216-.712-.513-1.48-.513-.769 0-1.18.297-1.481.513-.255.183-.395.284-.733.284-.338 0-.478-.1-.732-.284-.3-.216-.712-.513-1.48-.513-.308 0-.556.197-.556.44 0 .242.248.44.555.44ZM7.38 26.282c.301.217.713.513 1.481.513.768 0 1.18-.296 1.48-.513.255-.183.395-.284.734-.284.338 0 .478.101.732.284.3.217.713.513 1.481.513.307 0 .556-.197.556-.44 0-.242-.249-.439-.556-.439-.338 0-.478-.1-.733-.284-.3-.216-.712-.513-1.48-.513-.769 0-1.18.297-1.481.513-.255.183-.395.284-.733.284-.338 0-.478-.1-.732-.284-.3-.216-.712-.513-1.48-.513-.308 0-.556.197-.556.44s.248.44.555.44c.338 0 .478.1.733.283Z",fill:"#000"})),Yp||(Yp=d("path",{d:"M33.415 10.084a.357.357 0 0 0-.008-.039c-.343-2.034-1.647-3.067-3.908-4.638-.03-.343-.061-.668-.094-.984-.116-1.157-1.262-2.086-2.724-2.21-1.12-.093-2.25-.171-3.359-.232-2.168-.943-4.308-1.624-6.197-1.97a.699.699 0 0 0-.25 0c-1.891.347-4.031 1.028-6.196 1.97-1.129.062-2.259.14-3.36.233-1.462.123-2.607 1.052-2.724 2.208-.032.319-.063.643-.094.984-2.29 1.591-3.424 2.5-3.91 4.647a.337.337 0 0 0-.005.029v.005a63.15 63.15 0 0 0 0 17.158c.172 1.257 1.45 2.24 3.039 2.34.366.023.732.045 1.097.065.013 0 3.521.116 1.427.116.289 0 1.676.078 1.725-.465.022-.242-.559-.395-.865-.412-.362-.02-2.933-.158-3.297-.18-1.051-.066-1.899-.716-2.02-1.548v-.003c-.159-1.438 1.85-4.039 5.12-6.628.216-.172.216-.45-.001-.622a.664.664 0 0 0-.786.001c-1.775 1.406-3.595 3.17-4.619 4.796a62.456 62.456 0 0 1 .044-12.533c.805.986 1.999 1.93 2.864 2.55.206.148.421.298.635.442.065.045.132.089.2.133l.011.008a36.255 36.255 0 0 0 4.472 2.503c2.531 1.194 5.035 2.039 7.243 2.443a.7.7 0 0 0 .25 0c2.248-.412 4.797-1.278 7.371-2.504a37.96 37.96 0 0 0 1.767-.9 33.745 33.745 0 0 0 2.807-1.696c.206-.139.413-.284.616-.43.866-.62 2.06-1.564 2.864-2.55.435 4.166.449 8.365.044 12.534-1.024-1.625-2.844-3.39-4.619-4.796a.664.664 0 0 0-.786 0c-.217.171-.217.45 0 .621 3.269 2.589 5.278 5.19 5.119 6.628v.006c-.123.83-.97 1.48-2.02 1.545-7.72.48-15.552.541-23.279.18-.307-.015-.57.17-.587.412-.018.243.215.45.522.465a215.472 215.472 0 0 0 23.431-.181c1.589-.1 2.867-1.083 3.04-2.34.78-5.694.78-11.468 0-17.162ZM17 .89c1.1.21 2.29.538 3.524.97a115.812 115.812 0 0 0-7.049 0A24.836 24.836 0 0 1 17 .892ZM1.689 10.193c.354-1.553 1.01-2.299 2.708-3.533a92.655 92.655 0 0 0-.267 6.705c-1.613-1.296-2.528-2.47-2.441-3.172Zm28.182 3.171a91.19 91.19 0 0 0-.059-2.977c-.009-.243-.266-.434-.571-.427-.307.007-.549.21-.54.452.045 1.25.064 2.524.057 3.787-.136.096-.273.191-.41.284a32.633 32.633 0 0 1-2.713 1.64c-.555.3-1.13.594-1.713.87-2.426 1.157-4.817 1.978-6.922 2.378-2.066-.393-4.414-1.192-6.798-2.318a35.088 35.088 0 0 1-4.328-2.421l-.012-.008-.188-.127c-.146-.098-.29-.197-.431-.297a91.783 91.783 0 0 1 .46-9.707c.074-.736.803-1.327 1.733-1.405a114.117 114.117 0 0 1 19.128 0c.93.078 1.66.669 1.733 1.405a92.098 92.098 0 0 1 .325 4.17c.014.242.276.43.58.42.306-.011.544-.216.53-.459-.035-.654-.08-1.31-.13-1.963 1.736 1.261 2.468 2.065 2.708 3.523.096.7-.82 1.878-2.44 3.18Z",fill:"#000"})))};var Jp,Kp,Qp;function eg(){return eg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eg.apply(this,arguments)}const tg=function(e){return d("svg",eg({viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Jp||(Jp=d("path",{d:"M29.707 19.027a.524.524 0 0 0-.524.524.666.666 0 0 1-1.33 0 .524.524 0 1 0-1.048 0c0 .945.769 1.713 1.713 1.713.945 0 1.713-.768 1.713-1.713a.524.524 0 0 0-.524-.523Z",fill:"#000"})),Kp||(Kp=d("path",{d:"m34.625 19.113-1.475-.472a.617.617 0 0 1-.398-.404 9.507 9.507 0 0 0-1.394-2.757c-.28-.383-.59-.75-.93-1.098a13 13 0 0 0 .32-2.968c-.022-1.335-.29-2.118-.816-2.394-.284-.148-1.147-.6-5.82 1.539a1.7 1.7 0 0 0-.31.184 20.386 20.386 0 0 0-.961-.233l-.119-.024c.379-.827.6-1.726.641-2.654a.524.524 0 1 0-1.046-.046 6.087 6.087 0 0 1-3.989 5.45 15.196 15.196 0 0 0-4.217 0 6.066 6.066 0 0 1-2.207-1.41 6.063 6.063 0 0 1-1.787-4.315c0-1.63.635-3.163 1.787-4.316a6.063 6.063 0 0 1 4.316-1.787c1.63 0 3.163.634 4.315 1.787.463.463.846.992 1.138 1.571a.524.524 0 1 0 .936-.471 7.143 7.143 0 0 0-1.333-1.84A7.104 7.104 0 0 0 16.22.36c-1.91 0-3.706.744-5.057 2.094A7.104 7.104 0 0 0 9.07 7.511c0 1.91.744 3.705 2.094 5.056.39.39.814.725 1.262 1.005a14.8 14.8 0 0 0-.968.287.524.524 0 0 0 .332.994 14.06 14.06 0 0 1 8.862 0 .524.524 0 1 0 .332-.994 14.74 14.74 0 0 0-.969-.287 7.148 7.148 0 0 0 2.175-2.126 19.451 19.451 0 0 1 .99.219l-.016.069c-.256 1.212-.239 2.284.05 3.187a3.792 3.792 0 0 0 1.389 1.953c.78.571 1.724.818 2.578.818.643 0 1.236-.14 1.672-.386.492-.28.905-.867 1.231-1.75a8.458 8.458 0 0 1 1.67 2.995c.162.517.565.923 1.078 1.088l1.474.472c.387.124.647.48.647.886v2.446c0 .406-.26.762-.646.886l-2.376.76a1.62 1.62 0 0 0-.906.737c-.934 1.613-2.401 2.947-4.362 3.967a.821.821 0 0 0-.43.579L25.47 34.4a.236.236 0 0 1-.231.191h-2.474a.235.235 0 0 1-.231-.191l-.422-2.227a.823.823 0 0 0-.936-.662 21.909 21.909 0 0 1-5.665.107.83.83 0 0 0-.908.666l-.4 2.116a.236.236 0 0 1-.231.191h-2.475a.236.236 0 0 1-.231-.193l-.733-3.805a.822.822 0 0 0-.422-.572C6.768 28.237 5 25.256 5 21.4c0-1.948.426-3.671 1.266-5.12.785-1.354 1.93-2.472 3.406-3.325a.524.524 0 0 0-.525-.907c-2.86 1.654-4.585 4.207-5.06 7.449l-.152-.014a2.61 2.61 0 0 0-.192-1.046c-.303-.755-.928-1.3-1.59-1.389-.522-.07-1.019.152-1.364.607-.5.66-.418 1.184-.262 1.506.264.543.942.928 2.068 1.17a2.05 2.05 0 0 1-.102.14c-.665.834-1.449 1.018-1.958 1.035a.55.55 0 0 0-.536.548v.002c0 .294.232.534.526.547.037.002.077.003.117.003.644 0 1.678-.237 2.67-1.482.157-.197.285-.404.383-.618l.285.03v-.001c-.018.284-.028.572-.028.865 0 2.181.52 4.127 1.546 5.782.945 1.525 2.3 2.775 4.025 3.714l.713 3.7a1.284 1.284 0 0 0 1.26 1.044h2.475c.616 0 1.146-.44 1.26-1.044l.362-1.913a23.016 23.016 0 0 0 5.528-.104l.382 2.017a1.284 1.284 0 0 0 1.26 1.044h2.475c.616 0 1.146-.439 1.26-1.044l.742-3.923c2.093-1.107 3.67-2.561 4.69-4.323a.572.572 0 0 1 .318-.262l2.376-.761A1.973 1.973 0 0 0 36 23.442v-2.445c0-.863-.553-1.62-1.375-1.884Zm-5.004-6.227c-.201 1.725-.742 3.2-1.286 3.508-.618.35-2.044.417-3.115-.366-1.072-.784-1.429-2.194-1.032-4.078a.632.632 0 0 1 .36-.438c2.623-1.2 4.135-1.594 4.697-1.594.084 0 .147.01.19.026.168.18.39 1.202.186 2.942Zm-28.15 5.817c-.054-.112.074-.308.155-.415.129-.17.247-.205.336-.205a.39.39 0 0 1 .053.004c.241.032.579.297.757.741.043.105.097.278.11.495-.725-.15-1.289-.367-1.411-.62Z",fill:"#000"})),Qp||(Qp=d("path",{d:"M16.729 6.91V5.035c.646.046.887.342 1.108.342.277 0 .407-.35.407-.526 0-.453-.887-.647-1.515-.665v-.25c0-.11-.139-.212-.277-.212-.157 0-.268.101-.268.212v.268c-.878.092-1.755.554-1.755 1.718 0 1.182.923 1.515 1.755 1.81v2.17c-.942-.073-1.192-.72-1.497-.72-.23 0-.424.305-.424.527 0 .452.776 1.071 1.92 1.09v.286c0 .11.112.212.269.212.138 0 .277-.101.277-.212v-.314c.997-.139 1.68-.767 1.68-1.903 0-1.256-.877-1.662-1.68-1.958Zm-.49-.175c-.49-.185-.887-.379-.887-.905 0-.48.37-.712.887-.776v1.68Zm.434 3.15v-1.95c.453.194.813.453.813 1.035 0 .526-.314.822-.813.914Z",fill:"#000"})))};var ng,rg;function og(){return og=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},og.apply(this,arguments)}const ig=function(e){return d("svg",og({viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ng||(ng=d("g",{clipPath:"url(#icon-benefits-onboarding_svg__a)",fill:"#000"},d("path",{d:"m20.195 4.67-2.8-4a.4.4 0 0 0-.328-.17h-8.8a.4.4 0 0 0-.328.17l-2.8 4a.4.4 0 0 0 .045.513l7.2 7.2a.399.399 0 0 0 .566 0l7.2-7.2a.4.4 0 0 0 .045-.512Zm-7.528 6.864-6.68-6.68L8.475 1.3h8.384l2.487 3.554-6.68 6.68Z"}),d("path",{d:"M19.467 4.5h-14v.8h14v-.8Z"}),d("path",{d:"m15.094 4.755-2.427 6.241-2.427-6.241-.746.29 2.8 7.2a.4.4 0 0 0 .745 0l2.8-7.2-.745-.29Z"}),d("path",{d:"M16.695.752 15.37 4.065 12.995.67c-.15-.214-.506-.214-.656 0L9.964 4.065 8.638.752l-.742.297 1.6 4a.4.4 0 0 0 .699.08l2.472-3.531 2.473 3.531a.399.399 0 0 0 .698-.08l1.6-4-.742-.297ZM3.467 4.5h-2.8v.8h2.8v-.8ZM2.889.567l-.444.665 2.4 1.6.444-.665-2.4-1.6ZM4.846 6.968l-2.4 1.6.443.666 2.4-1.6-.443-.666ZM24.667 4.5h-2.8v.8h2.8v-.8ZM22.446.568l-2.4 1.6.443.665 2.4-1.6-.443-.665ZM20.49 6.965l-.444.666 2.4 1.6.444-.666-2.4-1.6ZM23.962 13.816a1.598 1.598 0 0 0-1.786.003L16.542 17.7h-6.475a.6.6 0 0 1 0-1.2h3.002c1.371 0 2.532-.98 2.761-2.336l.064-.4a.4.4 0 0 0-.395-.464H8.415c-.442 0-.877.15-1.226.42l-3.168 2.464.492.632 3.167-2.464c.21-.162.47-.252.735-.252h6.613a1.994 1.994 0 0 1-1.96 1.6h-3c-.773 0-1.4.628-1.4 1.4 0 .772.627 1.4 1.4 1.4h6.6a.4.4 0 0 0 .226-.07l5.732-3.95a.798.798 0 0 1 1.241.656v.347a.8.8 0 0 1-.335.646l-6.225 4.395-10.315 1.983.15.786 10.4-2a.406.406 0 0 0 .156-.066l6.297-4.445c.418-.298.67-.783.672-1.298v-.35a1.6 1.6 0 0 0-.706-1.318Z"}),d("path",{d:"m7.825 23.121-4-8a.402.402 0 0 0-.58-.154l-2.4 1.6a.4.4 0 0 0-.178.333v7.2c0 .221.18.4.4.4h4.8a.404.404 0 0 0 .18-.042l1.6-.8a.4.4 0 0 0 .178-.537Zm-2.052.579H1.467v-6.586l1.845-1.23 3.618 7.237-1.157.579Z"}),d("path",{d:"M3.467 20.5c-.662 0-1.2.538-1.2 1.2 0 .662.538 1.2 1.2 1.2.662 0 1.2-.538 1.2-1.2 0-.662-.538-1.2-1.2-1.2Zm0 1.6a.4.4 0 1 1 0-.8.4.4 0 0 1 0 .8Z"}))),rg||(rg=d("defs",null,d("clipPath",{id:"icon-benefits-onboarding_svg__a"},d("path",{fill:"#fff",transform:"translate(.667 .5)",d:"M0 0h24v24H0z"})))))};class ag extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Height","Width"]}}function sg(e){const t=Xd(e,1);return d(Mp,t)}class cg extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Active","Complete","Editing","ReadyToComplete","ToComplete"]}}class ug extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["ToBeCompleted","CompletedAll"]}}function lg(e){let t,n;if(1===e.tag?(t=0,n=e.fields[2]):(t=0,n=e.fields[3]),0===t)return n}function fg(e,t){const n=t.state;return 1===n.tag?it(n.fields[0],e)?new cg(2):new cg(1):function(e,t,n,r){let o;switch(o=Yn(e,r,{Equals:it,GetHashCode:nt})?it(t,e)?1:it(n,e)?2:3:it(t,e)?0:it(n,e)?2:4,o){case 0:return new cg(0);case 1:return new cg(2);case 2:return new cg(3);case 3:return new cg(1);case 4:return new cg(4)}}(e,n.fields[0],n.fields[1],n.fields[2])}function dg(e,t,n){let r;t.dispatch((r=t.state,1===r.tag?new kp(1,new xp(2,e,void 0,r.fields[1],r.fields[2])):new kp(1,new xp(2,e,r.fields[1],r.fields[2],r.fields[3]))))}function hg(e,t){switch(t.tag){case 1:return function(e){const t=Xd(e,1);return d(zp,t)}([new ag(0,e),new ag(1,e)]);case 2:return function(e){const t=Xd(e,1);return d(Zp,t)}([new ag(0,e),new ag(1,e)]);case 3:return function(e){const t=Xd(e,1);return d(Xp,t)}([new ag(0,e),new ag(1,e)]);case 4:return function(e){const t=Xd(e,1);return d(tg,t)}([new ag(0,e),new ag(1,e)]);case 5:return null;case 6:return function(e){const t=Xd(e,1);return d(ig,t)}([new ag(0,e),new ag(1,e)]);default:return function(e){const t=Xd(e,1);return d(jp,t)}([new ag(0,e),new ag(1,e)])}}function mg(e){const t=lr(ir((()=>{const t=lg(e.state);return hr(wr((n=>function(e,t,n){return d("div",ft(lr(ir((()=>hr(cr(["className",nn(" ",["grid","grid-cols-12","mb-3","items-center"])]),ir((()=>{let r,o,i,a,s,c;return hr(cr((r=[d("div",ft(Gn([["className",nn(" ",["col-span-2","sm:col-span-3"])],(o=lr(ir((()=>{let r;return hr(cr(d("div",ft(Gn([["className",nn(" ",lr(ir((()=>{switch(fg(e,t).tag){case 4:default:return cr("fl-step-tick-to-complete");case 0:return cr("fl-step-tick-active");case 1:case 2:return cr("fl-step-tick-complete-or-editing")}}))))],(r=[sg([["className",nn(" ",lr(ir((()=>hr(cr("-mt-2"),ir((()=>hr(cr("scale-75"),ir((()=>hr(cr("inline-block"),ir((()=>{switch(fg(e,t).tag){case 4:case 0:default:return cr("invisible");case 1:case 2:return cr("visible")}})))))))))))))]])],["children",br.Children.toArray(Array.from(r))])])))),ir((()=>n?sr():cr(d("div",{className:nn(" ",["fl-step-tick-progress-bar"])})))))}))),["children",br.Children.toArray(Array.from(o))])]))),d("div",ft(Gn([["className",nn(" ",["col-span-10","sm:col-span-9"])],(i=[d("button",ft(Gn([["className",nn(" ",lr(ir((()=>hr(cr("whitespace-nowrap"),ir((()=>hr(cr("border"),ir((()=>hr(cr("inline-flex"),ir((()=>hr(cr("w-full"),ir((()=>hr(cr("rounded-md"),ir((()=>hr(cr("items-center"),ir((()=>{switch(fg(e,t).tag){case 3:case 1:return cr("fl-step-btn-ready-or-complete");case 0:case 2:return cr("fl-step-btn-active-or-editing");default:return cr(qt(Zt("%s %s"))("opacity-60")("fl-step-btn-to-complete"))}}))))))))))))))))))))))],(a=[d("span",ft(Gn([["className",nn(" ",["mx-2","inline-block"])],(s=[hg(36,e)],["children",br.Children.toArray(Array.from(s))])]))),(c=bp(e),d("span",{children:[c]}))],["children",br.Children.toArray(Array.from(a))])])))],["children",br.Children.toArray(Array.from(i))])])))],["children",br.Children.toArray(Array.from(r))])),ir((()=>it(fg(e,t),new cg(4))?sr():cr(["onClick",n=>{dg(e,t)}]))))}))))))))}(n,e,it(n,function(e){const t=function(e){e:for(;;){const t=e;if(In(t))return;{const n=On(t);if(In(n))return cn(An(t));e=n;continue e}}}(e);if(null==t)throw new Error("Collection was empty.");return un(t)}(t)))),t),ir((()=>1===e.state.tag?cr(d("button",{className:nn(" ",["inline-flex","items-center","justify-center","px-4","py-2","border","border-transparent","shadow-sm","text-sm","font-medium","rounded-md","text-primary-text","focus:outline-none","focus:ring-2","focus:ring-offset-2","focus:ring-primary-focus","bg-primary-base","hover:bg-primary-hover","w-full","mt-8"]),children:"Submit",onClick:t=>{e.dispatch(new kp(4,new Fs(0)))}})):cr(null))))})));return d("div",{children:br.Children.toArray(Array.from(t))})}function pg(e){return!(Dn(lg(e.state))<=3)}function gg(e){return pg(e)?25:36}function wg(e,t){return pg(e)?hr(["text-xs"],t):t}function vg(e){let t;return d("div",ft(Gn([["className",nn(" ",["flex","flex-row","w-full","mt-1","mb-2"])],(t=lr(ir((()=>wr((t=>function(e,t){let n;return d("div",ft(Gn([["className",nn(" ",["grow","mx-1"])],(n=[d("button",ft(lr(ir((()=>hr(cr(["className",nn(" ",lr(ir((()=>hr(cr("whitespace-nowrap"),ir((()=>hr(cr("border"),ir((()=>hr(cr("inline-flex"),ir((()=>hr(cr("items-center"),ir((()=>hr(cr("justify-center"),ir((()=>hr(cr("w-full"),ir((()=>hr(cr("rounded-md"),ir((()=>{switch(fg(e,t).tag){case 3:case 1:return cr("fl-step-btn-ready-or-complete");case 0:case 2:return cr("fl-step-btn-active-or-editing");default:return cr(qt(Zt("%s %s"))("opacity-60")("fl-step-btn-to-complete"))}})))))))))))))))))))))))))]),ir((()=>{let n,r;return hr(cr((n=[d("span",ft(Gn([["className",nn(" ",["md:mr-2","inline-block"])],(r=[hg(gg(t),e)],["children",br.Children.toArray(Array.from(r))])]))),d("span",{children:bp(e),className:nn(" ",wg(t,["hidden","md:inline-block"]))})],["children",br.Children.toArray(Array.from(n))])),ir((()=>it(fg(e,t),new cg(4))?sr():cr(["onClick",n=>{dg(e,t)}]))))}))))))))],["children",br.Children.toArray(Array.from(n))])])))}(t,e)),lg(e.state))))),["children",br.Children.toArray(Array.from(t))])])))}function yg(e){let t,n,r;const o=e.dispatch,i=e.allSteps,a=e.completedSteps,s=e.readyToCompleteStep,c=e.step;return d("div",ft(Gn([["className",nn(" ",["grid","grid-cols-12","mb-1"])],(t=[d("div",{className:nn(" ",["col-span-2","ml-1","px-4","cursor-pointer"]),children:br.Children.toArray([Fa]),onClick:e=>{o(new kp(1,function(e,t,n,r){return null==t?new xp(3,n,r):new xp(1,e,t,n,r)}(c,s,a,i)))}}),d("div",ft(Gn([["className",nn(" ",["col-span-8","text-center"])],(n=[(r=bp(c),d("b",{children:[r]}))],["children",br.Children.toArray(Array.from(n))])]))),d("div",{className:nn(" ",["col-span-2"])})],["children",br.Children.toArray(Array.from(t))])])))}class bg extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["backend-url","access-token"]}}class _g extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["app-base-url"]}}class Cg extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["workflows-instance-id"]}}function xg(e){const t=e.children,n=e.effect,r=e.props,o=e.step;return As(n),d(1===o.tag?wh.ComponentTagName:2===o.tag?vh.ComponentTagName:3===o.tag?yh.ComponentTagName:4===o.tag?bh.ComponentTagName:5===o.tag?_h.ComponentTagName:6===o.tag?xh.ComponentTagName:gh.ComponentTagName,Xd(r,1),...t)}function kg(e){let t,n,r;return d("div",ft(Gn([["className",nn(" ",["text-center"])],(t=[d("h4",{className:nn(" ",["text-2xl"]),children:"Well done!"}),(n=Gn(["You've completed all the steps below.",d("br",{}),"You can review and edit your information by clicking the relevant step, or press Submit to continue."]),d("p",{children:br.Children.toArray(Array.from(n))})),d("div",ft(Gn([["className",nn(" ",["w-full","sm:max-w-xs","mt-4","mx-1","mx-auto","text-left"])],(r=[d(mg,e)],["children",br.Children.toArray(Array.from(r))])])))],["children",br.Children.toArray(Array.from(t))])])))}function Sg(){let e,t;return d("div",ft(Gn([["className",nn(" ",["text-center"])],(e=[d("h4",{className:nn(" ",["text-2xl"]),children:"You're all set!"}),(t=Gn(["You have submitted all the required information and have successfully completed your onboarding.",d("br",{}),d("p",{children:["You can now close this browser tab."]})]),d("p",{children:br.Children.toArray(Array.from(t))}))],["children",br.Children.toArray(Array.from(e))])])))}function Ig(e){let t;const n=e.accessToken,r=e.appMode,o=Ls(function(e){const t=function(e,t){if("string"!=typeof e)throw new zm("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(Um(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 Um(t)}}(e.split(".")[n]))}catch(e){throw new zm("Invalid token specified: "+e.message)}}(e);return[new Sp(dh(t.sub),Bh(t.workflow.instanceId),new Fs(0),new xp(0),Tn(),new wp(0)),cs()]}(n),((e,t)=>Op(n,r,e,t)),[]),i=o[0],a=o[1];switch(Ts(Gs((()=>function(e,t){return function(e,t){return Ou(0,(()=>{const n=Ip(t,_l(new Tu(1),bl(function(e){const t=0|jh(e);return qt(Zt("%s/workflows/backend/process-instances/%i/activate"))(bu)(t)}(e))));return Za.Delay((()=>Za.Bind(n,(e=>{let t,n;const r=e;return 1===r.tag?Za.Return(new $a(1,r.fields[0])):Za.ReturnFrom((t=r.fields[0],200===t.statusCode?(n=Ya(mp,Nd(t.responseText,new xf(1),void 0,{ResolveType:hp})),Za.Return(n)):Za.Return(new $a(1,"Unexpected response from backend"))))}))))}))}(e,t)}(i.ProcessInstanceId,n)),(e=>{a(new kp(0,e))})),[]),Ts((()=>{(window.ResizeObserver?new window.ResizeObserver((()=>{Dm()})):new Tm((()=>{Dm()}))).observe(document.body)}),[]),Ts((()=>{const e=[i.ProcessInstance,i.CurrentView];let t;switch(t=2===e[0].tag?2!==e[1].tag||4!==e[1].fields[0].tag&&5!==e[1].fields[0].tag?1:0:2,t){case 0:case 2:break;case 1:hu(Mn(ku(r)),2,2)}}),[i.CurrentView,i.ProcessInstance]),As((()=>{window.addEventListener("step-completion",(e=>{a(new kp(2,e))}))})),i.ProcessInstance.tag){case 1:default:return d("div",{children:["Please wait..."]});case 3:case 2:return d("div",ft(Gn([["className",nn(" ",["max-w-7xl","mx-auto","pb-2"])],(t=lr(ir((()=>hr(wr((e=>d("style",{children:[e]})),i.CssOverrides),ir((()=>{let e,t,o,s;const c=i.CurrentView;switch(c.tag){case 1:{const t=c.fields[0],n=c.fields[1],r=c.fields[2],o=c.fields[3];return hr(cr(d("div",ft(Gn([["className",nn(" ",["w-full","sm:max-w-xs","mt-4","mx-1","mx-auto","px-4","sm:px-0"])],(e=[d(mg,{dispatch:a,state:null==n?new ug(1,t,r,o):new ug(0,t,n,r,o)})],["children",br.Children.toArray(Array.from(e))])])))),ir((()=>(Bm(0),sr()))))}case 2:{const e=c.fields[0],o=c.fields[1],s=c.fields[2],u=c.fields[3];return cr((t=lr(ir((()=>{let t;return hr(Dn(u)>1?cr(d("div",ft(Gn([["className",nn(" ",["pt-2","relative"])],(t=[d(yg,{step:e,readyToCompleteStep:o,completedSteps:s,allSteps:u,dispatch:a}),d(vg,{dispatch:a,state:null==o?new ug(1,e,s,u):new ug(0,e,o,s,u)})],["children",br.Children.toArray(Array.from(t))])])))):sr(),ir((()=>{let t,o;return cr(d("div",ft(Gn([["className",nn(" ",["grid","grid-cols-12","px-1"])],(t=[d("div",ft(Gn([["className",nn(" ",["bg-white","col-span-12","rounded-md","border","p-3"])],(o=lr(ir((()=>{if(4===e.tag)return cr(d(xg,{step:new gp(4),props:[new bg(1,n),new bg(0,qt(Zt("%s/super-selection/backend/v1.0/"))(bu)),new _g(0,ku(r))],effect:()=>{a(new kp(6)),Bm(2500)},children:[]}));{const t=e;return cr(d(xg,{step:t,props:lr(ir((()=>hr(cr(new bg(1,n)),ir((()=>hr(cr(new bg(0,bu)),ir((()=>it(t,new gp(6))?cr(new Cg(0,Xe(jh(i.ProcessInstanceId)))):sr()))))))))),effect:()=>{Bm(1500)},children:[]}))}}))),["children",br.Children.toArray(Array.from(o))])])))],["children",br.Children.toArray(Array.from(t))])]))))})))}))),d("div",{children:br.Children.toArray(Array.from(t))})))}case 3:return hr(cr(d("div",ft(Gn([["className",nn(" ",["pt-5","px-4"])],(o=[d(kg,{dispatch:a,state:new ug(1,void 0,c.fields[0],c.fields[1])})],["children",br.Children.toArray(Array.from(o))])])))),ir((()=>(Bm(0),sr()))));case 4:return hr(cr(d("div",{className:nn(" ",["text-center","mt-5"]),children:"We had an issue. Please try again shortly."})),ir((()=>(Bm(0),sr()))));case 5:return cr(d("div",ft(Gn([["className",nn(" ",["mt-5","px-4"])],(s=[d(Sg,null)],["children",br.Children.toArray(Array.from(s))])]))));default:return cr(d("div",{children:["Please wait..."]}))}})))))),["children",br.Children.toArray(Array.from(t))])])))}}class Eg extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["AuthCode"]}}function Ag(e){return new Eg(0,e)}class Og extends Lt{constructor(e,t,n,r,o,i){super(),this.id_token=e,this.access_token=t,this.expires_in=n,this.refresh_token=r,this.scope=o,this.token_type=i}}function Tg(){return Nl("Workflows.UI.Auth.Types.Credentials",[],Og,(()=>[["id_token",jl],["access_token",jl],["expires_in",Ul],["refresh_token",Dl(jl)],["scope",jl],["token_type",jl]]))}class Ng extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["SignIn"]}}class Mg extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Home","InviteValidation","AuthCodeExchange","NotFound","LoggedOut"]}}function Pg(e){let t,n,r,o,i,a,s;const c=function(e){let t,n,r;switch(Pn(e)?t=2:"workflows"===Rn(e)?Pn(Bn(e))?t=2:"app"===Rn(Bn(e))?(t=0,n=Bn(Bn(e))):"embed"===Rn(Bn(e))?Pn(Bn(Bn(e)))?t=2:"v1.0"===Rn(Bn(Bn(e)))?(t=1,r=Bn(Bn(Bn(e)))):t=2:t=2:t=2,t){case 0:return new Ja(1,n);case 1:return new Ja(0,r);case 2:return new Ja(2,void 0)}}(e);return 1===c.tag?[Pn(c.fields[0])?Pn(c.fields[0])?new Mg(0):(o=gu(Rn(c.fields[0])),null!=o?Pn(o)?new Mg(0):"code"===Rn(o)[0]&&Pn(Bn(o))&&Pn(Bn(c.fields[0]))?(i=Rn(o)[1],new Mg(2,Ag(i))):new Mg(0):new Mg(0)):(t=gu(Rn(c.fields[0])),null!=t?Pn(t)?Pn(c.fields[0])?new Mg(0):(o=gu(Rn(c.fields[0])),null!=o?Pn(o)?new Mg(0):"code"===Rn(o)[0]&&Pn(Bn(o))&&Pn(Bn(c.fields[0]))?(i=Rn(o)[1],new Mg(2,Ag(i))):new Mg(0):new Mg(0)):"invite"===Rn(t)[0]&&Pn(Bn(t))&&Pn(Bn(c.fields[0]))?(n=Rn(t)[1],r=Wc(n),1===r.tag?new Mg(3):new Mg(1,r.fields[0])):Pn(c.fields[0])?new Mg(0):(o=gu(Rn(c.fields[0])),null!=o?Pn(o)?new Mg(0):"code"===Rn(o)[0]&&Pn(Bn(o))&&Pn(Bn(c.fields[0]))?(i=Rn(o)[1],new Mg(2,Ag(i))):new Mg(0):new Mg(0)):Pn(c.fields[0])?new Mg(0):(o=gu(Rn(c.fields[0])),null!=o?Pn(o)?new Mg(0):"code"===Rn(o)[0]&&Pn(Bn(o))&&Pn(Bn(c.fields[0]))?(i=Rn(o)[1],new Mg(2,Ag(i))):new Mg(0):new Mg(0))),new xu(1)]:2===c.tag?[new Mg(3),new xu(2)]:[Pn(c.fields[0])||Pn(Bn(c.fields[0]))?new Mg(0):(a=gu(Rn(Bn(c.fields[0]))),null!=a?Pn(a)?new Mg(0):"code"===Rn(a)[0]?Pn(Bn(a))?new Mg(0):"scope"===Rn(Bn(a))[0]?Pn(Bn(Bn(a)))?new Mg(0):"session_state"===Rn(Bn(Bn(a)))[0]&&Pn(Bn(Bn(Bn(a))))&&Pn(Bn(Bn(c.fields[0])))?(s=Rn(a)[1],new Mg(2,Ag(s))):new Mg(0):new Mg(0):new Mg(0):new Mg(0)),new xu(0)]}class Dg extends Lt{constructor(e,t,n){super(),this.CurrentPage=e,this.Credentials=t,this.AppMode=n}}class Rg extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["UrlChanged","AuthMsg","DisplayLoggedOut"]}}class Bg extends Lt{constructor(e,t,n){super(),this.model=e,this.render=t,this.equal=n}}class jg extends p{constructor(e){super(e)}shouldComponentUpdate(e,t){return!this.props.equal(this.props.model,e.model)}render(){return this.props.render()}}class Lg extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["HasNotStartedYet","InProgress","Resolved"]}}class Fg extends jt{constructor(e,...t){super(),this.tag=0|e,this.fields=t}cases(){return["Started","Finished"]}}function Ug(e,t){const n=function(e){return[new Lg(0),ds(new Ng(0,new Fg(0),e))]}(t);return[new Dg(e.CurrentPage,n[0],e.AppMode),us((e=>new Rg(1,e)),n[1])]}var zg;!function(e){Cs(void 0,e)}(("workflows-app",zg=bs((function(){const e=Pg(mu(window.location.pathname+window.location.search,2)),t=e[0],n=e[1],r=new Dg(t,new Lg(0),n);let o;switch(o=2===t.tag?0:1===t.tag?1:0===t.tag&&it(n,new xu(1))?2:3,o){case 0:return Ug(r,t.fields[0]);case 1:return[r,cs()];case 2:{const e=mn((e=>{return 1===(t=Nd(e,void 0,void 0,{ResolveType:Tg})).tag?void 0:cn(t.fields[0]);var t}),ln(window.sessionStorage.getItem("credentials")));return null==e?[r,ds(new Rg(2))]:[new Dg(r.CurrentPage,new Lg(2,new $a(0,e)),r.AppMode),cs()]}case 3:return[r,ds(new Rg(2))]}}),(function(e,t){switch(e.tag){case 1:{const n=function(e,t,n){let r;return 1===e.fields[0].tag?1===e.fields[0].fields[0].tag?[new Lg(2,new $a(1,`SignIn failed: ${e.fields[0].fields[0].fields[0]}`)),cs()]:(window.gtag&&window.gtag("event","oidc_sign_in",{}),[new Lg(2,new $a(0,e.fields[0].fields[0].fields[0])),(r=window.location.pathname,fs((e=>{hu(Mn(r),1,2)})))]):[new Lg(1),hs((e=>{ms(e)}),(e=>function(e,t){const n=encodeURIComponent(t.fields[0]),r=encodeURIComponent("apollo-workflows-app"),o=encodeURIComponent((i=new xu(0),`${window.location.protocol}//${window.location.host}${ku(i)}`));var i;return Ou(0,(()=>{let e,t,i;const a=kl((t=_l(new Tu(1),bl(`${yu}/connect/token`)),e=Cl(wl("application/x-www-form-urlencoded"),t),xl(new Mu(1,`grant_type=authorization_code&code=${n}&client_id=${r}&redirect_uri=${o}`),e)));return i=Za.Bind(a,(e=>Za.Return(new $a(0,e)))),Za.Delay((()=>Za.Bind(i,(e=>{let t,n;const r=e;return 1===r.tag?Za.Return(new $a(1,r.fields[0])):Za.ReturnFrom((t=r.fields[0],200===t.statusCode?(n=Nd(t.responseText,void 0,void 0,{ResolveType:Tg}),Za.Return(n)):Za.Return(new $a(1,"Unexpected result from backend"))))}))))}))}(0,e)),e.fields[1],(t=>{const n=[new Fg(1,t),e.fields[1]];return new Ng(0,n[0],n[1])}),(t=>{const n=[new Fg(1,new $a(1,t.message)),e.fields[1]];return new Ng(0,n[0],n[1])}))]}(e.fields[0],t.Credentials,t.AppMode),r=n[0],o=[r,t.AppMode];let i,a;return 2===o[0].tag&&0===o[0].fields[0].tag&&1===o[1].tag?(i=0,a=o[0].fields[0].fields[0]):i=1,0===i&&function(e){const t=["credentials",Vd(0,new Og(e.id_token,e.access_token,e.expires_in,void 0,e.scope,e.token_type),void 0,void 0,void 0,{ResolveType:Tg})];window.sessionStorage.setItem(t[0],t[1])}(a),[new Dg(t.CurrentPage,r,t.AppMode),us((e=>new Rg(1,e)),n[1])]}case 2:return[new Dg(new Mg(4),t.Credentials,t.AppMode),cs()];default:{const n=Pg(e.fields[0])[0],r=new Dg(n,t.Credentials,t.AppMode);return 2===n.tag?Ug(r,n.fields[0]):[r,cs()]}}}),(function(e,t){let n;const r=d("div",ft(Gn([["className",nn(" ",["workflows-app","font-inter"])],(n=lr(ir((()=>{const t=e.CurrentPage;switch(t.tag){case 2:return cr(function(){let e,t,n,r,o,i,a,s;return d("div",ft(Gn([["className",nn(" ",["h-screen","fade-in"])],(e=[d("div",ft(Gn([["className",nn(" ",["h-full","flex","justify-center","items-center"])],(t=[d("div",ft(Gn([["className",nn(" ",["border","rounded-lg","shadow-md","sm:max-w-md","p-8","text-center"])],(n=[(r=Gn([(o=Gn([d("i",{className:nn(" ",["text-green-700"]),children:br.Children.toArray([Ua])}),d("h4",{className:nn(" ",["text-2xl","my-4","text-green-700"]),children:"Your identity is confirmed"}),d("p",{className:nn(" ",["mt-3","mb-5","text-gray-500"]),children:"You will be redirected in a moment."})]),d("div",{children:br.Children.toArray(Array.from(o))})),d("p",ft(Gn([["className",nn(" ",["mt-16","text-gray-400","text-right","text-xs"])],(i=[(a=`Flare HR Pty Ltd © 2015-${s=kt(),St(s)}`,d("small",{children:[a]}))],["children",br.Children.toArray(Array.from(i))])])))]),d("div",{children:br.Children.toArray(Array.from(r))}))],["children",br.Children.toArray(Array.from(n))])])))],["children",br.Children.toArray(Array.from(t))])])))],["children",br.Children.toArray(Array.from(e))])])))}());case 1:return cr(d(jm,{inviteCode:t.fields[0]}));case 3:return cr(d("h1",{children:["Not found"]}));case 4:return cr(d(Lm,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 cr(d(Ig,{appMode:e.AppMode,accessToken:r.access_token}));case 1:return cr(d("h1",{children:["Unauthorised"]}))}}}}))),["children",br.Children.toArray(Array.from(n))])])));return pu({hashMode:2,onUrlChanged:e=>{t(new Rg(0,e))},application:d(m,{},r)})})),function(e,t,n){return _s(((r,o)=>{Ie(e((e=>t=>e===t),function(e){return pt(2,e.view)}(n),r,o),document.getElementById(t))}),n)}(((e,t,n,r)=>function(e,t,n,r){const o=new Bg(n,(()=>t(n,r)),e);return d(jg,o)}(ht(2,e),ht(2,t),n,r)),"workflows-app",zg)))})()})();
|