1!function(){try{var t="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="83c9941c-9b8a-42fd-bab9-e4dd74bef9e7",t._sentryDebugIdIdentifier="sentry-dbid-83c9941c-9b8a-42fd-bab9-e4dd74bef9e7")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[48601],{32017:(t,e,n)=>{n.d(e,{O:()=>m});var r=n(86351),i=n(638772),o=n(635820),a=n(324618),s=n(279138),c=n(502704),u=n(112104),l=n(945033),f=n(37648);function h(t){return(0,r.Cl)((0,r.Cl)({type:a.lA},t),{toJSON:function(){t.onDone,t.onError;var e=(0,r.Tt)(t,["onDone","onError"]);return(0,r.Cl)((0,r.Cl)({},e),{type:a.lA,src:function(t){if("string"==typeof t){var e={type:t};return e.toString=function(){return t},e}return t}(t.src)})}})}var d={},p=function(t){return"#"===t[0]},y=function(t,e,n){var r=n.slice(0,-1).some(function(t){return!("cond"in t)&&!("in"in t)&&((0,i.Kg)(t.target)||(0,i.Ai)(t.target))});(0,i.R8)(!r,"One or more transitions for ".concat(""===e?"the transient event":"event '".concat(e,"'")," on state '").concat(t.id,"' are unreachable. ")+"Make sure that the default transition is the last one defined.")},v=function(){function t(e,n,o,a){void 0===o&&(o="context"in e?e.context:void 0);var f,p=this;this.config=e,this._context=o,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign({actions:{},guards:{},services:{},activities:{},delays:{}},n),this.parent=null==a?void 0:a.parent,this.key=this.config.key||(null==a?void 0:a.key)||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:u.AD),this.id=this.config.id||(0,r.fX)([this.machine.key],(0,r.zs)(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:null!=(f=this.config.schema)?f:{},this.description=this.config.description,c.p||(0,i.R8)(!("parallel"in this.config),'The "parallel" property is deprecated and will be removed in version 4.1. '.concat(this.config.parallel?"Replace with `type: 'parallel'`":"Use `type: '".concat(this.type,"'`")," in the config for state node '").concat(this.id,"' instead.")),this.initial=this.config.initial,this.states=this.config.states?(0,i.LG)(this.config.states,function(e,n){var i,o=new t(e,{},void 0,{parent:p,key:n});return Object.assign(p.idMap,(0,r.Cl)(((i={})[o.id]=o,i),o.idMap)),o}):d;var y=0;!function t(e){var n,i;e.order=y++;try{for(var o=(0,r.Ju)((0,l.rz)(e)),a=o.next();!a.done;a=o.next()){var s=a.value;t(s)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}(this),this.history=!0===this.config.history?"shallow":this.config.history||!1,this._transient=!!this.config.always||!!this.config.on&&(Array.isArray(this.config.on)?this.config.on.some(function(t){return""===t.event}):""in this.config.on),this.strict=!!this.config.strict,this.onEntry=(0,i.$r)(this.config.entry||this.config.onEntry).map(function(t){return(0,s.Hf)(t)}),this.onExit=(0,i.$r)(this.config.exit||this.config.onExit).map(function(t){return(0,s.Hf)(t)}),this.meta=this.config.meta,this.doneData="final"===this.type?this.config.data:void 0,this.invoke=(0,i.$r)(this.config.invoke).map(function(t,e){if((0,i.Ai)(t)){var n,o,a=(0,i.cv)(p.id,e);return p.machine.options.services=(0,r.Cl)(((n={})[a]=t,n),p.machine.options.services),h({src:a,id:a})}if((0,i.Kg)(t.src)){var a=t.id||(0,i.cv)(p.id,e);return h((0,r.Cl)((0,r.Cl)({},t),{id:a,src:t.src}))}if((0,i.Ai)(t.src)||(0,i.Tn)(t.src)){var a=t.id||(0,i.cv)(p.id,e);return p.machine.options.services=(0,r.Cl)(((o={})[a]=t.src,o),p.machine.options.services),h((0,r.Cl)((0,r.Cl)({id:a},t),{src:a}))}var s=t.src;return h((0,r.Cl)((0,r.Cl)({id:(0,i.cv)(p.id,e)},t),{src:s}))}),this.activities=(0,i.$r)(this.config.activities).concat(this.invoke).map(function(t){return(0,s._4)(t)}),this.transition=this.transition.bind(this),this.tags=(0,i.$r)(this.config.tags)}return t.prototype._init=function(){this.__cache.transitions||(0,l.Ki)(this).forEac
vendor: 5,630 bytes, line 1
1h(function(t){return t.on})},t.prototype.withConfig=function(e,n){var i=this.options,o=i.actions,a=i.activities,s=i.guards,c=i.services,u=i.delays;return new t(this.config,{actions:(0,r.Cl)((0,r.Cl)({},o),e.actions),activities:(0,r.Cl)((0,r.Cl)({},a),e.activities),guards:(0,r.Cl)((0,r.Cl)({},s),e.guards),services:(0,r.Cl)((0,r.Cl)({},c),e.services),delays:(0,r.Cl)((0,r.Cl)({},u),e.delays)},null!=n?n:this.context)},t.prototype.withContext=function(e){return new t(this.config,this.options,e)},Object.defineProperty(t.prototype,"context",{get:function(){return(0,i.Tn)(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:(0,i.LG)(this.states,function(t){return t.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),t.prototype.toJSON=function(){return this.definition},Object.defineProperty(t.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var t=this.transitions;return this.__cache.on=t.reduce(function(t,e){return t[e.eventType]=t[e.eventType]||[],t[e.eventType].push(e),t},{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),t.prototype.getCandidates=function(t){if(this.__cache.candidates[t])return this.__cache.candidates[t];var e=""===t,n=this.transitions.filter(function(n){var r=n.eventType===t;return e?r:r||"*"===n.eventType});return this.__cache.candidates[t]=n,n},t.prototype.getDelayedTransitions=function(){var t=this,e=this.config.after;if(!e)return[];var n=function(e,n){var r=(0,i.Tn)(e)?"".concat(t.id,":delay[").concat(n,"]"):e,o=(0,s.Pl)(r,t.id);return t.onEntry.push((0,s.tN)(o,{delay:e})),t.onExit.push((0,s.ZT)(o)),o};return((0,i.cy)(e)?e.map(function(t,e){var i=n(t.delay,e);return(0,r.Cl)((0,r.Cl)({},t),{event:i})}):(0,i.Bq)(Object.keys(e).map(function(t,o){var a=e[t],s=(0,i.Kg)(a)?{target:a}:a,c=isNaN(+t)?t:+t,u=n(c,o);return(0,i.$r)(s).map(function(t){return(0,r.Cl)((0,r.Cl)({},t),{event:u,delay:c})})}))).map(function(e){var n=e.delay;return(0,r.Cl)((0,r.Cl)({},t.formatTransition(e)),{delay:n})})},t.prototype.getStateNodes=function(t){var e,n=this;if(!t)return[];var a=t instanceof o.Uw?t.value:(0,i.at)(t,this.delimiter);if((0,i.Kg)(a)){var s=this.getStateNode(a).initial;return void 0!==s?this.getStateNodes(((e={})[a]=s,e)):[this,this.states[a]]}var c=Object.keys(a),u=[this];return u.push.apply(u,(0,r.fX)([],(0,r.zs)((0,i.Bq)(c.map(function(t){return n.getStateNode(t).getStateNodes(a[t])}))),!1)),u},t.prototype.handles=function(t){var e=(0,i.vd)(t);return this.events.includes(e)},t.prototype.resolveState=function(t){var e=t instanceof o.Uw?t:o.Uw.create(t),n=Array.from((0,l.D0)([],this.getStateNodes(e.value)));return new o.Uw((0,r.Cl)((0,r.Cl)({},e),{value:this.resolve(e.value),configuration:n,done:(0,l.BJ)(n,this),tags:(0,l.iU)(n),machine:this.machine}))},t.prototype.transitionLeafNode=function(t,e,n){var r=this.getStateNode(t).next(e,n);return r&&r.transitions.length?r:this.next(e,n)},t.prototype.transitionCompoundNode=function(t,e,n){var r=Object.keys(t),i=this.getStateNode(r[0])._transition(t[r[0]],e,n);return i&&i.transitions.length?i:this.next(e,n)},t.prototype.transitionParallelNode=function(t,e,n){var o,a,s={};try{for(var c=(0,r.Ju)(Object.keys(t)),u=c.next();!u.done;u=c.next()){var l=u.value,f=t[l];if(f){var h=this.getStateNode(l)._transition(f,e,n);h&&(s[l]=h)}}}catch(t){o={error:t}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}var d=Object.keys(s).map(function(t){return s[t]}),p=(0,i.Bq)(d.map(function(t){return t.transitions}));if(!d.some(function(t){return t.transitions.length>0}))return this.next(e,n);var y=(0,i.Bq)(Object.keys(s).map(function(t){return s[t].configuration}));return{transitions:p,exitSet:(0,i.Bq)(d.map(function(t){return t.exitSet})),configuration:y,source:e,actions:(0,i.Bq)(Object.keys(s).map(function(t){return s[t].actions}))}},t.prototype._transition=function(t,e,n){return(0,i.Kg)(t)?this.transitionLeafNode(t,e,n):1===Object.keys(t).length?this.transitionCompoundNode(t,e,n):this.transitionParallelNode(t,e,n)},t.prototype.getTransitionData=function(t,e){return this._transition(t.value,t,(0,i.ft)(e))},t.prototype.next=function(t,e){var n,o,a,s=this,c=e.name,u=[],l=[];try{for(var f=(0,r.Ju)(this.getCandidates(c)),h=f.next();!h.done;h=f.next()){var d=h.value,y=d.cond,v=d.in,g=t.context,m=!v||((0,i.Kg)(v)&&p(v)?t.matches((0,i.at)(this.getStateNodeById(v).path,this.delimiter)):(0,i.HK)((0,i.at)(v,this.delimiter),(0,i.Ae)(this.path.slice(0,-2))(t.value))),x=!1;try{x=!y||(0,i.re)(this.machine,y,g,e,t)}catch(t){throw Error("Unable to evaluate guard '".concat(y.name||y.type,"' in transition for event '").concat(c,"' in state node '").concat(this.id,"':\n").concat(t.message))}if(x&&m){void 0!==d.target&&(l=d.target),u.push.apply(u,(0,r.fX)([],(0,r.zs)(d.actions),!1)),a=d;break}}}catch(t){n={error:t}}
1finally{try{h&&!h.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}if(a){if(!l.length)return{transitions:[a],exitSet:[],configuration:t.value?[this]:[],source:t,actions:u};var _=(0,i.Bq)(l.map(function(e){return s.getRelativeStateNodes(e,t.historyValue)})),b=!!a.internal;return{transitions:[a],exitSet:b?[]:(0,i.Bq)(l.map(function(t){return s.getPotentiallyReenteringNodes(t)})),configuration:_,source:t,actions:u}}},t.prototype.getPotentiallyReenteringNodes=function(t){if(this.order<t.order)return[this];for(var e=[],n=this;n&&n!==t;)e.push(n),n=n.parent;return n!==t?[]:(e.push(t),e)},t.prototype.getActions=function(t,e,n,o,a,c,u){var f,h,d,p,y=this,v=c?(0,l.D0)([],this.getStateNodes(c.value)):[],g=new Set;try{for(var m=(0,r.Ju)(Array.from(t).sort(function(t,e){return t.order-e.order})),x=m.next();!x.done;x=m.next()){var _=x.value;(!(0,l.zy)(v,_)||(0,l.zy)(n.exitSet,_)||_.parent&&g.has(_.parent))&&g.add(_)}}catch(t){f={error:t}}finally{try{x&&!x.done&&(h=m.return)&&h.call(m)}finally{if(f)throw f.error}}try{for(var b=(0,r.Ju)(v),S=b.next();!S.done;S=b.next()){var _=S.value;(!(0,l.zy)(t,_)||(0,l.zy)(n.exitSet,_.parent))&&n.exitSet.push(_)}}catch(t){d={error:t}}finally{try{S&&!S.done&&(p=b.return)&&p.call(b)}finally{if(d)throw d.error}}n.exitSet.sort(function(t,e){return e.order-t.order});var k=Array.from(g).sort(function(t,e){return t.order-e.order}),E=new Set(n.exitSet),w=(0,i.Bq)(k.map(function(t){var e=[];if("final"!==t.type)return e;var r=t.parent;if(!r.parent)return e;e.push((0,s.Vw)(t.id,t.doneData),(0,s.Vw)(r.id,t.doneData?(0,i.A9)(t.doneData,o,a):void 0));var c=r.parent;return"parallel"===c.type&&(0,l.i0)(c).every(function(t){return(0,l.BJ)(n.configuration,t)})&&e.push((0,s.Vw)(c.id)),e})),T=k.map(function(t){var e=t.onEntry,n=t.activities.map(function(t){return(0,s.ni)(t)});return{type:"entry",actions:(0,s.Um)(u?(0,r.fX)((0,r.fX)([],(0,r.zs)(e),!1),(0,r.zs)(n),!1):(0,r.fX)((0,r.fX)([],(0,r.zs)(n),!1),(0,r.zs)(e),!1),y.machine.options.actions)}}).concat({type:"state_done",actions:w.map(function(t){return(0,s.xl)(t)})}),A=Array.from(E).map(function(t){return{type:"exit",actions:(0,s.Um)((0,r.fX)((0,r.fX)([],(0,r.zs)(t.onExit),!1),(0,r.zs)(t.activities.map(function(t){return(0,s.ds)(t)})),!1),y.machine.options.actions)}}).concat({type:"transition",actions:(0,s.Um)(n.actions,this.machine.options.actions)}).concat(T);if(e){var O=(0,s.Um)((0,i.Bq)((0,r.fX)([],(0,r.zs)(t),!1).sort(function(t,e){return e.order-t.order}).map(function(t){return t.onExit})),this.machine.options.actions).filter(function(t){return!(0,i.Gx)(t)});return A.concat({type:"stop",actions:O})}return A},t.prototype.transition=function(t,e,n,a){void 0===t&&(t=this.initialState);var s,u=(0,i.ft)(e);if(t instanceof o.Uw)s=void 0===n?t:this.resolveState(o.Uw.from(t,n));else{var f=(0,i.Kg)(t)?this.resolve((0,i.zr)(this.getResolvedPath(t))):this.resolve(t),h=null!=n?n:this.machine.context;s=this.resolveState(o.Uw.from(f,h))}if(!c.p&&"*"===u.name)throw Error("An event cannot have the wildcard type ('".concat("*","')"));if(this.strict&&!this.events.includes(u.name)&&!(0,i.M7)(u.name))throw Error("Machine '".concat(this.id,"' does not accept event '").concat(u.name,"'"));var d=this._transition(s.value,s,u)||{transitions:[],configuration:[],exitSet:[],source:s,actions:[]},p=(0,l.D0)([],this.getStateNodes(s.value)),y=d.configuration.length?(0,l.D0)(p,d.configuration):p;return d.configuration=(0,r.fX)([],(0,r.zs)(y),!1),this.resolveTransition(d,s,s.context,a,u)},t.prototype.resolveRaisedTransition=function(t,e,n,i){var o,a=t.actions;return(t=this.transition(t,e,void 0,i))._event=n,t.event=n.data,(o=t.actions).unshift.apply(o,(0,r.fX)([],(0,r.zs)(a),!1)),t},t.prototype.resolveTransition=function(t,e,n,c,u){var h,d,p,y,v=this;void 0===u&&(u=s.zp);var g=t.configuration,m=!e||t.transitions.length>0,x=m?t.configuration:e?e.configuration:[],_=(0,l.BJ)(x,this),b=m?(0,l._W)(this.machine,g):void 0,S=e?e.historyValue?e.historyValue:t.source?this.machine.historyValue(e.value):void 0:void 0,k=this.getActions(new Set(x),_,t,n,u,e,c),E=e?(0,r.Cl)({},e.activities):{};try{for(var w=(0,r.Ju)(k),T=w.next();!T.done;T=w.next()){var A=T.value;try{for(var O=(p=void 0,(0,r.Ju)(A.actions)),C=O.next();!C.done;C=O.next()){var N=C.value;N.type===a.ni?E[N.activity.id||N.activity.type]=N:N.type===a.ds&&(E[N.activity.id||N.activity.type]=!1)}}catch(t){p={error:t}}finally{try{C&&!C.done&&(y=O.return)&&y.call(O)}finally{if(p)throw p.error}}}}catch(t){h={error:t}}finally{try{T&&!T.done&&(d=w.return)&&d.call(w)}finally{if(h)throw h.error}}var I=(0,r.zs)((0,s.AS)(this,e,n,u,k,c,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),P=I[0],L=I[1],R=(0,r.zs)((0,i.jB)(P,i.Gx),2),j=R[0],M=R[1],D=P.filter(function(t){var e;return t.type===a.ni&&(null==(e=t.activity)?void 0:e.type)===a.lA}).reduce(function(t,e){return t[e.activity.id]=(0,f.pz)(e.activity,v.machine,L,u),t},e?(0,r.Cl)({},e.children):{}),B=new o.Uw({value:b||e.value,context:L,_event:u,_sessionid:e?e._sessionid:null,historyValue:b?S?(0,i.BY)(S,b):void 0:e?e.historyValue:void 0,history:!b||t.source?e:void 0,actions:b?M:[],activities:b?E:e?e.activities:{},events:[],configuration:x,transitions:t.transitions,children:D,done:_,tags:(0,l.iU)(x),machine:this}),z=n!==L;B.changed=u.name===a.yo||z;var V=B.history;V&&delete V.history;var J=!_&&(this._transient||g.some(function(t){return t._transient}));if(!m&&(!J||""===u.name))return B;var U=B;if(!_)for(J&&(U=this.resolveRaisedTransition(U,{type:a.kx},u,c));j.length;){var F=j.shift();U=this.resolveRaisedTransition(U,F._event,u,c)}var G=U.changed||(V?!!U.actions.length||z||typeof V.value!=typeof U.value||!(0,o.iE)(U.value,V.value):void 0);return U.changed=G,U.history=V,U},t.prototype.getStateNode=function(t){if(p(t))return this.machine.getStateNodeById(t);if(!this.states)throw Error("Unable to retrieve child state '".concat(t,"' from '").concat(this.id,"'; no child states exist."));var e=this.states[t];if(!e)throw Error("Child state '".concat(t,"' does not exist on '").concat(this.id,"'"));return e},t.prototype.getStateNodeById=function(t){var e=p(t)?t.slice(1):t;if(e===this.id)return this;var n=this.machine.idMap[e];if(!n)throw Error("Child state node '#".concat(e,"' does not exist on machine '").concat(this.id,"'"));return n},t.prototype.getStateNodeByPath=function(t){if("string"==typeof t&&p(t))try{return this.get
1StateNodeById(t.slice(1))}catch(t){}for(var e=(0,i._J)(t,this.delimiter).slice(),n=this;e.length;){var r=e.shift();if(!r.length)break;n=n.getStateNode(r)}return n},t.prototype.resolve=function(t){var e,n=this;if(!t)return this.initialStateValue||d;switch(this.type){case"parallel":return(0,i.LG)(this.initialStateValue,function(e,r){return e?n.getStateNode(r).resolve(t[r]||e):d});case"compound":if((0,i.Kg)(t)){var r=this.getStateNode(t);if("parallel"===r.type||"compound"===r.type)return(e={})[t]=r.initialStateValue,e;return t}if(!Object.keys(t).length)return this.initialStateValue||{};return(0,i.LG)(t,function(t,e){return t?n.getStateNode(e).resolve(t):d});default:return t||d}},t.prototype.getResolvedPath=function(t){if(p(t)){var e=this.machine.idMap[t.slice(1)];if(!e)throw Error("Unable to find state node '".concat(t,"'"));return e.path}return(0,i._J)(t,this.delimiter)},Object.defineProperty(t.prototype,"initialStateValue",{get:function(){var t,e;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;if("parallel"===this.type)e=(0,i.rp)(this.states,function(t){return t.initialStateValue||d},function(t){return"history"!==t.type});else if(void 0!==this.initial){if(!this.states[this.initial])throw Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));e=(0,l.d2)(this.states[this.initial])?this.initial:((t={})[this.initial]=this.states[this.initial].initialStateValue,t)}else e={};return this.__cache.initialStateValue=e,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),t.prototype.getInitialState=function(t,e){this._init();var n=this.getStateNodes(t);return this.resolveTransition({configuration:n,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,null!=e?e:this.machine.context,void 0)},Object.defineProperty(t.prototype,"initialState",{get:function(){var t=this.initialStateValue;if(!t)throw Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"target",{get:function(){var t;if("history"===this.type){var e=this.config;t=(0,i.Kg)(e.target)&&p(e.target)?(0,i.zr)(this.machine.getStateNodeById(e.target).path.slice(this.path.length-1)):e.target}return t},enumerable:!1,configurable:!0}),t.prototype.getRelativeStateNodes=function(t,e,n){return void 0===n&&(n=!0),n?"history"===t.type?t.resolveHistory(e):t.initialStateNodes:[t]},Object.defineProperty(t.prototype,"initialStateNodes",{get:function(){var t=this;if((0,l.d2)(this))return[this];if("compound"===this.type&&!this.initial)return c.p||(0,i.R8)(!1,"Compound state node '".concat(this.id,"' has no initial state.")),[this];var e=(0,i.bm)(this.initialStateValue);return(0,i.Bq)(e.map(function(e){return t.getFromRelativePath(e)}))},enumerable:!1,configurable:!0}),t.prototype.getFromRelativePath=function(t){if(!t.length)return[this];var e=(0,r.zs)(t),n=e[0],i=e.slice(1);if(!this.states)throw Error("Cannot retrieve subPath '".concat(n,"' from node with no states"));var o=this.getStateNode(n);if("history"===o.type)return o.resolveHistory();if(!this.states[n])throw Error("Child state '".concat(n,"' does not exist on '").concat(this.id,"'"));return this.states[n].getFromRelativePath(i)},t.prototype.historyValue=function(t){if(Object.keys(this.states).length)return{current:t||this.initialStateValue,states:(0,i.rp)(this.states,function(e,n){if(!t)return e.historyValue();var r=(0,i.Kg)(t)?void 0:t[n];return e.historyValue(r||e.initialStateValue)},function(t){return!t.history})}},t.prototype.resolveHistory=function(t){var e=this;if("history"!==this.type)return[this];var n=this.parent;if(!t){var r=this.target;return r?(0,i.Bq)((0,i.bm)(r).map(function(t){return n.getFromRelativePath(t)})):n.initialStateNodes}var o=(0,i.VQ)(n.path,"states")(t).current;return(0,i.Kg)(o)?[n.getStateNode(o)]:(0,i.Bq)((0,i.bm)(o).map(function(t){return"deep"===e.history?n.getFromRelativePath(t):[n.states[t[0]]]}))},Object.defineProperty(t.prototype,"stateIds",{get:function(){var t=this,e=(0,i.Bq)(Object.keys(this.states).map(function(e){return t.states[e].stateIds}));return[this.id].concat(e)}
1,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"events",{get:function(){if(this.__cache.events)return this.__cache.events;var t,e,n,i,o=this.states,a=new Set(this.ownEvents);if(o)try{for(var s=(0,r.Ju)(Object.keys(o)),c=s.next();!c.done;c=s.next()){var u=o[c.value];if(u.states)try{for(var l=(n=void 0,(0,r.Ju)(u.events)),f=l.next();!f.done;f=l.next()){var h=f.value;a.add("".concat(h))}}catch(t){n={error:t}}finally{try{f&&!f.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{c&&!c.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}return this.__cache.events=Array.from(a)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ownEvents",{get:function(){return Array.from(new Set(this.transitions.filter(function(t){return!(!t.target&&!t.actions.length&&t.internal)}).map(function(t){return t.eventType})))},enumerable:!1,configurable:!0}),t.prototype.resolveTarget=function(t){var e=this;if(void 0!==t)return t.map(function(t){if(!(0,i.Kg)(t))return t;var n=t[0]===e.delimiter;if(n&&!e.parent)return e.getStateNodeByPath(t.slice(1));var r=n?e.key+t:t;if(!e.parent)return e.getStateNodeByPath(r);try{return e.parent.getStateNodeByPath(r)}catch(t){throw Error("Invalid transition definition for state node '".concat(e.id,"':\n").concat(t.message))}})},t.prototype.formatTransition=function(t){var e=this,n=(0,i.R_)(t.target),o="internal"in t?t.internal:!n||n.some(function(t){return(0,i.Kg)(t)&&t[0]===e.delimiter}),a=this.machine.options.guards,c=this.resolveTarget(n),u=(0,r.Cl)((0,r.Cl)({},t),{actions:(0,s.Um)((0,i.$r)(t.actions)),cond:(0,i.Z8)(t.cond,a),target:c,source:this,internal:o,eventType:t.event,toJSON:function(){return(0,r.Cl)((0,r.Cl)({},u),{target:u.target?u.target.map(function(t){return"#".concat(t.id)}):void 0,source:"#".concat(e.id)})}});return u},t.prototype.formatTransitions=function(){var t,e,n,o=this;if(this.config.on)if(Array.isArray(this.config.on))n=this.config.on;else{var a=this.config.on,u=a["*"],l=(0,r.Tt)(a,["*"]);n=(0,i.Bq)(Object.keys(l).map(function(t){c.p||""!==t||(0,i.R8)(!1,"Empty string transition configs (e.g., `{ on: { '': ... }}`) for transient transitions are deprecated. Specify the transition in the `{ always: ... }` property instead. "+'Please check the `on` configuration for "#'.concat(o.id,'".'));var e=(0,i.oc)(t,l[t]);return c.p||y(o,t,e),e}).concat((0,i.oc)("*",void 0===u?[]:u)))}else n=[];var f=this.config.always?(0,i.oc)("",this.config.always):[],h=this.config.onDone?(0,i.oc)(String((0,s.Vw)(this.id)),this.config.onDone):[];c.p||(0,i.R8)(!(this.config.onDone&&!this.parent),'Root nodes cannot have an ".onDone" transition. Please check the config of "'.concat(this.id,'".'));var d=(0,i.Bq)(this.invoke.map(function(t){var e=[];return t.onDone&&e.push.apply(e,(0,r.fX)([],(0,r.zs)((0,i.oc)(String((0,s.tS)(t.id)),t.onDone)),!1)),t.onError&&e.push.apply(e,(0,r.fX)([],(0,r.zs)((0,i.oc)(String((0,s.z3)(t.id)),t.onError)),!1)),e})),p=this.after,v=(0,i.Bq)((0,r.fX)((0,r.fX)((0,r.fX)((0,r.fX)([],(0,r.zs)(h),!1),(0,r.zs)(d),!1),(0,r.zs)(n),!1),(0,r.zs)(f),!1).map(function(t){return(0,i.$r)(t).map(function(t){return o.formatTransition(t)})}));try{for(var g=(0,r.Ju)(p),m=g.next();!m.done;m=g.next()){var x=m.value;v.push(x)}}catch(e){t={error:e}}finally{try{m&&!m.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return v},t}(),g=!1;function m(t,e){return c.p||"predictableActionArguments"in t||g||(g=!0,console.warn("It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html")),new v(t,e)}},37648:(t,e,n)=>{n.d(e,{Py:()=>c,gY:()=>u,pz:()=>s,sk:()=>l});var r=n(86351),i=n(638772),o=n(678270);function a(t){var e;return(e={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:t}}})[i.s7]=function(){return this},e}function s(t,e,n,r){var o,s=(0,i.Xd)(t.src),u=null==(o=null==e?void 0:e.options.services)?void 0:o[s.type],l=t.data?(0,i.A9)(t.data,n,r):void 0,f=u?c(u,t.id,l):a(t.id);return f.meta=t,f}function c(t,e,n){var r=a(e);if(r.deferred=!0,(0,i.Ai)(t)){var s=r.state=(0,o.G)(void 0,function(){return(n?t.withContext(n):t).initialState});r.getSnapshot=function(){return s}}return r}function u(t){return function(t){try{return"function"==typeof t.send}catch(t){return!1}}(t)&&"id"in t}function l(t){var e;return(0,r.Cl)(((e={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}})[i.s7]=function(){return this},e),t)}},50623:(t,e,n)=>
1{Object.defineProperty(e,"__esModule",{value:!0});var r,i,o=n(168468),a=n(670139),s=n(332685),c=n(722807),u=n(134051);function l(t,e){try{if(x(t))return t;return t.toString().split(e)}catch(e){throw Error("'".concat(t,"' is not a valid state path."))}}function f(t){return"object"==typeof t&&"value"in t&&"context"in t&&"event"in t&&"_event"in t}function h(t,e){return f(t)?t.value:x(t)?d(t):"string"!=typeof t?t:d(l(t,e))}function d(t){if(1===t.length)return t[0];for(var e={},n=e,r=0;r<t.length-1;r++)r===t.length-2?n[t[r]]=t[r+1]:(n[t[r]]={},n=n[t[r]]);return e}function p(t,e){for(var n={},r=Object.keys(t),i=0;i<r.length;i++){var o=r[i];n[o]=e(t[o],o,t,i)}return n}function y(t){var e;return(e=[]).concat.apply(e,o.__spreadArray([],o.__read(t),!1))}function v(t){return x(t)?t:[t]}function g(t){return void 0===t?[]:v(t)}function m(t,e){return p(t.states,function(t,n){if(t){var r=(b(e)?void 0:e[n])||(t?t.current:void 0);if(r)return{current:r,states:m(t,r)}}})}function x(t){return Array.isArray(t)}function _(t){return"function"==typeof t}function b(t){return"string"==typeof t}e.warn=function(){},u.IS_PRODUCTION||(e.warn=function(t,e){var n=t instanceof Error?t:void 0;if((n||!t)&&void 0!==console){var r=["Warning: ".concat(e)];n&&r.push(n),console.warn.apply(console,r)}});var S="function"==typeof Symbol&&Symbol.observable||"@@observable",k=((i={})[S]=function(){return this},i[Symbol.observable]=function(){return this},i);function E(t){return!!t&&"__xstatenode"in t}var w=(r=0,function(){return r++,r.toString(16)});function T(t,e){return b(t)||"number"==typeof t?o.__assign({type:t},e):t}e.createInvokeId=function(t,e){return"".concat(t,":invocation[").concat(e,"]")},e.evaluateGuard=function(t,e,n,r,i){var o=t.options.guards,a={state:i,cond:e,_event:r};if(e.type===c.DEFAULT_GUARD_TYPE)return((null==o?void 0:o[e.name])||e.predicate)(n,r.data,a);var s=null==o?void 0:o[e.type];if(!s)throw Error("Guard '".concat(e.type,"' is not implemented on machine '").concat(t.id,"'."));return s(n,r.data,a)},e.flatten=y,e.getActionType=function(t){try{return b(t)||"number"==typeof t?"".concat(t):_(t)?t.name:t.type}catch(t){throw Error("Actions must be strings or objects with a string action.type property.")}},e.getEventType=function(t){try{return b(t)||"number"==typeof t?"".concat(t):t.type}catch(t){throw Error("Events must be strings or objects with a string event.type property.")}},e.interopSymbols=k,e.isActor=function(t){return!!t&&"function"==typeof t.send},e.isArray=x,e.isBehavior=function(t){return null!==t&&"object"==typeof t&&"transition"in t&&"function"==typeof t.transition},e.isBuiltInEvent=function(t){return/^(done|error)\./.test(t)},e.isFunction=_,e.isMachine=E,e.isObservable=function(t){try{return"subscribe"in t&&_(t.subscribe)}catch(t){return!1}},e.isPromiseLike=function(t){return!!(t instanceof Promise||null!==t&&(_(t)||"object"==typeof t)&&_(t.then))},e.isRaisableAction=function(t){return(t.type===s.raise||t.type===s.send&&t.to===a.SpecialTargets.Internal)&&"number"!=typeof t.delay},e.isStateLike=f,e.isString=b,e.keys=function(t){return Object.keys(t)},e.mapContext=function(t,e,n){if(_(t))return t(e,n.data);var r,i,a={};try{for(var s=o.__values(Object.keys(t)),c=s.next();!c.done;c=s.next()){var u=c.value,l=t[u];_(l)?a[u]=l(e,n.data):a[u]=l}}catch(t){r={error:t}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return a},e.mapFilterValues=function(t,e,n){var r,i,a={};try{for(var s=o.__values(Object.keys(t)),c=s.next();!c.done;c=s.next()){var u=c.value,l=t[u];n(l)&&(a[u]=e(l,u,t))}}catch(t){r={error:t}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return a},e.mapValues=p,e.matchesState=function t(e,n,r){void 0===r&&(r=c.STATE_DELIMITER);var i=h(e,r),o=h(n,r);return b(o)?!!b(i)&&o===i:b(i)?i in o:Object.keys(i).every(function(e){return e in o&&t(i[e],o[e])})},e.nestedPath=function(t,e){return function(n){var r,i,a=n;try{for(var s=o.__values(t),c=s.next();!c.done;c=s.next()){var u=c.value;a=a[e][u]}}catch(t){r={error:t}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return a}},e.normalizeTarget=function(t){if(void 0!==t&&t!==c.TARGETLESS_KEY)return g(t)},e.partition=function(t,e){var n,r,i=o.__read([[],[]],2),a=i[0],s=i[1];try{for(var c=o.__values(t),u=c.next();!u.done;u=c.next()){var l=u.value;e(l)?a.push(l):s.push(l)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}return[a,s]},e.path=function(t){return function(e){var n,r,i=e;try{for(var a=o.__values(t),s=a.next();!s.done;s=a.next())i=i[s.value]}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}},e.pathToStateValue=d,e.pathsToStateValue=function(t){var e,n,r={};if(t&&1===t.length&&1===t[0].length)return t[0][0];try{for(var i=o.__values(t),a=i.next();!a.done;a=i.next())for(var s=a.value,c=r,u=0;u<s.length;u++){var l=s[u];if(u===s.length-2){c[l]=s[u+1];break}c[l]=c[l]||{},c=c[l]}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r}
1,e.reportUnhandledExceptionOnInvocation=function(t,e,n){if(!u.IS_PRODUCTION){var r=t.stack?" Stacktrace was '".concat(t.stack,"'"):"";if(t===e)console.error("Missing onError handler for invocation '".concat(n,"', error was '").concat(t,"'.").concat(r));else{var i=e.stack?" Stacktrace was '".concat(e.stack,"'"):"";console.error("Missing onError handler and/or unhandled exception/promise rejection for invocation '".concat(n,"'. ")+"Original error: '".concat(t,"'. ").concat(r," Current error is '").concat(e,"'.").concat(i))}}},e.symbolObservable=S,e.toArray=g,e.toArrayStrict=v,e.toEventObject=T,e.toGuard=function(t,e){if(t)return b(t)?{type:c.DEFAULT_GUARD_TYPE,name:t,predicate:e?e[t]:void 0}:_(t)?{type:c.DEFAULT_GUARD_TYPE,name:t.name,predicate:t}:t},e.toInvokeSource=function(t){return"string"==typeof t?{type:t}:t},e.toObserver=function(t,e,n){var r=function(){},i="object"==typeof t,o=i?t:null;return{next:((i?t.next:t)||r).bind(o),error:((i?t.error:e)||r).bind(o),complete:((i?t.complete:n)||r).bind(o)}},e.toSCXMLEvent=function(t,e){if(!b(t)&&"$$type"in t&&"scxml"===t.$$type)return t;var n=T(t);return o.__assign({name:n.type,data:n,$$type:"scxml",type:"external"},e)},e.toStatePath=l,e.toStatePaths=function t(e){return e?b(e)?[[e]]:y(Object.keys(e).map(function(n){var r=e[n];return"string"==typeof r||r&&Object.keys(r).length?t(e[n]).map(function(t){return[n].concat(t)}):[[n]]})):[[]]},e.toStateValue=h,e.toTransitionConfigArray=function(t,e){return v(e).map(function(e){return void 0===e||"string"==typeof e||E(e)?{target:e,event:t}:o.__assign(o.__assign({},e),{event:t})})},e.uniqueId=w,e.updateContext=function(t,n,r,i){return u.IS_PRODUCTION||e.warn(!!t,"Attempting to update undefined context"),t?r.reduce(function(t,e){var r,a,s=e.assignment,c={state:i,action:e,_event:n},u={};if(_(s))u=s(t,n.data,c);else try{for(var l=o.__values(Object.keys(s)),f=l.next();!f.done;f=l.next()){var h=f.value,d=s[h];u[h]=_(d)?d(t,n.data,c):d}}catch(t){r={error:t}}finally{try{f&&!f.done&&(a=l.return)&&a.call(l)}finally{if(r)throw r.error}}return Object.assign({},t,u)},t):t},e.updateHistoryStates=m,e.updateHistoryValue=function(t,e){return{current:e,states:m(t,e)}}},59843:(t,e,n)=>{n.d(e,{A:()=>r});let r=(0,n(518261).A)(function(t,e){return e},null)},86351:(t,e,n)=>{n.d(e,{Cl:()=>r,Ju:()=>o,Tt:()=>i,fX:()=>s,zs:()=>a});var r=function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function i(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)0>e.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function o(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function s(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}},112104:(t,e,n)=>{n.d(e,{$D:()=>a,AD:()=>r,hS:()=>o,xP:()=>i});var r=".",i={},o="xstate.guard",a=""},117335:(t,e,n)=>{e.I=n(695181)},134051:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.IS_PRODUCTION=!0},152592:(t,e,n)=>{var r,i,o,a;n.d(e,{Q:()=>r,i:()=>i}),(o=r||(r={})).Start="xstate.start",o.Stop="xstate.stop",o.Raise="xstate.raise",o.Send="xstate.send",o.Cancel="xstate.cancel",o.NullEvent="",o.Assign="xstate.assign",o.After="xstate.after",o.DoneState="done.state",o.DoneInvoke="done.invoke",o.Log="xstate.log",o.Init="xstate.init",o.Invoke="xstate.invoke",o.ErrorExecution="error.execution",o.ErrorCommunication="error.communication",o.ErrorPlatform="error.platform",o.ErrorCustom="xstate.error",o.Update="xstate.update",o.Pure="xstate.pure",o.Choose="xstate.choose",(a=i||(i={})).Parent="#_parent",a.Internal="#_internal"},168468:(t,e)=>
1{Object.defineProperty(e,"__esModule",{value:!0}),e.__assign=function(){return e.__assign=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},e.__assign.apply(this,arguments)},e.__read=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},e.__rest=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)0>e.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n},e.__spreadArray=function(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))},e.__values=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}},225701:function(t,e){var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.TEAM_SIZE={lessThanSeven:{key:"lessThanSeven",text:"< 7"},sevenToTwenty:{key:"sevenToTwenty",text:"7 - 20"},twentyToFifty:{key:"twentyToFifty",text:"20 - 50"},fiftyToHundred:{key:"fiftyToHundred",text:"50 - 100"},moreThanHundred:{key:"moreThanHundred",text:"> 100"}},e.EXPERIENCE={lessThanTwo:{key:"lessThanTwo",text:"< 2"},twoToFive:{key:"twoToFive",text:"2 - 5"},fiveToTen:{key:"fiveToTen",text:"6 - 10"},moreThanTen:{key:"moreThanTen",text:"> 10"}},e.LEVELS={techLead:{key:"techLead",text:"Tech Lead"},frontLine:{key:"frontLine",text:"Front-line manager (directly manage ICs)"},secondLevel:{key:"secondLevel",text:"2nd level manager (manager of managers)"},thirdLevel:{key:"thirdLevel",text:"3rd level manager (with 2 management layers under)"},fourthLevel:{key:"fourthLevel",text:"4th level manager or above (with 3 or more management layers under)"}},e.REQUIRED_SKILL_LEVELS={light:{key:"light",text:"Light"},medium:{key:"medium",text:"Medium"},heavy:{key:"heavy",text:"Heavy"}},e.OPTIONAL_REQUIRED_SKILL_LEVELS=n({no:{key:"no",text:"No"}},e.REQUIRED_SKILL_LEVELS),e.SKILL_REQUIREMENT_LEVELS=n({notNeeded:{ke
1y:"notNeeded",text:"Not Needed"}},e.REQUIRED_SKILL_LEVELS),e.TEAM_MATURITY={scrappy:{key:"scrappy",text:"Scrappy, no or light processes in place"},stable:{key:"stable",text:"Stable, with moderate level of processes"},mature:{key:"mature",text:"Mature, with all the needed processes in place"}},e.TEAM_GROWTH={fastGrowth:{key:"fastGrowth",text:"In fast growth mode (e.g. >=2x team size in a year)"},moderateGrowth:{key:"moderateGrowth",text:"In moderate growth mode (e.g. 30% increase year over year)"},established:{key:"established",text:"Established, only limited growth expected"}},e.JOB_LOCATION={"San Francisco":{key:"San Francisco",text:"San Francisco"},"South Bay":{key:"South Bay",text:"South Bay"},"East Bay":{key:"East Bay",text:"East Bay"}},e.COMPANY_STAGE={seed:{key:"seed",text:"Seed/Series A"},bSerial:{key:"bSerial",text:"Series B/C"},dSerial:{key:"dSerial",text:"Series D or later"},public:{key:"public",text:"Public"}},e.EXPERTISE={mobile:{key:"mobile",text:"Mobile Development"},web:{key:"web",text:"Web Development"},backend:{key:"backend",text:"Backend infrastructure"},game:{key:"game",text:"Game Development"},bigData:{key:"bigData",text:"Big Data/Machine Learning/AI"},bi:{key:"bi",text:"BI/Data Warehouse/Analytics"},devops:{key:"devops",text:"DevOps/SRE/Tools"},qa:{key:"qa",text:"QA"}}},268589:(t,e,n)=>{var r=n(168468),i=n(670139),o=n(332685),a=n(50623);n(134051),o.init;function s(t,e){return{to:e?e.to:void 0,type:o.send,event:a.isFunction(t)?t:a.toEventObject(t),delay:e?e.delay:void 0,id:e&&void 0!==e.id?e.id:a.isFunction(t)?t.name:a.getEventType(t)}}e.kp=function(t){return{type:o.assign,assignment:t}},e.xl=function(t,e){return{type:o.raise,event:"function"==typeof t?t:a.toEventObject(t),delay:e?e.delay:void 0,id:null==e?void 0:e.id}},e.uh=function(t,e,n){return s(e,r.__assign(r.__assign({},n),{to:t}))}},279138:(t,e,n)=>{n.d(e,{AS:()=>function t(e,n,c,u,h,d,p){void 0===p&&(p=!1);var y=p?[]:w(h),v=y.length?(0,a.r_)(c,u,y,n):c,g=p?[c]:void 0,m=[];return[(0,a.Bq)(h.map(function(h){var y,x,_=[];try{for(var b=(0,r.Ju)(h.actions),S=b.next();!S.done;S=b.next()){var k=S.value,E=function(h,y){var x;switch(y.type){case o.xl:var _=function(t,e,n,i){var s,c={_event:n},u=(0,a.ft)((0,a.Tn)(t.event)?t.event(e,n.data,c):t.event);if((0,a.Kg)(t.delay)){var l=i&&i[t.delay];s=(0,a.Tn)(l)?l(e,n.data,c):l}else s=(0,a.Tn)(t.delay)?t.delay(e,n.data,c):t.delay;return(0,r.Cl)((0,r.Cl)({},t),{type:o.xl,_event:u,delay:s})}(y,v,u,e.options.delays);return d&&"number"==typeof _.delay&&d(_,v,u),_;case o.tN:var b=function(t,e,n,i){var o,s={_event:n},c=(0,a.ft)((0,a.Tn)(t.event)?t.event(e,n.data,s):t.event);if((0,a.Kg)(t.delay)){var u=i&&i[t.delay];o=(0,a.Tn)(u)?u(e,n.data,s):u}else o=(0,a.Tn)(t.delay)?t.delay(e,n.data,s):t.delay;var l=(0,a.Tn)(t.to)?t.to(e,n.data,s):t.to;return(0,r.Cl)((0,r.Cl)({},t),{to:l,_event:c,event:c.data,delay:o})}(y,v,u,e.options.delays);if(!s.p){var S=y.delay;(0,a.R8)(!(0,a.Kg)(S)||"number"==typeof b.delay,"No delay reference for delay expression '".concat(S,"' was found on machine '").concat(e.id,"'"))}return d&&b.to!==i.i.Internal&&("entry"===h?m.push(b):d(b,v,u)),b;case o.Rm:var k,E=(k=v,(0,r.Cl)((0,r.Cl)({},y),{value:(0,a.Kg)(y.expr)?y.expr:y.expr(k,u.data,{_event:u})}));return null==d||d(E,v,u),E;case o.Sw:var w=null==(x=y.conds.find(function(t){var r=(0,a.Z8)(t.cond,e.options.guards);return!r||(0,a.re)(e,r,v,u,d?void 0:n)}))?void 0:x.actions;if(!w)return[];var T=(0,r.zs)(t(e,n,v,u,[{type:h,actions:f((0,a.$r)(w),e.options.actions)}],d,p),2),A=T[0];return v=T[1],null==g||g.push(v),A;case o.LM:var w=y.get(v,u.data);if(!w)return[];var O=(0,r.zs)(t(e,n,v,u,[{type:h,actions:f((0,a.$r)(w),e.options.actions)}],d,p),2),C=O[0];return v=O[1],null==g||g.push(v),C;case o.ds:var N,I,E=(N=v,I=(0,a.Tn)(y.activity)?y.activity(N,u.data):y.activity,{type:i.Q.Stop,activity:"string"==typeof I?{id:I}:I});return null==d||d(E,c,u),E;case o.kp:v=(0,a.r_)(v,u,[y],d?void 0:n),null==g||g.push(v);break;default:var P=l(y,e.options.actions),L=P.exec;if(d)d(P,v,u);else if(L&&g){var R=g.length-1;P=(0,r.Cl)((0,r.Cl)({},P),{exec:function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];L.apply(void 0,(0,r.fX)([g[R]],(0,r.zs)(e),!1))}})}return P}}(h.type,k);E&&(_=_.concat(E))}}catch(t){y={error:t}}finally{try{S&&!S.done&&(x=b.return)&&x.call(b)}finally{if(y)throw y.error}}return m.forEach(function(t){d(t,v,u)}),m.length=0,_})),v]},H7:()=>u,Hf:()=>l,LM:()=>E,Pl:()=>_,Um:()=>f,Vw:()=>b,ZT:()=>v,_4:()=>h,ds:()=>m,kp:()=>x,ni:()=>g,tN:()=>p,tS:()=>S,uh:()=>y,xl:()=>d,z3:()=>k,zp:()=>c});var r=n(86351),i=n(152592),o=n(324618),a=n(638772),s=n(502704),c=(0,a.ft)({type:o.Ts});function u(t,e){return e&&e[t]||void 0}function l(t,e){var n;if((0,a.Kg)(t)||"number"==typeof t){var i=u(t,e);n=(0,a.Tn)(i)?{type:t,exec:i}:i||{type:t,exec:void 0}}else if((0,a.Tn)(t))n={type:t.name||t.toString(),exec:t};else{var i=u(t.type,e);if((0,a.Tn)(i))n=(0,r.Cl)((0,r.Cl)({},t),{exec:i});
1else if(i){var o=i.type||t.type;n=(0,r.Cl)((0,r.Cl)((0,r.Cl)({},i),t),{type:o})}else n=t}return n}var f=function(t,e){return t?((0,a.cy)(t)?t:[t]).map(function(t){return l(t,e)}):[]};function h(t){var e=l(t);return(0,r.Cl)((0,r.Cl)({id:(0,a.Kg)(t)?t:e.id},e),{type:e.type})}function d(t,e){return{type:o.xl,event:"function"==typeof t?t:(0,a.jK)(t),delay:e?e.delay:void 0,id:null==e?void 0:e.id}}function p(t,e){return{to:e?e.to:void 0,type:o.tN,event:(0,a.Tn)(t)?t:(0,a.jK)(t),delay:e?e.delay:void 0,id:e&&void 0!==e.id?e.id:(0,a.Tn)(t)?t.name:(0,a.vd)(t)}}function y(t,e,n){return p(e,(0,r.Cl)((0,r.Cl)({},n),{to:t}))}var v=function(t){return{type:o.ZT,sendId:t}};function g(t){var e=h(t);return{type:i.Q.Start,activity:e,exec:void 0}}function m(t){var e=(0,a.Tn)(t)?t:h(t);return{type:i.Q.Stop,activity:e,exec:void 0}}var x=function(t){return{type:o.kp,assignment:t}};function _(t,e){return"".concat(i.Q.After,"(").concat(t,")").concat(e?"#".concat(e):"")}function b(t,e){var n="".concat(i.Q.DoneState,".").concat(t),r={type:n,data:e};return r.toString=function(){return n},r}function S(t,e){var n="".concat(i.Q.DoneInvoke,".").concat(t),r={type:n,data:e};return r.toString=function(){return n},r}function k(t,e){var n="".concat(i.Q.ErrorPlatform,".").concat(t),r={type:n,data:e};return r.toString=function(){return n},r}function E(t){return{type:i.Q.Pure,get:t}}var w=function(t){var e,n,i=[];try{for(var a=(0,r.Ju)(t),s=a.next();!s.done;s=a.next())for(var c=s.value,u=0;u<c.actions.length;){if(c.actions[u].type===o.kp){i.push(c.actions[u]),c.actions.splice(u,1);continue}u++}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return i}},321377:(t,e,n)=>{n.d(e,{LM:()=>a,kp:()=>i,uh:()=>o});var r=n(279138),i=r.kp,o=r.uh,a=r.LM},324618:(t,e,n)=>{n.d(e,{LM:()=>m,O$:()=>p,Rm:()=>f,Sw:()=>g,Ts:()=>h,ZT:()=>c,ds:()=>o,kp:()=>l,kx:()=>u,lA:()=>d,ni:()=>i,tN:()=>s,xl:()=>a,yo:()=>v,z3:()=>y});var r=n(152592),i=r.Q.Start,o=r.Q.Stop,a=r.Q.Raise,s=r.Q.Send,c=r.Q.Cancel,u=r.Q.NullEvent,l=r.Q.Assign;r.Q.After,r.Q.DoneState;var f=r.Q.Log,h=r.Q.Init,d=r.Q.Invoke;r.Q.ErrorExecution;var p=r.Q.ErrorPlatform,y=r.Q.ErrorCustom,v=r.Q.Update,g=r.Q.Choose,m=r.Q.Pure},332685:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(670139),i=r.ActionTypes.Start,o=r.ActionTypes.Stop,a=r.ActionTypes.Raise,s=r.ActionTypes.Send,c=r.ActionTypes.Cancel,u=r.ActionTypes.NullEvent,l=r.ActionTypes.Assign,f=r.ActionTypes.After,h=r.ActionTypes.DoneState,d=r.ActionTypes.Log,p=r.ActionTypes.Init,y=r.ActionTypes.Invoke,v=r.ActionTypes.ErrorExecution,g=r.ActionTypes.ErrorPlatform,m=r.ActionTypes.ErrorCustom,x=r.ActionTypes.Update,_=r.ActionTypes.Choose,b=r.ActionTypes.Pure;e.after=f,e.assign=l,e.cancel=c,e.choose=_,e.doneState=h,e.error=m,e.errorExecution=v,e.errorPlatform=g,e.init=p,e.invoke=y,e.log=d,e.nullEvent=u,e.pure=b,e.raise=a,e.send=s,e.start=i,e.stop=o,e.update=x},387223:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CURRENT_LEVEL={ic:{key:"ic",text:"Individual contributor (IC)"},techLead:{key:"techLead",text:"Tech lead"},frontLine:{key:"frontLine",text:"1st level manager (managing ICs)"},secondLevel:{key:"secondLevel",text:"2nd level manager (managing 1st level managers)"},thirdLevel:{key:"thirdLevel",text:"3rd level manager"},fourthLevel:{key:"fourthLevel",text:"4th level manager or above"}},e.TEAM_SIZE={"< 6":{key:"< 6",text:"< 6"},"6 - 21":{key:"6 - 21",text:"6 - 21"},"22 - 50":{key:"22 - 50",text:"22 - 50"},"51 - 100":{key:"51 - 100",text:"51 - 100"},"> 100":{key:"> 100",text:"> 100"}},e.DOMAIN={"Mobile/Web":{key:"Mobile/Web",text:"Mobile/Web"},"Backend/Infra":{key:"Backend/Infra",text:"Backend/Infra"},"Data Science/ML/AI":{key:"Data Science/ML/AI",text:"Data Science/ML/AI"},"BI/Data Warehouse":{key:"BI/Data Warehouse",text:"BI/Data Warehouse"},"DevOps/SRE/Tools":{key:"DevOps/SRE/Tools",text:"DevOps/SRE/Tools"},QA:{key:"QA",text:"QA"},Security:{key:"Security",text:"Security"},"AR/VR":{key:"AR/VR",text:"AR/VR"},Crypto:{key:"Crypto",text:"Crypto"},Other:{key:"Other",text:"Other"}},e.YES_OR_NO={Yes:{key:"Yes",text:"Yes"},No:{key:"No",text:"No"}},e.YES_OR_NO_MAYBE={Yes:{key:"Yes",text:"Yes"},No:{key:"No",text:"No"},Maybe:{key:"Maybe",text:"Maybe"}},e.PROVIDING={Mentorship:{key:"Mentorship",text:"Mentorship"},Advising:{key:"Advising",text:"Advising"},Investing:{key:"Investing",text:"Investing"},"Job opportunities":{key:"Job opportunities",text:"Job opportunities"},"Products/services for engineering":{key:"Products/services for engineering",text:"Products/services for engineering"}},e.LOOKING={Mentorship:{key:"Mentorship",text:"Mentorship"},Advising:{key:"Advising",text:"Advising"},Investing:{key:"Investing",text:"Investing"},"Job opportunities":{key:"Job opportunities",text:"Job opportunities"},"Products/services for engineering":{key:"Products/services for engineering",text:"Products/services for engineering"},"Co-Founder":{key:"Co-Founder",text:"Co-founder"}},e.INTERESTS={Content:{key:"Content",text:"Content"},Training:{key:"Training",text:"Training"},Mentorship:{key:"Mentorship",text:"Mentorship"},Coaching:{key:"Coaching",text:"Coaching"},PeerGroup:{key:"PeerGroup",text:"Peer support group"},"Products/services":{key:"Products/services",text:"Products/services"}},e.REFER_SOURCES={"Friend/colleague":{key:"Friend/colleague",text:"Friend/colleague"},LinkedIn:{key:"LinkedIn",text:"LinkedIn"},Twitter:{key:"Twitter",text:"Twitter"},Google:{key:"Google",text:"Google"},Email:{key:"Email",text:"Email"},Podcast:{key:"Podcast",text:"Podcast"},Other:{key:"Other",text:"Other"}},e.HOW_TO_CONTRIBUTE={organizeEvents:{key:"organizeEvents",text:"Help organize events"},createContent:{key:"createContent",text:"Help create content"},mentor:{key:"mentor",text:"Mentor others"},adviceCompanies:{key:"adviceCompanies",text:"Advise companies"},moderatePeerGroup:{key:"moderatePeerGroup",text:"Moderate peer support groups"},providingInsights:{key:"providingInsights",text:"Provide insights & advice to the SFELC team"},notNow:{key:"notNow",text:"Not now"}},e.FOUND_TYPES={Enterprise:{key:"Enterprise",text:"Enterprise"},Consumer:{key:"Consumer",text:"Consumer"}},e.FOUNDING_STAGES={"Seed/Series A":{key:"Seed/Series A",text:"Seed/Series A"},"Series B/C":{key:"Series B/C",text:"Series B/C"},"Series D or late":{key:"Series D or late",text:"Series D or late"},Public:{key:"Public",text:"Public"}},e.JOB_COMPANY_TYPE_PREFERENCE={Enterprise:{key:"Enterprise",text:"Enterprise"},Consumer:{key:"Consumer",text:"Consumer"}},e.JOB_LOCATION_PREFERENCE={"San Francisco":{key:"San Francisco",text:"San Francisco"},Peninsula:{key:"Peninsula",text:"Peninsula"},"South Bay":{key:"South Bay",text:"South Bay"},"East Bay":{key:"East Bay",text:"East Bay"},Other:{key:"Other",text:"Other"}}
1,e.AREAS_FOR_NEW_COMPANY={"Consumer tech":{key:"Consumer tech",text:"Consumer tech"},Security:{key:"Security",text:"Security"},Fintech:{key:"Fintech",text:"Fintech"},"Insurance tech":{key:"Insurance tech",text:"Insurance tech"},"Autonomous driving":{key:"Autonomous driving",text:"Autonomous driving"},"B2B applications":{key:"B2B applications",text:"B2B applications"},Infrastructure:{key:"Infrastructure",text:"Infrastructure"},"AI/ML":{key:"AI/ML",text:"AI/ML"},Marketplace:{key:"Marketplace",text:"Marketplace"},Other:{key:"Other",text:"Other"}},e.TIME_TO_START_NEW_COMPANY={"Within 6 months":{key:"Within 6 months",text:"Within 6 months"},"6 months - 1 year":{key:"6 months - 1 year",text:"6 months - 1 year"},"1 - 2 years":{key:"1 - 2 years",text:"1 - 2 years"},"2 - 5 years":{key:"2 - 5 years",text:"2 - 5 years"},"No clear timeline yet":{key:"No clear timeline yet",text:"No clear timeline yet"}},e.GENDERS={Male:{key:"Male",text:"Male"},Female:{key:"Female",text:"Female"},"Other/Non-Binary":{key:"Other/Non-Binary",text:"Other/Non-Binary"},"Rather not say":{key:"Rather not say",text:"Rather not say"}},e.LOCATIONS={"San Francisco":{key:"San Francisco",text:"San Francisco"},Peninsula:{key:"Peninsula",text:"Peninsula"},"South Bay":{key:"South Bay",text:"South Bay"},"East Bay":{key:"East Bay",text:"East Bay"},Seattle:{key:"Seattle",text:"Seattle"},"New York City":{key:"New York City",text:"New York City"},"Los Angeles":{key:"Los Angeles",text:"Los Angeles"},Other:{key:"Other",text:"Other"}}},502704:(t,e,n)=>{n.d(e,{p:()=>r});var r=!0},518261:(t,e,n)=>{n.d(e,{A:()=>h});var r=n(639854),i=n(553386),o=n(488143),a=n(452487),s=n(873841),c=n(824094),u=n(205022),l=function(){function t(t,e,n,r){this.valueFn=t,this.valueAcc=e,this.keyFn=n,this.xf=r,this.inputs={}}return t.prototype["@@transducer/init"]=u.A.init,t.prototype["@@transducer/result"]=function(t){var e;for(e in this.inputs)if((0,a.A)(e,this.inputs)&&(t=this.xf["@@transducer/step"](t,this.inputs[e]))["@@transducer/reduced"]){t=t["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){var n=this.keyFn(e);return this.inputs[n]=this.inputs[n]||[n,(0,r.A)(this.valueAcc,!1)],this.inputs[n][1]=this.valueFn(this.inputs[n][1],e),t},t}(),f=n(12311);let h=(0,i.A)(4,[],(0,o.A)([],function(t,e,n){return function(r){return new l(t,e,n,r)}},function(t,e,n,i){var o=(0,f.A)(function(i,o){var c=n(o),u=t((0,a.A)(c,i)?i[c]:(0,r.A)(e,!1),o);return u&&u["@@transducer/reduced"]?(0,s.A)(i):(i[c]=u,i)});return(0,c.A)(o,{},i)}))},635820:(t,e,n)=>{n.d(e,{OS:()=>u,Sv:()=>l,Uw:()=>f,iE:()=>function t(e,n){if(e===n)return!0;if(void 0===e||void 0===n)return!1;if((0,o.Kg)(e)||(0,o.Kg)(n))return e===n;var r=Object.keys(e),i=Object.keys(n);return r.length===i.length&&r.every(function(r){return t(e[r],n[r])})}});var r=n(86351),i=n(112104),o=n(638772),a=n(945033),s=n(279138),c=n(502704);function u(t){return"object"==typeof t&&null!==t&&"value"in t&&"_event"in t}function l(t,e){var n=t.exec;return(0,r.Cl)((0,r.Cl)({},t),{exec:void 0!==n?function(){return n(e.context,e.event,{action:t,state:e,_event:e._event})}:void 0})}var f=function(){function t(t){var e,n=this;this.actions=[],this.activities=i.xP,this.meta={},this.events=[],this.value=t.value,this.context=t.context,this._event=t._event,this._sessionid=t._sessionid,this.event=this._event.data,this.historyValue=t.historyValue,this.history=t.history,this.actions=t.actions||[],this.activities=t.activities||i.xP,this.meta=(0,a.IQ)(t.configuration),this.events=t.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=t.configuration,this.transitions=t.transitions,this.children=t.children,this.done=!!t.done,this.tags=null!=(e=Array.isArray(t.tags)?new Set(t.tags):t.tags)?e:new Set,this.machine=t.machine,Object.defineProperty(this,"nextEvents",{get:function(){return(0,a.Xh)(n.configuration)}})}return t.from=function(e,n){return e instanceof t?e.context!==n?new t({value:e.value,context:n,_event:e._event,_sessionid:null,historyValue:e.historyValue,history:e.history,actions:[],activities:e.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):e:new t({value:e,context:n,_event:s.zp,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},t.create=function(e){return new t(e)},t.inert=function(e,n){if(e instanceof t){if(!e.actions.length)return e;var r=s.zp;return new t({value:e.value,context:n,_event:r,_sessionid:null,historyValue:e.historyValue,history:e.history,activities:e.activities,configuration:e.configuration,transitions:[],children:{}})}return t.from(e,n)},t.prototype.toStrings=function(t,e){var n=this;if(void 0===t&&(t=this.value),void 0===e&&(e="."),(0,o.Kg)(t))return[t];var i=Object.keys(t);return i.concat.apply(i,(0,r.fX)([],(0,r.zs)(i.map(function(r){return n.toStrings(t[r],e).map(function(t){return r+e+t})})),!1))},t.prototype.toJSON=function(){this.configuration,this.transitions;var t=this.tags;this.machine;var e=(0,r.Tt)(this,["configuration","transitions","tags","machine"]);return(0,r.Cl)((0,r.Cl)({},e),{tags:Array.from(t)})},t.prototype.matches=function(t){return(0,o.HK)(t,this.value)},t.prototype.hasTag=function(t){return this.tags.has(t)},t.prototype.can=function(t){c.p&&(0,o.R8)(!!this.machine,"state.can(...) used outside of a machine-created State object; this will always return false.");var e,n=null==(e=this.machine)?void 0:e.getTransitionData(this,t);return!!(null==n?void 0:n.transitions.length)&&n.transitions.some(function(t){return void 0!==t.target||t.actions.length})},t}()},638772:(t,e,n)=>{n.d(e,{$X:()=>b,$r:()=>m,A9:()=>x,AT:()=>I,Ae:()=>y,Ai:()=>L,BY:()=>E,Bq:()=>g,En:()=>z,Gx:()=>G,HK:()=>function t(e,n,r){void 0===r&&(r=s.AD);var i=f(e,r),o=f(n,r);return C(o)?!!C(i)&&o===i:C(i)?i in o:Object.keys(i).every(function(e){return e in o&&t(i[e],o[e])})},Kg:()=>C,LG:()=>d,M7:()=>_,R8:()=>T,R_:()=>B,Tn:()=>O,VQ:()=>v,WV:()=>U,Xd:()=>J,Z8:()=>N,_3:()=>R,_J:()=>l,at:()=>f,bm:()=>function t(e){return e?C(e)?[[e]]:g(Object.keys(e).map(function(n){var r=e[n];return"string"==typeof r||r&&Object.keys(r).length?t(e[n]).map(function(t){return[n].concat(t)}):[[n]]})):[[]]},cv:()=>F,cy:()=>A,ft:()=>M,jB:()=>k,jK:()=>j,lx:()=>S,oc:()=>D,r_:()=>w,re:()=>V,rp:()=>p,s7:()=>P,vd:()=>u,zr:()=>h});var r,i=n(86351),o=n(152592),a=n(324618),s=n(112104),c=n(502704);function u(t){try{return C(t)||"number"==typeof t?"".concat(t):t.type}catch(t){throw Error("Events must be strings or objects with a string event.type property.")}}function l(t,e){try{if(A(t))return t;return t.toString().split(e)}catch(e){throw Error("'".concat(t,"' is not a valid state path."))}}function f(t,e){return"object"==typeof t&&"value"in t&&"context"in t&&"event"in t&&"_event"in t?t.value:A(t)?h(t):"string"!=typeof t?t:h(l(t,e))}function h(t){if(1===t.length)return t[0];for(var e={},n=e,r=0;r<t.length-1;r++)r===t.length-2?n[t[r]]=t[r+1]:(n[t[r]]={},n=n[t[r]]);return e}function d(t,e){for(var n={},r=Object.keys(t),i=0;i<r.length;i++){var o=r[i];n[o]=e(t[o],o,t,i)}return n}function p(t,e,n){var r,o,a={};try{for(var s=(0,i.Ju)(Object.keys(t)),c=s.next();!c.done;c=s.next()){var u=c.value,l=t[u];n(l)&&(a[u]=e(l,u,t))}}catch(t){r={error:t}}
1finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return a}var y=function(t){return function(e){var n,r,o=e;try{for(var a=(0,i.Ju)(t),s=a.next();!s.done;s=a.next())o=o[s.value]}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return o}};function v(t,e){return function(n){var r,o,a=n;try{for(var s=(0,i.Ju)(t),c=s.next();!c.done;c=s.next()){var u=c.value;a=a[e][u]}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return a}}function g(t){var e;return(e=[]).concat.apply(e,(0,i.fX)([],(0,i.zs)(t),!1))}function m(t){var e;return void 0===t?[]:A(e=t)?e:[e]}function x(t,e,n){if(O(t))return t(e,n.data);var r,o,a={};try{for(var s=(0,i.Ju)(Object.keys(t)),c=s.next();!c.done;c=s.next()){var u=c.value,l=t[u];O(l)?a[u]=l(e,n.data):a[u]=l}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return a}function _(t){return/^(done|error)\./.test(t)}function b(t){return!!(t instanceof Promise||null!==t&&(O(t)||"object"==typeof t)&&O(t.then))}function S(t){return null!==t&&"object"==typeof t&&"transition"in t&&"function"==typeof t.transition}function k(t,e){var n,r,o=(0,i.zs)([[],[]],2),a=o[0],s=o[1];try{for(var c=(0,i.Ju)(t),u=c.next();!u.done;u=c.next()){var l=u.value;e(l)?a.push(l):s.push(l)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}return[a,s]}function E(t,e){return{current:e,states:function t(e,n){return d(e.states,function(e,r){if(e){var i=(C(n)?void 0:n[r])||(e?e.current:void 0);if(i)return{current:i,states:t(e,i)}}})}(t,e)}}function w(t,e,n,r){return c.p||T(!!t,"Attempting to update undefined context"),t?n.reduce(function(t,n){var o,a,s=n.assignment,c={state:r,action:n,_event:e},u={};if(O(s))u=s(t,e.data,c);else try{for(var l=(0,i.Ju)(Object.keys(s)),f=l.next();!f.done;f=l.next()){var h=f.value,d=s[h];u[h]=O(d)?d(t,e.data,c):d}}catch(t){o={error:t}}finally{try{f&&!f.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}return Object.assign({},t,u)},t):t}var T=function(){};function A(t){return Array.isArray(t)}function O(t){return"function"==typeof t}function C(t){return"string"==typeof t}function N(t,e){if(t)return C(t)?{type:s.hS,name:t,predicate:e?e[t]:void 0}:O(t)?{type:s.hS,name:t.name,predicate:t}:t}function I(t){try{return"subscribe"in t&&O(t.subscribe)}catch(t){return!1}}c.p||(T=function(t,e){var n=t instanceof Error?t:void 0;if((n||!t)&&void 0!==console){var r=["Warning: ".concat(e)];n&&r.push(n),console.warn.apply(console,r)}});var P="function"==typeof Symbol&&Symbol.observable||"@@observable";function L(t){return!!t&&"__xstatenode"in t}function R(t){return!!t&&"function"==typeof t.send}function j(t,e){return C(t)||"number"==typeof t?(0,i.Cl)({type:t},e):t}function M(t,e){if(!C(t)&&"$$type"in t&&"scxml"===t.$$type)return t;var n=j(t);return(0,i.Cl)({name:n.type,data:n,$$type:"scxml",type:"external"},e)}function D(t,e){var n;return(A(n=e)?n:[n]).map(function(e){return void 0===e||"string"==typeof e||L(e)?{target:e,event:t}:(0,i.Cl)((0,i.Cl)({},e),{event:t})})}function B(t){if(void 0!==t&&t!==s.$D)return m(t)}function z(t,e,n){if(!c.p){var r=t.stack?" Stacktrace was '".concat(t.stack,"'"):"";if(t===e)console.error("Missing onError handler for invocation '".concat(n,"', error was '").concat(t,"'.").concat(r));else{var i=e.stack?" Stacktrace was '".concat(e.stack,"'"):"";console.error("Missing onError handler and/or unhandled exception/promise rejection for invocation '".concat(n,"'. ")+"Original error: '".concat(t,"'. ").concat(r," Current error is '").concat(e,"'.").concat(i))}}}function V(t,e,n,r,i){var o=t.options.guards,a={state:i,cond:e,_event:r};if(e.type===s.hS)return((null==o?void 0:o[e.name])||e.predicate)(n,r.data,a);var c=null==o?void 0:o[e.type];if(!c)throw Error("Guard '".concat(e.type,"' is not implemented on machine '").concat(t.id,"'."));return c(n,r.data,a)}function J(t){return"string"==typeof t?{type:t}:t}function U(t,e,n){var r=function(){},i="object"==typeof t,o=i?t:null;return{next:((i?t.next:t)||r).bind(o),error:((i?t.error:e)||r).bind(o),c
1omplete:((i?t.complete:n)||r).bind(o)}}function F(t,e){return"".concat(t,":invocation[").concat(e,"]")}function G(t){return(t.type===a.xl||t.type===a.tN&&t.to===o.i.Internal)&&"number"!=typeof t.delay}(r={})[P]=function(){return this},r[Symbol.observable]=function(){return this}},657448:(t,e,n)=>{n.d(e,{vy:()=>i,U4:()=>S});var r,i,o=n(86351),a=n(152592),s=n(635820),c=n(324618),u=n(279138),l=n(502704),f=n(638772),h={deferEvents:!1},d=function(){function t(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=(0,o.Cl)((0,o.Cl)({},h),t)}return t.prototype.initialize=function(t){if(this.initialized=!0,t){if(!this.options.deferEvents)return void this.schedule(t);this.process(t)}this.flushEvents()},t.prototype.schedule=function(t){if(!this.initialized||this.processingEvent)return void this.queue.push(t);if(0!==this.queue.length)throw Error("Event queue should be empty when it is not processing events");this.process(t),this.flushEvents()},t.prototype.clear=function(){this.queue=[]},t.prototype.flushEvents=function(){for(var t=this.queue.shift();t;)this.process(t),t=this.queue.shift()},t.prototype.process=function(t){this.processingEvent=!0;try{t()}catch(t){throw this.clear(),t}finally{this.processingEvent=!1}},t}(),p=n(37648),y=new Map,v=0,g=function(t){y.delete(t)};function m(){return"u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:void 0!==n.g?n.g:void(!l.p&&console.warn("XState could not find a global object in this environment. Please let the maintainers know and raise an issue here: https://github.com/statelyai/xstate/issues"))}var x=n(678270),_={sync:!1,autoForward:!1};(r=i||(i={}))[r.NotStarted=0]="NotStarted",r[r.Running=1]="Running",r[r.Stopped=2]="Stopped";var b=function(){function t(e,n){void 0===n&&(n=t.defaultOptions);var r=this;this.machine=e,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=i.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(t,e){if((0,f.cy)(t))return r.batch(t),r.state;var n=(0,f.ft)((0,f.jK)(t,e));if(r.status===i.Stopped)return l.p||(0,f.R8)(!1,'Event "'.concat(n.name,'" was sent to stopped service "').concat(r.machine.id,'". This service has already reached its final state, and will not transition.\nEvent: ').concat(JSON.stringify(n.data))),r.state;if(r.status!==i.Running&&!r.options.deferEvents)throw Error('Event "'.concat(n.name,'" was sent to uninitialized service "').concat(r.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.\nEvent: ').concat(JSON.stringify(n.data)));return r.scheduler.schedule(function(){r.forward(n);var t=r._nextState(n);r.update(t,n)}),r._state},this.sendTo=function(t,e,n){var s,h=r.parent&&(e===a.i.Parent||r.parent.id===e),d=h?r.parent:(0,f.Kg)(e)?e===a.i.Internal?r:r.children.get(e)||(s=e,y.get(s)):(0,f._3)(e)?e:void 0;if(!d){if(!h)throw Error("Unable to send event to child '".concat(e,"' from service '").concat(r.id,"'."));l.p||(0,f.R8)(!1,"Service '".concat(r.id,"' has no parent: unable to send event ").concat(t.type));return}if("machine"in d){if(r.status!==i.Stopped||r.parent!==d||r.state.done){var p=(0,o.Cl)((0,o.Cl)({},t),{name:t.name===c.z3?"".concat((0,u.z3)(r.id)):t.name,origin:r.sessionId});!n&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([d,p]):d.send(p)}}else!n&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([d,t.data]):d.send(t.data)},this._exec=function(t,e,n,o){void 0===o&&(o=r.machine.options.actions);var s=t.exec||(0,u.H7)(t.type,o),h=(0,f.Tn)(s)?s:s?s.exec:t.exec;if(h)try{return h(e,n.data,r.machine.config.predictableActionArguments?{action:t,_event:n}:{action:t,state:r.state,_event:n})}catch(t){throw r.parent&&r.parent.send({type:"xstate.error",data:t}),t}switch(t.type){case c.xl:r.defer(t);break;case c.tN:if("number"==typeof t.delay)return void r.defer(t);t.to?r.sendTo(t._event,t.to,n===u.zp):r.send(t._event);break;case c.ZT:r.cancel(t.sendId);break;case c.ni:if(r.status!==i.Running)return;var d=t.activity;if(!r.machine.config.predictableActionArguments&&!r.state.activities[d.id||d.type])break;if(d.type===a.Q.Invoke){var p=(0,f.Xd)(d.src),y=r.machine.options.services?r.machine.options.services[p.type]:void 0,v=d.id,g=d.data;l.p||(0,f.R8)(!("forward"in d),"`forward` property is deprecated (found in invocation of '".concat(d.src,"' in in machine '").concat(r.machine.id,"'). ")+"Please use `autoForward` instead.");var m="autoForward"in d?d.autoForward:!!d.forward;if(!y){l.p||(0,f.R8)(!1,"No service found for invocation '".concat(d.src,"' in machine '").concat(r.machine.id,"'."));return}var x=g?(0,f.A9)(g,e,n):void 0;if("string"==typeof y)return;var _=(0,f.Tn)(y)?y(e,n.data,{data:x,src:p,meta:d.meta}):y;if(!_)return;var b=void 0;(0,f.Ai)(_)&&(_=x?_.withContext(x):_,b={autoForward:m}),r.spawn(_,v,b)}else r.spawnActivity(d);break;case c.ds:r.stopChild(t.activity.id);break;case c.Rm:var S=t.label,k=t.value;S?r.logger(S,k):r.logger(k);break;default:l.p||(0,f.R8)(!1,"No implementation found for action type '".concat(t.type,"'"))}};var s=(0,o.Cl)((0,o.Cl)({},t.defaultOptions),n),h=s.clock,p=s.logger,g=s.parent,m=s.id,x=void 0!==m?m:e.id;this.id=x,this.logger=p,this.clock=h,this.parent=g,this.options=s,this.scheduler
1=new d({deferEvents:this.options.deferEvents}),this.sessionId="x:".concat(v++)}return Object.defineProperty(t.prototype,"initialState",{get:function(){var t=this;return this._initialState?this._initialState:(0,x.G)(this,function(){return t._initialState=t.machine.initialState,t._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return l.p||(0,f.R8)(this.status!==i.NotStarted,"Attempted to read state from uninitialized service '".concat(this.id,"'. Make sure the service is started first.")),this._state},enumerable:!1,configurable:!0}),t.prototype.execute=function(t,e){var n,r;try{for(var i=(0,o.Ju)(t.actions),a=i.next();!a.done;a=i.next()){var s=a.value;this.exec(s,t,e)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},t.prototype.update=function(t,e){var n,r,i,a,s,c,l,h,d=this;if(t._sessionid=this.sessionId,this._state=t,(!this.machine.config.predictableActionArguments||e===u.zp)&&this.options.execute)this.execute(this.state);else for(var p=void 0;p=this._outgoingQueue.shift();)p[0].send(p[1]);if(this.children.forEach(function(t){d.state.children[t.id]=t}),this.devTools&&this.devTools.send(e.data,t),t.event)try{for(var y=(0,o.Ju)(this.eventListeners),v=y.next();!v.done;v=y.next()){var m=v.value;m(t.event)}}catch(t){n={error:t}}finally{try{v&&!v.done&&(r=y.return)&&r.call(y)}finally{if(n)throw n.error}}try{for(var x=(0,o.Ju)(this.listeners),_=x.next();!_.done;_=x.next()){var m=_.value;m(t,t.event)}}catch(t){i={error:t}}finally{try{_&&!_.done&&(a=x.return)&&a.call(x)}finally{if(i)throw i.error}}try{for(var b=(0,o.Ju)(this.contextListeners),S=b.next();!S.done;S=b.next())(0,S.value)(this.state.context,this.state.history?this.state.history.context:void 0)}catch(t){s={error:t}}finally{try{S&&!S.done&&(c=b.return)&&c.call(b)}finally{if(s)throw s.error}}if(this.state.done){var k=t.configuration.find(function(t){return"final"===t.type&&t.parent===d.machine}),E=k&&k.doneData?(0,f.A9)(k.doneData,t.context,e):void 0;this._doneEvent=(0,u.tS)(this.id,E);try{for(var w=(0,o.Ju)(this.doneListeners),T=w.next();!T.done;T=w.next()){var m=T.value;m(this._doneEvent)}}catch(t){l={error:t}}finally{try{T&&!T.done&&(h=w.return)&&h.call(w)}finally{if(l)throw l.error}}this._stop(),this._stopChildren(),g(this.sessionId)}},t.prototype.onTransition=function(t){return this.listeners.add(t),this.status===i.Running&&t(this.state,this.state.event),this},t.prototype.subscribe=function(t,e,n){var r=this,o=(0,f.WV)(t,e,n);this.listeners.add(o.next),this.status!==i.NotStarted&&o.next(this.state);var a=function(){r.doneListeners.delete(a),r.stopListeners.delete(a),o.complete()};return this.status===i.Stopped?o.complete():(this.onDone(a),this.onStop(a)),{unsubscribe:function(){r.listeners.delete(o.next),r.doneListeners.delete(a),r.stopListeners.delete(a)}}},t.prototype.onEvent=function(t){return this.eventListeners.add(t),this},t.prototype.onSend=function(t){return this.sendListeners.add(t),this},t.prototype.onChange=function(t){return this.contextListeners.add(t),this},t.prototype.onStop=function(t){return this.stopListeners.add(t),this},t.prototype.onDone=function(t){return this.status===i.Stopped&&this._doneEvent?t(this._doneEvent):this.doneListeners.add(t),this},t.prototype.off=function(t){return this.listeners.delete(t),this.eventListeners.delete(t),this.sendListeners.delete(t),this.stopListeners.delete(t),this.doneListeners.delete(t),this.contextListeners.delete(t),this},t.prototype.start=function(t){var e,n,r=this;if(this.status===i.Running)return this;this.machine._init(),e=this.sessionId,n=this,y.set(e,n),this.initialized=!0,this.status=i.Running;var o=void 0===t?this.initialState:(0,x.G)(this,function(){return(0,s.OS)(t)?r.machine.resolveState(t):r.machine.resolveState(s.Uw.from(t,r.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){r.update(o,u.zp)}),this},t.prototype._stopChildren=function(){this.children.forEach(function(t){(0,f.Tn)(t.stop)&&t.stop()}),this.children.clear()},t.prototype._stop=function(){var t,e,n,r,a,s,c,u,l,f;
1try{for(var h=(0,o.Ju)(this.listeners),p=h.next();!p.done;p=h.next()){var y=p.value;this.listeners.delete(y)}}catch(e){t={error:e}}finally{try{p&&!p.done&&(e=h.return)&&e.call(h)}finally{if(t)throw t.error}}try{for(var v=(0,o.Ju)(this.stopListeners),g=v.next();!g.done;g=v.next()){var y=g.value;y(),this.stopListeners.delete(y)}}catch(t){n={error:t}}finally{try{g&&!g.done&&(r=v.return)&&r.call(v)}finally{if(n)throw n.error}}try{for(var m=(0,o.Ju)(this.contextListeners),x=m.next();!x.done;x=m.next()){var y=x.value;this.contextListeners.delete(y)}}catch(t){a={error:t}}finally{try{x&&!x.done&&(s=m.return)&&s.call(m)}finally{if(a)throw a.error}}try{for(var _=(0,o.Ju)(this.doneListeners),b=_.next();!b.done;b=_.next()){var y=b.value;this.doneListeners.delete(y)}}catch(t){c={error:t}}finally{try{b&&!b.done&&(u=_.return)&&u.call(_)}finally{if(c)throw c.error}}if(!this.initialized)return this;this.initialized=!1,this.status=i.Stopped,this._initialState=void 0;try{for(var S=(0,o.Ju)(Object.keys(this.delayedEventsMap)),k=S.next();!k.done;k=S.next()){var E=k.value;this.clock.clearTimeout(this.delayedEventsMap[E])}}catch(t){l={error:t}}finally{try{k&&!k.done&&(f=S.return)&&f.call(S)}finally{if(l)throw l.error}}this.scheduler.clear(),this.scheduler=new d({deferEvents:this.options.deferEvents})},t.prototype.stop=function(){var t=this,e=this.scheduler;return this._stop(),e.schedule(function(){if(null==(e=t._state)||!e.done){var e,n=(0,f.ft)({type:"xstate.stop"}),r=(0,x.G)(t,function(){var e=(0,f.Bq)((0,o.fX)([],(0,o.zs)(t.state.configuration),!1).sort(function(t,e){return e.order-t.order}).map(function(e){return(0,u.Um)(e.onExit,t.machine.options.actions)})),r=(0,o.zs)((0,u.AS)(t.machine,t.state,t.state.context,n,[{type:"exit",actions:e}],t.machine.config.predictableActionArguments?t._exec:void 0,t.machine.config.predictableActionArguments||t.machine.config.preserveActionOrder),2),i=r[0],a=r[1],c=new s.Uw({value:t.state.value,context:a,_event:n,_sessionid:t.sessionId,historyValue:void 0,history:t.state,actions:i.filter(function(t){return!(0,f.Gx)(t)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:t.state.done,tags:t.state.tags,machine:t.machine});return c.changed=!0,c});t.update(r,n),t._stopChildren(),g(t.sessionId)}}),this},t.prototype.batch=function(t){var e=this;if(this.status===i.NotStarted&&this.options.deferEvents)l.p||(0,f.R8)(!1,"".concat(t.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'" and are deferred. Make sure .start() is called for this service.\nEvent: ').concat(JSON.stringify(event)));else if(this.status!==i.Running)throw Error("".concat(t.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'));if(t.length){var n=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var r,i,a=e.state,c=!1,u=[];try{for(var l=(0,o.Ju)(t),h=l.next();!h.done;h=l.next()){var d=h.value;!function(t){var r=(0,f.ft)(t);e.forward(r),a=(0,x.G)(e,function(){return e.machine.transition(a,r,void 0,n||void 0)}),u.push.apply(u,(0,o.fX)([],(0,o.zs)(e.machine.config.predictableActionArguments?a.actions:a.actions.map(function(t){return(0,s.Sv)(t,a)})),!1)),c=c||!!a.changed}(d)}}catch(t){r={error:t}}finally{try{h&&!h.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}a.changed=c,a.actions=u,e.update(a,(0,f.ft)(t[t.length-1]))})}},t.prototype.sender=function(t){return this.send.bind(this,t)},t.prototype._nextState=function(t,e){var n=this;void 0===e&&(e=!!this.machine.config.predictableActionArguments&&this._exec);var r=(0,f.ft)(t);if(0===r.name.indexOf(c.O$)&&!this.state.nextEvents.some(function(t){return 0===t.indexOf(c.O$)}))throw r.data.data;return(0,x.G)(this,function(){return n.machine.transition(n.state,r,void 0,e||void 0)})},t.prototype.nextState=function(t){return this._nextState(t,!1)},t.prototype.forward=function(t){var e,n;try{for(var r=(0,o.Ju)(this.forwardTo),i=r.next();!i.done;i=r.next()){var a=i.value,s=this.children.get(a);if(!s)throw Error("Unable to forward event '".concat(t,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(a,"'."));s.send(t)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},t.prototype.defer=function(t){var e=this,n=this.clock.setTimeout(function(){"to"in t&&t.to?e.sendTo(t._event,t.to,!0):e.send(t._event)},t.delay);t.id&&(this.delayedEventsMap[t.id]=n)},t.prototype.cancel=function(t){this.clock.clearTimeout(this.delayedEventsMap[t]),delete this.delayedEventsMap[t]},t.prototype.exec=function(t,e,n){void 0===n&&(n=this.machine.options.actions),this._exec(t,e.context,e._event,n)},t.prototype.removeChild=function(t){var e;this.children.delete(t),this.forwardTo.delete(t),null==(e=this.state)||delete e.children[t]},t.prototype.stopChild=function(t){var e=this.children.get(t);e&&(this.removeChild(t),(0,f.Tn)(e.stop)&&e.stop())},t.prototype.spawn=function(t,e,n){if(this.status!==i.Running)return(0,p.Py)(t,e);
1if((0,f.$X)(t))return this.spawnPromise(Promise.resolve(t),e);if((0,f.Tn)(t))return this.spawnCallback(t,e);if((0,p.gY)(t))return this.spawnActor(t,e);if((0,f.AT)(t))return this.spawnObservable(t,e);if((0,f.Ai)(t))return this.spawnMachine(t,(0,o.Cl)((0,o.Cl)({},n),{id:e}));else if((0,f.lx)(t))return this.spawnBehavior(t,e);else throw Error('Unable to spawn entity "'.concat(e,'" of type "').concat(typeof t,'".'))},t.prototype.spawnMachine=function(e,n){var r=this;void 0===n&&(n={});var i=new t(e,(0,o.Cl)((0,o.Cl)({},this.options),{parent:this,id:n.id||e.id})),a=(0,o.Cl)((0,o.Cl)({},_),n);return a.sync&&i.onTransition(function(t){r.send(c.yo,{state:t,id:i.id})}),this.children.set(i.id,i),a.autoForward&&this.forwardTo.add(i.id),i.onDone(function(t){r.removeChild(i.id),r.send((0,f.ft)(t,{origin:i.id}))}).start(),i},t.prototype.spawnBehavior=function(t,e){var n,r,i,o,a,s,c,u,l=(n={id:e,parent:this},r=t.initialState,i=new Set,o=[],a=!1,s=function(){if(!a){for(a=!0;o.length>0;){var e=o.shift();r=t.transition(r,e,u),i.forEach(function(t){return t.next(r)})}a=!1}},c=(0,p.sk)({id:n.id,send:function(t){o.push(t),s()},getSnapshot:function(){return r},subscribe:function(t,e,n){var o=(0,f.WV)(t,e,n);return i.add(o),o.next(r),{unsubscribe:function(){i.delete(o)}}}}),u={parent:n.parent,self:c,id:n.id||"anonymous",observers:i},r=t.start?t.start(u):r,c);return this.children.set(e,l),l},t.prototype.spawnPromise=function(t,e){var n,r,i=this,o=!1;t.then(function(t){o||(r=t,i.removeChild(e),i.send((0,f.ft)((0,u.tS)(e,t),{origin:e})))},function(t){if(!o){i.removeChild(e);var n=(0,u.z3)(e,t);try{i.send((0,f.ft)(n,{origin:e}))}catch(r){(0,f.En)(t,r,e),i.devTools&&i.devTools.send(n,i.state),i.machine.strict&&i.stop()}}});var a=((n={id:e,send:function(){},subscribe:function(e,n,r){var i=(0,f.WV)(e,n,r),o=!1;return t.then(function(t){o||(i.next(t),o||i.complete())},function(t){o||i.error(t)}),{unsubscribe:function(){return o=!0}}},stop:function(){o=!0},toJSON:function(){return{id:e}},getSnapshot:function(){return r}})[f.s7]=function(){return this},n);return this.children.set(e,a),a},t.prototype.spawnCallback=function(t,e){var n,r,i,o=this,a=!1,s=new Set,c=new Set;try{i=t(function(t){r=t,c.forEach(function(e){return e(t)}),a||o.send((0,f.ft)(t,{origin:e}))},function(t){s.add(t)})}catch(t){this.send((0,u.z3)(e,t))}if((0,f.$X)(i))return this.spawnPromise(i,e);var l=((n={id:e,send:function(t){return s.forEach(function(e){return e(t)})},subscribe:function(t){var e=(0,f.WV)(t);return c.add(e.next),{unsubscribe:function(){c.delete(e.next)}}},stop:function(){a=!0,(0,f.Tn)(i)&&i()},toJSON:function(){return{id:e}},getSnapshot:function(){return r}})[f.s7]=function(){return this},n);return this.children.set(e,l),l},t.prototype.spawnObservable=function(t,e){var n,r,i=this,o=t.subscribe(function(t){r=t,i.send((0,f.ft)(t,{origin:e}))},function(t){i.removeChild(e),i.send((0,f.ft)((0,u.z3)(e,t),{origin:e}))},function(){i.removeChild(e),i.send((0,f.ft)((0,u.tS)(e),{origin:e}))}),a=((n={id:e,send:function(){},subscribe:function(e,n,r){return t.subscribe(e,n,r)},stop:function(){return o.unsubscribe()},getSnapshot:function(){return r},toJSON:function(){return{id:e}}})[f.s7]=function(){return this},n);return this.children.set(e,a),a},t.prototype.spawnActor=function(t,e){return this.children.set(e,t),t},t.prototype.spawnActivity=function(t){var e=this.machine.options&&this.machine.options.activities?this.machine.options.activities[t.type]:void 0;if(!e){l.p||(0,f.R8)(!1,"No implementation found for activity '".concat(t.type,"'"));return}var n=e(this.state.context,t);this.spawnEffect(t.id,n)},t.prototype.spawnEffect=function(t,e){var n;this.children.set(t,((n={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:e||void 0,getSnapshot:function(){},toJSON:function(){return{id:t}}})[f.s7]=function(){return this},n))},t.prototype.attachDev=function(){var t=m();if(this.options.devTools&&t){if(t.__REDUX_DEVTOOLS_EXTENSION__){var e="object"==typeof this.options.devTools?this.options.devTools:void 0;this.devTools=t.__REDUX_DEVTOOLS_EXTENSION__.connect((0,o.Cl)((0,o.Cl)({name:this.id,autoPause:!0,stateSanitizer:function(t){return{value:t.value,context:t.context,actions:t.actions}}},e),{features:(0,o.Cl)({jump:!1,skip:!1},e?e.features:void 0)}),this.machine),this.devTools.init(this.state)}if(m()){var n=function(){var t=m();if(t&&"__xstate__"in t)return t.__xstate__}();n&&n.register(this)}}},t.prototype.toJSON=function(){return{id:this.id}},t.prototype[f.s7]=function(){return this},t.prototype.getSnapshot=function(){return this.status===i.NotStarted?this.initialState:this._state},t.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(t,e){return setTimeout(t,e)},clearTimeout:function(t){return clearTimeout(t)}},logger:console.log.bind(console),devTools:!1},t.interpret=S,t}();function S(t,e){return new b(t,e)}},670139:(t,e)=>{var n,r;
1Object.defineProperty(e,"__esModule",{value:!0}),e.ActionTypes=void 0,(n=e.ActionTypes||(e.ActionTypes={})).Start="xstate.start",n.Stop="xstate.stop",n.Raise="xstate.raise",n.Send="xstate.send",n.Cancel="xstate.cancel",n.NullEvent="",n.Assign="xstate.assign",n.After="xstate.after",n.DoneState="done.state",n.DoneInvoke="done.invoke",n.Log="xstate.log",n.Init="xstate.init",n.Invoke="xstate.invoke",n.ErrorExecution="error.execution",n.ErrorCommunication="error.communication",n.ErrorPlatform="error.platform",n.ErrorCustom="xstate.error",n.Update="xstate.update",n.Pure="xstate.pure",n.Choose="xstate.choose",e.SpecialTargets=void 0,(r=e.SpecialTargets||(e.SpecialTargets={})).Parent="#_parent",r.Internal="#_internal"},678270:(t,e,n)=>{n.d(e,{G:()=>i});var r=[],i=function(t,e){r.push(t);var n=e(t);return r.pop(),n}},695181:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=n(387223);for(var i in r)e.hasOwnProperty(i)||(e[i]=r[i]);e.jobMappings=n(225701),e.questionnaireMappings=n(387223)},722807:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_GUARD_TYPE="xstate.guard",e.EMPTY_ACTIVITY_MAP={},e.STATE_DELIMITER=".",e.TARGETLESS_KEY=""},865927:(t,e,n)=>{n.d(e,{eh:()=>r});let r=t=>(e,n,r)=>{let i=r.subscribe;return r.subscribe=(t,e,n)=>{let o=t;if(e){let i=(null==n?void 0:n.equalityFn)||Object.is,a=t(r.getState());o=n=>{let r=t(n);if(!i(a,r)){let t=a;e(a=r,t)}},(null==n?void 0:n.fireImmediately)&&e(a,a)}return i(o)},t(e,n,r)}},926127:(t,e,n)=>{n.d(e,{A:()=>o});var r=n(397109),i=n(967761);let o=function(t){var e=(0,r.useRef)(t);e.current=t,(0,i.A)(function(){return function(){return e.current()}})}},941044:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(941318),i=n(940565),o=n(95976),a=(0,r.A)(function(t,e){return t.map(function(t){for(var n,r=e,a=0;a<t.length;){if(null==r)return;n=t[a],r=(0,i.A)(n)?(0,o.A)(n,r):r[n],a+=1}return r})});let s=(0,r.A)(function(t,e){return a([t],e)[0]})},945033:(t,e,n)=>{n.d(e,{BJ:()=>function t(e,n){return"compound"===n.type?s(n).some(function(t){return"final"===t.type&&h(e,t)}):"parallel"===n.type&&s(n).every(function(n){return t(e,n)})},D0:()=>u,IQ:()=>p,Ki:()=>c,Xh:()=>d,_W:()=>f,d2:()=>o,i0:()=>s,iU:()=>y,rz:()=>a,zy:()=>h});var r=n(86351),i=n(638772),o=function(t){return"atomic"===t.type||"final"===t.type};function a(t){return Object.keys(t.states).map(function(e){return t.states[e]})}function s(t){return a(t).filter(function(t){return"history"!==t.type})}function c(t){var e=[t];return o(t)?e:e.concat((0,i.Bq)(s(t).map(c)))}function u(t,e){var n,i,o,a,c,u,f,h,d=l(new Set(t)),p=new Set(e);try{for(var y=(0,r.Ju)(p),v=y.next();!v.done;v=y.next())for(var g=v.value,m=g.parent;m&&!p.has(m);)p.add(m),m=m.parent}catch(t){n={error:t}}finally{try{v&&!v.done&&(i=y.return)&&i.call(y)}finally{if(n)throw n.error}}var x=l(p);try{for(var _=(0,r.Ju)(p),b=_.next();!b.done;b=_.next()){var g=b.value;if("compound"!==g.type||x.get(g)&&x.get(g).length){if("parallel"===g.type)try{for(var S=(c=void 0,(0,r.Ju)(s(g))),k=S.next();!k.done;k=S.next()){var E=k.value;p.has(E)||(p.add(E),d.get(E)?d.get(E).forEach(function(t){return p.add(t)}):E.initialStateNodes.forEach(function(t){return p.add(t)}))}}catch(t){c={error:t}}finally{try{k&&!k.done&&(u=S.return)&&u.call(S)}finally{if(c)throw c.error}}}else d.get(g)?d.get(g).forEach(function(t){return p.add(t)}):g.initialStateNodes.forEach(function(t){return p.add(t)})}}catch(t){o={error:t}}finally{try{b&&!b.done&&(a=_.return)&&a.call(_)}finally{if(o)throw o.error}}try{for(var w=(0,r.Ju)(p),T=w.next();!T.done;T=w.next())for(var g=T.value,m=g.parent;m&&!p.has(m);)p.add(m),m=m.parent}catch(t){f={error:t}}finally{try{T&&!T.done&&(h=w.return)&&h.call(w)}finally{if(f)throw f.error}}return p}function l(t){var e,n,i=new Map;try{for(var o=(0,r.Ju)(t),a=o.next();!a.done;a=o.next()){var s=a.value;i.has(s)||i.set(s,[]),s.parent&&(i.has(s.parent)||i.set(s.parent,[]),i.get(s.parent).push(s))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return i}function f(t,e){var n=u([t],e);return function t(e,n){var r=n.get(e);if(!r)return{};if("compound"===e.type){var i=r[0];if(!i)return{};if(o(i))return i.key}var a={};return r.forEach(function(e){a[e.key]=t(e,n)}),a}(t,l(n))}function h(t,e){return Array.isArray(t)?t.some(function(t){return t===e}):t instanceof Set&&t.has(e)}function d(t){return(0,r.fX)([],(0,r.zs)(new Set((0,i.Bq)((0,r.fX)([],(0,r.zs)(t.map(function(t){return t.ownEvents})),!1)))),!1)}function p(t){return void 0===t&&(t=[]),t.reduce(function(t,e){return void 0!==e.meta&&(t[e.id]=e.meta),t},{})}function y(t){return new Set((0,i.Bq)(t.map(function(t){return t.tags})))}}}]); 2//#
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.